<AppListBox
  name="{{item.codeName}}"
  :data="state.data"
  :server="state.controlService"
  :deMajorField="state.appDeMajorFieldName"
  :deKeyField="state.appDeKeyFieldName"
  editorType='{{item.psEditor.editorType}}'
{{#if item.psEditor.editorParams.mode}}
  :mode="{{item.psEditor.editorParams.mode}}"
{{/if}}
{{#if item.psEditor.editorParams.valueType}}
  :valueType="{{item.psEditor.editorParams.valueType}}"
{{/if}}
{{#if item.psEditor.editorParams.acParams}}
  :acParams="{{item.psEditor.editorParams.acParams}}"
{{/if}}
{{#if item.psEditor.editorParams.multiple}}
  :multiple="{{item.psEditor.editorParams.multiple}}"
{{/if}}
{{#eq ctrlType 'form'}}
  :disabled="state.detailsModel.{{item.codeName}}.disabled"
{{/eq}}
{{#if item.psEditor.readOnly}}
  :readonly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if item.psEditor.psAppCodeList}}
  codeListTag="{{item.psEditor.psAppCodeList.codeListTag}}"
  codeListType="{{item.psEditor.psAppCodeList.codeListType}}"
  {{#if item.psEditor.psAppCodeList.valueSeparator}}valueSeparator="{{item.psEditor.psAppCodeList.valueSeparator}}"{{/if}}
{{/if}}
{{#if item.psEditor.psNavigateContexts}}
  localContext="{{> @macro/front-end/common/navparam.hbs appNavParams=item.psEditor.psNavigateContexts}}"
{{/if}}
{{#if item.psEditor.psNavigateParams}}
  localParam="{{> @macro/front-end/common/navparam.hbs appNavParams=item.psEditor.psNavigateParams}}"
{{/if}}
  :context="state.context"
  :viewParams="state.viewParams"
{{#if (or (eq ctrlType 'form') (eq ctrlType 'panel'))}}
  :value="state.data.{{item.psEditor.name}}"
  @editorEvent="onEditorEvent"
{{/if}}
{{#eq ctrlType 'grid'}}
  :value="record.{{item.psEditor.name}}"
  @editorEvent="onEditorEvent($event,index)"
{{/eq}}
/> 
