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,197 @@
1
+ <template>
2
+ <el-form-item
3
+ :required="designProperty.required"
4
+ :class="runtimeClass"
5
+ :label-width="designProperty.labelWidth"
6
+ :style="runtimeStyle"
7
+ >
8
+ <template #label>
9
+ <div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
10
+ {{ designProperty.title }}
11
+ </div>
12
+ </template>
13
+ <el-radio-group
14
+ :disabled="designProperty.state === 'disabled'"
15
+ :size="designProperty.size"
16
+ @change="designProperty.changeMethod"
17
+ v-model="dynamicModelMethod"
18
+ >
19
+ <el-radio
20
+ v-for="item in listOptions"
21
+ :key="item.value"
22
+ :value="item.value"
23
+ :label="item.label"
24
+ >
25
+ </el-radio>
26
+ </el-radio-group>
27
+ </el-form-item>
28
+ </template>
29
+ <script lang="ts" setup>
30
+ import { ref, computed, watch } from 'vue'
31
+ import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
32
+ import { queryOptionDatasources, autoSetAfterSelect } from '../../../../utils/page-helper-util'
33
+ import { getFormModelFields } from '../../../../utils/page-init-util'
34
+ import {
35
+ getVariableValue,
36
+ setVariableValue,
37
+ getOptionDatasFromPage
38
+ } from '../../../../utils/page-helper-util'
39
+
40
+ //定义的属性对象
41
+ interface MyProps {
42
+ //页面对象
43
+ pageContext: PageContext
44
+ configure: Component
45
+ }
46
+
47
+ const props = defineProps<MyProps>()
48
+
49
+ const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
50
+
51
+ let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
52
+
53
+ //绑定模型的字段
54
+ const dynamicModelMethod = computed({
55
+ get() {
56
+ return getVariableValue(entity, dynamicFields)
57
+ },
58
+ set(value) {
59
+ setVariableValue(entity, dynamicFields, value)
60
+ }
61
+ })
62
+
63
+ //运行时信息
64
+ const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
65
+ const runtimeStyle = runtimeInfo.style
66
+ const runtimeClass = runtimeInfo.class
67
+ const headerStyle = runtimeInfo.headerStyle
68
+ const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
69
+ //选项组数据
70
+ const listOptions: any = ref(designProperty.options ? designProperty.options : [])
71
+ //缓存中有值时,从缓存中获取
72
+ const cacheOptions: any = getOptionDatasFromPage(props.pageContext, props.configure)
73
+ if (cacheOptions.length > 0) {
74
+ listOptions.value = cacheOptions
75
+ }
76
+
77
+ //检查是否需要绑定远程查询对象
78
+ const dataOrigin =
79
+ props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {}
80
+ const valueType = dataOrigin.optionValueSetType
81
+ //检查是否有自动设置值
82
+ let autoSets: any = []
83
+ //检查自动设置
84
+ if (valueType == 'dynamicData' || valueType == 'dataTable' || valueType == 'service') {
85
+ if (dataOrigin.autoSets) {
86
+ for (let obj of dataOrigin.autoSets) {
87
+ if (obj.source) {
88
+ autoSets.push(obj)
89
+ }
90
+ }
91
+ }
92
+ }
93
+ //检查是否有绑定标签的变量
94
+ if (
95
+ props.configure &&
96
+ props.configure.props &&
97
+ props.configure.props.base &&
98
+ props.configure.props.base.optionProp
99
+ ) {
100
+ autoSets.push({
101
+ source: 'label',
102
+ target: props.configure.props.base.optionProp
103
+ })
104
+ }
105
+ if (autoSets.length > 0) {
106
+ designProperty.changeMethod = optionChange
107
+ }
108
+
109
+ //监控字段
110
+ const monitorFields: any = designProperty.monitorFields
111
+ const monitorFieldInfos: any = []
112
+ //监控对应的字段变化
113
+ if (monitorFields) {
114
+ const preFields: any = []
115
+ for (let propName of monitorFields) {
116
+ if (propName.startsWith('${')) {
117
+ propName = propName.substring(2, propName.length - 1)
118
+ const fields = propName.split('.')
119
+ if (fields[0] === 'page' || fields[0] === 'task' || fields[0] === 'data') {
120
+ monitorFieldInfos.push(fields)
121
+ if (!preFields.includes(fields[0])) {
122
+ preFields.push(fields[0])
123
+ }
124
+ }
125
+ }
126
+ }
127
+ //监控对应的字段
128
+ for (let preField of preFields) {
129
+ watch(entity[preField], () => {
130
+ monitorFieldChange()
131
+ })
132
+ }
133
+ }
134
+
135
+ /**
136
+ * 获取监控的数据值
137
+ */
138
+ function getMonitorFieldValues(): any {
139
+ let values = ''
140
+ for (let fieldInfo of monitorFieldInfos) {
141
+ values += '_' + getVariableValue(entity, fieldInfo)
142
+ }
143
+ return values
144
+ }
145
+
146
+ //初始化时检查一次
147
+ let initMonitorValue: string = getMonitorFieldValues()
148
+
149
+ let monitorTimeout: any = false
150
+
151
+ //查询的参数
152
+ const optionconfigInfo = designProperty.optionconfigInfo ? designProperty.optionconfigInfo : {}
153
+ /**
154
+ * 监控数据变化时
155
+ */
156
+ function monitorFieldChange() {
157
+ if (monitorTimeout) {
158
+ clearTimeout(monitorTimeout)
159
+ }
160
+ //延迟200毫秒执行
161
+ monitorTimeout = setTimeout(function () {
162
+ const newValue = getMonitorFieldValues()
163
+ if (newValue == initMonitorValue) {
164
+ return
165
+ }
166
+ initMonitorValue = newValue
167
+ queryOptionDatasources(props.pageContext, optionconfigInfo, undefined).then((error) => {
168
+ console.log('查询失败!', error)
169
+ })
170
+ }, 200)
171
+ }
172
+
173
+ //数据选择变化后自动设置值
174
+ function optionChange(value: any) {
175
+ let selItems: any = null
176
+ if (listOptions.value && value != undefined && value != null) {
177
+ selItems = listOptions.value.filter((item: any) => {
178
+ return value === item.value
179
+ })
180
+ }
181
+ autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems)
182
+ }
183
+
184
+ /**
185
+ * 更新选项组
186
+ */
187
+ function updateOptions(newOptions: any) {
188
+ listOptions.value = newOptions ? newOptions : []
189
+ }
190
+
191
+ /**
192
+ * 暴露更新选项组内容的方法
193
+ */
194
+ defineExpose({
195
+ updateOptions
196
+ })
197
+ </script>
@@ -0,0 +1,16 @@
1
+ <template>
2
+ <el-form-item :label="configure.title" :label-position="right">
3
+ <el-rate v-model="configure.fieldName" />
4
+ </el-form-item>
5
+ </template>
6
+ <script lang='ts' setup>
7
+ const props = defineProps({
8
+ configure:Object
9
+ });
10
+ if(props.configure.title==undefined){
11
+ props.configure.title = 'Rate';
12
+ }
13
+ </script>
14
+ <style scoped>
15
+
16
+ </style>
@@ -0,0 +1,153 @@
1
+ <template>
2
+ <!--无标题时不用form-item-->
3
+ <el-form-item
4
+ v-if="designProperty.tittleShow"
5
+ :required="designProperty.required"
6
+ :class="runtimeClass"
7
+ :label-width="designProperty.labelWidth"
8
+ :style="runtimeStyle">
9
+ <template #label>
10
+ <div v-if="designProperty.tittleShow" :style="{...headerStyle}">
11
+ {{ designProperty.title}}
12
+ </div>
13
+ </template>
14
+ <div style="width:100%;height:100%;">
15
+ <div ref="quillEditorRef" style="width:100%;">{{ initValue }}</div>
16
+ <!-- 使用自定义图片上传 -->
17
+ <input type="file" hidden accept=".jpg,.png" ref="fileBtn" @change="handleUpload" />
18
+ </div>
19
+ </el-form-item>
20
+ <div v-else style="width:100%;height:100%;" class="amb-widget-richtext-single">
21
+ <div ref="quillEditorRef" style="width:100%;">{{ initValue }}</div>
22
+ <!-- 使用自定义图片上传 -->
23
+ <input type="file" hidden accept=".jpg,.png" ref="fileBtn" @change="handleUpload" />
24
+ </div>
25
+ </template>
26
+ <script lang='ts' setup>
27
+ import {ref,onMounted} from "vue";
28
+ import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
29
+ import { getFormModelFields} from '../../../../utils/page-init-util';
30
+ import {formatVariableValue, setVariableValue} from '../../../../utils/page-helper-util';
31
+ import Quill from 'quill';
32
+ import 'quill/dist/quill.snow.css'; // 引入样式文件
33
+ //定义的属性对象
34
+ interface MyProps{
35
+ //页面对象
36
+ pageContext:PageContext,
37
+ configure:Component
38
+ }
39
+ const props = defineProps<MyProps>();
40
+
41
+ const entity:any = props.pageContext.entity?props.pageContext.entity:{};
42
+ //初始化字段及默认值
43
+ const dynamicFields:string[] = getFormModelFields(props.pageContext,props.configure);
44
+
45
+ //定义自身详细参数
46
+ //运行时信息
47
+ const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
48
+ const runtimeStyle = runtimeInfo.style;
49
+ const runtimeClass = runtimeInfo.class;
50
+ const headerStyle = runtimeInfo.headerStyle;
51
+ const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
52
+
53
+ //初始化显示内容
54
+ let contentVariable = designProperty.value;
55
+ const initValue = formatVariableValue(props.pageContext,contentVariable);
56
+
57
+ //富文本引用
58
+ const quillEditorRef = ref(null);
59
+ const quill:any = ref(null);
60
+ const fileBtn:any = ref(null);
61
+ //初始化富文本控件
62
+ const fontSize = ['12px', '13px', '14px', '15px', '16px', '18px', '20px', '24px', '28px', '32px', '36px'];
63
+ const option = ref({
64
+ modules: {
65
+ toolbar: [
66
+ ['bold', 'italic', 'underline', 'strike'], // 加粗 斜体 下划线 删除线
67
+ ["blockquote", "code-block"], // 引用
68
+ [{ list: 'ordered' }, { list: 'bullet' }], // 有序、无序列表
69
+ [{ script: "sub" }, { script: "super" }], // 上标/下标
70
+ [{ indent: '-1' }, { indent: '+1' }], // 缩进
71
+ [{ direction: 'rtl' }], // 文本方向
72
+ [{ size: fontSize }], // 字体大小
73
+ [{ header: [1, 2, 3, 4, 5, 6, false] }], // 标题
74
+ [{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
75
+ [{ font: [] }], // 字体种类
76
+ [{ align: [] }], // 对齐方式
77
+ ['clean'], // 清除文本格式
78
+ ['link', 'image'] // 链接、图片、视频
79
+ ]
80
+ },
81
+ theme: 'snow',
82
+ placeholder:designProperty.placeholder,
83
+ readOnly:designProperty.state=='readonly'
84
+ });
85
+
86
+ /**
87
+ * 计算并更新高度
88
+ */
89
+ function updateEditorHeight(){
90
+ //计算高度
91
+ if(quill&&quill.value){
92
+ if(quill.value.container){
93
+ //获取相对高度
94
+ const parentNode = quill.value.container.parentNode;
95
+ const parentRect = parentNode.getBoundingClientRect();
96
+
97
+ const thisRect = quill.value.container.getBoundingClientRect();
98
+ //计算高度
99
+ let newHeight = parentRect.height-(thisRect.top-parentRect.top);
100
+ if(newHeight<100){
101
+ newHeight = 100;
102
+ }
103
+ quill.value.container.style.height = newHeight+"px";
104
+ }
105
+ }
106
+ }
107
+
108
+ //上传图片
109
+ const imgHandler = (state) => {
110
+ if (fileBtn.value&&state) {
111
+ fileBtn.value.click();
112
+ }
113
+ }
114
+ //上传
115
+ const handleUpload = (e) => {
116
+ const files = Array.prototype.slice.call(e.target.files);
117
+ if (!files) {
118
+ return
119
+ }
120
+ const formdata = new FormData()
121
+ formdata.append('file', files[0]);
122
+ alert("TODO:上传图片")
123
+ //此处使用服务端提供上传接口
124
+ /**backsite.uploadFile(formdata)
125
+ .then(res => {
126
+ if (res.data.url) {
127
+ const quill = toRaw(myQuillEditor.value).getQuill()
128
+ const length = quill.getSelection().index
129
+ quill.insertEmbed(length, 'image', res.data.url)
130
+ quill.setSelection(length + 1)
131
+ }
132
+ })*/
133
+ }
134
+ //初始化编辑器
135
+ onMounted(() => {
136
+ quill.value = new Quill(quillEditorRef.value, option.value);
137
+ //添加上传文件
138
+ quill.value.getModule('toolbar').addHandler('image',imgHandler);
139
+ //绑定事件
140
+ quill.value.on('text-change', function(delta, oldDelta, source) {
141
+ //1秒后设置到缓存中
142
+ if(window.updateQuillTimeout){
143
+ clearTimeout(window.updateQuillTimeout);
144
+ }
145
+ window.updateQuillTimeout = setTimeout(function(){
146
+ setVariableValue(entity,dynamicFields,quill.value.root.innerHTML);
147
+ console.log("new entity",entity)
148
+ },1000);
149
+ });
150
+ //计算高度
151
+ updateEditorHeight();
152
+ });
153
+ </script>
@@ -0,0 +1,241 @@
1
+ <template>
2
+ <el-form-item
3
+ :required="designProperty.required ? true : false"
4
+ :class="runtimeClass"
5
+ :label-width="designProperty.labelWidth"
6
+ :style="runtimeStyle"
7
+ >
8
+ <template #label>
9
+ <div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
10
+ {{ designProperty.title }}
11
+ </div>
12
+ </template>
13
+ <el-select
14
+ :disabled="designProperty.state === 'disabled'"
15
+ :size="designProperty.size"
16
+ :clearable="designProperty.clearable"
17
+ :multiple="designProperty.multiple"
18
+ :collapse-tags="designProperty.collapseTags"
19
+ :collapse-tags-tooltip="designProperty.collapseTagsTooltip"
20
+ :filterable="designProperty.filterable"
21
+ :allow-create="designProperty.allowCreate"
22
+ :placeholder="designProperty.placeholder"
23
+ :remote-show-suffix="designProperty.remoteShowSuffix"
24
+ :remote="designProperty.remote"
25
+ :remote-method="designProperty.remoteMethod"
26
+ :loading="queryLoadingFlag"
27
+ @change="designProperty.changeMethod"
28
+ v-model="dynamicModelMethod"
29
+ >
30
+ <el-option
31
+ v-for="item in listOptions"
32
+ :key="item.value"
33
+ :label="item.label"
34
+ :value="item.value"
35
+ >
36
+ <template v-if="item._description_">
37
+ <span style="float: left">{{ item.label }}</span>
38
+ <span style="float: right; color: var(--el-text-color-secondary); font-size: 13px">
39
+ {{ item._description_ }}
40
+ </span>
41
+ </template>
42
+ </el-option>
43
+ </el-select>
44
+ </el-form-item>
45
+ </template>
46
+ <script lang="ts" setup>
47
+ import { ref, computed, watch } from 'vue'
48
+ import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
49
+ import { queryOptionDatasources, autoSetAfterSelect } from '../../../../utils/page-helper-util'
50
+ import { getFormModelFields } from '../../../../utils/page-init-util'
51
+ import {
52
+ getVariableValue,
53
+ setVariableValue,
54
+ getOptionDatasFromPage
55
+ } from '../../../../utils/page-helper-util'
56
+
57
+ //定义的属性对象
58
+ interface MyProps {
59
+ //页面对象
60
+ pageContext: PageContext
61
+ configure: Component
62
+ }
63
+
64
+ const props = defineProps<MyProps>()
65
+
66
+ const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
67
+ let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
68
+
69
+ //绑定模型的字段
70
+ const dynamicModelMethod = computed({
71
+ get() {
72
+ return getVariableValue(entity, dynamicFields)
73
+ },
74
+ set(value) {
75
+ setVariableValue(entity, dynamicFields, value)
76
+ }
77
+ })
78
+
79
+ //运行时信息
80
+ const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
81
+ const runtimeStyle = runtimeInfo.style
82
+ const runtimeClass = runtimeInfo.class
83
+ const headerStyle = runtimeInfo.headerStyle
84
+ const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
85
+ //选项组数据
86
+ const listOptions: any = ref(designProperty.options ? designProperty.options : [])
87
+ //缓存中有值时,从缓存中获取
88
+ const cacheOptions: any = getOptionDatasFromPage(props.pageContext, props.configure)
89
+ if (cacheOptions.length > 0) {
90
+ listOptions.value = cacheOptions
91
+ }
92
+
93
+ const queryLoadingFlag = ref(false)
94
+ //检查是否需要绑定远程查询对象
95
+ const dataOrigin =
96
+ props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {}
97
+ const valueType = dataOrigin.optionValueSetType
98
+ //检查是否有自动设置值
99
+ let autoSets: any = []
100
+
101
+ //开启动态查询
102
+ //查询的参数
103
+ const optionconfigInfo = designProperty.optionconfigInfo ? designProperty.optionconfigInfo : {}
104
+ //远程时固定开启模糊查询
105
+ if (valueType == 'dynamicData' || valueType == 'dataTable' || valueType == 'service') {
106
+ if (dataOrigin.filterType == 'remote') {
107
+ designProperty.filterable = true
108
+ designProperty.remote = true
109
+ designProperty.remoteShowSuffix = true
110
+ let hisQuery: any = undefined
111
+ designProperty.remoteMethod = function (query: string) {
112
+ //判断是否和之前的查询条件一致
113
+ if (hisQuery === query) {
114
+ return
115
+ }
116
+ hisQuery = query
117
+ queryLoadingFlag.value = true
118
+ console.log('query', query)
119
+ queryOptionDatasources(props.pageContext, optionconfigInfo, query)
120
+ .then((results) => {
121
+ queryLoadingFlag.value = false
122
+ })
123
+ .then((error) => {
124
+ console.log('查询失败!', error)
125
+ queryLoadingFlag.value = false
126
+ })
127
+ }
128
+ }
129
+ if (dataOrigin.autoSets) {
130
+ for (let obj of dataOrigin.autoSets) {
131
+ if (obj.source) {
132
+ autoSets.push(obj)
133
+ }
134
+ }
135
+ }
136
+ }
137
+ //检查是否有绑定标签的变量
138
+ if (
139
+ props.configure &&
140
+ props.configure.props &&
141
+ props.configure.props.base &&
142
+ props.configure.props.base.optionProp
143
+ ) {
144
+ autoSets.push({
145
+ source: 'label',
146
+ target: props.configure.props.base.optionProp
147
+ })
148
+ }
149
+
150
+ if (autoSets.length > 0) {
151
+ designProperty.changeMethod = optionChange
152
+ }
153
+
154
+ //监控字段
155
+ const monitorFields: any = designProperty.monitorFields
156
+ const monitorFieldInfos: any = []
157
+ //监控对应的字段变化
158
+ if (monitorFields) {
159
+ const preFields: any = []
160
+ for (let propName of monitorFields) {
161
+ if (propName.startsWith('${')) {
162
+ propName = propName.substring(2, propName.length - 1)
163
+ const fields = propName.split('.')
164
+ if (fields[0] === 'page' || fields[0] === 'task' || fields[0] === 'data') {
165
+ monitorFieldInfos.push(fields)
166
+ if (!preFields.includes(fields[0])) {
167
+ preFields.push(fields[0])
168
+ }
169
+ }
170
+ }
171
+ }
172
+ //监控对应的字段
173
+ for (let preField of preFields) {
174
+ watch(entity[preField], () => {
175
+ monitorFieldChange()
176
+ })
177
+ }
178
+ }
179
+
180
+ /**
181
+ * 获取监控的数据值
182
+ */
183
+ function getMonitorFieldValues(): any {
184
+ let values = ''
185
+ for (let fieldInfo of monitorFieldInfos) {
186
+ values += '_' + getVariableValue(entity, fieldInfo)
187
+ }
188
+ return values
189
+ }
190
+
191
+ //初始化时检查一次
192
+ let initMonitorValue: string = getMonitorFieldValues()
193
+
194
+ let monitorTimeout: any = false
195
+ /**
196
+ * 监控数据变化时
197
+ */
198
+ function monitorFieldChange() {
199
+ if (monitorTimeout) {
200
+ clearTimeout(monitorTimeout)
201
+ }
202
+ //延迟200毫秒执行
203
+ monitorTimeout = setTimeout(function () {
204
+ const newValue = getMonitorFieldValues()
205
+ if (newValue == initMonitorValue) {
206
+ return
207
+ }
208
+ initMonitorValue = newValue
209
+ queryOptionDatasources(props.pageContext, optionconfigInfo, undefined).then((error) => {
210
+ console.log('查询失败!', error)
211
+ queryLoadingFlag.value = false
212
+ })
213
+ }, 200)
214
+ }
215
+
216
+ //数据选择变化后自动设置值
217
+ function optionChange(value: any) {
218
+ let selItems: any = null
219
+ if (listOptions.value && value != undefined && value != null) {
220
+ selItems = listOptions.value.filter((item: any) => {
221
+ return Array.isArray(value) ? value.includes(item.value) : value === item.value
222
+ })
223
+ }
224
+ autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems)
225
+ }
226
+
227
+ /**
228
+ * 更新选项组
229
+ */
230
+ function updateOptions(newOptions: any) {
231
+ listOptions.value = newOptions ? newOptions : []
232
+ console.log('updateOptions', newOptions)
233
+ }
234
+
235
+ /**
236
+ * 暴露更新选项组内容的方法
237
+ */
238
+ defineExpose({
239
+ updateOptions
240
+ })
241
+ </script>
@@ -0,0 +1,16 @@
1
+ <template>
2
+ <el-form-item :label="configure.title" :label-position="right">
3
+ <el-slider v-model="configure.fieldName" />
4
+ </el-form-item>
5
+ </template>
6
+ <script lang='ts' setup>
7
+ const props = defineProps({
8
+ configure:Object
9
+ });
10
+ if(props.configure.title==undefined){
11
+ props.configure.title = '';
12
+ }
13
+ </script>
14
+ <style scoped>
15
+
16
+ </style>
@@ -0,0 +1,58 @@
1
+ <template>
2
+ <el-form-item
3
+ :required="designProperty.required"
4
+ :class="runtimeClass"
5
+ :label-width="designProperty.labelWidth"
6
+ :style="runtimeStyle">
7
+ <template #label>
8
+ <div v-if="designProperty.tittleShow" :style="{...headerStyle}">
9
+ {{ designProperty.title}}
10
+ </div>
11
+ </template>
12
+ <el-switch
13
+ :disabled="designProperty.state === 'disabled'"
14
+ :active-value:="designProperty.activeValue"
15
+ :active-text="designProperty.activeText"
16
+ :inactive-value="designProperty.inactiveValue"
17
+ :inactive-text="designProperty.inactiveText"
18
+ :width="designProperty.offOnWidth"
19
+ :size="designProperty.size"
20
+ :style="switchStyle"
21
+ v-model="dynamicModelMethod" />
22
+ </el-form-item>
23
+ </template>
24
+ <script lang='ts' setup>
25
+ import {computed} from "vue";
26
+ import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
27
+ import { getFormModelFields} from '../../../../utils/page-init-util';
28
+ import { getVariableValue,setVariableValue} from '../../../../utils/page-helper-util';
29
+
30
+ //定义的属性对象
31
+ interface MyProps{
32
+ //页面对象
33
+ pageContext:PageContext,
34
+ configure:Component
35
+ }
36
+
37
+ const props = defineProps<MyProps>();
38
+
39
+ const entity:any = props.pageContext.entity?props.pageContext.entity:{};
40
+ let dynamicFields:string[] = getFormModelFields(props.pageContext,props.configure);
41
+
42
+ //绑定模型的字段
43
+ const dynamicModelMethod = computed({
44
+ get(){
45
+ return getVariableValue(entity,dynamicFields);
46
+ },
47
+ set(value){
48
+ setVariableValue(entity,dynamicFields,value);
49
+ }
50
+ });
51
+ //运行时信息
52
+ const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
53
+ const runtimeStyle = runtimeInfo.style;
54
+ const runtimeClass = runtimeInfo.class;
55
+ const headerStyle = runtimeInfo.headerStyle;
56
+ const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
57
+ const switchStyle = runtimeInfo.switchStyle;
58
+ </script>