Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
4d168fa1
提交
4d168fa1
编写于
5月 29, 2023
作者:
chitanda
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
release: 1.0.14
上级
1d45f5b9
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
115 行增加
和
4 行删除
+115
-4
CHANGELOG.md
plugins/view-layout-panel-dsl/CHANGELOG.md
+3
-0
package.json
plugins/view-layout-panel-dsl/package.json
+1
-1
index.ts
plugins/view-layout-panel-dsl/src/index.ts
+11
-1
view-layout-model-repository-de-tree-view-layout.ts
...itory/view-layout-model-repository-de-tree-view-layout.ts
+81
-0
view-layout-model-repository-dem-pickup-view-layout.ts
...ry/view-layout-model-repository-dem-pickup-view-layout.ts
+5
-1
index.ts.hbs
plugins/view-layout-panel-dsl/template/index.ts.hbs
+11
-1
{{pages@DETREEVIEW}}.ts.hbs
...-dsl/template/{{appEntities}}/{{pages@DETREEVIEW}}.ts.hbs
+3
-0
未找到文件。
plugins/view-layout-panel-dsl/CHANGELOG.md
浏览文件 @
4d168fa1
...
...
@@ -7,12 +7,15 @@
## [Unreleased]
## [1.0.14] - 2023-05-29
### Added
-
树导航视图布局面板
-
表格导航视图布局面板
-
列表导航视图布局面板
-
数据导航视图布局面板
-
树视图布局面板
## [1.0.13] - 2023-05-25
...
...
plugins/view-layout-panel-dsl/package.json
浏览文件 @
4d168fa1
{
"name"
:
"@ibiz-template/default-view-layout"
,
"version"
:
"1.0.1
3
"
,
"version"
:
"1.0.1
4
"
,
"type"
:
"module"
,
"main"
:
"lib/index.cjs"
,
"types"
:
"es/index.d.ts"
,
...
...
plugins/view-layout-panel-dsl/src/index.ts
浏览文件 @
4d168fa1
import
AppIndexViewLayout
from
'./app-index-view-layout'
;
import
DECalendarView
from
'./view-layout-model-repository/view-layout-model-repository-de-calendar-view-layout'
;
import
DEDataViewExpView
from
'./view-layout-model-repository/view-layout-model-repository-de-data-view-exp-view-layout'
;
import
DEDataView
from
'./view-layout-model-repository/view-layout-model-repository-de-data-view-layout'
;
import
DEEditView
from
'./view-layout-model-repository/view-layout-model-repository-de-edit-view-layout'
;
import
DEGridViewExpView
from
'./view-layout-model-repository/view-layout-model-repository-de-grid-exp-view-layout'
;
import
DEGridView
from
'./view-layout-model-repository/view-layout-model-repository-de-grid-view-layout'
;
import
DEListViewExpView
from
'./view-layout-model-repository/view-layout-model-repository-de-list-exp-view-layout'
;
import
DEListView
from
'./view-layout-model-repository/view-layout-model-repository-de-list-view-layout'
;
import
DEOptView
from
'./view-layout-model-repository/view-layout-model-repository-de-option-view-layout'
;
import
DEPickupGirdView
from
'./view-layout-model-repository/view-layout-model-repository-de-pickup-grid-view-layout'
;
import
DEPickupView
from
'./view-layout-model-repository/view-layout-model-repository-de-pickup-view-layout'
;
import
DETabExpView
from
'./view-layout-model-repository/view-layout-model-repository-de-tab-exp-view-layout'
;
import
DETreeViewExpView
from
'./view-layout-model-repository/view-layout-model-repository-de-tree-exp-view-layout'
;
import
DETreeView
from
'./view-layout-model-repository/view-layout-model-repository-de-tree-view-layout'
;
import
DEMPickupView
from
'./view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout'
;
/**
...
...
@@ -21,13 +26,18 @@ import DEMPickupView from './view-layout-model-repository/view-layout-model-repo
export
function
install
(
callBack
:
(
key
:
string
,
model
:
any
)
=>
void
):
void
{
callBack
(
'APPINDEXVIEW_DEFAULT'
,
AppIndexViewLayout
);
callBack
(
'DECALENDARVIEW_DEFAULT'
,
DECalendarView
);
callBack
(
'DEDATAVIEWEXPVIEW_DEFAULT'
,
DEDataViewExpView
);
callBack
(
'DEDATAVIEW_DEFAULT'
,
DEDataView
);
callBack
(
'DEEDITVIEW_DEFAULT'
,
DEEditView
);
callBack
(
'DEGRIDVIEW_DEFAULT'
,
DEGridView
);
callBack
(
'DEGRIDVIEW_DEFAULT'
,
DEGridViewExpView
);
callBack
(
'DEGRIDEXPVIEW_DEFAULT'
,
DEGridView
);
callBack
(
'DELISTEXPVIEW_DEFAULT'
,
DEListViewExpView
);
callBack
(
'DELISTVIEW_DEFAULT'
,
DEListView
);
callBack
(
'DEOPTVIEW_DEFAULT'
,
DEOptView
);
callBack
(
'DEPICKUPGRIDVIEW_DEFAULT'
,
DEPickupGirdView
);
callBack
(
'DEPICKUPVIEW_DEFAULT'
,
DEPickupView
);
callBack
(
'DETABEXPVIEW_DEFAULT'
,
DETabExpView
);
callBack
(
'DETREEEXPVIEW_DEFAULT'
,
DETreeViewExpView
);
callBack
(
'DETREEVIEW_DEFAULT'
,
DETreeView
);
callBack
(
'DEMPICKUPVIEW_DEFAULT'
,
DEMPickupView
);
}
\ No newline at end of file
plugins/view-layout-panel-dsl/src/view-layout-model-repository/view-layout-model-repository-de-tree-view-layout.ts
0 → 100644
浏览文件 @
4d168fa1
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"
}
],
"layout"
:
{
"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"
:
"tree"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"id"
:
"page_content"
}
],
"layoutPanel"
:
true
,
"codeName"
:
"TreeViewLayout"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"logicName"
:
"树视图布局面板"
,
"appDataEntityId"
:
"web.viewlayoutmodelrepository"
,
"controlParam"
:
{},
"name"
:
"layoutpanel"
,
"id"
:
"treeviewlayout"
}
plugins/view-layout-panel-dsl/src/view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout.ts
浏览文件 @
4d168fa1
...
...
@@ -123,11 +123,15 @@ export default {
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"contentWidth"
:
300
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
,
"width"
:
300
,
"widthMode"
:
"PX"
},
"width"
:
300
,
"id"
:
"container5"
}
],
...
...
plugins/view-layout-panel-dsl/template/index.ts.hbs
浏览文件 @
4d168fa1
import AppIndexViewLayout from './app-index-view-layout';
import DECalendarView from './view-layout-model-repository/view-layout-model-repository-de-calendar-view-layout';
import DEDataViewExpView from './view-layout-model-repository/view-layout-model-repository-de-data-view-exp-view-layout';
import DEDataView from './view-layout-model-repository/view-layout-model-repository-de-data-view-layout';
import DEEditView from './view-layout-model-repository/view-layout-model-repository-de-edit-view-layout';
import DEGridViewExpView from './view-layout-model-repository/view-layout-model-repository-de-grid-exp-view-layout';
import DEGridView from './view-layout-model-repository/view-layout-model-repository-de-grid-view-layout';
import DEListViewExpView from './view-layout-model-repository/view-layout-model-repository-de-list-exp-view-layout';
import DEListView from './view-layout-model-repository/view-layout-model-repository-de-list-view-layout';
import DEOptView from './view-layout-model-repository/view-layout-model-repository-de-option-view-layout';
import DEPickupGirdView from './view-layout-model-repository/view-layout-model-repository-de-pickup-grid-view-layout';
import DEPickupView from './view-layout-model-repository/view-layout-model-repository-de-pickup-view-layout';
import DETabExpView from './view-layout-model-repository/view-layout-model-repository-de-tab-exp-view-layout';
import DETreeViewExpView from './view-layout-model-repository/view-layout-model-repository-de-tree-exp-view-layout';
import DETreeView from './view-layout-model-repository/view-layout-model-repository-de-tree-view-layout';
import DEMPickupView from './view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout';
/**
...
...
@@ -21,13 +26,18 @@ import DEMPickupView from './view-layout-model-repository/view-layout-model-repo
export function install(callBack: (key: string, model: any) => void): void {
callBack('APPINDEXVIEW_DEFAULT', AppIndexViewLayout);
callBack('DECALENDARVIEW_DEFAULT', DECalendarView);
callBack('DEDATAVIEWEXPVIEW_DEFAULT', DEDataViewExpView);
callBack('DEDATAVIEW_DEFAULT', DEDataView);
callBack('DEEDITVIEW_DEFAULT', DEEditView);
callBack('DEGRIDVIEW_DEFAULT', DEGridView);
callBack('DEGRIDVIEW_DEFAULT', DEGridViewExpView);
callBack('DEGRIDEXPVIEW_DEFAULT', DEGridView);
callBack('DELISTEXPVIEW_DEFAULT', DEListViewExpView);
callBack('DELISTVIEW_DEFAULT', DEListView);
callBack('DEOPTVIEW_DEFAULT', DEOptView);
callBack('DEPICKUPGRIDVIEW_DEFAULT', DEPickupGirdView);
callBack('DEPICKUPVIEW_DEFAULT', DEPickupView);
callBack('DETABEXPVIEW_DEFAULT', DETabExpView);
callBack('DETREEEXPVIEW_DEFAULT', DETreeViewExpView);
callBack('DETREEVIEW_DEFAULT', DETreeView);
callBack('DEMPICKUPVIEW_DEFAULT', DEMPickupView);
}
\ No newline at end of file
plugins/view-layout-panel-dsl/template/{{appEntities}}/{{pages@DETREEVIEW}}.ts.hbs
0 → 100644
浏览文件 @
4d168fa1
{{#
eq
page
.
codeName
'ViewLayoutModelRepositoryDETreeViewLayout'
}}
export default
{{
jsonStringify
pageDSL
.
viewLayoutPanel
2
}}
{{/
eq
}}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录