diff --git a/packages/web-theme/template/control-layout/{{pages@DECALENDAREXPVIEW}}.ts.hbs b/packages/web-theme/template/control-layout/{{pages@DECALENDAREXPVIEW}}.ts.hbs new file mode 100644 index 0000000000000000000000000000000000000000..174b71f90ffa4928b5d4546fe96621f4ff951a2f --- /dev/null +++ b/packages/web-theme/template/control-layout/{{pages@DECALENDAREXPVIEW}}.ts.hbs @@ -0,0 +1,3 @@ +{{#eq appEntity.codeName 'ControlLayoutModelRepository'}} +export default {{jsonStringify page.DSL.viewLayoutPanel 2}} +{{/eq}} \ No newline at end of file diff --git a/packages/web-theme/template/index.ts.hbs b/packages/web-theme/template/index.ts.hbs index 48743d986f822cbf19ec8ffd8d25431811a01f16..a0558c3f0fd1b8a60a10acf9426acccacc918272 100644 --- a/packages/web-theme/template/index.ts.hbs +++ b/packages/web-theme/template/index.ts.hbs @@ -64,6 +64,7 @@ import ChartExpBar from './control-layout/control-layout-model-repository-chart- import SearchForm from './control-layout/control-layout-model-repository-search-form-layout'; import Tree from './control-layout/control-layout-model-repository-tree-layout'; import DataView from './control-layout/control-layout-model-repository-data-view-layout'; +import CalendarExpBar from './control-layout/control-layout-model-repository-calendar-exp-bar-layout'; /** * 安装视图默认布局 @@ -225,4 +226,6 @@ export function install(callBack: (key: string, model: any) => void): void { callBack('TREEVIEW_DEFAULT', Tree); // 数据视图 callBack('DATAVIEW_DEFAULT', DataView); + // 日历导航 + callBack('CALENDAREXPBAR_DEFAULT', CalendarExpBar); }