super-page-runtime 1.0.12 → 1.0.14

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 (487) hide show
  1. package/dist/es/{runtime → components/runtime}/utils/charts/chart-util.js +3 -3
  2. package/dist/es/{wf-editor → components/wf-editor}/wf-editor.vue.js +1 -1
  3. package/dist/es/index.js +3 -3
  4. package/dist/lib/{runtime → components/runtime}/utils/charts/chart-util.js +3 -3
  5. package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.vue.js +1 -1
  6. package/dist/lib/index.js +3 -3
  7. package/package.json +3 -2
  8. package/src/App.vue +9 -0
  9. package/src/assets/base.css +86 -0
  10. package/src/assets/chart-themes/theme1.ts +6 -0
  11. package/src/assets/chart-themes/theme2.ts +6 -0
  12. package/src/assets/chart-themes/theme3.ts +6 -0
  13. package/src/assets/images/button/button-group.png +0 -0
  14. package/src/assets/images/button/button.png +0 -0
  15. package/src/assets/images/chart/chart-column.png +0 -0
  16. package/src/assets/images/chart/chart-gauge.png +0 -0
  17. package/src/assets/images/chart/chart-pie.png +0 -0
  18. package/src/assets/images/chart/chart-radar.png +0 -0
  19. package/src/assets/images/chart/chart-scatter.png +0 -0
  20. package/src/assets/images/container/container-card.png +0 -0
  21. package/src/assets/images/container/container-collapse.png +0 -0
  22. package/src/assets/images/container/container-container.png +0 -0
  23. package/src/assets/images/container/container-flex.png +0 -0
  24. package/src/assets/images/container/container-form.png +0 -0
  25. package/src/assets/images/container/container-iframe.png +0 -0
  26. package/src/assets/images/container/container-normal.png +0 -0
  27. package/src/assets/images/container/container-tabs.png +0 -0
  28. package/src/assets/images/container/container-tools.png +0 -0
  29. package/src/assets/images/data/data-process.png +0 -0
  30. package/src/assets/images/data/data-step.png +0 -0
  31. package/src/assets/images/data/data-table-column.png +0 -0
  32. package/src/assets/images/data/data-table.png +0 -0
  33. package/src/assets/images/data/data-timeline.png +0 -0
  34. package/src/assets/images/data/data-tree.png +0 -0
  35. package/src/assets/images/form/form-cascader.png +0 -0
  36. package/src/assets/images/form/form-check.png +0 -0
  37. package/src/assets/images/form/form-color.png +0 -0
  38. package/src/assets/images/form/form-count.png +0 -0
  39. package/src/assets/images/form/form-custom.png +0 -0
  40. package/src/assets/images/form/form-date.png +0 -0
  41. package/src/assets/images/form/form-dept.png +0 -0
  42. package/src/assets/images/form/form-divider.png +0 -0
  43. package/src/assets/images/form/form-file.png +0 -0
  44. package/src/assets/images/form/form-image-upload.png +0 -0
  45. package/src/assets/images/form/form-img.png +0 -0
  46. package/src/assets/images/form/form-input.png +0 -0
  47. package/src/assets/images/form/form-label.png +0 -0
  48. package/src/assets/images/form/form-link.png +0 -0
  49. package/src/assets/images/form/form-radio.png +0 -0
  50. package/src/assets/images/form/form-scan.png +0 -0
  51. package/src/assets/images/form/form-score.png +0 -0
  52. package/src/assets/images/form/form-select.png +0 -0
  53. package/src/assets/images/form/form-slider.png +0 -0
  54. package/src/assets/images/form/form-space.png +0 -0
  55. package/src/assets/images/form/form-switch.png +0 -0
  56. package/src/assets/images/form/form-text.png +0 -0
  57. package/src/assets/images/form/form-textarea.png +0 -0
  58. package/src/assets/images/form/form-transfer.png +0 -0
  59. package/src/assets/images/form/form-zoom.png +0 -0
  60. package/src/assets/images/group-button.png +0 -0
  61. package/src/assets/images/group-chart.png +0 -0
  62. package/src/assets/images/group-container.png +0 -0
  63. package/src/assets/images/group-data.png +0 -0
  64. package/src/assets/images/group-form.png +0 -0
  65. package/src/assets/images/group-workflow.png +0 -0
  66. package/src/assets/images/workflow/workflow-button.png +0 -0
  67. package/src/assets/images/workflow/workflow-history-texts.png +0 -0
  68. package/src/assets/images/workflow/workflow-history.png +0 -0
  69. package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
  70. package/src/assets/images/workflow/workflow-texthistory .png +0 -0
  71. package/src/assets/logo.svg +1 -0
  72. package/src/assets/main.css +1 -0
  73. package/src/components/runtime/index.ts +2 -0
  74. package/src/components/runtime/utils/api/api-util.ts +176 -0
  75. package/src/components/runtime/utils/assemblys-config.js +294 -0
  76. package/src/components/runtime/utils/charts/chart-util.ts +37 -0
  77. package/src/components/runtime/utils/common-util.ts +96 -0
  78. package/src/components/runtime/utils/container-style-util.ts +223 -0
  79. package/src/components/runtime/utils/eventBus.ts +14 -0
  80. package/src/components/runtime/utils/events/event-util.ts +791 -0
  81. package/src/components/runtime/utils/events/jump-page-util.ts +0 -0
  82. package/src/components/runtime/utils/events/standard-event.ts +2075 -0
  83. package/src/components/runtime/utils/events/validator-util.ts +474 -0
  84. package/src/components/runtime/utils/global-refs.ts +160 -0
  85. package/src/components/runtime/utils/interfaces/page-design-types.ts +259 -0
  86. package/src/components/runtime/utils/page-helper-util.ts +850 -0
  87. package/src/components/runtime/utils/page-init-util.ts +291 -0
  88. package/src/components/runtime/utils/page-permission-util.ts +521 -0
  89. package/src/components/runtime/utils/store-util.ts +41 -0
  90. package/src/components/runtime/utils/store.ts +3 -0
  91. package/src/components/runtime/utils/table-utils.ts +31 -0
  92. package/src/components/runtime/views/assemblys/button/button/button-runtime.vue +46 -0
  93. package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +27 -0
  94. package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +85 -0
  95. package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +61 -0
  96. package/src/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +32 -0
  97. package/src/components/runtime/views/assemblys/chart/common/common-attr-base.vue +60 -0
  98. package/src/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +39 -0
  99. package/src/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +104 -0
  100. package/src/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +145 -0
  101. package/src/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +119 -0
  102. package/src/components/runtime/views/assemblys/chart/common/common-style-custom.vue +28 -0
  103. package/src/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +45 -0
  104. package/src/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +78 -0
  105. package/src/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +56 -0
  106. package/src/components/runtime/views/assemblys/chart/common/common-style-grid.vue +70 -0
  107. package/src/components/runtime/views/assemblys/chart/common/common-style-legend.vue +70 -0
  108. package/src/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +140 -0
  109. package/src/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +58 -0
  110. package/src/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +125 -0
  111. package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +67 -0
  112. package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +57 -0
  113. package/src/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +23 -0
  114. package/src/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +209 -0
  115. package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +54 -0
  116. package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +57 -0
  117. package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +56 -0
  118. package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +58 -0
  119. package/src/components/runtime/views/assemblys/common/common-attr-cursor.vue +23 -0
  120. package/src/components/runtime/views/assemblys/common/common-attr-size.vue +54 -0
  121. package/src/components/runtime/views/assemblys/common/common-select-table.vue +287 -0
  122. package/src/components/runtime/views/assemblys/common/common-style-background.vue +46 -0
  123. package/src/components/runtime/views/assemblys/common/common-style-border.vue +37 -0
  124. package/src/components/runtime/views/assemblys/common/common-style-custom.vue +35 -0
  125. package/src/components/runtime/views/assemblys/common/common-style-font-head.vue +53 -0
  126. package/src/components/runtime/views/assemblys/common/common-style-font.vue +53 -0
  127. package/src/components/runtime/views/assemblys/common/common-style-margin.vue +34 -0
  128. package/src/components/runtime/views/assemblys/common/common-style-padding.vue +34 -0
  129. package/src/components/runtime/views/assemblys/common/common-style-position.vue +39 -0
  130. package/src/components/runtime/views/assemblys/common/common-style-shadow.vue +37 -0
  131. package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +118 -0
  132. package/src/components/runtime/views/assemblys/common/remove-signer-dialog.vue +99 -0
  133. package/src/components/runtime/views/assemblys/common/task-informition-dialog.vue +69 -0
  134. package/src/components/runtime/views/assemblys/common-attr-events.vue +46 -0
  135. package/src/components/runtime/views/assemblys/container/card/card-runtime.vue +56 -0
  136. package/src/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +56 -0
  137. package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +50 -0
  138. package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +33 -0
  139. package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +35 -0
  140. package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +28 -0
  141. package/src/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +51 -0
  142. package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +97 -0
  143. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +110 -0
  144. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +14 -0
  145. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +25 -0
  146. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +29 -0
  147. package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +95 -0
  148. package/src/components/runtime/views/assemblys/data/component/attr-header.vue +69 -0
  149. package/src/components/runtime/views/assemblys/data/component/attr-style.vue +64 -0
  150. package/src/components/runtime/views/assemblys/data/component/column-config.vue +171 -0
  151. package/src/components/runtime/views/assemblys/data/component/combinedHeader.vue +96 -0
  152. package/src/components/runtime/views/assemblys/data/component/composite-header.vue +257 -0
  153. package/src/components/runtime/views/assemblys/data/component/configuration-value.vue +206 -0
  154. package/src/components/runtime/views/assemblys/data/component/data-origin-tree.vue +117 -0
  155. package/src/components/runtime/views/assemblys/data/component/data-origin.vue +260 -0
  156. package/src/components/runtime/views/assemblys/data/component/formatting.vue +200 -0
  157. package/src/components/runtime/views/assemblys/data/component/in-parameter.vue +56 -0
  158. package/src/components/runtime/views/assemblys/data/component/querySetting.vue +52 -0
  159. package/src/components/runtime/views/assemblys/data/component/return-set-table.vue +91 -0
  160. package/src/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +58 -0
  161. package/src/components/runtime/views/assemblys/data/component/select-data-table.vue +86 -0
  162. package/src/components/runtime/views/assemblys/data/table/main-table-runtime.vue +852 -0
  163. package/src/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +622 -0
  164. package/src/components/runtime/views/assemblys/data/table/table-runtime.vue +93 -0
  165. package/src/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +137 -0
  166. package/src/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +14 -0
  167. package/src/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +55 -0
  168. package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +29 -0
  169. package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +114 -0
  170. package/src/components/runtime/views/assemblys/error-attr.vue +15 -0
  171. package/src/components/runtime/views/assemblys/error-render.vue +17 -0
  172. package/src/components/runtime/views/assemblys/form/cascader/cascader-design.vue +288 -0
  173. package/src/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +192 -0
  174. package/src/components/runtime/views/assemblys/form/colors/colors-design.vue +16 -0
  175. package/src/components/runtime/views/assemblys/form/common/analytic-rule.vue +148 -0
  176. package/src/components/runtime/views/assemblys/form/common/attr-event.vue +82 -0
  177. package/src/components/runtime/views/assemblys/form/common/attr-header.vue +54 -0
  178. package/src/components/runtime/views/assemblys/form/common/attr-style.vue +44 -0
  179. package/src/components/runtime/views/assemblys/form/common/bar-code-rule.vue +104 -0
  180. package/src/components/runtime/views/assemblys/form/common/condition.vue +147 -0
  181. package/src/components/runtime/views/assemblys/form/common/data-origin.vue +81 -0
  182. package/src/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +64 -0
  183. package/src/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +106 -0
  184. package/src/components/runtime/views/assemblys/form/common/default-value-setting.vue +362 -0
  185. package/src/components/runtime/views/assemblys/form/common/dimension-input.vue +68 -0
  186. package/src/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +115 -0
  187. package/src/components/runtime/views/assemblys/form/common/formatting-label.vue +81 -0
  188. package/src/components/runtime/views/assemblys/form/common/grid-num-select.vue +43 -0
  189. package/src/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +144 -0
  190. package/src/components/runtime/views/assemblys/form/common/linkage.vue +21 -0
  191. package/src/components/runtime/views/assemblys/form/common/overall-height.vue +20 -0
  192. package/src/components/runtime/views/assemblys/form/common/overall-width.vue +48 -0
  193. package/src/components/runtime/views/assemblys/form/common/pre-suffix.vue +33 -0
  194. package/src/components/runtime/views/assemblys/form/common/rich-text.vue +100 -0
  195. package/src/components/runtime/views/assemblys/form/common/row-ul-li.vue +55 -0
  196. package/src/components/runtime/views/assemblys/form/common/setoption-table.vue +86 -0
  197. package/src/components/runtime/views/assemblys/form/common/size-input.vue +65 -0
  198. package/src/components/runtime/views/assemblys/form/common/suffixmodule.vue +82 -0
  199. package/src/components/runtime/views/assemblys/form/common/title.vue +20 -0
  200. package/src/components/runtime/views/assemblys/form/common/uploading.vue +34 -0
  201. package/src/components/runtime/views/assemblys/form/common/verification.vue +79 -0
  202. package/src/components/runtime/views/assemblys/form/common/voluntarily.vue +27 -0
  203. package/src/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +81 -0
  204. package/src/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +14 -0
  205. package/src/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +14 -0
  206. package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +29 -0
  207. package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +46 -0
  208. package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +74 -0
  209. package/src/components/runtime/views/assemblys/form/datetime/datetime-design.vue +19 -0
  210. package/src/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +57 -0
  211. package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +40 -0
  212. package/src/components/runtime/views/assemblys/form/file-picture/picture-design.vue +80 -0
  213. package/src/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +76 -0
  214. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +142 -0
  215. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +14 -0
  216. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +14 -0
  217. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +29 -0
  218. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +84 -0
  219. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +75 -0
  220. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +13 -0
  221. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +14 -0
  222. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +29 -0
  223. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +66 -0
  224. package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +57 -0
  225. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +68 -0
  226. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +14 -0
  227. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +58 -0
  228. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +29 -0
  229. package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +132 -0
  230. package/src/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +139 -0
  231. package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +115 -0
  232. package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +67 -0
  233. package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +23 -0
  234. package/src/components/runtime/views/assemblys/form/radio/radio-runtime.vue +197 -0
  235. package/src/components/runtime/views/assemblys/form/rate/rate-design.vue +16 -0
  236. package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +153 -0
  237. package/src/components/runtime/views/assemblys/form/select/select-runtime.vue +241 -0
  238. package/src/components/runtime/views/assemblys/form/slider/slider-design.vue +16 -0
  239. package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +58 -0
  240. package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +60 -0
  241. package/src/components/runtime/views/assemblys/form/text/text-design.vue +19 -0
  242. package/src/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +60 -0
  243. package/src/components/runtime/views/assemblys/form/transfer/transfer-design.vue +32 -0
  244. package/src/components/runtime/views/assemblys/object-render.vue +176 -0
  245. package/src/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +179 -0
  246. package/src/components/runtime/views/assemblys/page/page-attr-base.vue +252 -0
  247. package/src/components/runtime/views/assemblys/page/page-attr-events.vue +50 -0
  248. package/src/components/runtime/views/assemblys/page/page-attr-style.vue +25 -0
  249. package/src/components/runtime/views/assemblys/page/page-attr.vue +84 -0
  250. package/src/components/runtime/views/assemblys/page/variable-dialog.vue +242 -0
  251. package/src/components/runtime/views/assemblys/workflow/component/combination.vue +206 -0
  252. package/src/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +99 -0
  253. package/src/components/runtime/views/assemblys/workflow/component/event-dialog.vue +278 -0
  254. package/src/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +174 -0
  255. package/src/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +155 -0
  256. package/src/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +47 -0
  257. package/src/components/runtime/views/assemblys/workflow/component/set-dialog.vue +130 -0
  258. package/src/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +96 -0
  259. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +43 -0
  260. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +14 -0
  261. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +27 -0
  262. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +29 -0
  263. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +17 -0
  264. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +60 -0
  265. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +14 -0
  266. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +27 -0
  267. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +29 -0
  268. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +17 -0
  269. package/src/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +61 -0
  270. package/src/components/runtime/views/render/page-view.vue +80 -0
  271. package/src/components/runtime/views/super-page copy.vue +61 -0
  272. package/src/components/runtime/views/super-page.vue +662 -0
  273. package/src/components/super-page-dialog/index.ts +2 -0
  274. package/src/components/super-page-dialog/super-page-dialog.vue +267 -0
  275. package/src/components/wf-editor/index.ts +2 -0
  276. package/src/components/wf-editor/wf-editor.vue +15 -0
  277. package/src/i18n/langs/cn.js +52 -0
  278. package/src/i18n/langs/en.js +52 -0
  279. package/src/index.ts +17 -0
  280. package/src/main.ts +11 -0
  281. package/src/stores/counter.ts +12 -0
  282. /package/dist/es/{runtime → components/runtime}/index.js +0 -0
  283. /package/dist/es/{runtime → components/runtime}/utils/api/api-util.js +0 -0
  284. /package/dist/es/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
  285. /package/dist/es/{runtime → components/runtime}/utils/common-util.js +0 -0
  286. /package/dist/es/{runtime → components/runtime}/utils/events/event-util.js +0 -0
  287. /package/dist/es/{runtime → components/runtime}/utils/events/standard-event.js +0 -0
  288. /package/dist/es/{runtime → components/runtime}/utils/events/validator-util.js +0 -0
  289. /package/dist/es/{runtime → components/runtime}/utils/global-refs.js +0 -0
  290. /package/dist/es/{runtime → components/runtime}/utils/interfaces/page-design-types.js +0 -0
  291. /package/dist/es/{runtime → components/runtime}/utils/page-helper-util.js +0 -0
  292. /package/dist/es/{runtime → components/runtime}/utils/page-init-util.js +0 -0
  293. /package/dist/es/{runtime → components/runtime}/utils/store-util.js +0 -0
  294. /package/dist/es/{runtime → components/runtime}/utils/store.js +0 -0
  295. /package/dist/es/{runtime → components/runtime}/utils/table-utils.js +0 -0
  296. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
  297. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +0 -0
  298. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  299. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  300. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  301. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -0
  302. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  303. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -0
  304. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  305. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -0
  306. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  307. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -0
  308. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  309. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -0
  310. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  311. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -0
  312. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +0 -0
  313. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  314. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  315. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  316. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  317. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  318. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
  319. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  320. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  321. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
  322. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
  323. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -0
  324. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  325. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
  326. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
  327. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -0
  328. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  329. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
  330. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  331. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
  332. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  333. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
  334. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +0 -0
  335. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  336. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +0 -0
  337. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  338. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
  339. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -0
  340. /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
  341. /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
  342. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  343. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -0
  344. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  345. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -0
  346. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  347. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -0
  348. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  349. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +0 -0
  350. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  351. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -0
  352. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  353. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -0
  354. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  355. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -0
  356. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
  357. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +0 -0
  358. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
  359. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +0 -0
  360. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  361. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  362. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  363. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +0 -0
  364. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  365. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -0
  366. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
  367. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +0 -0
  368. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  369. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +0 -0
  370. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  371. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +0 -0
  372. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  373. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -0
  374. /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue.js +0 -0
  375. /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
  376. /package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  377. /package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -0
  378. /package/dist/es/{runtime → components/runtime}/views/super-page.vue.js +0 -0
  379. /package/dist/es/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
  380. /package/dist/es/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
  381. /package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -0
  382. /package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
  383. /package/dist/es/{wf-editor → components/wf-editor}/index.js +0 -0
  384. /package/dist/es/{wf-editor → components/wf-editor}/wf-editor.css +0 -0
  385. /package/dist/lib/{runtime → components/runtime}/index.js +0 -0
  386. /package/dist/lib/{runtime → components/runtime}/utils/api/api-util.js +0 -0
  387. /package/dist/lib/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
  388. /package/dist/lib/{runtime → components/runtime}/utils/common-util.js +0 -0
  389. /package/dist/lib/{runtime → components/runtime}/utils/events/event-util.js +0 -0
  390. /package/dist/lib/{runtime → components/runtime}/utils/events/standard-event.js +0 -0
  391. /package/dist/lib/{runtime → components/runtime}/utils/events/validator-util.js +0 -0
  392. /package/dist/lib/{runtime → components/runtime}/utils/global-refs.js +0 -0
  393. /package/dist/lib/{runtime → components/runtime}/utils/interfaces/page-design-types.js +0 -0
  394. /package/dist/lib/{runtime → components/runtime}/utils/page-helper-util.js +0 -0
  395. /package/dist/lib/{runtime → components/runtime}/utils/page-init-util.js +0 -0
  396. /package/dist/lib/{runtime → components/runtime}/utils/store-util.js +0 -0
  397. /package/dist/lib/{runtime → components/runtime}/utils/store.js +0 -0
  398. /package/dist/lib/{runtime → components/runtime}/utils/table-utils.js +0 -0
  399. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
  400. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +0 -0
  401. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  402. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  403. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  404. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -0
  405. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  406. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -0
  407. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  408. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -0
  409. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  410. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -0
  411. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  412. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -0
  413. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  414. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -0
  415. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +0 -0
  416. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  417. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  418. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  419. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  420. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  421. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
  422. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  423. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  424. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
  425. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
  426. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -0
  427. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  428. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
  429. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
  430. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -0
  431. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  432. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
  433. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  434. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
  435. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  436. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
  437. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +0 -0
  438. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  439. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +0 -0
  440. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  441. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
  442. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -0
  443. /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
  444. /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
  445. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  446. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -0
  447. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  448. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -0
  449. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  450. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -0
  451. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  452. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +0 -0
  453. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  454. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -0
  455. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  456. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -0
  457. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  458. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -0
  459. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
  460. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +0 -0
  461. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
  462. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +0 -0
  463. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  464. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  465. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  466. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +0 -0
  467. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  468. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -0
  469. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
  470. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +0 -0
  471. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  472. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +0 -0
  473. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  474. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +0 -0
  475. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  476. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -0
  477. /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue.js +0 -0
  478. /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
  479. /package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  480. /package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -0
  481. /package/dist/lib/{runtime → components/runtime}/views/super-page.vue.js +0 -0
  482. /package/dist/lib/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
  483. /package/dist/lib/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
  484. /package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -0
  485. /package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
  486. /package/dist/lib/{wf-editor → components/wf-editor}/index.js +0 -0
  487. /package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.css +0 -0
@@ -0,0 +1,622 @@
1
+ <template>
2
+ <div>
3
+ <super-grid
4
+ v-if="listViewShowFlag"
5
+ ref="gridRef"
6
+ :url="baseURL + '/common/super-forms/sub-table'"
7
+ :options="listViewOptions"
8
+ :code="superGridSetting ? null : listCode"
9
+ :settings="superGridSetting"
10
+ @select="select"
11
+ @select-all="selectAll"
12
+ @selection-change="selectionChange"
13
+ @cell-click="cellClickEvent"
14
+ @cell-dblclick="cellDblClickEvent"
15
+ @row-click="rowClickEvent"
16
+ @row-dblclick="rowDblClickEvent"
17
+ @header-click="headerClickEvent"
18
+ @fn-prohibit-to-edit="fnProhibitToEdit"
19
+ @change-grid-data="changeGridData"
20
+ @reload-grid="changeInitializationSubTable"
21
+ @refresMainTableFields="refresMainTableFields"
22
+ @set-select-options="setSelectOptions"
23
+ @change-rows-per-page="changeRowsPerpage"
24
+ @new-open-grid-dialog="popupToPage"
25
+ @change-form-data="changeFormData"
26
+ />
27
+ </div>
28
+ </template>
29
+ <script lang="ts" setup>
30
+ import { computed, onMounted, watch, ref } from 'vue'
31
+ import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
32
+ import {
33
+ gridSelectRecord,
34
+ setTableEvents,
35
+ gridSelectAllRecords,
36
+ gridSelectionChange,
37
+ cellClick,
38
+ cellDblClick,
39
+ rowClick,
40
+ rowDblClick,
41
+ headerClick
42
+ } from '../../../../utils/events/event-util'
43
+ import { getVariableValue, setVariableValue } from '../../../../utils/page-helper-util'
44
+ import { getFormModelFields } from '../../../../utils/page-init-util'
45
+ // import eventBus from '../../../../utils/eventBus'
46
+ import { popupToPage } from '../../../../utils/table-utils'
47
+ import { getListCode } from '../../../../utils/common-util'
48
+ interface MyProps {
49
+ pageContext: PageContext
50
+ configure: Component
51
+ }
52
+ const props = defineProps<MyProps>()
53
+ const pageContext = props.pageContext
54
+ const configure = props.configure
55
+ // 表单的数据
56
+ const dataModel = pageContext.entity.data
57
+ // 绑定变量
58
+ const prop = configure.props && configure.props.base ? configure.props.base.prop : null
59
+ // 附加参数
60
+ const additionalParamMap = pageContext.entity.request
61
+ // 表格事件
62
+ const tableEvents = configure.events
63
+ // 表单子表切换每页显示多少条记录时的事件处理
64
+ const subTablePageInfo = ref({})
65
+ const selections = ref([])
66
+ const superGridItems = pageContext.superGridItems
67
+ const superGridSetting = superGridItems ? superGridItems[configure.uuid] : null
68
+ console.log('superGridSetting===', superGridItems, superGridSetting)
69
+
70
+ //获取默认的样式及配置
71
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
72
+
73
+ const runtimeStyle = runtimeInfo.style
74
+ const runtimeClass = runtimeInfo.class
75
+
76
+ const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
77
+
78
+ let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
79
+
80
+ const listViewShowFlag = ref(false)
81
+ const baseURL = window['$vueApp'].config.globalProperties.baseURL
82
+ const listViewOptions = ref({
83
+ subTableData: null,
84
+ extraParam: {},
85
+ operations: {},
86
+ hiddenColumns: [],
87
+ pageCode: pageContext.code,
88
+ pageVersion: pageContext.version,
89
+ pageContext,
90
+ configureObj: configure,
91
+ showPageArea: false,
92
+ showOverflowTooltip: !!(
93
+ configure.props &&
94
+ configure.props.otherSettings &&
95
+ (configure.props.otherSettings.isBreakLine === undefined ||
96
+ configure.props.otherSettings.isBreakLine === false)
97
+ ) // 单元格内容是否换行显示
98
+ })
99
+
100
+ if (runtimeStyle) {
101
+ listViewOptions.value['tableStyle'] = runtimeStyle
102
+ }
103
+ if (runtimeClass) {
104
+ listViewOptions.value['tableClass'] = runtimeClass
105
+ }
106
+ if (
107
+ (configure.props && configure.props.base && configure.props.base.subPaging === undefined) ||
108
+ configure.props.base.subPaging === null ||
109
+ configure.props.base.subPaging === false
110
+ ) {
111
+ listViewOptions.value.showPageArea = false
112
+ } else {
113
+ listViewOptions.value.showPageArea = true
114
+ }
115
+ // 获得列表的Ref对象
116
+ const gridRef = ref(null)
117
+ const listCode = getListCode(pageContext.code, pageContext.version, configure.uuid)
118
+
119
+ // 列表设置-通用设置
120
+ function currencyListViewSetting(canRrefreshSubtableData?: boolean) {
121
+ if (canRrefreshSubtableData === undefined) {
122
+ // 表示没有传该参数过来时,重新获得
123
+ canRrefreshSubtableData = judgeInitializationSubTable()
124
+ }
125
+ listViewOptions.value['isFormSubTable'] = true
126
+ listViewOptions.value['canRrefreshSubtableData'] = canRrefreshSubtableData
127
+ listViewOptions.value['getFormData'] = getParentFormData
128
+ listViewOptions.value['getGridData'] = getGridData
129
+ if (!(configure.props && configure.props.base && configure.props.base.showOperation)) {
130
+ let hiddenColumns = listViewOptions.value.hiddenColumns
131
+ if (!hiddenColumns) {
132
+ hiddenColumns = ['operation']
133
+ } else {
134
+ hiddenColumns.push('operation')
135
+ }
136
+ listViewOptions.value['hiddenColumns'] = hiddenColumns
137
+ }
138
+ listViewOptions.value['showOperationButton'] =
139
+ configure.props && configure.props.base ? configure.props.base.showOperation : false
140
+ listViewOptions.value['isPdfEditor'] = false
141
+ listViewOptions.value['tableRecordMaxNum'] =
142
+ configure.props && configure.props.otherSettings
143
+ ? configure.props.otherSettings.tableRecordMaxNum
144
+ : null
145
+ // TODO: table组件的”尺寸/高度“要保留
146
+ if (configure.props && configure.props.size && configure.props.size.fixHeight) {
147
+ listViewOptions.value['formSetHeight'] = configure.props.size.fixHeight
148
+ }
149
+ // TODO: table组件的”尺寸“添加”最大高度“
150
+ if (configure.props && configure.props.size && configure.props.size.maxHeight) {
151
+ listViewOptions.value['formSetMaxHeight'] = configure.props.size.maxHeight
152
+ }
153
+ }
154
+
155
+ // 是否初始化子表
156
+ function judgeInitializationSubTable() {
157
+ if (!configure.props || !configure.props.otherSettings) {
158
+ return
159
+ }
160
+ // 判断时机
161
+ if (
162
+ configure.props.otherSettings.subtableSetting &&
163
+ configure.props.otherSettings.timeToInitializeSubTable &&
164
+ configure.props.otherSettings.subtableSetting.timeToInitializeSubTable.length > 0
165
+ ) {
166
+ let flag = false
167
+ if (
168
+ configure.props.otherSettings.subtableSetting.timeToInitializeSubTable.indexOf('create') !==
169
+ -1
170
+ ) {
171
+ if (dataModel.id || dataModel.ID) {
172
+ // 表示有id
173
+ flag = false
174
+ } else {
175
+ flag = true
176
+ }
177
+ }
178
+ if (
179
+ configure.props.otherSettings.subtableSetting.timeToInitializeSubTable.indexOf('noData') !==
180
+ -1
181
+ ) {
182
+ const tableData = dataModel[prop]
183
+ if (!tableData || tableData.length <= 0) {
184
+ // 表示没数据
185
+ flag = true
186
+ }
187
+ }
188
+ return flag
189
+ } else {
190
+ return false
191
+ }
192
+ }
193
+
194
+ // 获得表单内容
195
+ function getParentFormData() {
196
+ return pageContext.entity.data
197
+ }
198
+
199
+ // 获得表格数据
200
+ function getGridData() {
201
+ return getVariableValue(entity, dynamicFields)
202
+ }
203
+
204
+ function changeInitializationSubTable(canRrefreshSubtableData?: boolean) {
205
+ currencyListViewSetting(canRrefreshSubtableData)
206
+ // TODO:是否区分设计、预览、正常解析
207
+ listViewOptions.value['isPageInfo'] = false
208
+ listViewOptions.value['subTableData'] = null
209
+ listViewOptions.value.extraParam['subTableListViewCode'] = listCode
210
+ listViewOptions.value.extraParam['subtableSetting'] =
211
+ configure.props || !configure.props.otherSettings
212
+ ? JSON.stringify(configure.props.otherSettings.subtableSetting)
213
+ : null
214
+ listViewOptions.value.extraParam['additionalParamMap'] = additionalParamMap
215
+ // console.log('主表发生改变', models)
216
+ listViewOptions.value.extraParam['entityMap'] = pageContext.entity.data
217
+ // TODO: formViewCode没找到superGrid组件中使用的地方,后面再看
218
+ // listViewOptions.value.extraParam['formViewCode'] = store.get('formViewCode')
219
+ // 设置子表事件相关配置
220
+ setGridDataEventOptions()
221
+ // console.log('修改表单子表记录前---getElementId(widget)=', getElementId(widget))
222
+ // 重新加载子表记录
223
+ listViewShowFlag.value = false
224
+ setTimeout(() => {
225
+ // console.log('修改表单子表记录前11')
226
+ listViewShowFlag.value = true
227
+ setGridToStore()
228
+ // console.log('修改表单子表记录后')
229
+ }, 10)
230
+ }
231
+
232
+ // 初始化列表配置
233
+ changeInitializationSubTable()
234
+
235
+ // 设置子表事件相关配置
236
+ function setGridDataEventOptions() {
237
+ // 设置子表字段权限相关信息
238
+ setSubTableValidateInfo()
239
+ // console.log('fieldPermissionMap', fieldPermissionMap)
240
+ // console.log('actionPermissionMap', actionPermissionMap)
241
+ const tableEvents = configure.events
242
+ setTableEvents(listViewOptions.value, tableEvents, pageContext, configure)
243
+ const customEvents = pageContext.customEvents
244
+ if (customEvents) {
245
+ // 表单页面中子表自定义事件集合
246
+ listViewOptions.value['eventCallBack'] = customEvents
247
+ }
248
+ listViewShowFlag.value = true
249
+ setGridToStore()
250
+ }
251
+
252
+ // 设置子表字段编辑权限相关信息
253
+ function setSubTableValidateInfo() {
254
+ // console.log('fieldPermissionMap', fieldPermissionMap)
255
+ // console.log('propName', propName)
256
+ const fieldPermissionMap = pageContext.fieldPermissionMap
257
+ const actionPermissionMap = pageContext.actionPermissionMap
258
+ if (fieldPermissionMap && fieldPermissionMap != null) {
259
+ let validateRules = fieldPermissionMap.get(prop)
260
+ if (!validateRules) {
261
+ const allValidateRules = fieldPermissionMap.get('all_fields')
262
+ if (allValidateRules) {
263
+ validateRules = [allValidateRules]
264
+ }
265
+ }
266
+ // console.log('validateRules', validateRules)
267
+ if (validateRules) {
268
+ // 表示有子表行编辑验证
269
+ listViewOptions.value['validateRules'] = validateRules
270
+ } else {
271
+ listViewOptions.value['validateRules'] = null
272
+ }
273
+ }
274
+ if (actionPermissionMap && actionPermissionMap != null) {
275
+ let actionPermission = actionPermissionMap.get(prop)
276
+ if (!actionPermission) {
277
+ actionPermission = actionPermissionMap.get('all_sub_tables')
278
+ }
279
+ listViewOptions.value['actionPermission'] = actionPermission
280
+ }
281
+ // 子表是否可以新增记录
282
+ const subTableOperations = getOperations()
283
+ // 子表操作列按钮集合
284
+ listViewOptions.value['operations']['operation'] = subTableOperations
285
+ listViewOptions.value['subTableCanAdd'] = isShowAdd()
286
+ }
287
+
288
+ function setGridToStore() {
289
+ if (!pageContext.tableUuids) {
290
+ pageContext.tableUuids = []
291
+ }
292
+ pageContext.tableUuids.push(configure.uuid)
293
+ // TODO: 数据表子表集合如何获得??选择服务时没有对应的数据表
294
+ // if(!pageContext.tableNames){
295
+ // pageContext.tableNames = []
296
+ // }
297
+ // pageContext.tableNames.push(configure.props.dataOrigin.)
298
+ }
299
+ // 获得子表操作列按钮
300
+ function getOperations() {
301
+ let operations = []
302
+ if (isShowAdd()) {
303
+ // 新增按钮
304
+ const addButton = {
305
+ props: {
306
+ elementType: 'el-button',
307
+ icon: 'Plus',
308
+ type: 'primary',
309
+ circle: true,
310
+ size: 'mini',
311
+ permission: 'true'
312
+ },
313
+ onClick: addSubTableData
314
+ }
315
+ operations.push(addButton)
316
+ // console.log('子表有创建权限')
317
+ }
318
+ if (isShowDelete(null, null, null, null, null, true)) {
319
+ // 删除按钮
320
+ const removeButton = {
321
+ props: {
322
+ elementType: 'el-button',
323
+ icon: 'Minus',
324
+ type: 'danger',
325
+ circle: true,
326
+ size: 'mini',
327
+ permission: 'true'
328
+ },
329
+ onClick: removeSubTableData,
330
+ isShow: isShowDelete
331
+ }
332
+ operations.push(removeButton)
333
+ // console.log('子表有删除权限')
334
+ }
335
+ return operations
336
+ }
337
+ function getEntityId(row) {
338
+ if (row && row.id) {
339
+ return row.id
340
+ } else if (row && row.ID) {
341
+ return row.ID
342
+ }
343
+ }
344
+ // 是否有新增权限
345
+ function isShowAdd() {
346
+ const fieldPermissionMap = pageContext.fieldPermissionMap
347
+ const actionPermissionMap = pageContext.actionPermissionMap
348
+
349
+ let canAdd = true
350
+ if (fieldPermissionMap && fieldPermissionMap !== null) {
351
+ const allFieldPermission = fieldPermissionMap.get('all_fields')
352
+ if (
353
+ typeof allFieldPermission !== 'undefined' &&
354
+ allFieldPermission.canEdit === false &&
355
+ (allFieldPermission.rowIndexes === undefined ||
356
+ allFieldPermission.rowIndexes === null ||
357
+ allFieldPermission.rowIndexes.length === 0)
358
+ ) {
359
+ // 表示所有字段都禁止编辑,则表示子表也不能删除
360
+ canAdd = false
361
+ }
362
+ }
363
+ if (canAdd === true && prop && actionPermissionMap && actionPermissionMap !== null) {
364
+ let oneTableActionPermission = actionPermissionMap.get(prop)
365
+ if (!oneTableActionPermission) {
366
+ oneTableActionPermission = actionPermissionMap.get('all_sub_tables')
367
+ }
368
+ if (
369
+ oneTableActionPermission &&
370
+ oneTableActionPermission.canAdd !== undefined &&
371
+ oneTableActionPermission.canAdd === false
372
+ ) {
373
+ canAdd = false
374
+ }
375
+ }
376
+ return canAdd
377
+ }
378
+
379
+ // 是否有删除权限
380
+ function isShowDelete(originalValue, formatValue, row, column, rowIndex, isFormJudge) {
381
+ // console.log('isShowDelete', originalValue, formatValue, row, column, rowIndex)
382
+ const fieldPermissionMap = pageContext.fieldPermissionMap
383
+ const actionPermissionMap = pageContext.actionPermissionMap
384
+ let canDelete = true
385
+ if (fieldPermissionMap && fieldPermissionMap !== null) {
386
+ const allFieldPermission = fieldPermissionMap.get('all_fields')
387
+ if (
388
+ typeof allFieldPermission !== 'undefined' &&
389
+ allFieldPermission.canEdit === false &&
390
+ (allFieldPermission.rowIndexes === undefined ||
391
+ allFieldPermission.rowIndexes === null ||
392
+ allFieldPermission.rowIndexes.length === 0)
393
+ ) {
394
+ // 表示所有字段都禁止编辑,则表示子表也不能删除
395
+ canDelete = false
396
+ }
397
+ }
398
+ if (canDelete === true && prop && actionPermissionMap && actionPermissionMap !== null) {
399
+ let oneTableActionPermission = actionPermissionMap.get(prop)
400
+ if (!oneTableActionPermission) {
401
+ oneTableActionPermission = actionPermissionMap.get('all_sub_tables')
402
+ }
403
+ if (
404
+ oneTableActionPermission &&
405
+ oneTableActionPermission.canDelete !== undefined &&
406
+ oneTableActionPermission.canDelete === false
407
+ ) {
408
+ canDelete = false
409
+ }
410
+ if (
411
+ oneTableActionPermission &&
412
+ oneTableActionPermission.canDelete !== undefined &&
413
+ oneTableActionPermission.canDelete === true
414
+ ) {
415
+ if (oneTableActionPermission.deleteRowIndexes) {
416
+ // 表示配置了可删除行记录
417
+ if (oneTableActionPermission.deleteRowIndexes.length > 0) {
418
+ if (isFormJudge) {
419
+ canDelete = true
420
+ } else {
421
+ // 表示配置了可删除,并且有满足条件的行记录,那就判断是否是当前行
422
+ const rowId = getEntityId(row)
423
+ if (
424
+ rowId !== undefined &&
425
+ oneTableActionPermission.deleteRowIndexes.indexOf(rowId) >= 0
426
+ ) {
427
+ canDelete = true
428
+ } else {
429
+ canDelete = false
430
+ }
431
+ }
432
+ } else {
433
+ // 表示没有配置行删除获取没有符合执行条件的记录,直接返回false
434
+ canDelete = false
435
+ }
436
+ }
437
+ }
438
+ }
439
+ // console.log('canDelete', canDelete)
440
+ return canDelete
441
+ }
442
+ function addSubTableData(originalValue, formatValue, row, column, rowIndex) {
443
+ gridRef.value.createRow(listCode)
444
+ }
445
+ function removeSubTableData(originalValue, formatValue, row, column, rowIndex) {
446
+ gridRef.value.deleteRow(rowIndex, listCode, false)
447
+ }
448
+
449
+ function changeGridData(gridData) {
450
+ setVariableValue(entity, dynamicFields, gridData)
451
+ }
452
+
453
+ // 捕获改变列表每页显示多少条记录事件处理
454
+ function changeRowsPerpage(pageSize) {
455
+ console.log('表单组件--Item--changeRowsPerpage==pageSize=', pageSize)
456
+ if (!pageContext.subTablePageInfo) {
457
+ pageContext.subTablePageInfo = {}
458
+ }
459
+ pageContext.subTablePageInfo[prop] = { pageSize: pageSize }
460
+ }
461
+
462
+ // 下拉选集合初始化事件
463
+ function setSelectOptions(valueSetOptions) {
464
+ const propName = valueSetOptions.key
465
+ const options = valueSetOptions.value
466
+ if (!pageContext.selectOptions) {
467
+ pageContext.selectOptions = {}
468
+ }
469
+ pageContext.selectOptions[propName] = options
470
+ }
471
+
472
+ // 设置禁止编辑字段
473
+ function fnProhibitToEdit(data) {
474
+ const myPageCode = pageContext.code
475
+ const eventPageInfo = myPageCode + '_'
476
+ window['$eventBus'].$emit(eventPageInfo + 'prohibit-edit', data)
477
+ }
478
+
479
+ // 更新主表字段的值
480
+ function refresMainTableFields(entity) {
481
+ const dataModel = pageContext.entity.data
482
+ if (entity) {
483
+ for (const key in entity) {
484
+ dataModel[key] = entity[key]
485
+ }
486
+ }
487
+ }
488
+
489
+ // 选择记录时
490
+ function select(selection, row) {
491
+ selections.value = selection
492
+ const params = {
493
+ selection,
494
+ row
495
+ }
496
+ gridSelectRecord(pageContext, configure, params)
497
+ }
498
+
499
+ function selectAll(selection) {
500
+ selections.value = selection
501
+ const params = {
502
+ selection
503
+ }
504
+ gridSelectAllRecords(pageContext, configure, params)
505
+ }
506
+
507
+ function selectionChange(newSelection) {
508
+ const params = {
509
+ newSelection
510
+ }
511
+ gridSelectionChange(pageContext, configure, params)
512
+ }
513
+
514
+ function cellClickEvent(row: any, column: any, cell: HTMLTableCellElement, event: Event) {
515
+ const params = {
516
+ row,
517
+ column,
518
+ cell,
519
+ event
520
+ }
521
+ cellClick(pageContext, configure, params)
522
+ }
523
+
524
+ function cellDblClickEvent(row: any, column: any, cell: HTMLTableCellElement, event: Event) {
525
+ const params = {
526
+ row,
527
+ column,
528
+ cell,
529
+ event
530
+ }
531
+ cellDblClick(pageContext, configure, params)
532
+ }
533
+
534
+ function rowClickEvent(row: any, column: any, event: Event) {
535
+ const params = {
536
+ row,
537
+ column,
538
+ event
539
+ }
540
+ rowClick(pageContext, configure, params)
541
+ }
542
+
543
+ function rowDblClickEvent(row: any, column: any, event: Event) {
544
+ const params = {
545
+ row,
546
+ column,
547
+ event
548
+ }
549
+ rowDblClick(pageContext, configure, params)
550
+ }
551
+
552
+ function headerClickEvent(column: any, event: Event) {
553
+ const params = {
554
+ column,
555
+ event
556
+ }
557
+ headerClick(pageContext, configure, params)
558
+ }
559
+
560
+ // TODO: pageModel更新如何更新
561
+ function changeFormData(formData) {
562
+ pageContext.entity.data = formData
563
+ }
564
+
565
+ // api:子表保存时验证子表记录必填
566
+ function validatorSunTableListData() {
567
+ return gridRef.value.validatorSunTableListData()
568
+ }
569
+
570
+ // api:行编辑新建记录
571
+ function createRow() {
572
+ return gridRef.value.createRow(listCode)
573
+ }
574
+ // api:获得选中记录集合
575
+ function getSelections() {
576
+ return selections.value
577
+ }
578
+
579
+ // api:获得选中记录id集合
580
+ function getSelectionIds() {
581
+ const dataIds = []
582
+ if (selections.value !== null) {
583
+ selections.value.forEach((item) => {
584
+ dataIds.push(item.id ? item.id : item.ID ? item.ID : null)
585
+ })
586
+ }
587
+ return dataIds
588
+ }
589
+ // api:列表组件内容刷新后的回调事件
590
+ function clearSelections() {
591
+ selections.value = []
592
+ }
593
+ // api:获得表格配置
594
+ function getTableConfigure() {
595
+ return configure
596
+ }
597
+
598
+ /**
599
+ *api: 获取值
600
+ */
601
+ function getValue() {
602
+ return getVariableValue(entity, dynamicFields)
603
+ }
604
+
605
+ /**
606
+ * api:设置值
607
+ */
608
+ function setValue(value: any) {
609
+ return setVariableValue(entity, dynamicFields, value)
610
+ }
611
+
612
+ defineExpose({
613
+ createRow,
614
+ getSelections,
615
+ getSelectionIds,
616
+ clearSelections,
617
+ getTableConfigure,
618
+ validatorSunTableListData,
619
+ getValue,
620
+ setValue
621
+ })
622
+ </script>
@@ -0,0 +1,93 @@
1
+ <template>
2
+ <div>
3
+ <SubTable
4
+ v-if="pageType && pageType === 'form'"
5
+ ref="gridRef"
6
+ :pageContext="pageContext"
7
+ :configure="configure"
8
+ />
9
+ <MainTable v-else ref="gridRef" :pageContext="pageContext" :configure="tableConfigure" />
10
+ </div>
11
+ </template>
12
+ <script lang="ts" setup>
13
+ import { SuperIcon } from 'agilebuilder-ui'
14
+ import { computed, onMounted, watch, ref } from 'vue'
15
+ import { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
16
+ import { getVariableValue, setVariableValue } from '../../../../utils/page-helper-util'
17
+ import SubTable from './sub-table-runtime.vue'
18
+ import MainTable from './main-table-runtime.vue'
19
+ interface MyProps {
20
+ pageContext: PageContext
21
+ configure: Component
22
+ }
23
+ const props = defineProps<MyProps>()
24
+ const pageType = props.pageContext.pageType
25
+ const tableConfigure = ref(null)
26
+ const tableUuid = props.configure.uuid
27
+ const superGridItems = props.pageContext.superGridItems
28
+ const superGridSetting = superGridItems ? superGridItems[tableUuid] : null
29
+ tableConfigure.value = superGridSetting.configure ? JSON.parse(superGridSetting.configure) : null
30
+
31
+ //获取默认的样式及配置
32
+ const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
33
+
34
+ const runtimeStyle = runtimeInfo.style
35
+ const runtimeClass = runtimeInfo.class
36
+ const gridRef = ref(null)
37
+ // api:子表保存时验证子表记录必填
38
+ function validatorSunTableListData() {
39
+ if (pageType && pageType === 'form') {
40
+ return gridRef.value.validatorSunTableListData()
41
+ }
42
+ }
43
+
44
+ // api:列表组件内容刷新后的回调事件
45
+ function clearSelections() {
46
+ return gridRef.value.clearSelections()
47
+ }
48
+
49
+ // api:刷新列表数据
50
+ function refresh() {
51
+ if (pageType && pageType === 'list') {
52
+ return gridRef.value.refresh()
53
+ }
54
+ }
55
+
56
+ // api:行编辑新建记录
57
+ function createRow() {
58
+ return gridRef.value.createRow()
59
+ }
60
+
61
+ // api:获得选中记录集合
62
+ function getSelections() {
63
+ return gridRef.value.getSelections()
64
+ }
65
+
66
+ // api:获得选中记录id集合
67
+ function getSelectionIds() {
68
+ return gridRef.value.getSelectionIds()
69
+ }
70
+
71
+ // api:获得表格配置
72
+ function getTableConfigure() {
73
+ return gridRef.value.getTableConfigure()
74
+ }
75
+
76
+ // api: 是否是执行了删除操作
77
+ function isDeleteChange(value) {
78
+ if (pageType && pageType === 'list') {
79
+ gridRef.value.isDeleteChange(value)
80
+ }
81
+ }
82
+
83
+ defineExpose({
84
+ refresh,
85
+ createRow,
86
+ clearSelections,
87
+ getSelections,
88
+ getSelectionIds,
89
+ getTableConfigure,
90
+ isDeleteChange,
91
+ validatorSunTableListData
92
+ })
93
+ </script>