@gct-paas/core 0.0.1-dev.6 → 0.0.1-dev.8

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.
Files changed (124) hide show
  1. package/dist/index.min.cjs +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/es/_virtual/_commonjsHelpers.mjs +40 -0
  4. package/es/_virtual/index.mjs +7 -0
  5. package/es/constants/index.d.ts +5 -1
  6. package/es/constants/index.mjs +3 -2
  7. package/es/enums/app-designer/index.d.ts +80 -0
  8. package/es/enums/app-designer/index.mjs +58 -0
  9. package/es/enums/appEnum.d.ts +605 -0
  10. package/es/enums/appEnum.mjs +356 -0
  11. package/es/enums/appStateEnum.d.ts +14 -0
  12. package/es/enums/appStateEnum.mjs +12 -0
  13. package/es/enums/authActionEnum.d.ts +50 -0
  14. package/es/enums/authActionEnum.mjs +55 -0
  15. package/es/enums/breakpointEnum.d.ts +18 -0
  16. package/es/enums/breakpointEnum.mjs +28 -0
  17. package/es/enums/cacheEnum.d.ts +19 -0
  18. package/es/enums/cacheEnum.mjs +23 -0
  19. package/es/enums/designEnum.d.ts +82 -0
  20. package/es/enums/designEnum.mjs +72 -0
  21. package/es/enums/exceptionEnum.d.ts +17 -0
  22. package/es/enums/exceptionEnum.mjs +19 -0
  23. package/es/enums/httpEnum.d.ts +65 -0
  24. package/es/enums/httpEnum.mjs +63 -0
  25. package/es/enums/index.d.ts +16 -0
  26. package/es/enums/index.mjs +22 -0
  27. package/es/enums/menuEnum.d.ts +35 -0
  28. package/es/enums/menuEnum.mjs +40 -0
  29. package/es/enums/page-designer/designer.d.ts +277 -0
  30. package/es/enums/page-designer/designer.mjs +330 -0
  31. package/es/enums/page-designer/index.d.ts +4 -0
  32. package/es/enums/page-designer/index.mjs +6 -0
  33. package/es/enums/page-designer/panel.d.ts +243 -0
  34. package/es/enums/page-designer/panel.mjs +195 -0
  35. package/es/enums/page-designer/toolkit.d.ts +10 -0
  36. package/es/enums/page-designer/toolkit.mjs +14 -0
  37. package/es/enums/page-designer/widget.d.ts +316 -0
  38. package/es/enums/page-designer/widget.mjs +335 -0
  39. package/es/enums/pageEnum.d.ts +11 -0
  40. package/es/enums/pageEnum.mjs +15 -0
  41. package/es/enums/plugin-enum.d.ts +20 -0
  42. package/es/enums/plugin-enum.mjs +9 -0
  43. package/es/enums/processEnum.d.ts +35 -0
  44. package/es/enums/processEnum.mjs +28 -0
  45. package/es/enums/roleEnum.d.ts +4 -0
  46. package/es/enums/roleEnum.mjs +8 -0
  47. package/es/enums/sizeEnum.d.ts +5 -0
  48. package/es/enums/sizeEnum.mjs +9 -0
  49. package/es/global/gct/gct.d.ts +47 -0
  50. package/es/global/gct/gct.mjs +49 -0
  51. package/es/global/index.d.ts +1 -0
  52. package/es/global/index.mjs +3 -0
  53. package/es/index.d.ts +14 -0
  54. package/es/index.mjs +43 -1
  55. package/es/interface/controller/i-designer-controller.d.ts +116 -0
  56. package/es/interface/controller/i-designer-controller.mjs +1 -0
  57. package/es/interface/controller/index.d.ts +1 -0
  58. package/es/interface/controller/index.mjs +1 -0
  59. package/es/interface/hooks/i-designer-hooks.d.ts +26 -0
  60. package/es/interface/hooks/i-designer-hooks.mjs +3 -0
  61. package/es/interface/hooks/index.d.ts +1 -0
  62. package/es/interface/hooks/index.mjs +1 -0
  63. package/es/interface/i-import-style-map/i-import-style-map.d.ts +15 -0
  64. package/es/interface/i-import-style-map/i-import-style-map.mjs +1 -0
  65. package/es/interface/i-pinia-action/i-global-actions.d.ts +14 -0
  66. package/es/interface/i-pinia-action/i-global-actions.mjs +1 -0
  67. package/es/interface/i-pinia-getter/i-global-getters.d.ts +16 -0
  68. package/es/interface/i-pinia-getter/i-global-getters.mjs +1 -0
  69. package/es/interface/i-pinia-state/i-global-state.d.ts +15 -0
  70. package/es/interface/i-pinia-state/i-global-state.mjs +1 -0
  71. package/es/interface/index.d.ts +8 -0
  72. package/es/interface/index.mjs +6 -0
  73. package/es/interface/low-code-types/index.d.ts +4 -0
  74. package/es/interface/low-code-types/index.mjs +5 -0
  75. package/es/interface/low-code-types/modal-types.d.ts +67 -0
  76. package/es/interface/low-code-types/modal-types.mjs +3 -0
  77. package/es/interface/low-code-types/model/index.d.ts +5338 -0
  78. package/es/interface/low-code-types/model/index.mjs +1 -0
  79. package/es/interface/low-code-types/schema/index.d.ts +12 -0
  80. package/es/interface/low-code-types/schema/index.mjs +1 -0
  81. package/es/interface/low-code-types/widget-basic-types.d.ts +655 -0
  82. package/es/interface/low-code-types/widget-basic-types.mjs +3 -0
  83. package/es/interface/state/i-designer-state.d.ts +39 -0
  84. package/es/interface/state/i-designer-state.mjs +1 -0
  85. package/es/interface/state/index.d.ts +1 -0
  86. package/es/interface/state/index.mjs +1 -0
  87. package/es/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.mjs +541 -0
  88. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/async-series-hook/async-series-hook.mjs +73 -0
  89. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/index.mjs +2 -0
  90. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/hook/sync-series-hook/sync-series-hook.mjs +100 -0
  91. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/index.mjs +2 -0
  92. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/array/array.mjs +47 -0
  93. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/index.mjs +5 -0
  94. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/object/object.mjs +24 -0
  95. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/qx-event/qx-event.mjs +94 -0
  96. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/qx-event-emitter/qx-event-emitter.mjs +146 -0
  97. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/type-util/type-util.mjs +149 -0
  98. package/es/node_modules/.pnpm/qx-util@0.4.8/node_modules/qx-util/out/utils/util/util.mjs +227 -0
  99. package/es/provider/i-designer-provider/i-designer-provider.d.ts +102 -0
  100. package/es/provider/i-designer-provider/i-designer-provider.mjs +1 -0
  101. package/es/provider/index.d.ts +1 -0
  102. package/es/provider/index.mjs +1 -0
  103. package/es/register/designer-register/designer-register.d.ts +58 -0
  104. package/es/register/designer-register/designer-register.mjs +70 -0
  105. package/es/register/index.d.ts +2 -0
  106. package/es/register/index.mjs +4 -0
  107. package/es/register/render-register/render-register.d.ts +59 -0
  108. package/es/register/render-register/render-register.mjs +65 -0
  109. package/es/state/global-pinia-state/global-pinia-state.d.ts +16 -0
  110. package/es/state/global-pinia-state/global-pinia-state.mjs +11 -0
  111. package/es/state/index.d.ts +1 -0
  112. package/es/state/index.mjs +3 -0
  113. package/es/store/global-store.d.ts +2 -0
  114. package/es/store/global-store.mjs +22 -0
  115. package/es/store/index.d.ts +20 -0
  116. package/es/store/index.mjs +21 -0
  117. package/es/types/index.d.ts +46 -0
  118. package/es/utils/index.d.ts +2 -0
  119. package/es/utils/index.mjs +2 -0
  120. package/es/utils/plugin-pkg-util/plugin-pkg-util.d.ts +86 -0
  121. package/es/utils/plugin-pkg-util/plugin-pkg-util.mjs +164 -0
  122. package/es/utils/plugin-static-resource/plugin-static-resource.d.ts +41 -0
  123. package/es/utils/plugin-static-resource/plugin-static-resource.mjs +46 -0
  124. package/package.json +14 -6
@@ -0,0 +1,335 @@
1
+ "use strict";
2
+ var CategoryTypeEnum = /* @__PURE__ */ ((CategoryTypeEnum2) => {
3
+ CategoryTypeEnum2["FORM"] = "form";
4
+ CategoryTypeEnum2["LAYOUT"] = "layout";
5
+ CategoryTypeEnum2["ADVANCED"] = "advanced";
6
+ CategoryTypeEnum2["DATA"] = "data";
7
+ CategoryTypeEnum2["BUTTON"] = "button";
8
+ CategoryTypeEnum2["RDO"] = "rdo";
9
+ CategoryTypeEnum2["KIT"] = "kit";
10
+ CategoryTypeEnum2["PROCESS"] = "process";
11
+ return CategoryTypeEnum2;
12
+ })(CategoryTypeEnum || {});
13
+ var Platform = /* @__PURE__ */ ((Platform2) => {
14
+ Platform2["WEB"] = "web";
15
+ Platform2["MOBILE"] = "mobile";
16
+ return Platform2;
17
+ })(Platform || {});
18
+ var BuiltinType = /* @__PURE__ */ ((BuiltinType2) => {
19
+ BuiltinType2["MODAL"] = "modal";
20
+ BuiltinType2["MODAL_BODY"] = "modalBody";
21
+ BuiltinType2["MODAL_FOOTER"] = "modalFooter";
22
+ BuiltinType2["BottomButtonContainer"] = "bottom-button-container";
23
+ return BuiltinType2;
24
+ })(BuiltinType || {});
25
+ var DateRangeEnums = /* @__PURE__ */ ((DateRangeEnums2) => {
26
+ DateRangeEnums2["WEEK_NOW"] = "sys.pageDesigner.dateRange.weekNow";
27
+ DateRangeEnums2["MONTH_NOW"] = "sys.pageDesigner.dateRange.monthNow";
28
+ DateRangeEnums2["QUARTER_NOW"] = "sys.pageDesigner.dateRange.quarterNow";
29
+ DateRangeEnums2["YEAR_NOW"] = "sys.pageDesigner.dateRange.yearNow";
30
+ DateRangeEnums2["WEEk_BEFORE"] = "sys.pageDesigner.dateRange.weekBefore";
31
+ DateRangeEnums2["MONTH_BEFORE"] = "sys.pageDesigner.dateRange.monthBefore";
32
+ DateRangeEnums2["QUARTER_BEFORE"] = "sys.pageDesigner.dateRange.quarterBefore";
33
+ DateRangeEnums2["YEAR_BEFORE"] = "sys.pageDesigner.dateRange.yearBefore";
34
+ DateRangeEnums2["DATE_BEFORE"] = "sys.pageDesigner.dateRange.dateBefore";
35
+ DateRangeEnums2["DATE_AFTER"] = "sys.pageDesigner.dateRange.dateAfter";
36
+ return DateRangeEnums2;
37
+ })(DateRangeEnums || {});
38
+ var SelectPickerEnums = /* @__PURE__ */ ((SelectPickerEnums2) => {
39
+ SelectPickerEnums2["DROPDOWN_SELECTION"] = "dropdownSelection";
40
+ SelectPickerEnums2["TREE_SELECTION"] = "treeSelection";
41
+ SelectPickerEnums2["MODAL_BOX_SELECTION"] = "modalBoxSelection";
42
+ return SelectPickerEnums2;
43
+ })(SelectPickerEnums || {});
44
+ var CURRENCY_ENUM = /* @__PURE__ */ ((CURRENCY_ENUM2) => {
45
+ CURRENCY_ENUM2["\uFFE5"] = "\uFFE5";
46
+ CURRENCY_ENUM2["$"] = "$";
47
+ CURRENCY_ENUM2["S$"] = "S$";
48
+ return CURRENCY_ENUM2;
49
+ })(CURRENCY_ENUM || {});
50
+ var TIMETYPE_ENUM = /* @__PURE__ */ ((TIMETYPE_ENUM2) => {
51
+ TIMETYPE_ENUM2["d"] = "d";
52
+ TIMETYPE_ENUM2["d:h"] = "d:h";
53
+ TIMETYPE_ENUM2["d:h:m"] = "d:h:m";
54
+ TIMETYPE_ENUM2["d:h:m:s"] = "d:h:m:s";
55
+ TIMETYPE_ENUM2["h"] = "h";
56
+ TIMETYPE_ENUM2["h:m"] = "h:m";
57
+ TIMETYPE_ENUM2["h:m:s"] = "h:m:s";
58
+ TIMETYPE_ENUM2["m"] = "m";
59
+ TIMETYPE_ENUM2["m:s"] = "m:s";
60
+ TIMETYPE_ENUM2["s"] = "s";
61
+ return TIMETYPE_ENUM2;
62
+ })(TIMETYPE_ENUM || {});
63
+ var TIMETYPE_LANG_ENUM = /* @__PURE__ */ ((TIMETYPE_LANG_ENUM2) => {
64
+ TIMETYPE_LANG_ENUM2["d"] = "days";
65
+ TIMETYPE_LANG_ENUM2["d:h"] = "dayhour";
66
+ TIMETYPE_LANG_ENUM2["d:h:m"] = "dayhourminute";
67
+ TIMETYPE_LANG_ENUM2["d:h:m:s"] = "dayhourminutesecond";
68
+ TIMETYPE_LANG_ENUM2["h"] = "hour";
69
+ TIMETYPE_LANG_ENUM2["h:m"] = "hourminute";
70
+ TIMETYPE_LANG_ENUM2["h:m:s"] = "hourminutesecond";
71
+ TIMETYPE_LANG_ENUM2["m"] = "minute";
72
+ TIMETYPE_LANG_ENUM2["m:s"] = "minutesecond";
73
+ TIMETYPE_LANG_ENUM2["s"] = "seconds";
74
+ return TIMETYPE_LANG_ENUM2;
75
+ })(TIMETYPE_LANG_ENUM || {});
76
+ var CURRENCY_LANG_ENUM = /* @__PURE__ */ ((CURRENCY_LANG_ENUM2) => {
77
+ CURRENCY_LANG_ENUM2["\uFFE5"] = "chMoney";
78
+ CURRENCY_LANG_ENUM2["$"] = "usMoney";
79
+ CURRENCY_LANG_ENUM2["S$"] = "sgpMoney";
80
+ return CURRENCY_LANG_ENUM2;
81
+ })(CURRENCY_LANG_ENUM || {});
82
+ var RowSelectionTypeEnums = /* @__PURE__ */ ((RowSelectionTypeEnums2) => {
83
+ RowSelectionTypeEnums2["SingleChoice"] = "radio";
84
+ RowSelectionTypeEnums2["MultipleChoice"] = "checkbox";
85
+ return RowSelectionTypeEnums2;
86
+ })(RowSelectionTypeEnums || {});
87
+ var StatisticalMethodEnums = /* @__PURE__ */ ((StatisticalMethodEnums2) => {
88
+ StatisticalMethodEnums2["Current"] = "current";
89
+ StatisticalMethodEnums2["Whole"] = "whole";
90
+ return StatisticalMethodEnums2;
91
+ })(StatisticalMethodEnums || {});
92
+ var PrintModeEnums = /* @__PURE__ */ ((PrintModeEnums2) => {
93
+ PrintModeEnums2["Local"] = "local";
94
+ PrintModeEnums2["Server"] = "server";
95
+ PrintModeEnums2["PREVIEW_PRINT"] = "PreviewPrint";
96
+ PrintModeEnums2["DIRECT_PRINTING"] = "DirectPrinting";
97
+ return PrintModeEnums2;
98
+ })(PrintModeEnums || {});
99
+ var openWindowEnums = /* @__PURE__ */ ((openWindowEnums2) => {
100
+ openWindowEnums2["OPEN"] = "open";
101
+ openWindowEnums2["APPROVE"] = "linkApprove";
102
+ return openWindowEnums2;
103
+ })(openWindowEnums || {});
104
+ var KeyMode = /* @__PURE__ */ ((KeyMode2) => {
105
+ KeyMode2["SYSTEM"] = "system";
106
+ KeyMode2["TRANSACTION"] = "transaction";
107
+ return KeyMode2;
108
+ })(KeyMode || {});
109
+ var TransactionMode = /* @__PURE__ */ ((TransactionMode2) => {
110
+ TransactionMode2["CURRENT"] = "current";
111
+ TransactionMode2["REFERENCE"] = "reference";
112
+ return TransactionMode2;
113
+ })(TransactionMode || {});
114
+ var DisplayEnums = /* @__PURE__ */ ((DisplayEnums2) => {
115
+ DisplayEnums2["BLOCK"] = "block";
116
+ DisplayEnums2["INLINE_BLOCK"] = "inline-block";
117
+ return DisplayEnums2;
118
+ })(DisplayEnums || {});
119
+ var ButtonColorType = /* @__PURE__ */ ((ButtonColorType2) => {
120
+ ButtonColorType2["DEFAULT"] = "default";
121
+ ButtonColorType2["LINK"] = "link";
122
+ return ButtonColorType2;
123
+ })(ButtonColorType || {});
124
+ var ButtonColorTheme = /* @__PURE__ */ ((ButtonColorTheme2) => {
125
+ ButtonColorTheme2["DEFAULT"] = "default";
126
+ ButtonColorTheme2["PRIMARY"] = "primary";
127
+ ButtonColorTheme2["ERROR"] = "error";
128
+ ButtonColorTheme2["WARNING"] = "warning";
129
+ ButtonColorTheme2["SUCCESS"] = "success";
130
+ return ButtonColorTheme2;
131
+ })(ButtonColorTheme || {});
132
+ var ButtonStyle = /* @__PURE__ */ ((ButtonStyle2) => {
133
+ ButtonStyle2["ORDINARY"] = "ordinary";
134
+ ButtonStyle2["SQUARE"] = "square";
135
+ return ButtonStyle2;
136
+ })(ButtonStyle || {});
137
+ var ButtonSize = /* @__PURE__ */ ((ButtonSize2) => {
138
+ ButtonSize2["SMALL"] = "small";
139
+ ButtonSize2["DEFAULT"] = "middle";
140
+ ButtonSize2["LARGE"] = "large";
141
+ return ButtonSize2;
142
+ })(ButtonSize || {});
143
+ var ButtonTypeGroup = /* @__PURE__ */ ((ButtonTypeGroup2) => {
144
+ ButtonTypeGroup2["TEXT"] = "TEXT";
145
+ ButtonTypeGroup2["ICON_TEXT"] = "ICON_TEXT";
146
+ ButtonTypeGroup2["ICON"] = "ICON";
147
+ return ButtonTypeGroup2;
148
+ })(ButtonTypeGroup || {});
149
+ var ButtonType = /* @__PURE__ */ ((ButtonType2) => {
150
+ ButtonType2["PRIMARY"] = "primary";
151
+ ButtonType2["DEFAULT"] = "default";
152
+ ButtonType2["DASHED"] = "dashed";
153
+ ButtonType2["LINK"] = "link";
154
+ return ButtonType2;
155
+ })(ButtonType || {});
156
+ var ButtonType_vant = /* @__PURE__ */ ((ButtonType_vant2) => {
157
+ ButtonType_vant2["PRIMARY"] = "primary";
158
+ ButtonType_vant2["DANGER"] = "danger";
159
+ ButtonType_vant2["DEFAULT"] = "default";
160
+ return ButtonType_vant2;
161
+ })(ButtonType_vant || {});
162
+ const ButtonGroupType = {
163
+ TEXT: [
164
+ {
165
+ type: "primary",
166
+ label: "sys.pageDesigner.button_primary",
167
+ hasText: true
168
+ },
169
+ {
170
+ type: "default",
171
+ label: "sys.pageDesigner.button_default",
172
+ hasText: true
173
+ },
174
+ {
175
+ type: "primary",
176
+ danger: true,
177
+ label: "sys.pageDesigner.button_primary_danger",
178
+ hasText: true
179
+ },
180
+ {
181
+ type: "default",
182
+ danger: true,
183
+ label: "sys.pageDesigner.button_danger",
184
+ hasText: true
185
+ },
186
+ {
187
+ type: "dashed",
188
+ label: "sys.pageDesigner.button_dashed",
189
+ hasText: true
190
+ },
191
+ {
192
+ type: "link",
193
+ label: "sys.pageDesigner.button_text",
194
+ hasText: true
195
+ }
196
+ ],
197
+ ICON_TEXT: [
198
+ {
199
+ type: "primary",
200
+ label: "sys.pageDesigner.button_primary",
201
+ hasText: true,
202
+ hasIcon: true
203
+ },
204
+ {
205
+ type: "default",
206
+ label: "sys.pageDesigner.button_default",
207
+ hasText: true,
208
+ hasIcon: true
209
+ },
210
+ {
211
+ type: "primary",
212
+ danger: true,
213
+ label: "sys.pageDesigner.button_primary_danger",
214
+ hasText: true,
215
+ hasIcon: true
216
+ },
217
+ {
218
+ type: "default",
219
+ danger: true,
220
+ label: "sys.pageDesigner.button_danger",
221
+ hasText: true,
222
+ hasIcon: true
223
+ },
224
+ {
225
+ type: "dashed",
226
+ label: "sys.pageDesigner.button_dashed",
227
+ hasText: true,
228
+ hasIcon: true
229
+ },
230
+ {
231
+ type: "link",
232
+ label: "sys.pageDesigner.button_text",
233
+ hasText: true,
234
+ hasIcon: true
235
+ }
236
+ ],
237
+ ICON: [
238
+ {
239
+ type: "primary",
240
+ hasIcon: true
241
+ },
242
+ {
243
+ type: "default",
244
+ hasIcon: true
245
+ },
246
+ {
247
+ type: "primary",
248
+ danger: true,
249
+ hasIcon: true
250
+ },
251
+ {
252
+ type: "default",
253
+ danger: true,
254
+ hasIcon: true
255
+ },
256
+ {
257
+ type: "dashed",
258
+ hasIcon: true
259
+ },
260
+ {
261
+ type: "link",
262
+ hasIcon: true
263
+ }
264
+ ]
265
+ };
266
+ var operateSysEnums = /* @__PURE__ */ ((operateSysEnums2) => {
267
+ operateSysEnums2["COLUMNDELETE"] = "columnDelete";
268
+ operateSysEnums2["COLUMNLINK"] = "columnLink";
269
+ operateSysEnums2["COPY"] = "copy";
270
+ operateSysEnums2["VERSION_COPY"] = "version_copy";
271
+ operateSysEnums2["VERSION_CREATE"] = "version_create";
272
+ operateSysEnums2["DETAILS"] = "details";
273
+ operateSysEnums2["EDIT"] = "edit";
274
+ operateSysEnums2["USAGEINFORMATION"] = "usageInformation";
275
+ operateSysEnums2["MODELINGTRACEABILITY"] = "modelingTraceability";
276
+ operateSysEnums2["IMPORT"] = "import";
277
+ operateSysEnums2["EXPORT"] = "export";
278
+ operateSysEnums2["BATCHDELETE"] = "batchDelete";
279
+ operateSysEnums2["SUBMIT"] = "submit";
280
+ operateSysEnums2["RESET"] = "reset";
281
+ operateSysEnums2["EXCUTE"] = "excute";
282
+ operateSysEnums2["LABEL_PRINT"] = "label_print";
283
+ operateSysEnums2["DOCUMENT_PRINT"] = "document_print";
284
+ operateSysEnums2["EXAMINE_AND_APPROVE"] = "examineAndApprove";
285
+ return operateSysEnums2;
286
+ })(operateSysEnums || {});
287
+ var TableSearchTypeEnum = /* @__PURE__ */ ((TableSearchTypeEnum2) => {
288
+ TableSearchTypeEnum2["NONE"] = "none";
289
+ TableSearchTypeEnum2["EMBEDDED"] = "embedded";
290
+ TableSearchTypeEnum2["EXTERNAL"] = "external";
291
+ return TableSearchTypeEnum2;
292
+ })(TableSearchTypeEnum || {});
293
+ var TableTypeEnum = /* @__PURE__ */ ((TableTypeEnum2) => {
294
+ TableTypeEnum2["DEFAULT"] = "default";
295
+ TableTypeEnum2["EMBED"] = "embed";
296
+ TableTypeEnum2["SUB"] = "sub";
297
+ return TableTypeEnum2;
298
+ })(TableTypeEnum || {});
299
+ var TableEditingMethodEnum = /* @__PURE__ */ ((TableEditingMethodEnum2) => {
300
+ TableEditingMethodEnum2["DEFAULTEDITING"] = "defaultEditing";
301
+ TableEditingMethodEnum2["CLICKTOENTEREDITING"] = "clickToEnterEditing";
302
+ return TableEditingMethodEnum2;
303
+ })(TableEditingMethodEnum || {});
304
+ var WidgetInScopeEnum = /* @__PURE__ */ ((WidgetInScopeEnum2) => {
305
+ WidgetInScopeEnum2["GCT"] = "gct";
306
+ WidgetInScopeEnum2["GCT_MODAL"] = "gct-modal";
307
+ WidgetInScopeEnum2["GCT_SUB_TABLE_MODAL"] = "gct-sub-table-modal";
308
+ return WidgetInScopeEnum2;
309
+ })(WidgetInScopeEnum || {});
310
+ var ListTreeSearchTypeEnum = /* @__PURE__ */ ((ListTreeSearchTypeEnum2) => {
311
+ ListTreeSearchTypeEnum2["ALL"] = "ALL";
312
+ ListTreeSearchTypeEnum2["SEARCH"] = "SEARCH";
313
+ ListTreeSearchTypeEnum2["SEARCHALL"] = "SEARCHALL";
314
+ ListTreeSearchTypeEnum2["LEVEL"] = "LEVEL";
315
+ ListTreeSearchTypeEnum2["CHILDREN"] = "CHILDREN";
316
+ return ListTreeSearchTypeEnum2;
317
+ })(ListTreeSearchTypeEnum || {});
318
+ var DatasourceTypeEnum = /* @__PURE__ */ ((DatasourceTypeEnum2) => {
319
+ DatasourceTypeEnum2["REALTIMEDATASOURCE"] = "realTimeDataSource";
320
+ DatasourceTypeEnum2["SERVICEDATASOURCE"] = "serviceDataSource";
321
+ return DatasourceTypeEnum2;
322
+ })(DatasourceTypeEnum || {});
323
+ var SignatureTypeEnum = /* @__PURE__ */ ((SignatureTypeEnum2) => {
324
+ SignatureTypeEnum2["SIGNATURE_ONLY"] = "signature_only";
325
+ SignatureTypeEnum2["SIGNATURE_DATE"] = "signature_date";
326
+ SignatureTypeEnum2["SIGNATURE_DATETIME"] = "signature_datetime";
327
+ return SignatureTypeEnum2;
328
+ })(SignatureTypeEnum || {});
329
+ var ResetRuleType = /* @__PURE__ */ ((ResetRuleType2) => {
330
+ ResetRuleType2["WIPE_DATA"] = "wipe_data";
331
+ ResetRuleType2["REFRESHDATA"] = "refresh_data";
332
+ return ResetRuleType2;
333
+ })(ResetRuleType || {});
334
+
335
+ export { BuiltinType, ButtonColorTheme, ButtonColorType, ButtonGroupType, ButtonSize, ButtonStyle, ButtonType, ButtonTypeGroup, ButtonType_vant, CURRENCY_ENUM, CURRENCY_LANG_ENUM, CategoryTypeEnum, DatasourceTypeEnum, DateRangeEnums, DisplayEnums, KeyMode, ListTreeSearchTypeEnum, Platform, PrintModeEnums, ResetRuleType, RowSelectionTypeEnums, SelectPickerEnums, SignatureTypeEnum, StatisticalMethodEnums, TIMETYPE_ENUM, TIMETYPE_LANG_ENUM, TableEditingMethodEnum, TableSearchTypeEnum, TableTypeEnum, TransactionMode, WidgetInScopeEnum, openWindowEnums, operateSysEnums };
@@ -0,0 +1,11 @@
1
+ export declare enum PageEnum {
2
+ BASE_LOGIN = "/login",
3
+ BASE_TENANT = "/tenant",
4
+ BASE_HOME = "/home",
5
+ USER_CENTER = "/user-center",
6
+ PROCESS_CENTER = "/process",
7
+ MESSAGE_CENTER = "/message",
8
+ ERROR_PAGE = "/exception",
9
+ ERROR_LOG_PAGE = "/error-log/list",
10
+ USER_CENTER_PWD = "/user-center/password"
11
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var PageEnum = /* @__PURE__ */ ((PageEnum2) => {
3
+ PageEnum2["BASE_LOGIN"] = "/login";
4
+ PageEnum2["BASE_TENANT"] = "/tenant";
5
+ PageEnum2["BASE_HOME"] = "/home";
6
+ PageEnum2["USER_CENTER"] = "/user-center";
7
+ PageEnum2["PROCESS_CENTER"] = "/process";
8
+ PageEnum2["MESSAGE_CENTER"] = "/message";
9
+ PageEnum2["ERROR_PAGE"] = "/exception";
10
+ PageEnum2["ERROR_LOG_PAGE"] = "/error-log/list";
11
+ PageEnum2["USER_CENTER_PWD"] = "/user-center/password";
12
+ return PageEnum2;
13
+ })(PageEnum || {});
14
+
15
+ export { PageEnum };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * 插件模式枚举
3
+ *
4
+ * @export
5
+ * @enum {number}
6
+ */
7
+ export declare enum PluginModeEnum {
8
+ /**
9
+ * 设计模式
10
+ */
11
+ DESIGN = "design",
12
+ /**
13
+ * 网页端绘制模式
14
+ */
15
+ WEB = "web",
16
+ /**
17
+ * 移动端绘制模式
18
+ */
19
+ MOBILE = "mobile"
20
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var PluginModeEnum = /* @__PURE__ */ ((PluginModeEnum2) => {
3
+ PluginModeEnum2["DESIGN"] = "design";
4
+ PluginModeEnum2["WEB"] = "web";
5
+ PluginModeEnum2["MOBILE"] = "mobile";
6
+ return PluginModeEnum2;
7
+ })(PluginModeEnum || {});
8
+
9
+ export { PluginModeEnum };
@@ -0,0 +1,35 @@
1
+ export declare enum ProcessStatusEnum {
2
+ /** 审批中 */
3
+ APPROVING = "APPROVING",
4
+ /** 已完成 */
5
+ COMPLETED = "COMPLETED",
6
+ /** 已拒绝 */
7
+ REFUSED = "REFUSED",
8
+ /** 已驳回 */
9
+ REJECTED = "REJECTED",
10
+ /** 已终止 */
11
+ TERMINATED = "TERMINATED",
12
+ /** 已撤回 */
13
+ WITHDRAWN = "WITHDRAWN"
14
+ }
15
+ export declare const ch_ProcessStatusMap: {
16
+ APPROVING: string;
17
+ COMPLETED: string;
18
+ REFUSED: string;
19
+ REJECTED: string;
20
+ TERMINATED: string;
21
+ WITHDRAWN: string;
22
+ };
23
+ /**审批状态 */
24
+ export declare enum ExamineAndApproveStateEnum {
25
+ /**我的申请 */
26
+ MY_APPLICATION = "myApplication",
27
+ /**我的代办 */
28
+ MY_AGENT = "myAgent",
29
+ /**我的已办 */
30
+ MY_DONE = "myDone",
31
+ /**我的自定义审批 */
32
+ MY_CUSTOM = "myCustom",
33
+ /**我的自定义审批模态框 */
34
+ MY_CUSTOM_Modal = "myCustomModal"
35
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var ProcessStatusEnum = /* @__PURE__ */ ((ProcessStatusEnum2) => {
3
+ ProcessStatusEnum2["APPROVING"] = "APPROVING";
4
+ ProcessStatusEnum2["COMPLETED"] = "COMPLETED";
5
+ ProcessStatusEnum2["REFUSED"] = "REFUSED";
6
+ ProcessStatusEnum2["REJECTED"] = "REJECTED";
7
+ ProcessStatusEnum2["TERMINATED"] = "TERMINATED";
8
+ ProcessStatusEnum2["WITHDRAWN"] = "WITHDRAWN";
9
+ return ProcessStatusEnum2;
10
+ })(ProcessStatusEnum || {});
11
+ const ch_ProcessStatusMap = {
12
+ ["APPROVING" /* APPROVING */]: "sys.process.status.approving",
13
+ ["COMPLETED" /* COMPLETED */]: "sys.process.status.completed",
14
+ ["REFUSED" /* REFUSED */]: "sys.process.status.refused",
15
+ ["REJECTED" /* REJECTED */]: "sys.process.status.rejected",
16
+ ["TERMINATED" /* TERMINATED */]: "sys.process.status.terminated",
17
+ ["WITHDRAWN" /* WITHDRAWN */]: "sys.process.status.withdrawn"
18
+ };
19
+ var ExamineAndApproveStateEnum = /* @__PURE__ */ ((ExamineAndApproveStateEnum2) => {
20
+ ExamineAndApproveStateEnum2["MY_APPLICATION"] = "myApplication";
21
+ ExamineAndApproveStateEnum2["MY_AGENT"] = "myAgent";
22
+ ExamineAndApproveStateEnum2["MY_DONE"] = "myDone";
23
+ ExamineAndApproveStateEnum2["MY_CUSTOM"] = "myCustom";
24
+ ExamineAndApproveStateEnum2["MY_CUSTOM_Modal"] = "myCustomModal";
25
+ return ExamineAndApproveStateEnum2;
26
+ })(ExamineAndApproveStateEnum || {});
27
+
28
+ export { ExamineAndApproveStateEnum, ProcessStatusEnum, ch_ProcessStatusMap };
@@ -0,0 +1,4 @@
1
+ export declare enum RoleEnum {
2
+ SUPER = "super",
3
+ TEST = "test"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var RoleEnum = /* @__PURE__ */ ((RoleEnum2) => {
3
+ RoleEnum2["SUPER"] = "super";
4
+ RoleEnum2["TEST"] = "test";
5
+ return RoleEnum2;
6
+ })(RoleEnum || {});
7
+
8
+ export { RoleEnum };
@@ -0,0 +1,5 @@
1
+ export declare enum SizeEnum {
2
+ DEFAULT = "default",
3
+ SMALL = "small",
4
+ LARGE = "large"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var SizeEnum = /* @__PURE__ */ ((SizeEnum2) => {
3
+ SizeEnum2["DEFAULT"] = "default";
4
+ SizeEnum2["SMALL"] = "small";
5
+ SizeEnum2["LARGE"] = "large";
6
+ return SizeEnum2;
7
+ })(SizeEnum || {});
8
+
9
+ export { SizeEnum };
@@ -0,0 +1,47 @@
1
+ import { I18n } from 'vue-i18n';
2
+ import { GlobalStoreUtil } from '../../store';
3
+ import { DesignerRegister, RenderRegister } from '../../register';
4
+ /**
5
+ * gct paas 平台全局对象
6
+ *
7
+ * @export
8
+ * @class GctGlobal
9
+ */
10
+ export declare class GctGlobal {
11
+ /**
12
+ * i18n 实例
13
+ *
14
+ * @description 目前底包的实例化只是为了避免报错,需要由主项目实例化后挂载
15
+ * @type {I18n}
16
+ */
17
+ i18n: I18n;
18
+ /**
19
+ * 全局 store 工具类
20
+ */
21
+ readonly storeUtil: GlobalStoreUtil;
22
+ /**
23
+ * 全局 store 实例
24
+ */
25
+ readonly store: import('pinia').Store<"global-store", import('../..').IGlobalState, import('../..').IGlobalGetters, import('../..').IGlobalActions>;
26
+ /**
27
+ * 综合性注册中心
28
+ */
29
+ readonly register: {
30
+ designer: {
31
+ mobile: DesignerRegister;
32
+ web: DesignerRegister;
33
+ };
34
+ render: {
35
+ mobile: RenderRegister;
36
+ web: RenderRegister;
37
+ };
38
+ };
39
+ /**
40
+ * i18n 实例的 t 方法,多语言转换
41
+ *
42
+ * @param {string} key
43
+ * @param {string} def
44
+ * @returns {*} {string}
45
+ */
46
+ t(key: string, def: string): string;
47
+ }
@@ -0,0 +1,49 @@
1
+ import { createI18n } from 'vue-i18n';
2
+ import { GlobalStoreUtil } from '../../store/index.mjs';
3
+ import '../../register/index.mjs';
4
+ import { RenderRegister } from '../../register/render-register/render-register.mjs';
5
+ import { DesignerRegister } from '../../register/designer-register/designer-register.mjs';
6
+
7
+ "use strict";
8
+ class GctGlobal {
9
+ /**
10
+ * i18n 实例
11
+ *
12
+ * @description 目前底包的实例化只是为了避免报错,需要由主项目实例化后挂载
13
+ * @type {I18n}
14
+ */
15
+ i18n = createI18n({});
16
+ /**
17
+ * 全局 store 工具类
18
+ */
19
+ storeUtil = new GlobalStoreUtil();
20
+ /**
21
+ * 全局 store 实例
22
+ */
23
+ store = this.storeUtil.store;
24
+ /**
25
+ * 综合性注册中心
26
+ */
27
+ register = {
28
+ designer: {
29
+ mobile: new DesignerRegister(),
30
+ web: new DesignerRegister()
31
+ },
32
+ render: {
33
+ mobile: new RenderRegister(),
34
+ web: new RenderRegister()
35
+ }
36
+ };
37
+ /**
38
+ * i18n 实例的 t 方法,多语言转换
39
+ *
40
+ * @param {string} key
41
+ * @param {string} def
42
+ * @returns {*} {string}
43
+ */
44
+ t(key, def) {
45
+ return this.i18n.global.t(key, def);
46
+ }
47
+ }
48
+
49
+ export { GctGlobal };
@@ -0,0 +1 @@
1
+ export { GctGlobal } from './gct/gct';
@@ -0,0 +1,3 @@
1
+ export { GctGlobal } from './gct/gct.mjs';
2
+
3
+ "use strict";
package/es/index.d.ts CHANGED
@@ -1,3 +1,17 @@
1
1
  export * from './constants';
2
+ export * from './enums';
3
+ export * from './global';
2
4
  export * from './hooks';
5
+ export * from './interface';
6
+ export * from './provider';
7
+ export * from './register';
8
+ export * from './state';
9
+ export * from './store';
3
10
  export * from './utils';
11
+ /**
12
+ * 安装核心包,主要用于一些参数的初始化
13
+ *
14
+ * @export
15
+ */
16
+ export declare function install(): void;
17
+ export default install;
package/es/index.mjs CHANGED
@@ -1,7 +1,49 @@
1
- export { STYLE_NAMESPACE_TAG } from './constants/index.mjs';
1
+ import './global/index.mjs';
2
+ export { PLUGIN_BASE_URL, STYLE_NAMESPACE_TAG } from './constants/index.mjs';
3
+ import './enums/index.mjs';
2
4
  import './hooks/index.mjs';
5
+ import './interface/index.mjs';
6
+ import './provider/index.mjs';
7
+ import './register/index.mjs';
8
+ import './state/index.mjs';
9
+ export { GlobalStoreUtil } from './store/index.mjs';
3
10
  import './utils/index.mjs';
11
+ import { GctGlobal } from './global/gct/gct.mjs';
12
+ export { EntityModelCategoryEnum, EntityModelTypeEnum, FieldDefaultValueTypeEnum, FieldSysVarDefaultValueEnum, SHOW_FIELDTYPES, UserServiceType, scriptTypeEnum } from './enums/app-designer/index.mjs';
13
+ export { ASSIGNMENTSTRATEGY_ENUM, BorderStyle, COLUMNS_TYPE, Dependency_ENUM, 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 } from './enums/page-designer/panel.mjs';
14
+ export { ToolkitEnum } from './enums/page-designer/toolkit.mjs';
15
+ export { BuiltinType, ButtonColorTheme, ButtonColorType, ButtonGroupType, ButtonSize, ButtonStyle, ButtonType, ButtonTypeGroup, ButtonType_vant, CURRENCY_ENUM, CURRENCY_LANG_ENUM, CategoryTypeEnum, DatasourceTypeEnum, DateRangeEnums, DisplayEnums, KeyMode, ListTreeSearchTypeEnum, Platform, PrintModeEnums, ResetRuleType, RowSelectionTypeEnums, SelectPickerEnums, SignatureTypeEnum, StatisticalMethodEnums, TIMETYPE_ENUM, TIMETYPE_LANG_ENUM, TableEditingMethodEnum, TableSearchTypeEnum, TableTypeEnum, TransactionMode, WidgetInScopeEnum, openWindowEnums, operateSysEnums } from './enums/page-designer/widget.mjs';
16
+ export { BindCmpStyleEnum, BindCmpStyleTypeEnum, Ch_BindCmpStyleEnum, FormComponents, SCOPE, SearchComponents, bindCmpStyleMap, buttonShowType, controlConfigEnum, fixedAlignENUM, searchListByFieldType, sortTypeEnum, statisticalMethodEnum, tableColumnTypeEnum, tableColumnWidthEnum, tabsTypeENUM, transformBindCmp2CmpType } from './enums/page-designer/designer.mjs';
17
+ export { AggTypes, ContentEnum, CreateType, FIELD_TYPE, FIELD_TYPE_BASIC, FIELD_TYPE_CATEGORY, FIELD_TYPE_LOGIC, FIELD_TYPE_TRACE, FieldIconMap, FieldTypeToJs, GENDER_TYPE, MaterialEnum, MenuType, MessageType, NodesConfigTypeEnum, OpenMode, PermissionModeEnum, PersonalCenterType, ProjectName, RouterTransitionEnum, SIDE_BAR_MINI_WIDTH, SIDE_BAR_SHOW_TIT_MINI_WIDTH, SessionTimeoutProcessingEnum, SettingButtonPositionEnum, TODO_TYPE, ThemeEnum, UniqueConstraintType, WorkbenchType, selectionTypeEnums } from './enums/appEnum.mjs';
18
+ export { AppPublishStateEnum } from './enums/appStateEnum.mjs';
19
+ export { BasicAction, CustomAction, DefaultActions, PlatformSettingActions } from './enums/authActionEnum.mjs';
20
+ export { screenEnum, screenMap, sizeEnum } from './enums/breakpointEnum.mjs';
21
+ export { APP_DARK_MODE_KEY_, APP_LOCAL_CACHE_KEY, APP_SESSION_CACHE_KEY, CacheTypeEnum, DESIGNER_SESSION_CACHE_KEY, LOCALE_KEY, LOCALE_LIST_KEY, LOCAL_I18N_TRANSLATE, LOCK_INFO_KEY, MULTIPLE_TABS_KEY, PROJ_CFG_KEY, ROLES_KEY, TENANT_KEY, TIMEZONE_KEY, TOKEN_KEY, USER_INFO_KEY } from './enums/cacheEnum.mjs';
22
+ export { AGLINE_ENUMS, ButtonOpeEnum, RdoButtonOpeEnum, SEARCH_SEVICE, notSingleArr, presetColor } from './enums/designEnum.mjs';
23
+ export { ErrorTypeEnum, ExceptionEnum } from './enums/exceptionEnum.mjs';
24
+ export { BizServiceEnum, ContentTypeEnum, RequestEnum, ResultEnum } from './enums/httpEnum.mjs';
25
+ export { MenuModeEnum, MenuSplitTyeEnum, MenuTypeEnum, MixSidebarTriggerEnum, TopMenuAlignEnum, TriggerEnum } from './enums/menuEnum.mjs';
26
+ export { PageEnum } from './enums/pageEnum.mjs';
27
+ export { RoleEnum } from './enums/roleEnum.mjs';
28
+ export { SizeEnum } from './enums/sizeEnum.mjs';
29
+ export { ExamineAndApproveStateEnum, ProcessStatusEnum, ch_ProcessStatusMap } from './enums/processEnum.mjs';
30
+ export { PluginModeEnum } from './enums/plugin-enum.mjs';
4
31
  export { useNamespace } from './hooks/use-namespace/use-namespace.mjs';
32
+ export { DesignerRegister } from './register/designer-register/designer-register.mjs';
33
+ export { RenderRegister } from './register/render-register/render-register.mjs';
34
+ export { GlobalPiniaState } from './state/global-pinia-state/global-pinia-state.mjs';
5
35
  export { Namespace } from './utils/namespace/namespace.mjs';
36
+ export { PluginPgkUtil } from './utils/plugin-pkg-util/plugin-pkg-util.mjs';
37
+ export { PluginStaticResource } from './utils/plugin-static-resource/plugin-static-resource.mjs';
6
38
 
7
39
  "use strict";
40
+ function install() {
41
+ if (window.gct_paas) {
42
+ console.warn("\u6838\u5FC3\u5305\u5DF2\u5B89\u88C5\uFF0C\u8BF7\u52FF\u91CD\u590D\u5B89\u88C5\uFF01");
43
+ return;
44
+ }
45
+ console.info("\u6838\u5FC3\u5305\u5B89\u88C5\u6210\u529F\uFF01");
46
+ window.gct_paas = new GctGlobal();
47
+ }
48
+
49
+ export { GctGlobal, install as default, install };