<{{pascalCase appPlugin.pluginCode}} v-bind="$attrs" :controller="controller" :store="store">
  {{#and page page.ctrls}}
    {{#each page.ctrls as | ctrl |}}
  <template #{{ctrl.name}}="{ controller }">
      {{#and (eq ctrl.controlType 'SEARCHFORM') (neq ctrl.formStyle 'SEARCHBAR')}}
	  {{> @macro/widgets/form-detail/search-form.hbs ctrl=ctrl}}
			{{/and}}
      {{#eq ctrl.controlType 'TOOLBAR'}}
	  {{> @macro/widgets/toolbar/toolbar.hbs page=page ctrl=ctrl}}
      {{/eq}}
      {{#eq ctrl.controlType 'GRID'}}
	  {{> @macro/widgets/grid-detail/grid.hbs ctrl=ctrl props=":rowActiveMode='model.rowActiveMode'"}}
			{{/eq}}
      {{#eq ctrl.controlType 'APPMENU'}}
    {{> @macro/widgets/menu-detail/menu.hbs ctrl=ctrl props=":mode='store.mainMenuPosition'"}}
      {{/eq}}
      {{#eq ctrl.controlType 'CALENDAREXPBAR'}}
    {{> @macro/widgets/calendar-exp-bar-detail/calendar-exp-bar.hbs ctrl=ctrl page=page}}        
      {{/eq}}
      {{#eq ctrl.controlType 'CALENDAR'}}
    {{> @macro/widgets/calendar-detail/calendar.hbs ctrl=ctrl}}                
      {{/eq}}
      {{#eq ctrl.controlType 'CHART'}}
    {{> @macro/widgets/chart-detail/chart.hbs ctrl=ctrl}}                
      {{/eq}}
      {{#eq ctrl.controlType 'DATAVIEW'}}
    {{> @macro/widgets/dataview/dataview.hbs ctrl=ctrl props=":rowActiveMode='model.rowActiveMode'"}}
      {{/eq}}
      {{#eq ctrl.controlType 'DRBAR'}}
    {{> @macro/widgets/drbar-detail/drbar.hbs ctrl=ctrl}}
      {{/eq}}
      {{#eq ctrl.controlType 'FORM'}}
    {{> @macro/widgets/form-detail/form.hbs ctrl=ctrl}}
      {{/eq}}
      {{#eq ctrl.controlType 'GRIDEXPBAR'}}
    {{> @macro/widgets/grid-exp-bar-detail/grid-exp-bar.hbs ctrl=ctrl page=page}}
      {{/eq}}
      {{#eq ctrl.controlType 'KANBAN'}}
    {{> @macro/widgets/kanban/kanban.hbs ctrl=ctrl props=":rowActiveMode='model.rowActiveMode'"}}
      {{/eq}}
      {{#eq ctrl.controlType 'LISTEXPBAR'}}
    {{> @macro/widgets/list-exp-bar-detail/list-exp-bar.hbs ctrl=ctrl page=page}}
      {{/eq}}
      {{#eq ctrl.controlType 'LIST'}}
    {{> @macro/widgets/list-detail/list.hbs ctrl=ctrl props=":rowActiveMode='model.rowActiveMode'"}}
      {{/eq}}
      {{#eq ctrl.controlType 'MULTIEDITVIEWPANEL'}}
    {{> @macro/widgets/multi-editview-panel/multi-editview-panel.hbs ctrl=ctrl}}
      {{/eq}}
      {{#eq ctrl.controlType 'PANEL'}}
    {{> @macro/widgets/panel-detail/panel.hbs ctrl=ctrl props=":isLoadDefault='true' :viewType='model.viewType'"}}    
      {{/eq}}
      {{#eq ctrl.controlType 'PICKUPVIEWPANEL'}}
    {{> @macro/widgets/pickup-view-panel/pickup-view-panel.hbs ctrl=ctrl props=":singleSelect='true'"}}
      {{/eq}}
      {{#eq ctrl.controlType 'TABEXPPANEL'}}
    {{> @macro/widgets/tab-exp-panel-detail/tab-exp-panel.hbs ctrl=ctrl}}
      {{/eq}}
      {{#eq ctrl.controlType 'TREEEXPBAR'}}
    {{> @macro/widgets/tree-exp-bar-detail/tree-exp-bar-detail.hbs ctrl=ctrl page=page}}
      {{/eq}}
      {{#eq ctrl.controlType 'TREEVIEW'}}
    {{> @macro/widgets/tree-detail/tree.hbs ctrl=ctrl}}
      {{/eq}}
      {{#eq ctrl.controlType 'WIZARDPANEL'}}
    {{> @macro/widgets/wizard-panel/wizard-panel.hbs ctrl=ctrl}}
      {{/eq}}
  </template>
    {{/each}}
  {{/and}}
</{{pascalCase appPlugin.pluginCode}}>
