super-page-runtime 0.0.2-tmp7 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/es/components/runtime/index.d.ts +1 -3
  2. package/dist/es/components/runtime/index.js +4 -0
  3. package/dist/es/components/runtime/utils/api/api-util.js +3 -3
  4. package/dist/es/components/runtime/utils/assemblys-config.js +2 -9
  5. package/dist/es/components/runtime/utils/charts/chart-util.js +1 -14
  6. package/dist/es/components/runtime/utils/common-util.d.ts +0 -5
  7. package/dist/es/components/runtime/utils/common-util.js +2 -15
  8. package/dist/es/components/runtime/utils/eventBus.js +1 -1
  9. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  10. package/dist/es/components/runtime/utils/events/standard-event.js +6 -6
  11. package/dist/es/components/runtime/utils/events/validator-util.js +3 -3
  12. package/dist/es/components/runtime/utils/global-refs.js +1 -1
  13. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
  14. package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -19
  15. package/dist/es/components/runtime/utils/page-helper-util.js +3 -119
  16. package/dist/es/components/runtime/utils/page-init-util.js +2 -2
  17. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  19. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
  21. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +8 -203
  22. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +6 -6
  23. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +6 -6
  24. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +6 -6
  25. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +6 -6
  26. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +1 -1
  31. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +1 -1
  32. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +1 -1
  33. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +1 -1
  34. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
  35. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
  38. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +1 -1
  39. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
  40. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +1 -1
  41. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -1
  42. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +1 -1
  43. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -4
  44. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  45. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  46. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +1 -1
  47. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -1
  50. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +1 -1
  51. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -1
  52. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +3 -3
  53. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -1
  54. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +1 -1
  56. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +1 -1
  57. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
  58. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  59. package/dist/es/components/runtime/views/super-page.vue.js +8 -22
  60. package/dist/es/components/super-page-dialog/index.d.ts +3 -0
  61. package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.js +2 -3
  62. package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +4 -0
  63. package/dist/es/components/wf-editor/index.d.ts +3 -0
  64. package/dist/es/components/wf-editor/index.js +4 -0
  65. package/dist/es/components/wf-editor/wf-editor.css +4 -0
  66. package/dist/es/components/wf-editor/wf-editor.vue.js +16 -0
  67. package/dist/es/index.d.ts +4 -7
  68. package/dist/es/index.js +3 -12
  69. package/dist/favicon.ico +0 -0
  70. package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
  71. package/dist/lib/assets/chart-themes/theme1.js +7 -0
  72. package/dist/lib/assets/chart-themes/theme2.js +7 -0
  73. package/dist/lib/assets/chart-themes/theme3.js +7 -0
  74. package/dist/lib/components/runtime/index.d.ts +3 -0
  75. package/dist/lib/components/runtime/index.js +3 -0
  76. package/dist/lib/components/runtime/utils/api/api-util.d.ts +11 -0
  77. package/dist/lib/components/runtime/utils/api/api-util.js +128 -0
  78. package/dist/lib/components/runtime/utils/assemblys-config.js +258 -0
  79. package/dist/lib/components/runtime/utils/charts/chart-util.js +15 -0
  80. package/dist/lib/components/runtime/utils/common-util.d.ts +11 -0
  81. package/dist/lib/components/runtime/utils/common-util.js +81 -0
  82. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  83. package/dist/lib/components/runtime/utils/eventBus.js +10 -0
  84. package/dist/lib/components/runtime/utils/events/event-util.d.ts +48 -0
  85. package/dist/lib/components/runtime/utils/events/event-util.js +526 -0
  86. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +61 -0
  87. package/dist/lib/components/runtime/utils/events/standard-event.js +1624 -0
  88. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +4 -0
  89. package/dist/lib/components/runtime/utils/events/validator-util.js +389 -0
  90. package/dist/lib/components/runtime/utils/global-refs.d.ts +59 -0
  91. package/dist/lib/components/runtime/utils/global-refs.js +65 -0
  92. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +221 -0
  93. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
  94. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +87 -0
  95. package/dist/lib/components/runtime/utils/page-helper-util.js +503 -0
  96. package/dist/lib/components/runtime/utils/page-init-util.d.ts +38 -0
  97. package/dist/lib/components/runtime/utils/page-init-util.js +200 -0
  98. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  99. package/dist/lib/components/runtime/utils/store-util.js +17 -0
  100. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  101. package/dist/lib/components/runtime/utils/store.js +3 -0
  102. package/dist/lib/components/runtime/utils/table-utils.js +24 -0
  103. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
  104. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
  105. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
  106. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
  107. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
  108. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
  109. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
  110. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
  111. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
  112. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +49 -0
  113. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
  114. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +50 -0
  115. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
  116. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +50 -0
  117. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
  118. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +51 -0
  119. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
  120. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -0
  121. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
  122. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  123. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
  124. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
  125. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  126. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
  127. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
  128. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
  129. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
  130. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
  131. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
  132. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
  133. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
  134. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
  135. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
  136. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
  137. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
  138. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
  139. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
  140. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
  141. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
  142. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
  143. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -0
  144. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +642 -0
  145. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
  146. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +453 -0
  147. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
  148. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
  149. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +87 -0
  150. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  151. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
  152. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
  153. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
  154. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
  155. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
  156. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
  157. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
  158. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +63 -0
  159. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
  160. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
  161. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
  162. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
  163. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
  164. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
  165. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
  166. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
  167. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
  168. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
  169. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
  170. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
  171. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
  172. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
  173. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
  174. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
  175. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
  176. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +162 -0
  177. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
  178. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
  179. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
  180. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
  181. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
  182. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
  183. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
  184. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
  185. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  186. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +142 -0
  187. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
  188. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
  189. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
  190. package/dist/lib/components/runtime/views/super-page.vue.d.ts +91 -0
  191. package/dist/lib/components/runtime/views/super-page.vue.js +481 -0
  192. package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
  193. package/dist/lib/components/super-page-dialog/index.d.ts +3 -0
  194. package/dist/lib/components/super-page-dialog/index.js +3 -0
  195. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +36 -0
  196. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +73 -0
  197. package/dist/lib/components/super-page-dialog/super-page-dialog.vue2.js +3 -0
  198. package/dist/lib/components/wf-editor/index.d.ts +3 -0
  199. package/dist/lib/components/wf-editor/index.js +3 -0
  200. package/dist/lib/components/wf-editor/wf-editor.css +4 -0
  201. package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +2 -0
  202. package/dist/lib/components/wf-editor/wf-editor.vue.js +15 -0
  203. package/dist/lib/favicon.ico +0 -0
  204. package/dist/lib/index.d.ts +5 -0
  205. package/dist/lib/index.js +8 -0
  206. package/dist/super-page-runtime.umd.js +213932 -0
  207. package/package.json +68 -70
  208. package/dist/es/assets/chart-themes/theme1.d.ts +0 -4
  209. package/dist/es/assets/chart-themes/theme2.d.ts +0 -4
  210. package/dist/es/assets/chart-themes/theme3.d.ts +0 -4
  211. package/dist/es/assets/images/button/button-group.png.js +0 -4
  212. package/dist/es/assets/images/button/button.png.js +0 -4
  213. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -11
  214. package/dist/es/components/runtime/utils/page-permission-util.d.ts +0 -26
  215. package/dist/es/components/runtime/utils/page-permission-util.js +0 -525
  216. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -62
  217. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  218. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -57
  219. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  220. package/dist/es/components/runtime/views/wf-editor.vue.js +0 -7
  221. package/dist/es/components/runtime/views/wf-editor.vue2.js +0 -25
  222. package/dist/es/components/runtime/views/wf-editor.vue3.js +0 -1
  223. package/dist/es/style.css +0 -4
  224. /package/dist/es/components/{runtime/views/super-page-dialog.vue2.js → super-page-dialog/index.js} +0 -0
  225. /package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.d.ts +0 -0
  226. /package/dist/es/components/{runtime/views → wf-editor}/wf-editor.vue.d.ts +0 -0
@@ -1,525 +0,0 @@
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
- funcType: "AUTHENTICATED",
110
- //公用
111
- path: "/workflow-commons$POST"
112
- }
113
- ]
114
- },
115
- submitProcess: {
116
- group: "流程表单功能",
117
- label: "提交流程",
118
- functions: [
119
- {
120
- funcType: "AUTHENTICATED",
121
- //公用
122
- path: "/workflow-commons/submit$POST"
123
- }
124
- ]
125
- },
126
- submitTask: {
127
- group: "流程表单功能",
128
- label: "提交任务",
129
- functions: [
130
- {
131
- funcType: "AUTHENTICATED",
132
- //公用
133
- code: "completeTask.submitTask",
134
- path: "/workflow-commons/complete-tasks$POST"
135
- }
136
- ]
137
- },
138
- approve: {
139
- group: "流程表单功能",
140
- label: "同意",
141
- functions: [
142
- {
143
- funcType: "AUTHENTICATED",
144
- //公用
145
- code: "completeTask.approve",
146
- path: "/workflow-commons/complete-tasks$POST"
147
- }
148
- ]
149
- },
150
- refuse: {
151
- group: "流程表单功能",
152
- label: "不同意",
153
- functions: [
154
- {
155
- funcType: "AUTHENTICATED",
156
- //公用
157
- code: "completeTask.refuse",
158
- path: "/workflow-commons/complete-tasks$POST"
159
- }
160
- ]
161
- },
162
- assign: {
163
- group: "流程表单功能",
164
- label: "指派",
165
- functions: [
166
- {
167
- funcType: "AUTHENTICATED",
168
- //公用
169
- path: "/workflow-commons/assigns$POST"
170
- }
171
- ]
172
- },
173
- drawTask: {
174
- group: "流程表单功能",
175
- label: "领取",
176
- functions: [
177
- {
178
- funcType: "AUTHENTICATED",
179
- //公用
180
- path: "/workflow-commons/draw-tasks$POST"
181
- }
182
- ]
183
- },
184
- abandonReceive: {
185
- group: "流程表单功能",
186
- label: "放弃领取",
187
- functions: [
188
- {
189
- funcType: "AUTHENTICATED",
190
- //公用
191
- path: "/workflow-commons/abandon-receives$POST"
192
- }
193
- ]
194
- },
195
- readed: {
196
- group: "流程表单功能",
197
- label: "已阅",
198
- functions: [
199
- {
200
- funcType: "AUTHENTICATED",
201
- //公用
202
- code: "completeTask.readed",
203
- path: "/workflow-commons/complete-tasks$POST"
204
- }
205
- ]
206
- },
207
- agreement: {
208
- group: "流程表单功能",
209
- label: "赞成",
210
- functions: [
211
- {
212
- funcType: "AUTHENTICATED",
213
- //公用
214
- code: "completeTask.agreement",
215
- path: "/workflow-commons/complete-tasks$POST"
216
- }
217
- ]
218
- },
219
- oppose: {
220
- group: "流程表单功能",
221
- label: "反对",
222
- functions: [
223
- {
224
- funcType: "AUTHENTICATED",
225
- //公用
226
- code: "completeTask.oppose",
227
- path: "/workflow-commons/complete-tasks$POST"
228
- }
229
- ]
230
- },
231
- kiken: {
232
- group: "流程表单功能",
233
- label: "弃权",
234
- functions: [
235
- {
236
- funcType: "AUTHENTICATED",
237
- //公用
238
- code: "completeTask.kiken",
239
- path: "/workflow-commons/complete-tasks$POST"
240
- }
241
- ]
242
- },
243
- addSigner: {
244
- group: "流程表单功能",
245
- label: "加签",
246
- functions: [
247
- {
248
- funcType: "AUTHENTICATED",
249
- //公用
250
- path: "/workflow-commons/add-signers$POST"
251
- }
252
- ]
253
- },
254
- removeSigner: {
255
- group: "流程表单功能",
256
- label: "减签",
257
- functions: [
258
- {
259
- funcType: "AUTHENTICATED",
260
- //公用
261
- path: "/workflow-commons/abandon-receives$POST"
262
- },
263
- {
264
- code: "getRemoveSigners",
265
- //有编码时,以此为准
266
- label: "获取可减签人员",
267
- //有标题时,以此为准
268
- funcType: "AUTHENTICATED",
269
- //公用
270
- path: "/workflow-commons/get-remove-signers$POST"
271
- }
272
- ]
273
- },
274
- copyTask: {
275
- group: "流程表单功能",
276
- label: "抄送",
277
- functions: [
278
- {
279
- funcType: "AUTHENTICATED",
280
- //公用
281
- path: "/workflow-commons/copies$POST"
282
- }
283
- ]
284
- },
285
- retrieveTask: {
286
- group: "流程表单功能",
287
- label: "取回",
288
- functions: [
289
- {
290
- funcType: "AUTHENTICATED",
291
- //公用
292
- path: "/workflow-commons/retrieves$POST"
293
- }
294
- ]
295
- },
296
- returnToPreviousTask: {
297
- group: "流程表单功能",
298
- label: "驳回",
299
- functions: [
300
- {
301
- funcType: "AUTHENTICATED",
302
- //公用
303
- path: "/workflow-commons/returnTaskTo$POST"
304
- }
305
- ]
306
- },
307
- returnTaskTo: {
308
- group: "流程表单功能",
309
- label: "退回",
310
- functions: [
311
- {
312
- funcType: "AUTHENTICATED",
313
- //公用
314
- path: "/workflow-commons/return-to-previous-tasks$POST"
315
- }
316
- ]
317
- },
318
- endInstance: {
319
- group: "流程表单功能",
320
- label: "强制结束",
321
- functions: [
322
- {
323
- funcType: "AUTHENTICATED",
324
- //公用
325
- path: "/workflow-commons/end-instance$POST"
326
- }
327
- ]
328
- },
329
- listData: {
330
- group: "列表功能",
331
- label: "列表数据",
332
- functions: [
333
- {
334
- funcType: "AUTHENTICATED",
335
- //公用
336
- path: "/commons/list$POST"
337
- }
338
- ]
339
- },
340
- listSubData: {
341
- group: "列表功能",
342
- label: "列表子级",
343
- functions: [
344
- {
345
- funcType: "AUTHENTICATED",
346
- //公用
347
- path: "/commons/list-subs$POST"
348
- }
349
- ]
350
- },
351
- saveList: {
352
- group: "列表功能",
353
- label: "暂存",
354
- functions: [
355
- {
356
- code: "create",
357
- label: "暂存",
358
- path: "/commons$POST"
359
- },
360
- {
361
- funcType: "AUTHENTICATED",
362
- //公用
363
- code: "update",
364
- label: "修改",
365
- path: "/commons$POST"
366
- }
367
- ]
368
- },
369
- delete: {
370
- group: "列表功能",
371
- label: "删除",
372
- functions: [
373
- {
374
- path: "/commons/{tableName}$DELETE"
375
- }
376
- ]
377
- },
378
- submitList: {
379
- group: "列表功能",
380
- label: "提交",
381
- functions: [
382
- {
383
- path: "/commons/batch-submits$POST"
384
- }
385
- ]
386
- },
387
- agreeList: {
388
- group: "列表功能",
389
- label: "同意",
390
- functions: [
391
- {
392
- path: "/commons/batch-approves$POST"
393
- }
394
- ]
395
- },
396
- disagreeList: {
397
- group: "列表功能",
398
- label: "不同意",
399
- functions: [
400
- {
401
- path: "/commons/batch-refuses$POST"
402
- }
403
- ]
404
- },
405
- import: {
406
- group: "列表功能",
407
- label: "导入",
408
- functions: [
409
- {
410
- path: "/commons/import-data$POST"
411
- }
412
- ]
413
- },
414
- export: {
415
- group: "列表功能",
416
- label: "导出",
417
- functions: [
418
- {
419
- path: "/commons/export-list-data$POST /commons/export-reports$POST"
420
- }
421
- ]
422
- },
423
- search: {
424
- group: "列表功能",
425
- label: "查询",
426
- functions: []
427
- },
428
- downloadTemplate: {
429
- group: "列表功能",
430
- label: "下载导入模板",
431
- functions: [
432
- {
433
- path: "/commons/download-files$GET"
434
- }
435
- ]
436
- },
437
- lineEditCreate: {
438
- group: "列表行编辑功能",
439
- label: "新建",
440
- functions: [
441
- {
442
- code: "create",
443
- label: "暂存",
444
- path: "/commons$POST"
445
- }
446
- ]
447
- },
448
- lineEditSave: {
449
- group: "列表行编辑功能",
450
- label: "保存",
451
- functions: [
452
- {
453
- code: "create",
454
- label: "保存",
455
- path: "/commons$POST"
456
- },
457
- {
458
- code: "update",
459
- label: "修改",
460
- path: "/commons$POST"
461
- }
462
- ]
463
- },
464
- lineEditDelete: {
465
- group: "列表行编辑功能",
466
- label: "删除",
467
- functions: [
468
- {
469
- code: "delete",
470
- path: "/commons/{tableName}$DELETE"
471
- }
472
- ]
473
- },
474
- lineEditUpdate: {
475
- group: "列表行编辑功能",
476
- label: "修改",
477
- functions: [
478
- {
479
- code: "update",
480
- label: "修改",
481
- path: "/commons$POST"
482
- }
483
- ]
484
- },
485
- restoreEdit: {
486
- group: "列表行编辑功能",
487
- label: "取消编辑",
488
- functions: []
489
- }
490
- };
491
- const functionMap = {};
492
- function getStandPermissionInfo(eventName) {
493
- return eventName ? standardFuncUrlMap[eventName] : void 0;
494
- }
495
- function getFunctionInfo(simpleCode) {
496
- if (!simpleCode) {
497
- return void 0;
498
- }
499
- let funcInfo = functionMap[simpleCode];
500
- if (funcInfo == void 0) {
501
- for (let eventName in standardFuncUrlMap) {
502
- const functions = standardFuncUrlMap[eventName].functions;
503
- if (!functions) {
504
- continue;
505
- }
506
- for (let f of functions) {
507
- const tempCode = f.code ? f.code : eventName;
508
- if (simpleCode === tempCode) {
509
- funcInfo = f;
510
- break;
511
- }
512
- }
513
- if (funcInfo) {
514
- break;
515
- }
516
- }
517
- functionMap[simpleCode] = funcInfo ? funcInfo : "";
518
- }
519
- return funcInfo ? funcInfo : void 0;
520
- }
521
- export {
522
- FuncType,
523
- getFunctionInfo,
524
- getStandPermissionInfo
525
- };
@@ -1,62 +0,0 @@
1
- import { defineComponent, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList } from "vue";
2
- const _sfc_main = /* @__PURE__ */ defineComponent({
3
- __name: "common-chart-header-group",
4
- props: {
5
- headerInfo: {
6
- type: Object,
7
- required: true
8
- }
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- watch(props.headerInfo, () => {
13
- console.log("props.headerInfo", props.headerInfo);
14
- });
15
- return (_ctx, _cache) => {
16
- const _component_el_checkbox = resolveComponent("el-checkbox");
17
- const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
18
- const _component_el_radio = resolveComponent("el-radio");
19
- const _component_el_radio_button = resolveComponent("el-radio-button");
20
- const _component_el_radio_group = resolveComponent("el-radio-group");
21
- return __props.headerInfo.groupComponent == "checkbox" ? (openBlock(), createBlock(_component_el_checkbox_group, {
22
- key: 0,
23
- modelValue: __props.headerInfo.groupValue,
24
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.headerInfo.groupValue = $event)
25
- }, {
26
- default: withCtx(() => [
27
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headerInfo.options, (o) => {
28
- return openBlock(), createBlock(_component_el_checkbox, {
29
- label: o.label,
30
- value: o.value
31
- }, null, 8, ["label", "value"]);
32
- }), 256))
33
- ]),
34
- _: 1
35
- }, 8, ["modelValue"])) : __props.headerInfo.groupComponent == "radio" ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(__props.headerInfo.options, (o) => {
36
- return openBlock(), createBlock(_component_el_radio, {
37
- modelValue: __props.headerInfo.groupValue,
38
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.headerInfo.groupValue = $event),
39
- value: o.value,
40
- label: o.label
41
- }, null, 8, ["modelValue", "value", "label"]);
42
- }), 256)) : (openBlock(), createBlock(_component_el_radio_group, {
43
- key: 2,
44
- modelValue: __props.headerInfo.groupValue,
45
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.headerInfo.groupValue = $event)
46
- }, {
47
- default: withCtx(() => [
48
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headerInfo.options, (o) => {
49
- return openBlock(), createBlock(_component_el_radio_button, {
50
- label: o.label,
51
- value: o.value
52
- }, null, 8, ["label", "value"]);
53
- }), 256))
54
- ]),
55
- _: 1
56
- }, 8, ["modelValue"]));
57
- };
58
- }
59
- });
60
- export {
61
- _sfc_main as default
62
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./common-chart-header-group.vue.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,57 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, withDirectives, normalizeStyle, toDisplayString, vShow, createBlock, createCommentVNode } from "vue";
2
- import _sfc_main$1 from "./common-chart-header-group.vue.js";
3
- const _hoisted_1 = { class: "amb-widget-chart-header" };
4
- const _hoisted_2 = { class: "amb-widget-chart-header-item" };
5
- const _hoisted_3 = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" };
6
- const _hoisted_4 = { class: "amb-widget-chart-header-item" };
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "common-chart-header",
9
- props: {
10
- headerInfo: {
11
- type: Object,
12
- required: true
13
- }
14
- },
15
- setup(__props) {
16
- return (_ctx, _cache) => {
17
- return openBlock(), createElementBlock("div", _hoisted_1, [
18
- createElementVNode("div", _hoisted_2, [
19
- withDirectives(createElementVNode("label", {
20
- style: normalizeStyle(__props.headerInfo.style)
21
- }, toDisplayString(__props.headerInfo.title) + "  ", 5), [
22
- [vShow, __props.headerInfo.title && (!__props.headerInfo.textAlign || __props.headerInfo.textAlign == "left")]
23
- ]),
24
- __props.headerInfo.showGroup && (!__props.headerInfo.groupPosition || __props.headerInfo.groupPosition == "left") ? (openBlock(), createBlock(_sfc_main$1, {
25
- key: 0,
26
- headerInfo: __props.headerInfo
27
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true)
28
- ]),
29
- createElementVNode("div", _hoisted_3, [
30
- withDirectives(createElementVNode("label", {
31
- style: normalizeStyle(__props.headerInfo.style)
32
- }, toDisplayString(__props.headerInfo.title) + "  ", 5), [
33
- [vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "center"]
34
- ]),
35
- __props.headerInfo.showGroup && __props.headerInfo.groupPosition == "center" ? (openBlock(), createBlock(_sfc_main$1, {
36
- key: 0,
37
- headerInfo: __props.headerInfo
38
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true)
39
- ]),
40
- createElementVNode("div", _hoisted_4, [
41
- withDirectives(createElementVNode("label", {
42
- style: normalizeStyle(__props.headerInfo.style)
43
- }, toDisplayString(__props.headerInfo.title) + "  ", 5), [
44
- [vShow, __props.headerInfo.title && __props.headerInfo.textAlign == "right"]
45
- ]),
46
- __props.headerInfo.showGroup && __props.headerInfo.groupPosition == "right" ? (openBlock(), createBlock(_sfc_main$1, {
47
- key: 0,
48
- headerInfo: __props.headerInfo
49
- }, null, 8, ["headerInfo"])) : createCommentVNode("", true)
50
- ])
51
- ]);
52
- };
53
- }
54
- });
55
- export {
56
- _sfc_main as default
57
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./common-chart-header.vue.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,7 +0,0 @@
1
- import _sfc_main from "./wf-editor.vue2.js";
2
- import "./wf-editor.vue3.js";
3
- import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const wfEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5944cf6"]]);
5
- export {
6
- wfEditor as default
7
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, unref, pushScopeId, popScopeId } from "vue";
2
- import { imageTest } from "../utils/assemblys-config.js";
3
- const _withScopeId = (n) => (pushScopeId("data-v-a5944cf6"), n = n(), popScopeId(), n);
4
- const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("button", null, "Editoraaaaa", -1));
5
- const _hoisted_2 = ["src"];
6
- const _hoisted_3 = ["src"];
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "wf-editor",
9
- setup(__props) {
10
- return (_ctx, _cache) => {
11
- return openBlock(), createElementBlock("div", null, [
12
- _hoisted_1,
13
- createElementVNode("img", {
14
- src: unref(imageTest).button
15
- }, null, 8, _hoisted_2),
16
- createElementVNode("img", {
17
- src: unref(imageTest).buttonGroup
18
- }, null, 8, _hoisted_3)
19
- ]);
20
- };
21
- }
22
- });
23
- export {
24
- _sfc_main as default
25
- };
package/dist/es/style.css DELETED
@@ -1,4 +0,0 @@
1
-
2
- button[data-v-a5944cf6] {
3
- color: blue;
4
- }