@ibiz-template/web-theme 1.0.32-dev.1 → 1.1.1

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.
@@ -44,32 +44,7 @@ declare const _default: {
44
44
  };
45
45
  id: string;
46
46
  } | {
47
- panelItems: ({
48
- panelItems: {
49
- caption: string;
50
- itemStyle: string;
51
- itemType: string;
52
- layoutPos: {
53
- shrink: number;
54
- layout: string;
55
- };
56
- showCaption: boolean;
57
- id: string;
58
- }[];
59
- layout: {
60
- dir: string;
61
- layout: string;
62
- };
63
- dataRegionType: string;
64
- itemStyle: string;
65
- itemType: string;
66
- layoutPos: {
67
- shrink: number;
68
- layout: string;
69
- };
70
- id: string;
71
- caption?: undefined;
72
- } | {
47
+ panelItems: {
73
48
  panelItems: {
74
49
  caption: string;
75
50
  itemStyle: string;
@@ -83,7 +58,6 @@ declare const _default: {
83
58
  }[];
84
59
  layout: {
85
60
  layout: string;
86
- dir?: undefined;
87
61
  };
88
62
  dataRegionType: string;
89
63
  caption: string;
@@ -94,7 +68,7 @@ declare const _default: {
94
68
  layout: string;
95
69
  };
96
70
  id: string;
97
- })[];
71
+ }[];
98
72
  layout: {
99
73
  dir: string;
100
74
  layout: string;
@@ -52,33 +52,6 @@ var TreeExpBar = {
52
52
  },
53
53
  {
54
54
  "panelItems": [
55
- {
56
- "panelItems": [
57
- {
58
- "caption": "\u641C\u7D22\u680F",
59
- "itemStyle": "DEFAULT",
60
- "itemType": "CTRLPOS",
61
- "layoutPos": {
62
- "shrink": 1,
63
- "layout": "FLEX"
64
- },
65
- "showCaption": true,
66
- "id": "searchbar"
67
- }
68
- ],
69
- "layout": {
70
- "dir": "column",
71
- "layout": "FLEX"
72
- },
73
- "dataRegionType": "INHERIT",
74
- "itemStyle": "DEFAULT",
75
- "itemType": "CONTAINER",
76
- "layoutPos": {
77
- "shrink": 0,
78
- "layout": "FLEX"
79
- },
80
- "id": "control_searchbar"
81
- },
82
55
  {
83
56
  "panelItems": [
84
57
  {
@@ -0,0 +1,96 @@
1
+ declare const _default: {
2
+ viewProxyMode: boolean;
3
+ layoutMode: string;
4
+ layout: {
5
+ layout: string;
6
+ };
7
+ rootPanelItems: ({
8
+ panelItems: {
9
+ panelItems: {
10
+ caption: string;
11
+ itemStyle: string;
12
+ itemType: string;
13
+ layoutPos: {
14
+ shrink: number;
15
+ layout: string;
16
+ };
17
+ showCaption: boolean;
18
+ id: string;
19
+ }[];
20
+ layout: {
21
+ layout: string;
22
+ };
23
+ dataRegionType: string;
24
+ caption: string;
25
+ itemStyle: string;
26
+ itemType: string;
27
+ layoutPos: {
28
+ shrink: number;
29
+ layout: string;
30
+ };
31
+ id: string;
32
+ }[];
33
+ layout: {
34
+ layout: string;
35
+ };
36
+ dataRegionType: string;
37
+ caption: string;
38
+ itemStyle: string;
39
+ itemType: string;
40
+ layoutPos: {
41
+ shrink: number;
42
+ layout: string;
43
+ };
44
+ id: string;
45
+ } | {
46
+ panelItems: {
47
+ caption: string;
48
+ itemStyle: string;
49
+ itemType: string;
50
+ layoutPos: {
51
+ shrink: number;
52
+ layout: string;
53
+ };
54
+ showCaption: boolean;
55
+ id: string;
56
+ }[];
57
+ layout: {
58
+ layout: string;
59
+ };
60
+ dataRegionType: string;
61
+ caption: string;
62
+ itemStyle: string;
63
+ itemType: string;
64
+ layoutPos: {
65
+ shrink: number;
66
+ layout: string;
67
+ };
68
+ id: string;
69
+ })[];
70
+ layoutPanel: boolean;
71
+ controls: {
72
+ capLanguageRes: {
73
+ defaultContent: string;
74
+ lanResTag: string;
75
+ lanResType: string;
76
+ refFlag: boolean;
77
+ name: string;
78
+ id: string;
79
+ };
80
+ caption: string;
81
+ codeName: string;
82
+ controlType: string;
83
+ appDataEntityId: string;
84
+ controlParam: {};
85
+ name: string;
86
+ id: string;
87
+ }[];
88
+ codeName: string;
89
+ controlType: string;
90
+ logicName: string;
91
+ appDataEntityId: string;
92
+ controlParam: {};
93
+ name: string;
94
+ id: string;
95
+ };
96
+ export default _default;
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ var Tree = {
3
+ "viewProxyMode": true,
4
+ "layoutMode": "FLEX",
5
+ "layout": {
6
+ "layout": "FLEX"
7
+ },
8
+ "rootPanelItems": [
9
+ {
10
+ "panelItems": [
11
+ {
12
+ "panelItems": [
13
+ {
14
+ "caption": "\u641C\u7D22\u680F",
15
+ "itemStyle": "DEFAULT",
16
+ "itemType": "CTRLPOS",
17
+ "layoutPos": {
18
+ "shrink": 1,
19
+ "layout": "FLEX"
20
+ },
21
+ "showCaption": true,
22
+ "id": "searchbar"
23
+ }
24
+ ],
25
+ "layout": {
26
+ "layout": "FLEX"
27
+ },
28
+ "dataRegionType": "INHERIT",
29
+ "caption": "\u5BB9\u5668",
30
+ "itemStyle": "DEFAULT",
31
+ "itemType": "CONTAINER",
32
+ "layoutPos": {
33
+ "shrink": 1,
34
+ "layout": "FLEX"
35
+ },
36
+ "id": "control_searchbar"
37
+ }
38
+ ],
39
+ "layout": {
40
+ "layout": "FLEX"
41
+ },
42
+ "dataRegionType": "INHERIT",
43
+ "caption": "\u5BB9\u5668",
44
+ "itemStyle": "DEFAULT",
45
+ "itemType": "CONTAINER",
46
+ "layoutPos": {
47
+ "shrink": 0,
48
+ "layout": "FLEX"
49
+ },
50
+ "id": "control_header"
51
+ },
52
+ {
53
+ "panelItems": [
54
+ {
55
+ "caption": "\u6811\u89C6\u56FE",
56
+ "itemStyle": "DEFAULT",
57
+ "itemType": "CTRLPOS",
58
+ "layoutPos": {
59
+ "shrink": 1,
60
+ "layout": "FLEX"
61
+ },
62
+ "showCaption": true,
63
+ "id": "tree"
64
+ }
65
+ ],
66
+ "layout": {
67
+ "layout": "FLEX"
68
+ },
69
+ "dataRegionType": "INHERIT",
70
+ "caption": "\u5BB9\u5668",
71
+ "itemStyle": "DEFAULT",
72
+ "itemType": "CONTAINER",
73
+ "layoutPos": {
74
+ "shrink": 1,
75
+ "layout": "FLEX"
76
+ },
77
+ "id": "control_tree"
78
+ }
79
+ ],
80
+ "layoutPanel": true,
81
+ "controls": [
82
+ {
83
+ "capLanguageRes": {
84
+ "defaultContent": "\u90E8\u4EF6\u5E03\u5C40\u6A21\u578B\u5B58\u50A8",
85
+ "lanResTag": "DE.LNAME.CONTROLLAYOUTMODELREPOSITORY",
86
+ "lanResType": "DE.LNAME",
87
+ "refFlag": true,
88
+ "name": "\u5B9E\u4F53\u903B\u8F91\u540D\u79F0\uFF08DE.LNAME.*\uFF09[CONTROLLAYOUTMODELREPOSITORY]",
89
+ "id": "\u5B9E\u4F53\u903B\u8F91\u540D\u79F0\uFF08de.lname.*\uFF09[controllayoutmodelrepository]"
90
+ },
91
+ "caption": "\u6811\u90E8\u4EF6\u5E03\u5C40",
92
+ "codeName": "TreeLayoutcaptionbar",
93
+ "controlType": "CAPTIONBAR",
94
+ "appDataEntityId": "frontmodel.controllayoutmodelrepository",
95
+ "controlParam": {},
96
+ "name": "captionbar",
97
+ "id": "treelayoutcaptionbar"
98
+ }
99
+ ],
100
+ "codeName": "TreeLayout",
101
+ "controlType": "VIEWLAYOUTPANEL",
102
+ "logicName": "\u90E8\u4EF6-\u6811\u90E8\u4EF6\u5E03\u5C40\u9762\u677F",
103
+ "appDataEntityId": "frontmodel.controllayoutmodelrepository",
104
+ "controlParam": {},
105
+ "name": "layoutpanel",
106
+ "id": "treelayout"
107
+ };
108
+
109
+ export { Tree as default };
@@ -48,6 +48,7 @@ import DataViewExpBar from './control-layout/control-layout-model-repository-dat
48
48
  import TreeExpBar from './control-layout/control-layout-model-repository-tree-exp-bar-layout.mjs';
49
49
  import ChartExpBar from './control-layout/control-layout-model-repository-chart-exp-bar-layout.mjs';
50
50
  import SearchForm from './control-layout/control-layout-model-repository-search-form-layout.mjs';
51
+ import Tree from './control-layout/control-layout-model-repository-tree-layout.mjs';
51
52
 
52
53
  "use strict";
53
54
  function install(callBack) {
@@ -110,6 +111,7 @@ function install(callBack) {
110
111
  callBack("TREEEXPBAR_DEFAULT", TreeExpBar);
111
112
  callBack("CHARTEXPBAR_DEFAULT", ChartExpBar);
112
113
  callBack("SEARCHFORM_DEFAULT", SearchForm);
114
+ callBack("TREEVIEW_DEFAULT", Tree);
113
115
  }
114
116
 
115
117
  export { install };
@@ -56,33 +56,6 @@ var TreeExpBar = {
56
56
  },
57
57
  {
58
58
  "panelItems": [
59
- {
60
- "panelItems": [
61
- {
62
- "caption": "\u641C\u7D22\u680F",
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
- "dir": "column",
75
- "layout": "FLEX"
76
- },
77
- "dataRegionType": "INHERIT",
78
- "itemStyle": "DEFAULT",
79
- "itemType": "CONTAINER",
80
- "layoutPos": {
81
- "shrink": 0,
82
- "layout": "FLEX"
83
- },
84
- "id": "control_searchbar"
85
- },
86
59
  {
87
60
  "panelItems": [
88
61
  {
@@ -0,0 +1,113 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ "use strict";
6
+ var Tree = {
7
+ "viewProxyMode": true,
8
+ "layoutMode": "FLEX",
9
+ "layout": {
10
+ "layout": "FLEX"
11
+ },
12
+ "rootPanelItems": [
13
+ {
14
+ "panelItems": [
15
+ {
16
+ "panelItems": [
17
+ {
18
+ "caption": "\u641C\u7D22\u680F",
19
+ "itemStyle": "DEFAULT",
20
+ "itemType": "CTRLPOS",
21
+ "layoutPos": {
22
+ "shrink": 1,
23
+ "layout": "FLEX"
24
+ },
25
+ "showCaption": true,
26
+ "id": "searchbar"
27
+ }
28
+ ],
29
+ "layout": {
30
+ "layout": "FLEX"
31
+ },
32
+ "dataRegionType": "INHERIT",
33
+ "caption": "\u5BB9\u5668",
34
+ "itemStyle": "DEFAULT",
35
+ "itemType": "CONTAINER",
36
+ "layoutPos": {
37
+ "shrink": 1,
38
+ "layout": "FLEX"
39
+ },
40
+ "id": "control_searchbar"
41
+ }
42
+ ],
43
+ "layout": {
44
+ "layout": "FLEX"
45
+ },
46
+ "dataRegionType": "INHERIT",
47
+ "caption": "\u5BB9\u5668",
48
+ "itemStyle": "DEFAULT",
49
+ "itemType": "CONTAINER",
50
+ "layoutPos": {
51
+ "shrink": 0,
52
+ "layout": "FLEX"
53
+ },
54
+ "id": "control_header"
55
+ },
56
+ {
57
+ "panelItems": [
58
+ {
59
+ "caption": "\u6811\u89C6\u56FE",
60
+ "itemStyle": "DEFAULT",
61
+ "itemType": "CTRLPOS",
62
+ "layoutPos": {
63
+ "shrink": 1,
64
+ "layout": "FLEX"
65
+ },
66
+ "showCaption": true,
67
+ "id": "tree"
68
+ }
69
+ ],
70
+ "layout": {
71
+ "layout": "FLEX"
72
+ },
73
+ "dataRegionType": "INHERIT",
74
+ "caption": "\u5BB9\u5668",
75
+ "itemStyle": "DEFAULT",
76
+ "itemType": "CONTAINER",
77
+ "layoutPos": {
78
+ "shrink": 1,
79
+ "layout": "FLEX"
80
+ },
81
+ "id": "control_tree"
82
+ }
83
+ ],
84
+ "layoutPanel": true,
85
+ "controls": [
86
+ {
87
+ "capLanguageRes": {
88
+ "defaultContent": "\u90E8\u4EF6\u5E03\u5C40\u6A21\u578B\u5B58\u50A8",
89
+ "lanResTag": "DE.LNAME.CONTROLLAYOUTMODELREPOSITORY",
90
+ "lanResType": "DE.LNAME",
91
+ "refFlag": true,
92
+ "name": "\u5B9E\u4F53\u903B\u8F91\u540D\u79F0\uFF08DE.LNAME.*\uFF09[CONTROLLAYOUTMODELREPOSITORY]",
93
+ "id": "\u5B9E\u4F53\u903B\u8F91\u540D\u79F0\uFF08de.lname.*\uFF09[controllayoutmodelrepository]"
94
+ },
95
+ "caption": "\u6811\u90E8\u4EF6\u5E03\u5C40",
96
+ "codeName": "TreeLayoutcaptionbar",
97
+ "controlType": "CAPTIONBAR",
98
+ "appDataEntityId": "frontmodel.controllayoutmodelrepository",
99
+ "controlParam": {},
100
+ "name": "captionbar",
101
+ "id": "treelayoutcaptionbar"
102
+ }
103
+ ],
104
+ "codeName": "TreeLayout",
105
+ "controlType": "VIEWLAYOUTPANEL",
106
+ "logicName": "\u90E8\u4EF6-\u6811\u90E8\u4EF6\u5E03\u5C40\u9762\u677F",
107
+ "appDataEntityId": "frontmodel.controllayoutmodelrepository",
108
+ "controlParam": {},
109
+ "name": "layoutpanel",
110
+ "id": "treelayout"
111
+ };
112
+
113
+ exports.default = Tree;
@@ -50,6 +50,7 @@ var controlLayoutModelRepositoryDataViewExpBarLayout = require('./control-layout
50
50
  var controlLayoutModelRepositoryTreeExpBarLayout = require('./control-layout/control-layout-model-repository-tree-exp-bar-layout.cjs');
51
51
  var controlLayoutModelRepositoryChartExpBarLayout = require('./control-layout/control-layout-model-repository-chart-exp-bar-layout.cjs');
52
52
  var controlLayoutModelRepositorySearchFormLayout = require('./control-layout/control-layout-model-repository-search-form-layout.cjs');
53
+ var controlLayoutModelRepositoryTreeLayout = require('./control-layout/control-layout-model-repository-tree-layout.cjs');
53
54
 
54
55
  "use strict";
55
56
  function install(callBack) {
@@ -112,6 +113,7 @@ function install(callBack) {
112
113
  callBack("TREEEXPBAR_DEFAULT", controlLayoutModelRepositoryTreeExpBarLayout.default);
113
114
  callBack("CHARTEXPBAR_DEFAULT", controlLayoutModelRepositoryChartExpBarLayout.default);
114
115
  callBack("SEARCHFORM_DEFAULT", controlLayoutModelRepositorySearchFormLayout.default);
116
+ callBack("TREEVIEW_DEFAULT", controlLayoutModelRepositoryTreeLayout.default);
115
117
  }
116
118
 
117
119
  exports.install = install;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/web-theme",
3
- "version": "1.0.32-dev.1",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "lib/index.cjs",
6
6
  "types": "es/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "scripts": {
25
25
  "dev": "ibiz-temp build -w",
26
26
  "build": "npm run pub && ibiz-temp build -c && vue-tsc --declaration --emitDeclarationOnly",
27
- "pub": "ibizlab pub -m /root/workspace/gitlab/FrontPresetModel/frontmodelbackend-core/src/main/resources/model/front/model/ibiz -t ./template -o ./src/publish --app FrontModel --clean",
27
+ "pub": "ibizlab pub -m /root/workspace/template/template-next/FrontPresetModel/frontmodelbackend-core/src/main/resources/model/front/model/ibiz -t ./template -o ./src/publish --app FrontModel --clean",
28
28
  "publish:next": "npm run build && npm publish --access public --tag=next --registry=https://registry.npmjs.org/",
29
29
  "publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
30
30
  "publish:beta": "npm run build && npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
@@ -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
+ }
@@ -53,6 +53,7 @@ import DataViewExpBar from './control-layout/control-layout-model-repository-dat
53
53
  import TreeExpBar from './control-layout/control-layout-model-repository-tree-exp-bar-layout';
54
54
  import ChartExpBar from './control-layout/control-layout-model-repository-chart-exp-bar-layout';
55
55
  import SearchForm from './control-layout/control-layout-model-repository-search-form-layout';
56
+ import Tree from './control-layout/control-layout-model-repository-tree-layout';
56
57
 
57
58
  /**
58
59
  * 安装视图默认布局
@@ -190,4 +191,6 @@ export function install(callBack: (key: string, model: any) => void): void {
190
191
  callBack('CHARTEXPBAR_DEFAULT', ChartExpBar);
191
192
  // 搜索表单
192
193
  callBack('SEARCHFORM_DEFAULT', SearchForm);
194
+ // 树
195
+ callBack('TREEVIEW_DEFAULT', Tree);
193
196
  }