@ibiz-template/web-theme 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/web-theme",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "main": "lib/index.cjs",
6
6
  "types": "es/index.d.ts",
@@ -51,33 +51,6 @@ export default {
51
51
  },
52
52
  {
53
53
  "panelItems": [
54
- {
55
- "panelItems": [
56
- {
57
- "caption": "搜索栏",
58
- "itemStyle": "DEFAULT",
59
- "itemType": "CTRLPOS",
60
- "layoutPos": {
61
- "shrink": 1,
62
- "layout": "FLEX"
63
- },
64
- "showCaption": true,
65
- "id": "searchbar"
66
- }
67
- ],
68
- "layout": {
69
- "dir": "column",
70
- "layout": "FLEX"
71
- },
72
- "dataRegionType": "INHERIT",
73
- "itemStyle": "DEFAULT",
74
- "itemType": "CONTAINER",
75
- "layoutPos": {
76
- "shrink": 0,
77
- "layout": "FLEX"
78
- },
79
- "id": "control_searchbar"
80
- },
81
54
  {
82
55
  "panelItems": [
83
56
  {
@@ -0,0 +1,106 @@
1
+ export default {
2
+ "viewProxyMode": true,
3
+ "layoutMode": "FLEX",
4
+ "layout": {
5
+ "layout": "FLEX"
6
+ },
7
+ "rootPanelItems": [
8
+ {
9
+ "panelItems": [
10
+ {
11
+ "panelItems": [
12
+ {
13
+ "caption": "搜索栏",
14
+ "itemStyle": "DEFAULT",
15
+ "itemType": "CTRLPOS",
16
+ "layoutPos": {
17
+ "shrink": 1,
18
+ "layout": "FLEX"
19
+ },
20
+ "showCaption": true,
21
+ "id": "searchbar"
22
+ }
23
+ ],
24
+ "layout": {
25
+ "layout": "FLEX"
26
+ },
27
+ "dataRegionType": "INHERIT",
28
+ "caption": "容器",
29
+ "itemStyle": "DEFAULT",
30
+ "itemType": "CONTAINER",
31
+ "layoutPos": {
32
+ "shrink": 1,
33
+ "layout": "FLEX"
34
+ },
35
+ "id": "control_searchbar"
36
+ }
37
+ ],
38
+ "layout": {
39
+ "layout": "FLEX"
40
+ },
41
+ "dataRegionType": "INHERIT",
42
+ "caption": "容器",
43
+ "itemStyle": "DEFAULT",
44
+ "itemType": "CONTAINER",
45
+ "layoutPos": {
46
+ "shrink": 0,
47
+ "layout": "FLEX"
48
+ },
49
+ "id": "control_header"
50
+ },
51
+ {
52
+ "panelItems": [
53
+ {
54
+ "caption": "树视图",
55
+ "itemStyle": "DEFAULT",
56
+ "itemType": "CTRLPOS",
57
+ "layoutPos": {
58
+ "shrink": 1,
59
+ "layout": "FLEX"
60
+ },
61
+ "showCaption": true,
62
+ "id": "tree"
63
+ }
64
+ ],
65
+ "layout": {
66
+ "layout": "FLEX"
67
+ },
68
+ "dataRegionType": "INHERIT",
69
+ "caption": "容器",
70
+ "itemStyle": "DEFAULT",
71
+ "itemType": "CONTAINER",
72
+ "layoutPos": {
73
+ "shrink": 1,
74
+ "layout": "FLEX"
75
+ },
76
+ "id": "control_tree"
77
+ }
78
+ ],
79
+ "layoutPanel": true,
80
+ "controls": [
81
+ {
82
+ "capLanguageRes": {
83
+ "defaultContent": "部件布局模型存储",
84
+ "lanResTag": "DE.LNAME.CONTROLLAYOUTMODELREPOSITORY",
85
+ "lanResType": "DE.LNAME",
86
+ "refFlag": true,
87
+ "name": "实体逻辑名称(DE.LNAME.*)[CONTROLLAYOUTMODELREPOSITORY]",
88
+ "id": "实体逻辑名称(de.lname.*)[controllayoutmodelrepository]"
89
+ },
90
+ "caption": "树部件布局",
91
+ "codeName": "TreeLayoutcaptionbar",
92
+ "controlType": "CAPTIONBAR",
93
+ "appDataEntityId": "frontmodel.controllayoutmodelrepository",
94
+ "controlParam": {},
95
+ "name": "captionbar",
96
+ "id": "treelayoutcaptionbar"
97
+ }
98
+ ],
99
+ "codeName": "TreeLayout",
100
+ "controlType": "VIEWLAYOUTPANEL",
101
+ "logicName": "部件-树部件布局面板",
102
+ "appDataEntityId": "frontmodel.controllayoutmodelrepository",
103
+ "controlParam": {},
104
+ "name": "layoutpanel",
105
+ "id": "treelayout"
106
+ }
@@ -45,6 +45,7 @@ import DEMEditView9 from './view-layout-model-repository/view-layout-model-repos
45
45
  import DEChartExpView from './view-layout-model-repository/view-layout-model-repository-de-chart-exp-view-layout';
46
46
  import DEMAPVIEW from './view-layout-model-repository/view-layout-model-repository-de-map-view-layout';
47
47
  import DEREPORTVIEW from './view-layout-model-repository/view-layout-model-repository-de-report-view-layout';
48
+ import DEGANTTVIEW from './view-layout-model-repository/view-layout-model-repository-de-gantt-view-layout';
48
49
 
49
50
  // 部件布局面板
50
51
  import GridExpBar from './control-layout/control-layout-model-repository-grid-exp-bar-layout';
@@ -53,6 +54,7 @@ import DataViewExpBar from './control-layout/control-layout-model-repository-dat
53
54
  import TreeExpBar from './control-layout/control-layout-model-repository-tree-exp-bar-layout';
54
55
  import ChartExpBar from './control-layout/control-layout-model-repository-chart-exp-bar-layout';
55
56
  import SearchForm from './control-layout/control-layout-model-repository-search-form-layout';
57
+ import Tree from './control-layout/control-layout-model-repository-tree-layout';
56
58
 
57
59
  /**
58
60
  * 安装视图默认布局
@@ -176,6 +178,8 @@ export function install(callBack: (key: string, model: any) => void): void {
176
178
  callBack('DEMAPVIEW_DEFAULT', DEMAPVIEW);
177
179
  // 实体报表视图
178
180
  callBack('DEREPORTVIEW_DEFAULT', DEREPORTVIEW);
181
+ // 实体甘特图视图
182
+ callBack('DEGANTTVIEW_DEFAULT', DEGANTTVIEW);
179
183
 
180
184
  // 部件布局面板
181
185
  // 表格导航
@@ -190,4 +194,6 @@ export function install(callBack: (key: string, model: any) => void): void {
190
194
  callBack('CHARTEXPBAR_DEFAULT', ChartExpBar);
191
195
  // 搜索表单
192
196
  callBack('SEARCHFORM_DEFAULT', SearchForm);
197
+ // 树
198
+ callBack('TREEVIEW_DEFAULT', Tree);
193
199
  }
@@ -0,0 +1,251 @@
1
+ export default {
2
+ "layoutMode": "FLEX",
3
+ "layout": {
4
+ "layout": "FLEX"
5
+ },
6
+ "rootPanelItems": [
7
+ {
8
+ "panelItems": [
9
+ {
10
+ "panelItems": [
11
+ {
12
+ "panelItems": [
13
+ {
14
+ "panelItems": [
15
+ {
16
+ "caption": "页面标题",
17
+ "itemStyle": "DEFAULT",
18
+ "itemType": "CTRLPOS",
19
+ "layoutPos": {
20
+ "shrink": 1,
21
+ "layout": "FLEX"
22
+ },
23
+ "showCaption": true,
24
+ "id": "captionbar"
25
+ }
26
+ ],
27
+ "layout": {
28
+ "align": "center",
29
+ "layout": "FLEX"
30
+ },
31
+ "dataRegionType": "INHERIT",
32
+ "caption": "容器",
33
+ "itemStyle": "DEFAULT",
34
+ "itemType": "CONTAINER",
35
+ "layoutPos": {
36
+ "shrink": 1,
37
+ "heightMode": "FULL",
38
+ "layout": "FLEX"
39
+ },
40
+ "id": "view_captionbar"
41
+ }
42
+ ],
43
+ "layout": {
44
+ "layout": "FLEX"
45
+ },
46
+ "dataRegionType": "INHERIT",
47
+ "caption": "容器",
48
+ "itemStyle": "DEFAULT",
49
+ "itemType": "CONTAINER",
50
+ "layoutPos": {
51
+ "shrink": 1,
52
+ "heightMode": "FULL",
53
+ "layout": "FLEX"
54
+ },
55
+ "id": "view_header_left"
56
+ },
57
+ {
58
+ "panelItems": [
59
+ {
60
+ "panelItems": [
61
+ {
62
+ "caption": "搜索栏",
63
+ "itemStyle": "DEFAULT",
64
+ "itemType": "CTRLPOS",
65
+ "layoutPos": {
66
+ "shrink": 1,
67
+ "layout": "FLEX"
68
+ },
69
+ "showCaption": true,
70
+ "id": "searchbar"
71
+ }
72
+ ],
73
+ "layout": {
74
+ "align": "center",
75
+ "layout": "FLEX"
76
+ },
77
+ "dataRegionType": "INHERIT",
78
+ "caption": "容器",
79
+ "itemStyle": "DEFAULT",
80
+ "itemType": "CONTAINER",
81
+ "layoutPos": {
82
+ "shrink": 1,
83
+ "heightMode": "FULL",
84
+ "layout": "FLEX"
85
+ },
86
+ "id": "view_searchbar"
87
+ },
88
+ {
89
+ "panelItems": [
90
+ {
91
+ "caption": "工具栏",
92
+ "itemStyle": "DEFAULT",
93
+ "itemType": "CTRLPOS",
94
+ "layoutPos": {
95
+ "shrink": 1,
96
+ "layout": "FLEX"
97
+ },
98
+ "showCaption": true,
99
+ "id": "toolbar"
100
+ }
101
+ ],
102
+ "layout": {
103
+ "align": "center",
104
+ "layout": "FLEX"
105
+ },
106
+ "dataRegionType": "INHERIT",
107
+ "caption": "容器",
108
+ "itemStyle": "DEFAULT",
109
+ "itemType": "CONTAINER",
110
+ "layoutPos": {
111
+ "shrink": 1,
112
+ "heightMode": "FULL",
113
+ "layout": "FLEX"
114
+ },
115
+ "id": "view_toolbar"
116
+ }
117
+ ],
118
+ "layout": {
119
+ "dir": "row",
120
+ "layout": "FLEX"
121
+ },
122
+ "dataRegionType": "INHERIT",
123
+ "caption": "容器",
124
+ "itemStyle": "DEFAULT",
125
+ "itemType": "CONTAINER",
126
+ "layoutPos": {
127
+ "shrink": 1,
128
+ "heightMode": "FULL",
129
+ "layout": "FLEX"
130
+ },
131
+ "id": "view_header_right"
132
+ }
133
+ ],
134
+ "predefinedType": "VIEWHEADER",
135
+ "layout": {
136
+ "align": "space-between",
137
+ "dir": "row",
138
+ "layout": "FLEX",
139
+ "valign": "center"
140
+ },
141
+ "dataRegionType": "INHERIT",
142
+ "caption": "容器",
143
+ "itemStyle": "DEFAULT",
144
+ "itemType": "CONTAINER",
145
+ "layoutPos": {
146
+ "shrink": 0,
147
+ "layout": "FLEX"
148
+ },
149
+ "id": "view_header"
150
+ }
151
+ ],
152
+ "predefinedType": "PANELPART",
153
+ "layout": {
154
+ "layout": "FLEX"
155
+ },
156
+ "dataRegionType": "INHERIT",
157
+ "caption": "引用布局面板",
158
+ "itemStyle": "DEFAULT",
159
+ "itemType": "CONTAINER",
160
+ "layoutPos": {
161
+ "shrink": 1,
162
+ "layout": "FLEX"
163
+ },
164
+ "showCaption": true,
165
+ "id": "panelpart"
166
+ },
167
+ {
168
+ "panelItems": [
169
+ {
170
+ "panelItems": [
171
+ {
172
+ "caption": "搜索表单",
173
+ "itemStyle": "DEFAULT",
174
+ "itemType": "CTRLPOS",
175
+ "layoutPos": {
176
+ "shrink": 1,
177
+ "layout": "FLEX"
178
+ },
179
+ "showCaption": true,
180
+ "id": "searchform"
181
+ }
182
+ ],
183
+ "layout": {
184
+ "dir": "column",
185
+ "layout": "FLEX"
186
+ },
187
+ "dataRegionType": "INHERIT",
188
+ "itemStyle": "DEFAULT",
189
+ "itemType": "CONTAINER",
190
+ "layoutPos": {
191
+ "shrink": 0,
192
+ "layout": "FLEX"
193
+ },
194
+ "id": "view_searchform"
195
+ }
196
+ ],
197
+ "predefinedType": "PANELPART",
198
+ "layout": {
199
+ "layout": "FLEX"
200
+ },
201
+ "dataRegionType": "INHERIT",
202
+ "caption": "引用布局面板",
203
+ "itemStyle": "DEFAULT",
204
+ "itemType": "CONTAINER",
205
+ "layoutPos": {
206
+ "shrink": 1,
207
+ "layout": "FLEX"
208
+ },
209
+ "showCaption": true,
210
+ "id": "panelpart1"
211
+ },
212
+ {
213
+ "panelItems": [
214
+ {
215
+ "caption": "甘特图",
216
+ "itemStyle": "DEFAULT",
217
+ "itemType": "CTRLPOS",
218
+ "layoutPos": {
219
+ "grow": 1,
220
+ "shrink": 1,
221
+ "layout": "FLEX"
222
+ },
223
+ "showCaption": true,
224
+ "id": "gantt"
225
+ }
226
+ ],
227
+ "predefinedType": "VIEWCONTENT",
228
+ "layout": {
229
+ "layout": "FLEX"
230
+ },
231
+ "dataRegionType": "INHERIT",
232
+ "caption": "容器",
233
+ "itemStyle": "DEFAULT",
234
+ "itemType": "CONTAINER",
235
+ "layoutPos": {
236
+ "grow": 1,
237
+ "shrink": 1,
238
+ "layout": "FLEX"
239
+ },
240
+ "id": "view_content"
241
+ }
242
+ ],
243
+ "layoutPanel": true,
244
+ "codeName": "GanttViewLayout",
245
+ "controlType": "VIEWLAYOUTPANEL",
246
+ "logicName": "甘特视图布局面板(预置模型)",
247
+ "appDataEntityId": "frontmodel.viewlayoutmodelrepository",
248
+ "controlParam": {},
249
+ "name": "layoutpanel",
250
+ "id": "ganttviewlayout"
251
+ }