super-page-runtime 2.0.16 → 2.0.22

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