export const ctrlState = {
  controlCodeName: '{{ctrl.codeName}}',
  controlName: '{{ctrl.name}}',
  counter: 0,
  xDataControlName: '{{ctrl.xDataControlName}}',
  selection: {},
  showTitleBar: {{#if ctrl.showTitleBar}}true{{else}}false{{/if}},
  split: 0.2,
  title: '{{ctrl.title}}',
  titleRes: '{{#if ctrl.titlePSLanguageRes}}{{ctrl.titlePSLanguageRes.lanResTag}}{{/if}}',
  viewRefs: [
    {{#each ctrl.psAppViewRefs as | viewRef |}}
    {
      name: '{{viewRef.name}}',
      {{#if viewRef.refPSAppView}}
      viewName: '{{viewRef.refPSAppView.name}}',
        {{#if viewRef.refPSAppView.psAppDataEntity}}
      deKeyField: '{{viewRef.refPSAppView.psAppDataEntity.codeName}}',
        {{/if}}
      {{/if}}
    },
    {{/each}}
  ]
};
