super-page-runtime 1.0.16 → 1.3.13

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 (632) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
  3. package/dist/es/assets/chart-themes/theme1.js +4 -0
  4. package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
  5. package/dist/es/assets/chart-themes/theme2.js +4 -0
  6. package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
  7. package/dist/es/assets/chart-themes/theme3.js +4 -0
  8. package/dist/es/assets/file.png.js +4 -0
  9. package/dist/es/assets/folder.png.js +4 -0
  10. package/dist/es/components/runtime/index.d.ts +5 -0
  11. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -0
  12. package/dist/es/components/runtime/utils/api/api-util.js +4 -0
  13. package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  14. package/dist/es/components/runtime/utils/api/page-expose-util.js +159 -0
  15. package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
  16. package/dist/es/components/runtime/utils/barcode-util.d.ts +8 -0
  17. package/dist/es/components/runtime/utils/barcode-util.js +12 -0
  18. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +140 -0
  19. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +37 -0
  20. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +81 -0
  21. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +55 -0
  22. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +46 -0
  23. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +113 -0
  24. package/dist/es/components/runtime/utils/charts/chart-util.js +274 -0
  25. package/dist/es/components/runtime/utils/common-util.d.ts +33 -0
  26. package/dist/es/components/runtime/utils/common-util.js +120 -0
  27. package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
  28. package/dist/es/components/runtime/utils/eventBus.js +5 -0
  29. package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +45 -1
  30. package/dist/es/components/runtime/utils/events/event-util.js +403 -0
  31. package/dist/es/components/runtime/utils/events/print-label.d.ts +5 -0
  32. package/dist/es/components/runtime/utils/events/print-label.js +100 -0
  33. package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +29 -3
  34. package/dist/es/components/runtime/utils/events/standard-event.js +971 -0
  35. package/dist/es/components/runtime/utils/events/validator-util.d.ts +25 -0
  36. package/dist/es/components/runtime/utils/events/validator-util.js +309 -0
  37. package/dist/es/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  38. package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
  39. package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
  40. package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +6 -0
  41. package/dist/es/components/runtime/utils/global-refs.js +57 -0
  42. package/dist/es/components/runtime/utils/i18n-util.d.ts +1 -0
  43. package/dist/es/components/runtime/utils/i18n-util.js +14 -0
  44. package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +32 -6
  45. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
  46. package/dist/es/components/runtime/utils/page-helper-util.d.ts +174 -0
  47. package/dist/es/components/runtime/utils/page-helper-util.js +386 -0
  48. package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +12 -2
  49. package/dist/es/components/runtime/utils/page-init-util.js +203 -0
  50. package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
  51. package/dist/es/components/runtime/utils/page-permission-util.js +30 -0
  52. package/dist/es/components/runtime/utils/page-store.d.ts +46 -0
  53. package/dist/es/components/runtime/utils/page-store.js +26 -0
  54. package/dist/es/components/runtime/utils/store-util.js +13 -0
  55. package/dist/es/components/runtime/utils/store.js +4 -0
  56. package/dist/es/components/runtime/utils/table-utils.d.ts +34 -0
  57. package/dist/es/components/runtime/utils/table-utils.js +80 -0
  58. package/dist/es/components/runtime/utils/tree-utils.js +73 -0
  59. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  60. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +27 -0
  61. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
  62. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +21 -0
  63. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  64. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -0
  65. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
  66. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +6 -0
  67. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  68. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +21 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
  75. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
  76. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
  78. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +63 -0
  79. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
  80. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +35 -0
  81. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
  82. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +46 -0
  83. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
  84. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +35 -0
  85. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
  86. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +35 -0
  87. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  88. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +419 -0
  89. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
  90. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +4 -0
  91. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
  92. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +4 -0
  93. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +45 -0
  94. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +4 -0
  95. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +15 -0
  96. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +4 -0
  97. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
  98. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +255 -0
  99. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  100. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
  101. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
  102. package/{lib → dist/es}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +5 -5
  103. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +24 -0
  104. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
  105. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  106. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
  107. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +4 -0
  108. package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +5 -5
  109. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
  110. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
  111. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +29 -0
  113. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  114. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +21 -0
  115. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
  116. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +18 -0
  117. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
  118. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +29 -0
  119. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  120. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
  121. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +81 -0
  122. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  123. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +25 -0
  124. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  125. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +20 -0
  126. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  127. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +14 -0
  128. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
  129. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +96 -0
  130. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
  131. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +35 -0
  132. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  133. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +69 -0
  134. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +378 -0
  135. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
  136. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +300 -0
  137. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
  138. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  139. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +82 -0
  140. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
  141. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +134 -0
  142. package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
  143. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
  144. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
  145. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  146. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +50 -0
  147. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
  148. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +4 -0
  149. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
  150. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +69 -0
  151. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +90 -0
  153. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  154. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +55 -0
  155. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  156. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +24 -0
  157. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
  159. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +28 -0
  161. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +82 -0
  163. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
  164. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +37 -0
  165. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  166. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +32 -0
  167. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
  168. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +16 -0
  169. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  170. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +73 -0
  171. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
  172. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +102 -0
  173. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
  174. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +97 -0
  175. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  176. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +16 -0
  177. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  178. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +36 -0
  179. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  180. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +44 -0
  181. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
  182. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +28 -0
  183. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  184. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
  185. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
  186. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  187. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +129 -0
  188. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
  189. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  190. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +20 -0
  191. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  192. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +23 -0
  193. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
  194. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +24 -0
  195. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
  196. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +18 -0
  197. package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
  198. package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
  199. package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
  200. package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +7 -3
  201. package/dist/es/components/runtime/views/super-page-dialog.vue.js +26 -0
  202. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +5 -0
  203. package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +43 -10
  204. package/dist/es/components/runtime/views/super-page.vue.js +7 -0
  205. package/dist/es/components/runtime/views/super-page.vue2.js +262 -0
  206. package/dist/es/i18n/langs/cn.js +4 -0
  207. package/dist/es/i18n/langs/en.js +4 -0
  208. package/dist/es/index.d.ts +16 -0
  209. package/dist/es/index.js +30 -0
  210. package/dist/es/style.css +633 -0
  211. package/package.json +74 -67
  212. package/.eslintrc.cjs +0 -26
  213. package/.prettierrc.json +0 -8
  214. package/App.vue +0 -9
  215. package/components/index.ts +0 -17
  216. package/components/runtime/index.ts +0 -2
  217. package/components/runtime/utils/assemblys-config.js +0 -294
  218. package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
  219. package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
  220. package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
  221. package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
  222. package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
  223. package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
  224. package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
  225. package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
  226. package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
  227. package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
  228. package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
  229. package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
  230. package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
  231. package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
  232. package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
  233. package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
  234. package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
  235. package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
  236. package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
  237. package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
  238. package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
  239. package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
  240. package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
  241. package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
  242. package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
  243. package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
  244. package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
  245. package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
  246. package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
  247. package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
  248. package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
  249. package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
  250. package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
  251. package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
  252. package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
  253. package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
  254. package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
  255. package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
  256. package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
  257. package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
  258. package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
  259. package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
  260. package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
  261. package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
  262. package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
  263. package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
  264. package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
  265. package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
  266. package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
  267. package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
  268. package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
  269. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
  270. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
  271. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
  272. package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
  273. package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
  274. package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
  275. package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
  276. package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
  277. package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
  278. package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
  279. package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
  280. package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
  281. package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
  282. package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
  283. package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
  284. package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
  285. package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
  286. package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
  287. package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
  288. package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
  289. package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
  290. package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
  291. package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
  292. package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
  293. package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
  294. package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
  295. package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
  296. package/components/runtime/views/assemblys/error-attr.vue +0 -15
  297. package/components/runtime/views/assemblys/error-render.vue +0 -17
  298. package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
  299. package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
  300. package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
  301. package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
  302. package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
  303. package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
  304. package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
  305. package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
  306. package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
  307. package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
  308. package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
  309. package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
  310. package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
  311. package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
  312. package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
  313. package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
  314. package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
  315. package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
  316. package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
  317. package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
  318. package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
  319. package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
  320. package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
  321. package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
  322. package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
  323. package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
  324. package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
  325. package/components/runtime/views/assemblys/form/common/title.vue +0 -20
  326. package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
  327. package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
  328. package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
  329. package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
  330. package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
  331. package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
  332. package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
  333. package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
  334. package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
  335. package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
  336. package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
  337. package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
  338. package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
  339. package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
  340. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
  341. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
  342. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
  343. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
  344. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
  345. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
  346. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
  347. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
  348. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
  349. package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
  350. package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
  351. package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
  352. package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
  353. package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
  354. package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
  355. package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
  356. package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
  357. package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
  358. package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
  359. package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
  360. package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
  361. package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
  362. package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
  363. package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
  364. package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
  365. package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
  366. package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
  367. package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
  368. package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
  369. package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
  370. package/components/runtime/views/assemblys/object-render.vue +0 -176
  371. package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
  372. package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
  373. package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
  374. package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
  375. package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
  376. package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
  377. package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
  378. package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
  379. package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
  380. package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
  381. package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
  382. package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
  383. package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
  384. package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
  385. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
  386. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
  387. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
  388. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
  389. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
  390. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
  391. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
  392. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
  393. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
  394. package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
  395. package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
  396. package/components/runtime/views/render/page-view.vue +0 -80
  397. package/components/runtime/views/super-page copy.vue +0 -61
  398. package/components/runtime/views/super-page.vue +0 -667
  399. package/components/super-page-dialog/index.ts +0 -2
  400. package/components/super-page-dialog/super-page-dialog.vue +0 -267
  401. package/components/wf-editor/index.ts +0 -2
  402. package/components/wf-editor/wf-editor.vue +0 -15
  403. package/cypress/e2e/example.cy.ts +0 -8
  404. package/cypress/e2e/tsconfig.json +0 -10
  405. package/cypress/fixtures/example.json +0 -5
  406. package/cypress/support/commands.ts +0 -39
  407. package/cypress/support/e2e.ts +0 -20
  408. package/cypress.config.ts +0 -8
  409. package/env.d.ts +0 -1
  410. package/index.html +0 -13
  411. package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  412. package/lib/components/index.d.ts +0 -5
  413. package/lib/components/runtime/index.d.ts +0 -3
  414. package/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  415. package/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  416. package/lib/components/super-page-dialog/index.d.ts +0 -3
  417. package/lib/components/wf-editor/index.d.ts +0 -3
  418. package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  419. package/lib/index.js +0 -8
  420. package/lib/runtime/index.js +0 -3
  421. package/lib/runtime/utils/assemblys-config.js +0 -258
  422. package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  423. package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  424. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  425. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  426. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  427. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  428. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  429. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
  430. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  431. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
  432. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  433. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
  434. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  435. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
  436. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  437. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
  438. package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -141
  439. package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  440. package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  441. package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  442. package/lib/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  443. package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  444. package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  445. package/lib/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  446. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  447. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
  448. package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  449. package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
  450. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  451. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
  452. package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  453. package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
  454. package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  455. package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -29
  456. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  457. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
  458. package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  459. package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -74
  460. package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -640
  461. package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  462. package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -452
  463. package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  464. package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  465. package/lib/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -82
  466. package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
  467. package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
  468. package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  469. package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
  470. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  471. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  472. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  473. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
  474. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  475. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  476. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  477. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  478. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  479. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  480. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  481. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  482. package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  483. package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
  484. package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  485. package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  486. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  487. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  488. package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  489. package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
  490. package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  491. package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -174
  492. package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  493. package/lib/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
  494. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  495. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  496. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  497. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  498. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  499. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  500. package/lib/runtime/views/assemblys/object-render.vue.js +0 -142
  501. package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
  502. package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  503. package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
  504. package/lib/runtime/views/super-page.vue.js +0 -479
  505. package/lib/runtime/views/super-page.vue2.js +0 -3
  506. package/lib/src/assets/chart-themes/theme1.js +0 -7
  507. package/lib/src/assets/chart-themes/theme2.js +0 -7
  508. package/lib/src/assets/chart-themes/theme3.js +0 -7
  509. package/lib/src/utils/api/api-util.d.ts +0 -11
  510. package/lib/src/utils/api/api-util.js +0 -128
  511. package/lib/src/utils/charts/chart-util.js +0 -15
  512. package/lib/src/utils/common-util.d.ts +0 -11
  513. package/lib/src/utils/common-util.js +0 -81
  514. package/lib/src/utils/events/event-util.js +0 -525
  515. package/lib/src/utils/events/standard-event.js +0 -1623
  516. package/lib/src/utils/events/validator-util.d.ts +0 -4
  517. package/lib/src/utils/events/validator-util.js +0 -389
  518. package/lib/src/utils/global-refs.js +0 -65
  519. package/lib/src/utils/interfaces/page-design-types.js +0 -9
  520. package/lib/src/utils/page-helper-util.d.ts +0 -87
  521. package/lib/src/utils/page-helper-util.js +0 -503
  522. package/lib/src/utils/page-init-util.js +0 -200
  523. package/lib/src/utils/store-util.js +0 -17
  524. package/lib/src/utils/store.js +0 -3
  525. package/lib/src/utils/table-utils.js +0 -23
  526. package/lib/super-page-dialog/index.js +0 -3
  527. package/lib/super-page-dialog/super-page-dialog.vue.js +0 -73
  528. package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
  529. package/lib/wf-editor/index.js +0 -3
  530. package/lib/wf-editor/wf-editor.css +0 -4
  531. package/lib/wf-editor/wf-editor.vue.js +0 -15
  532. package/main.ts +0 -11
  533. package/package-ws.json +0 -70
  534. package/public/favicon.ico +0 -0
  535. package/src/assets/base.css +0 -86
  536. package/src/assets/chart-themes/theme1.ts +0 -6
  537. package/src/assets/chart-themes/theme2.ts +0 -6
  538. package/src/assets/chart-themes/theme3.ts +0 -6
  539. package/src/assets/images/button/button-group.png +0 -0
  540. package/src/assets/images/button/button.png +0 -0
  541. package/src/assets/images/chart/chart-column.png +0 -0
  542. package/src/assets/images/chart/chart-gauge.png +0 -0
  543. package/src/assets/images/chart/chart-pie.png +0 -0
  544. package/src/assets/images/chart/chart-radar.png +0 -0
  545. package/src/assets/images/chart/chart-scatter.png +0 -0
  546. package/src/assets/images/container/container-card.png +0 -0
  547. package/src/assets/images/container/container-collapse.png +0 -0
  548. package/src/assets/images/container/container-container.png +0 -0
  549. package/src/assets/images/container/container-flex.png +0 -0
  550. package/src/assets/images/container/container-form.png +0 -0
  551. package/src/assets/images/container/container-iframe.png +0 -0
  552. package/src/assets/images/container/container-normal.png +0 -0
  553. package/src/assets/images/container/container-tabs.png +0 -0
  554. package/src/assets/images/container/container-tools.png +0 -0
  555. package/src/assets/images/data/data-process.png +0 -0
  556. package/src/assets/images/data/data-step.png +0 -0
  557. package/src/assets/images/data/data-table-column.png +0 -0
  558. package/src/assets/images/data/data-table.png +0 -0
  559. package/src/assets/images/data/data-timeline.png +0 -0
  560. package/src/assets/images/data/data-tree.png +0 -0
  561. package/src/assets/images/form/form-cascader.png +0 -0
  562. package/src/assets/images/form/form-check.png +0 -0
  563. package/src/assets/images/form/form-color.png +0 -0
  564. package/src/assets/images/form/form-count.png +0 -0
  565. package/src/assets/images/form/form-custom.png +0 -0
  566. package/src/assets/images/form/form-date.png +0 -0
  567. package/src/assets/images/form/form-dept.png +0 -0
  568. package/src/assets/images/form/form-divider.png +0 -0
  569. package/src/assets/images/form/form-file.png +0 -0
  570. package/src/assets/images/form/form-image-upload.png +0 -0
  571. package/src/assets/images/form/form-img.png +0 -0
  572. package/src/assets/images/form/form-input.png +0 -0
  573. package/src/assets/images/form/form-label.png +0 -0
  574. package/src/assets/images/form/form-link.png +0 -0
  575. package/src/assets/images/form/form-radio.png +0 -0
  576. package/src/assets/images/form/form-scan.png +0 -0
  577. package/src/assets/images/form/form-score.png +0 -0
  578. package/src/assets/images/form/form-select.png +0 -0
  579. package/src/assets/images/form/form-slider.png +0 -0
  580. package/src/assets/images/form/form-space.png +0 -0
  581. package/src/assets/images/form/form-switch.png +0 -0
  582. package/src/assets/images/form/form-text.png +0 -0
  583. package/src/assets/images/form/form-textarea.png +0 -0
  584. package/src/assets/images/form/form-transfer.png +0 -0
  585. package/src/assets/images/form/form-zoom.png +0 -0
  586. package/src/assets/images/group-button.png +0 -0
  587. package/src/assets/images/group-chart.png +0 -0
  588. package/src/assets/images/group-container.png +0 -0
  589. package/src/assets/images/group-data.png +0 -0
  590. package/src/assets/images/group-form.png +0 -0
  591. package/src/assets/images/group-workflow.png +0 -0
  592. package/src/assets/images/workflow/workflow-button.png +0 -0
  593. package/src/assets/images/workflow/workflow-history-texts.png +0 -0
  594. package/src/assets/images/workflow/workflow-history.png +0 -0
  595. package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
  596. package/src/assets/images/workflow/workflow-texthistory .png +0 -0
  597. package/src/assets/logo.svg +0 -1
  598. package/src/assets/main.css +0 -1
  599. package/src/i18n/langs/cn.js +0 -52
  600. package/src/i18n/langs/en.js +0 -52
  601. package/src/stores/counter.ts +0 -12
  602. package/src/utils/api/api-util.ts +0 -176
  603. package/src/utils/charts/chart-util.ts +0 -41
  604. package/src/utils/common-util.ts +0 -96
  605. package/src/utils/container-style-util.ts +0 -237
  606. package/src/utils/eventBus.ts +0 -14
  607. package/src/utils/events/event-util.ts +0 -790
  608. package/src/utils/events/jump-page-util.ts +0 -0
  609. package/src/utils/events/standard-event.ts +0 -2075
  610. package/src/utils/events/validator-util.ts +0 -474
  611. package/src/utils/global-refs.ts +0 -160
  612. package/src/utils/interfaces/page-design-types.ts +0 -259
  613. package/src/utils/page-helper-util.ts +0 -850
  614. package/src/utils/page-init-util.ts +0 -291
  615. package/src/utils/page-permission-util.ts +0 -521
  616. package/src/utils/store-util.ts +0 -41
  617. package/src/utils/store.ts +0 -3
  618. package/src/utils/table-utils.ts +0 -31
  619. package/tsconfig copy.json +0 -17
  620. package/tsconfig.app copy.json +0 -14
  621. package/tsconfig.app.json +0 -14
  622. package/tsconfig.json +0 -17
  623. package/tsconfig.node copy.json +0 -19
  624. package/tsconfig.node.json +0 -19
  625. package/tsconfig.vitest copy.json +0 -11
  626. package/tsconfig.vitest.json +0 -11
  627. package/vite.config copy.ts +0 -109
  628. package/vite.config.ts +0 -86
  629. package/vitest.config.ts +0 -14
  630. /package/{lib/src → dist/es/components/runtime}/utils/store-util.d.ts +0 -0
  631. /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
  632. /package/{lib → dist/es}/favicon.ico +0 -0
@@ -0,0 +1,38 @@
1
+ import { defineComponent as e, computed as l, resolveComponent as r, createElementBlock as t, openBlock as p, Fragment as o, createBlock as u, createCommentVNode as a, unref as i, isRef as n } from "vue";
2
+ import { formatVariableValue as s, setVariableValue as y, getVariableValue as f } from "../../../../utils/page-helper-util.js";
3
+ const x = e({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(e2) {
4
+ const x2 = e2, c = x2.pageContext.entity;
5
+ let d = [];
6
+ if (x2.property.prefixPro && x2.property.prefixPro.startsWith("${")) {
7
+ let e3 = x2.property.prefixPro;
8
+ e3 = e3.substring(2, e3.length - 1), d = e3.split(".");
9
+ } else d = [];
10
+ if (d.length > 0 && x2.property.prefixDefault) {
11
+ const e3 = x2.property.prefixDefault;
12
+ let l2 = s(x2.pageContext, e3);
13
+ if (null != l2 && null != l2) {
14
+ "checkbox" === x2.property.prefixType && (l2 = (l2 + "").split(",")), y(c, d, l2);
15
+ }
16
+ }
17
+ const m = x2.property.prefixType;
18
+ let h = x2.property.prefixValue;
19
+ h = null == h || null == h ? "" : h;
20
+ let b = null;
21
+ return d.length > 0 && (b = l({ get() {
22
+ const e3 = f(c, d);
23
+ return "checkbox" === m ? null != e3 && (Array.isArray(e3) ? e3.includes(h) : e3 === h) : e3;
24
+ }, set(e3) {
25
+ if ("checkbox" === m) {
26
+ let l2 = f(c, d);
27
+ l2 || (l2 = []), Array.isArray(l2) || (l2 = [l2]);
28
+ const r2 = l2.indexOf(h);
29
+ e3 ? -1 == r2 && l2.push(h) : r2 > -1 && l2.splice(r2, 1), y(c, d, l2);
30
+ } else y(c, d, e3);
31
+ } })), (l2, s2) => {
32
+ const y2 = r("el-radio"), f2 = r("el-checkbox");
33
+ return p(), t(o, null, ["radio" === e2.property.prefixType ? (p(), u(y2, { key: 0, value: e2.property.prefixValue, label: e2.property.title, modelValue: i(b), "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => n(b) ? b.value = e3 : b = e3) }, null, 8, ["value", "label", "modelValue"])) : a("", true), "checkbox" === e2.property.prefixType ? (p(), u(f2, { key: 1, label: e2.property.title, value: e2.property.prefixValue, modelValue: i(b), "onUpdate:modelValue": s2[1] || (s2[1] = (e3) => n(b) ? b.value = e3 : b = e3) }, null, 8, ["label", "value", "modelValue"])) : a("", true)], 64);
34
+ };
35
+ } });
36
+ export {
37
+ x as default
38
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./title-suffix-element.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./custom-runtime.vue2.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,69 @@
1
+ import { defineComponent as e, computed as t, ref as o, onMounted as n, nextTick as a, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as f, unref as d, withCtx as m, resolveDynamicComponent as g, toDisplayString as v } from "vue";
2
+ import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
+ import { setVariableValue as x, getVariableValue as y, formatVariableValue as b, getFormPropName as h, setVariableValueWithProp as j } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as R, handleEvent as k } from "../../../../utils/events/event-util.js";
5
+ import { updateFormItemEditState as V } from "../../../../utils/events/validator-util.js";
6
+ import { getListCode as _ } from "../../../../utils/common-util.js";
7
+ import { getComponentRef as D } from "../../../../utils/global-refs.js";
8
+ import { getAdditionalParamMap as w } from "../../../../utils/events/standard-event.js";
9
+ import { $t as E } from "../../../../utils/i18n-util.js";
10
+ import F from "../../../../utils/eventBus.js";
11
+ import { functions as S } from "../../../../utils/api/page-expose-util.js";
12
+ const U = { key: 0, style: { width: "100%", height: "100%" } }, q = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, $ = e({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: $2 }) {
13
+ const O = e2, z = O.pageContext.entity ? O.pageContext.entity : {}, G = C(O.pageContext, O.configure), H = t({ get: () => y(z, G), set(e3) {
14
+ x(z, G, e3);
15
+ } }), P = O.configure.runtime ? O.configure.runtime : {}, I = P.style, A = P.class, B = P.headerStyle, W = o(P.props ? P.props : {}), J = function(e3) {
16
+ let t2 = {};
17
+ if (e3) for (let o2 in e3) {
18
+ const n2 = e3[o2];
19
+ t2[o2] = b(O.pageContext, n2);
20
+ }
21
+ return t2;
22
+ }(P.customParams ? P.customParams : {}), K = w(O.pageContext), L = o(O.configure.props && O.configure.props.base ? O.configure.props.base.name : null);
23
+ function M(e3, t2) {
24
+ j(z, e3, t2);
25
+ }
26
+ function N(e3) {
27
+ S.isHasFieldAuthPermission(O.configure) ? V(O.pageContext, e3) : console.error("没有该字段的权限,dynamicFields=", G ? G.join(".") : "");
28
+ }
29
+ function Q() {
30
+ const e3 = O.pageContext.tableUuids;
31
+ e3 && e3.forEach((e4) => {
32
+ const t2 = _(O.pageContext.code, O.pageContext.version, O.configure.uuid), o2 = D(O.pageContext, e4);
33
+ o2 && o2.restoreGridEdit(t2);
34
+ });
35
+ }
36
+ O.configure.props.verification.custom && O.configure.props.verification.custom.enabled && (O.pageContext.customValidatorUuids || (O.pageContext.customValidatorUuids = []), O.pageContext.customValidatorUuids.push(O.configure.uuid));
37
+ const T = O.pageContext.code, X = o(G && G.length > 0 ? T + "__" + G.join("__") : null), Y = o(null), Z = o(null), ee = o(null);
38
+ function te(e3) {
39
+ k(H.value, O.pageContext, O.configure, e3);
40
+ }
41
+ return n(() => {
42
+ F.$on(X.value + "-scanDone", (e3) => {
43
+ const t2 = e3.result;
44
+ x(z, G, t2);
45
+ }), F.$on(X.value + "-pickFileDone", (e3) => {
46
+ X.value, Y.value.pickFileDone(e3);
47
+ }), a(() => {
48
+ const e3 = H.value;
49
+ R(e3, O.pageContext, O.configure, { formItemRef: Z.value, componentRef: Y.value, titleRef: ee.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
50
+ });
51
+ }), i(() => {
52
+ F.$off(X.value + "-scanDone"), F.$off(X.value + "-pickFileDone");
53
+ }), $2({ getCustomRef: function() {
54
+ return Y.value;
55
+ }, invokeCustomFunction: function(e3, ...t2) {
56
+ if (Y.value && "function" == typeof Y.value[e3]) return Y.value[e3](...t2);
57
+ throw new Error(`执行失败:Function '${e3}' not found in custom component`);
58
+ }, hasCustomFunction: function(e3) {
59
+ return Y.value && "function" == typeof Y.value[e3];
60
+ }, addRequiredClass: function() {
61
+ requiredClass.value = addRequiredClassUtil();
62
+ } }), (t2, o2) => {
63
+ const n2 = u("el-form-item");
64
+ return W.value.tittleShow ? (p(), l(n2, { key: 0, ref_key: "formItemRef", ref: Z, required: W.value.required, class: f(d(A)), "label-width": W.value.labelWidth, style: c(d(I)) }, { label: m(() => [W.value.tittleShow ? (p(), r("div", { key: 0, ref_key: "titleRef", ref: ee, style: c({ ...d(B) }) }, v(d(E)(W.value.title)), 5)) : s("", true)]), default: m(() => [L.value ? (p(), r("div", U, [(p(), l(g(L.value), { ref_key: "customRef", ref: Y, size: W.value.size, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: d(h)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": d(J), modelValue: H.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => H.value = e3), disabled: "disabled" === W.value.state, "additional-param-map": d(K), "component-id": X.value, onSetEntityValue: M, onSetCustomRules: N, onRestoreGridEdit: Q, onHandleEvent: te, onChange: o2[1] || (o2[1] = (t3) => d(k)(H.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : L.value ? (p(), r("div", q, [(p(), l(g(L.value), { ref_key: "customRef", ref: Y, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: d(h)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": d(J), modelValue: H.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => H.value = e3), disabled: "disabled" === W.value.state, "additional-param-map": d(K), "component-id": X.value, onSetEntityValue: M, onSetCustomRules: N, onRestoreGridEdit: Q, onHandleEvent: te, onChange: o2[3] || (o2[3] = (t3) => d(k)(H.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
65
+ };
66
+ } });
67
+ export {
68
+ $ as default
69
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./datepicker-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,90 @@
1
+ import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as r, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as p, unref as s, withCtx as c, createElementBlock as d, createCommentVNode as v, Fragment as f, createTextVNode as g, toDisplayString as m } from "vue";
2
+ import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
+ import { getDateShortCuts as y } from "../../../../utils/form/date-shortcuts.js";
4
+ import { getModelFieldFromPageContext as C, getValueFromVariable as x, setVariableValue as b, getVariableValue as F, isDateDataType as k } from "../../../../utils/page-helper-util.js";
5
+ import { handleAfterInitEvent as T, getCustomFunc as V, handleFormEvent as j } from "../../../../utils/events/event-util.js";
6
+ import R from "../common/title-suffix-element.vue.js";
7
+ import Y from "dayjs";
8
+ import { $t as _ } from "../../../../utils/i18n-util.js";
9
+ import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
10
+ const P = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: P2 }) {
11
+ const S = e2, w = a(null), q = S.pageContext.entity ? S.pageContext.entity : {}, A = S.configure.runtime ? S.configure.runtime : {}, D = A.style, $ = A.class, I = A.headerStyle, M = A.titleExceedStyle, B = a(A.props ? A.props : {});
12
+ let N = h(S.pageContext, S.configure, B.value.prop);
13
+ if (S.pageContext.modelFieldsMap && N && N.length > 0 && "data" === N[0]) {
14
+ const e3 = C(N, S.pageContext);
15
+ e3 && function(e4) {
16
+ const a2 = e4.dataType;
17
+ k(a2) && ("year" === B.value.dateType && "YYYY" === B.value.valueFormat || "month" === B.value.dateType && "YYYY-MM" === B.value.valueFormat) && (B.value.valueFormat = "x");
18
+ }(e3);
19
+ }
20
+ let U = null, W = false;
21
+ if (B.value.dateType && B.value.dateType.includes("range")) {
22
+ W = true;
23
+ let e3 = B.value.prop2;
24
+ e3 && e3.startsWith("${") || (e3 = "${page." + S.configure.uuid + "-2}");
25
+ const a2 = x(q, e3, null);
26
+ if (e3 = e3.substring(2, e3.length - 1), U = e3.split("."), !(a2 || q.data && (q.data.id || q.data.ID)) && B.value.defaultValue2) {
27
+ const e4 = x(q, B.value.defaultValue2);
28
+ b(q, U, e4);
29
+ }
30
+ }
31
+ const E = a(null), O = a(null), G = a(null);
32
+ function H(e3, a2) {
33
+ if (!e3) return e3;
34
+ if (a2) {
35
+ "number" != typeof e3 || isNaN(e3) || 4 !== e3.toString().length || (e3 = e3.toString());
36
+ try {
37
+ const l2 = Y(e3);
38
+ let t2 = null;
39
+ return t2 = "x" === a2 ? l2.toDate().getTime() : Y(e3).format(a2), t2;
40
+ } catch (a3) {
41
+ return console.error("日期值格式化错误", a3), console.error(`value: ${e3} ,valueFormat: ${B.value.valueFormat}`), e3;
42
+ }
43
+ }
44
+ return e3;
45
+ }
46
+ if (l(() => {
47
+ t(() => {
48
+ const e3 = J.value;
49
+ T(e3, S.pageContext, S.configure, { formItemRef: E.value, componentRef: O.value, titleRef: G.value, value: e3, entity: S.pageContext.entity.data, pageData: S.pageContext.entity.page });
50
+ });
51
+ }), N) {
52
+ const e3 = F(q, N), a2 = H(e3, B.value.valueFormat);
53
+ e3 !== a2 && b(q, N, a2);
54
+ }
55
+ if (U) {
56
+ const e3 = F(q, U), a2 = H(e3, B.value.valueFormat);
57
+ e3 !== a2 && b(q, U, a2);
58
+ }
59
+ const J = o({ get() {
60
+ if (W) {
61
+ const e3 = [];
62
+ let a2 = F(q, N);
63
+ e3.push(H(a2, B.value.valueFormat));
64
+ let l2 = F(q, U);
65
+ return e3.push(H(l2, B.value.valueFormat)), e3;
66
+ }
67
+ return H(F(q, N), B.value.valueFormat);
68
+ }, set(e3) {
69
+ W ? Array.isArray(e3) ? (b(q, N, e3[0]), b(q, U, e3[1]), w.value = "") : null === e3 && (b(q, N, null), b(q, U, null)) : (b(q, N, e3), null != e3 && (w.value = ""));
70
+ } }), K = a(y(B.value.dateScopeDetails, B.value.sourceType, B.value.dateType));
71
+ if (B.value.shortcutsFunc) {
72
+ const e3 = V(S.pageContext, B.value.shortcutsFunc);
73
+ if (e3) {
74
+ let a2 = e3.apply(e3, [{ pageContext: S.pageContext, configureObj: S.configure }]);
75
+ if (a2) {
76
+ Array.isArray(a2) || (a2 = [a2]), K.value || (K.value = []);
77
+ for (let e4 of a2) e4.text && e4.value && K.value.push(e4);
78
+ }
79
+ }
80
+ }
81
+ return P2({ addRequiredClass: function() {
82
+ w.value = z();
83
+ } }), (a2, l2) => {
84
+ const t2 = r("el-time-picker"), o2 = r("el-date-picker"), h2 = r("el-form-item");
85
+ return n(), u(h2, { ref_key: "formItemRef", ref: E, required: B.value.required, class: p(s($) + (w.value ? " " + w.value : "")), "label-width": B.value.labelWidth, style: i(s(D)) }, { label: c(() => [B.value.tittleShow ? (n(), d("div", { key: 0, ref_key: "titleRef", ref: G, style: i({ ...s(I), ...s(M) }) }, [B.value.prefixType ? (n(), u(R, { key: 0, pageContext: e2.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (n(), d(f, { key: 1 }, [g(m(s(_)(B.value.title)), 1)], 64))], 4)) : v("", true)]), default: c(() => ["time" == B.value.dateType || "timerange" == B.value.dateType ? (n(), u(t2, { key: 0, ref_key: "componentRef", ref: O, "is-range": "timerange" == B.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: B.value.clearable, disabled: "disabled" === B.value.state, readonly: "readonly" === B.value.state, size: B.value.size, placeholder: B.value.placeholder, "start-placeholder": B.value.placeholder, "end-placeholder": B.value.endPlaceholder ? B.value.endPlaceholder : B.value.placeholder, "unlink-panels": true, format: B.value.format, "value-format": B.value.valueFormat, modelValue: J.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => J.value = e3), shortcuts: K.value, type: B.value.dateType, onChange: l2[1] || (l2[1] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[4] || (l2[4] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[5] || (l2[5] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[6] || (l2[6] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (n(), u(o2, { key: 1, ref_key: "componentRef", ref: O, clearable: B.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === B.value.state, readonly: "readonly" === B.value.state, size: B.value.size, placeholder: B.value.placeholder, "start-placeholder": B.value.placeholder, "end-placeholder": B.value.endPlaceholder ? B.value.endPlaceholder : B.value.placeholder, format: B.value.format, "value-format": B.value.valueFormat, modelValue: J.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => J.value = e3), shortcuts: K.value, type: B.value.dateType, onChange: l2[8] || (l2[8] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "change")), onBlur: l2[9] || (l2[9] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "blur")), onFocus: l2[10] || (l2[10] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "focus")), onVisibleChange: l2[11] || (l2[11] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: l2[12] || (l2[12] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "panel-change")), onClear: l2[13] || (l2[13] = (a3) => s(j)(a3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
86
+ };
87
+ } });
88
+ export {
89
+ P as default
90
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./depttree-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,55 @@
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as p, createBlock as a, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as f, createVNode as c, createElementBlock as m, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
2
+ import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
+ import { handleAfterInitEvent as h, handleFormEvent as S } from "../../../../utils/events/event-util.js";
4
+ import F from "../common/title-suffix-element.vue.js";
5
+ import { $t as b } from "../../../../utils/i18n-util.js";
6
+ import { setVariableValue as k, getVariableValue as R, getFormPropName as j, getValueFromVariable as _ } from "../../../../utils/page-helper-util.js";
7
+ import { addRequiredClassUtil as I } from "../../../../utils/common-util.js";
8
+ const T = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
9
+ const q = e2, w = t(null), z = t([]), M = q.pageContext.entity ? q.pageContext.entity : {};
10
+ M.data || (M.data = {});
11
+ const O = M.data, $ = M.page;
12
+ let D = C(q.pageContext, q.configure);
13
+ const E = D.length > 0 ? D[D.length - 1] : q.configure.uuid, V = q.configure.runtime ? q.configure.runtime : {}, W = t(V.props ? V.props : {}), A = V.style, B = V.class, G = V.headerStyle, H = V.titleExceedStyle;
14
+ V.props.deptScope && ("field" == V.props.deptScope && V.props.deptScopeField ? (Y(), function(e3, t2) {
15
+ if (0 === e3.indexOf("${fixed.")) return;
16
+ const l2 = e3.match(/\${(.*?)}/);
17
+ if (!l2) return;
18
+ const o2 = l2 ? l2[1].split(".") : [];
19
+ o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3], q.pageContext.entity), (e4, l3) => {
20
+ t2(e4, l3);
21
+ });
22
+ }(V.props.deptScopeField, (e3, t2) => {
23
+ Y();
24
+ })) : "depts" == V.props.deptScope && V.props.deptScopeCodes && (z.value = V.props.deptScopeCodes.split(",")));
25
+ const J = t(null), K = t(null), L = t(null);
26
+ l(() => {
27
+ o(() => {
28
+ const e3 = O ? O[E] : null;
29
+ h(e3, q.pageContext, q.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
30
+ });
31
+ });
32
+ const N = n({ get: () => R(M, D), set(e3) {
33
+ k(M, D, e3), null != e3 && (w.value = "");
34
+ } }), P = W.value.autoSetFields ? W.value.autoSetFields : [];
35
+ let Q = null;
36
+ function U(e3, t2) {
37
+ Q ? Q === e3 && (D.length > 0 ? S(R(M, D), q.pageContext, q.configure, "change") : S(t2, q.pageContext, q.configure, "change")) : e3 === E && S(t2, q.pageContext, q.configure, "change");
38
+ }
39
+ function X() {
40
+ S(null, q.pageContext, q.configure, "click");
41
+ }
42
+ function Y() {
43
+ const e3 = _(q.pageContext.entity, V.props.deptScopeField);
44
+ z.value = e3 ? e3.split(",") : [];
45
+ }
46
+ return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q = j(P[P.length - 1].model)), T2({ addRequiredClass: function() {
47
+ w.value = I();
48
+ } }), (t2, l2) => {
49
+ const o2 = p("OrganizationInput"), n2 = p("el-form-item");
50
+ return u(), a(n2, { ref_key: "formItemRef", ref: J, required: W.value.required, class: s(d(B) + (w.value ? " " + w.value : "")), "label-width": W.value.labelWidth, style: r(d(A)) }, { label: f(() => [W.value.tittleShow ? (u(), m("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...d(G), ...d(H) }) }, [W.value.prefixType ? (u(), a(F, { key: 0, pageContext: e2.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (u(), m(v, { key: 1 }, [y(x(d(b)(W.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [c(o2, { ref_key: "componentRef", ref: K, disabled: "disabled" == W.value.state, multiple: W.value.multiple, treeType: W.value.treeType, value: N.value, models: d(O), departmentInfo: z.value, limitFilterColumn: W.value.limitFilterColumn, pageModels: d($), fields: d(P), size: W.value.size, separator: W.value.separator, onSetValue: U, onShowTree: X }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
51
+ };
52
+ } });
53
+ export {
54
+ T as default
55
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./divider-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,24 @@
1
+ import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i, createBlock as u, openBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
2
+ import { formatVariableValue as f } from "../../../../utils/page-helper-util.js";
3
+ import { handleAfterInitEvent as v, handleFormEvent as g } from "../../../../utils/events/event-util.js";
4
+ const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
5
+ const m2 = e2, y = m2.configure.runtime ? m2.configure.runtime : {}, x = y.headerStyle, C = t(y.props ? y.props : {});
6
+ let _ = C.value.value;
7
+ const b = n(() => {
8
+ if (!_) return "";
9
+ const e3 = f(m2.pageContext, _);
10
+ return null == e3 || null == e3 ? "" : e3;
11
+ }), k = t(null);
12
+ return o(() => {
13
+ r(() => {
14
+ const e3 = b.value;
15
+ v(e3, m2.pageContext, m2.configure, { componentRef: k.value, value: e3, entity: m2.pageContext.entity.data, pageData: m2.pageContext.entity.page });
16
+ });
17
+ }), (t2, n2) => {
18
+ const o2 = i("el-divider");
19
+ return l(), u(o2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: n2[0] || (n2[0] = (t3) => a(g)(t3, e2.pageContext, e2.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
20
+ };
21
+ } });
22
+ export {
23
+ m as default
24
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./fileupload-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,75 @@
1
+ import { defineComponent as e, ref as l, watch as t, onMounted as a, nextTick as o, onUnmounted as i, resolveComponent as n, createBlock as s, createCommentVNode as r, openBlock as u, normalizeStyle as p, normalizeClass as d, unref as m, withCtx as v, createElementBlock as f, toDisplayString as c } from "vue";
2
+ import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
3
+ import { handleAfterInitEvent as g, fileUploadBeforeUpload as C } from "../../../../utils/events/event-util.js";
4
+ import w from "agilebuilder-ui/src/utils/request";
5
+ import { FsUploadNew as b } from "agilebuilder-ui";
6
+ import k from "../../../../utils/eventBus.js";
7
+ import { $t as x } from "../../../../utils/i18n-util.js";
8
+ import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
9
+ import { getRelativeBaseUrl as _ } from "agilebuilder-ui/src/utils/common-util";
10
+ const j = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
11
+ var _a, _b, _c, _d, _e, _f, _g;
12
+ const N = e2, S = l(null), R = N.configure.runtime ? N.configure.runtime : {}, T = l(R.props ? R.props : {}), z = R.style, D = R.class, I = R.headerStyle, O = R.titleExceedStyle, q = N.pageContext.entity ? N.pageContext.entity : {}, F = N.configure.props.base ? N.configure.props.base : {}, W = M(F.prop), U = M(F.propName);
13
+ let $ = l({});
14
+ $.value.isShowWatermark = void 0 === ((_b = (_a = N.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = N.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", $.value.content = ((_e = (_d = N.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = N.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", W && W.length > 1 && t(() => N.pageContext.entity[W[0]][W[1]], (e3) => {
15
+ L(h(q, W));
16
+ });
17
+ const B = N.pageContext.code, E = l(W ? B + "__" + W.join("__") : null), A = h(q, W), G = l(null), H = l(false), J = l([]), K = l({});
18
+ function L(e3) {
19
+ if (e3) {
20
+ const l2 = e3.split(",");
21
+ if (l2.length > 0) {
22
+ const e4 = N.pageContext.backendUrl, t2 = _(e4 + "/common/fs-upload/search-file-names");
23
+ w.post(t2, l2).then((e5) => {
24
+ J.value = [];
25
+ const t3 = [];
26
+ for (let a2 = 0; a2 < l2.length; a2++) {
27
+ const o2 = l2[a2];
28
+ t3.push(e5[o2]), J.value.push({ showName: e5[o2], serverPath: o2 });
29
+ }
30
+ "input" === T.value.displayType && (K.value.showName = t3.join(","), K.value.serverPath = l2.join(","));
31
+ }).finally(() => {
32
+ H.value = true;
33
+ });
34
+ } else H.value = true;
35
+ } else J.value = [], K.value = {}, H.value = true;
36
+ }
37
+ function M(e3) {
38
+ return e3 ? (e3.startsWith("${") && (e3 = e3.substring(2, e3.length - 1)), e3.split(".")) : [];
39
+ }
40
+ function Q(e3) {
41
+ return C(e3);
42
+ }
43
+ L(A);
44
+ const V = (e3, l2, t2) => {
45
+ Y();
46
+ }, X = (e3) => {
47
+ Y();
48
+ }, Y = () => {
49
+ const e3 = [], l2 = [];
50
+ if (T.value.limit && J.value.length > T.value.limit) {
51
+ const e4 = J.value.length - T.value.limit;
52
+ for (let l3 = 0; l3 < e4; l3++) J.value.shift();
53
+ }
54
+ for (let t2 = 0; t2 < J.value.length; t2++) e3.push(J.value[t2].showName), l2.push(J.value[t2].serverPath);
55
+ y(N.pageContext.entity, W, l2.join(",")), y(N.pageContext.entity, U, e3.join(",")), l2.length > 0 && (S.value = "");
56
+ }, Z = l(null), ee = l(null);
57
+ return a(() => {
58
+ k.$on(E.value + "-pickFileDone", (e3) => {
59
+ E.value, G.value.pickFileDone(e3);
60
+ }), o(() => {
61
+ const e3 = h(q, W), l2 = { showName: h(q, U), serverPath: e3 };
62
+ g(l2, N.pageContext, N.configure, { formItemRef: Z.value, componentRef: G.value, titleRef: ee.value, value: l2, entity: N.pageContext.entity.data, pageData: N.pageContext.entity.page });
63
+ });
64
+ }), i(() => {
65
+ k.$off(E.value + "-pickFileDone");
66
+ }), j2({ addRequiredClass: function() {
67
+ S.value = P();
68
+ } }), (l2, t2) => {
69
+ const a2 = n("el-form-item");
70
+ return T.value.tittleShow ? (u(), s(a2, { key: 0, ref_key: "formItemRef", ref: Z, required: T.value.required, class: d(m(D) + (S.value ? " " + S.value : "")), "label-width": T.value.labelWidth, style: p(m(z)) }, { label: v(() => [T.value.tittleShow ? (u(), f("div", { key: 0, ref_key: "titleRef", ref: ee, style: p({ ...m(I), ...m(O) }) }, c(m(x)(T.value.title)), 5)) : r("", true)]), default: v(() => [H.value ? (u(), s(m(b), { key: 0, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === T.value.state, displayType: T.value.displayType, accept: T.value.accept, multiple: T.value.multiple, placeholder: T.value.placeholder, limit: T.value.limit, "limit-file-size": T.value.limitFileSize, "disabled-no-preview": T.value.disabledNoPreview, "disabled-no-download": T.value.disabledNoDownload, openCameraOrChoosePhoto: T.value.openCameraOrChoosePhoto, "file-info": K.value, "file-list": J.value, "system-code": e2.pageContext.systemCode, componentId: E.value, watermark: m($), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : H.value ? (u(), s(m(b), { key: 1, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === T.value.state, displayType: T.value.displayType, accept: T.value.accept, multiple: T.value.multiple, placeholder: T.value.placeholder, limit: T.value.limit, "limit-file-size": T.value.limitFileSize, "disabled-no-preview": T.value.disabledNoPreview, "disabled-no-download": T.value.disabledNoDownload, openCameraOrChoosePhoto: T.value.openCameraOrChoosePhoto, "file-info": K.value, "file-list": J.value, "system-code": e2.pageContext.systemCode, componentId: E.value, watermark: m($), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true);
71
+ };
72
+ } });
73
+ export {
74
+ j as default
75
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./input-number-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as a, resolveComponent as n, createBlock as u, openBlock as i, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as m, createVNode as f, createElementBlock as c, createCommentVNode as d, Fragment as v, createTextVNode as g, toDisplayString as y } from "vue";
2
+ import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
+ import { setVariableValue as C, getVariableValue as h } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as b, handleFormEvent as R } from "../../../../utils/events/event-util.js";
5
+ import j from "../common/title-suffix-element.vue.js";
6
+ import { $t as k } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
8
+ const q = e({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
9
+ const w = e2, z = t(null), S = w.pageContext.entity ? w.pageContext.entity : {};
10
+ let V = x(w.pageContext, w.configure);
11
+ const B = l({ get: () => h(S, V), set(e3) {
12
+ C(S, V, e3), null != e3 && (z.value = "");
13
+ } }), I = w.configure.runtime ? w.configure.runtime : {}, D = I.style, E = I.class, F = I.headerStyle, T = I.titleExceedStyle, U = t(I.props ? I.props : {}), W = t(null), A = t(null), G = t(null);
14
+ return o(() => {
15
+ a(() => {
16
+ const e3 = B.value;
17
+ b(e3, w.pageContext, w.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: w.pageContext.entity.data, pageData: w.pageContext.entity.page });
18
+ });
19
+ }), q2({ addRequiredClass: function() {
20
+ z.value = _();
21
+ } }), (t2, l2) => {
22
+ const o2 = n("el-input-number"), a2 = n("el-form-item");
23
+ return i(), u(a2, { ref_key: "formItemRef", ref: W, required: U.value.required, class: s(p(E) + (z.value ? " " + z.value : "")), "label-width": U.value.labelWidth, style: r(p(D)) }, { label: m(() => [U.value.tittleShow ? (i(), c("div", { key: 0, ref_key: "titleRef", ref: G, style: r({ ...p(F), ...p(T) }) }, [U.value.prefixType ? (i(), u(j, { key: 0, pageContext: e2.pageContext, property: U.value }, null, 8, ["pageContext", "property"])) : (i(), c(v, { key: 1 }, [g(y(p(k)(U.value.title)), 1)], 64))], 4)) : d("", true)]), default: m(() => [f(o2, { ref_key: "componentRef", ref: A, disabled: "disabled" === U.value.state, readonly: "readonly" === U.value.state, controls: U.value.showButton, size: U.value.size, placeholder: U.value.placeholder, modelValue: B.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => B.value = e3), precision: U.value.precision, step: U.value.step, min: U.value.min, max: U.value.max, onChange: l2[1] || (l2[1] = (t3) => p(R)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[2] || (l2[2] = (t3) => p(R)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[3] || (l2[3] = (t3) => p(R)(t3, e2.pageContext, e2.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
24
+ };
25
+ } });
26
+ export {
27
+ q as default
28
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./inputtext-runtime.vue2.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,82 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as p, normalizeStyle as s, normalizeClass as c, unref as v, withCtx as f, createVNode as y, createCommentVNode as g, createSlots as m, createTextVNode as d, toDisplayString as x, createElementBlock as C, Fragment as I } from "vue";
2
+ import { SuperIcon as T } from "agilebuilder-ui";
3
+ import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
+ import { getModelFieldFromPageContext as w, isNumberDataType as V, setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
5
+ import { handleFormEvent as _, handleAfterInitEvent as S, doSuffixOrPrefixClickEvent as j } from "../../../../utils/events/event-util.js";
6
+ import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as N } from "../../../../utils/form/scan-util.js";
7
+ import q from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
9
+ import J from "../../../../utils/eventBus.js";
10
+ import { $t as M } from "../../../../utils/i18n-util.js";
11
+ import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
12
+ const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
13
+ var _a, _b, _c;
14
+ const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {}, F = t("text");
15
+ let $ = k(L.pageContext, L.configure);
16
+ if (L.pageContext.modelFieldsMap) {
17
+ const e3 = w($, L.pageContext);
18
+ e3 && (F.value = V(e3.dataType) ? "number" : "text");
19
+ }
20
+ const A = t(D()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
21
+ h(B, $, e3), null != e3 && "" !== e3 && (W.value = "");
22
+ } }), H = t(null), K = t(null), Q = t(null), X = L.configure.runtime ? L.configure.runtime : {}, Y = t(X.props ? X.props : {}), Z = t(!!((_a = Y.value.scan) == null ? void 0 : _a.enable));
23
+ let ee = false;
24
+ const te = window.localStorage.getItem("auth_source");
25
+ te && "dingtalk" === te && (ee = true);
26
+ let le = "";
27
+ const ne = navigator.userAgent;
28
+ le = ne.indexOf(" uni-app ") > 0 ? "app" : "browser";
29
+ const oe = !(!A.value || !le || "app" !== le), ae = t(!!((oe || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
30
+ let ue = {};
31
+ ((_b = Y.value.scan) == null ? void 0 : _b.enable) && ((_c = Y.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Y.value.scan.ruleList).then((e3) => {
32
+ ue = e3;
33
+ }), u(() => G.value, (e3) => {
34
+ e3 = e3.trim();
35
+ const t2 = O(e3, ue);
36
+ t2 && N(L.pageContext, t2.scanSet, t2.params);
37
+ }));
38
+ const ie = X.style, re = X.class, pe = X.headerStyle, se = X.titleExceedStyle;
39
+ function ce(e3) {
40
+ return h(B, $, e3);
41
+ }
42
+ n(() => {
43
+ J.$on(U.value + "-scanDone", (e3) => {
44
+ U.value, JSON.stringify(e3), ce(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
45
+ }), o(() => {
46
+ var _a2;
47
+ const e3 = G.value;
48
+ S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), ae.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && fe();
49
+ });
50
+ }), a(() => {
51
+ J.$off(U.value + "-scanDone");
52
+ });
53
+ const ve = t(false);
54
+ function fe() {
55
+ if (oe || ee) {
56
+ const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
57
+ ee && (e3.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e3), "*"));
58
+ } else if (A.value) if ("https:" === window.location.protocol) ve.value = true;
59
+ else {
60
+ const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
61
+ window.parent.postMessage(JSON.stringify(e3), "*");
62
+ }
63
+ else ve.value = true;
64
+ }
65
+ function ye(e3) {
66
+ ve.value = false, ce(e3);
67
+ }
68
+ return z2({ getValue: function() {
69
+ return b(B, $);
70
+ }, setValue: ce, scanClick: fe, addRequiredClass: function() {
71
+ W.value = P();
72
+ } }), (t2, l2) => {
73
+ const n2 = i("el-input"), o2 = i("scan-code-input-browser"), a2 = i("el-form-item");
74
+ return p(), r(a2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ie)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(pe), ...v(se) }) }, [Y.value.prefixType ? (p(), r(q, { key: 0, pageContext: e2.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(M)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => G.value = e3), onInput: l2[6] || (l2[6] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[7] || (l2[7] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[8] || (l2[8] = (e3) => function(e4) {
75
+ let t3 = b(B, $);
76
+ null != t3 && (t3 = t3.trim()), h(B, $, t3), _(e4, L.pageContext, L.configure, "blur");
77
+ }(e3)), onFocus: l2[9] || (l2[9] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[10] || (l2[10] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "click")), onClear: l2[11] || (l2[11] = (t3) => v(_)(t3, e2.pageContext, e2.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: l2[0] || (l2[0] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: l2[1] || (l2[1] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: l2[2] || (l2[2] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [ae.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e3) => fe()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: l2[4] || (l2[4] = (t3) => v(j)(G.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (p(), r(o2, { key: 0, onClose: ye })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
78
+ };
79
+ } });
80
+ export {
81
+ z as default
82
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./label-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
2
+ import { getFormModelFields as d } from "../../../../utils/page-init-util.js";
3
+ import { getVariableValue as m, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
+ import { SuperIcon as k } from "agilebuilder-ui";
5
+ import { getCustomFunc as w, handleAfterInitEvent as T, handleFormEvent as C } from "../../../../utils/events/event-util.js";
6
+ import { $t as _ } from "../../../../utils/i18n-util.js";
7
+ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px", "margin-bottom": "20px" } }, b = { style: { overflow: "hidden", "white-space": "nowrap" } }, V = ["title"], j = e({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
8
+ const R = e2, S = R.pageContext.entity ? R.pageContext.entity : {};
9
+ let P = d(R.pageContext, R.configure);
10
+ const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, z = q.class, D = q.headerStyle, E = q.appendClass, F = q.appendStyle, W = q.titleExceedStyle, A = t(q.props ? q.props : {}), B = t(A.value.options ? A.value.options : []), G = A.value.formatType;
11
+ A.value;
12
+ const H = l(() => {
13
+ let e3 = m(S, P);
14
+ if (G) if (A.value.hasOptions) {
15
+ let t2 = null;
16
+ B.value && (t2 = B.value.filter((t3) => t3.value == e3)), t2 && t2.length > 0 && (e3 = t2[0].label);
17
+ } else if ("custom" === G) {
18
+ const t2 = w(R.pageContext, A.value.formatFunc);
19
+ t2 && (e3 = t2.apply(t2, [{ pageContext: R.pageContext, configureObj: R.configure, value: e3 }]));
20
+ } else e3 = h(e3, G, A.value);
21
+ return e3 = null == e3 ? "" : e3, e3;
22
+ }), J = t(null), K = t(null), L = t(null);
23
+ return u(() => {
24
+ a(() => {
25
+ const e3 = H.value;
26
+ T(e3, R.pageContext, R.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: R.pageContext.entity.data, pageData: R.pageContext.entity.page });
27
+ });
28
+ }), j2({ updateOptions: function(e3) {
29
+ B.value = e3 || [];
30
+ } }), (t2, l2) => {
31
+ const u2 = n("el-form-item");
32
+ return A.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: p(f(O)) }, [c("div", I, v(A.value.title), 1)], 6)) : A.value.tittleShow ? (s(), o(u2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: r(f(z)), "label-width": A.value.labelWidth, style: p(f(O)) }, { label: y(() => [A.value.tittleShow ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: L, style: p({ ...f(D), ...f(W) }) }, v(f(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: l2[0] || (l2[0] = (t3) => f(C)(t3, e2.pageContext, e2.configure, "click")) }, [c("span", b, [A.value.preIconValue || A.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: p(f(F)) }, [A.value.preIconType && A.value.preIconValue ? (s(), o(f(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + v(f(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + v(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (s(), o(f(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(A.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: l2[1] || (l2[1] = (t3) => f(C)(t3, e2.pageContext, e2.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(A.value.prefixIcon) + " " + v(H.value), 9, V), A.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(E)), style: p(f(F)) }, v(A.value.suffixTxt), 7)) : g("", true)]));
33
+ };
34
+ } });
35
+ export {
36
+ j as default
37
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./link-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };