super-page-runtime 1.0.17 → 2.0.4

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 (298) hide show
  1. package/{lib/src → dist/es}/assets/chart-themes/theme1.js +3 -2
  2. package/{lib/src → dist/es}/assets/chart-themes/theme2.js +3 -2
  3. package/{lib/src → dist/es}/assets/chart-themes/theme3.js +3 -2
  4. package/{lib/src → dist/es/components/runtime}/utils/api/api-util.js +15 -15
  5. package/dist/es/components/runtime/utils/assemblys-config.js +257 -0
  6. package/dist/es/components/runtime/utils/charts/chart-util.js +28 -0
  7. package/{lib/src → dist/es/components/runtime}/utils/common-util.js +25 -12
  8. package/dist/es/components/runtime/utils/eventBus.js +11 -0
  9. package/{lib/src → dist/es/components/runtime}/utils/events/event-util.js +41 -40
  10. package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.js +149 -148
  11. package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.js +23 -23
  12. package/{lib/src → dist/es/components/runtime}/utils/global-refs.js +8 -8
  13. package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.js +3 -3
  14. package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.js +135 -19
  15. package/{lib/src → dist/es/components/runtime}/utils/page-init-util.js +18 -18
  16. package/dist/es/components/runtime/utils/page-permission-util.js +525 -0
  17. package/{lib/src → dist/es/components/runtime}/utils/store-util.js +5 -5
  18. package/{lib/src → dist/es/components/runtime}/utils/store.js +3 -2
  19. package/{lib/src → dist/es/components/runtime}/utils/table-utils.js +10 -9
  20. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  21. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +55 -0
  22. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -0
  23. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +36 -0
  24. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  25. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +111 -0
  26. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +4 -0
  27. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +249 -0
  28. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +62 -0
  29. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
  30. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +57 -0
  31. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
  32. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +4 -0
  33. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +50 -0
  34. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +51 -0
  36. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +4 -0
  37. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +51 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +52 -0
  40. package/{lib → dist/es/components}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +34 -27
  41. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
  42. package/{lib → dist/es/components}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +33 -32
  43. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
  44. package/{lib → dist/es/components}/runtime/views/assemblys/common/task-informition-dialog.vue.js +30 -29
  45. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
  46. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +4 -0
  47. package/{lib → dist/es/components}/runtime/views/assemblys/container/card/card-runtime.vue2.js +24 -23
  48. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  49. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +75 -0
  50. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
  51. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +80 -0
  52. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  53. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +44 -0
  54. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  55. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +45 -0
  56. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  57. package/{lib → dist/es/components}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -8
  58. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +4 -0
  59. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +70 -0
  60. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +4 -0
  61. package/{lib → dist/es/components}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +17 -15
  62. package/{lib → dist/es/components}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +66 -63
  63. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
  64. package/{lib → dist/es/components}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +40 -38
  65. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
  66. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  67. package/{lib → dist/es/components}/runtime/views/assemblys/data/table/table-runtime.vue2.js +17 -11
  68. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +23 -0
  69. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
  70. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  71. package/{lib → dist/es/components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +36 -35
  72. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +83 -0
  74. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  75. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
  76. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +41 -0
  78. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  79. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
  80. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  81. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +64 -0
  82. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  83. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +128 -0
  84. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
  85. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +128 -0
  86. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  87. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +78 -0
  88. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -0
  89. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +30 -0
  90. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  91. package/{lib → dist/es/components}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +37 -36
  92. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
  93. package/{lib → dist/es/components}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +37 -48
  94. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
  95. package/{lib → dist/es/components}/runtime/views/assemblys/form/select/select-runtime.vue2.js +54 -53
  96. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  97. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +64 -0
  98. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  99. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +64 -0
  100. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
  101. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +66 -0
  102. package/{lib → dist/es/components}/runtime/views/assemblys/object-render.vue.js +35 -34
  103. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
  104. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -0
  105. package/{lib → dist/es/components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +17 -16
  106. package/{lib/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.js +19 -17
  107. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +4 -0
  108. package/{lib → dist/es/components}/runtime/views/super-page.vue.js +129 -112
  109. package/dist/es/components/runtime/views/super-page.vue2.js +4 -0
  110. package/dist/es/index.d.ts +8 -0
  111. package/dist/es/index.js +15 -0
  112. package/package.json +71 -71
  113. package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  114. package/lib/components/index.d.ts +0 -5
  115. package/lib/components/runtime/index.d.ts +0 -3
  116. package/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  117. package/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  118. package/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  119. package/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  120. package/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  121. package/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  122. package/lib/components/super-page-dialog/index.d.ts +0 -3
  123. package/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
  124. package/lib/components/wf-editor/index.d.ts +0 -3
  125. package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  126. package/lib/index.js +0 -8
  127. package/lib/runtime/index.js +0 -3
  128. package/lib/runtime/utils/assemblys-config.js +0 -258
  129. package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  130. package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  131. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  132. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  133. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  134. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  135. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  136. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
  137. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  138. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
  139. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  140. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
  141. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  142. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
  143. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  144. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
  145. package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  146. package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  147. package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  148. package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  149. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  150. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
  151. package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  152. package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
  153. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  154. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
  155. package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  156. package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
  157. package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  158. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  159. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
  160. package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  161. package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  162. package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  163. package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  164. package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
  165. package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
  166. package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  167. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  168. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  169. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  170. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
  171. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  172. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  173. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  174. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  175. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  176. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  177. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  178. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  179. package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  180. package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
  181. package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  182. package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  183. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  184. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  185. package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  186. package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  187. package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  188. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  189. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  190. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  191. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  192. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  193. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  194. package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
  195. package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  196. package/lib/runtime/views/super-page.vue2.js +0 -3
  197. package/lib/src/utils/api/api-util.d.ts +0 -11
  198. package/lib/src/utils/charts/chart-util.js +0 -15
  199. package/lib/src/utils/common-util.d.ts +0 -11
  200. package/lib/src/utils/events/event-util.d.ts +0 -48
  201. package/lib/src/utils/events/standard-event.d.ts +0 -61
  202. package/lib/src/utils/events/validator-util.d.ts +0 -4
  203. package/lib/src/utils/global-refs.d.ts +0 -59
  204. package/lib/src/utils/interfaces/page-design-types.d.ts +0 -221
  205. package/lib/src/utils/page-helper-util.d.ts +0 -87
  206. package/lib/src/utils/page-init-util.d.ts +0 -38
  207. package/lib/src/utils/store-util.d.ts +0 -15
  208. package/lib/src/utils/store.d.ts +0 -2
  209. package/lib/super-page-dialog/index.js +0 -3
  210. package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
  211. package/lib/wf-editor/index.js +0 -3
  212. package/lib/wf-editor/wf-editor.css +0 -4
  213. package/lib/wf-editor/wf-editor.vue.js +0 -15
  214. package/src/assets/base.css +0 -86
  215. package/src/assets/chart-themes/theme1.ts +0 -6
  216. package/src/assets/chart-themes/theme2.ts +0 -6
  217. package/src/assets/chart-themes/theme3.ts +0 -6
  218. package/src/assets/images/button/button-group.png +0 -0
  219. package/src/assets/images/button/button.png +0 -0
  220. package/src/assets/images/chart/chart-column.png +0 -0
  221. package/src/assets/images/chart/chart-gauge.png +0 -0
  222. package/src/assets/images/chart/chart-pie.png +0 -0
  223. package/src/assets/images/chart/chart-radar.png +0 -0
  224. package/src/assets/images/chart/chart-scatter.png +0 -0
  225. package/src/assets/images/container/container-card.png +0 -0
  226. package/src/assets/images/container/container-collapse.png +0 -0
  227. package/src/assets/images/container/container-container.png +0 -0
  228. package/src/assets/images/container/container-flex.png +0 -0
  229. package/src/assets/images/container/container-form.png +0 -0
  230. package/src/assets/images/container/container-iframe.png +0 -0
  231. package/src/assets/images/container/container-normal.png +0 -0
  232. package/src/assets/images/container/container-tabs.png +0 -0
  233. package/src/assets/images/container/container-tools.png +0 -0
  234. package/src/assets/images/data/data-process.png +0 -0
  235. package/src/assets/images/data/data-step.png +0 -0
  236. package/src/assets/images/data/data-table-column.png +0 -0
  237. package/src/assets/images/data/data-table.png +0 -0
  238. package/src/assets/images/data/data-timeline.png +0 -0
  239. package/src/assets/images/data/data-tree.png +0 -0
  240. package/src/assets/images/form/form-cascader.png +0 -0
  241. package/src/assets/images/form/form-check.png +0 -0
  242. package/src/assets/images/form/form-color.png +0 -0
  243. package/src/assets/images/form/form-count.png +0 -0
  244. package/src/assets/images/form/form-custom.png +0 -0
  245. package/src/assets/images/form/form-date.png +0 -0
  246. package/src/assets/images/form/form-dept.png +0 -0
  247. package/src/assets/images/form/form-divider.png +0 -0
  248. package/src/assets/images/form/form-file.png +0 -0
  249. package/src/assets/images/form/form-image-upload.png +0 -0
  250. package/src/assets/images/form/form-img.png +0 -0
  251. package/src/assets/images/form/form-input.png +0 -0
  252. package/src/assets/images/form/form-label.png +0 -0
  253. package/src/assets/images/form/form-link.png +0 -0
  254. package/src/assets/images/form/form-radio.png +0 -0
  255. package/src/assets/images/form/form-scan.png +0 -0
  256. package/src/assets/images/form/form-score.png +0 -0
  257. package/src/assets/images/form/form-select.png +0 -0
  258. package/src/assets/images/form/form-slider.png +0 -0
  259. package/src/assets/images/form/form-space.png +0 -0
  260. package/src/assets/images/form/form-switch.png +0 -0
  261. package/src/assets/images/form/form-text.png +0 -0
  262. package/src/assets/images/form/form-textarea.png +0 -0
  263. package/src/assets/images/form/form-transfer.png +0 -0
  264. package/src/assets/images/form/form-zoom.png +0 -0
  265. package/src/assets/images/group-button.png +0 -0
  266. package/src/assets/images/group-chart.png +0 -0
  267. package/src/assets/images/group-container.png +0 -0
  268. package/src/assets/images/group-data.png +0 -0
  269. package/src/assets/images/group-form.png +0 -0
  270. package/src/assets/images/group-workflow.png +0 -0
  271. package/src/assets/images/workflow/workflow-button.png +0 -0
  272. package/src/assets/images/workflow/workflow-history-texts.png +0 -0
  273. package/src/assets/images/workflow/workflow-history.png +0 -0
  274. package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
  275. package/src/assets/images/workflow/workflow-texthistory .png +0 -0
  276. package/src/assets/logo.svg +0 -1
  277. package/src/assets/main.css +0 -1
  278. package/src/i18n/langs/cn.js +0 -52
  279. package/src/i18n/langs/en.js +0 -52
  280. package/src/stores/counter.ts +0 -12
  281. package/src/utils/api/api-util.ts +0 -176
  282. package/src/utils/charts/chart-util.ts +0 -41
  283. package/src/utils/common-util.ts +0 -96
  284. package/src/utils/container-style-util.ts +0 -237
  285. package/src/utils/eventBus.ts +0 -14
  286. package/src/utils/events/event-util.ts +0 -790
  287. package/src/utils/events/jump-page-util.ts +0 -0
  288. package/src/utils/events/standard-event.ts +0 -2075
  289. package/src/utils/events/validator-util.ts +0 -474
  290. package/src/utils/global-refs.ts +0 -160
  291. package/src/utils/interfaces/page-design-types.ts +0 -259
  292. package/src/utils/page-helper-util.ts +0 -850
  293. package/src/utils/page-init-util.ts +0 -291
  294. package/src/utils/page-permission-util.ts +0 -521
  295. package/src/utils/store-util.ts +0 -41
  296. package/src/utils/store.ts +0 -3
  297. package/src/utils/table-utils.ts +0 -31
  298. /package/{lib → dist/es}/favicon.ico +0 -0
@@ -1,521 +0,0 @@
1
- export enum FuncType {
2
- /**
3
- * 公用
4
- */
5
- AUTHENTICATED = 'AUTHENTICATED',
6
- /**
7
- * 匿名
8
- */
9
- ANONYMOUS = 'ANONYMOUS',
10
- /**
11
- * 专用
12
- */
13
- AUTHORIZED = 'AUTHORIZED'
14
- }
15
- /**
16
- * 未指定资源类型时,表示为专用,否则以指定的为准
17
- */
18
- const standardFuncUrlMap = {
19
- page: {
20
- label: '页面',
21
- functions: [
22
- {
23
- label: '页面',
24
- path: 'temp'
25
- }
26
- ]
27
- },
28
- gets: {
29
- group: '表单标准功能',
30
- label: '获取表单数据',
31
- functions: [
32
- {
33
- funcType: FuncType.AUTHENTICATED,
34
- path: '/commons/gets$POST'
35
- }
36
- ]
37
- },
38
- workflowGets: {
39
- group: '标准流程',
40
- label: '获取表单及流程数据',
41
- functions: [
42
- {
43
- funcType: FuncType.AUTHENTICATED,
44
- path: '/workflow-commons/gets$POST'
45
- }
46
- ]
47
- },
48
- save: {
49
- group: '表单标准功能',
50
- label: '暂存',
51
- functions: [
52
- {
53
- code: 'create',
54
- label: '暂存',
55
- path: '/commons$POST'
56
- },
57
- {
58
- code: 'update',
59
- label: '修改',
60
- path: '/commons$POST'
61
- }
62
- ]
63
- },
64
- submit: {
65
- group: '表单标准功能',
66
- label: '提交',
67
- functions: [
68
- {
69
- path: '/commons/submits$POST'
70
- }
71
- ]
72
- },
73
- exportForm: {
74
- group: '表单标准功能',
75
- label: '导出报告',
76
- functions: [
77
- {
78
- path: '/commons/export-reports$POST'
79
- }
80
- ]
81
- },
82
- exportPDF: {
83
- group: '表单标准功能',
84
- label: '导出PDF',
85
- functions: [
86
- {
87
- path: '/commons/exportPDF$POST'
88
- }
89
- ]
90
- },
91
- agree: {
92
- group: '表单标准功能',
93
- label: '同意',
94
- functions: [
95
- {
96
- path: '/commons/approves$POST'
97
- }
98
- ]
99
- },
100
- disagree: {
101
- group: '表单标准功能',
102
- label: '不同意',
103
- functions: [
104
- {
105
- path: '/commons/refuses$POST'
106
- }
107
- ]
108
- },
109
- back: {
110
- group: '表单标准功能',
111
- label: '返回',
112
- functions: [] //无资源时表示不需要控制
113
- },
114
- workflowSave: {
115
- group: '流程表单功能',
116
- label: '暂存',
117
- functions: [
118
- {
119
- funcType: 'AUTHENTICATED', //公用
120
- path: '/workflow-commons$POST'
121
- }
122
- ]
123
- },
124
- submitProcess: {
125
- group: '流程表单功能',
126
- label: '提交流程',
127
- functions: [
128
- {
129
- funcType: 'AUTHENTICATED', //公用
130
- path: '/workflow-commons/submit$POST'
131
- }
132
- ]
133
- },
134
- submitTask: {
135
- group: '流程表单功能',
136
- label: '提交任务',
137
- functions: [
138
- {
139
- funcType: 'AUTHENTICATED', //公用
140
- code: 'completeTask.submitTask',
141
- path: '/workflow-commons/complete-tasks$POST'
142
- }
143
- ]
144
- },
145
- approve: {
146
- group: '流程表单功能',
147
- label: '同意',
148
- functions: [
149
- {
150
- funcType: 'AUTHENTICATED', //公用
151
- code: 'completeTask.approve',
152
- path: '/workflow-commons/complete-tasks$POST'
153
- }
154
- ]
155
- },
156
- refuse: {
157
- group: '流程表单功能',
158
- label: '不同意',
159
- functions: [
160
- {
161
- funcType: 'AUTHENTICATED', //公用
162
- code: 'completeTask.refuse',
163
- path: '/workflow-commons/complete-tasks$POST'
164
- }
165
- ]
166
- },
167
- assign: {
168
- group: '流程表单功能',
169
- label: '指派',
170
- functions: [
171
- {
172
- funcType: 'AUTHENTICATED', //公用
173
- path: '/workflow-commons/assigns$POST'
174
- }
175
- ]
176
- },
177
- drawTask: {
178
- group: '流程表单功能',
179
- label: '领取',
180
- functions: [
181
- {
182
- funcType: 'AUTHENTICATED', //公用
183
- path: '/workflow-commons/draw-tasks$POST'
184
- }
185
- ]
186
- },
187
- abandonReceive: {
188
- group: '流程表单功能',
189
- label: '放弃领取',
190
- functions: [
191
- {
192
- funcType: 'AUTHENTICATED', //公用
193
- path: '/workflow-commons/abandon-receives$POST'
194
- }
195
- ]
196
- },
197
- readed: {
198
- group: '流程表单功能',
199
- label: '已阅',
200
- functions: [
201
- {
202
- funcType: 'AUTHENTICATED', //公用
203
- code: 'completeTask.readed',
204
- path: '/workflow-commons/complete-tasks$POST'
205
- }
206
- ]
207
- },
208
- agreement: {
209
- group: '流程表单功能',
210
- label: '赞成',
211
- functions: [
212
- {
213
- funcType: 'AUTHENTICATED', //公用
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
- code: 'completeTask.oppose',
226
- path: '/workflow-commons/complete-tasks$POST'
227
- }
228
- ]
229
- },
230
- kiken: {
231
- group: '流程表单功能',
232
- label: '弃权',
233
- functions: [
234
- {
235
- funcType: 'AUTHENTICATED', //公用
236
- code: 'completeTask.kiken',
237
- path: '/workflow-commons/complete-tasks$POST'
238
- }
239
- ]
240
- },
241
- addSigner: {
242
- group: '流程表单功能',
243
- label: '加签',
244
- functions: [
245
- {
246
- funcType: 'AUTHENTICATED', //公用
247
- path: '/workflow-commons/add-signers$POST'
248
- }
249
- ]
250
- },
251
- removeSigner: {
252
- group: '流程表单功能',
253
- label: '减签',
254
- functions: [
255
- {
256
- funcType: 'AUTHENTICATED', //公用
257
- path: '/workflow-commons/abandon-receives$POST'
258
- },
259
- {
260
- code: 'getRemoveSigners', //有编码时,以此为准
261
- label: '获取可减签人员', //有标题时,以此为准
262
- funcType: 'AUTHENTICATED', //公用
263
- path: '/workflow-commons/get-remove-signers$POST'
264
- }
265
- ]
266
- },
267
- copyTask: {
268
- group: '流程表单功能',
269
- label: '抄送',
270
- functions: [
271
- {
272
- funcType: 'AUTHENTICATED', //公用
273
- path: '/workflow-commons/copies$POST'
274
- }
275
- ]
276
- },
277
- retrieveTask: {
278
- group: '流程表单功能',
279
- label: '取回',
280
- functions: [
281
- {
282
- funcType: 'AUTHENTICATED', //公用
283
- path: '/workflow-commons/retrieves$POST'
284
- }
285
- ]
286
- },
287
- returnToPreviousTask: {
288
- group: '流程表单功能',
289
- label: '驳回',
290
- functions: [
291
- {
292
- funcType: 'AUTHENTICATED', //公用
293
- path: '/workflow-commons/returnTaskTo$POST'
294
- }
295
- ]
296
- },
297
- returnTaskTo: {
298
- group: '流程表单功能',
299
- label: '退回',
300
- functions: [
301
- {
302
- funcType: 'AUTHENTICATED', //公用
303
- path: '/workflow-commons/return-to-previous-tasks$POST'
304
- }
305
- ]
306
- },
307
- endInstance: {
308
- group: '流程表单功能',
309
- label: '强制结束',
310
- functions: [
311
- {
312
- funcType: 'AUTHENTICATED', //公用
313
- path: '/workflow-commons/end-instance$POST'
314
- }
315
- ]
316
- },
317
- listData: {
318
- group: '列表功能',
319
- label: '列表数据',
320
- functions: [
321
- {
322
- funcType: 'AUTHENTICATED', //公用
323
- path: '/commons/list$POST'
324
- }
325
- ]
326
- },
327
- listSubData: {
328
- group: '列表功能',
329
- label: '列表子级',
330
- functions: [
331
- {
332
- funcType: 'AUTHENTICATED', //公用
333
- path: '/commons/list-subs$POST'
334
- }
335
- ]
336
- },
337
- saveList: {
338
- group: '列表功能',
339
- label: '暂存',
340
- functions: [
341
- {
342
- code: 'create',
343
- label: '暂存',
344
- path: '/commons$POST'
345
- },
346
- {
347
- funcType: 'AUTHENTICATED', //公用
348
- code: 'update',
349
- label: '修改',
350
- path: '/commons$POST'
351
- }
352
- ]
353
- },
354
- delete: {
355
- group: '列表功能',
356
- label: '删除',
357
- functions: [
358
- {
359
- path: '/commons/{tableName}$DELETE'
360
- }
361
- ]
362
- },
363
- submitList: {
364
- group: '列表功能',
365
- label: '提交',
366
- functions: [
367
- {
368
- path: '/commons/batch-submits$POST'
369
- }
370
- ]
371
- },
372
- agreeList: {
373
- group: '列表功能',
374
- label: '同意',
375
- functions: [
376
- {
377
- path: '/commons/batch-approves$POST'
378
- }
379
- ]
380
- },
381
- disagreeList: {
382
- group: '列表功能',
383
- label: '不同意',
384
- functions: [
385
- {
386
- path: '/commons/batch-refuses$POST'
387
- }
388
- ]
389
- },
390
- import: {
391
- group: '列表功能',
392
- label: '导入',
393
- functions: [
394
- {
395
- path: '/commons/import-data$POST'
396
- }
397
- ]
398
- },
399
- export: {
400
- group: '列表功能',
401
- label: '导出',
402
- functions: [
403
- {
404
- path: '/commons/export-list-data$POST /commons/export-reports$POST'
405
- }
406
- ]
407
- },
408
- search: {
409
- group: '列表功能',
410
- label: '查询',
411
- functions: []
412
- },
413
- downloadTemplate: {
414
- group: '列表功能',
415
- label: '下载导入模板',
416
- functions: [
417
- {
418
- path: '/commons/download-files$GET'
419
- }
420
- ]
421
- },
422
- lineEditCreate: {
423
- group: '列表行编辑功能',
424
- label: '新建',
425
- functions: [
426
- {
427
- code: 'create',
428
- label: '暂存',
429
- path: '/commons$POST'
430
- }
431
- ]
432
- },
433
- lineEditSave: {
434
- group: '列表行编辑功能',
435
- label: '保存',
436
- functions: [
437
- {
438
- code: 'create',
439
- label: '保存',
440
- path: '/commons$POST'
441
- },
442
- {
443
- code: 'update',
444
- label: '修改',
445
- path: '/commons$POST'
446
- }
447
- ]
448
- },
449
- lineEditDelete: {
450
- group: '列表行编辑功能',
451
- label: '删除',
452
- functions: [
453
- {
454
- code: 'delete',
455
- path: '/commons/{tableName}$DELETE'
456
- }
457
- ]
458
- },
459
- lineEditUpdate: {
460
- group: '列表行编辑功能',
461
- label: '修改',
462
- functions: [
463
- {
464
- code: 'update',
465
- label: '修改',
466
- path: '/commons$POST'
467
- }
468
- ]
469
- },
470
- restoreEdit: {
471
- group: '列表行编辑功能',
472
- label: '取消编辑',
473
- functions: []
474
- }
475
- }
476
-
477
- /**
478
- * 根据资源简码缓存信息
479
- */
480
- const functionMap: any = {}
481
- /**
482
- * 根据简码获取对应的资源信息
483
- * @param eventName 方法名
484
- * @returns
485
- */
486
- export function getStandPermissionInfo(eventName: string) {
487
- return eventName ? standardFuncUrlMap[eventName] : undefined
488
- }
489
-
490
- /**
491
- * 获取资源信息
492
- * @param simpleCode
493
- * @returns
494
- */
495
- export function getFunctionInfo(simpleCode: string) {
496
- if (!simpleCode) {
497
- return undefined
498
- }
499
- let funcInfo: any = functionMap[simpleCode]
500
- if (funcInfo == undefined) {
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
- //设置默认值
518
- functionMap[simpleCode] = funcInfo ? funcInfo : ''
519
- }
520
- return funcInfo ? funcInfo : undefined
521
- }
@@ -1,41 +0,0 @@
1
- import store from './store'
2
- // 获得store中缓存的信息。返回的是Object对象,不是json字符串
3
- export function getStoreInfo(pageCode, pageVersion, key) {
4
- const pageCodeStoreInfo = store.get(getPageStoreKey(pageCode, pageVersion))
5
- if (pageCodeStoreInfo) {
6
- return pageCodeStoreInfo[key]
7
- }
8
- }
9
-
10
- // 往store中缓存信息
11
- export function setStoreInfo(pageCode, pageVersion, key:string, value:any) {
12
- const pageKey = getPageStoreKey(pageCode, pageVersion)
13
- let pageCodeStoreInfo = store.get(pageKey)
14
- if (!pageCodeStoreInfo) {
15
- pageCodeStoreInfo = {}
16
- store.set(pageKey, pageCodeStoreInfo)
17
- }
18
- pageCodeStoreInfo[key] = value
19
- }
20
- /**
21
- * 删除某属性
22
- * @param {*} pageCode
23
- * @param {*} key
24
- */
25
- export function deleteStoreInfo(pageCode, pageVersion, key) {
26
- let pageCodeStoreInfo = store.get(getPageStoreKey(pageCode, pageVersion))
27
- if (pageCodeStoreInfo && pageCodeStoreInfo[key]) {
28
- delete pageCodeStoreInfo[key]
29
- }
30
- }
31
-
32
-
33
- /**
34
- * 获得页面缓存的key
35
- * @param pageCode
36
- * @param pageVersion
37
- * @returns
38
- */
39
- export function getPageStoreKey(pageCode, pageVersion) {
40
- return pageCode + ':' + pageVersion
41
- }
@@ -1,3 +0,0 @@
1
- // 用于存放表单数据、是否是预览状态、系统信息
2
- const store = new Map()
3
- export default store
@@ -1,31 +0,0 @@
1
- import { getBaseUrl } from './common-util'
2
- import http from 'agilebuilder-ui/src/utils/request'
3
- // import eventBus from './eventBus'
4
- export function getDataTypeMap(system, tableName) {
5
- return new Promise((resolve, reject) => {
6
- // TODO:是否需要区分预览
7
- // if (this.isPreview) {
8
- // // 预览时不需要获得字段类型
9
- // resolve(true)
10
- // } else {
11
- getDataTypeMapRequest(system, tableName)
12
- .then((dataTypeMap) => {
13
- resolve(dataTypeMap)
14
- })
15
- .catch(() => {
16
- reject(new Error('获得数据表:' + tableName + '的字段类型集合失败'))
17
- })
18
- // }
19
- })
20
- }
21
-
22
- export function getDataTypeMapRequest(system, tableName) {
23
- const baseUrl = getBaseUrl(system)
24
- return http.get(baseUrl + '/dsc/commons/tables/' + tableName + '/data-types')
25
- }
26
-
27
- // 弹框显示页面,例如:列表页面super-grid字段的超链接弹框、表单页面子表字段的超链接弹框、表单页面超链接或按钮弹框。
28
- // 此处只需要直接弹出来就行了,弹框前事件、跳转页面配置解析已在对应位置(super-grid或super-form)代码解析了
29
- export function popupToPage(params) {
30
- window['$eventBus'].$emit(params.pageCode + '_open-dialog', params)
31
- }
File without changes