@gct-paas/core 0.1.4-dev.11 → 0.1.4-dev.12
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/dist/index.esm.min.js +21679 -0
- package/es/constants/core.mjs +5 -4
- package/es/constants/default-date-type/default-date-type.mjs +73 -21
- package/es/constants/editor-register/editor-register.mjs +17 -5
- package/es/constants/expression-type/BuiltOperators.mjs +152 -147
- package/es/constants/expression-type/FunctionKeys.mjs +75 -79
- package/es/constants/expression-type/editor.mjs +10 -3
- package/es/constants/expression-type/function.mjs +602 -613
- package/es/constants/expression-type/index.mjs +111 -113
- package/es/constants/expression-type/modeCfg.mjs +256 -263
- package/es/constants/expression-type/variable.mjs +43 -39
- package/es/constants/form-container-type/form-container-type.mjs +17 -5
- package/es/constants/index.mjs +30 -10
- package/es/constants/page-designer/model.mjs +15 -5
- package/es/create-app-vue.mjs +15 -9
- package/es/enums/app-designer/index.d.ts +19 -0
- package/es/enums/app-designer/index.mjs +131 -63
- package/es/enums/appEnum.mjs +681 -360
- package/es/enums/appStateEnum.mjs +17 -10
- package/es/enums/authActionEnum.mjs +63 -51
- package/es/enums/breakpointEnum.mjs +27 -26
- package/es/enums/cacheEnum.mjs +22 -21
- package/es/enums/designEnum.mjs +110 -71
- package/es/enums/developer-center/integration.mjs +7 -6
- package/es/enums/exceptionEnum.mjs +21 -17
- package/es/enums/expressionEnum.d.ts +1 -1
- package/es/enums/expressionEnum.mjs +81 -74
- package/es/enums/globalEnum.mjs +59 -36
- package/es/enums/httpEnum.mjs +71 -61
- package/es/enums/index.mjs +43 -14
- package/es/enums/menuEnum.mjs +42 -38
- package/es/enums/page-designer/designer.mjs +403 -407
- package/es/enums/page-designer/index.mjs +4 -0
- package/es/enums/page-designer/panel.mjs +341 -213
- package/es/enums/page-designer/toolkit.mjs +13 -12
- package/es/enums/page-designer/widget.mjs +425 -338
- package/es/enums/pageEnum.mjs +14 -13
- package/es/enums/plugin-enum.mjs +23 -7
- package/es/enums/processEnum.mjs +95 -60
- package/es/enums/roleEnum.mjs +7 -6
- package/es/enums/sizeEnum.d.ts +18 -0
- package/es/enums/sizeEnum.mjs +28 -8
- package/es/global/gct/gct.mjs +84 -96
- package/es/global/index.mjs +1 -0
- package/es/hooks/index.mjs +4 -0
- package/es/hooks/use-app-inst/use-app-inst.mjs +11 -5
- package/es/hooks/use-modal/use-modal.mjs +16 -10
- package/es/hooks/use-sub-app-utils/use-sub-app-utils.mjs +43 -23
- package/es/hooks/useCopyToClipboard.mjs +50 -50
- package/es/index.mjs +122 -114
- package/es/locale/index.mjs +43 -57
- package/es/modules/env-manager/env-manager.const.mjs +16 -8
- package/es/modules/env-manager/env-manager.interface.mjs +14 -7
- package/es/modules/env-manager/env-manager.mjs +104 -107
- package/es/modules/error-handler/error-handler.const.mjs +11 -16
- package/es/modules/error-handler/error-strategy.mjs +199 -175
- package/es/modules/error-handler/index.mjs +120 -106
- package/es/modules/mqtt/constants/mqtt.const.mjs +21 -24
- package/es/modules/mqtt/enums/mqtt-status.enum.mjs +23 -9
- package/es/modules/mqtt/index.mjs +4 -0
- package/es/modules/mqtt/mqtt-client.mjs +228 -261
- package/es/modules/mqtt/mqtt-manager.mjs +117 -77
- package/es/modules/platform-config/constants/index.mjs +4 -0
- package/es/modules/platform-config/constants/login.const.mjs +48 -45
- package/es/modules/platform-config/constants/org.const.mjs +57 -52
- package/es/modules/platform-config/constants/theme.const.mjs +11 -4
- package/es/modules/platform-config/constants/watermark.const.mjs +17 -12
- package/es/modules/platform-config/enums/deploy.enum.mjs +13 -6
- package/es/modules/platform-config/enums/login.enum.mjs +29 -15
- package/es/modules/platform-config/enums/platform.enum.mjs +16 -13
- package/es/modules/platform-config/index.mjs +9 -0
- package/es/modules/platform-config/store.mjs +68 -79
- package/es/modules/platform-config/useBasicSetting.mjs +47 -35
- package/es/modules/platform-config/useDeploySetting.mjs +29 -21
- package/es/modules/platform-config/useLoginSetting.mjs +151 -173
- package/es/modules/platform-config/useOrgSetting.mjs +63 -62
- package/es/modules/platform-config/useProjectSetting.mjs +14 -6
- package/es/modules/platform-config/useSecuritySetting.mjs +68 -56
- package/es/modules/platform-config/useThemeSetting.mjs +78 -59
- package/es/modules/platform-config/useWatermarkSetting.mjs +37 -23
- package/es/modules/user-stores/index.mjs +3 -0
- package/es/modules/user-stores/store/permission.store.mjs +27 -36
- package/es/modules/user-stores/store/tenant.store.mjs +20 -22
- package/es/modules/user-stores/store/user.store.mjs +94 -117
- package/es/router/index.mjs +25 -28
- package/es/setup-app.mjs +23 -39
- package/es/state/global-pinia-state/global-pinia-state.mjs +49 -71
- package/es/state/index.mjs +1 -0
- package/es/store/global-store.mjs +50 -72
- package/es/store/index.mjs +25 -19
- package/es/types/index.d.ts +7 -0
- package/es/utils/axios/interceptors.mjs +21 -17
- package/es/utils/cache-adapter/cache-adapter.mjs +61 -56
- package/es/utils/design/design.mjs +18 -12
- package/es/utils/deviceFingerprint.mjs +74 -63
- package/es/utils/dictionary/dictionary.mjs +142 -145
- package/es/utils/file/base64Conver.mjs +35 -30
- package/es/utils/file/download.mjs +94 -98
- package/es/utils/file/parser.d.ts +3 -0
- package/es/utils/file/parser.mjs +29 -0
- package/es/utils/i18n/index.mjs +14 -3
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +31 -0
- package/es/utils/is-sort-filed/is-sort-filed.mjs +42 -37
- package/es/utils/linked-list/linked-list.mjs +115 -118
- package/es/utils/linked-node/linked-node.mjs +41 -31
- package/es/utils/lowcode/utils.mjs +13 -18
- package/es/utils/lowcode/validate.mjs +20 -26
- package/es/utils/mitt/mitt.mjs +4 -4
- package/es/utils/model-loader/model-loader.mjs +280 -325
- package/es/utils/namespace/namespace.mjs +178 -164
- package/es/utils/openUtil/index.mjs +2 -0
- package/es/utils/openUtil/modal/modal.mjs +72 -79
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +144 -138
- package/es/utils/permission.mjs +33 -37
- package/es/utils/plugin-static-resource/plugin-static-resource.mjs +46 -42
- package/es/utils/style/index.mjs +94 -138
- package/es/utils/tools/tools.mjs +86 -54
- package/es/utils/treeHelper/treeHelper.mjs +205 -233
- package/es/utils/uploader/uploader.mjs +81 -115
- package/es/utils/useUUid.mjs +79 -87
- package/es/utils/util.mjs +55 -35
- package/es/utils/uuid/uuid.d.ts +1 -0
- package/es/utils/uuid/uuid.mjs +36 -43
- package/es/utils/validate.mjs +15 -19
- package/es/utils/value-helper/value-helper.mjs +113 -98
- package/package.json +12 -13
- package/dist/index.esm.min.mjs +0 -18322
- package/dist/index.min.cjs +0 -393
- package/dist/index.system.min.js +0 -393
|
@@ -1,214 +1,342 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
1
|
+
//#region src/enums/page-designer/panel.ts
|
|
2
|
+
var PanelEnum = /* @__PURE__ */ function(PanelEnum) {
|
|
3
|
+
PanelEnum["PAGE"] = "page";
|
|
4
|
+
PanelEnum["HISTORY"] = "history";
|
|
5
|
+
PanelEnum["GLOBAL"] = "global";
|
|
6
|
+
PanelEnum["WIDGET"] = "widget";
|
|
7
|
+
PanelEnum["CHANGE_DESIGN"] = "changeDesign";
|
|
8
|
+
return PanelEnum;
|
|
9
|
+
}({});
|
|
10
|
+
var Postion = /* @__PURE__ */ function(Postion) {
|
|
11
|
+
Postion["STATIC"] = "static";
|
|
12
|
+
Postion["RELATIVE"] = "relative";
|
|
13
|
+
Postion["ABSOLUTE"] = "absolute";
|
|
14
|
+
Postion["FIXED"] = "fixed";
|
|
15
|
+
Postion["STICKY"] = "sticky";
|
|
16
|
+
return Postion;
|
|
17
|
+
}({});
|
|
18
|
+
var BorderStyle = /* @__PURE__ */ function(BorderStyle) {
|
|
19
|
+
BorderStyle["NONE"] = "none";
|
|
20
|
+
BorderStyle["SOLID"] = "solid";
|
|
21
|
+
BorderStyle["DOTTED"] = "dotted";
|
|
22
|
+
BorderStyle["DASHED"] = "dashed";
|
|
23
|
+
BorderStyle["DOUBLE"] = "double";
|
|
24
|
+
return BorderStyle;
|
|
25
|
+
}({});
|
|
26
|
+
var TextAlign = /* @__PURE__ */ function(TextAlign) {
|
|
27
|
+
TextAlign["LEFT"] = "left";
|
|
28
|
+
TextAlign["CENTER"] = "center";
|
|
29
|
+
TextAlign["RIGHT"] = "right";
|
|
30
|
+
TextAlign["JUSTIFY"] = "justify";
|
|
31
|
+
return TextAlign;
|
|
32
|
+
}({});
|
|
33
|
+
var TextDecoration = /* @__PURE__ */ function(TextDecoration) {
|
|
34
|
+
TextDecoration["LINETHROUGH"] = "line-through";
|
|
35
|
+
TextDecoration["UNDERLINE"] = "underline";
|
|
36
|
+
TextDecoration["NONE"] = "none";
|
|
37
|
+
return TextDecoration;
|
|
38
|
+
}({});
|
|
39
|
+
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
40
|
+
EventCategory["INNER"] = "inner";
|
|
41
|
+
EventCategory["JS"] = "js";
|
|
42
|
+
return EventCategory;
|
|
43
|
+
}({});
|
|
44
|
+
var PropGroup = /* @__PURE__ */ function(PropGroup) {
|
|
45
|
+
/**基础属性 */
|
|
46
|
+
PropGroup["BASIC"] = "basic";
|
|
47
|
+
/**高级属性 */
|
|
48
|
+
PropGroup["ADVANCED"] = "advance";
|
|
49
|
+
/**显隐配置 */
|
|
50
|
+
PropGroup["DISPLAY"] = "display";
|
|
51
|
+
/**标签 */
|
|
52
|
+
PropGroup["LABEL"] = "label";
|
|
53
|
+
/**字段列表 */
|
|
54
|
+
PropGroup["FIELD"] = "field";
|
|
55
|
+
/**数据相关 */
|
|
56
|
+
PropGroup["DATA"] = "data";
|
|
57
|
+
/**其他属性 */
|
|
58
|
+
PropGroup["OTHER"] = "other";
|
|
59
|
+
/**列表配置 */
|
|
60
|
+
PropGroup["LIST"] = "list";
|
|
61
|
+
/**表格配置 */
|
|
62
|
+
PropGroup["Table"] = "table";
|
|
63
|
+
/**提交配置 */
|
|
64
|
+
PropGroup["SUBMIT_RULE"] = "submitRule";
|
|
65
|
+
/**列表数据 */
|
|
66
|
+
PropGroup["LISTDATA"] = "listdata";
|
|
67
|
+
/**显示 */
|
|
68
|
+
PropGroup["SHOW"] = "show";
|
|
69
|
+
/** 字段配置 */
|
|
70
|
+
PropGroup["FIELD_CONFIG"] = "fieldConfig";
|
|
71
|
+
/** 表单配置 */
|
|
72
|
+
PropGroup["FORM_CONFIG"] = "formConfig";
|
|
73
|
+
/** 字段布局 */
|
|
74
|
+
PropGroup["FIELD_LAYOUT"] = "FieldLayout";
|
|
75
|
+
PropGroup["LEFT_RIGHT_COLUMNS"] = "leftRightColumns";
|
|
76
|
+
/**选择器配置 */
|
|
77
|
+
PropGroup["TABLESELECT_CONFIG"] = "tableSelect";
|
|
78
|
+
/**单选框配置 */
|
|
79
|
+
PropGroup["GENRADIO"] = "genRadio";
|
|
80
|
+
/**复选框配置 */
|
|
81
|
+
PropGroup["GENCHECKBOX"] = "genCheckbox";
|
|
82
|
+
/**开关配置 */
|
|
83
|
+
PropGroup["GENSWITCH"] = "genSwitch";
|
|
84
|
+
/**选项卡配置 */
|
|
85
|
+
PropGroup["OPTIONS"] = "options";
|
|
86
|
+
/**面板配置 */
|
|
87
|
+
PropGroup["COLLAPSE"] = "collapse";
|
|
88
|
+
PropGroup["SPACE_OCCUPATION"] = "spaceOccupation";
|
|
89
|
+
PropGroup["DIVIDER"] = "divider";
|
|
90
|
+
/**iframe配置 */
|
|
91
|
+
PropGroup["IFRAME"] = "iframe";
|
|
92
|
+
/**文档集配置 */
|
|
93
|
+
PropGroup["FILECOLLECT"] = "fileCollect";
|
|
94
|
+
/**卡片列表配置 */
|
|
95
|
+
PropGroup["CARDLIST"] = "cardList";
|
|
96
|
+
/**按钮配置 */
|
|
97
|
+
PropGroup["BUTTON"] = "button";
|
|
98
|
+
/**按钮 */
|
|
99
|
+
PropGroup["Button"] = "Button";
|
|
100
|
+
/**按钮显示 */
|
|
101
|
+
PropGroup["ButtonShow"] = "ButtonShow";
|
|
102
|
+
/**按钮显示 */
|
|
103
|
+
PropGroup["ButtonStyle"] = "ButtonStyle";
|
|
104
|
+
/**列表按钮 */
|
|
105
|
+
PropGroup["LISTBUTTON"] = "listButton";
|
|
106
|
+
/** 模态框配置 */
|
|
107
|
+
PropGroup["MODAL"] = "modal";
|
|
108
|
+
/** 弹框宽度 */
|
|
109
|
+
PropGroup["MODALWIDTH"] = "modalWidth";
|
|
110
|
+
/** 弹框高度 */
|
|
111
|
+
PropGroup["MODALHEIGHT"] = "modalHeight";
|
|
112
|
+
/** 标题配置 */
|
|
113
|
+
PropGroup["MODALTITLECONFIG"] = "modalTitleConfig";
|
|
114
|
+
/**搜索配置 */
|
|
115
|
+
PropGroup["SEARCH"] = "search";
|
|
116
|
+
/** 查询配置 */
|
|
117
|
+
PropGroup["QUERY"] = "query";
|
|
118
|
+
/** 输入配置 */
|
|
119
|
+
PropGroup["INPUT_CONFIG"] = "inputConfig";
|
|
120
|
+
/** 数据联动 */
|
|
121
|
+
PropGroup["DATALINKAGE"] = "dataLinkage";
|
|
122
|
+
/**权限配置 */
|
|
123
|
+
PropGroup["PERMISSION"] = "permission";
|
|
124
|
+
/**数据源 */
|
|
125
|
+
PropGroup["DATASOURCE"] = "dataSource";
|
|
126
|
+
/**验证规则 */
|
|
127
|
+
PropGroup["VALIDATERULE"] = "validaterule";
|
|
128
|
+
/**文本配置 */
|
|
129
|
+
PropGroup["TEXT"] = "text";
|
|
130
|
+
/**栅格容器配置 */
|
|
131
|
+
PropGroup["GRID_CONFIG"] = "gridConfig";
|
|
132
|
+
PropGroup["COL_CONFIG"] = "colConfig";
|
|
133
|
+
/**组件依赖 */
|
|
134
|
+
PropGroup["COMPONENTDEPENDENCY"] = "componentDependency";
|
|
135
|
+
/**图片配置 */
|
|
136
|
+
PropGroup["GENIMAGE"] = "genImage";
|
|
137
|
+
/**数据范围 */
|
|
138
|
+
PropGroup["DATARANGE"] = "dataRange";
|
|
139
|
+
/**算子配置 */
|
|
140
|
+
PropGroup["OPERATOR_CONFIG"] = "operatorConfig";
|
|
141
|
+
/**业务配置 */
|
|
142
|
+
PropGroup["BUSINESS_CONFIG"] = "businessConfig";
|
|
143
|
+
/**Vue3配置 */
|
|
144
|
+
PropGroup["Vue3"] = "Vue3";
|
|
145
|
+
/**树配置 */
|
|
146
|
+
PropGroup["TREE_CONFIG"] = "treeConfig";
|
|
147
|
+
/**卡片显示 */
|
|
148
|
+
PropGroup["CARDDISPLAY"] = "cardDisplay";
|
|
149
|
+
return PropGroup;
|
|
150
|
+
}({});
|
|
151
|
+
var StyleGroup = /* @__PURE__ */ function(StyleGroup) {
|
|
152
|
+
/**布局 */
|
|
153
|
+
StyleGroup["LAYOUT"] = "layout";
|
|
154
|
+
/**样式 */
|
|
155
|
+
StyleGroup["STYLE"] = "style";
|
|
156
|
+
/**背景 */
|
|
157
|
+
StyleGroup["BACKGROUND"] = "background";
|
|
158
|
+
/**边距 */
|
|
159
|
+
StyleGroup["MARGIN"] = "margin";
|
|
160
|
+
/**边框 */
|
|
161
|
+
StyleGroup["BORDER"] = "border";
|
|
162
|
+
/**
|
|
163
|
+
* 标题栏配置
|
|
164
|
+
*/
|
|
165
|
+
StyleGroup["HEADER"] = "header";
|
|
166
|
+
/**显示 */
|
|
167
|
+
StyleGroup["SHOW_PROP"] = "showProp";
|
|
168
|
+
return StyleGroup;
|
|
169
|
+
}({});
|
|
170
|
+
var tagEnum = /* @__PURE__ */ function(tagEnum) {
|
|
171
|
+
tagEnum["TAG"] = "tag";
|
|
172
|
+
tagEnum["PROGRESS"] = "progress";
|
|
173
|
+
return tagEnum;
|
|
174
|
+
}({});
|
|
175
|
+
var TagTypeEnum = /* @__PURE__ */ function(TagTypeEnum) {
|
|
176
|
+
TagTypeEnum["RADIUS"] = "radius";
|
|
177
|
+
TagTypeEnum["LINEAR_RADIUS"] = "linear_radius";
|
|
178
|
+
TagTypeEnum["BIG_RADIUS"] = "big_radius";
|
|
179
|
+
TagTypeEnum["LINEAR_BIG_RADIUS"] = "linear_big_radius";
|
|
180
|
+
TagTypeEnum["DASHED_RADIUS"] = "dashed_radius";
|
|
181
|
+
TagTypeEnum["STATUS"] = "status";
|
|
182
|
+
return TagTypeEnum;
|
|
183
|
+
}({});
|
|
184
|
+
/**
|
|
185
|
+
* 标签展示类型(DisplayTagTypeEnum)
|
|
186
|
+
*
|
|
187
|
+
* 说明:
|
|
188
|
+
* - 用于表格设计器“样式设置”的多字段显示配置中,定义标签的视觉形态;
|
|
189
|
+
* - 将标签形态分为三大类:
|
|
190
|
+
* 1)线面结合:同时具备边框与浅色背景,适合通用信息标识;
|
|
191
|
+
* 2)面性:纯色背景,无边框,适合强调型/高对比度标签;
|
|
192
|
+
* 3)线性:仅边框,无背景,适合轻量/弱强调标签;
|
|
193
|
+
*/
|
|
194
|
+
var DisplayTagTypeEnum = /* @__PURE__ */ function(DisplayTagTypeEnum) {
|
|
195
|
+
/**
|
|
196
|
+
* 线面结合-圆角
|
|
197
|
+
* 视觉:1px 实线边框 + 浅色背景,3px 圆角;
|
|
198
|
+
*/
|
|
199
|
+
DisplayTagTypeEnum["RADIUS"] = "radius";
|
|
200
|
+
/**
|
|
201
|
+
* 线面结合-大圆角(胶囊)
|
|
202
|
+
* 视觉:1px 实线边框 + 浅色背景,50px 大圆角;
|
|
203
|
+
*/
|
|
204
|
+
DisplayTagTypeEnum["BIG_RADIUS"] = "big_radius";
|
|
205
|
+
/**
|
|
206
|
+
* 线面结合-状态
|
|
207
|
+
* 视觉:1px 实线边框 + 浅色背景,混合圆角(11px/3px/3px);
|
|
208
|
+
*/
|
|
209
|
+
DisplayTagTypeEnum["STATUS"] = "status";
|
|
210
|
+
/**
|
|
211
|
+
* 面性-圆角
|
|
212
|
+
* 视觉:纯色背景,3px 圆角,无边框;
|
|
213
|
+
*/
|
|
214
|
+
DisplayTagTypeEnum["SURFACE_RADIUS"] = "surface_radius";
|
|
215
|
+
/**
|
|
216
|
+
* 面性-大圆角(胶囊)
|
|
217
|
+
* 视觉:纯色背景,50px 大圆角,无边框;
|
|
218
|
+
*/
|
|
219
|
+
DisplayTagTypeEnum["SURFACE_BIG_RADIUS"] = "surface_big_radius";
|
|
220
|
+
/**
|
|
221
|
+
* 面性-状态
|
|
222
|
+
* 视觉:纯色背景,混合圆角(11px/3px/3px),无边框;
|
|
223
|
+
*/
|
|
224
|
+
DisplayTagTypeEnum["SURFACE_STATUS"] = "surface_status";
|
|
225
|
+
/**
|
|
226
|
+
* 线性-圆角
|
|
227
|
+
* 视觉:1px 实线边框,3px 圆角,无背景;
|
|
228
|
+
*/
|
|
229
|
+
DisplayTagTypeEnum["LINE_RADIUS"] = "line_radius";
|
|
230
|
+
/**
|
|
231
|
+
* 线性-大圆角(胶囊)
|
|
232
|
+
* 视觉:1px 实线边框,50px 大圆角,无背景;
|
|
233
|
+
*/
|
|
234
|
+
DisplayTagTypeEnum["LINE_BIG_RADIUS"] = "line_big_radius";
|
|
235
|
+
/**
|
|
236
|
+
* 线性-虚线圆角
|
|
237
|
+
* 视觉:1px 虚线边框,3px 圆角,无背景;
|
|
238
|
+
*/
|
|
239
|
+
DisplayTagTypeEnum["LINE_DASHED_RADIUS"] = "line_dashed_radius";
|
|
240
|
+
/**
|
|
241
|
+
* 线性-状态
|
|
242
|
+
* 视觉:1px 实线边框,混合圆角(11px/3px/3px),无背景;
|
|
243
|
+
*/
|
|
244
|
+
DisplayTagTypeEnum["LINE_STATUS"] = "line_status";
|
|
245
|
+
return DisplayTagTypeEnum;
|
|
246
|
+
}({});
|
|
247
|
+
var ProgressTypeEnum = /* @__PURE__ */ function(ProgressTypeEnum) {
|
|
248
|
+
/**圆形 */
|
|
249
|
+
ProgressTypeEnum["CIRCLE"] = "circle";
|
|
250
|
+
/**线条 */
|
|
251
|
+
ProgressTypeEnum["LINE"] = "line";
|
|
252
|
+
return ProgressTypeEnum;
|
|
253
|
+
}({});
|
|
254
|
+
var DisplayType = /* @__PURE__ */ function(DisplayType) {
|
|
255
|
+
/** 显影控制-规则 */
|
|
256
|
+
DisplayType["RULE"] = "rule";
|
|
257
|
+
/** 显影控制-配置 */
|
|
258
|
+
DisplayType["CONFIG"] = "config";
|
|
259
|
+
return DisplayType;
|
|
260
|
+
}({});
|
|
261
|
+
var GLOBAL_VAR_TYPE = /* @__PURE__ */ function(GLOBAL_VAR_TYPE) {
|
|
262
|
+
GLOBAL_VAR_TYPE["STRING"] = "string";
|
|
263
|
+
GLOBAL_VAR_TYPE["NUMBER"] = "number";
|
|
264
|
+
GLOBAL_VAR_TYPE["BOOLEAN"] = "boolean";
|
|
265
|
+
GLOBAL_VAR_TYPE["OBJECT"] = "object";
|
|
266
|
+
GLOBAL_VAR_TYPE["ARRAY"] = "array";
|
|
267
|
+
GLOBAL_VAR_TYPE["NULL"] = "NULL";
|
|
268
|
+
GLOBAL_VAR_TYPE["DATE"] = "date";
|
|
269
|
+
GLOBAL_VAR_TYPE["DATETIME"] = "datetime";
|
|
270
|
+
GLOBAL_VAR_TYPE["TIME"] = "time";
|
|
271
|
+
GLOBAL_VAR_TYPE["VAR"] = "var";
|
|
272
|
+
return GLOBAL_VAR_TYPE;
|
|
273
|
+
}({});
|
|
274
|
+
var GLOBAL_TYPE = /* @__PURE__ */ function(GLOBAL_TYPE) {
|
|
275
|
+
GLOBAL_TYPE["MODAL"] = "modal";
|
|
276
|
+
GLOBAL_TYPE["EVENT"] = "event";
|
|
277
|
+
GLOBAL_TYPE["VAR"] = "var";
|
|
278
|
+
return GLOBAL_TYPE;
|
|
279
|
+
}({});
|
|
280
|
+
var COLUMNS_TYPE = /* @__PURE__ */ function(COLUMNS_TYPE) {
|
|
281
|
+
COLUMNS_TYPE["LEFT"] = "left";
|
|
282
|
+
COLUMNS_TYPE["CENTER"] = "center";
|
|
283
|
+
COLUMNS_TYPE["RIGHT"] = "right";
|
|
284
|
+
COLUMNS_TYPE["TOP"] = "top";
|
|
285
|
+
COLUMNS_TYPE["BOTTOM"] = "bottom";
|
|
286
|
+
return COLUMNS_TYPE;
|
|
287
|
+
}({});
|
|
288
|
+
/**内置事件类型 */
|
|
289
|
+
var INNER_EVENT = /* @__PURE__ */ function(INNER_EVENT) {
|
|
290
|
+
INNER_EVENT["CLOSE_MODAL"] = "__CLOSEMODAL__";
|
|
291
|
+
INNER_EVENT["OPEN_MODAL"] = "__OPENMODAL__";
|
|
292
|
+
INNER_EVENT["REFRESH_TABLE"] = "__REFRESHTABLE__";
|
|
293
|
+
return INNER_EVENT;
|
|
294
|
+
}({});
|
|
295
|
+
var SUB_TABLE_EDIT_MODE = /* @__PURE__ */ function(SUB_TABLE_EDIT_MODE) {
|
|
296
|
+
/** 行内 */
|
|
297
|
+
SUB_TABLE_EDIT_MODE["INLINE"] = "inline";
|
|
298
|
+
/** 模态框 */
|
|
299
|
+
SUB_TABLE_EDIT_MODE["MODAL"] = "modal";
|
|
300
|
+
return SUB_TABLE_EDIT_MODE;
|
|
301
|
+
}({});
|
|
302
|
+
var SUB_TABLE_OPE_EVENT_TYPE_INLINE = /* @__PURE__ */ function(SUB_TABLE_OPE_EVENT_TYPE_INLINE) {
|
|
303
|
+
SUB_TABLE_OPE_EVENT_TYPE_INLINE["DELETE"] = "delete";
|
|
304
|
+
SUB_TABLE_OPE_EVENT_TYPE_INLINE["COPY"] = "copy";
|
|
305
|
+
return SUB_TABLE_OPE_EVENT_TYPE_INLINE;
|
|
306
|
+
}({});
|
|
307
|
+
var SUB_TABLE_OPE_EVENT_TYPE = /* @__PURE__ */ function(SUB_TABLE_OPE_EVENT_TYPE) {
|
|
308
|
+
SUB_TABLE_OPE_EVENT_TYPE["DELETE"] = "delete";
|
|
309
|
+
SUB_TABLE_OPE_EVENT_TYPE["EDIT"] = "edit";
|
|
310
|
+
SUB_TABLE_OPE_EVENT_TYPE["COPY"] = "copy";
|
|
311
|
+
return SUB_TABLE_OPE_EVENT_TYPE;
|
|
312
|
+
}({});
|
|
313
|
+
var VERIFICATIONCONDITIONS_TYPE = /* @__PURE__ */ function(VERIFICATIONCONDITIONS_TYPE) {
|
|
314
|
+
VERIFICATIONCONDITIONS_TYPE["JS"] = "js";
|
|
315
|
+
return VERIFICATIONCONDITIONS_TYPE;
|
|
316
|
+
}({});
|
|
317
|
+
/**
|
|
318
|
+
* 新值赋值策略
|
|
319
|
+
*/
|
|
320
|
+
var ASSIGNMENTSTRATEGY_ENUM = /* @__PURE__ */ function(ASSIGNMENTSTRATEGY_ENUM) {
|
|
321
|
+
/**始终覆盖 */
|
|
322
|
+
ASSIGNMENTSTRATEGY_ENUM["alwaysCover"] = "alwaysCover";
|
|
323
|
+
/**不覆盖已修改 */
|
|
324
|
+
ASSIGNMENTSTRATEGY_ENUM["notCovered"] = "notCovered";
|
|
325
|
+
return ASSIGNMENTSTRATEGY_ENUM;
|
|
326
|
+
}({});
|
|
327
|
+
/**组件依赖枚举 */
|
|
328
|
+
var Dependency_ENUM = /* @__PURE__ */ function(Dependency_ENUM) {
|
|
329
|
+
/**隐藏 */
|
|
330
|
+
Dependency_ENUM["HIDDEN"] = "hidden";
|
|
331
|
+
/**只读 */
|
|
332
|
+
Dependency_ENUM["READONLY"] = "readonly";
|
|
333
|
+
/**禁用 */
|
|
334
|
+
Dependency_ENUM["DISABLED"] = "disabled";
|
|
335
|
+
/**必填 */
|
|
336
|
+
Dependency_ENUM["REQUIRED"] = "required";
|
|
337
|
+
/**赋值 */
|
|
338
|
+
Dependency_ENUM["ASSIGNMENT"] = "assignment";
|
|
339
|
+
return Dependency_ENUM;
|
|
340
|
+
}({});
|
|
341
|
+
//#endregion
|
|
214
342
|
export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, DisplayTagTypeEnum, DisplayType, EventCategory, GLOBAL_TYPE, GLOBAL_VAR_TYPE, INNER_EVENT, PanelEnum, Postion, ProgressTypeEnum, PropGroup, SUB_TABLE_EDIT_MODE, SUB_TABLE_OPE_EVENT_TYPE, SUB_TABLE_OPE_EVENT_TYPE_INLINE, StyleGroup, TagTypeEnum, TextAlign, TextDecoration, VERIFICATIONCONDITIONS_TYPE, tagEnum };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
//#region src/enums/page-designer/toolkit.ts
|
|
2
|
+
var ToolkitEnum = /* @__PURE__ */ function(ToolkitEnum) {
|
|
3
|
+
ToolkitEnum["OUTLINE"] = "OUTLINE";
|
|
4
|
+
ToolkitEnum["WIDGETS"] = "WIDGETS";
|
|
5
|
+
ToolkitEnum["FIELD"] = "FIELD";
|
|
6
|
+
ToolkitEnum["MODAL"] = "MODAL";
|
|
7
|
+
ToolkitEnum["JS"] = "JS";
|
|
8
|
+
ToolkitEnum["CSS"] = "CSS";
|
|
9
|
+
ToolkitEnum["TEMPLATE"] = "TEMPLATE";
|
|
10
|
+
ToolkitEnum["LO"] = "LO";
|
|
11
|
+
return ToolkitEnum;
|
|
12
|
+
}({});
|
|
13
|
+
//#endregion
|
|
13
14
|
export { ToolkitEnum };
|