super-page-runtime 2.1.932 → 2.2.0

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 (160) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +6 -7
  2. package/dist/es/assets/chart-themes/theme1.js +2 -6
  3. package/dist/es/assets/chart-themes/theme2.js +2 -6
  4. package/dist/es/assets/chart-themes/theme3.js +2 -6
  5. package/dist/es/components/runtime/utils/api/api-util.js +4 -7
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +137 -433
  7. package/dist/es/components/runtime/utils/assemblys-config.js +12 -366
  8. package/dist/es/components/runtime/utils/barcode-util.js +10 -33
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +138 -300
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +29 -66
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +71 -147
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +52 -122
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +40 -98
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +237 -478
  15. package/dist/es/components/runtime/utils/common-util.js +82 -152
  16. package/dist/es/components/runtime/utils/eventBus.js +3 -9
  17. package/dist/es/components/runtime/utils/events/event-util.js +361 -727
  18. package/dist/es/components/runtime/utils/events/print-label.js +73 -140
  19. package/dist/es/components/runtime/utils/events/standard-event.js +838 -2285
  20. package/dist/es/components/runtime/utils/events/validator-util.js +237 -536
  21. package/dist/es/components/runtime/utils/form/date-shortcuts.js +29 -88
  22. package/dist/es/components/runtime/utils/form/scan-util.js +60 -154
  23. package/dist/es/components/runtime/utils/global-refs.js +45 -69
  24. package/dist/es/components/runtime/utils/i18n-util.js +12 -20
  25. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +2 -7
  26. package/dist/es/components/runtime/utils/page-helper-util.js +298 -628
  27. package/dist/es/components/runtime/utils/page-init-util.js +134 -368
  28. package/dist/es/components/runtime/utils/page-permission-util.js +24 -531
  29. package/dist/es/components/runtime/utils/page-store.js +8 -12
  30. package/dist/es/components/runtime/utils/store-util.js +9 -13
  31. package/dist/es/components/runtime/utils/store.js +2 -2
  32. package/dist/es/components/runtime/utils/table-utils.js +49 -84
  33. package/dist/es/components/runtime/utils/tree-utils.js +18 -36
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +19 -75
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -46
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +2 -2
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +37 -132
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +2 -2
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +4 -18
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +2 -2
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -107
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +54 -198
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +12 -42
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +7 -60
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +2 -2
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +48 -169
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +2 -2
  53. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +32 -107
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +43 -164
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +32 -115
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +32 -116
  60. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +208 -439
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +4 -42
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +8 -62
  64. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +63 -226
  66. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -62
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +2 -2
  70. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +168 -512
  71. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +29 -139
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +2 -2
  73. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +23 -125
  74. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +2 -2
  75. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +16 -102
  76. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +2 -2
  77. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +2 -2
  78. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +18 -81
  79. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +2 -2
  80. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -82
  81. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +14 -86
  83. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +21 -79
  85. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +2 -2
  86. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +16 -61
  87. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -37
  89. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
  90. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +38 -127
  91. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +2 -2
  92. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +28 -76
  93. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +2 -2
  94. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +61 -178
  95. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +311 -800
  96. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +2 -2
  97. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +251 -592
  98. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +2 -2
  99. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +2 -2
  100. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +43 -115
  101. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
  102. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +56 -215
  103. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +3 -21
  104. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +2 -2
  105. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +2 -2
  106. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +44 -154
  107. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +36 -98
  108. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +2 -2
  109. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +2 -2
  110. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +54 -200
  111. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +2 -2
  112. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +69 -239
  113. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +2 -2
  114. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +28 -98
  115. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +2 -2
  116. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +22 -59
  117. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +52 -173
  119. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +22 -103
  121. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +2 -2
  122. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -249
  123. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +34 -174
  125. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +2 -2
  126. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +28 -107
  127. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +5 -5
  128. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -50
  129. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +1 -0
  130. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +66 -189
  132. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -243
  134. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +82 -261
  136. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +13 -57
  138. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +2 -2
  139. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +30 -155
  140. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +41 -129
  142. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
  143. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +22 -107
  144. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +133 -252
  145. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +2 -2
  146. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +2 -2
  147. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +19 -46
  148. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +2 -2
  149. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +22 -49
  150. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +2 -2
  151. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +21 -58
  152. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +2 -2
  153. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +16 -53
  154. package/dist/es/components/runtime/views/super-page-dialog.vue.js +18 -134
  155. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +2 -2
  156. package/dist/es/components/runtime/views/super-page.vue.js +233 -708
  157. package/dist/es/components/runtime/views/super-page.vue2.js +2 -2
  158. package/dist/es/i18n/langs/cn.js +2 -55
  159. package/dist/es/i18n/langs/en.js +2 -55
  160. package/package.json +74 -73
@@ -1,539 +1,32 @@
1
- var FuncType = /* @__PURE__ */ ((FuncType2) => {
2
- FuncType2["AUTHENTICATED"] = "AUTHENTICATED";
3
- FuncType2["ANONYMOUS"] = "ANONYMOUS";
4
- FuncType2["AUTHORIZED"] = "AUTHORIZED";
5
- return FuncType2;
6
- })(FuncType || {});
7
- const standardFuncUrlMap = {
8
- page: {
9
- label: "页面",
10
- functions: [
11
- {
12
- label: "页面",
13
- path: "temp"
14
- }
15
- ]
16
- },
17
- gets: {
18
- group: "表单标准功能",
19
- label: "获取表单数据",
20
- functions: [
21
- {
22
- funcType: "AUTHENTICATED",
23
- path: "/commons/gets$POST"
24
- }
25
- ]
26
- },
27
- workflowGets: {
28
- group: "标准流程",
29
- label: "获取表单及流程数据",
30
- functions: [
31
- {
32
- funcType: "AUTHENTICATED",
33
- path: "/workflow-commons/gets$POST"
34
- }
35
- ]
36
- },
37
- save: {
38
- group: "表单标准功能",
39
- label: "暂存",
40
- functions: [
41
- {
42
- code: "create",
43
- label: "暂存",
44
- path: "/commons$POST"
45
- },
46
- {
47
- code: "update",
48
- label: "修改",
49
- path: "/commons$POST"
50
- }
51
- ]
52
- },
53
- submit: {
54
- group: "表单标准功能",
55
- label: "提交",
56
- functions: [
57
- {
58
- path: "/commons/submits$POST"
59
- }
60
- ]
61
- },
62
- exportForm: {
63
- group: "表单标准功能",
64
- label: "导出报告",
65
- functions: [
66
- {
67
- path: "/commons/export-reports$POST"
68
- }
69
- ]
70
- },
71
- exportPDF: {
72
- group: "表单标准功能",
73
- label: "导出PDF",
74
- functions: [
75
- {
76
- path: "/commons/exportPDF$POST"
77
- }
78
- ]
79
- },
80
- agree: {
81
- group: "表单标准功能",
82
- label: "同意",
83
- functions: [
84
- {
85
- path: "/commons/approves$POST"
86
- }
87
- ]
88
- },
89
- disagree: {
90
- group: "表单标准功能",
91
- label: "不同意",
92
- functions: [
93
- {
94
- path: "/commons/refuses$POST"
95
- }
96
- ]
97
- },
98
- back: {
99
- group: "表单标准功能",
100
- label: "返回",
101
- functions: []
102
- //无资源时表示不需要控制
103
- },
104
- workflowSave: {
105
- group: "流程表单功能",
106
- label: "暂存",
107
- functions: [
108
- {
109
- label: "暂存",
110
- code: "save",
111
- funcType: "AUTHENTICATED",
112
- //公用
113
- path: "/workflow-commons$POST"
114
- },
115
- {
116
- label: "修改",
117
- code: "update",
118
- funcType: "AUTHENTICATED",
119
- //公用
120
- path: "/workflow-commons$PUT"
121
- }
122
- ]
123
- },
124
- submitProcess: {
125
- group: "流程表单功能",
126
- label: "提交流程",
127
- functions: [
128
- {
129
- funcType: "AUTHENTICATED",
130
- //公用
131
- path: "/workflow-commons/submit$POST"
132
- }
133
- ]
134
- },
135
- submitTask: {
136
- group: "流程表单功能",
137
- label: "提交任务",
138
- functions: [
139
- {
140
- funcType: "AUTHENTICATED",
141
- //公用
142
- code: "completeTask.submit",
143
- path: "/workflow-commons/complete-tasks$POST"
144
- }
145
- ]
146
- },
147
- approve: {
148
- group: "流程表单功能",
149
- label: "同意",
150
- functions: [
151
- {
152
- funcType: "AUTHENTICATED",
153
- //公用
154
- code: "completeTask.approve",
155
- path: "/workflow-commons/complete-tasks$POST"
156
- }
157
- ]
158
- },
159
- refuse: {
160
- group: "流程表单功能",
161
- label: "不同意",
162
- functions: [
163
- {
164
- funcType: "AUTHENTICATED",
165
- //公用
166
- code: "completeTask.refuse",
167
- path: "/workflow-commons/complete-tasks$POST"
168
- }
169
- ]
170
- },
171
- assign: {
172
- group: "流程表单功能",
173
- label: "指派",
174
- functions: [
175
- {
176
- funcType: "AUTHENTICATED",
177
- //公用
178
- path: "/workflow-commons/assigns$POST"
179
- }
180
- ]
181
- },
182
- drawTask: {
183
- group: "流程表单功能",
184
- label: "领取",
185
- functions: [
186
- {
187
- funcType: "AUTHENTICATED",
188
- //公用
189
- path: "/workflow-commons/draw-tasks$POST"
190
- }
191
- ]
192
- },
193
- abandonReceive: {
194
- group: "流程表单功能",
195
- label: "放弃领取",
196
- functions: [
197
- {
198
- funcType: "AUTHENTICATED",
199
- //公用
200
- path: "/workflow-commons/abandon-receives$POST"
201
- }
202
- ]
203
- },
204
- readed: {
205
- group: "流程表单功能",
206
- label: "已阅",
207
- functions: [
208
- {
209
- funcType: "AUTHENTICATED",
210
- //公用
211
- code: "completeTask.readed",
212
- path: "/workflow-commons/complete-tasks$POST"
213
- }
214
- ]
215
- },
216
- agreement: {
217
- group: "流程表单功能",
218
- label: "赞成",
219
- functions: [
220
- {
221
- funcType: "AUTHENTICATED",
222
- //公用
223
- code: "completeTask.agreement",
224
- path: "/workflow-commons/complete-tasks$POST"
225
- }
226
- ]
227
- },
228
- oppose: {
229
- group: "流程表单功能",
230
- label: "反对",
231
- functions: [
232
- {
233
- funcType: "AUTHENTICATED",
234
- //公用
235
- code: "completeTask.oppose",
236
- path: "/workflow-commons/complete-tasks$POST"
237
- }
238
- ]
239
- },
240
- kiken: {
241
- group: "流程表单功能",
242
- label: "弃权",
243
- functions: [
244
- {
245
- funcType: "AUTHENTICATED",
246
- //公用
247
- code: "completeTask.kiken",
248
- path: "/workflow-commons/complete-tasks$POST"
249
- }
250
- ]
251
- },
252
- addSigner: {
253
- group: "流程表单功能",
254
- label: "加签",
255
- functions: [
256
- {
257
- funcType: "AUTHENTICATED",
258
- //公用
259
- path: "/workflow-commons/add-signers$POST"
260
- }
261
- ]
262
- },
263
- removeSigner: {
264
- group: "流程表单功能",
265
- label: "减签",
266
- functions: [
267
- {
268
- funcType: "AUTHENTICATED",
269
- //公用
270
- path: "/workflow-commons/abandon-receives$POST"
271
- },
272
- {
273
- code: "getRemoveSigners",
274
- //有编码时,以此为准
275
- label: "获取可减签人员",
276
- //有标题时,以此为准
277
- funcType: "AUTHENTICATED",
278
- //公用
279
- path: "/workflow-commons/get-remove-signers$POST"
280
- }
281
- ]
282
- },
283
- copyTask: {
284
- group: "流程表单功能",
285
- label: "抄送",
286
- functions: [
287
- {
288
- funcType: "AUTHENTICATED",
289
- //公用
290
- path: "/workflow-commons/copies$POST"
291
- }
292
- ]
293
- },
294
- retrieveTask: {
295
- group: "流程表单功能",
296
- label: "取回",
297
- functions: [
298
- {
299
- funcType: "AUTHENTICATED",
300
- //公用
301
- path: "/workflow-commons/retrieves$POST"
302
- }
303
- ]
304
- },
305
- returnToPreviousTask: {
306
- group: "流程表单功能",
307
- label: "驳回",
308
- functions: [
309
- {
310
- funcType: "AUTHENTICATED",
311
- //公用
312
- path: "/workflow-commons/returnTaskTo$POST"
313
- }
314
- ]
315
- },
316
- returnTaskTo: {
317
- group: "流程表单功能",
318
- label: "退回",
319
- functions: [
320
- {
321
- funcType: "AUTHENTICATED",
322
- //公用
323
- path: "/workflow-commons/return-to-previous-tasks$POST"
324
- }
325
- ]
326
- },
327
- endInstance: {
328
- group: "流程表单功能",
329
- label: "强制结束",
330
- functions: [
331
- {
332
- funcType: "AUTHENTICATED",
333
- //公用
334
- path: "/workflow-commons/end-instance$POST"
335
- }
336
- ]
337
- },
338
- listData: {
339
- group: "列表功能",
340
- label: "列表数据",
341
- functions: [
342
- {
343
- funcType: "AUTHENTICATED",
344
- //公用
345
- path: "/commons/list$POST"
346
- }
347
- ]
348
- },
349
- listSubData: {
350
- group: "列表功能",
351
- label: "列表子级",
352
- functions: [
353
- {
354
- funcType: "AUTHENTICATED",
355
- //公用
356
- path: "/commons/list-subs$POST"
357
- }
358
- ]
359
- },
360
- saveList: {
361
- group: "列表功能",
362
- label: "暂存",
363
- functions: [
364
- {
365
- code: "create",
366
- label: "暂存",
367
- path: "/commons$POST"
368
- },
369
- {
370
- funcType: "AUTHENTICATED",
371
- //公用
372
- code: "update",
373
- label: "修改",
374
- path: "/commons$POST"
375
- }
376
- ]
377
- },
378
- delete: {
379
- group: "列表功能",
380
- label: "删除",
381
- functions: [
382
- {
383
- path: "/commons/{tableName}$DELETE"
384
- }
385
- ]
386
- },
387
- submitList: {
388
- group: "列表功能",
389
- label: "提交",
390
- functions: [
391
- {
392
- path: "/commons/batch-submits$POST"
393
- }
394
- ]
395
- },
396
- agreeList: {
397
- group: "列表功能",
398
- label: "同意",
399
- functions: [
400
- {
401
- path: "/commons/batch-approves$POST"
402
- }
403
- ]
404
- },
405
- disagreeList: {
406
- group: "列表功能",
407
- label: "不同意",
408
- functions: [
409
- {
410
- path: "/commons/batch-refuses$POST"
411
- }
412
- ]
413
- },
414
- import: {
415
- group: "列表功能",
416
- label: "导入",
417
- functions: [
418
- {
419
- path: "/commons/import-data$POST"
420
- }
421
- ]
422
- },
423
- export: {
424
- group: "列表功能",
425
- label: "导出",
426
- functions: [
427
- {
428
- path: "/commons/export-list-data$POST"
429
- }
430
- ]
431
- },
432
- search: {
433
- group: "列表功能",
434
- label: "查询",
435
- functions: []
436
- },
437
- showMobileSearch: {
438
- group: "列表功能",
439
- label: "显示移动端查询区域",
440
- functions: []
441
- },
442
- downloadTemplate: {
443
- group: "列表功能",
444
- label: "下载导入模板",
445
- functions: [
446
- {
447
- path: "/commons/download-files$GET"
448
- }
449
- ]
450
- },
451
- lineEditCreate: {
452
- group: "列表行编辑功能",
453
- label: "新建",
454
- functions: [
455
- {
456
- code: "create",
457
- label: "暂存",
458
- path: "/commons$POST"
459
- }
460
- ]
461
- },
462
- lineEditSave: {
463
- group: "列表行编辑功能",
464
- label: "保存",
465
- functions: [
466
- {
467
- code: "create",
468
- label: "保存",
469
- path: "/commons$POST"
470
- },
471
- {
472
- code: "update",
473
- label: "修改",
474
- path: "/commons$POST"
475
- }
476
- ]
477
- },
478
- lineEditDelete: {
479
- group: "列表行编辑功能",
480
- label: "删除",
481
- functions: [
482
- {
483
- code: "delete",
484
- path: "/commons/{tableName}$DELETE"
485
- }
486
- ]
487
- },
488
- lineEditUpdate: {
489
- group: "列表行编辑功能",
490
- label: "修改",
491
- functions: [
492
- {
493
- code: "update",
494
- label: "修改",
495
- path: "/commons$POST"
496
- }
497
- ]
498
- },
499
- restoreEdit: {
500
- group: "列表行编辑功能",
501
- label: "取消编辑",
502
- functions: []
503
- }
504
- };
505
- const functionMap = {};
506
- function getStandPermissionInfo(eventName) {
507
- return eventName ? standardFuncUrlMap[eventName] : void 0;
1
+ var o = ((o2) => (o2.AUTHENTICATED = "AUTHENTICATED", o2.ANONYMOUS = "ANONYMOUS", o2.AUTHORIZED = "AUTHORIZED", o2))(o || {});
2
+ const e = { page: { label: "页面", functions: [{ label: "页面", path: "temp" }] }, gets: { group: "表单标准功能", label: "获取表单数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/gets$POST" }] }, workflowGets: { group: "标准流程", label: "获取表单及流程数据", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/gets$POST" }] }, save: { group: "表单标准功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, submit: { group: "表单标准功能", label: "提交", functions: [{ path: "/commons/submits$POST" }] }, exportForm: { group: "表单标准功能", label: "导出报告", functions: [{ path: "/commons/export-reports$POST" }] }, exportPDF: { group: "表单标准功能", label: "导出PDF", functions: [{ path: "/commons/exportPDF$POST" }] }, agree: { group: "表单标准功能", label: "同意", functions: [{ path: "/commons/approves$POST" }] }, disagree: { group: "表单标准功能", label: "不同意", functions: [{ path: "/commons/refuses$POST" }] }, back: { group: "表单标准功能", label: "返回", functions: [] }, workflowSave: { group: "流程表单功能", label: "暂存", functions: [{ label: "暂存", code: "save", funcType: "AUTHENTICATED", path: "/workflow-commons$POST" }, { label: "修改", code: "update", funcType: "AUTHENTICATED", path: "/workflow-commons$PUT" }] }, submitProcess: { group: "流程表单功能", label: "提交流程", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/submit$POST" }] }, submitTask: { group: "流程表单功能", label: "提交任务", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.submit", path: "/workflow-commons/complete-tasks$POST" }] }, approve: { group: "流程表单功能", label: "同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.approve", path: "/workflow-commons/complete-tasks$POST" }] }, refuse: { group: "流程表单功能", label: "不同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.refuse", path: "/workflow-commons/complete-tasks$POST" }] }, assign: { group: "流程表单功能", label: "指派", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/assigns$POST" }] }, drawTask: { group: "流程表单功能", label: "领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/draw-tasks$POST" }] }, abandonReceive: { group: "流程表单功能", label: "放弃领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }] }, readed: { group: "流程表单功能", label: "已阅", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.readed", path: "/workflow-commons/complete-tasks$POST" }] }, agreement: { group: "流程表单功能", label: "赞成", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.agreement", path: "/workflow-commons/complete-tasks$POST" }] }, oppose: { group: "流程表单功能", label: "反对", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.oppose", path: "/workflow-commons/complete-tasks$POST" }] }, kiken: { group: "流程表单功能", label: "弃权", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.kiken", path: "/workflow-commons/complete-tasks$POST" }] }, addSigner: { group: "流程表单功能", label: "加签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-signers$POST" }] }, removeSigner: { group: "流程表单功能", label: "减签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }, { code: "getRemoveSigners", label: "获取可减签人员", funcType: "AUTHENTICATED", path: "/workflow-commons/get-remove-signers$POST" }] }, copyTask: { group: "流程表单功能", label: "抄送", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/copies$POST" }] }, retrieveTask: { group: "流程表单功能", label: "取回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/retrieves$POST" }] }, returnToPreviousTask: { group: "流程表单功能", label: "驳回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/returnTaskTo$POST" }] }, returnTaskTo: { group: "流程表单功能", label: "退回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/return-to-previous-tasks$POST" }] }, endInstance: { group: "流程表单功能", label: "强制结束", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/end-instance$POST" }] }, listData: { group: "列表功能", label: "列表数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list$POST" }] }, listSubData: { group: "列表功能", label: "列表子级", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list-subs$POST" }] }, saveList: { group: "列表功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { funcType: "AUTHENTICATED", code: "update", label: "修改", path: "/commons$POST" }] }, delete: { group: "列表功能", label: "删除", functions: [{ path: "/commons/{tableName}$DELETE" }] }, submitList: { group: "列表功能", label: "提交", functions: [{ path: "/commons/batch-submits$POST" }] }, agreeList: { group: "列表功能", label: "同意", functions: [{ path: "/commons/batch-approves$POST" }] }, disagreeList: { group: "列表功能", label: "不同意", functions: [{ path: "/commons/batch-refuses$POST" }] }, import: { group: "列表功能", label: "导入", functions: [{ path: "/commons/import-data$POST" }] }, export: { group: "列表功能", label: "导出", functions: [{ path: "/commons/export-list-data$POST" }] }, search: { group: "列表功能", label: "查询", functions: [] }, showMobileSearch: { group: "列表功能", label: "显示移动端查询区域", functions: [] }, downloadTemplate: { group: "列表功能", label: "下载导入模板", functions: [{ path: "/commons/download-files$GET" }] }, lineEditCreate: { group: "列表行编辑功能", label: "新建", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }] }, lineEditSave: { group: "列表行编辑功能", label: "保存", functions: [{ code: "create", label: "保存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, lineEditDelete: { group: "列表行编辑功能", label: "删除", functions: [{ code: "delete", path: "/commons/{tableName}$DELETE" }] }, lineEditUpdate: { group: "列表行编辑功能", label: "修改", functions: [{ code: "update", label: "修改", path: "/commons$POST" }] }, restoreEdit: { group: "列表行编辑功能", label: "取消编辑", functions: [] } }, n = {};
3
+ function t(o2) {
4
+ return o2 ? e[o2] : void 0;
508
5
  }
509
- function getFunctionInfo(simpleCode) {
510
- if (!simpleCode) {
511
- return void 0;
512
- }
513
- let funcInfo = functionMap[simpleCode];
514
- if (funcInfo == void 0) {
515
- for (const eventName in standardFuncUrlMap) {
516
- const functions = standardFuncUrlMap[eventName].functions;
517
- if (!functions) {
518
- continue;
519
- }
520
- for (const f of functions) {
521
- const tempCode = f.code ? f.code : eventName;
522
- if (simpleCode === tempCode) {
523
- funcInfo = f;
524
- break;
6
+ function a(o2) {
7
+ if (!o2)
8
+ return;
9
+ let t2 = n[o2];
10
+ if (null == t2) {
11
+ for (const n2 in e) {
12
+ const a2 = e[n2].functions;
13
+ if (a2) {
14
+ for (const e2 of a2) {
15
+ if (o2 === (e2.code ? e2.code : n2)) {
16
+ t2 = e2;
17
+ break;
18
+ }
525
19
  }
526
- }
527
- if (funcInfo) {
528
- break;
20
+ if (t2)
21
+ break;
529
22
  }
530
23
  }
531
- functionMap[simpleCode] = funcInfo ? funcInfo : "";
24
+ n[o2] = t2 || "";
532
25
  }
533
- return funcInfo ? funcInfo : void 0;
26
+ return t2 || void 0;
534
27
  }
535
28
  export {
536
- FuncType,
537
- getFunctionInfo,
538
- getStandPermissionInfo
29
+ o as FuncType,
30
+ a as getFunctionInfo,
31
+ t as getStandPermissionInfo
539
32
  };
@@ -1,15 +1,11 @@
1
- import { ref } from "vue";
2
- import { defineStore } from "pinia";
3
- const usePageContextStore = defineStore("pageContextUtil", () => {
4
- const pageContext = ref({ systemCode: "", systemVersion: -1 });
5
- function setPageContext(newPageContext) {
6
- pageContext.value = newPageContext;
7
- }
8
- return {
9
- pageContext,
10
- setPageContext
11
- };
1
+ import { ref as t } from "vue";
2
+ import { defineStore as e } from "pinia";
3
+ const o = e("pageContextUtil", () => {
4
+ const e2 = t({ systemCode: "", systemVersion: -1 });
5
+ return { pageContext: e2, setPageContext: function(t2) {
6
+ e2.value = t2;
7
+ } };
12
8
  });
13
9
  export {
14
- usePageContextStore
10
+ o as usePageContextStore
15
11
  };
@@ -1,17 +1,13 @@
1
- import store from "./store.js";
2
- function setStoreInfo(pageCode, pageVersion, key, value) {
3
- const pageKey = getPageStoreKey(pageCode, pageVersion);
4
- let pageCodeStoreInfo = store.get(pageKey);
5
- if (!pageCodeStoreInfo) {
6
- pageCodeStoreInfo = {};
7
- store.set(pageKey, pageCodeStoreInfo);
8
- }
9
- pageCodeStoreInfo[key] = value;
1
+ import t from "./store.js";
2
+ function o(o2, n, r, s) {
3
+ const c = e(o2, n);
4
+ let f = t.get(c);
5
+ f || (f = {}, t.set(c, f)), f[r] = s;
10
6
  }
11
- function getPageStoreKey(pageCode, pageVersion) {
12
- return pageCode + ":" + pageVersion;
7
+ function e(t2, o2) {
8
+ return t2 + ":" + o2;
13
9
  }
14
10
  export {
15
- getPageStoreKey,
16
- setStoreInfo
11
+ e as getPageStoreKey,
12
+ o as setStoreInfo
17
13
  };
@@ -1,4 +1,4 @@
1
- const store = /* @__PURE__ */ new Map();
1
+ const a = /* @__PURE__ */ new Map();
2
2
  export {
3
- store as default
3
+ a as default
4
4
  };