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

release: 1.0.7

上级 25c62717
......@@ -7,6 +7,12 @@
## [Unreleased]
## [1.0.7] - 2023-05-22
### Added
- 卡片视图默认布局
## [1.0.5] - 2023-05-20
### Added
......
{
"name": "@ibiz-template/default-view-layout",
"version": "1.0.6",
"version": "1.0.7",
"type": "module",
"main": "lib/index.cjs",
"types": "es/index.d.ts",
......
......@@ -16,4 +16,5 @@ export function install(callBack: (key: string, model: any) => void): void {
callBack('DEGRIDVIEW_DEFAULT', DEGridView);
callBack('DEEDITVIEW_DEFAULT', DEEditView);
callBack('DELISTVIEW_DEFAULT', DEListView);
callBack('DEDATAVIEW_DEFAULT', DEListView);
}
\ No newline at end of file
export default {
"layoutMode": "TABLE_24COL",
"rootPanelItems": [
{
"panelItems": [
{
"panelItems": [
{
"caption": "页面标题",
"itemStyle": "DEFAULT",
"itemType": "CTRLPOS",
"layoutPos": {
"layout": "FLEX"
},
"showCaption": true,
"id": "captionbar"
}
],
"layout": {
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"layout": "FLEX"
},
"id": "page_header_left"
},
{
"panelItems": [
{
"caption": "搜索栏",
"itemStyle": "DEFAULT",
"itemType": "CTRLPOS",
"layoutPos": {
"layout": "FLEX"
},
"showCaption": true,
"id": "searchbar"
},
{
"caption": "工具栏",
"itemStyle": "DEFAULT",
"itemType": "CTRLPOS",
"layoutPos": {
"layout": "FLEX"
},
"showCaption": true,
"id": "toolbar"
}
],
"layout": {
"dir": "row",
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"layout": "FLEX"
},
"id": "page_header_right"
}
],
"layout": {
"align": "space-between",
"dir": "row",
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"colMD": 24,
"layout": "TABLE_24COL"
},
"id": "page_header"
},
{
"panelItems": [
{
"caption": "搜索表单",
"itemStyle": "DEFAULT",
"itemType": "CTRLPOS",
"layoutPos": {
"layout": "FLEX"
},
"showCaption": true,
"id": "searchform"
}
],
"layout": {
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"colMD": 24,
"layout": "TABLE_24COL"
},
"id": "page_search_content"
},
{
"panelItems": [
{
"caption": "数据视图",
"itemStyle": "DEFAULT",
"itemType": "CTRLPOS",
"layoutPos": {
"layout": "FLEX"
},
"showCaption": true,
"id": "dataview"
}
],
"layout": {
"layout": "FLEX"
},
"dataRegionType": "INHERIT",
"caption": "容器",
"itemStyle": "DEFAULT",
"itemType": "CONTAINER",
"layoutPos": {
"colMD": 24,
"layout": "TABLE_24COL"
},
"id": "page_content"
}
],
"layoutPanel": true,
"codeName": "DataViewLayout",
"controlType": "VIEWLAYOUTPANEL",
"logicName": "卡片视图布局面(预置模型)",
"appDataEntityId": "web.viewlayoutmodelrepository",
"controlParam": {},
"name": "layoutpanel",
"id": "dataviewlayout"
}
{{#eq page.codeName 'ViewLayoutModelRepositoryDEDataViewLayout'}}
export default {{jsonStringify pageDSL.viewLayoutPanel 2}}
{{/eq}}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册