super-page-runtime 2.3.22-tmp2 → 2.3.22-tmp3

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 (385) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +4 -4
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
  4. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
  6. package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
  7. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
  8. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
  9. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
  10. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
  11. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
  12. package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
  13. package/dist/es/components/runtime/utils/common-util.mjs +91 -94
  14. package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
  15. package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
  16. package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
  17. package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
  18. package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
  20. package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
  21. package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
  22. package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
  24. package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
  25. package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
  26. package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
  27. package/dist/es/components/runtime/utils/page-store.mjs +38 -38
  28. package/dist/es/components/runtime/utils/store-util.mjs +9 -9
  29. package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
  30. package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
  37. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
  38. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
  39. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
  40. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
  43. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
  44. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
  51. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
  53. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
  55. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
  57. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
  59. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
  60. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
  64. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
  66. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
  70. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
  71. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
  74. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
  75. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
  76. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
  77. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
  79. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
  80. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
  81. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
  82. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
  83. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
  84. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
  85. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
  86. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
  87. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
  89. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
  90. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
  91. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
  92. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
  93. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
  94. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
  95. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
  96. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
  97. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
  98. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
  99. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
  100. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
  101. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
  102. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
  103. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
  104. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
  105. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
  106. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
  107. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
  108. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
  109. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
  110. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
  111. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
  112. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
  113. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
  114. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
  115. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
  116. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
  117. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
  118. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
  119. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
  121. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
  122. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
  123. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
  125. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
  126. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
  127. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
  128. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
  129. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
  130. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
  132. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
  134. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
  136. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
  138. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
  139. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
  140. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
  142. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
  143. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
  144. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
  145. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
  146. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
  147. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
  148. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  149. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
  150. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
  151. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
  152. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
  153. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
  154. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
  155. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
  156. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
  157. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
  158. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
  159. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
  160. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
  161. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
  162. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
  163. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
  164. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  165. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
  166. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
  167. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
  168. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
  169. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
  170. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
  171. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
  172. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
  173. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
  174. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
  175. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
  176. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
  177. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
  178. package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
  179. package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
  180. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
  181. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
  182. package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
  183. package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
  184. package/dist/es/index.mjs +27 -27
  185. package/dist/es/style.css +1 -996
  186. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
  187. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
  188. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
  189. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
  190. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
  191. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
  192. package/dist/lib/assets/file.png.cjs +1 -2
  193. package/dist/lib/assets/folder.png.cjs +1 -2
  194. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
  195. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
  196. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
  197. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
  198. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
  199. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
  200. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
  201. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
  202. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
  203. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
  204. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
  205. package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
  206. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
  208. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
  209. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
  210. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
  211. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
  212. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
  213. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
  214. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
  215. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
  216. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
  217. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
  218. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
  219. package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
  220. package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
  221. package/dist/lib/components/runtime/utils/store.cjs +1 -3
  222. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
  225. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
  242. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
  243. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
  244. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
  245. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
  246. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
  247. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
  248. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
  249. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
  250. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
  251. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
  261. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
  262. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
  264. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
  267. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
  269. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
  271. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
  272. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
  273. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
  277. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
  278. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
  279. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
  280. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
  281. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
  282. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
  283. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
  284. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
  285. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
  286. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
  287. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
  288. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
  289. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
  291. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
  293. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
  294. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
  295. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
  296. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
  297. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
  298. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
  299. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
  300. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
  301. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
  302. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
  303. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
  304. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
  306. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
  307. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
  308. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
  309. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
  310. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
  311. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
  312. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
  313. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
  314. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
  315. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
  316. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
  317. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
  318. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
  319. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
  320. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
  321. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
  322. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
  323. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
  324. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
  325. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
  326. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
  327. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
  328. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
  329. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
  330. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
  331. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
  332. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
  333. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
  334. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
  335. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
  336. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
  337. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
  338. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
  339. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
  340. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
  341. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
  342. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
  343. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
  344. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
  345. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
  346. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
  347. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
  348. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
  349. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
  350. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
  351. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
  352. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
  353. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
  354. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
  355. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
  356. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
  357. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
  358. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
  359. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
  360. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
  361. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
  362. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
  363. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
  364. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
  365. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
  366. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
  367. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
  368. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
  369. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
  370. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
  371. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
  372. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
  373. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
  374. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
  375. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
  376. package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
  377. package/dist/lib/i18n/langs/cn.cjs +1 -2
  378. package/dist/lib/i18n/langs/en.cjs +1 -2
  379. package/dist/lib/index.cjs +1 -6
  380. package/dist/lib/style.css +1 -996
  381. package/dist/umd/index.full.min.js +3 -7429
  382. package/dist/umd/style.css +1 -996
  383. package/package.json +77 -76
  384. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
  385. package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
@@ -1,142 +1,136 @@
1
- import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as n, resolveComponent as r, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as v, createVNode as g, createElementVNode as m, withKeys as d, withModifiers as h, createElementBlock as y, Fragment as b, renderList as x, createCommentVNode as C, toDisplayString as w, createTextVNode as _ } from "vue";
2
- import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as T, autoSetAfterSelect as j, getVariableValue as A } from "../../../../utils/page-helper-util.mjs";
3
- import { getFormModelFields as R } from "../../../../utils/page-init-util.mjs";
4
- import { handleFormEvent as V, handleAfterInitEvent as M } from "../../../../utils/events/event-util.mjs";
5
- import I from "../common/title-suffix-element.vue.mjs";
6
- import { $t as q } from "../../../../utils/i18n-util.mjs";
7
- import { addRequiredClassUtil as z } from "../../../../utils/common-util.mjs";
8
- import { CopyDocument as E } from "@element-plus/icons-vue";
9
- import O from "clipboard";
10
- import { ElMessage as P } from "element-plus";
11
- import { useI18n as D } from "vue-i18n";
12
- const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }, F = { style: { float: "left" } }, K = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, U = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: U2 }) {
13
- const { t: $ } = D(), G = e2, H = t(null), J = G.pageContext.entity ? G.pageContext.entity : {};
14
- let L = R(G.pageContext, G.configure);
15
- const N = G.configure.runtime ? G.configure.runtime : {}, Q = N.style, X = N.class, Y = N.headerStyle, Z = N.titleExceedStyle, ee = t(N.props ? N.props : {});
16
- let te = [];
17
- const le = "copyBtn_" + G.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
18
- function oe() {
19
- let e3 = A(J, L);
20
- return null != e3 && (e3 = String(e3)), ee.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
1
+ import { defineComponent as oe, ref as s, computed as ne, watch as re, onUnmounted as ue, onMounted as se, nextTick as ie, resolveComponent as d, createBlock as A, openBlock as i, normalizeStyle as K, normalizeClass as pe, unref as p, withCtx as c, createVNode as S, createElementVNode as k, withKeys as ce, withModifiers as fe, createElementBlock as _, Fragment as M, renderList as ge, createCommentVNode as W, toDisplayString as E, createTextVNode as ve } from "vue";
2
+ import { setVariableValue as me, getOptionDatasFromPage as de, queryOptionDatasources as $, autoSetAfterSelect as he, getVariableValue as L } from "../../../../utils/page-helper-util.mjs";
3
+ import { getFormModelFields as ye } from "../../../../utils/page-init-util.mjs";
4
+ import { handleFormEvent as G, handleAfterInitEvent as xe } from "../../../../utils/events/event-util.mjs";
5
+ import Ce from "../common/title-suffix-element.vue.mjs";
6
+ import { $t as be } from "../../../../utils/i18n-util.mjs";
7
+ import { addRequiredClassUtil as we } from "../../../../utils/common-util.mjs";
8
+ import { CopyDocument as Se } from "@element-plus/icons-vue";
9
+ import ke from "clipboard";
10
+ import { ElMessage as _e } from "element-plus";
11
+ import { useI18n as Ve } from "vue-i18n";
12
+ const Te = { style: { "padding-left": "5px" } }, Ae = { style: { width: "100%" } }, Me = { style: { float: "left" } }, Ee = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, Ke = oe({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(H, { expose: J }) {
13
+ const { t: Q } = Ve(), o = H, h = s(null), y = o.pageContext.entity ? o.pageContext.entity : {};
14
+ let R = ye(o.pageContext, o.configure);
15
+ const f = o.configure.runtime ? o.configure.runtime : {}, X = f.style, Y = f.class, Z = f.headerStyle, ee = f.titleExceedStyle, l = s(f.props ? f.props : {});
16
+ let D = [];
17
+ const I = "copyBtn_" + o.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
18
+ function x() {
19
+ let e = L(y, R);
20
+ return e != null && (e = String(e)), l.value.multiple && (e = e ? String(e).split(",") : []), e;
21
21
  }
22
- const ae = l({ get: () => oe(), set(e3) {
23
- const t2 = oe();
24
- te = Array.isArray(t2) ? [...t2] : t2;
25
- let l2 = e3;
26
- if (ee.value.multiple) {
27
- l2 = !!ee.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
28
- }
29
- void 0 === l2 && (l2 = null), S(J, L, l2), null != l2 && (H.value = "");
30
- } }), ue = t(ee.value.options ? ee.value.options : []), ne = k(G.pageContext, G.configure);
31
- ne.length > 0 && (ue.value = ne);
32
- const re = t(false), ie = G.configure.props && G.configure.props.dataOrigin ? G.configure.props.dataOrigin : {}, se = ie.optionValueSetType;
33
- let pe = [];
34
- const fe = ee.value.optionconfigInfo ? ee.value.optionconfigInfo : {};
35
- if ("dynamicData" == se || "dataTable" == se || "service" == se) {
36
- if ("remote" == ie.filterType) {
37
- let e3;
38
- ee.value.filterable = true, ee.value.remote = true, ee.value.remoteShowSuffix = true, ee.value.remoteMethod = function(t2) {
39
- e3 !== t2 && (e3 = t2, re.value = true, T(G.pageContext, fe, t2).then((e4) => {
40
- re.value = false;
41
- }).then((e4) => {
42
- re.value = false;
22
+ const g = ne({ get: () => x(), set(e) {
23
+ const t = x();
24
+ D = Array.isArray(t) ? [...t] : t;
25
+ let a = e;
26
+ l.value.multiple && (a = l.value.arrayValue ? Array.isArray(e) ? e : e ? String(e).split(",") : [] : Array.isArray(e) ? e.length > 0 ? e.join(",") : "" : e ?? ""), a === void 0 && (a = null), me(y, R, a), a != null && (h.value = "");
27
+ } }), n = s(l.value.options ? l.value.options : []), q = de(o.pageContext, o.configure);
28
+ q.length > 0 && (n.value = q);
29
+ const v = s(!1), C = o.configure.props && o.configure.props.dataOrigin ? o.configure.props.dataOrigin : {}, V = C.optionValueSetType;
30
+ let b = [];
31
+ const T = l.value.optionconfigInfo ? l.value.optionconfigInfo : {};
32
+ if (V == "dynamicData" || V == "dataTable" || V == "service") {
33
+ if (C.filterType == "remote") {
34
+ let e;
35
+ l.value.filterable = !0, l.value.remote = !0, l.value.remoteShowSuffix = !0, l.value.remoteMethod = function(t) {
36
+ e !== t && (e = t, v.value = !0, $(o.pageContext, T, t).then((a) => {
37
+ v.value = !1;
38
+ }).then((a) => {
39
+ v.value = !1;
43
40
  }));
44
41
  };
45
42
  }
46
- if (ie.autoSets) for (let e3 of ie.autoSets) e3.source && pe.push(e3);
43
+ if (C.autoSets) for (let e of C.autoSets) e.source && b.push(e);
47
44
  }
48
- G.configure && G.configure.props && G.configure.props.base && G.configure.props.base.optionProp && pe.push({ source: "label", target: G.configure.props.base.optionProp }), ee.value.changeMethod = function(e3) {
49
- let t2, l2 = null;
50
- ue.value && null != e3 && null != e3 && (l2 = ue.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
51
- pe.length > 0 && j(G.configure, G.pageContext, pe, l2, [ee.value.prop]);
52
- l2 && l2.length > 0 && (t2 = l2[0]);
53
- let o2 = {};
54
- t2 && (o2.extendParams = t2);
55
- o2.options = ue.value, o2.oldValue = te, V(e3, G.pageContext, G.configure, "change", o2);
45
+ o.configure && o.configure.props && o.configure.props.base && o.configure.props.base.optionProp && b.push({ source: "label", target: o.configure.props.base.optionProp }), l.value.changeMethod = function(e) {
46
+ let t, a = null;
47
+ n.value && e != null && e != null && (a = n.value.filter((w) => Array.isArray(e) ? e.includes(w.value) : e === w.value)), b.length > 0 && he(o.configure, o.pageContext, b, a, [l.value.prop]), a && a.length > 0 && (t = a[0]);
48
+ let r = {};
49
+ t && (r.extendParams = t), r.options = n.value, r.oldValue = D, G(e, o.pageContext, o.configure, "change", r);
56
50
  };
57
- const ce = ee.value.monitorFields, ve = [];
58
- if (ce) {
59
- const e3 = [];
60
- for (let t2 of ce) if (t2.startsWith("${")) {
61
- t2 = t2.substring(2, t2.length - 1);
62
- const l2 = t2.split(".");
63
- "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (ve.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
51
+ const z = l.value.monitorFields, F = [];
52
+ if (z) {
53
+ const e = [];
54
+ for (let t of z) if (t.startsWith("${")) {
55
+ t = t.substring(2, t.length - 1);
56
+ const a = t.split(".");
57
+ a[0] !== "page" && a[0] !== "task" && a[0] !== "data" || (F.push(a), e.includes(a[0]) || e.push(a[0]));
64
58
  }
65
- for (let t2 of e3) o(J[t2], () => {
66
- de();
59
+ for (let t of e) re(y[t], () => {
60
+ te();
67
61
  });
68
62
  }
69
- let ge = "", me = false;
70
- function de() {
71
- me && clearTimeout(me), me = setTimeout(function() {
72
- const e3 = function() {
73
- let e4 = [];
74
- for (let t2 of ve) e4.push(A(J, t2));
75
- return e4.join(",");
63
+ let O = "", m = !1;
64
+ function te() {
65
+ m && clearTimeout(m), m = setTimeout(function() {
66
+ const e = function() {
67
+ let t = [];
68
+ for (let a of F) t.push(L(y, a));
69
+ return t.join(",");
76
70
  }();
77
- e3 != ge && (ge = e3, fe.watchAttrValue = e3, T(G.pageContext, fe, void 0).then((e4) => {
78
- re.value = false;
71
+ e != O && (O = e, T.watchAttrValue = e, $(o.pageContext, T, void 0).then((t) => {
72
+ v.value = !1;
79
73
  }));
80
74
  }, 200);
81
75
  }
82
- a(() => {
83
- me && clearTimeout(me);
76
+ ue(() => {
77
+ m && clearTimeout(m);
84
78
  });
85
- let he = false;
86
- const ye = t(null), be = t(null), xe = t(null);
87
- function Ce() {
88
- const e3 = oe();
89
- if (null != e3 && "" !== e3 && e3.length > 0) {
90
- let t2 = "";
91
- return "string" == typeof e3 ? ue.value.length > 0 ? ue.value.forEach((l2) => {
92
- l2.value === e3 && (t2 = l2.label);
93
- }) : t2 = e3 : ue.value.length > 0 ? (ue.value.forEach((l2) => {
94
- e3.forEach((e4) => {
95
- l2.value === e4 && (t2 = t2 + l2.label + ",");
79
+ let P = !1;
80
+ const B = s(null), N = s(null), j = s(null);
81
+ function U() {
82
+ const e = x();
83
+ if (e != null && e !== "" && e.length > 0) {
84
+ let t = "";
85
+ return typeof e == "string" ? n.value.length > 0 ? n.value.forEach((a) => {
86
+ a.value === e && (t = a.label);
87
+ }) : t = e : n.value.length > 0 ? (n.value.forEach((a) => {
88
+ e.forEach((r) => {
89
+ a.value === r && (t = t + a.label + ",");
96
90
  });
97
- }), t2 = t2.slice(0, t2.length - 1)) : t2 = e3.join(","), t2;
91
+ }), t = t.slice(0, t.length - 1)) : t = e.join(","), t;
98
92
  }
99
93
  }
100
- return u(() => {
101
- const e3 = new O("#" + le, { text: function() {
102
- return Ce();
94
+ return se(() => {
95
+ const e = new ke("#" + I, { text: function() {
96
+ return U();
103
97
  } });
104
- e3.on("success", () => {
105
- P({ showClose: true, type: "success", message: $("superPageRuntimeMessage.copySuccess") });
106
- }), e3.on("error", (e4) => {
107
- console.error("复制失败", e4);
108
- }), n(() => {
109
- const e4 = ae.value;
110
- M(e4, G.pageContext, G.configure, { formItemRef: ye.value, componentRef: be.value, titleRef: xe.value, value: e4, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
98
+ e.on("success", () => {
99
+ _e({ showClose: !0, type: "success", message: Q("superPageRuntimeMessage.copySuccess") });
100
+ }), e.on("error", (t) => {
101
+ console.error("复制失败", t);
102
+ }), ie(() => {
103
+ const t = g.value;
104
+ xe(t, o.pageContext, o.configure, { formItemRef: B.value, componentRef: N.value, titleRef: j.value, value: t, entity: o.pageContext.entity.data, pageData: o.pageContext.entity.page });
111
105
  });
112
- }), U2({ updateOptions: function(e3) {
113
- if (ue.value = e3 || [], !he) {
114
- const e4 = oe();
115
- if (null != e4 && "" !== e4 && ue.value.length > 0) {
116
- let t2 = false;
117
- for (let l2 of ue.value) if (l2.value == e4) {
118
- t2 = true;
106
+ }), J({ updateOptions: function(e) {
107
+ if (n.value = e || [], !P) {
108
+ const t = x();
109
+ if (t != null && t !== "" && n.value.length > 0) {
110
+ let a = !1;
111
+ for (let r of n.value) if (r.value == t) {
112
+ a = !0;
119
113
  break;
120
114
  }
121
- if (!t2) {
122
- for (let t3 of ue.value) if (t3.label == e4) {
123
- ae.value = t3.value;
115
+ if (!a) {
116
+ for (let r of n.value) if (r.label == t) {
117
+ g.value = r.value;
124
118
  break;
125
119
  }
126
120
  }
127
121
  }
128
122
  }
129
- he = true;
123
+ P = !0;
130
124
  }, addRequiredClass: function() {
131
- H.value = z();
132
- }, getSelectItemsTitle: Ce, getOptions: function() {
133
- return ue.value;
134
- } }), (e3, t2) => {
135
- const l2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), u2 = r("el-popover"), n2 = r("el-form-item");
136
- return s(), i(n2, { ref_key: "formItemRef", ref: ye, required: !!ee.value.required, class: f(c(X) + (H.value ? " " + H.value : "")), "label-width": ee.value.labelWidth, style: p(c(Q)) }, { label: v(() => [ee.value.tittleShow ? (s(), y("div", { key: 0, ref_key: "titleRef", ref: xe, style: p({ ...c(Y), ...c(Z) }) }, [ee.value.prefixType ? (s(), i(I, { key: 0, pageContext: e3.pageContext, property: ee.value }, null, 8, ["pageContext", "property"])) : (s(), y(b, { key: 1 }, [_(w(c(q)(ee.value.title)), 1)], 64))], 4)) : C("", true)]), default: v(() => [g(u2, { placement: "top", trigger: "hover" }, { reference: v(() => [m("div", B, [g(a2, { ref_key: "componentRef", ref: be, style: { width: "100%" }, disabled: "disabled" === ee.value.state, size: ee.value.size, clearable: ee.value.clearable, multiple: ee.value.multiple, "collapse-tags": ee.value.collapseTags, "collapse-tags-tooltip": ee.value.collapseTagsTooltip, filterable: ee.value.filterable, "allow-create": ee.value.allowCreate, placeholder: ee.value.placeholder, "remote-show-suffix": ee.value.remoteShowSuffix, remote: ee.value.remote, "remote-method": ee.value.remoteMethod, loading: re.value, onKeydown: t2[0] || (t2[0] = d(h(() => {
137
- }, ["stop"]), ["space"])), onChange: ee.value.changeMethod, onClear: ee.value.changeMethod, modelValue: ae.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ae.value = e4) }, { default: v(() => [(s(true), y(b, null, x(ue.value, (t3) => (s(), i(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(V)(t3.value, e3.pageContext, e3.configure, "click", { values: ae.value }) }, { default: v(() => [t3._description_ ? (s(), y(b, { key: 0 }, [m("span", F, w(t3.label), 1), m("span", K, w(t3._description_), 1)], 64)) : C("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: v(() => [m("span", W, [g(l2, { id: le }, { default: v(() => [g(c(E))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
125
+ h.value = we();
126
+ }, getSelectItemsTitle: U, getOptions: function() {
127
+ return n.value;
128
+ } }), (e, t) => {
129
+ const a = d("el-icon"), r = d("el-option"), w = d("el-select"), le = d("el-popover"), ae = d("el-form-item");
130
+ return i(), A(ae, { ref_key: "formItemRef", ref: B, required: !!l.value.required, class: pe(p(Y) + (h.value ? " " + h.value : "")), "label-width": l.value.labelWidth, style: K(p(X)) }, { label: c(() => [l.value.tittleShow ? (i(), _("div", { key: 0, ref_key: "titleRef", ref: j, style: K({ ...p(Z), ...p(ee) }) }, [l.value.prefixType ? (i(), A(Ce, { key: 0, pageContext: e.pageContext, property: l.value }, null, 8, ["pageContext", "property"])) : (i(), _(M, { key: 1 }, [ve(E(p(be)(l.value.title)), 1)], 64))], 4)) : W("", !0)]), default: c(() => [S(le, { placement: "top", trigger: "hover" }, { reference: c(() => [k("div", Ae, [S(w, { ref_key: "componentRef", ref: N, style: { width: "100%" }, disabled: l.value.state === "disabled", size: l.value.size, clearable: l.value.clearable, multiple: l.value.multiple, "collapse-tags": l.value.collapseTags, "collapse-tags-tooltip": l.value.collapseTagsTooltip, filterable: l.value.filterable, "allow-create": l.value.allowCreate, placeholder: l.value.placeholder, "remote-show-suffix": l.value.remoteShowSuffix, remote: l.value.remote, "remote-method": l.value.remoteMethod, loading: v.value, onKeydown: t[0] || (t[0] = ce(fe(() => {
131
+ }, ["stop"]), ["space"])), onChange: l.value.changeMethod, onClear: l.value.changeMethod, modelValue: g.value, "onUpdate:modelValue": t[1] || (t[1] = (u) => g.value = u) }, { default: c(() => [(i(!0), _(M, null, ge(n.value, (u) => (i(), A(r, { key: u.value, label: u.label, value: u.value, onClick: (Re) => p(G)(u.value, e.pageContext, e.configure, "click", { values: g.value }) }, { default: c(() => [u._description_ ? (i(), _(M, { key: 0 }, [k("span", Me, E(u.label), 1), k("span", Ee, E(u._description_), 1)], 64)) : W("", !0)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: c(() => [k("span", Te, [S(a, { id: I }, { default: c(() => [S(p(Se))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
138
132
  };
139
133
  } });
140
134
  export {
141
- U as default
135
+ Ke as default
142
136
  };
@@ -1,4 +1,4 @@
1
- import e from "./separatelabel-runtime.vue2.mjs";
1
+ import o from "./separatelabel-runtime.vue2.mjs";
2
2
  export {
3
- e as default
3
+ o as default
4
4
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, ref as t, onMounted as i, nextTick as o, createElementBlock as n, openBlock as r, normalizeClass as a, normalizeStyle as p, unref as l, createElementVNode as s, createBlock as u, createCommentVNode as c, createTextVNode as g, toDisplayString as f } from "vue";
2
- import { SuperIcon as m } from "agilebuilder-ui";
3
- import { $t as y } from "../../../../utils/i18n-util.mjs";
4
- import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.mjs";
5
- const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: d2 }) {
6
- const v = e2, x = t(null), C = v.configure.runtime ? v.configure.runtime : {}, T = C.style, V = C.class, h = C.headerStyle;
7
- return i(() => {
8
- o(() => {
9
- const e3 = y(v.configure.props.base.title);
10
- b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
1
+ import { defineComponent as m, ref as g, onMounted as y, nextTick as d, createElementBlock as x, openBlock as r, normalizeClass as C, normalizeStyle as s, unref as a, createElementVNode as V, createBlock as b, createCommentVNode as T, createTextVNode as k, toDisplayString as v } from "vue";
2
+ import { SuperIcon as h } from "agilebuilder-ui";
3
+ import { $t as i } from "../../../../utils/i18n-util.mjs";
4
+ import { handleAfterInitEvent as S } from "../../../../utils/events/event-util.mjs";
5
+ const D = m({ __name: "separatelabel-runtime", props: { pageContext: {}, configure: {} }, setup(p, { expose: l }) {
6
+ const t = p, n = g(null), o = t.configure.runtime ? t.configure.runtime : {}, c = o.style, u = o.class, f = o.headerStyle;
7
+ return y(() => {
8
+ d(() => {
9
+ const e = i(t.configure.props.base.title);
10
+ S(e, t.pageContext, t.configure, { componentRef: n.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
11
11
  });
12
- }), d2({}), (e3, t2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e3.configure.props.base.title)), 1)], 4)], 6));
12
+ }), l({}), (e, B) => (r(), x("div", { style: s(a(c)), class: C([a(u), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: n }, [V("div", { class: "label", style: s(a(f)) }, [e.configure.props.iconType && e.configure.props.iconValue ? (r(), b(a(h), { key: 0, iconType: e.configure.props.iconType, iconValue: e.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : T("", !0), k(" " + v(a(i)(e.configure.props.base.title)), 1)], 4)], 6));
13
13
  } });
14
14
  export {
15
- d as default
15
+ D as default
16
16
  };
@@ -1,4 +1,4 @@
1
- import t from "./switch-runtime.vue2.mjs";
1
+ import o from "./switch-runtime.vue2.mjs";
2
2
  export {
3
- t as default
3
+ o as default
4
4
  };
@@ -1,36 +1,36 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as r, unref as c, withCtx as s, createVNode as f, createElementBlock as m, createCommentVNode as p, toDisplayString as d } from "vue";
2
- import { getFormModelFields as g } from "../../../../utils/page-init-util.mjs";
3
- import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.mjs";
4
- import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.mjs";
5
- import { $t as C } from "../../../../utils/i18n-util.mjs";
6
- import { addRequiredClassUtil as b } from "../../../../utils/common-util.mjs";
7
- const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
8
- const R = e2, _ = t(null), j = R.pageContext.entity ? R.pageContext.entity : {};
9
- let k = g(R.pageContext, R.configure);
10
- const q = R.configure.runtime ? R.configure.runtime : {}, S = q.style, z = q.class, I = q.headerStyle, T = q.titleExceedStyle, W = t(q.props ? q.props : {});
11
- let D = V(j, k);
12
- function E(e3) {
13
- return void 0 !== W.value[e3] && null !== W.value[e3] && "" !== W.value[e3];
1
+ import { defineComponent as B, ref as o, computed as F, onMounted as I, nextTick as T, resolveComponent as y, createBlock as D, openBlock as x, normalizeStyle as m, normalizeClass as U, unref as i, withCtx as h, createVNode as W, createElementBlock as A, createCommentVNode as M, toDisplayString as N } from "vue";
2
+ import { getFormModelFields as O } from "../../../../utils/page-init-util.mjs";
3
+ import { setVariableValue as j, getVariableValue as C } from "../../../../utils/page-helper-util.mjs";
4
+ import { handleAfterInitEvent as $, handleFormEvent as G } from "../../../../utils/events/event-util.mjs";
5
+ import { $t as H } from "../../../../utils/i18n-util.mjs";
6
+ import { addRequiredClassUtil as J } from "../../../../utils/common-util.mjs";
7
+ const Z = B({ __name: "switch-runtime", props: { pageContext: {}, configure: {} }, setup(b, { expose: w }) {
8
+ const t = b, v = o(null), r = t.pageContext.entity ? t.pageContext.entity : {};
9
+ let c = O(t.pageContext, t.configure);
10
+ const l = t.configure.runtime ? t.configure.runtime : {}, k = l.style, R = l.class, S = l.headerStyle, _ = l.titleExceedStyle, a = o(l.props ? l.props : {});
11
+ let u = C(r, c);
12
+ function n(e) {
13
+ return a.value[e] !== void 0 && a.value[e] !== null && a.value[e] !== "";
14
14
  }
15
- null == D || "number" != typeof D || D + "" != "1" && D + "" != "0" || (E("activeValue") || (W.value.activeValue = 1), E("inactiveValue") || (W.value.inactiveValue = 0)), null != D && "boolean" == typeof D && (E("activeValue") || (W.value.activeValue = true), E("inactiveValue") || (W.value.inactiveValue = false)), E("activeValue") || (W.value.activeValue = true), E("inactiveValue") || (W.value.inactiveValue = false);
16
- const O = q.switchStyle, U = l({ get() {
17
- let e3 = V(j, k);
18
- return null != e3 && (true === W.value.activeValue ? (e3 + "" == "1" && (e3 = true), e3 + "" == "0" && (e3 = false)) : 1 === W.value.activeValue ? (e3 + "" == "true" && (e3 = 1), e3 + "" == "false" && (e3 = 0)) : e3 += ""), e3;
19
- }, set(e3) {
20
- null != e3 && (true === W.value.activeValue ? (e3 + "" == "1" && (e3 = true), e3 + "" == "0" && (e3 = false)) : 1 === W.value.activeValue ? (e3 + "" == "true" && (e3 = 1), e3 + "" == "false" && (e3 = 0)) : e3 += ""), y(j, k, e3), null != e3 && (_.value = "");
21
- } }), A = t(null), B = t(null), F = t(null);
22
- return a(() => {
23
- u(() => {
24
- const e3 = U.value;
25
- x(e3, R.pageContext, R.configure, { formItemRef: A.value, componentRef: B.value, titleRef: F.value, value: e3, entity: R.pageContext.entity.data, pageData: R.pageContext.entity.page });
15
+ u == null || typeof u != "number" || u + "" != "1" && u + "" != "0" || (n("activeValue") || (a.value.activeValue = 1), n("inactiveValue") || (a.value.inactiveValue = 0)), u != null && typeof u == "boolean" && (n("activeValue") || (a.value.activeValue = !0), n("inactiveValue") || (a.value.inactiveValue = !1)), n("activeValue") || (a.value.activeValue = !0), n("inactiveValue") || (a.value.inactiveValue = !1);
16
+ const q = l.switchStyle, d = F({ get() {
17
+ let e = C(r, c);
18
+ return e != null && (a.value.activeValue === !0 ? (e + "" == "1" && (e = !0), e + "" == "0" && (e = !1)) : a.value.activeValue === 1 ? (e + "" == "true" && (e = 1), e + "" == "false" && (e = 0)) : e += ""), e;
19
+ }, set(e) {
20
+ e != null && (a.value.activeValue === !0 ? (e + "" == "1" && (e = !0), e + "" == "0" && (e = !1)) : a.value.activeValue === 1 ? (e + "" == "true" && (e = 1), e + "" == "false" && (e = 0)) : e += ""), j(r, c, e), e != null && (v.value = "");
21
+ } }), p = o(null), V = o(null), g = o(null);
22
+ return I(() => {
23
+ T(() => {
24
+ const e = d.value;
25
+ $(e, t.pageContext, t.configure, { formItemRef: p.value, componentRef: V.value, titleRef: g.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
26
26
  });
27
- }), w2({ addRequiredClass: function() {
28
- _.value = b();
29
- } }), (e3, t2) => {
30
- const l2 = i("el-switch"), a2 = i("el-form-item");
31
- return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), m("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : p("", true)]), default: s(() => [f(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
27
+ }), w({ addRequiredClass: function() {
28
+ v.value = J();
29
+ } }), (e, s) => {
30
+ const z = y("el-switch"), E = y("el-form-item");
31
+ return x(), D(E, { ref_key: "formItemRef", ref: p, required: a.value.required, class: U(i(R) + (v.value ? " " + v.value : "")), "label-width": a.value.labelWidth, style: m(i(k)) }, { label: h(() => [a.value.tittleShow ? (x(), A("div", { key: 0, ref_key: "titleRef", ref: g, style: m({ ...i(S), ...i(_) }) }, N(i(H)(a.value.title)), 5)) : M("", !0)]), default: h(() => [W(z, { ref_key: "componentRef", ref: V, disabled: a.value.state === "disabled", "active-value": a.value.activeValue, "active-text": a.value.activeText, "inactive-value": a.value.inactiveValue, "inactive-text": a.value.inactiveText, width: a.value.offOnWidth, size: a.value.size, style: m(i(q)), modelValue: d.value, "onUpdate:modelValue": s[0] || (s[0] = (f) => d.value = f), onChange: s[1] || (s[1] = (f) => i(G)(f, e.pageContext, e.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
32
32
  };
33
33
  } });
34
34
  export {
35
- w as default
35
+ Z as default
36
36
  };
@@ -1,4 +1,4 @@
1
- import t from "./tag-runtime.vue2.mjs";
1
+ import o from "./tag-runtime.vue2.mjs";
2
2
  export {
3
- t as default
3
+ o as default
4
4
  };
@@ -1,44 +1,43 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o, createBlock as n, openBlock as r, normalizeStyle as u, normalizeClass as s, unref as p, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createTextVNode as v, toDisplayString as y, createCommentVNode as d } from "vue";
2
- import { getFormModelFields as x } from "../../../../utils/page-init-util.mjs";
3
- import { getVariableValue as C, setVariableValue as b } from "../../../../utils/page-helper-util.mjs";
4
- import { handleAfterInitEvent as h, handleFormEvent as k } from "../../../../utils/events/event-util.mjs";
5
- import { $t as _ } from "../../../../utils/i18n-util.mjs";
6
- const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
- const j2 = e2, A = x(j2.pageContext, j2.configure), R = j2.configure.runtime ? j2.configure.runtime : {}, q = R.style, w = R.class, z = R.headerStyle, S = R.titleExceedStyle, I = t(R.props ? R.props : {});
8
- let $ = I.value.formatting;
9
- const D = j2.pageContext.entity ? j2.pageContext.entity : {}, E = l(() => {
10
- let e3 = C(D, A);
11
- null == e3 && (e3 = []), Array.isArray(e3) || (e3 = (e3 + "").split(","));
12
- const t2 = [];
13
- let l2 = 1;
14
- for (const a2 of e3) {
15
- if (null == a2 || "" === a2) continue;
16
- const e4 = { value: a2, label: a2 };
17
- $ && (e4.label = $.replace(/\${value}/g, e4.value).replace(/\${no}/g, l2)), t2.push(e4), l2++;
1
+ import { defineComponent as B, ref as g, computed as D, onMounted as M, nextTick as N, resolveComponent as k, createBlock as _, openBlock as c, normalizeStyle as z, normalizeClass as O, unref as s, withCtx as y, createElementBlock as A, Fragment as T, renderList as W, createTextVNode as L, toDisplayString as S, createCommentVNode as G } from "vue";
2
+ import { getFormModelFields as H } from "../../../../utils/page-init-util.mjs";
3
+ import { getVariableValue as V, setVariableValue as J } from "../../../../utils/page-helper-util.mjs";
4
+ import { handleAfterInitEvent as K, handleFormEvent as w } from "../../../../utils/events/event-util.mjs";
5
+ import { $t as P } from "../../../../utils/i18n-util.mjs";
6
+ const ee = B({ __name: "tag-runtime", props: { pageContext: {}, configure: {} }, setup(E) {
7
+ const e = E, p = H(e.pageContext, e.configure), n = e.configure.runtime ? e.configure.runtime : {}, R = n.style, q = n.class, F = n.headerStyle, I = n.titleExceedStyle, a = g(n.props ? n.props : {});
8
+ let d = a.value.formatting;
9
+ const f = e.pageContext.entity ? e.pageContext.entity : {}, v = D(() => {
10
+ let t = V(f, p);
11
+ t == null && (t = []), Array.isArray(t) || (t = (t + "").split(","));
12
+ const i = [];
13
+ let u = 1;
14
+ for (const r of t) {
15
+ if (r == null || r === "") continue;
16
+ const o = { value: r, label: r };
17
+ d && (o.label = d.replace(/\${value}/g, o.value).replace(/\${no}/g, u)), i.push(o), u++;
18
18
  }
19
- return t2;
20
- });
21
- const O = t(null), W = t(null);
22
- return a(() => {
23
- i(() => {
24
- const e3 = E.value;
25
- h(e3, j2.pageContext, j2.configure, { formItemRef: O.value, titleRef: W.value, value: e3, entity: j2.pageContext.entity.data, pageData: j2.pageContext.entity.page });
19
+ return i;
20
+ }), C = g(null), x = g(null);
21
+ return M(() => {
22
+ N(() => {
23
+ const t = v.value;
24
+ K(t, e.pageContext, e.configure, { formItemRef: C.value, titleRef: x.value, value: t, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
26
25
  });
27
- }), (e3, t2) => {
28
- const l2 = o("el-tag"), a2 = o("el-form-item");
29
- return r(), n(a2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (a3) => (r(), n(l2, { key: a3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e4) => function(e5, t3) {
30
- if (I.value.closable) {
31
- let e6 = C(D, A);
32
- null == e6 && (e6 = []);
33
- const l3 = Array.isArray(e6);
34
- l3 || (e6 = (e6 + "").split(","));
35
- const a4 = e6.indexOf(t3.value);
36
- a4 > -1 && e6.splice(a4, 1), l3 || (e6 = e6.join(",")), b(D, A, e6);
26
+ }), (t, i) => {
27
+ const u = k("el-tag"), r = k("el-form-item");
28
+ return c(), _(r, { ref_key: "formItemRef", ref: C, required: a.value.required, class: O(s(q)), "label-width": a.value.labelWidth, style: z(s(R)) }, { label: y(() => [a.value.tittleShow ? (c(), A("div", { key: 0, ref_key: "titleRef", ref: x, style: z({ ...s(F), ...s(I) }) }, S(s(P)(a.value.title)), 5)) : G("", !0)]), default: y(() => [(c(!0), A(T, null, W(v.value, (o) => (c(), _(u, { key: o, size: a.value.size, closable: a.value.closable, type: a.value.type, style: { "margin-right": "4px" }, onClose: (m) => function($, j) {
29
+ if (a.value.closable) {
30
+ let l = V(f, p);
31
+ l == null && (l = []);
32
+ const b = Array.isArray(l);
33
+ b || (l = (l + "").split(","));
34
+ const h = l.indexOf(j.value);
35
+ h > -1 && l.splice(h, 1), b || (l = l.join(",")), J(f, p, l);
37
36
  }
38
- k(e5, j2.pageContext, j2.configure, "remove");
39
- }(e4, a3), onClick: t2[0] || (t2[0] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "click")) }, { default: c(() => [v(y(a3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
37
+ w($, e.pageContext, e.configure, "remove");
38
+ }(m, o), onClick: i[0] || (i[0] = (m) => s(w)(m, t.pageContext, t.configure, "click")) }, { default: y(() => [L(S(o.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
40
39
  };
41
40
  } });
42
41
  export {
43
- j as default
42
+ ee as default
44
43
  };
@@ -1,4 +1,4 @@
1
- import e from "./textarea-runtime.vue2.mjs";
1
+ import o from "./textarea-runtime.vue2.mjs";
2
2
  export {
3
- e as default
3
+ o as default
4
4
  };
@@ -1,28 +1,28 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as n, createElementBlock as u, openBlock as r, createVNode as i, normalizeStyle as s, normalizeClass as p, unref as m, withCtx as f, createCommentVNode as g, createBlock as c, Fragment as d, createTextVNode as v, toDisplayString as x } from "vue";
2
- import { getFormModelFields as y } from "../../../../utils/page-init-util.mjs";
3
- import { setVariableValue as h, getVariableValue as C } from "../../../../utils/page-helper-util.mjs";
4
- import { handleAfterInitEvent as w, handleFormEvent as b } from "../../../../utils/events/event-util.mjs";
5
- import k from "../common/title-suffix-element.vue.mjs";
6
- import { $t as R } from "../../../../utils/i18n-util.mjs";
7
- import { addRequiredClassUtil as j } from "../../../../utils/common-util.mjs";
8
- const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
9
- const q = e2, I = t(null), z = q.pageContext.entity ? q.pageContext.entity : {};
10
- let S = y(q.pageContext, q.configure);
11
- const V = l({ get: () => C(z, S), set(e3) {
12
- h(z, S, e3), null != e3 && "" !== e3 && (I.value = "");
13
- } }), B = q.configure.runtime ? q.configure.runtime : {}, D = t(B.props ? B.props : {}), E = B.style, F = B.class, N = B.headerStyle, T = B.titleExceedStyle, U = t(null), W = t(null), A = t(null);
14
- return a(() => {
15
- o(() => {
16
- const e3 = V.value;
17
- w(e3, q.pageContext, q.configure, { formItemRef: U.value, componentRef: W.value, titleRef: A.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
1
+ import { defineComponent as I, ref as u, computed as S, onMounted as B, nextTick as E, resolveComponent as y, createElementBlock as d, openBlock as p, createVNode as C, normalizeStyle as h, normalizeClass as N, unref as n, withCtx as b, createCommentVNode as T, createBlock as D, Fragment as U, createTextVNode as A, toDisplayString as M } from "vue";
2
+ import { getFormModelFields as W } from "../../../../utils/page-init-util.mjs";
3
+ import { setVariableValue as j, getVariableValue as $ } from "../../../../utils/page-helper-util.mjs";
4
+ import { handleAfterInitEvent as G, handleFormEvent as s } from "../../../../utils/events/event-util.mjs";
5
+ import H from "../common/title-suffix-element.vue.mjs";
6
+ import { $t as J } from "../../../../utils/i18n-util.mjs";
7
+ import { addRequiredClassUtil as K } from "../../../../utils/common-util.mjs";
8
+ const ee = I({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(w, { expose: k }) {
9
+ const o = w, i = u(null), c = o.pageContext.entity ? o.pageContext.entity : {};
10
+ let f = W(o.pageContext, o.configure);
11
+ const m = S({ get: () => $(c, f), set(e) {
12
+ j(c, f, e), e != null && e !== "" && (i.value = "");
13
+ } }), r = o.configure.runtime ? o.configure.runtime : {}, a = u(r.props ? r.props : {}), V = r.style, R = r.class, _ = r.headerStyle, q = r.titleExceedStyle, g = u(null), v = u(null), x = u(null);
14
+ return B(() => {
15
+ E(() => {
16
+ const e = m.value;
17
+ G(e, o.pageContext, o.configure, { formItemRef: g.value, componentRef: v.value, titleRef: x.value, value: e, entity: o.pageContext.entity.data, pageData: o.pageContext.entity.page });
18
18
  });
19
- }), _2({ addRequiredClass: function() {
20
- I.value = j();
21
- } }), (e3, t2) => {
22
- const l2 = n("el-input"), a2 = n("el-form-item");
23
- return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: U, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), u("div", { key: 0, ref_key: "titleRef", ref: A, style: s({ ...m(N), ...m(T) }) }, [D.value.prefixType ? (r(), c(k, { key: 0, pageContext: e3.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), u(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [i(l2, { ref_key: "componentRef", ref: W, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => V.value = e4), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxlength, minlength: D.value.minlength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(b)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
19
+ }), k({ addRequiredClass: function() {
20
+ i.value = K();
21
+ } }), (e, t) => {
22
+ const z = y("el-input"), F = y("el-form-item");
23
+ return p(), d("div", null, [C(F, { ref_key: "formItemRef", ref: g, required: !!a.value.required, class: N(n(R) + (i.value ? " " + i.value : "")), "label-width": a.value.labelWidth, style: h(n(V)) }, { label: b(() => [a.value.tittleShow ? (p(), d("div", { key: 0, ref_key: "titleRef", ref: x, style: h({ ...n(_), ...n(q) }) }, [a.value.prefixType ? (p(), D(H, { key: 0, pageContext: e.pageContext, property: a.value }, null, 8, ["pageContext", "property"])) : (p(), d(U, { key: 1 }, [A(M(n(J)(a.value.title)), 1)], 64))], 4)) : T("", !0)]), default: b(() => [C(z, { ref_key: "componentRef", ref: v, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", size: a.value.size, clearable: a.value.clearable, placeholder: a.value.placeholder, modelValue: m.value, "onUpdate:modelValue": t[0] || (t[0] = (l) => m.value = l), rows: a.value.rows ? a.value.rows : 2, maxlength: a.value.maxlength, minlength: a.value.minlength, "show-word-limit": a.value.showInputNum, type: "textarea", onInput: t[1] || (t[1] = (l) => n(s)(l, e.pageContext, e.configure, "input")), onChange: t[2] || (t[2] = (l) => n(s)(l, e.pageContext, e.configure, "change")), onBlur: t[3] || (t[3] = (l) => n(s)(l, e.pageContext, e.configure, "blur")), onFocus: t[4] || (t[4] = (l) => n(s)(l, e.pageContext, e.configure, "focus")), onClick: t[5] || (t[5] = (l) => n(s)(l, e.pageContext, e.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
24
24
  };
25
25
  } });
26
26
  export {
27
- _ as default
27
+ ee as default
28
28
  };