提交 1afe1d02 编写于 作者: chitanda's avatar chitanda

feat: 布局注册补充

上级 6976ba6e
......@@ -7,7 +7,7 @@
## [Unreleased]
## [1.0.4] - 2023-05-20
## [1.0.5] - 2023-05-20
### Added
......
{
"name": "@ibiz-template/default-view-layout",
"version": "1.0.4",
"version": "1.0.5",
"type": "module",
"main": "lib/index.cjs",
"types": "es/index.d.ts",
......@@ -21,7 +21,7 @@
"build": "unbuild && rollup -c",
"pub": "ibizlab pub -m ../../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys -t ./template -o ./src --app Web --clean",
"publish:next": "npm publish --access public --tag next",
"publish:npm": "npm publish --access public"
"publish:npm": "npm run build && npm publish --access public"
},
"author": "",
"license": "MIT",
......
import AppIndexViewLayout from './app-index-view-layout';
import DEGridView from './view-layout-model-repository/view-layout-model-repository-de-grid-view-layout';
import DEEditView from './view-layout-model-repository/view-layout-model-repository-de-edit-view-layout';
import DEListView from './view-layout-model-repository/view-layout-model-repository-de-list-view-layout';
/**
* 安装视图默认布局
......@@ -14,4 +15,5 @@ export function install(callBack: (key: string, model: any) => void): void {
callBack('APPINDEXVIEW_DEFAULT', AppIndexViewLayout);
callBack('DEGRIDVIEW_DEFAULT', DEGridView);
callBack('DEEDITVIEW_DEFAULT', DEEditView);
callBack('DELISTVIEW_DEFAULT', DEListView);
}
\ No newline at end of file
......@@ -6,19 +6,14 @@ export default {
{
"panelItems": [
{
"rawItem": {
"contentType": "INFO",
"predefinedType": "CAPTIONBAR",
"id": "info1"
},
"caption": "提示信息",
"caption": "页面标题",
"itemStyle": "DEFAULT",
"itemType": "RAWITEM",
"itemType": "CTRLPOS",
"layoutPos": {
"layout": "FLEX"
},
"showCaption": true,
"id": "info1"
"id": "captionbar"
}
],
"layout": {
......@@ -43,7 +38,7 @@ export default {
"layout": "FLEX"
},
"showCaption": true,
"id": "12b58ae206c7040e2e0054b3a6eb2410"
"id": "59fab2ce15b9d546eeb4a9915ab059ac"
},
{
"caption": "工具栏",
......@@ -53,7 +48,7 @@ export default {
"layout": "FLEX"
},
"showCaption": true,
"id": "0ba0c5ca9646f21ece8618cfd008a67c"
"id": "b62a316f717f0e726b737d27d93856d5"
}
],
"layout": {
......@@ -99,7 +94,7 @@ export default {
"layout": "FLEX"
},
"showCaption": true,
"id": "7e1a1b718a86031986f000fbe9813fc9"
"id": "eaa9fa2178c130d665415c6f65eb8cfe"
}
],
"layout": {
......@@ -125,7 +120,7 @@ export default {
"layout": "FLEX"
},
"showCaption": true,
"id": "488ffc0ea2cc68d251eafaad7b8827b7"
"id": "005636d9ce961217e363452409b9bd93"
}
],
"layout": {
......
import AppIndexViewLayout from './app-index-view-layout';
import DEGridView from './view-layout-model-repository/view-layout-model-repository-de-grid-view-layout';
import DEEditView from './view-layout-model-repository/view-layout-model-repository-de-edit-view-layout';
import DEListView from './view-layout-model-repository/view-layout-model-repository-de-list-view-layout';
/**
* 安装视图默认布局
......@@ -14,4 +15,5 @@ export function install(callBack: (key: string, model: any) => void): void {
callBack('APPINDEXVIEW_DEFAULT', AppIndexViewLayout);
callBack('DEGRIDVIEW_DEFAULT', DEGridView);
callBack('DEEDITVIEW_DEFAULT', DEEditView);
callBack('DELISTVIEW_DEFAULT', DEListView);
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册