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
@@ -1,65 +0,0 @@
1
- import { defineComponent as B, ref as r, computed as P, onMounted as j, nextTick as N, resolveComponent as b, openBlock as x, createBlock as F, normalizeStyle as _, unref as s, normalizeClass as U, createSlots as L, withCtx as k, createVNode as W, createElementBlock as G, Fragment as H, renderList as J, createElementVNode as K, toDisplayString as Q } from "vue";
2
- import { setVariableValue as X, getVariableValue as q, getOptionDatasFromPage as Y, putToOptionSourceMap as Z, monitorFieldChange as $, autoSetAfterSelect as ee, queryOptionDatasources as te } from "../../../../utils/page-helper-util.mjs";
3
- import { getFormModelFields as ae } from "../../../../utils/page-init-util.mjs";
4
- import { handleFormEvent as D, handleAfterInitEvent as le } from "../../../../utils/events/event-util.mjs";
5
- import { $t as oe } from "../../../../utils/i18n-util.mjs";
6
- import { addRequiredClassUtil as ne } from "../../../../utils/common-util.mjs";
7
- const ge = B({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {} }, setup(v, { expose: I }) {
8
- const t = v, c = r(null), m = t.pageContext.entity ? t.pageContext.entity : {};
9
- let h = ae(t.pageContext, t.configure);
10
- const p = P({ get() {
11
- let e = q(m, h);
12
- return e && typeof e == "string" && (e = e.split(",")), e;
13
- }, set(e) {
14
- e && e.length > 0 && (e = e.join(",")), X(m, h, e), e != null && (c.value = "");
15
- } }), n = t.configure.runtime ? t.configure.runtime : {}, O = n.style, z = n.class, M = n.headerStyle, w = n.titleExceedStyle, l = r(n.props ? n.props : {}), o = r(l.value.options ? l.value.options : []), S = Y(t.pageContext, t.configure);
16
- S.length > 0 && (o.value = S);
17
- const y = t.configure.props && t.configure.props.dataOrigin ? t.configure.props.dataOrigin : {}, f = y.optionValueSetType;
18
- let g = [];
19
- if (f == "dynamicData" || f == "dynamicData" || f == "service") {
20
- if (y.autoSets) for (let e of y.autoSets) e.source && g.push(e);
21
- } else f == "static" && Z(t.pageContext, t.configure.uuid, o.value);
22
- t.configure && t.configure.props && t.configure.props.base && t.configure.props.base.optionProp && g.push({ source: "label", target: t.configure.props.base.optionProp }), l.value.changeMethod = function(e) {
23
- if (g.length > -1) {
24
- let a = null;
25
- o.value && e != null && e != null && (a = o.value.filter((u) => Array.isArray(e) ? e.includes(u.value) : e === u.value)), ee(t.configure, t.pageContext, g, a);
26
- }
27
- D(e, t.pageContext, t.configure, "change");
28
- };
29
- const A = l.value.optionconfigInfo ? l.value.optionconfigInfo : {}, T = l.value.monitorFields;
30
- $(t.pageContext, T, function() {
31
- te(t.pageContext, A, void 0).then((e) => {
32
- });
33
- });
34
- const V = r(null), R = r(null), E = r(null);
35
- return j(() => {
36
- N(() => {
37
- const e = p.value;
38
- le(e, t.pageContext, t.configure, { formItemRef: V.value, componentRef: R.value, titleRef: E.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
39
- });
40
- }), I({ updateOptions: function(e) {
41
- o.value = e || [];
42
- }, addRequiredClass: function() {
43
- c.value = ne();
44
- }, getSelectItemsTitle: function() {
45
- const e = function() {
46
- let a = q(m, h);
47
- return a != null && (a = String(a)), a;
48
- }();
49
- if (e != null && e !== "" && e.length > 0) {
50
- let a = "";
51
- const u = e.split(",");
52
- return o.value.length > 0 ? (o.value.forEach((d) => {
53
- u.forEach((C) => {
54
- d.value === C && (a = a + d.label + ",");
55
- });
56
- }), a = a.slice(0, a.length - 1)) : a = e.join(","), a;
57
- }
58
- } }), (e, a) => {
59
- const u = b("el-checkbox"), d = b("el-checkbox-group"), C = b("el-form-item");
60
- return x(), F(C, { ref_key: "formItemRef", ref: V, class: U(s(z) + (c.value ? " " + c.value : "")), required: !!l.value.required, "label-width": l.value.labelWidth, style: _(s(O)) }, L({ default: k(() => [W(d, { ref_key: "componentRef", ref: R, disabled: l.value.state === "disabled", size: l.value.size, onChange: l.value.changeMethod, modelValue: p.value, "onUpdate:modelValue": a[0] || (a[0] = (i) => p.value = i) }, { default: k(() => [(x(!0), G(H, null, J(o.value, (i) => (x(), F(u, { key: i.value, value: i.value, label: i.label, onClick: (ue) => s(D)(i.value, v.pageContext, v.configure, "click", { values: p.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [l.value.tittleShow ? { name: "label", fn: k(() => [K("div", { ref_key: "titleRef", ref: E, style: _({ ...s(M), ...s(w) }), class: "amb-form-item-label" }, Q(s(oe)(l.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
61
- };
62
- } });
63
- export {
64
- ge as default
65
- };
@@ -1,36 +0,0 @@
1
- import { defineComponent as g, computed as k, resolveComponent as c, openBlock as s, createElementBlock as v, Fragment as C, createBlock as x, isRef as m, unref as d, createCommentVNode as V } from "vue";
2
- import { formatVariableValue as A, setVariableValue as f, getVariableValue as b } from "../../../../utils/page-helper-util.mjs";
3
- const P = g({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(o) {
4
- const r = o, n = r.pageContext.entity;
5
- let t = [];
6
- if (r.property.prefixPro && r.property.prefixPro.startsWith("${")) {
7
- let l = r.property.prefixPro;
8
- l = l.substring(2, l.length - 1), t = l.split(".");
9
- } else t = [];
10
- if (t.length > 0 && r.property.prefixDefault) {
11
- const l = r.property.prefixDefault;
12
- let e = A(r.pageContext, l);
13
- e != null && e != null && (r.property.prefixType === "checkbox" && (e = (e + "").split(",")), f(n, t, e));
14
- }
15
- const y = r.property.prefixType;
16
- let a = r.property.prefixValue;
17
- a = a == null || a == null ? "" : a;
18
- let p = null;
19
- return t.length > 0 && (p = k({ get() {
20
- const l = b(n, t);
21
- return y === "checkbox" ? l != null && (Array.isArray(l) ? l.includes(a) : l === a) : l;
22
- }, set(l) {
23
- if (y === "checkbox") {
24
- let e = b(n, t);
25
- e || (e = []), Array.isArray(e) || (e = [e]);
26
- const u = e.indexOf(a);
27
- l ? u == -1 && e.push(a) : u > -1 && e.splice(u, 1), f(n, t, e);
28
- } else f(n, t, l);
29
- } })), (l, e) => {
30
- const u = c("el-radio"), h = c("el-checkbox");
31
- return s(), v(C, null, [o.property.prefixType === "radio" ? (s(), x(u, { key: 0, value: o.property.prefixValue, label: o.property.title, modelValue: d(p), "onUpdate:modelValue": e[0] || (e[0] = (i) => m(p) ? p.value = i : p = i) }, null, 8, ["value", "label", "modelValue"])) : V("", !0), o.property.prefixType === "checkbox" ? (s(), x(h, { key: 1, label: o.property.title, value: o.property.prefixValue, modelValue: d(p), "onUpdate:modelValue": e[1] || (e[1] = (i) => m(p) ? p.value = i : p = i) }, null, 8, ["label", "value", "modelValue"])) : V("", !0)], 64);
32
- };
33
- } });
34
- export {
35
- P as default
36
- };
@@ -1,4 +0,0 @@
1
- import o from "./title-suffix-element.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,4 +0,0 @@
1
- import o from "./custom-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,69 +0,0 @@
1
- import { defineComponent as B, computed as G, ref as d, onMounted as H, nextTick as M, onUnmounted as N, resolveComponent as W, openBlock as f, createBlock as x, normalizeStyle as S, unref as n, normalizeClass as L, createSlots as T, withCtx as _, createElementBlock as w, resolveDynamicComponent as U, createCommentVNode as j, createElementVNode as J, toDisplayString as K } from "vue";
2
- import { getFormModelFields as Q } from "../../../../utils/page-init-util.mjs";
3
- import { setVariableValue as q, getVariableValue as X, formatVariableValue as Y, getFormPropName as P, setVariableValueWithProp as Z } from "../../../../utils/page-helper-util.mjs";
4
- import { handleAfterInitEvent as ee, handleEvent as y } from "../../../../utils/events/event-util.mjs";
5
- import { updateFormItemEditState as te } from "../../../../utils/events/validator-util.mjs";
6
- import { getListCode as ae } from "../../../../utils/common-util.mjs";
7
- import { getComponentRef as oe } from "../../../../utils/global-refs.mjs";
8
- import { getAdditionalParamMap as ne } from "../../../../utils/events/standard-event.mjs";
9
- import { $t as ie } from "../../../../utils/i18n-util.mjs";
10
- import C from "../../../../utils/eventBus.mjs";
11
- import { functions as re } from "../../../../utils/api/page-expose-util.mjs";
12
- const le = { key: 0, style: { width: "100%", height: "100%" } }, ue = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, be = B({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(a, { expose: $ }) {
13
- const e = a, g = e.pageContext.entity ? e.pageContext.entity : {}, l = Q(e.pageContext, e.configure), u = G({ get: () => X(g, l), set(t) {
14
- q(g, l, t);
15
- } }), p = e.configure.runtime ? e.configure.runtime : {}, z = p.style, I = p.class, O = p.headerStyle, s = d(p.props ? p.props : {}), b = function(t) {
16
- let o = {};
17
- if (t) for (let c in t) {
18
- const r = t[c];
19
- o[c] = Y(e.pageContext, r);
20
- }
21
- return o;
22
- }(p.customParams ? p.customParams : {}), h = ne(e.pageContext), v = d(e.configure.props && e.configure.props.base ? e.configure.props.base.name : null);
23
- function V(t, o) {
24
- Z(g, t, o);
25
- }
26
- function k(t) {
27
- re.isHasFieldAuthPermission(e.configure) ? te(e.pageContext, t) : console.error("没有该字段的权限,dynamicFields=", l ? l.join(".") : "");
28
- }
29
- function R() {
30
- const t = e.pageContext.tableUuids;
31
- t && t.forEach((o) => {
32
- const c = ae(e.pageContext.code, e.pageContext.version, e.configure.uuid), r = oe(e.pageContext, o);
33
- r && r.restoreGridEdit(c);
34
- });
35
- }
36
- e.configure.props.verification.custom && e.configure.props.verification.custom.enabled && (e.pageContext.customValidatorUuids || (e.pageContext.customValidatorUuids = []), e.pageContext.customValidatorUuids.push(e.configure.uuid));
37
- const A = e.pageContext.code, m = d(l && l.length > 0 ? A + "__" + l.join("__") : null), i = d(null), E = d(null), D = d(null);
38
- function F(t) {
39
- y(u.value, e.pageContext, e.configure, t);
40
- }
41
- return H(() => {
42
- C.$on(m.value + "-scanDone", (t) => {
43
- const o = t.result;
44
- q(g, l, o);
45
- }), C.$on(m.value + "-pickFileDone", (t) => {
46
- m.value, i.value.pickFileDone(t);
47
- }), M(() => {
48
- const t = u.value;
49
- ee(t, e.pageContext, e.configure, { formItemRef: E.value, componentRef: i.value, titleRef: D.value, value: t, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
50
- });
51
- }), N(() => {
52
- C.$off(m.value + "-scanDone"), C.$off(m.value + "-pickFileDone");
53
- }), $({ getCustomRef: function() {
54
- return i.value;
55
- }, invokeCustomFunction: function(t, ...o) {
56
- if (i.value && typeof i.value[t] == "function") return i.value[t](...o);
57
- throw new Error(`执行失败:Function '${t}' not found in custom component`);
58
- }, hasCustomFunction: function(t) {
59
- return i.value && typeof i.value[t] == "function";
60
- }, addRequiredClass: function() {
61
- requiredClass.value = addRequiredClassUtil();
62
- } }), (t, o) => {
63
- const c = W("el-form-item");
64
- return s.value.tittleShow ? (f(), x(c, { key: 0, ref_key: "formItemRef", ref: E, required: s.value.required, class: L(n(I)), "label-width": s.value.labelWidth, style: S(n(z)) }, T({ default: _(() => [v.value ? (f(), w("div", le, [(f(), x(U(v.value), { ref_key: "customRef", ref: i, size: s.value.size, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page, pageContext: a.pageContext, configureObj: a.configure, prop: n(P)(a.configure.props && a.configure.props.base ? a.configure.props.base.prop : null), "custom-params": n(b), modelValue: u.value, "onUpdate:modelValue": o[0] || (o[0] = (r) => u.value = r), disabled: s.value.state === "disabled", "additional-param-map": n(h), "component-id": m.value, onSetEntityValue: V, onSetCustomRules: k, onRestoreGridEdit: R, onHandleEvent: F, onChange: o[1] || (o[1] = (r) => n(y)(u.value, a.pageContext, a.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : j("", !0)]), _: 2 }, [s.value.tittleShow ? { name: "label", fn: _(() => [J("div", { ref_key: "titleRef", ref: D, style: S({ ...n(O) }), class: "amb-form-item-label" }, K(n(ie)(s.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : v.value ? (f(), w("div", ue, [(f(), x(U(v.value), { ref_key: "customRef", ref: i, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page, pageContext: a.pageContext, configureObj: a.configure, prop: n(P)(a.configure.props && a.configure.props.base ? a.configure.props.base.prop : null), "custom-params": n(b), modelValue: u.value, "onUpdate:modelValue": o[2] || (o[2] = (r) => u.value = r), disabled: s.value.state === "disabled", "additional-param-map": n(h), "component-id": m.value, onSetEntityValue: V, onSetCustomRules: k, onRestoreGridEdit: R, onHandleEvent: F, onChange: o[3] || (o[3] = (r) => n(y)(u.value, a.pageContext, a.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : j("", !0);
65
- };
66
- } });
67
- export {
68
- be as default
69
- };
@@ -1,4 +0,0 @@
1
- import o from "./datepicker-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,102 +0,0 @@
1
- import { defineComponent as U, ref as C, onMounted as $, nextTick as N, computed as W, resolveComponent as D, openBlock as m, createBlock as x, normalizeStyle as B, unref as r, normalizeClass as j, createSlots as O, withCtx as M, createElementVNode as Q, createElementBlock as G, Fragment as H, createTextVNode as J, toDisplayString as K } from "vue";
2
- import { getFormModelFields as L } from "../../../../utils/page-init-util.mjs";
3
- import { getDateShortCuts as X } from "../../../../utils/form/date-shortcuts.mjs";
4
- import { getModelFieldFromPageContext as Z, getValueFromVariable as P, setVariableValue as g, getVariableValue as k, isDateDataType as ee } from "../../../../utils/page-helper-util.mjs";
5
- import { handleAfterInitEvent as ae, getCustomFunc as le, handleFormEvent as n } from "../../../../utils/events/event-util.mjs";
6
- import te from "../common/title-suffix-element.vue.mjs";
7
- import _ from "dayjs";
8
- import { $t as c } from "../../../../utils/i18n-util.mjs";
9
- import { addRequiredClassUtil as oe } from "../../../../utils/common-util.mjs";
10
- import { DatePickerRange as re, DateQuarterPicker as ne } from "agilebuilder-ui";
11
- const he = U({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(o, { expose: q }) {
12
- var Y;
13
- const d = o, b = C(null), u = d.pageContext.entity ? d.pageContext.entity : {}, h = d.configure.runtime ? d.configure.runtime : {}, w = h.style, A = h.class, E = h.headerStyle, I = h.titleExceedStyle, e = C(h.props ? h.props : {});
14
- let i = L(d.pageContext, d.configure, e.value.prop);
15
- if (d.pageContext.modelFieldsMap && i && i.length > 0 && i[0] === "data") {
16
- const t = Z(i, d.pageContext);
17
- t && function(a) {
18
- const s = a.dataType;
19
- ee(s) && (e.value.dateType === "year" && e.value.valueFormat === "YYYY" || e.value.dateType === "month" && e.value.valueFormat === "YYYY-MM") && (e.value.valueFormat = "x");
20
- }(t);
21
- }
22
- let p = null, T = !1;
23
- if (e.value.dateType && e.value.dateType.includes("range")) {
24
- T = !0;
25
- let t = e.value.prop2;
26
- t && t.startsWith("${") || (t = "${page." + d.configure.uuid + "-2}");
27
- const a = P(u, t, null);
28
- if (t = t.substring(2, t.length - 1), p = t.split("."), !(a || u.data && (u.data.id || u.data.ID)) && e.value.defaultValue2) {
29
- const s = P(u, e.value.defaultValue2);
30
- if (s != null && s !== "") g(u, p, s);
31
- else if (((Y = e.value.moreDefaultValue2) == null ? void 0 : Y.length) > 0) {
32
- const f = e.value.moreDefaultValue2;
33
- for (let V = 0; V < f.length; V++) {
34
- const l = P(u, f[V]);
35
- if (l != null && l !== "") {
36
- g(u, p, l);
37
- break;
38
- }
39
- }
40
- }
41
- }
42
- }
43
- const R = C(null), z = C(null), S = C(null);
44
- function F(t, a) {
45
- if (!t) return t;
46
- if (a) {
47
- typeof t != "number" || isNaN(t) || t.toString().length !== 4 || (t = t.toString());
48
- try {
49
- const s = _(t);
50
- let f = null;
51
- return f = a === "x" ? s.toDate().getTime() : _(t).format(a), f === "Invalid Date" ? t : f;
52
- } catch (s) {
53
- return console.error("日期值格式化错误", s), console.error(`value: ${t} ,valueFormat: ${e.value.valueFormat}`), t;
54
- }
55
- }
56
- return t;
57
- }
58
- if ($(() => {
59
- N(() => {
60
- const t = v.value;
61
- ae(t, d.pageContext, d.configure, { formItemRef: R.value, componentRef: z.value, titleRef: S.value, value: t, entity: d.pageContext.entity.data, pageData: d.pageContext.entity.page });
62
- });
63
- }), i) {
64
- const t = k(u, i), a = F(t, e.value.valueFormat);
65
- t !== a && g(u, i, a);
66
- }
67
- if (p) {
68
- const t = k(u, p), a = F(t, e.value.valueFormat);
69
- t !== a && g(u, p, a);
70
- }
71
- const v = W({ get() {
72
- if (T) {
73
- const t = [];
74
- let a = k(u, i);
75
- t.push(F(a, e.value.valueFormat));
76
- let s = k(u, p);
77
- return t.push(F(s, e.value.valueFormat)), t;
78
- }
79
- return F(k(u, i), e.value.valueFormat);
80
- }, set(t) {
81
- T ? Array.isArray(t) ? (g(u, i, t[0]), g(u, p, t[1]), b.value = "") : t === null && (g(u, i, null), g(u, p, null)) : (g(u, i, t), t != null && (b.value = ""));
82
- } }), y = C(X(e.value.dateScopeDetails, e.value.sourceType, e.value.dateType));
83
- if (e.value.shortcutsFunc) {
84
- const t = le(d.pageContext, e.value.shortcutsFunc);
85
- if (t) {
86
- let a = t.apply(t, [{ pageContext: d.pageContext, configureObj: d.configure }]);
87
- if (a) {
88
- Array.isArray(a) || (a = [a]), y.value || (y.value = []);
89
- for (let s of a) s.text && s.value && y.value.push(s);
90
- }
91
- }
92
- }
93
- return q({ addRequiredClass: function() {
94
- b.value = oe();
95
- } }), (t, a) => {
96
- const s = D("el-time-picker"), f = D("el-date-picker"), V = D("el-form-item");
97
- return m(), x(V, { ref_key: "formItemRef", ref: R, required: e.value.required, class: j(r(A) + (b.value ? " " + b.value : "")), "label-width": e.value.labelWidth, style: B(r(w)) }, O({ default: M(() => [e.value.dateType == "time" || e.value.dateType == "timerange" ? (m(), x(s, { key: 0, ref_key: "componentRef", ref: z, "is-range": e.value.dateType == "timerange", style: { width: "100%" }, "range-separator": "-", clearable: e.value.clearable, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", size: e.value.size, placeholder: r(c)(e.value.placeholder), "start-placeholder": r(c)(e.value.placeholder), "end-placeholder": r(c)(e.value.endPlaceholder ? e.value.endPlaceholder : e.value.placeholder), "unlink-panels": !0, format: e.value.format, "value-format": e.value.valueFormat, modelValue: v.value, "onUpdate:modelValue": a[0] || (a[0] = (l) => v.value = l), shortcuts: y.value, type: e.value.dateType, onChange: a[1] || (a[1] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[2] || (a[2] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[3] || (a[3] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onVisibleChange: a[4] || (a[4] = (l) => r(n)(l, o.pageContext, o.configure, "visible-change")), onPanelChange: a[5] || (a[5] = (l) => r(n)(l, o.pageContext, o.configure, "panel-change")), onClear: a[6] || (a[6] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : e.value.dateRangePickerMode !== "combined" && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(e.value.dateType) ? (m(), x(r(re), { key: 1, modelValue: v.value, "onUpdate:modelValue": a[7] || (a[7] = (l) => v.value = l), type: e.value.dateType, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", clearable: e.value.clearable, format: e.value.format, "value-format": e.value.valueFormat, placeholder: r(c)(e.value.placeholder), "start-placeholder": r(c)(e.value.placeholder), "end-placeholder": r(c)(e.value.endPlaceholder ? e.value.endPlaceholder : e.value.placeholder), size: e.value.size, shortcuts: y.value, onChange: a[8] || (a[8] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[9] || (a[9] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[10] || (a[10] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onVisibleChange: a[11] || (a[11] = (l) => r(n)(l, o.pageContext, o.configure, "visible-change")), onPanelChange: a[12] || (a[12] = (l) => r(n)(l, o.pageContext, o.configure, "panel-change")), onClear: a[13] || (a[13] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : e.value.dateType === "quarter" ? (m(), x(r(ne), { key: 2, modelValue: v.value, "onUpdate:modelValue": a[14] || (a[14] = (l) => v.value = l), type: e.value.dateType, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", clearable: e.value.clearable, format: e.value.format, "value-format": e.value.valueFormat, placeholder: r(c)(e.value.placeholder), size: e.value.size, onChange: a[15] || (a[15] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[16] || (a[16] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[17] || (a[17] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onClear: a[18] || (a[18] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "size"])) : (m(), x(f, { key: 3, ref_key: "componentRef", ref: z, clearable: e.value.clearable, style: { width: "100%" }, "unlink-panels": !0, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", size: e.value.size, placeholder: r(c)(e.value.placeholder), "start-placeholder": r(c)(e.value.placeholder), "end-placeholder": r(c)(e.value.endPlaceholder ? e.value.endPlaceholder : e.value.placeholder), format: e.value.format, "value-format": e.value.valueFormat, modelValue: v.value, "onUpdate:modelValue": a[19] || (a[19] = (l) => v.value = l), shortcuts: y.value, type: e.value.dateType, onChange: a[20] || (a[20] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[21] || (a[21] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[22] || (a[22] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onVisibleChange: a[23] || (a[23] = (l) => r(n)(l, o.pageContext, o.configure, "visible-change")), onPanelChange: a[24] || (a[24] = (l) => r(n)(l, o.pageContext, o.configure, "panel-change")), onClear: a[25] || (a[25] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 2 }, [e.value.tittleShow ? { name: "label", fn: M(() => [Q("div", { ref_key: "titleRef", ref: S, style: B({ ...r(E), ...r(I) }) }, [e.value.prefixType ? (m(), x(te, { key: 0, pageContext: o.pageContext, property: e.value }, null, 8, ["pageContext", "property"])) : (m(), G(H, { key: 1 }, [J(K(r(c)(e.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
98
- };
99
- } });
100
- export {
101
- he as default
102
- };
@@ -1,4 +0,0 @@
1
- import o from "./depttree-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as O, ref as p, onMounted as A, nextTick as P, computed as U, watch as j, resolveComponent as w, openBlock as h, createBlock as z, normalizeStyle as I, unref as n, normalizeClass as G, createSlots as H, withCtx as R, createVNode as J, createElementVNode as K, createElementBlock as L, Fragment as Q, createTextVNode as X, toDisplayString as Y } from "vue";
2
- import { getFormModelFields as Z } from "../../../../utils/page-init-util.mjs";
3
- import { handleAfterInitEvent as ee, handleFormEvent as c } from "../../../../utils/events/event-util.mjs";
4
- import te from "../common/title-suffix-element.vue.mjs";
5
- import { $t as ae } from "../../../../utils/i18n-util.mjs";
6
- import { setVariableValue as le, getVariableValue as T, getFormPropName as oe, getValueFromVariable as ne } from "../../../../utils/page-helper-util.mjs";
7
- import { addRequiredClassUtil as re } from "../../../../utils/common-util.mjs";
8
- const fe = O({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(x, { expose: _ }) {
9
- const e = x, m = p(null), f = p([]), r = e.pageContext.entity ? e.pageContext.entity : {};
10
- r.data || (r.data = {});
11
- const g = r.data, q = r.page;
12
- let i = Z(e.pageContext, e.configure);
13
- const S = i.length > 0 ? i[i.length - 1] : e.configure.uuid, l = e.configure.runtime ? e.configure.runtime : {}, t = p(l.props ? l.props : {}), E = l.style, M = l.class, N = l.headerStyle, W = l.titleExceedStyle;
14
- l.props.deptScope && (l.props.deptScope == "field" && l.props.deptScopeField ? (V(), function(a, s) {
15
- if (a.indexOf("${fixed.") === 0) return;
16
- const u = a.match(/\${(.*?)}/);
17
- if (!u) return;
18
- const d = u ? u[1].split(".") : [];
19
- d && d.length > 0 && j(() => d.reduce((y, C) => y[C], e.pageContext.entity), (y, C) => {
20
- s(y, C);
21
- });
22
- }(l.props.deptScopeField, (a, s) => {
23
- V();
24
- })) : l.props.deptScope == "depts" && l.props.deptScopeCodes && (f.value = l.props.deptScopeCodes.split(",")));
25
- const F = p(null), b = p(null), k = p(null);
26
- A(() => {
27
- P(() => {
28
- const a = g ? g[S] : null;
29
- ee(a, e.pageContext, e.configure, { formItemRef: F.value, componentRef: b.value, titleRef: k.value, value: a, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
30
- });
31
- });
32
- const B = U({ get: () => T(r, i), set(a) {
33
- le(r, i, a), a != null && (m.value = "");
34
- } }), o = t.value.autoSetFields ? t.value.autoSetFields : [];
35
- let v = null;
36
- function $(a, s) {
37
- v ? v === a && (i.length > 0 ? c(T(r, i), e.pageContext, e.configure, "change") : c(s, e.pageContext, e.configure, "change")) : a === S && c(s, e.pageContext, e.configure, "change");
38
- }
39
- function D() {
40
- c(null, e.pageContext, e.configure, "click");
41
- }
42
- function V() {
43
- const a = ne(e.pageContext.entity, l.props.deptScopeField);
44
- f.value = a ? a.split(",") : [];
45
- }
46
- return o.length - 1 > 0 && o[o.length - 1] && o[o.length - 1].model && (v = oe(o[o.length - 1].model)), _({ addRequiredClass: function() {
47
- m.value = re();
48
- } }), (a, s) => {
49
- const u = w("OrganizationInput"), d = w("el-form-item");
50
- return h(), z(d, { ref_key: "formItemRef", ref: F, required: t.value.required, class: G(n(M) + (m.value ? " " + m.value : "")), "label-width": t.value.labelWidth, style: I(n(E)) }, H({ default: R(() => [J(u, { ref_key: "componentRef", ref: b, disabled: t.value.state == "disabled", multiple: t.value.multiple, treeType: t.value.treeType, value: B.value, models: n(g), departmentInfo: f.value, limitFilterColumn: t.value.limitFilterColumn, pageModels: n(q), fields: n(o), inputShowWay: t.value.inputShowWay, autosize: t.value.autosize, size: t.value.size, displayItem: t.value.displayItem, separator: t.value.separator, onSetValue: $, onShowTree: D }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [t.value.tittleShow ? { name: "label", fn: R(() => [K("div", { ref_key: "titleRef", ref: k, style: I({ ...n(N), ...n(W) }), class: "amb-form-item-label" }, [t.value.prefixType ? (h(), z(te, { key: 0, pageContext: x.pageContext, property: t.value }, null, 8, ["pageContext", "property"])) : (h(), L(Q, { key: 1 }, [X(Y(n(ae)(t.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
51
- };
52
- } });
53
- export {
54
- fe as default
55
- };
@@ -1,4 +0,0 @@
1
- import o from "./divider-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,24 +0,0 @@
1
- import { defineComponent as m, ref as u, computed as v, onMounted as g, nextTick as y, resolveComponent as C, openBlock as x, createBlock as k, unref as p, withCtx as b, createElementVNode as _, normalizeStyle as h, toDisplayString as E } from "vue";
2
- import { formatVariableValue as S } from "../../../../utils/page-helper-util.mjs";
3
- import { handleAfterInitEvent as V, handleFormEvent as B } from "../../../../utils/events/event-util.mjs";
4
- const w = m({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(o) {
5
- const e = o, a = e.configure.runtime ? e.configure.runtime : {}, c = a.headerStyle, n = u(a.props ? a.props : {});
6
- let r = n.value.value;
7
- const i = v(() => {
8
- if (!r) return "";
9
- const t = S(e.pageContext, r);
10
- return t == null || t == null ? "" : t;
11
- }), l = u(null);
12
- return g(() => {
13
- y(() => {
14
- const t = i.value;
15
- V(t, e.pageContext, e.configure, { componentRef: l.value, value: t, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
16
- });
17
- }), (t, s) => {
18
- const d = C("el-divider");
19
- return x(), k(d, { ref_key: "componentRef", ref: l, direction: n.value.direction, "border-style": n.value.borderType, "content-position": n.value.titlePosition, onClick: s[0] || (s[0] = (f) => p(B)(f, o.pageContext, o.configure, "click")) }, { default: b(() => [_("div", { style: h(p(c)) }, E(i.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
20
- };
21
- } });
22
- export {
23
- w as default
24
- };
@@ -1,4 +0,0 @@
1
- import o from "./fileupload-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,111 +0,0 @@
1
- import { defineComponent as se, ref as s, watch as pe, onMounted as fe, nextTick as Q, onUnmounted as de, resolveComponent as ce, openBlock as T, createBlock as U, normalizeStyle as X, unref as r, normalizeClass as me, createSlots as ve, withCtx as Y, createCommentVNode as Z, createElementVNode as ge, toDisplayString as he } from "vue";
2
- import { getVariableValue as N, setVariableValue as V } from "../../../../utils/page-helper-util.mjs";
3
- import { handleAfterInitEvent as ye, fileUploadBeforeUpload as Ce, fileUploadBeforeDelete as we, fileUploadUploaded as xe, fileUploadDeleted as be } from "../../../../utils/events/event-util.mjs";
4
- import { getRelativeBaseUrl as ke, http as Ie, FsUploadNew as ee } from "agilebuilder-ui";
5
- import te from "../../../../utils/eventBus.mjs";
6
- import { $t as P } from "../../../../utils/i18n-util.mjs";
7
- import { addRequiredClassUtil as Ne } from "../../../../utils/common-util.mjs";
8
- import { getDefaultValue as Pe } from "../../../../utils/page-init-util.mjs";
9
- const Fe = se({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(g, { expose: le }) {
10
- var A, M, G, H, J, K, L;
11
- const e = g, b = s(null), f = e.configure.runtime ? e.configure.runtime : {}, l = s(f.props ? f.props : {}), ae = f.style, oe = f.class, ie = f.headerStyle, ne = f.titleExceedStyle, d = e.pageContext.entity ? e.pageContext.entity : {}, c = e.configure.props.base ? e.configure.props.base : {}, i = z(c.prop), S = z(c.propName);
12
- let k = s({});
13
- k.value.isShowWatermark = ((M = (A = e.configure.props) == null ? void 0 : A.watermark) == null ? void 0 : M.isShowWatermark) === void 0 ? "true" : ((G = e.configure.props) == null ? void 0 : G.watermark.isShowWatermark) + "", k.value.content = (J = (H = e.configure.props) == null ? void 0 : H.watermark) != null && J.content ? (L = (K = e.configure.props) == null ? void 0 : K.watermark) == null ? void 0 : L.content : "";
14
- let D = !1;
15
- i && i.length > 1 && pe(() => e.pageContext.entity[i[0]][i[1]], (t) => {
16
- D || _(N(d, i));
17
- });
18
- const re = e.pageContext.code, h = s(i ? re + "__" + i.join("__") : null), ue = N(d, i), I = s(null), y = s(!1), n = s([]), C = s({});
19
- function _(t) {
20
- if (t) {
21
- const a = t.split(",");
22
- if (a.length > 0) {
23
- const o = ke(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
24
- Ie.post(o, a).then((u) => {
25
- n.value = [];
26
- const w = [], m = {};
27
- u.forEach((p) => {
28
- m[p.uuid] = p;
29
- });
30
- for (let p = 0; p < a.length; p++) {
31
- const v = a[p];
32
- w.push(m[v].fileName), n.value.push({ showName: m[v].fileName, serverPath: v, fileSize: m[v].fileSize });
33
- }
34
- l.value.displayType === "input" && (C.value.showName = w.join(","), C.value.serverPath = a.join(","));
35
- }).finally(() => {
36
- y.value = !0;
37
- });
38
- } else y.value = !0;
39
- } else n.value = [], C.value = {}, y.value = !0;
40
- }
41
- function z(t) {
42
- return t ? (t.startsWith("${") && (t = t.substring(2, t.length - 1)), t.split(".")) : [];
43
- }
44
- function R(t) {
45
- return e.pageContext.fileuploadInfo || (e.pageContext.fileuploadInfo = []), e.pageContext.fileuploadInfo.findIndex((a) => a.uuid === e.configure.uuid) === -1 && e.pageContext.fileuploadInfo.push({ uuid: e.configure.uuid, label: P(l.value.title) }), t.pageContext || (t.pageContext = e.pageContext), t.configure || (t.configureObj = e.configure), Ce(t);
46
- }
47
- function F() {
48
- if (e.pageContext.fileuploadInfo, e.configure.uuid, e.pageContext.fileuploadInfo && e.configure.uuid) {
49
- const t = e.pageContext.fileuploadInfo.findIndex((a) => a.uuid === e.configure.uuid);
50
- t !== -1 && e.pageContext.fileuploadInfo.splice(t, 1);
51
- }
52
- e.pageContext.fileuploadInfo;
53
- }
54
- function O(t) {
55
- F();
56
- }
57
- function j(t) {
58
- return we(e.pageContext, e.configure, t);
59
- }
60
- _(ue);
61
- const q = (t, a, o) => {
62
- var u;
63
- F(), W(), u = { response: t, uploadFile: a, uploadFiles: o }, xe(e.pageContext, e.configure, u);
64
- }, B = (t) => {
65
- var a;
66
- W(), a = { file: t }, be(e.pageContext, e.configure, a);
67
- }, W = () => {
68
- const t = [], a = [];
69
- if (l.value.limit && n.value.length > l.value.limit) {
70
- const o = n.value.length - l.value.limit;
71
- for (let u = 0; u < o; u++) n.value.shift();
72
- }
73
- for (let o = 0; o < n.value.length; o++) t.push(n.value[o].showName), a.push(n.value[o].serverPath);
74
- D = !0, V(e.pageContext.entity, i, a.join(",")), V(e.pageContext.entity, S, t.join(",")), Q(() => {
75
- D = !1;
76
- }), a.length > 0 && (b.value = "");
77
- }, $ = s(null), E = s(null);
78
- return fe(() => {
79
- te.$on(h.value + "-pickFileDone", (t) => {
80
- h.value, I.value.pickFileDone(t);
81
- }), Q(() => {
82
- const t = (u, w, m) => {
83
- if (!w) return;
84
- const p = [w, ...m || []];
85
- for (const v of p) try {
86
- const x = Pe(e.pageContext, v, "", !1);
87
- if (x != null && x !== "") {
88
- V(e.pageContext.entity, u, x);
89
- break;
90
- }
91
- } catch (x) {
92
- console.error("设置默认值出错:", u, x);
93
- break;
94
- }
95
- };
96
- d.data.ID == null && d.data.id == null && (t(i, c.propDefaultValue, c.morePropDefaultValue), t(S, c.propNameDefaultValue, c.morePropNameDefaultValue));
97
- const a = N(d, i), o = { showName: N(d, S), serverPath: a };
98
- ye(o, e.pageContext, e.configure, { formItemRef: $.value, componentRef: I.value, titleRef: E.value, value: o, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
99
- });
100
- }), de(() => {
101
- te.$off(h.value + "-pickFileDone");
102
- }), le({ addRequiredClass: function() {
103
- b.value = Ne();
104
- } }), (t, a) => {
105
- const o = ce("el-form-item");
106
- return l.value.tittleShow ? (T(), U(o, { key: 0, ref_key: "formItemRef", ref: $, required: l.value.required, class: me(r(oe) + (b.value ? " " + b.value : "")), "label-width": l.value.labelWidth, style: X(r(ae)) }, ve({ default: Y(() => [y.value ? (T(), U(r(ee), { key: 0, ref_key: "fileUploadRef", ref: I, style: { width: "100%" }, disabled: l.value.state === "disabled", displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: r(P)(l.value.placeholder), limit: l.value.limit, "limit-file-size": l.value.limitFileSize, "disabled-no-preview": l.value.disabledNoPreview, "disabled-no-download": l.value.disabledNoDownload, openCameraOrChoosePhoto: l.value.openCameraOrChoosePhoto, "sort-type": l.value.sortType, "file-info": C.value, "file-list": n.value, "system-code": g.pageContext.systemCode, componentId: h.value, watermark: r(k), "on-success": q, "on-remove": B, "before-upload": R, "on-error": O, "before-remove": j, pageContext: g.pageContext, "file-show-type": l.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : Z("", !0)]), _: 2 }, [l.value.tittleShow ? { name: "label", fn: Y(() => [ge("div", { ref_key: "titleRef", ref: E, style: X({ ...r(ie), ...r(ne) }), class: "amb-form-item-label" }, he(r(P)(l.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : y.value ? (T(), U(r(ee), { key: 1, ref_key: "fileUploadRef", ref: I, style: { width: "100%" }, disabled: l.value.state === "disabled", displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: r(P)(l.value.placeholder), limit: l.value.limit, "limit-file-size": l.value.limitFileSize, "disabled-no-preview": l.value.disabledNoPreview, "disabled-no-download": l.value.disabledNoDownload, openCameraOrChoosePhoto: l.value.openCameraOrChoosePhoto, "sort-type": l.value.sortType, "file-info": C.value, "file-list": n.value, "system-code": g.pageContext.systemCode, componentId: h.value, watermark: r(k), "on-success": q, "on-remove": B, "before-upload": R, "on-error": O, "before-remove": j, pageContext: g.pageContext, "file-show-type": l.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : Z("", !0);
107
- };
108
- } });
109
- export {
110
- Fe as default
111
- };
@@ -1,4 +0,0 @@
1
- import o from "./imageupload-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,88 +0,0 @@
1
- import { defineComponent as ie, ref as u, onMounted as ne, nextTick as ue, onUnmounted as se, resolveComponent as re, openBlock as k, createBlock as I, normalizeStyle as H, unref as n, normalizeClass as pe, createSlots as fe, withCtx as J, createCommentVNode as K, createElementVNode as de, toDisplayString as ce } from "vue";
2
- import { getVariableValue as S, setVariableValue as L } from "../../../../utils/page-helper-util.mjs";
3
- import { handleAfterInitEvent as me, fileUploadBeforeUpload as ve, fileUploadBeforeDelete as ge, fileUploadUploaded as ye, fileUploadDeleted as he } from "../../../../utils/events/event-util.mjs";
4
- import { FsImageUpload as Q, getRelativeBaseUrl as Ce, http as xe } from "agilebuilder-ui";
5
- import X from "../../../../utils/eventBus.mjs";
6
- import { $t as w } from "../../../../utils/i18n-util.mjs";
7
- import { addRequiredClassUtil as we } from "../../../../utils/common-util.mjs";
8
- const De = ie({ __name: "imageupload-runtime", props: { pageContext: {}, configure: {} }, setup(p, { expose: Y }) {
9
- var q, B, W, $, E, A, M;
10
- const e = p, v = u(null), s = e.configure.runtime ? e.configure.runtime : {}, t = u(s.props ? s.props : {}), Z = s.style, ee = s.class, ae = s.headerStyle, te = s.titleExceedStyle, b = e.pageContext.entity ? e.pageContext.entity : {}, P = e.configure.props.base ? e.configure.props.base : {}, f = U(P.prop), T = U(P.propName);
11
- let g = u({});
12
- g.value.isShowWatermark = ((B = (q = e.configure.props) == null ? void 0 : q.watermark) == null ? void 0 : B.isShowWatermark) === void 0 ? "true" : ((W = e.configure.props) == null ? void 0 : W.watermark.isShowWatermark) + "", g.value.content = (E = ($ = e.configure.props) == null ? void 0 : $.watermark) != null && E.content ? (M = (A = e.configure.props) == null ? void 0 : A.watermark) == null ? void 0 : M.content : "";
13
- const le = e.pageContext.code, d = u(f ? le + "__" + f.join("__") : null), oe = S(b, f), y = u(null), c = u(!1), i = u([]), m = u({});
14
- function U(a) {
15
- return a ? (a.startsWith("${") && (a = a.substring(2, a.length - 1)), a.split(".")) : [];
16
- }
17
- function D(a) {
18
- return e.pageContext.fileuploadInfo || (e.pageContext.fileuploadInfo = []), e.pageContext.fileuploadInfo.findIndex((l) => l.uuid === e.configure.uuid) === -1 && e.pageContext.fileuploadInfo.push({ uuid: e.configure.uuid, label: w(t.value.title) }), a.pageContext || (a.pageContext = e.pageContext), a.configure || (a.configureObj = e.configure), ve(a);
19
- }
20
- function N() {
21
- if (e.pageContext.fileuploadInfo, e.configure.uuid, e.pageContext.fileuploadInfo && e.configure.uuid) {
22
- const a = e.pageContext.fileuploadInfo.findIndex((l) => l.uuid === e.configure.uuid);
23
- a !== -1 && e.pageContext.fileuploadInfo.splice(a, 1);
24
- }
25
- e.pageContext.fileuploadInfo;
26
- }
27
- function _(a) {
28
- N();
29
- }
30
- function z(a) {
31
- return a.pageContext || (a.pageContext = e.pageContext), a.configure || (a.configureObj = e.configure), ge(e.pageContext, e.configure, a);
32
- }
33
- (function(a) {
34
- if (a) {
35
- const l = a.split(",");
36
- if (l.length > 0) {
37
- const o = Ce(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
38
- xe.post(o, l).then((h) => {
39
- i.value = [];
40
- const G = [], C = {};
41
- h.forEach((r) => {
42
- C[r.uuid] = r;
43
- });
44
- for (let r = 0; r < l.length; r++) {
45
- const x = l[r];
46
- G.push(C[x].fileName), i.value.push({ showName: C[x].fileName, serverPath: x, fileSize: C[x].fileSize });
47
- }
48
- t.value.displayType === "input" && (m.value.showName = G.join(","), m.value.serverPath = l.join(","));
49
- }).finally(() => {
50
- c.value = !0;
51
- });
52
- } else c.value = !0;
53
- } else i.value = [], m.value = {}, c.value = !0;
54
- })(oe);
55
- const R = (a, l) => {
56
- var o;
57
- N(), j(), o = { response: a, uploadFile: l }, ye(e.pageContext, e.configure, o);
58
- }, O = (a) => {
59
- var l;
60
- j(), l = { file: a }, he(e.pageContext, e.configure, l);
61
- }, j = () => {
62
- const a = [], l = [];
63
- if (t.value.limit && i.value.length > t.value.limit) {
64
- const o = i.value.length - t.value.limit;
65
- for (let h = 0; h < o; h++) i.value.shift();
66
- }
67
- for (let o = 0; o < i.value.length; o++) a.push(i.value[o].showName), l.push(i.value[o].serverPath);
68
- L(e.pageContext.entity, f, l.join(",")), L(e.pageContext.entity, T, a.join(",")), l.length > 0 && (v.value = "");
69
- }, F = u(null), V = u(null);
70
- return ne(() => {
71
- X.$on(d.value + "-pickFileDone", (a) => {
72
- d.value, y.value.pickFileDone(a);
73
- }), ue(() => {
74
- const a = S(b, f), l = { showName: S(b, T), serverPath: a };
75
- me(l, e.pageContext, e.configure, { formItemRef: F.value, componentRef: y.value, titleRef: V.value, value: l, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
76
- });
77
- }), se(() => {
78
- X.$off(d.value + "-pickFileDone");
79
- }), Y({ addRequiredClass: function() {
80
- v.value = we();
81
- } }), (a, l) => {
82
- const o = re("el-form-item");
83
- return t.value.tittleShow ? (k(), I(o, { key: 0, ref_key: "formItemRef", ref: F, required: t.value.required, class: pe(n(ee) + (v.value ? " " + v.value : "")), "label-width": t.value.labelWidth, style: H(n(Z)) }, fe({ default: J(() => [c.value ? (k(), I(n(Q), { key: 0, ref_key: "fileUploadRef", ref: y, style: { width: "100%" }, accept: t.value.accept && Object.keys(t.value.accept).length > 0 ? t.value.accept : "image/*", disabled: t.value.state === "disabled", displayType: t.value.displayType, multiple: t.value.multiple, placeholder: n(w)(t.value.placeholder), limit: t.value.limit, "limit-file-size": t.value.limitFileSize, "max-display-count": t.value.maxDisplayCount, "disabled-no-download": t.value.disabledNoDownload, openCameraOrChoosePhoto: t.value.openCameraOrChoosePhoto, "sort-type": t.value.sortType, "file-info": m.value, "file-list": i.value, "system-code": p.pageContext.systemCode, componentId: d.value, watermark: n(g), "on-success": R, "on-remove": O, "before-upload": D, "before-remove": z, "on-error": _, pageContext: p.pageContext, "file-show-type": t.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : K("", !0)]), _: 2 }, [t.value.tittleShow ? { name: "label", fn: J(() => [de("div", { ref_key: "titleRef", ref: V, style: H({ ...n(ae), ...n(te) }), class: "amb-form-item-label" }, ce(n(w)(t.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : c.value ? (k(), I(n(Q), { key: 1, ref_key: "fileUploadRef", ref: y, style: { width: "100%" }, accept: t.value.accept, disabled: t.value.state === "disabled", displayType: t.value.displayType, multiple: t.value.multiple, placeholder: n(w)(t.value.placeholder), limit: t.value.limit, "limit-file-size": t.value.limitFileSize, "max-display-count": t.value.maxDisplayCount, "disabled-no-download": t.value.disabledNoDownload, openCameraOrChoosePhoto: t.value.openCameraOrChoosePhoto, "sort-type": t.value.sortType, "file-info": m.value, "file-list": i.value, "system-code": p.pageContext.systemCode, componentId: d.value, watermark: n(g), "on-success": R, "on-remove": O, "before-upload": D, "before-remove": z, "on-error": _, pageContext: p.pageContext, "file-show-type": t.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : K("", !0);
84
- };
85
- } });
86
- export {
87
- De as default
88
- };