super-page-runtime 2.3.48-cdnTmp2 → 2.3.48-tmp1

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 (392) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  3. package/dist/es/components/runtime/utils/anchor-util.js +84 -0
  4. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
  5. package/dist/es/components/runtime/utils/api/api-util.js +7 -0
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
  7. package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
  8. package/dist/es/components/runtime/utils/barcode-util.js +12 -0
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +168 -0
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +38 -0
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +82 -0
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +56 -0
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +47 -0
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +288 -0
  15. package/dist/es/components/runtime/utils/common-util.js +120 -0
  16. package/dist/es/components/runtime/utils/eventBus.js +8 -0
  17. package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
  18. package/dist/es/components/runtime/utils/events/event-util.js +447 -0
  19. package/dist/es/components/runtime/utils/events/print-label.js +100 -0
  20. package/dist/es/components/runtime/utils/events/standard-event.js +1226 -0
  21. package/dist/es/components/runtime/utils/events/validator-util.js +485 -0
  22. package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
  23. package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
  24. package/dist/es/components/runtime/utils/global-refs.js +57 -0
  25. package/dist/es/components/runtime/utils/i18n-util.js +18 -0
  26. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
  27. package/dist/es/components/runtime/utils/page-helper-util.js +391 -0
  28. package/dist/es/components/runtime/utils/page-init-util.js +297 -0
  29. package/dist/es/components/runtime/utils/{page-permission-util.mjs → page-permission-util.js} +21 -20
  30. package/dist/es/components/runtime/utils/page-store.js +53 -0
  31. package/dist/es/components/runtime/utils/store-util.js +13 -0
  32. package/dist/es/components/runtime/utils/table-utils.js +89 -0
  33. package/dist/es/components/runtime/utils/tree-utils.js +73 -0
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.js +21 -0
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.js +41 -0
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +6 -0
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +21 -0
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.js +53 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.js +4 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.js +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.js +4 -0
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.js +64 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +94 -0
  55. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.js +35 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.js +46 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.js +35 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.js +35 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +430 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.js +4 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.js +4 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +46 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +4 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +17 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.js +268 -0
  75. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +20 -0
  76. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
  78. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.js +4 -0
  79. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  80. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +4 -0
  81. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  82. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +4 -0
  83. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +17 -0
  84. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +4 -0
  85. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +4 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +4 -0
  89. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
  90. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.js +4 -0
  91. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
  92. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.js +4 -0
  93. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
  94. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.js +35 -0
  95. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.js +21 -0
  97. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +7 -0
  98. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
  99. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
  100. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +29 -0
  101. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.js +81 -0
  103. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  104. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.js +25 -0
  105. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  106. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.js +25 -0
  107. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  108. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.js +46 -0
  109. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
  110. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  111. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.js +47 -0
  113. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  114. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.js +69 -0
  115. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +383 -0
  116. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +339 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.js +4 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.js +90 -0
  121. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
  122. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  123. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
  124. package/dist/es/components/runtime/views/assemblys/error-render2.vue.js +4 -0
  125. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  126. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.js +66 -0
  127. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
  128. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.js +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
  130. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.js +69 -0
  131. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  133. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  134. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.js +55 -0
  135. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  136. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.js +24 -0
  137. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  138. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.js +115 -0
  139. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
  140. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +91 -0
  141. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  142. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.js +28 -0
  143. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +81 -0
  145. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +7 -0
  146. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +38 -0
  147. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  148. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.js +43 -0
  149. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
  150. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.js +16 -0
  151. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.js +84 -0
  153. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +8 -0
  154. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  155. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +7 -0
  156. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +156 -0
  157. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.js +16 -0
  159. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.js +36 -0
  161. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.js +44 -0
  163. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +7 -0
  164. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
  165. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
  166. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +4 -0
  167. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +166 -0
  168. package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +4 -0
  169. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +9 -0
  170. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +4 -0
  171. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +7 -0
  172. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  173. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +7 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  175. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js +20 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js +23 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.js +32 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.js +27 -0
  185. package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
  186. package/dist/es/components/runtime/views/home-chart2.vue.js +4 -0
  187. package/dist/es/components/runtime/views/super-page-dialog.vue.js +30 -0
  188. package/dist/es/components/runtime/views/super-page-dialog3.vue.js +5 -0
  189. package/dist/es/components/runtime/views/super-page.vue.js +7 -0
  190. package/dist/es/components/runtime/views/super-page2.vue.js +311 -0
  191. package/dist/es/index.js +32 -0
  192. package/dist/es/style.css +1052 -1
  193. package/package.json +11 -13
  194. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -8
  195. package/dist/es/components/runtime/utils/ai-chat-util.mjs +0 -16
  196. package/dist/es/components/runtime/utils/anchor-util.mjs +0 -83
  197. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -12
  198. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +0 -196
  199. package/dist/es/components/runtime/utils/assemblys-config.mjs +0 -19
  200. package/dist/es/components/runtime/utils/barcode-util.mjs +0 -12
  201. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +0 -169
  202. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +0 -38
  203. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +0 -83
  204. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +0 -56
  205. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +0 -47
  206. package/dist/es/components/runtime/utils/charts/chart-util.mjs +0 -285
  207. package/dist/es/components/runtime/utils/common-util.mjs +0 -116
  208. package/dist/es/components/runtime/utils/eventBus.mjs +0 -8
  209. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +0 -38
  210. package/dist/es/components/runtime/utils/events/event-util.mjs +0 -429
  211. package/dist/es/components/runtime/utils/events/print-label.mjs +0 -100
  212. package/dist/es/components/runtime/utils/events/standard-event.mjs +0 -1170
  213. package/dist/es/components/runtime/utils/events/validator-util.mjs +0 -462
  214. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +0 -36
  215. package/dist/es/components/runtime/utils/form/scan-util.mjs +0 -88
  216. package/dist/es/components/runtime/utils/global-refs.mjs +0 -57
  217. package/dist/es/components/runtime/utils/i18n-util.mjs +0 -14
  218. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +0 -4
  219. package/dist/es/components/runtime/utils/page-helper-util.mjs +0 -381
  220. package/dist/es/components/runtime/utils/page-init-util.mjs +0 -281
  221. package/dist/es/components/runtime/utils/page-store.mjs +0 -53
  222. package/dist/es/components/runtime/utils/store-util.mjs +0 -13
  223. package/dist/es/components/runtime/utils/table-utils.mjs +0 -84
  224. package/dist/es/components/runtime/utils/tree-utils.mjs +0 -68
  225. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +0 -4
  226. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +0 -29
  227. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +0 -7
  228. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +0 -21
  229. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +0 -4
  230. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +0 -41
  231. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +0 -4
  232. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +0 -6
  233. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +0 -4
  234. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +0 -21
  235. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +0 -7
  236. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +0 -53
  237. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +0 -14
  238. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +0 -4
  239. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +0 -13
  240. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +0 -4
  241. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +0 -59
  242. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +0 -4
  243. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +0 -7
  244. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +0 -59
  245. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +0 -93
  246. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +0 -4
  247. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +0 -7
  248. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +0 -35
  249. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +0 -7
  250. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +0 -46
  251. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +0 -7
  252. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +0 -35
  253. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +0 -7
  254. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +0 -35
  255. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +0 -425
  256. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +0 -6
  257. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +0 -4
  258. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +0 -10
  259. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +0 -4
  260. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +0 -42
  261. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +0 -4
  262. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +0 -17
  263. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +0 -4
  264. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +0 -4
  265. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +0 -261
  266. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +0 -20
  267. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +0 -4
  268. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +0 -35
  269. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +0 -4
  270. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +0 -34
  271. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +0 -4
  272. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +0 -27
  273. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +0 -4
  274. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +0 -17
  275. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +0 -4
  276. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +0 -22
  277. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +0 -4
  278. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +0 -18
  279. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +0 -4
  280. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +0 -35
  281. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +0 -4
  282. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +0 -19
  283. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +0 -4
  284. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +0 -7
  285. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +0 -35
  286. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +0 -4
  287. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +0 -21
  288. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +0 -7
  289. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +0 -27
  290. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +0 -7
  291. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +0 -29
  292. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +0 -7
  293. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +0 -81
  294. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +0 -4
  295. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +0 -25
  296. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +0 -4
  297. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +0 -25
  298. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +0 -4
  299. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +0 -43
  300. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +0 -7
  301. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +0 -96
  302. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +0 -7
  303. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +0 -47
  304. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +0 -4
  305. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +0 -69
  306. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +0 -362
  307. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +0 -4
  308. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +0 -329
  309. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +0 -4
  310. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +0 -4
  311. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +0 -90
  312. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +0 -7
  313. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +0 -133
  314. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +0 -5
  315. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +0 -4
  316. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +0 -4
  317. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +0 -65
  318. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +0 -36
  319. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +0 -4
  320. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +0 -4
  321. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +0 -69
  322. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +0 -4
  323. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +0 -102
  324. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +0 -4
  325. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +0 -55
  326. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +0 -4
  327. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +0 -24
  328. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +0 -4
  329. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +0 -111
  330. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +0 -4
  331. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +0 -88
  332. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +0 -4
  333. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +0 -28
  334. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +0 -4
  335. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +0 -79
  336. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +0 -7
  337. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +0 -37
  338. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +0 -4
  339. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +0 -42
  340. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +0 -7
  341. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +0 -16
  342. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +0 -4
  343. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +0 -84
  344. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +0 -8
  345. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +0 -215
  346. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +0 -7
  347. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +0 -150
  348. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +0 -4
  349. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +0 -16
  350. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +0 -4
  351. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +0 -36
  352. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +0 -4
  353. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +0 -43
  354. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +0 -7
  355. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +0 -28
  356. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +0 -83
  357. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +0 -4
  358. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +0 -163
  359. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +0 -4
  360. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +0 -9
  361. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +0 -4
  362. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +0 -7
  363. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +0 -56
  364. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +0 -7
  365. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +0 -29
  366. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +0 -7
  367. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +0 -45
  368. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +0 -4
  369. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +0 -20
  370. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +0 -4
  371. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +0 -23
  372. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +0 -7
  373. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +0 -30
  374. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +0 -4
  375. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +0 -27
  376. package/dist/es/components/runtime/views/home-chart.vue.mjs +0 -46
  377. package/dist/es/components/runtime/views/home-chart2.vue.mjs +0 -4
  378. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +0 -30
  379. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +0 -5
  380. package/dist/es/components/runtime/views/super-page.vue.mjs +0 -7
  381. package/dist/es/components/runtime/views/super-page2.vue.mjs +0 -307
  382. package/dist/es/index.mjs +0 -32
  383. /package/dist/es/assets/chart-themes/{bar-theme.mjs → bar-theme.js} +0 -0
  384. /package/dist/es/assets/chart-themes/{gauge-theme.mjs → gauge-theme.js} +0 -0
  385. /package/dist/es/assets/chart-themes/{pie-theme.mjs → pie-theme.js} +0 -0
  386. /package/dist/es/assets/chart-themes/{radar-theme.mjs → radar-theme.js} +0 -0
  387. /package/dist/es/assets/chart-themes/{scatter-theme.mjs → scatter-theme.js} +0 -0
  388. /package/dist/es/assets/{file.png.mjs → file.png.js} +0 -0
  389. /package/dist/es/assets/{folder.png.mjs → folder.png.js} +0 -0
  390. /package/dist/es/components/runtime/utils/{store.mjs → store.js} +0 -0
  391. /package/dist/es/i18n/langs/{cn.mjs → cn.js} +0 -0
  392. /package/dist/es/i18n/langs/{en.mjs → en.js} +0 -0
@@ -0,0 +1,218 @@
1
+ import { defineComponent as e, ref as t, watch as r, onMounted as n, nextTick as i, onBeforeUnmount as a, resolveComponent as l, openBlock as o, createElementBlock as u, Fragment as s, createVNode as c, normalizeStyle as g, unref as d, normalizeClass as p, createSlots as m, withCtx as f, createElementVNode as h, createBlock as v, toDisplayString as x, createCommentVNode as b } from "vue";
2
+ import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
+ import { getSizeConfig as T, formatVariableValue as M, getVariableValue as R, setVariableValue as k } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as C, handleFormEvent as P } from "../../../../utils/events/event-util.js";
5
+ import w from "agilebuilder-ui/src/utils/request";
6
+ import { $t as q } from "../../../../utils/i18n-util.js";
7
+ import { getBaseUrl as S, addRequiredClassUtil as A } from "../../../../utils/common-util.js";
8
+ import E from "quill";
9
+ import "quill/dist/quill.snow.css";
10
+ import { ElMessage as L } from "element-plus";
11
+ const H = { class: "toolbar-right-btns" }, F = ["title"], N = ["title"], B = { class: "richtext-statusbar" }, I = { class: "word-count" }, _ = { key: 0, class: "upload-loading" }, U = ["innerHTML"], D = e({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: D2 }) {
12
+ const W = ["12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px", "36px", "48px"], j = E.import("attributors/style/size");
13
+ j.whitelist = W, E.register(j, true);
14
+ const z = [false, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], V = E.import("attributors/style/font");
15
+ V.whitelist = z, E.register(V, true);
16
+ const $ = e2, O = t(""), G = $.pageContext.entity ? $.pageContext.entity : {}, K = y($.pageContext, $.configure), Y = $.configure.runtime ? $.configure.runtime : {}, J = Y.style, Q = Y.class, X = Y.headerStyle, Z = Y.titleExceedStyle, ee = t(Y.props ? Y.props : {});
17
+ let te = T($.pageContext, $.configure);
18
+ te && te.fixHeight && (J.height || (J.height = te.fixHeight + "px"));
19
+ let re = ee.value.value;
20
+ const ne = M($.pageContext, re), ie = t(null);
21
+ let ae = null;
22
+ const le = t(false), oe = t(0), ue = t(false), se = t(false), ce = t("");
23
+ let ge = null, de = ee.value.state;
24
+ function pe(e3) {
25
+ return "readonly" == e3 || "disabled" == e3;
26
+ }
27
+ const me = pe(de), fe = t({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: W }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: z }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: me ? "" : ee.value.placeholder, readOnly: me });
28
+ function he() {
29
+ if (!(ae == null ? void 0 : ae.container)) return;
30
+ const e3 = ae.container.parentNode;
31
+ if (!e3) return;
32
+ const t2 = e3.getBoundingClientRect(), r2 = ae.container.getBoundingClientRect();
33
+ let n2 = t2.height - (r2.top - t2.top);
34
+ n2 -= 24, ae.container.style.height = Math.max(n2, 100) + "px";
35
+ }
36
+ r(ee.value, () => {
37
+ const e3 = ee.value.state;
38
+ if (null != e3 && e3 !== de) {
39
+ de = e3;
40
+ const t2 = pe(de);
41
+ ae && (ae.enable(!t2), ae.root.dataset.placeholder = t2 ? "" : ee.value.placeholder);
42
+ }
43
+ });
44
+ const ve = t([]), xe = t(false), be = t(null), ye = t(null), Te = t(null);
45
+ let Me = null;
46
+ function Re(e3) {
47
+ const t2 = e3.match(/serverPath=([^&"]+)/);
48
+ return t2 ? t2[1] : "";
49
+ }
50
+ function ke(e3) {
51
+ if (!ae) return;
52
+ const t2 = function(e4) {
53
+ if (!e4) return e4;
54
+ const t3 = new DOMParser().parseFromString(e4, "text/html"), r3 = $.pageContext.backendUrl, n2 = S(r3, $.pageContext.isTest);
55
+ t3.querySelectorAll("th").forEach((e5) => {
56
+ const r4 = t3.createElement("td");
57
+ for (const t4 of Array.from(e5.attributes)) r4.setAttribute(t4.name, t4.value);
58
+ r4.style.fontWeight = "bold", r4.innerHTML = e5.innerHTML, e5.replaceWith(r4);
59
+ }), t3.querySelectorAll("img[data-uuid]").forEach((e5) => {
60
+ const t4 = e5, r4 = t4.getAttribute("data-uuid");
61
+ r4 && t4.setAttribute("src", `${n2}/common/fs-upload/download?serverPath=${r4}&isShowWatermark=false`);
62
+ });
63
+ let i2 = t3.body.innerHTML;
64
+ return i2 = i2.replace(/\t/g, "    "), i2 = i2.replace(/ {2}/g, "  "), i2;
65
+ }(e3), r2 = ae.clipboard.convertHTML(t2);
66
+ ae.setContents(r2.ops), i(() => {
67
+ if (!ae) return;
68
+ ae.root.querySelectorAll("img").forEach((e4) => {
69
+ if (!e4.getAttribute("data-uuid")) {
70
+ const t3 = Re(e4.src);
71
+ t3 && e4.setAttribute("data-uuid", t3);
72
+ }
73
+ }), ae && ae.root.querySelectorAll("table").forEach((e4) => {
74
+ const t3 = e4.querySelector("tr");
75
+ t3 && t3.querySelectorAll("td").forEach((e5) => {
76
+ e5.querySelector("strong, b") && (e5.style.backgroundColor = "#f5f7fa");
77
+ });
78
+ });
79
+ });
80
+ }
81
+ const Ce = { bold: q("superPageRuntimeMessage.richTextBold"), italic: q("superPageRuntimeMessage.richTextItalic"), underline: q("superPageRuntimeMessage.richTextUnderline"), strike: q("superPageRuntimeMessage.richTextStrike"), blockquote: q("superPageRuntimeMessage.richTextBlockquote"), "code-block": q("superPageRuntimeMessage.richTextCodeBlock"), 'list[value="ordered"]': q("superPageRuntimeMessage.richTextOrderedList"), 'list[value="bullet"]': q("superPageRuntimeMessage.richTextBulletList"), 'script[value="sub"]': q("superPageRuntimeMessage.richTextSubscript"), 'script[value="super"]': q("superPageRuntimeMessage.richTextSuperscript"), 'indent[value="-1"]': q("superPageRuntimeMessage.richTextIndentDecrease"), 'indent[value="+1"]': q("superPageRuntimeMessage.richTextIndentIncrease"), 'direction[value="rtl"]': q("superPageRuntimeMessage.richTextTextDirection"), size: q("superPageRuntimeMessage.richTextFontSize"), header: q("superPageRuntimeMessage.richTextHeader"), color: q("superPageRuntimeMessage.richTextFontColor"), background: q("superPageRuntimeMessage.richTextBackgroundColor"), font: q("superPageRuntimeMessage.richTextFontFamily"), align: q("superPageRuntimeMessage.richTextAlign"), clean: q("superPageRuntimeMessage.richTextClean"), link: q("superPageRuntimeMessage.richTextLink"), image: q("superPageRuntimeMessage.richTextImage") };
82
+ function Pe() {
83
+ le.value = !le.value, i(() => {
84
+ !le.value && (ae == null ? void 0 : ae.container) && (ae.container.style.height = ""), he();
85
+ });
86
+ }
87
+ function we() {
88
+ ae && (ce.value = ae.root.innerHTML, se.value = true);
89
+ }
90
+ function qe() {
91
+ if (!ae) return void (oe.value = 0);
92
+ const e3 = ae.getText().trim();
93
+ oe.value = e3.length;
94
+ }
95
+ function Se() {
96
+ if (!ae) return "";
97
+ const e3 = ae.root.cloneNode(true);
98
+ return e3.querySelectorAll("img[data-uuid]").forEach((e4) => {
99
+ e4.getAttribute("data-uuid") && e4.removeAttribute("src");
100
+ }), e3.innerHTML;
101
+ }
102
+ function Ae() {
103
+ L.error({ message: q("superPageRuntimeMessage.richTextImageUploadFailed"), duration: 3e3 });
104
+ }
105
+ function Ee(e3) {
106
+ "Escape" === e3.key && le.value && (le.value = false, i(() => {
107
+ (ae == null ? void 0 : ae.container) && (ae.container.style.height = ""), he();
108
+ }));
109
+ }
110
+ function Le(e3) {
111
+ var _a;
112
+ ae && (null !== e3.relatedTarget && ((_a = ie.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || P(Se(), $.pageContext, $.configure, "change", { entity: G }));
113
+ }
114
+ function He(e3) {
115
+ if ("img" === e3.target.localName) {
116
+ ve.value = [];
117
+ let t2 = e3.target.src;
118
+ ve.value.push(t2), xe.value = true;
119
+ }
120
+ }
121
+ function Fe(e3) {
122
+ const t2 = new FormData();
123
+ t2.append("file", e3);
124
+ const r2 = $.pageContext.backendUrl, n2 = S(r2, $.pageContext.isTest);
125
+ return w.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
126
+ }
127
+ function Ne(e3, t2) {
128
+ const r2 = e3.split(","), n2 = r2[0].match(/:(.*?);/), i2 = n2 ? n2[1] : "image/png", a2 = atob(r2[1]);
129
+ let l2 = a2.length;
130
+ const o2 = new Uint8Array(l2);
131
+ for (; l2--; ) o2[l2] = a2.charCodeAt(l2);
132
+ return new File([o2], t2, { type: i2 });
133
+ }
134
+ return n(() => {
135
+ var _a;
136
+ ie.value && (ae = new E(ie.value, fe.value), ae.root.style.fontSize = "16px", function() {
137
+ var _a2, _b;
138
+ const e3 = (_b = (_a2 = ie.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
139
+ if (!e3) return;
140
+ e3.querySelectorAll("button").forEach((e4) => {
141
+ const t2 = e4.className.match(/ql-([\w-]+)/);
142
+ if (t2) {
143
+ const r2 = t2[1], n2 = `${r2}[value="${e4.value}"]`;
144
+ Ce[n2] ? e4.setAttribute("data-tooltip", Ce[n2]) : Ce[r2] && e4.setAttribute("data-tooltip", Ce[r2]);
145
+ }
146
+ }), e3.querySelectorAll(".ql-picker").forEach((e4) => {
147
+ const t2 = e4.className.match(/ql-(\w+)/);
148
+ if (t2) {
149
+ const r2 = t2[1];
150
+ if (Ce[r2]) {
151
+ const t3 = e4.querySelector(".ql-picker-label");
152
+ t3 && t3.setAttribute("data-tooltip", Ce[r2]);
153
+ }
154
+ }
155
+ });
156
+ }(), function() {
157
+ var _a2, _b;
158
+ const e3 = (_b = (_a2 = ie.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
159
+ e3 && e3.addEventListener("mousedown", (e4) => {
160
+ e4.preventDefault();
161
+ });
162
+ }(), ke(ne), (_a = ie.value) == null ? void 0 : _a.addEventListener("focusout", Le), ae.on("text-change", async function(e3) {
163
+ if (!ae) return;
164
+ const t2 = ae.root.getElementsByTagName("img");
165
+ for (const e4 of t2) if (!e4.getAttribute("data-uuid")) {
166
+ const t3 = Re(e4.src);
167
+ e4.setAttribute("data-uuid", t3);
168
+ }
169
+ if (e3.ops && e3.ops.length > 0) for (const t3 of e3.ops) {
170
+ const e4 = t3.insert;
171
+ if (e4 == null ? void 0 : e4.image) {
172
+ const t4 = e4.image;
173
+ if (!t4.startsWith("data:image")) continue;
174
+ try {
175
+ ue.value = true;
176
+ const e5 = Ne(t4, "image.png"), r2 = await Fe(e5);
177
+ if (!ae) return;
178
+ const n2 = ae.root.getElementsByTagName("img");
179
+ for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = r2.url, e6.setAttribute("data-uuid", r2.uuid));
180
+ } catch (e5) {
181
+ console.error("上传图片失败", e5), Ae();
182
+ } finally {
183
+ ue.value = false;
184
+ }
185
+ }
186
+ }
187
+ !function() {
188
+ ge && clearTimeout(ge);
189
+ ge = setTimeout(() => {
190
+ if (!ae) return;
191
+ const e4 = Se();
192
+ k(G, K, e4), e4 && (O.value = "");
193
+ }, 300);
194
+ }(), qe();
195
+ }), qe(), Me = ae.container, Me.addEventListener("click", He), he(), i(() => {
196
+ const e3 = R(G, K);
197
+ C(e3, $.pageContext, $.configure, { formItemRef: be.value, componentRef: ye.value, titleRef: Te.value, value: e3, entity: $.pageContext.entity.data, pageData: $.pageContext.entity.page });
198
+ }));
199
+ }), n(() => {
200
+ document.addEventListener("keydown", Ee);
201
+ }), a(() => {
202
+ document.removeEventListener("keydown", Ee), ge && clearTimeout(ge), ie.value && ie.value.removeEventListener("focusout", Le), Me && Me.removeEventListener("click", He);
203
+ }), D2({ addRequiredClass: function() {
204
+ O.value = A();
205
+ }, setContent: function(e3) {
206
+ ke(e3), qe();
207
+ }, getContent: function() {
208
+ return ae ? ae.root.innerHTML : "";
209
+ } }), (e3, t2) => {
210
+ const r2 = l("View"), n2 = l("el-icon"), i2 = l("FullScreen"), a2 = l("Close"), y2 = l("el-form-item"), T2 = l("el-image-viewer"), M2 = l("el-dialog");
211
+ return o(), u(s, null, [c(y2, { required: ee.value.required, class: p(d(Q) + (O.value ? " " + O.value : "")), "label-width": ee.value.labelWidth, style: g(d(J)) }, m({ default: f(() => [h("div", { class: p(["richtext-wrapper", { "is-fullscreen": le.value }]) }, [h("div", { ref_key: "quillEditorRef", ref: ie, style: { width: "100%" } }, null, 512), h("div", H, [h("button", { type: "button", class: "toolbar-btn", onClick: we, title: d(q)("superPageRuntimeMessage.richTextPreview") }, [c(n2, null, { default: f(() => [c(r2)]), _: 1 })], 8, F), h("button", { type: "button", class: "toolbar-btn", onClick: Pe, title: le.value ? d(q)("superPageRuntimeMessage.richTextExitFullScreen") : d(q)("superPageRuntimeMessage.richTextFullScreenEdit") }, [le.value ? (o(), v(n2, { key: 1 }, { default: f(() => [c(a2)]), _: 1 })) : (o(), v(n2, { key: 0 }, { default: f(() => [c(i2)]), _: 1 }))], 8, N)]), h("div", B, [h("span", I, x(d(q)("superPageRuntimeMessage.richTextWordCount")) + ":" + x(oe.value), 1)]), ue.value ? (o(), u("div", _, [t2[2] || (t2[2] = h("div", { class: "loading-spinner" }, null, -1)), h("span", null, x(d(q)("superPageRuntimeMessage.richTextImageUploading")), 1)])) : b("", true)], 2)]), _: 2 }, [ee.value.tittleShow ? { name: "label", fn: f(() => [h("div", { style: g({ ...d(X), ...d(Z) }), class: "amb-form-item-label" }, x(d(q)(ee.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), xe.value ? (o(), v(T2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
212
+ xe.value = false;
213
+ }), "url-list": ve.value }, null, 8, ["url-list"])) : b("", true), c(M2, { modelValue: se.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => se.value = e4), title: d(q)("superPageRuntimeMessage.richTextContentPreview"), width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: f(() => [h("div", { class: "richtext-preview-content ql-editor", innerHTML: ce.value }, null, 8, U)]), _: 1 }, 8, ["modelValue", "title"])], 64);
214
+ };
215
+ } });
216
+ export {
217
+ D as default
218
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./select-runtime2.vue.js";
2
+ /* empty css */
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = t(e, [["__scopeId", "data-v-dbb21bd8"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,156 @@
1
+ import { defineComponent as e, ref as l, computed as t, watch as o, onUnmounted as a, onMounted as i, nextTick as n, resolveComponent as r, openBlock as u, createBlock as s, normalizeStyle as p, unref as c, normalizeClass as f, createSlots as v, withCtx as g, createVNode as m, createElementVNode as d, withKeys as y, withModifiers as h, createCommentVNode as b, createElementBlock as x, Fragment as C, renderList as _, toDisplayString as w, createTextVNode as S } from "vue";
2
+ import { setVariableValue as k, getOptionDatasFromPage as A, queryOptionDatasources as T, putToOptionSourceMap as j, autoSetAfterSelect as R, getVariableValue as P } from "../../../../utils/page-helper-util.js";
3
+ import { getFormModelFields as V } from "../../../../utils/page-init-util.js";
4
+ import { handleFormEvent as M, handleAfterInitEvent as D } from "../../../../utils/events/event-util.js";
5
+ import I from "../common/title-suffix-element.vue.js";
6
+ import { $t as q } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
8
+ import { CopyDocument as E } from "@element-plus/icons-vue";
9
+ import O from "clipboard";
10
+ import { ElMessage as W } from "element-plus";
11
+ import { useI18n as B } from "vue-i18n";
12
+ const F = { style: { "padding-left": "5px" } }, G = { style: { width: "100%", display: "flex", "align-items": "center" } }, K = { key: 0, style: { display: "flex", "flex-direction": "column" } }, L = { style: { color: "var(--el-text-color-secondary)", "font-size": "13px" } }, U = { style: { float: "left" } }, $ = { style: { float: "right", color: "var(--el-text-color-secondary)" } }, H = "__amb_select_all__", J = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: J2 }) {
13
+ const { t: N } = B(), Q = e2, X = l(null), Y = l(false), Z = Q.pageContext.entity ? Q.pageContext.entity : {};
14
+ let ee = V(Q.pageContext, Q.configure);
15
+ const le = Q.configure.runtime ? Q.configure.runtime : {}, te = le.style, oe = le.class, ae = le.headerStyle, ie = le.titleExceedStyle, ne = l(le.props ? le.props : {});
16
+ let re = l(ne.value.optionDescriptionPosition && "default" !== ne.value.optionDescriptionPosition), ue = [];
17
+ const se = "copyBtn_" + Q.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
18
+ function pe() {
19
+ let e3 = P(Z, ee);
20
+ return null != e3 && (e3 = String(e3)), ne.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
21
+ }
22
+ const ce = t({ get: () => pe(), set(e3) {
23
+ const l2 = pe();
24
+ ue = Array.isArray(l2) ? [...l2] : l2;
25
+ let t2 = e3;
26
+ if (ne.value.multiple && false !== ne.value.showSelectAll && Array.isArray(e3) && e3.includes(H)) {
27
+ const e4 = (fe.value || []).map((e5) => String(e5.value)), o2 = Array.isArray(l2) ? l2.map((e5) => String(e5)) : [];
28
+ t2 = e4.length > 0 && e4.every((e5) => o2.includes(e5)) ? [] : e4;
29
+ }
30
+ if (ne.value.multiple) {
31
+ t2 = !!ne.value.arrayValue ? Array.isArray(t2) ? t2 : t2 ? String(t2).split(",") : [] : Array.isArray(t2) ? t2.length > 0 ? t2.join(",") : "" : t2 ?? "";
32
+ }
33
+ void 0 === t2 && (t2 = null), k(Z, ee, t2), null != t2 && (X.value = "");
34
+ } }), fe = l(ne.value.options ? ne.value.options : []), ve = A(Q.pageContext, Q.configure);
35
+ ve.length > 0 && (fe.value = ve);
36
+ const ge = l(false), me = Q.configure.props && Q.configure.props.dataOrigin ? Q.configure.props.dataOrigin : {}, de = me.optionValueSetType;
37
+ let ye = [];
38
+ const he = ne.value.optionconfigInfo ? ne.value.optionconfigInfo : {};
39
+ if ("dynamicData" == de || "dataTable" == de || "service" == de) {
40
+ if ("remote" == me.filterType) {
41
+ let e3;
42
+ ne.value.filterable = true, ne.value.remote = true, ne.value.remoteShowSuffix = true, ne.value.remoteMethod = function(l2) {
43
+ e3 !== l2 && (e3 = l2, ge.value = true, T(Q.pageContext, he, l2).then((e4) => {
44
+ ge.value = false;
45
+ }).then((e4) => {
46
+ ge.value = false;
47
+ }));
48
+ };
49
+ }
50
+ if (me.autoSets) for (let e3 of me.autoSets) e3.source && ye.push(e3);
51
+ } else "static" == de && j(Q.pageContext, Q.configure.uuid, fe.value);
52
+ Q.configure && Q.configure.props && Q.configure.props.base && Q.configure.props.base.optionProp && ye.push({ source: "label", target: Q.configure.props.base.optionProp }), ne.value.changeMethod = function(e3) {
53
+ var _a;
54
+ let l2, t2 = null;
55
+ fe.value && null != e3 && null != e3 && (((_a = ne.value) == null ? void 0 : _a.multiple) && false !== ne.value.showSelectAll && Array.isArray(e3) && e3.includes(H) && (e3 = e3.filter((e4) => e4 !== H)), t2 = fe.value.filter((l3) => Array.isArray(e3) ? e3.includes(l3.value) : e3 === l3.value));
56
+ ye.length > 0 && R(Q.configure, Q.pageContext, ye, t2, [ne.value.prop]);
57
+ t2 && t2.length > 0 && (l2 = t2[0]);
58
+ let o2 = {};
59
+ l2 && (o2.extendParams = l2);
60
+ o2.options = fe.value, o2.oldValue = ue, M(e3, Q.pageContext, Q.configure, "change", o2);
61
+ };
62
+ const be = ne.value.monitorFields, xe = [];
63
+ if (be) {
64
+ const e3 = [];
65
+ for (let l2 of be) if (l2.startsWith("${")) {
66
+ l2 = l2.substring(2, l2.length - 1);
67
+ const t2 = l2.split(".");
68
+ "page" !== t2[0] && "task" !== t2[0] && "data" !== t2[0] || (xe.push(t2), e3.includes(t2[0]) || e3.push(t2[0]));
69
+ }
70
+ for (let l2 of e3) o(Z[l2], () => {
71
+ we();
72
+ });
73
+ }
74
+ let Ce = "", _e = false;
75
+ function we() {
76
+ _e && clearTimeout(_e), _e = setTimeout(function() {
77
+ const e3 = function() {
78
+ let e4 = [];
79
+ for (let l2 of xe) e4.push(P(Z, l2));
80
+ return e4.join(",");
81
+ }();
82
+ e3 != Ce && (Ce = e3, he.watchAttrValue = e3, T(Q.pageContext, he, void 0).then((e4) => {
83
+ ge.value = false;
84
+ }));
85
+ }, 200);
86
+ }
87
+ a(() => {
88
+ _e && clearTimeout(_e);
89
+ });
90
+ let Se = false;
91
+ const ke = l(null), Ae = l(null), Te = l(null);
92
+ function je() {
93
+ const e3 = pe();
94
+ if (null != e3 && "" !== e3 && e3.length > 0) {
95
+ let l2 = "";
96
+ return "string" == typeof e3 ? fe.value.length > 0 ? fe.value.forEach((t2) => {
97
+ t2.value === e3 && (l2 = t2.label);
98
+ }) : l2 = e3 : fe.value.length > 0 ? (fe.value.forEach((t2) => {
99
+ e3.forEach((e4) => {
100
+ t2.value === e4 && (l2 = l2 + t2.label + ",");
101
+ });
102
+ }), l2 = l2.slice(0, l2.length - 1)) : l2 = e3.join(","), l2;
103
+ }
104
+ }
105
+ function Re(e3) {
106
+ Y.value = e3;
107
+ }
108
+ function Pe() {
109
+ const e3 = je();
110
+ e3 && navigator.clipboard && navigator.clipboard.writeText(e3).then(() => {
111
+ W({ showClose: true, type: "success", message: N("superPageRuntimeMessage.copySuccess") });
112
+ });
113
+ }
114
+ return i(() => {
115
+ const e3 = new O("#" + se, { text: function() {
116
+ return je();
117
+ } });
118
+ e3.on("success", () => {
119
+ W({ showClose: true, type: "success", message: N("superPageRuntimeMessage.copySuccess") });
120
+ }), e3.on("error", (e4) => {
121
+ console.error("复制失败", e4);
122
+ }), n(() => {
123
+ const e4 = ce.value;
124
+ D(e4, Q.pageContext, Q.configure, { formItemRef: ke.value, componentRef: Ae.value, titleRef: Te.value, value: e4, entity: Q.pageContext.entity.data, pageData: Q.pageContext.entity.page });
125
+ });
126
+ }), J2({ updateOptions: function(e3) {
127
+ if (fe.value = e3 || [], !Se) {
128
+ const e4 = pe();
129
+ if (null != e4 && "" !== e4 && fe.value.length > 0) {
130
+ let l2 = false;
131
+ for (let t2 of fe.value) if (t2.value == e4) {
132
+ l2 = true;
133
+ break;
134
+ }
135
+ if (!l2) {
136
+ for (let l3 of fe.value) if (l3.label == e4) {
137
+ ce.value = l3.value;
138
+ break;
139
+ }
140
+ }
141
+ }
142
+ }
143
+ Se = true;
144
+ }, addRequiredClass: function() {
145
+ X.value = z();
146
+ }, getSelectItemsTitle: je, getOptions: function() {
147
+ return fe.value;
148
+ } }), (l2, t2) => {
149
+ const o2 = r("el-icon"), a2 = r("el-option"), i2 = r("el-select"), n2 = r("el-popover"), k2 = r("el-form-item");
150
+ return u(), s(k2, { ref_key: "formItemRef", ref: ke, required: !!ne.value.required, class: f(c(oe) + (X.value ? " " + X.value : "")), "label-width": ne.value.labelWidth, style: p(c(te)) }, v({ default: g(() => [m(n2, { placement: "right", trigger: "hover", width: 50, "popper-class": "custom-sel-copy-tooltip", "popper-options": { modifiers: [{ name: "flip", options: { fallbackPlacements: ["left", "top", "bottom"] } }] } }, { reference: g(() => [d("div", G, [m(i2, { ref_key: "componentRef", ref: Ae, style: { flex: "1", "min-width": "0" }, disabled: "disabled" === ne.value.state, size: ne.value.size, clearable: ne.value.clearable, multiple: ne.value.multiple, "collapse-tags": ne.value.collapseTags, "collapse-tags-tooltip": ne.value.collapseTagsTooltip, filterable: ne.value.filterable, "allow-create": ne.value.allowCreate, placeholder: c(q)(ne.value.placeholder), "remote-show-suffix": ne.value.remoteShowSuffix, remote: ne.value.remote, "remote-method": ne.value.remoteMethod, loading: ge.value, onKeydown: t2[0] || (t2[0] = y(h(() => {
151
+ }, ["stop"]), ["space"])), onChange: ne.value.changeMethod, onClear: ne.value.changeMethod, onVisibleChange: Re, modelValue: ce.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => ce.value = e3) }, { prefix: g(() => [d("span", { class: "mobile-copy-trigger", onClick: h(Pe, ["stop"]) }, [m(o2, { style: { cursor: "copy" } }, { default: g(() => [m(c(E))]), _: 1 })])]), default: g(() => [ne.value.multiple && false !== ne.value.showSelectAll ? (u(), s(a2, { key: 0, label: c(N)("superGrid.selectAll"), value: H, disabled: !(fe.value && fe.value.length > 0) }, null, 8, ["label", "disabled"])) : b("", true), (u(true), x(C, null, _(fe.value, (l3) => (u(), s(a2, { key: l3.value, label: l3.label, value: l3.value, class: f({ "option-description-newLine": c(re) }), onClick: (t3) => c(M)(l3.value, e2.pageContext, e2.configure, "click", { values: ce.value }) }, { default: g(() => [l3._description_ ? (u(), x(C, { key: 0 }, [c(re) ? (u(), x("div", K, [d("span", null, w(l3.label), 1), d("span", L, w(l3._description_), 1)])) : (u(), x(C, { key: 1 }, [d("span", U, w(l3.label), 1), d("span", $, w(l3._description_), 1)], 64))], 64)) : b("", true)]), _: 2 }, 1032, ["label", "value", "class", "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: g(() => [d("span", F, [m(o2, { id: se, style: { cursor: "copy" } }, { default: g(() => [m(c(E))]), _: 1 })])]), _: 1 })]), _: 2 }, [ne.value.tittleShow ? { name: "label", fn: g(() => [d("div", { ref_key: "titleRef", ref: Te, style: p({ ...c(ae), ...c(ie) }), class: "amb-form-item-label" }, [ne.value.prefixType ? (u(), s(I, { key: 0, pageContext: e2.pageContext, property: ne.value }, null, 8, ["pageContext", "property"])) : (u(), x(C, { key: 1 }, [S(w(c(q)(ne.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
152
+ };
153
+ } });
154
+ export {
155
+ J as default
156
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./separatelabel-runtime2.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,16 @@
1
+ import { defineComponent as e, ref as t, onMounted as i, nextTick as o, openBlock as n, createElementBlock as r, normalizeClass as a, unref as p, normalizeStyle 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.js";
4
+ import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.js";
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 });
11
+ });
12
+ }), d2({}), (t2, i2) => (n(), r("div", { style: l(p(T)), class: a([p(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: l(p(h)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (n(), u(p(m), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(p(y)(e2.configure.props.base.title)), 1)], 4)], 6));
13
+ } });
14
+ export {
15
+ d as default
16
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./switch-runtime2.vue.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, openBlock as n, createBlock as v, normalizeStyle as o, unref as r, normalizeClass as c, createSlots as s, withCtx as f, createVNode as m, createElementVNode as p, toDisplayString as d } from "vue";
2
+ import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
+ import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.js";
5
+ import { $t as b } from "../../../../utils/i18n-util.js";
6
+ import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
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];
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 });
26
+ });
27
+ }), w2({ addRequiredClass: function() {
28
+ _.value = C();
29
+ } }), (t2, l2) => {
30
+ const a2 = i("el-switch"), u2 = i("el-form-item");
31
+ return n(), v(u2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: c(r(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(r(S)) }, s({ default: f(() => [m(a2, { 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(r(O)), modelValue: U.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => U.value = e3), onChange: l2[1] || (l2[1] = (t3) => r(h)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [p("div", { ref_key: "titleRef", ref: F, style: o({ ...r(I), ...r(T) }), class: "amb-form-item-label" }, d(r(b)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
32
+ };
33
+ } });
34
+ export {
35
+ w as default
36
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./tag-runtime2.vue.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,44 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o, openBlock as n, createBlock as r, normalizeStyle as u, unref as s, normalizeClass 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.js";
3
+ import { getVariableValue as C, setVariableValue as b } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as h, handleFormEvent as k } from "../../../../utils/events/event-util.js";
5
+ import { $t as _ } from "../../../../utils/i18n-util.js";
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++;
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 });
26
+ });
27
+ }), (t2, l2) => {
28
+ const a2 = o("el-tag"), i2 = o("el-form-item");
29
+ return n(), r(i2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: p(s(w)), "label-width": I.value.labelWidth, style: u(s(q)) }, { label: c(() => [I.value.tittleShow ? (n(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...s(z), ...s(S) }) }, y(s(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(n(true), f(g, null, m(E.value, (t3) => (n(), r(a2, { key: t3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, t4) {
30
+ if (I.value.closable) {
31
+ let e5 = C(D, A);
32
+ null == e5 && (e5 = []);
33
+ const l3 = Array.isArray(e5);
34
+ l3 || (e5 = (e5 + "").split(","));
35
+ const a3 = e5.indexOf(t4.value);
36
+ a3 > -1 && e5.splice(a3, 1), l3 || (e5 = e5.join(",")), b(D, A, e5);
37
+ }
38
+ k(e4, j2.pageContext, j2.configure, "remove");
39
+ }(e3, t3), onClick: l2[0] || (l2[0] = (t4) => s(k)(t4, e2.pageContext, e2.configure, "click")) }, { default: c(() => [v(y(t3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
40
+ };
41
+ } });
42
+ export {
43
+ j as default
44
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./textarea-runtime2.vue.js";
2
+ /* empty css */
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = t(e, [["__scopeId", "data-v-dcb86aec"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as n, openBlock as u, createElementBlock as r, createVNode as i, normalizeStyle as s, unref as p, normalizeClass as m, createSlots as f, withCtx as g, createElementVNode as c, createBlock as d, Fragment as v, createTextVNode as x, toDisplayString as y } from "vue";
2
+ import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
+ import { setVariableValue as C, getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as w, handleFormEvent as k } from "../../../../utils/events/event-util.js";
5
+ import R from "../common/title-suffix-element.vue.js";
6
+ import { $t as j } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
8
+ const q = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
9
+ const I = e2, z = t(null), S = I.pageContext.entity ? I.pageContext.entity : {};
10
+ let V = h(I.pageContext, I.configure);
11
+ const B = l({ get: () => b(S, V), set(e3) {
12
+ C(S, V, e3), null != e3 && "" !== e3 && (z.value = "");
13
+ } }), D = I.configure.runtime ? I.configure.runtime : {}, E = t(D.props ? D.props : {}), F = D.style, N = D.class, T = D.headerStyle, U = D.titleExceedStyle, W = t(null), A = t(null), G = t(null);
14
+ return a(() => {
15
+ o(() => {
16
+ const e3 = B.value;
17
+ w(e3, I.pageContext, I.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
18
+ });
19
+ }), q2({ addRequiredClass: function() {
20
+ z.value = _();
21
+ } }), (t2, l2) => {
22
+ const a2 = n("el-input"), o2 = n("el-form-item");
23
+ return u(), r("div", null, [i(o2, { ref_key: "formItemRef", ref: W, required: !!E.value.required, class: m(p(N) + (z.value ? " " + z.value : "")), "label-width": E.value.labelWidth, style: s(p(F)) }, f({ default: g(() => [i(a2, { ref_key: "componentRef", ref: A, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, size: E.value.size, clearable: E.value.clearable, placeholder: p(j)(E.value.placeholder), modelValue: B.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => B.value = e3), rows: E.value.rows ? E.value.rows : 2, maxlength: E.value.maxlength, minlength: E.value.minlength, "show-word-limit": E.value.showInputNum, type: "textarea", onInput: l2[1] || (l2[1] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 2 }, [E.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: G, style: s({ ...p(T), ...p(U) }), class: "amb-form-item-label" }, [E.value.prefixType ? (u(), d(R, { key: 0, pageContext: e2.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (u(), r(v, { key: 1 }, [x(y(p(j)(E.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])]);
24
+ };
25
+ } });
26
+ export {
27
+ q as default
28
+ };