super-page-runtime 2.3.21-tmp1 → 2.3.22-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 (600) hide show
  1. package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
  2. package/dist/es/components/runtime/utils/{anchor-util.js → anchor-util.mjs} +5 -5
  3. package/dist/es/components/runtime/utils/api/api-util.mjs +4 -0
  4. package/dist/es/components/runtime/utils/api/{page-expose-util.js → page-expose-util.mjs} +26 -27
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +20 -0
  6. package/dist/es/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.mjs} +4 -4
  7. package/dist/es/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.mjs} +9 -9
  8. package/dist/es/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.mjs} +11 -11
  9. package/dist/es/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.mjs} +4 -4
  10. package/dist/es/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.mjs} +12 -12
  11. package/dist/es/components/runtime/utils/charts/{chart-util.js → chart-util.mjs} +13 -13
  12. package/dist/es/components/runtime/utils/{common-util.js → common-util.mjs} +13 -14
  13. package/dist/es/components/runtime/utils/events/{event-util.js → event-util.mjs} +94 -95
  14. package/dist/es/components/runtime/utils/events/{print-label.js → print-label.mjs} +2 -2
  15. package/dist/es/components/runtime/utils/events/standard-event.mjs +1166 -0
  16. package/dist/es/components/runtime/utils/events/{validator-util.js → validator-util.mjs} +35 -37
  17. package/dist/es/components/runtime/utils/form/{scan-util.js → scan-util.mjs} +22 -22
  18. package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
  19. package/dist/es/components/runtime/utils/page-helper-util.mjs +386 -0
  20. package/dist/es/components/runtime/utils/{page-init-util.js → page-init-util.mjs} +102 -104
  21. package/dist/es/components/runtime/utils/{page-store.js → page-store.mjs} +7 -7
  22. package/dist/es/components/runtime/utils/{store-util.js → store-util.mjs} +1 -1
  23. package/dist/es/components/runtime/utils/{table-utils.js → table-utils.mjs} +16 -16
  24. package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
  25. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
  26. package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.mjs} +3 -3
  27. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue.js → buttongroup-runtime.vue.mjs} +3 -3
  28. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.mjs} +2 -2
  29. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
  30. package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.mjs} +5 -5
  31. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
  32. package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime.vue2.js → exportpdf-runtime.vue2.mjs} +1 -1
  33. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
  34. package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime.vue2.mjs} +5 -5
  35. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
  36. package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.mjs} +5 -5
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +4 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +4 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.mjs} +5 -5
  40. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +4 -0
  41. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
  42. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +59 -0
  43. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue.js → gauge-runtime.vue.mjs} +3 -3
  44. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.mjs} +6 -6
  45. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue.js → pie-runtime.vue.mjs} +3 -3
  46. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.mjs} +7 -7
  47. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue.js → radar-runtime.vue.mjs} +3 -3
  48. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.mjs} +6 -6
  49. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue.js → scatter-runtime.vue.mjs} +3 -3
  50. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.mjs} +6 -6
  51. package/dist/es/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.mjs} +3 -3
  52. package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue.js → group-column-item.vue.mjs} +1 -1
  53. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +4 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.mjs} +4 -4
  55. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue.js → normal-column.vue.mjs} +13 -17
  57. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +4 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +8 -8
  61. package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.mjs} +2 -2
  62. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +4 -0
  63. package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.mjs} +1 -1
  64. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +4 -0
  65. package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.mjs} +1 -1
  66. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
  67. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
  68. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
  69. package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.mjs} +1 -1
  70. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +4 -0
  71. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +4 -0
  72. package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.mjs} +1 -1
  73. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +4 -0
  74. package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.mjs} +1 -1
  75. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +4 -0
  76. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +4 -0
  77. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue.js → card-runtime.vue.mjs} +3 -3
  78. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.mjs} +3 -3
  79. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
  80. package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.mjs} +6 -6
  81. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
  82. package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.mjs} +3 -3
  83. package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → FixedBox.vue.mjs} +3 -3
  84. package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue.js → YxAffix.vue.mjs} +3 -3
  85. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
  86. package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.mjs} +5 -5
  87. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
  88. package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.mjs} +5 -5
  89. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
  90. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +14 -0
  91. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue.js → tabs-runtime.vue.mjs} +3 -3
  92. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.mjs} +4 -4
  93. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue.js → tools-runtime.vue.mjs} +3 -3
  94. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.mjs} +4 -4
  95. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
  96. package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.mjs} +19 -19
  97. package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.mjs} +10 -10
  98. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
  99. package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.mjs} +8 -8
  100. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +4 -0
  101. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
  102. package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +31 -31
  103. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
  104. package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.mjs} +7 -7
  105. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +4 -0
  106. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
  107. package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.mjs} +7 -7
  108. package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +1 -1
  109. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +4 -0
  110. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
  111. package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.mjs} +12 -12
  112. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
  113. package/dist/es/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.mjs} +7 -7
  114. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
  115. package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.mjs} +8 -8
  116. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
  117. package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.mjs} +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
  119. package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime.vue2.mjs} +18 -20
  120. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
  121. package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.mjs} +6 -6
  122. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
  123. package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime.vue2.mjs} +32 -33
  124. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue.js → label-runtime.vue.mjs} +3 -3
  125. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.mjs} +6 -6
  126. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
  127. package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.mjs} +6 -6
  128. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue.js → placeholder-runtime.vue.mjs} +3 -3
  129. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.mjs} +1 -1
  130. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
  131. package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.mjs} +5 -5
  132. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
  133. package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.mjs} +6 -6
  134. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +4 -0
  135. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.mjs} +6 -6
  136. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
  137. package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.mjs} +2 -2
  138. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
  139. package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.mjs} +7 -7
  140. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
  141. package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.mjs} +4 -4
  142. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
  143. package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.mjs} +6 -6
  144. package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +8 -8
  145. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
  146. package/dist/es/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.mjs} +15 -15
  147. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
  148. package/dist/es/components/runtime/views/assemblys/{page-bottom.vue.js → page-bottom.vue.mjs} +1 -1
  149. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +4 -0
  150. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue.js → workflow-opinion-box.vue.mjs} +3 -3
  151. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.mjs} +4 -4
  152. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue.js → extract-workflow-runtime-dialog.vue.mjs} +3 -3
  153. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.mjs} +1 -1
  154. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue.js → extract-workflow-runtime.vue.mjs} +3 -3
  155. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.mjs} +2 -2
  156. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
  157. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.mjs} +9 -9
  158. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
  159. package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.mjs} +7 -7
  160. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue.js → workflowbutton-runtime.vue.mjs} +3 -3
  161. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.mjs} +3 -3
  162. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
  163. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +18 -0
  164. package/dist/es/components/runtime/views/{home-chart.vue.js → home-chart.vue.mjs} +8 -8
  165. package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
  166. package/dist/es/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.mjs} +1 -1
  167. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
  168. package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
  169. package/dist/es/components/runtime/views/{super-page.vue2.js → super-page.vue2.mjs} +90 -94
  170. package/dist/es/{index.js → index.mjs} +12 -12
  171. package/dist/es/style.css +136 -136
  172. package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
  173. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
  174. package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
  175. package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
  176. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
  177. package/dist/lib/components/runtime/index.d.ts +5 -0
  178. package/dist/lib/components/runtime/utils/{ai-chat-util.js → ai-chat-util.cjs} +1 -1
  179. package/dist/lib/components/runtime/utils/{anchor-util.js → anchor-util.cjs} +17 -17
  180. package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
  181. package/dist/lib/components/runtime/utils/api/{api-util.js → api-util.cjs} +1 -1
  182. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  183. package/dist/lib/components/runtime/utils/api/{page-expose-util.js → page-expose-util.cjs} +29 -29
  184. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  185. package/dist/lib/components/runtime/utils/assemblys-config.cjs +16 -0
  186. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  187. package/dist/lib/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.cjs} +1 -1
  188. package/dist/lib/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.cjs} +3 -3
  189. package/dist/lib/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.cjs} +1 -1
  190. package/dist/lib/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.cjs} +7 -7
  191. package/dist/lib/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.cjs} +1 -1
  192. package/dist/lib/components/runtime/utils/charts/{chart-util.js → chart-util.cjs} +67 -67
  193. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
  194. package/dist/lib/components/runtime/utils/{common-util.js → common-util.cjs} +28 -28
  195. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  196. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  197. package/dist/lib/components/runtime/utils/events/{event-util.js → event-util.cjs} +115 -115
  198. package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
  199. package/dist/lib/components/runtime/utils/events/{print-label.js → print-label.cjs} +11 -11
  200. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  201. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1101 -0
  202. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
  203. package/dist/lib/components/runtime/utils/events/{validator-util.js → validator-util.cjs} +135 -135
  204. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
  205. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  206. package/dist/lib/components/runtime/utils/form/{scan-util.js → scan-util.cjs} +2 -2
  207. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  208. package/dist/lib/components/runtime/utils/i18n-util.cjs +11 -0
  209. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  210. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
  211. package/dist/lib/components/runtime/utils/{page-helper-util.js → page-helper-util.cjs} +4 -4
  212. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  213. package/dist/lib/components/runtime/utils/page-init-util.cjs +244 -0
  214. package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
  215. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  216. package/dist/lib/components/runtime/utils/{page-store.js → page-store.cjs} +1 -1
  217. package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
  218. package/dist/lib/components/runtime/utils/{store-util.js → store-util.cjs} +4 -4
  219. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  220. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  221. package/dist/lib/components/runtime/utils/{table-utils.js → table-utils.cjs} +3 -3
  222. package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +54 -0
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +3 -0
  225. package/dist/lib/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.cjs} +1 -1
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +5 -0
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.cjs} +1 -1
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +3 -0
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.cjs} +1 -1
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +3 -0
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +3 -0
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +3 -0
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime.vue2.cjs} +6 -6
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +5 -0
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.cjs} +1 -1
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +3 -0
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +3 -0
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.cjs} +2 -2
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +3 -0
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +5 -0
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +48 -0
  242. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +5 -0
  243. package/dist/lib/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.cjs} +1 -1
  244. package/dist/lib/components/runtime/views/assemblys/{container/tabs/tabs-runtime.vue.js → chart/pie/pie-runtime.vue.cjs} +2 -2
  245. package/dist/lib/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.cjs} +1 -1
  246. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +5 -0
  247. package/dist/lib/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.cjs} +1 -1
  248. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +5 -0
  249. package/dist/lib/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.cjs} +1 -1
  250. package/dist/lib/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.cjs} +1 -1
  251. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +3 -0
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +3 -0
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.cjs} +1 -1
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +3 -0
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +36 -0
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +3 -0
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +3 -0
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +3 -0
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.cjs} +57 -57
  261. package/dist/lib/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.cjs} +5 -5
  262. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +3 -0
  264. package/dist/lib/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.cjs} +1 -1
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +3 -0
  267. package/dist/lib/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.cjs} +1 -1
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  269. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +3 -0
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +19 -0
  271. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  272. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +3 -0
  273. package/dist/lib/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.cjs} +1 -1
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +3 -0
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  277. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +3 -0
  278. package/dist/lib/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.cjs} +1 -1
  279. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  280. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +3 -0
  281. package/dist/lib/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.cjs} +1 -1
  282. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  283. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +3 -0
  284. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  285. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +3 -0
  286. package/dist/lib/components/runtime/views/assemblys/container/{tools/tools-runtime.vue.js → card/card-runtime.vue.cjs} +2 -2
  287. package/dist/lib/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.cjs} +1 -1
  288. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +3 -0
  289. package/dist/lib/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.cjs} +5 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +3 -0
  291. package/dist/lib/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.cjs} +3 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
  293. package/dist/lib/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → YxAffix.vue.cjs} +2 -2
  294. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  295. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +3 -0
  296. package/dist/lib/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.cjs} +1 -1
  297. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +3 -0
  298. package/dist/lib/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.cjs} +1 -1
  299. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +3 -0
  300. package/dist/lib/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime.vue2.cjs} +2 -2
  301. package/dist/lib/components/runtime/views/assemblys/{chart/radar/radar-runtime.vue.js → container/tabs/tabs-runtime.vue.cjs} +2 -2
  302. package/dist/lib/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.cjs} +1 -1
  303. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +5 -0
  304. package/dist/lib/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.cjs} +3 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +3 -0
  306. package/dist/lib/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.cjs} +2 -2
  307. package/dist/lib/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.cjs} +1 -1
  308. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +3 -0
  309. package/dist/lib/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.cjs} +1 -1
  310. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +3 -0
  311. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +3 -0
  312. package/dist/lib/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.cjs} +1 -1
  313. package/dist/lib/components/runtime/views/assemblys/{form/label/label-runtime.vue.js → data/tree/tree-runtime.vue.cjs} +2 -2
  314. package/dist/lib/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.cjs} +3 -3
  315. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  316. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +3 -0
  317. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +3 -0
  318. package/dist/lib/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.cjs} +1 -1
  319. package/dist/lib/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.cjs} +1 -1
  320. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +3 -0
  321. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +3 -0
  322. package/dist/lib/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.cjs} +1 -1
  323. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +3 -0
  324. package/dist/lib/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.cjs} +4 -4
  325. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +3 -0
  326. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.cjs} +10 -10
  327. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +3 -0
  328. package/dist/lib/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.cjs} +1 -1
  329. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +3 -0
  330. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +65 -0
  331. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +3 -0
  332. package/dist/lib/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.cjs} +6 -6
  333. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +3 -0
  334. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +70 -0
  335. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +5 -0
  336. package/dist/lib/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.cjs} +6 -6
  337. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +3 -0
  338. package/dist/lib/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.cjs} +3 -3
  339. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +5 -0
  340. package/dist/lib/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.cjs} +1 -1
  341. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +3 -0
  342. package/dist/lib/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.cjs} +1 -1
  343. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +5 -0
  344. package/dist/lib/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.cjs} +2 -2
  345. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +3 -0
  346. package/dist/lib/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.cjs} +1 -1
  347. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +3 -0
  348. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.cjs} +3 -3
  349. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +3 -0
  350. package/dist/lib/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.cjs} +1 -1
  351. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +3 -0
  352. package/dist/lib/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.cjs} +1 -1
  353. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +3 -0
  354. package/dist/lib/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.cjs} +1 -1
  355. package/dist/lib/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.cjs} +4 -4
  356. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  357. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +3 -0
  358. package/dist/lib/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.cjs} +1 -1
  359. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  360. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +3 -0
  361. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +3 -0
  362. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
  363. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +3 -0
  364. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +5 -0
  365. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
  366. package/dist/lib/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.cjs} +6 -6
  367. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +5 -0
  368. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.cjs} +1 -1
  369. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +5 -0
  370. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.cjs} +1 -1
  371. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +3 -0
  372. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.cjs} +1 -1
  373. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +3 -0
  374. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.cjs} +1 -1
  375. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +5 -0
  376. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.cjs} +1 -1
  377. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +3 -0
  378. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime.vue2.cjs} +3 -3
  379. package/dist/lib/components/runtime/views/{home-chart.vue.js → home-chart.vue.cjs} +5 -5
  380. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  381. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +3 -0
  382. package/dist/lib/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.cjs} +1 -1
  383. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  384. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +3 -0
  385. package/dist/lib/components/runtime/views/super-page.vue.cjs +5 -0
  386. package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
  387. package/dist/lib/components/runtime/views/super-page.vue2.cjs +264 -0
  388. package/dist/lib/index.cjs +6 -0
  389. package/dist/lib/index.d.ts +16 -0
  390. package/dist/lib/style.css +136 -136
  391. package/dist/umd/index.full.min.js +741 -741
  392. package/dist/umd/style.css +136 -136
  393. package/package.json +5 -4
  394. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  395. package/dist/es/components/runtime/utils/api/api-util.js +0 -4
  396. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  397. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1169
  398. package/dist/es/components/runtime/utils/i18n-util.js +0 -14
  399. package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
  400. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  401. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  402. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  403. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  404. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  405. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  406. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  407. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  408. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  409. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  410. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
  411. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
  412. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
  413. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
  414. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
  415. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  416. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
  417. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  418. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
  419. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  420. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
  421. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  422. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
  423. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
  424. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
  425. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  426. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  427. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  428. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  429. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  430. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  431. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -14
  432. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  433. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  434. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  435. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  436. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  437. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  438. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  439. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
  440. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  441. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  442. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  443. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  444. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  445. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  446. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  447. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  448. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  449. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  450. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  451. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  452. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  453. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  454. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  455. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
  456. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  457. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
  458. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  459. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  460. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  461. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -18
  462. package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
  463. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
  464. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  465. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -16
  466. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1101
  467. package/dist/lib/components/runtime/utils/i18n-util.js +0 -11
  468. package/dist/lib/components/runtime/utils/page-init-util.js +0 -244
  469. package/dist/lib/components/runtime/utils/tree-utils.js +0 -54
  470. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  471. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -5
  472. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  473. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -3
  474. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -3
  475. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -3
  476. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -5
  477. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  478. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  479. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  480. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -5
  481. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -48
  482. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -5
  483. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -5
  484. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -5
  485. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -3
  486. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -3
  487. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -3
  488. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -36
  489. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -3
  490. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -3
  491. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -3
  492. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -3
  493. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  494. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -3
  495. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -19
  496. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -3
  497. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  498. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -3
  499. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -3
  500. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -3
  501. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  502. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -5
  503. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  504. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  505. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -5
  506. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  507. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  508. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  509. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -3
  510. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  511. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  512. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  513. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -5
  514. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  515. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  516. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -3
  517. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -3
  518. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  519. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  520. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  521. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  522. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -65
  523. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  524. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  525. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -70
  526. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  527. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -5
  528. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  529. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -5
  530. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  531. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -3
  532. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  533. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  534. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  535. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -3
  536. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  537. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.js +0 -3
  538. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.js +0 -3
  539. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -5
  540. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -5
  541. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -5
  542. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -3
  543. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -3
  544. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -5
  545. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -3
  546. package/dist/lib/components/runtime/views/home-chart.vue2.js +0 -3
  547. package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +0 -3
  548. package/dist/lib/components/runtime/views/super-page.vue.js +0 -5
  549. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -264
  550. package/dist/lib/index.js +0 -6
  551. /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
  552. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  553. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  554. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  555. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  556. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  557. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  558. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  559. /package/dist/es/components/runtime/utils/{barcode-util.js → barcode-util.mjs} +0 -0
  560. /package/dist/es/components/runtime/utils/{eventBus.js → eventBus.mjs} +0 -0
  561. /package/dist/es/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.mjs} +0 -0
  562. /package/dist/es/components/runtime/utils/{global-refs.js → global-refs.mjs} +0 -0
  563. /package/dist/es/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.mjs} +0 -0
  564. /package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +0 -0
  565. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  566. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.mjs} +0 -0
  567. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.mjs} +0 -0
  568. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.mjs} +0 -0
  569. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.mjs} +0 -0
  570. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.mjs} +0 -0
  571. /package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.mjs} +0 -0
  572. /package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.mjs} +0 -0
  573. /package/dist/es/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.mjs} +0 -0
  574. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  575. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
  576. /package/dist/lib/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.cjs} +0 -0
  577. /package/dist/lib/assets/chart-themes/{bar-theme.js → bar-theme.cjs} +0 -0
  578. /package/dist/lib/assets/chart-themes/{gauge-theme.js → gauge-theme.cjs} +0 -0
  579. /package/dist/lib/assets/chart-themes/{pie-theme.js → pie-theme.cjs} +0 -0
  580. /package/dist/lib/assets/chart-themes/{radar-theme.js → radar-theme.cjs} +0 -0
  581. /package/dist/lib/assets/chart-themes/{scatter-theme.js → scatter-theme.cjs} +0 -0
  582. /package/dist/lib/assets/{file.png.js → file.png.cjs} +0 -0
  583. /package/dist/lib/assets/{folder.png.js → folder.png.cjs} +0 -0
  584. /package/dist/lib/components/runtime/utils/{barcode-util.js → barcode-util.cjs} +0 -0
  585. /package/dist/lib/components/runtime/utils/{eventBus.js → eventBus.cjs} +0 -0
  586. /package/dist/lib/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.cjs} +0 -0
  587. /package/dist/lib/components/runtime/utils/{global-refs.js → global-refs.cjs} +0 -0
  588. /package/dist/lib/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.cjs} +0 -0
  589. /package/dist/lib/components/runtime/utils/{page-permission-util.js → page-permission-util.cjs} +0 -0
  590. /package/dist/lib/components/runtime/utils/{store.js → store.cjs} +0 -0
  591. /package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.cjs} +0 -0
  592. /package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.cjs} +0 -0
  593. /package/dist/lib/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.cjs} +0 -0
  594. /package/dist/lib/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.cjs} +0 -0
  595. /package/dist/lib/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.cjs} +0 -0
  596. /package/dist/lib/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.cjs} +0 -0
  597. /package/dist/lib/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.cjs} +0 -0
  598. /package/dist/lib/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.cjs} +0 -0
  599. /package/dist/lib/i18n/langs/{cn.js → cn.cjs} +0 -0
  600. /package/dist/lib/i18n/langs/{en.js → en.cjs} +0 -0
@@ -89,22 +89,22 @@
89
89
  }), e;
90
90
  }
91
91
  function validatorEntity(e, t, n, o, a, l, r) {
92
- let u, i2 = sublistVerify(t);
93
- if (t && null !== t || !n || (i2 = getValidator()), !i2 || 0 === Object.keys(i2).length) return e.validateErrorField = "", true;
94
- return new Validator(i2).validate(e, { first: true }, (i3, s) => {
92
+ let i2, u = sublistVerify(t);
93
+ if (t && null !== t || !n || (u = getValidator()), !u || 0 === Object.keys(u).length) return e.validateErrorField = "", true;
94
+ return new Validator(u).validate(e, { first: true }, (u2, s) => {
95
95
  let c;
96
- if (i3) {
97
- u = i3[0].message, c = i3[0].field, elementPlus.ElMessage({ message: u, showClose: true, type: "warning", duration: 3e3 });
96
+ if (u2) {
97
+ i2 = u2[0].message, c = u2[0].field, elementPlus.ElMessage({ message: i2, showClose: true, type: "warning", duration: 3e3 });
98
98
  const e2 = getComponentRefByCode(r, c);
99
99
  e2 && e2.addRequiredClass && e2.addRequiredClass();
100
- } else u = true;
100
+ } else i2 = true;
101
101
  if (c && true === a) {
102
102
  if (/[A-Z]+/.test(c) && void 0 !== e[c.toLowerCase()]) {
103
103
  const a2 = JSON.parse(JSON.stringify(e));
104
- a2[c.toUpperCase()] = e[c.toLowerCase()], delete a2[c.toLowerCase()], u = validatorEntity(a2, t, n, o, false, l, r);
104
+ a2[c.toUpperCase()] = e[c.toLowerCase()], delete a2[c.toLowerCase()], i2 = validatorEntity(a2, t, n, o, false, l, r);
105
105
  }
106
106
  }
107
- }), u;
107
+ }), i2;
108
108
  }
109
109
  function validateDataModelFunc(e, t, n) {
110
110
  const o = e.entity.data, a = { ...e.entity.page, ...o }, l = e.rules, r = t.props.base ? t.props.base.isEnableRequired : null;
@@ -120,7 +120,7 @@
120
120
  }
121
121
  function validateWorkflowFormDataModel(e, t, n) {
122
122
  return new Promise((o, a) => {
123
- const l = getAdditionalParamMap(t), r = t.entity.context, u = t.entity.task, i2 = t.subTablePageInfo;
123
+ const l = getAdditionalParamMap(t), r = t.entity.context, i2 = t.entity.task, u = t.subTablePageInfo;
124
124
  validateCommon(e, t, n).then((n2) => {
125
125
  if (n2) {
126
126
  let a2, s, c, p, d = n2;
@@ -129,7 +129,7 @@
129
129
  if (!validateSubTableNotEmpty(t, e)) return void o(false);
130
130
  const n3 = true, m = Object.assign({}, f);
131
131
  m.subRules && (Object.keys(m.subRules).length > 0 ? m.totalSubRules || (m.totalSubRules = {}) : delete m.subRules);
132
- const v = window.$vueApp.config.globalProperties.$formValidator(e, m, true, l, u, r, i2, n3);
132
+ const v = window.$vueApp.config.globalProperties.$formValidator(e, m, true, l, i2, r, u, n3);
133
133
  d = v.msg, a2 = v.field, s = v.listCode, c = v.rowIndex, p = v.pageNum;
134
134
  } else d = true;
135
135
  if (true !== d) {
@@ -142,7 +142,7 @@
142
142
  }
143
143
  o(false);
144
144
  } else Object.keys(e).indexOf("validateErrorField") >= 0 && delete e.validateErrorField, o(e);
145
- } else a(new Error(util.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
145
+ } else a(new Error(agilebuilderUi.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
146
146
  }).catch((e2) => {
147
147
  a(e2);
148
148
  });
@@ -159,9 +159,9 @@
159
159
  if (t[a] ? Array.isArray(t[a]) && 0 === t[a].length && (n2 = true) : n2 = true, n2) {
160
160
  const n3 = getComponentRefByCode(e, a).getConfigure();
161
161
  if ((_a = l.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
162
- if (false === calculatorUtil.parseSubTablePermissionCondition(l.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e.dataTypeMaps, t, {}, (_b = e.entity) == null ? void 0 : _b.request, (_c = e.entity) == null ? void 0 : _c.task, e.contextParam)) return true;
162
+ if (false === agilebuilderUi.parseSubTablePermissionCondition(l.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e.dataTypeMaps, t, {}, (_b = e.entity) == null ? void 0 : _b.request, (_c = e.entity) == null ? void 0 : _c.task, e.contextParam)) return true;
163
163
  }
164
- return elementPlus.ElMessage({ showClose: true, message: util.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: n3.title ? n3.title : a }), type: "warning" }), false;
164
+ return elementPlus.ElMessage({ showClose: true, message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: n3.title ? n3.title : a }), type: "warning" }), false;
165
165
  }
166
166
  }
167
167
  }
@@ -185,15 +185,15 @@
185
185
  if (true === validator(l, n, null, null, true, t)) {
186
186
  if (true === validateSubTables(t)) {
187
187
  const e2 = validateCustomRuleEvents(t);
188
- e2 && commonUtil.isPromise(e2) ? e2.then((e3) => {
188
+ e2 && agilebuilderUi.isPromise(e2) ? e2.then((e3) => {
189
189
  e3 ? validateCustomRefValidator(t).then((e4) => {
190
190
  o(e4);
191
191
  }) : o(false);
192
192
  }) : validateCustomRefValidator(t).then((e3) => {
193
193
  o(e3);
194
194
  });
195
- } else a(new Error(util.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
196
- } else a(new Error(util.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
195
+ } else a(new Error(agilebuilderUi.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
196
+ } else a(new Error(agilebuilderUi.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
197
197
  } else o(true);
198
198
  });
199
199
  }
@@ -235,7 +235,7 @@
235
235
  const e2 = o.getConfigure();
236
236
  if ((_a = e2 == null ? void 0 : e2.verification) == null ? void 0 : _a.notEmpty) {
237
237
  const t2 = o.getTableData();
238
- if (!t2 || !Array.isArray(t2) || 0 === t2.length) return elementPlus.ElMessage({ showClose: true, message: util.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: e2.title ? e2.title : e2.code }), type: "warning" }), false;
238
+ if (!t2 || !Array.isArray(t2) || 0 === t2.length) return elementPlus.ElMessage({ showClose: true, message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: e2.title ? e2.title : e2.code }), type: "warning" }), false;
239
239
  }
240
240
  }
241
241
  if (!o.validatorSunTableListData()) return false;
@@ -255,8 +255,8 @@
255
255
  function i18nValidatePropRulesMessage(e, t) {
256
256
  e.forEach((e2) => {
257
257
  e2.message;
258
- const t2 = e2.label, n = util.getI18n().t(t2);
259
- e2.required && (e2.message = util.getI18n().t("superPageRuntimeMessage.required", { label: n })), e2.myType && (e2.message = util.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: n })), e2.patternType && (e2.message = util.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: n })), void 0 !== e2.max && null !== e2.max && (e2.message = util.getI18n().t("superPageRuntimeMessage.overMaxLength", { label: n, value: e2.max })), void 0 !== e2.min && null !== e2.min && (e2.message = util.getI18n().t("superPageRuntimeMessage.limitMinLength", { label: n, value: e2.min }));
258
+ const t2 = e2.label, n = agilebuilderUi.getI18n().t(t2);
259
+ e2.required && (e2.message = agilebuilderUi.getI18n().t("superPageRuntimeMessage.required", { label: n })), e2.myType && (e2.message = agilebuilderUi.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: n })), e2.patternType && (e2.message = agilebuilderUi.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: n })), void 0 !== e2.max && null !== e2.max && (e2.message = agilebuilderUi.getI18n().t("superPageRuntimeMessage.overMaxLength", { label: n, value: e2.max })), void 0 !== e2.min && null !== e2.min && (e2.message = agilebuilderUi.getI18n().t("superPageRuntimeMessage.limitMinLength", { label: n, value: e2.min }));
260
260
  });
261
261
  }
262
262
  function getWorkflowRules(e) {
@@ -265,8 +265,8 @@
265
265
  t2.name && e.formPropTiltleMap[t2.name] && (t2.label = e.formPropTiltleMap[t2.name]);
266
266
  });
267
267
  let r = window.$vueApp.config.globalProperties.$getValidator(e.completeTaskParam.fieldPermissions, n, true, o, l, a);
268
- const u = e.customRules;
269
- return r = packageCustomRules(e, u, r), r && (r.rules || (r.rules = {}), r.subRules || (r.subRules = {})), r;
268
+ const i2 = e.customRules;
269
+ return r = packageCustomRules(e, i2, r), r && (r.rules || (r.rules = {}), r.subRules || (r.subRules = {})), r;
270
270
  }
271
271
  function validateCustomRuleEvents(e) {
272
272
  const t = [];
@@ -278,7 +278,7 @@
278
278
  }), t && t.length > 0 ? new Promise((e2, n) => {
279
279
  const o = [], a = [];
280
280
  t.forEach((e3) => {
281
- commonUtil.isPromise(e3) ? o.push(e3) : a.push(e3);
281
+ agilebuilderUi.isPromise(e3) ? o.push(e3) : a.push(e3);
282
282
  }), a.includes(false) && e2(false), o.length > 0 ? Promise.all(o).then((t2) => {
283
283
  t2.includes(false) ? e2(false) : e2(true);
284
284
  }).catch((t2) => {
@@ -354,7 +354,7 @@
354
354
  const $t = (e, ...t) => {
355
355
  i18n || (i18n = vueI18n.useI18n());
356
356
  const n = usePageContextStore().pageContext;
357
- if (null === enableI18n && (enableI18n = !!i18nUtil.getEnableI18nState(n.systemCode)), !enableI18n) return e;
357
+ if (null === enableI18n && (enableI18n = !!agilebuilderUi.i18nUtil.getEnableI18nState(n.systemCode)), !enableI18n) return e;
358
358
  const o = `${n.systemCode}.${e}`, a = i18n.t(o, t || []);
359
359
  return a !== o ? a : e;
360
360
  };
@@ -422,11 +422,11 @@
422
422
  }
423
423
  function getCurrentUserFileTasks(e, t, n) {
424
424
  const o = getBaseUrl(e, n);
425
- return http.get(o + "/common/last-unread-file-task/" + t);
425
+ return agilebuilderUi.http.get(o + "/common/last-unread-file-task/" + t);
426
426
  }
427
427
  function setFileTaskRead(e, t, n) {
428
428
  const o = getBaseUrl(e, n);
429
- return http.put(o + "/common/file-task-read/" + t);
429
+ return agilebuilderUi.http.put(o + "/common/file-task-read/" + t);
430
430
  }
431
431
  const skipValidateEvents = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], exportEvents = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], importEvents = ["import"];
432
432
  function initPageEvents(e, t) {
@@ -496,13 +496,13 @@
496
496
  return handleEventUtil(e, t, n, o, false, a, false);
497
497
  }
498
498
  function handleEventUtil(e, t, n, o, a, l, r) {
499
- const u = n && n.runtime && n.runtime.events ? n.runtime.events : [];
500
- let i2;
499
+ const i2 = n && n.runtime && n.runtime.events ? n.runtime.events : [];
500
+ let u;
501
501
  if (r || !isClickEvent(o)) {
502
- if (i2 = getEventFuncByType(t, u, o), a) {
503
- return callItemEvent(t, n, i2, packageEventParams(t, n, e, l));
502
+ if (u = getEventFuncByType(t, i2, o), a) {
503
+ return callItemEvent(t, n, u, packageEventParams(t, n, e, l));
504
504
  }
505
- return i2;
505
+ return u;
506
506
  }
507
507
  buttonClickEvent(t, n, getDefaultEventParams(e, t, n, l));
508
508
  }
@@ -525,7 +525,7 @@
525
525
  const o2 = t.runtime && t.runtime.events ? t.runtime.events : [], a = getEventFuncByType(e, o2, "beforeValidateForm");
526
526
  let l;
527
527
  if (a && (l = callItemEvent(e, t, a, n)), void 0 === l && (l = true), !l) return void (e.canClick = true);
528
- commonUtil.isPromise(l) ? l.then((o3) => {
528
+ agilebuilderUi.isPromise(l) ? l.then((o3) => {
529
529
  o3 && true === o3 ? doValidateForm(e, t, n) : e.canClick = true;
530
530
  }).catch((t2) => {
531
531
  e.canClick = true;
@@ -544,7 +544,7 @@
544
544
  validateDataModelFunc(e, t, a).then((o2) => {
545
545
  if (!o2) return void (e.canClick = true);
546
546
  const a2 = doBeforeClickEvent(e, t, n);
547
- a2 ? commonUtil.isPromise(a2) ? a2.then((o3) => {
547
+ a2 ? agilebuilderUi.isPromise(a2) ? a2.then((o3) => {
548
548
  o3 ? doClickEvent(e, t, l, n) : e.canClick = true;
549
549
  }).catch((t2) => {
550
550
  console.error(t2), e.canClick = true;
@@ -560,11 +560,11 @@
560
560
  function getDefaultEventParams(e, t, n, o) {
561
561
  const a = t.code, l = t.version, r = getTableUuid(t, n);
562
562
  if (r) {
563
- const e2 = getComponentRef(t, r), n2 = e2 ? e2.getSelections() : null, u = e2 ? e2.getSelectionIds() : null;
563
+ const e2 = getComponentRef(t, r), n2 = e2 ? e2.getSelections() : null, i2 = e2 ? e2.getSelectionIds() : null;
564
564
  o || (o = {}), o.tableUuid = r, o.listCode = getListCode(a, l, r);
565
- isListPage(t) && (o.selections = n2, o.id = u && u.length > 0 ? u[0] : null, o.ids = u);
566
- const i2 = e2 ? e2.getTableConfigure() : null;
567
- o.tableConfigure = i2;
565
+ isListPage(t) && (o.selections = n2, o.id = i2 && i2.length > 0 ? i2[0] : null, o.ids = i2);
566
+ const u = e2 ? e2.getTableConfigure() : null;
567
+ o.tableConfigure = u;
568
568
  }
569
569
  return packageEventParams(t, n, e, o);
570
570
  }
@@ -583,13 +583,13 @@
583
583
  function doClickCustomEvent(e, t, n, o) {
584
584
  const a = n, l = isListPage(e);
585
585
  if (a) {
586
- const n2 = a.func, r = a.isStandard, u = a.event, i2 = callItemEvent(e, t, n2, o);
587
- if (isNotDoAfterClick(r, u)) return void (e.canClick = true);
588
- commonUtil.isPromise(i2) ? i2.then((n3) => {
586
+ const n2 = a.func, r = a.isStandard, i2 = a.event, u = callItemEvent(e, t, n2, o);
587
+ if (isNotDoAfterClick(r, i2)) return void (e.canClick = true);
588
+ agilebuilderUi.isPromise(u) ? u.then((n3) => {
589
589
  n3 ? doAfterClickFunc(e, t, o, r, n3, l) : e.canClick = true;
590
590
  }).catch((t2) => {
591
591
  console.error(t2), e.canClick = true;
592
- }) : doAfterClickFunc(e, t, o, r, i2, l);
592
+ }) : doAfterClickFunc(e, t, o, r, u, l);
593
593
  } else doAfterClickFunc(e, t, o, false, null, l);
594
594
  }
595
595
  function isNotDoAfterClick(e, t) {
@@ -602,7 +602,7 @@
602
602
  const o = t.runtime && t.runtime.events ? t.runtime.events : [], a = getEventFuncByType(e, o, "afterClick");
603
603
  if (a) {
604
604
  const o2 = callItemEvent(e, t, a, null, n);
605
- commonUtil.isPromise(o2) ? o2.finally(() => {
605
+ agilebuilderUi.isPromise(o2) ? o2.finally(() => {
606
606
  e.canClick = true;
607
607
  }) : e.canClick = true;
608
608
  } else e.canClick = true;
@@ -616,8 +616,8 @@
616
616
  let a = t, l = t.props.linkPage;
617
617
  if (l && l instanceof Array) {
618
618
  const n2 = expressJump(e, t, l, getRowData(o));
619
- let r, u = false;
620
- n2 && (u = n2.show, r = u ? n2.toPage : null), l = r ? r.linkPage : null, l && (a = deepCopy(t), a.props.linkPage = l);
619
+ let r, i2 = false;
620
+ n2 && (i2 = n2.show, r = i2 ? n2.toPage : null), l = r ? r.linkPage : null, l && (a = deepCopy(t), a.props.linkPage = l);
621
621
  }
622
622
  l && l.jumpPageUrl ? (e.canClick = true, doClickJumpPageEvent(e, a, o)) : doClickCustomEvent(e, t, n, o);
623
623
  }
@@ -692,19 +692,19 @@
692
692
  return new Promise((e2, n2) => {
693
693
  if (null == l || "" === l || null == a || 0 === a.length) e2({ canExecute: true });
694
694
  else {
695
- const n3 = t.entity.context, o2 = getAdditionalParamMap(t), r = true, u = t.tableName;
696
- let i2, s, c = true;
695
+ const n3 = t.entity.context, o2 = getAdditionalParamMap(t), r = true, i2 = t.tableName;
696
+ let u, s, c = true;
697
697
  for (let e3 = 0; e3 < a.length; e3++) {
698
698
  const p = a[e3];
699
699
  for (let e4 = 0; e4 < l.length; e4++) {
700
700
  const a2 = l[e4], d = a2.toolTips, f = a2.conditionList;
701
- if (!util.analysisCondition(f, p, o2, n3, r, u, null, t)) {
702
- c = false, i2 = d, s = p;
701
+ if (!agilebuilderUi.analysisCondition(f, p, o2, n3, r, i2, null, t)) {
702
+ c = false, u = d, s = p;
703
703
  break;
704
704
  }
705
705
  }
706
706
  }
707
- c ? e2({ canExecute: true }) : (i2 && elementPlus.ElMessage({ showClose: true, type: "warning", message: i2 }), e2({ canExecute: false, message: i2, failEntity: s }));
707
+ c ? e2({ canExecute: true }) : (u && elementPlus.ElMessage({ showClose: true, type: "warning", message: u }), e2({ canExecute: false, message: u, failEntity: s }));
708
708
  }
709
709
  });
710
710
  }
@@ -782,7 +782,7 @@
782
782
  }
783
783
  function isShowComponent(e) {
784
784
  let t = true;
785
- if (!commonUtil.isMobileBrowser()) {
785
+ if (!agilebuilderUi.isMobileBrowser()) {
786
786
  const n = e && e.events ? e.events : [];
787
787
  if (n) {
788
788
  const e2 = n.filter((e3) => "click" === e3.name && e3.isStandard && e3.eventName && "showSearch" === e3.eventName);
@@ -796,7 +796,7 @@
796
796
  }
797
797
  function isShowMobileEvent(e, t) {
798
798
  let n = true;
799
- if (commonUtil.isMobileBrowser()) {
799
+ if (agilebuilderUi.isMobileBrowser()) {
800
800
  const o = getClickEventFuncByType(e, t && t.runtime && t.runtime.events ? t.runtime.events : [], "click");
801
801
  if (o) {
802
802
  const e2 = o.isStandard, t2 = o.event, a = navigator ? navigator.userAgent : null;
@@ -823,10 +823,10 @@
823
823
  let e2 = parseInt(t);
824
824
  (null == e2 || isNaN(e2)) && (e2 = 2), r = parseFloat(parseFloat(r).toFixed(e2));
825
825
  }
826
- let u = "";
827
- e.indexOf("prefix") > -1 && n && (u = n);
828
826
  let i2 = "";
829
- return e.indexOf("append") > -1 && o && (i2 = o), u + r.toLocaleString() + i2;
827
+ e.indexOf("prefix") > -1 && n && (i2 = n);
828
+ let u = "";
829
+ return e.indexOf("append") > -1 && o && (u = o), i2 + r.toLocaleString() + u;
830
830
  };
831
831
  }
832
832
  function initChartOption(e, t) {
@@ -855,15 +855,15 @@
855
855
  let l = t.highlightInfos ? t.highlightInfos : [], r = -1;
856
856
  if (l) {
857
857
  const e2 = [];
858
- for (let u = 0; u < l.length; u++) {
859
- const i2 = l[u], s = i2.seriesIndex === a.seriesIndex && i2.dataIndex === a.dataIndex;
858
+ for (let i2 = 0; i2 < l.length; i2++) {
859
+ const u = l[i2], s = u.seriesIndex === a.seriesIndex && u.dataIndex === a.dataIndex;
860
860
  if (s || !o.multiple) {
861
861
  if (o.selected) {
862
862
  const e3 = "chart-pie" === t.name ? "unselect" : "downplay";
863
- n.dispatchAction({ type: e3, seriesIndex: i2.seriesIndex, dataIndex: i2.dataIndex });
863
+ n.dispatchAction({ type: e3, seriesIndex: u.seriesIndex, dataIndex: u.dataIndex });
864
864
  }
865
- } else e2.push(i2);
866
- s && (r = u);
865
+ } else e2.push(u);
866
+ s && (r = i2);
867
867
  }
868
868
  l = e2;
869
869
  }
@@ -890,8 +890,8 @@
890
890
  if (!t.clickSet) return;
891
891
  const n = t.clickSet, o = n.variables;
892
892
  if (!o || 0 == o.length) return;
893
- const a = t.highlightInfos ? t.highlightInfos : [], l = t.cacheDatas ? t.cacheDatas : [], r = [], u = [];
894
- for (const e2 of a) u.includes(e2.dataIndex) || (u.push(e2.dataIndex), e2.dataIndex < l.length && r.push(l[e2.dataIndex]));
893
+ const a = t.highlightInfos ? t.highlightInfos : [], l = t.cacheDatas ? t.cacheDatas : [], r = [], i2 = [];
894
+ for (const e2 of a) i2.includes(e2.dataIndex) || (i2.push(e2.dataIndex), e2.dataIndex < l.length && r.push(l[e2.dataIndex]));
895
895
  for (const t2 of o) {
896
896
  if (!t2.fieldName || !t2.variable) continue;
897
897
  const o2 = [];
@@ -917,14 +917,14 @@
917
917
  }
918
918
  if (!l) return;
919
919
  const r = t.props ? t.props.orderSource : "";
920
- let u = t.props ? t.props.orderFix : "";
920
+ let i2 = t.props ? t.props.orderFix : "";
921
921
  if ("variable" == r) {
922
922
  const n2 = t.props ? t.props.orderVariable : "";
923
- u = formatVariableValue(e, n2);
923
+ i2 = formatVariableValue(e, n2);
924
924
  }
925
- u = "desc" == u || "DESC" == u ? "desc" : "asc", n.sort((e2, t2) => {
925
+ i2 = "desc" == i2 || "DESC" == i2 ? "desc" : "asc", n.sort((e2, t2) => {
926
926
  const n2 = getValueFromSource(e2, l, void 0), o2 = getValueFromSource(t2, l, void 0);
927
- return "desc" === u ? o2 - n2 : n2 - o2;
927
+ return "desc" === i2 ? o2 - n2 : n2 - o2;
928
928
  });
929
929
  }
930
930
  function limitDatas(e, t, n, o, a) {
@@ -934,13 +934,13 @@
934
934
  let r = null;
935
935
  if (l.itemNumVariable ? (r = formatVariableValue(e, l.itemNumVariable), r = parseInt(r)) : r = l.itemNumFix ? l.itemNumFix : 10, null == r || null == r || isNaN(r)) return n;
936
936
  if (n.length < r) return n;
937
- const u = l.overItemAlias, i2 = [], s = {};
937
+ const i2 = l.overItemAlias, u = [], s = {};
938
938
  o = o || [], a = a || [];
939
939
  for (let e2 = 0; e2 < n.length; e2++) {
940
940
  const t2 = n[e2];
941
- if (e2 < r) i2.push(t2);
941
+ if (e2 < r) u.push(t2);
942
942
  else {
943
- if (!u) break;
943
+ if (!i2) break;
944
944
  for (const e3 of o) {
945
945
  if (!e3) continue;
946
946
  let n2 = getValueFromSource(t2, e3, void 0);
@@ -957,7 +957,7 @@
957
957
  }
958
958
  }
959
959
  }
960
- return u && (s.__x = u, i2.push(s)), i2;
960
+ return i2 && (s.__x = i2, u.push(s)), u;
961
961
  }
962
962
  function caculateFormulaValue(e, t, n) {
963
963
  const o = {};
@@ -1056,7 +1056,7 @@
1056
1056
  var _a;
1057
1057
  if ((_a = e == null ? void 0 : e.toolbox) == null ? void 0 : _a.feature) {
1058
1058
  const t = e.toolbox.feature;
1059
- for (const e2 in t) t[e2].show && (t[e2].title = util.getI18n().t("chartMessage." + e2), "dataView" === e2 && (t[e2].lang = [util.getI18n().t("chartMessage.dataView"), util.getI18n().t("chartMessage.close"), util.getI18n().t("chartMessage.refresh")]));
1059
+ for (const e2 in t) t[e2].show && (t[e2].title = agilebuilderUi.getI18n().t("chartMessage." + e2), "dataView" === e2 && (t[e2].lang = [agilebuilderUi.getI18n().t("chartMessage.dataView"), agilebuilderUi.getI18n().t("chartMessage.close"), agilebuilderUi.getI18n().t("chartMessage.refresh")]));
1060
1060
  }
1061
1061
  }
1062
1062
  class ExpressionEvaluator {
@@ -1069,49 +1069,49 @@
1069
1069
  return this.evaluateExpression(o);
1070
1070
  }
1071
1071
  static createExpression(e, t, n) {
1072
- const { propName: o, operator: a, propValue: l, leftBracket: r, rightBracket: u, joinSign: i2, dataType: s } = t;
1072
+ const { propName: o, operator: a, propValue: l, leftBracket: r, rightBracket: i2, joinSign: u, dataType: s } = t;
1073
1073
  if (!o || "" === o) return "";
1074
1074
  const c = getValueFromVariable(e.entity, o, n);
1075
- let p = `${r} ${this.getComparisonExpression(c, t, getValueFromVariable(e.entity, l, n))} ${u}`;
1076
- return i2 && ("and" === i2 || "AND" === i2 ? p += "&&" : "or" !== i2 && "OR" !== i2 || (p += "||")), p.trim();
1075
+ let p = `${r} ${this.getComparisonExpression(c, t, getValueFromVariable(e.entity, l, n))} ${i2}`;
1076
+ return u && ("and" === u || "AND" === u ? p += "&&" : "or" !== u && "OR" !== u || (p += "||")), p.trim();
1077
1077
  }
1078
1078
  static getComparisonExpression(e, t, n) {
1079
1079
  const { dataType: o, variableIsNull: a } = t;
1080
1080
  let l = t.operator;
1081
1081
  l || (l = "EQ");
1082
1082
  let r = this.parseValue(e, o);
1083
- const u = this.parseValue(n, o);
1084
- if (null == u && a) {
1083
+ const i2 = this.parseValue(n, o);
1084
+ if (null == i2 && a) {
1085
1085
  if (null == r && (r = "null"), "null" === a) return `${r} === null`;
1086
1086
  if ("ignore" === a) return "1=1";
1087
1087
  if ("notequal" === a) return "1!=1";
1088
1088
  }
1089
1089
  switch (l) {
1090
1090
  case "EQ":
1091
- return `${r} === ${u}`;
1091
+ return `${r} === ${i2}`;
1092
1092
  case "GT":
1093
- return `${r} > ${u}`;
1093
+ return `${r} > ${i2}`;
1094
1094
  case "LT":
1095
- return `${r} < ${u}`;
1095
+ return `${r} < ${i2}`;
1096
1096
  case "GET":
1097
- return `${r} >= ${u}`;
1097
+ return `${r} >= ${i2}`;
1098
1098
  case "LET":
1099
- return `${r} <= ${u}`;
1099
+ return `${r} <= ${i2}`;
1100
1100
  case "NET":
1101
- return `${r} !== ${u}`;
1101
+ return `${r} !== ${i2}`;
1102
1102
  case "CONTAIN":
1103
- return `${r}.includes(${u})`;
1103
+ return `${r}.includes(${i2})`;
1104
1104
  case "NOT_CONTAIN":
1105
- return `!${r}.includes(${u})`;
1105
+ return `!${r}.includes(${i2})`;
1106
1106
  case "IS_NULL":
1107
1107
  return `${r} === null`;
1108
1108
  case "IS_NOT_NULL":
1109
1109
  return `${r} !== null`;
1110
1110
  case "IN":
1111
1111
  if ("TEXT" === o) {
1112
- return `${u.split(",")}.includes(${r})`;
1112
+ return `${i2.split(",")}.includes(${r})`;
1113
1113
  }
1114
- return `[${u}].includes(${r})`;
1114
+ return `[${i2}].includes(${r})`;
1115
1115
  default:
1116
1116
  throw new Error(`比较符号不匹配: ${l}`);
1117
1117
  }
@@ -1278,16 +1278,16 @@
1278
1278
  Object.assign(e, t.style), t.customStyle && Object.assign(e, JSON.parse(t.customStyle));
1279
1279
  }
1280
1280
  function rowDataToColumn(e, t, n) {
1281
- const o = t.props.dataOrigin.groupField, a = t.props.dataOrigin.rowToColumn.titleColumns, l = t.props.dataOrigin.rowToColumn.dataColumns, r = [], u = {};
1281
+ const o = t.props.dataOrigin.groupField, a = t.props.dataOrigin.rowToColumn.titleColumns, l = t.props.dataOrigin.rowToColumn.dataColumns, r = [], i2 = {};
1282
1282
  if (o && o.length > 0) e.forEach((e2) => {
1283
1283
  const t2 = o.map((t3) => e2[t3]).join("|");
1284
- if (!u[t2]) {
1284
+ if (!i2[t2]) {
1285
1285
  const n2 = {};
1286
- o.forEach((t3) => n2[t3] = e2[t3]), u[t2] = n2, r.push(n2);
1286
+ o.forEach((t3) => n2[t3] = e2[t3]), i2[t2] = n2, r.push(n2);
1287
1287
  }
1288
1288
  l.forEach((n2) => {
1289
1289
  const o2 = `${a.map((t3) => e2[t3]).join("")}${n2}`;
1290
- u[t2][o2] = e2[n2];
1290
+ i2[t2][o2] = e2[n2];
1291
1291
  });
1292
1292
  });
1293
1293
  else {
@@ -1314,15 +1314,15 @@
1314
1314
  function colDataToRow(e, t) {
1315
1315
  const n = t.props.dataOrigin.groupField, o = t.props.dataOrigin.columnToRow.titleColumns, a = t.props.dataOrigin.columnToRow.dataColumns, l = t.props.dataOrigin.columnToRow.transColumns, r = t.props.dataOrigin.columnToRow.dataColumnsMapping;
1316
1316
  if (0 === e.length) return e;
1317
- const u = [], i2 = groupBy(e, n), s = a.reduce((e2, t2) => t2.columns.length > e2.columns.length ? t2 : e2, a[0]), c = a.reduce((e2, t2) => (t2.columns.forEach((n2) => {
1317
+ const i2 = [], u = groupBy(e, n), s = a.reduce((e2, t2) => t2.columns.length > e2.columns.length ? t2 : e2, a[0]), c = a.reduce((e2, t2) => (t2.columns.forEach((n2) => {
1318
1318
  e2[n2] = t2.prop;
1319
1319
  }), e2), {});
1320
- return i2.forEach((e2) => {
1320
+ return u.forEach((e2) => {
1321
1321
  s.columns.forEach((t2) => {
1322
- const i3 = s.prop, p = {};
1322
+ const u2 = s.prop, p = {};
1323
1323
  if (n.forEach((t3) => {
1324
1324
  p[t3] = e2[t3];
1325
- }), p[i3] = e2[t2], a.length > 1) {
1325
+ }), p[u2] = e2[t2], a.length > 1) {
1326
1326
  const n2 = r.find((e3) => e3.props.includes(t2));
1327
1327
  n2 && n2.props.length > 1 && n2.props.forEach((n3) => {
1328
1328
  n3 !== t2 && c[n3] && (p[c[n3]] = e2[n3]);
@@ -1334,9 +1334,9 @@
1334
1334
  n2 && n2.length > 0 && n2.forEach((n3) => {
1335
1335
  if (n3.columns.includes(t2)) return p[e3.prop] = n3.label, void (o2 = true);
1336
1336
  }), o2 || (p[e3.prop] = t2);
1337
- }), u.push(p);
1337
+ }), i2.push(p);
1338
1338
  });
1339
- }), u;
1339
+ }), i2;
1340
1340
  }
1341
1341
  function getColumnToRowTableConfig(e) {
1342
1342
  const t = e.items, n = e.props.dataOrigin.groupField, o = e.props.dataOrigin.columnToRow.titleColumns, a = e.props.dataOrigin.columnToRow.dataColumns, l = [];
@@ -1445,15 +1445,15 @@
1445
1445
  }
1446
1446
  function mergeRowByProperty(e, t, n, o, a) {
1447
1447
  const l = e[o];
1448
- let r = 1, u = true;
1448
+ let r = 1, i2 = true;
1449
1449
  for (let e2 = n - 1; e2 >= 0; e2--) {
1450
1450
  if (a[e2][o] === l) {
1451
- u = false;
1451
+ i2 = false;
1452
1452
  break;
1453
1453
  }
1454
1454
  break;
1455
1455
  }
1456
- if (!u) return [0, 0];
1456
+ if (!i2) return [0, 0];
1457
1457
  for (let e2 = n + 1; e2 < a.length && a[e2][o] === l; e2++) r++;
1458
1458
  return [r, 1];
1459
1459
  }
@@ -1465,7 +1465,7 @@
1465
1465
  {
1466
1466
  const { baseURL: t2, projectModel: n } = window.$vueApp.config.globalProperties;
1467
1467
  let o = t2;
1468
- return "developing.model" === n || e && (o = commonUtil.getSystemBackendUrl(e)), o;
1468
+ return "developing.model" === n || e && (o = agilebuilderUi.getSystemBackendUrl(e)), o;
1469
1469
  }
1470
1470
  }
1471
1471
  function getRealRestApiPath(e, t, n, o) {
@@ -1483,12 +1483,12 @@
1483
1483
  let o = e;
1484
1484
  if (Array.isArray(e)) {
1485
1485
  e[0].templates && (o = getShowTemplates(e, t, n));
1486
- const a = util.getLanguageWithLocale(), l = [], r = [], u = "~-~-";
1486
+ const a = agilebuilderUi.getLanguageWithLocale(), l = [], r = [], i2 = "~-~-";
1487
1487
  return o.forEach((e2) => {
1488
1488
  const t2 = e2.templateName;
1489
- if (t2.indexOf(u) > 0) {
1490
- const n2 = t2.substring(0, t2.indexOf(u)), o2 = t2.substring(t2.indexOf(u) + u.length, t2.lastIndexOf(u)), i2 = t2.substring(t2.lastIndexOf(u) + u.length);
1491
- a === o2 && r.indexOf(n2) < 0 && (l.push({ templateUuid: e2.templateUuid, templateName: i2 }), r.push(n2));
1489
+ if (t2.indexOf(i2) > 0) {
1490
+ const n2 = t2.substring(0, t2.indexOf(i2)), o2 = t2.substring(t2.indexOf(i2) + i2.length, t2.lastIndexOf(i2)), u = t2.substring(t2.lastIndexOf(i2) + i2.length);
1491
+ a === o2 && r.indexOf(n2) < 0 && (l.push({ templateUuid: e2.templateUuid, templateName: u }), r.push(n2));
1492
1492
  } else l.push(e2);
1493
1493
  }), l;
1494
1494
  }
@@ -1569,7 +1569,7 @@
1569
1569
  }), n ? o : null;
1570
1570
  }
1571
1571
  function printLabel$1(e, t) {
1572
- http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/print-models/by-codes", [t]).then((t2) => {
1572
+ agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/print-models/by-codes", [t]).then((t2) => {
1573
1573
  const n = JSON.parse(t2[0].template), o = [];
1574
1574
  n.panels.forEach((e2) => {
1575
1575
  e2.printElements.forEach((e3) => {
@@ -1577,13 +1577,13 @@
1577
1577
  });
1578
1578
  });
1579
1579
  const a = new vuePluginHiprint.hiprint.PrintTemplate({ template: n }), l = { callback: () => {
1580
- }, styleHandler: () => "" }, r = { leftOffset: -1, topOffset: -1 }, u = {};
1580
+ }, styleHandler: () => "" }, r = { leftOffset: -1, topOffset: -1 }, i2 = {};
1581
1581
  n.panels[0].printElements.forEach((e2) => {
1582
1582
  if ("datetime" === e2.options.dataType && e2.options.field) {
1583
1583
  const t3 = e2.options.field.substring(6);
1584
- u[t3] = e2.options.dateFormat;
1584
+ i2[t3] = e2.options.dateFormat;
1585
1585
  }
1586
- }), e.pageContext.pageType ? "list" === e.pageContext.pageType ? printListData(e, u, o, a, r, l) : "form" === e.pageContext.pageType && printFormData(e, o, a, r, l) : printFormData(e, o, a, r, l);
1586
+ }), e.pageContext.pageType ? "list" === e.pageContext.pageType ? printListData(e, i2, o, a, r, l) : "form" === e.pageContext.pageType && printFormData(e, o, a, r, l) : printFormData(e, o, a, r, l);
1587
1587
  });
1588
1588
  }
1589
1589
  function printListData(e, t, n, o, a, l) {
@@ -1660,7 +1660,7 @@
1660
1660
  }
1661
1661
  function getBarcodeModelsByName(e) {
1662
1662
  const t = encodeURIComponent(e);
1663
- return http.get(window.$vueApp.config.globalProperties.baseAPI + `/dc/setting-barcode-models/by-name?name=${t}`);
1663
+ return agilebuilderUi.http.get(window.$vueApp.config.globalProperties.baseAPI + `/dc/setting-barcode-models/by-name?name=${t}`);
1664
1664
  }
1665
1665
  vuePluginHiprint.disAutoConnect();
1666
1666
  const printLabelUtil = { printLabel: printLabel$1 };
@@ -1690,20 +1690,20 @@
1690
1690
  }
1691
1691
  function waitForHeightStable(e, t = {}) {
1692
1692
  const { checkInterval: n = 50, stableCount: o = 2, maxWaitTime: a = 3e3 } = t;
1693
- let l = -1, r = 0, u = 0;
1694
- const i2 = () => {
1693
+ let l = -1, r = 0, i2 = 0;
1694
+ const u = () => {
1695
1695
  const t2 = document.documentElement.scrollHeight || document.body.scrollHeight;
1696
1696
  if (t2 === l) {
1697
1697
  if (r++, r >= o) return void vue.nextTick(() => {
1698
1698
  e();
1699
1699
  });
1700
1700
  } else l = t2, r = 0;
1701
- u += n, u >= a ? vue.nextTick(() => {
1701
+ i2 += n, i2 >= a ? vue.nextTick(() => {
1702
1702
  e();
1703
- }) : setTimeout(i2, n);
1703
+ }) : setTimeout(u, n);
1704
1704
  };
1705
1705
  vue.nextTick(() => {
1706
- i2();
1706
+ u();
1707
1707
  });
1708
1708
  }
1709
1709
  function scrollToElement(e) {
@@ -1774,7 +1774,7 @@
1774
1774
  const o = e.code;
1775
1775
  n || (n = { entity: e.entity.data, serviceVariables: {}, requestParams: getAdditionalParamMap(e), taskParamMap: e.entity.task, dynamicDimensionValue: [], dynamicSortValue: "" }), n.entity || (n.entity = e.entity.data), n.requestParams || (n.requestParams = getAdditionalParamMap(e)), n.taskParamMap || (n.taskParamMap = e.entity.task);
1776
1776
  const a = getBaseUrl(e.backendUrl, e.isTest);
1777
- return http.post(`${a}/dsc/service-flow/execute/${o}/${t}`, n);
1777
+ return agilebuilderUi.http.post(`${a}/dsc/service-flow/execute/${o}/${t}`, n);
1778
1778
  }, openPage: function(e, t) {
1779
1779
  bus.$emit(e.code + "_open-dialog", { pageContext: e, eventParams: t.eventParams, configureObj: { props: { linkPage: t } } });
1780
1780
  }, refreshPage: function(e, t) {
@@ -1798,7 +1798,7 @@
1798
1798
  }, getServerConfigValue: (e) => window.$vueApp.config.globalProperties[e], getBackendUrl: (e) => getBaseUrl(e.backendUrl, false), getPlateBackendUrl: () => window.$vueApp.config.globalProperties.baseAPI, getEntity: (e) => e.entity.data, getEntityValue: (e, t) => e.entity.data ? e.entity.data[t] : null, getPageData: (e) => e.entity.page, getPageDataValue: (e, t) => e.entity.page ? e.entity.page[t] : null, getAdditionalParams: (e) => getAdditionalParamMap(e), getAdditionalParamValue(e, t) {
1799
1799
  const n = getAdditionalParamMap(e);
1800
1800
  return n ? n[t] : null;
1801
- }, isMobile: () => commonUtil.isMobileBrowser(), getComponentRefByProp: (e, t) => getComponentRefByCode(e, t), getComponentRefByCode: (e, t) => getComponentRef(e, t), getFormViewData(e) {
1801
+ }, isMobile: () => agilebuilderUi.isMobileBrowser(), getComponentRefByProp: (e, t) => getComponentRefByCode(e, t), getComponentRefByCode: (e, t) => getComponentRef(e, t), getFormViewData(e) {
1802
1802
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
1803
1803
  const t = deepCopy(e.entity ? e.entity : {}), n = getOptionDatasSourceMap(e);
1804
1804
  for (const o2 in n) {
@@ -1827,15 +1827,15 @@
1827
1827
  if (n2.indexOf("__") > 0 && (o2 = n2.substring(n2.lastIndexOf("__") + 2)), o2) {
1828
1828
  const a = getComponentRef(e, o2);
1829
1829
  if (a) {
1830
- const e2 = a.getConfigure(), o3 = getVariableValue(t, getModelFields(e2, e2.code ? e2.code : n2)), l = a.getTableSelectOptions(n2), r = a.getColumns(), u = {}, i2 = {};
1830
+ const e2 = a.getConfigure(), o3 = getVariableValue(t, getModelFields(e2, e2.code ? e2.code : n2)), l = a.getTableSelectOptions(n2), r = a.getColumns(), i2 = {}, u = {};
1831
1831
  r && r.length > 0 && r.forEach((e3) => {
1832
- "DATE" !== e3.dataType && "TIME" !== e3.dataType || (i2[e3.prop] = e3);
1833
- }), u.formatDateColumns = i2, packageSubTableShowLabel(l, o3, u, a);
1832
+ "DATE" !== e3.dataType && "TIME" !== e3.dataType || (u[e3.prop] = e3);
1833
+ }), i2.formatDateColumns = u, packageSubTableShowLabel(l, o3, i2, a);
1834
1834
  }
1835
1835
  }
1836
1836
  }
1837
1837
  return t.data;
1838
- }, getFormData: (e, t) => getFormData(e, t), getCustomFunc: (e, t) => getCustomFunc(e, t), replaceUrlPrefix: (e) => commonUtil.replacePrefix(e), isHasFieldAuthPermission: (e) => {
1838
+ }, getFormData: (e, t) => getFormData(e, t), getCustomFunc: (e, t) => getCustomFunc(e, t), replaceUrlPrefix: (e) => agilebuilderUi.replacePrefix(e), isHasFieldAuthPermission: (e) => {
1839
1839
  var _a, _b, _c, _d;
1840
1840
  return !(void 0 !== ((_b = (_a = e == null ? void 0 : e.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isHasFieldAuthPermission) && !((_d = (_c = e == null ? void 0 : e.props) == null ? void 0 : _c.base) == null ? void 0 : _d.isHasFieldAuthPermission));
1841
1841
  }, isHasFieldAuth(e, t) {
@@ -1860,13 +1860,13 @@
1860
1860
  }
1861
1861
  Object.keys(e).forEach((n2) => {
1862
1862
  const o2 = t2[n2], a2 = e[n2], l = a2.options, r = a2.column;
1863
- let u;
1863
+ let i2;
1864
1864
  if (r && r.componentType && ("multiselect" === r.componentType || "checkbox" === r.componentType)) {
1865
1865
  if (o2) {
1866
- u = getSelectShowLable(o2.split(","), l);
1866
+ i2 = getSelectShowLable(o2.split(","), l);
1867
1867
  }
1868
- } else u = getSelectShowLable(o2, l);
1869
- t2[n2] = u;
1868
+ } else i2 = getSelectShowLable(o2, l);
1869
+ t2[n2] = i2;
1870
1870
  });
1871
1871
  });
1872
1872
  }
@@ -1906,10 +1906,10 @@
1906
1906
  } }), _hoisted_1$s = { key: 0 }, _hoisted_2$e = { key: 0 }, _hoisted_3$9 = { key: 0 }, _hoisted_4$7 = { key: 1 }, _hoisted_5$5 = { key: 1 }, _hoisted_6$3 = { key: 0 }, _sfc_main$19 = vue.defineComponent({ __name: "file-task-notice", props: { lastFileTask: { type: Object, default: null }, backendUrl: { type: String, default: null } }, emits: ["clickMsg"], setup(e, { expose: t, emit: n }) {
1907
1907
  const { t: o } = vueI18n.useI18n(), a = e, l = n;
1908
1908
  let r = a.lastFileTask;
1909
- function u() {
1909
+ function i2() {
1910
1910
  l("clickMsg", a.lastFileTask);
1911
1911
  }
1912
- function i2(e2) {
1912
+ function u(e2) {
1913
1913
  return e2 ? "Success" === e2 ? o("superPageRuntimeMessage.success") : "Fail" === e2 ? o("superPageRuntimeMessage.fail") : "PartSuccess" === e2 ? o("superPageRuntimeMessage.partSuccess") : void 0 : o("superPageRuntimeMessage.doing");
1914
1914
  }
1915
1915
  function s(e2) {
@@ -1921,14 +1921,14 @@
1921
1921
  if (!e3) return "";
1922
1922
  const t2 = new Date(e3);
1923
1923
  return `${t2.getFullYear()}-${String(t2.getMonth() + 1).padStart(2, "0")}-${String(t2.getDate()).padStart(2, "0")} ${String(t2.getHours()).padStart(2, "0")}:${String(t2.getMinutes()).padStart(2, "0")}`;
1924
- }(r.createdTime) + " " + p() + i2(r.taskState);
1924
+ }(r.createdTime) + " " + p() + u(r.taskState);
1925
1925
  }
1926
1926
  function p() {
1927
1927
  return r && r.export ? o("superPageRuntimeMessage.asyncExportType") : o("superPageRuntimeMessage.asyncImportType");
1928
1928
  }
1929
1929
  return t({}), (t2, n2) => {
1930
1930
  const a2 = vue.resolveComponent("el-text"), l2 = vue.resolveComponent("Edit"), d = vue.resolveComponent("el-icon"), f = vue.resolveComponent("el-link");
1931
- return vue.unref(r) && vue.unref(r).taskCode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [vue.unref(r).export ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7, ["Success" === vue.unref(r).taskState && vue.unref(r).serverPath ? (vue.openBlock(), vue.createBlock(f, { key: 0, underline: "always", type: s(vue.unref(r)), onClick: n2[1] || (n2[1] = (e2) => u()) }, { default: vue.withCtx(() => [vue.createVNode(_sfc_main$1a, { message: c(), backendUrl: e.backendUrl, serverPath: e.lastFileTask.serverPath, fileName: e.lastFileTask.fileName, createdTime: e.lastFileTask.createdTime, endTime: e.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "serverPath", "fileName", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$5, [vue.unref(r).taskState ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$3, [vue.createElementVNode("span", null, [vue.createVNode(a2, { type: s(vue.unref(r)) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(p() + i2(vue.unref(r).taskState)), 1)]), _: 1 }, 8, ["type"])]), vue.createVNode(a2, { style: { "padding-left": "5px" } }, { default: vue.withCtx(() => [vue.createVNode(d, { onClick: n2[2] || (n2[2] = (e2) => u()), title: vue.unref(o)("superPageRuntimeMessage.hasReadTip") }, { default: vue.withCtx(() => [vue.createVNode(l2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : vue.createCommentVNode("", true), vue.unref(r).taskState && "Success" === vue.unref(r).taskState ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(_sfc_main$1a, { key: 1, message: c(), backendUrl: e.backendUrl, createdTime: e.lastFileTask.createdTime, endTime: e.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"]))]))])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [vue.unref(r).taskState ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, [vue.createElementVNode("span", null, [vue.createVNode(a2, { type: s(vue.unref(r)) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(p() + i2(vue.unref(r).taskState)), 1)]), _: 1 }, 8, ["type"])]), vue.createVNode(a2, { style: { "padding-left": "5px" } }, { default: vue.withCtx(() => [vue.createVNode(d, { onClick: n2[0] || (n2[0] = (e2) => u()), title: vue.unref(o)("superPageRuntimeMessage.hasReadTip") }, { default: vue.withCtx(() => [vue.createVNode(l2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : (vue.openBlock(), vue.createBlock(a2, { key: 1, type: s(vue.unref(r)) }, { default: vue.withCtx(() => [vue.createVNode(_sfc_main$1a, { message: c(), backendUrl: e.backendUrl, createdTime: e.lastFileTask.createdTime, endTime: e.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])), vue.unref(r).taskState && "Success" !== vue.unref(r).taskState ? (vue.openBlock(), vue.createBlock(_sfc_main$1a, { key: 2, createdTime: vue.unref(r).createdTime, endTime: vue.unref(r).modifiedTime, message: c(), backendUrl: e.backendUrl }, null, 8, ["createdTime", "endTime", "message", "backendUrl"])) : vue.createCommentVNode("", true)]))])) : vue.createCommentVNode("", true);
1931
+ return vue.unref(r) && vue.unref(r).taskCode ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [vue.unref(r).export ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7, ["Success" === vue.unref(r).taskState && vue.unref(r).serverPath ? (vue.openBlock(), vue.createBlock(f, { key: 0, underline: "always", type: s(vue.unref(r)), onClick: n2[1] || (n2[1] = (e2) => i2()) }, { default: vue.withCtx(() => [vue.createVNode(_sfc_main$1a, { message: c(), backendUrl: e.backendUrl, serverPath: e.lastFileTask.serverPath, fileName: e.lastFileTask.fileName, createdTime: e.lastFileTask.createdTime, endTime: e.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "serverPath", "fileName", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$5, [vue.unref(r).taskState ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$3, [vue.createElementVNode("span", null, [vue.createVNode(a2, { type: s(vue.unref(r)) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(p() + u(vue.unref(r).taskState)), 1)]), _: 1 }, 8, ["type"])]), vue.createVNode(a2, { style: { "padding-left": "5px" } }, { default: vue.withCtx(() => [vue.createVNode(d, { onClick: n2[2] || (n2[2] = (e2) => i2()), title: vue.unref(o)("superPageRuntimeMessage.hasReadTip") }, { default: vue.withCtx(() => [vue.createVNode(l2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : vue.createCommentVNode("", true), vue.unref(r).taskState && "Success" === vue.unref(r).taskState ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(_sfc_main$1a, { key: 1, message: c(), backendUrl: e.backendUrl, createdTime: e.lastFileTask.createdTime, endTime: e.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"]))]))])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$e, [vue.unref(r).taskState ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, [vue.createElementVNode("span", null, [vue.createVNode(a2, { type: s(vue.unref(r)) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(p() + u(vue.unref(r).taskState)), 1)]), _: 1 }, 8, ["type"])]), vue.createVNode(a2, { style: { "padding-left": "5px" } }, { default: vue.withCtx(() => [vue.createVNode(d, { onClick: n2[0] || (n2[0] = (e2) => i2()), title: vue.unref(o)("superPageRuntimeMessage.hasReadTip") }, { default: vue.withCtx(() => [vue.createVNode(l2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : (vue.openBlock(), vue.createBlock(a2, { key: 1, type: s(vue.unref(r)) }, { default: vue.withCtx(() => [vue.createVNode(_sfc_main$1a, { message: c(), backendUrl: e.backendUrl, createdTime: e.lastFileTask.createdTime, endTime: e.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])), vue.unref(r).taskState && "Success" !== vue.unref(r).taskState ? (vue.openBlock(), vue.createBlock(_sfc_main$1a, { key: 2, createdTime: vue.unref(r).createdTime, endTime: vue.unref(r).modifiedTime, message: c(), backendUrl: e.backendUrl }, null, 8, ["createdTime", "endTime", "message", "backendUrl"])) : vue.createCommentVNode("", true)]))])) : vue.createCommentVNode("", true);
1932
1932
  };
1933
1933
  } }), standardEvents = { save: function(e) {
1934
1934
  return saveFunc(e, false);
@@ -2073,17 +2073,17 @@
2073
2073
  }
2074
2074
  }
2075
2075
  if (!r || 0 == r.length) return;
2076
- let u, i2 = t.label;
2077
- i2 || (i2 = t.code), u = i2;
2076
+ let i2, u = t.label;
2077
+ u || (u = t.code), i2 = u;
2078
2078
  const s = { reportDataList: r, beanName: t.beanName, systemCode: t.systemCode, pageCode: t.code }, c = getAdditionalParamMap(t);
2079
2079
  s.additionalParamMap = c;
2080
2080
  const p = (_b = (_a = o.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
2081
- p && (s.currentOperation = p), s.isMobile = commonUtil.isMobileBrowser(), s.isShowWatermark = void 0 === ((_d = (_c = o.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = o.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", s.watermark = ((_h = (_g = o.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "";
2081
+ p && (s.currentOperation = p), s.isMobile = agilebuilderUi.isMobileBrowser(), s.isShowWatermark = void 0 === ((_d = (_c = o.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = o.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", s.watermark = ((_h = (_g = o.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "";
2082
2082
  const d = getBaseUrl(t.backendUrl, t.isTest) + "/dsc/commons/exportChart";
2083
2083
  setAxiosHeader();
2084
2084
  axios.post(d, s, { responseType: "blob" }).then((e2) => {
2085
2085
  const t2 = document.createElement("a");
2086
- t2.style.display = "none", t2.href = URL.createObjectURL(e2.data), t2.setAttribute("download", u + ".xlsx"), document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
2086
+ t2.style.display = "none", t2.href = URL.createObjectURL(e2.data), t2.setAttribute("download", i2 + ".xlsx"), document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
2087
2087
  }).finally(() => {
2088
2088
  a && (a.state = l);
2089
2089
  });
@@ -2091,10 +2091,10 @@
2091
2091
  function exportFormReport(e, t, n, o) {
2092
2092
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
2093
2093
  e.clickUuid = t.uuid, e.canClick = false;
2094
- const a = n.templateUuid, l = n.templateName, r = e.systemCode, u = (_a = t.props.base) == null ? void 0 : _a.logSetting, i2 = isWorkflowPage(e), s = e.beanName, c = t.props.base, p = t.tableName ? t.tableName : e.tableName, d = e.backendUrl, f = functions.getFormViewData(e), m = void 0 === c.isPermission || "true" === c.isPermission || c.isPermission, v = { entity: f, fileName: a, showName: l, beanName: s, isWorkflowForm: i2, functionCode: getPermissionCodes(t, e), tableName: p, isPermission: m + "", systemCode: r, listCodesMap: e.listCodesMap, pageCode: e.code, pageVersion: e.version, listCodesInitSearchForm: e.listCodesInitSearchForm };
2095
- u && (v.logSettingText = u.join(""));
2094
+ const a = n.templateUuid, l = n.templateName, r = e.systemCode, i2 = (_a = t.props.base) == null ? void 0 : _a.logSetting, u = isWorkflowPage(e), s = e.beanName, c = t.props.base, p = t.tableName ? t.tableName : e.tableName, d = e.backendUrl, f = functions.getFormViewData(e), m = void 0 === c.isPermission || "true" === c.isPermission || c.isPermission, v = { entity: f, fileName: a, showName: l, beanName: s, isWorkflowForm: u, functionCode: getPermissionCodes(t, e), tableName: p, isPermission: m + "", systemCode: r, listCodesMap: e.listCodesMap, pageCode: e.code, pageVersion: e.version, listCodesInitSearchForm: e.listCodesInitSearchForm };
2095
+ i2 && (v.logSettingText = i2.join(""));
2096
2096
  const g = (_c = (_b = t.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
2097
- g && (v.currentOperation = g), v.isMobile = commonUtil.isMobileBrowser();
2097
+ g && (v.currentOperation = g), v.isMobile = agilebuilderUi.isMobileBrowser();
2098
2098
  const h = getAdditionalParamMap(e);
2099
2099
  let C;
2100
2100
  v.additionalParamMap = h, v.isShowWatermark = void 0 === ((_e = (_d = t.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.isShowWatermark) ? "true" : ((_g = (_f = t.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", v.watermark = ((_i = (_h = t.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = t.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = t.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", C = o ? exportFormPdf(l, d, v, e.isTest) : exportFormReportSuccess(l, d, v, e.isTest), C && C.then(() => {
@@ -2119,8 +2119,8 @@
2119
2119
  });
2120
2120
  }
2121
2121
  function setAxiosHeader() {
2122
- axios.defaults.headers.common.Authorization = auth.getToken();
2123
- const e = auth.getRunCurrentRole();
2122
+ axios.defaults.headers.common.Authorization = agilebuilderUi.getToken();
2123
+ const e = agilebuilderUi.getRunCurrentRole();
2124
2124
  if (e) {
2125
2125
  const t = "_RUN_CURRENT_ROLE";
2126
2126
  axios.defaults.headers.common[t] = e;
@@ -2130,8 +2130,8 @@
2130
2130
  return new Promise((a, l) => {
2131
2131
  const r = getBaseUrl(t, o) + "/dsc/commons/export-pdf";
2132
2132
  setAxiosHeader();
2133
- const u = axios.post(r, n, { headers: { "content-type": "application/json" }, responseType: "blob" });
2134
- window.$message.info("正在导出中..."), u.then((t2) => {
2133
+ const i2 = axios.post(r, n, { headers: { "content-type": "application/json" }, responseType: "blob" });
2134
+ window.$message.info("正在导出中..."), i2.then((t2) => {
2135
2135
  const n2 = new Blob([t2.data]), o2 = document.createElement("a");
2136
2136
  o2.download = e.substring(0, e.lastIndexOf(".")) + ".pdf", o2.style.display = "none", o2.target = "_blank", o2.href = URL.createObjectURL(n2), document.body.appendChild(o2), o2.click(), URL.revokeObjectURL(o2.href), document.body.removeChild(o2), a(true);
2137
2137
  }).catch((e2) => {
@@ -2141,10 +2141,10 @@
2141
2141
  }
2142
2142
  function saveFunc(e, t) {
2143
2143
  return new Promise((n, o) => {
2144
- const a = e.pageContext, l = e.configureObj, r = e.mainDefaultValueColumns, u = e.dynamicColumnInfo, i2 = l.props.base.successOperation;
2144
+ const a = e.pageContext, l = e.configureObj, r = e.mainDefaultValueColumns, i2 = e.dynamicColumnInfo, u = l.props.base.successOperation;
2145
2145
  let s = false;
2146
- i2 && "noOperation" === i2 && (s = true);
2147
- const c = getSaveFormRequest(a, l, "/dsc/commons", s, r, u);
2146
+ u && "noOperation" === u && (s = true);
2147
+ const c = getSaveFormRequest(a, l, "/dsc/commons", s, r, i2);
2148
2148
  c ? c.then((e2) => {
2149
2149
  dealAfterOperate(a, l, e2, "superPageRuntimeMessage.successfulSave", t), n(e2);
2150
2150
  }).catch((e2) => {
@@ -2154,34 +2154,34 @@
2154
2154
  }
2155
2155
  function getCommonFormRequestParam(e, t, n, o, a, l, r) {
2156
2156
  var _a, _b, _c;
2157
- const u = isWorkflowPage(e), i2 = e.systemCode, s = void 0 === t.props.base.isPermission || "true" === t.props.base.isPermission || t.props.base.isPermission, c = getPermissionCodes(t, e);
2157
+ const i2 = isWorkflowPage(e), u = e.systemCode, s = void 0 === t.props.base.isPermission || "true" === t.props.base.isPermission || t.props.base.isPermission, c = getPermissionCodes(t, e);
2158
2158
  let p = r;
2159
2159
  p || (p = e.entity.data);
2160
- const d = { entity: p, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, isWorkflowEntity: u, functionCode: c, isPermission: s + "", listCodesMap: e.listCodesMap, pageCode: e.code, pageVersion: e.version, listCodesInitSearchForm: e.listCodesInitSearchForm };
2160
+ const d = { entity: p, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, isWorkflowEntity: i2, functionCode: c, isPermission: s + "", listCodesMap: e.listCodesMap, pageCode: e.code, pageVersion: e.version, listCodesInitSearchForm: e.listCodesInitSearchForm };
2161
2161
  l && (d.ids = l), e.judgeHeavyList && (isArrayFn(e.judgeHeavyList) ? d.judgeHeavyList = JSON.stringify(e.judgeHeavyList) : d.judgeHeavyList = e.judgeHeavyList);
2162
2162
  const f = t.props.base.conversionCodes;
2163
2163
  f && (isArrayFn(f) ? d.dataConversionRule = f.join(",") : "string" == typeof f && (d.dataConversionRule = f));
2164
2164
  const m = getButtonAutoSetValueData(t);
2165
2165
  m && (d.autoSetValueData = m);
2166
2166
  const v = (_a = t.props.base) == null ? void 0 : _a.logSetting;
2167
- v && (d.logSettingText = v.join("")), d.systemCode || (d.systemCode = i2);
2167
+ v && (d.logSettingText = v.join("")), d.systemCode || (d.systemCode = u);
2168
2168
  const g = e.beanName;
2169
2169
  g && (d.beanName = g), a && (d.dynamicColumnInfo = a), o && (d.mainDefaultValueColumns = o);
2170
2170
  const h = getAdditionalParamMap(e);
2171
2171
  d.additionalParamMap = h, void 0 !== n && (d.unControlVersion = n);
2172
2172
  const C = (_c = (_b = t.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
2173
- return C && (d.currentOperation = C), d.isMobile = commonUtil.isMobileBrowser(), d;
2173
+ return C && (d.currentOperation = C), d.isMobile = agilebuilderUi.isMobileBrowser(), d;
2174
2174
  }
2175
- function getSaveFormRequestWithRow(e, t, n, o, a, l, r, u) {
2176
- const i2 = e.systemCode, s = e.backendUrl, c = getCommonFormRequestParam(e, t, o, a, l, null, r);
2177
- return u && u.tableName && (c.tableName = u.tableName), getSaveFormRequestByParam(i2, s, c, n, e.entity.data, e.isTest);
2175
+ function getSaveFormRequestWithRow(e, t, n, o, a, l, r, i2) {
2176
+ const u = e.systemCode, s = e.backendUrl, c = getCommonFormRequestParam(e, t, o, a, l, null, r);
2177
+ return i2 && i2.tableName && (c.tableName = i2.tableName), getSaveFormRequestByParam(u, s, c, n, e.entity.data, e.isTest);
2178
2178
  }
2179
2179
  function getSaveFormRequest(e, t, n, o, a, l) {
2180
2180
  return getSaveFormRequestWithRow(e, t, n, o, a, l, null, null);
2181
2181
  }
2182
2182
  function getSaveFormRequestByParam(e, t, n, o, a, l) {
2183
- let r, u = getBaseUrl(t, l) + o;
2184
- return u = getRealRestApiPath(u, e, t, l), r = a && (a.id || a.ID) ? http.put(u, n) : http.post(u, n), r;
2183
+ let r, i2 = getBaseUrl(t, l) + o;
2184
+ return i2 = getRealRestApiPath(i2, e, t, l), r = a && (a.id || a.ID) ? agilebuilderUi.http.put(i2, n) : agilebuilderUi.http.post(i2, n), r;
2185
2185
  }
2186
2186
  function dealAfterOperate(e, t, n, o, a) {
2187
2187
  const l = getPageType(e, t, a);
@@ -2208,7 +2208,7 @@
2208
2208
  afterSuccessOperateInForm(e, t, { ...e.entity.page });
2209
2209
  } else e.canClick = true;
2210
2210
  }
2211
- o && elementPlus.ElMessage({ message: util.getI18n().t(o), type: "success", showClose: true });
2211
+ o && elementPlus.ElMessage({ message: agilebuilderUi.getI18n().t(o), type: "success", showClose: true });
2212
2212
  }
2213
2213
  function afterSuccessOperateInForm(e, t, n) {
2214
2214
  const o = t.props.base.successOperation;
@@ -2220,8 +2220,8 @@
2220
2220
  const a = e.entity && e.entity.request ? e.entity.request.jumpMode : null;
2221
2221
  if ("openWindow" === a || "newTab" === a) window.parent ? window.parent.close() : window.close();
2222
2222
  else {
2223
- const l = e.tableName, r = void 0 !== o && true === o && n && void 0 !== n, u = (e.entity && e.entity.request ? e.entity.request.parentPageCode : null) + "_";
2224
- bus.$emit(u + "close-dialog", { isNeedValueMapping: r, dataModel: n, sourceConfigureObj: t, sourceTableName: l, jumpMode: a });
2223
+ const l = e.tableName, r = void 0 !== o && true === o && n && void 0 !== n, i2 = (e.entity && e.entity.request ? e.entity.request.parentPageCode : null) + "_";
2224
+ bus.$emit(i2 + "close-dialog", { isNeedValueMapping: r, dataModel: n, sourceConfigureObj: t, sourceTableName: l, jumpMode: a });
2225
2225
  }
2226
2226
  }
2227
2227
  function updateValuesWhenCloseDialog(e, t, n, o, a) {
@@ -2253,7 +2253,7 @@
2253
2253
  let a2 = n;
2254
2254
  a2 || (a2 = {}), Object.assign(o2, a2), closeDialog(e, t, o2, l);
2255
2255
  }
2256
- o && elementPlus.ElMessage({ message: util.getI18n().t(o), type: "success", showClose: true });
2256
+ o && elementPlus.ElMessage({ message: agilebuilderUi.getI18n().t(o), type: "success", showClose: true });
2257
2257
  }
2258
2258
  function refreshFormOrListPage(e, t, n, o) {
2259
2259
  var _a;
@@ -2275,30 +2275,30 @@
2275
2275
  }
2276
2276
  function submitForm(e, t, n, o) {
2277
2277
  return new Promise((a, l) => {
2278
- const r = e.pageContext, u = e.configureObj, i2 = e.mainDefaultValueColumns, s = e.dynamicColumnInfo, c = e.ids, p = u.props.base.successOperation;
2278
+ const r = e.pageContext, i2 = e.configureObj, u = e.mainDefaultValueColumns, s = e.dynamicColumnInfo, c = e.ids, p = i2.props.base.successOperation;
2279
2279
  let d = false;
2280
2280
  p && "noOperation" === p && (d = true);
2281
2281
  let f = r.tableName;
2282
2282
  if (t) {
2283
- const t2 = u.props.base.tableUuid ? u.props.base.tableUuid : e.tableUuid;
2283
+ const t2 = i2.props.base.tableUuid ? i2.props.base.tableUuid : e.tableUuid;
2284
2284
  f = getTableNameByTableUuid(r, t2);
2285
2285
  }
2286
- const m = getSubmitFormRequest(r, u, o, d, i2, s, n, c, f);
2286
+ const m = getSubmitFormRequest(r, i2, o, d, u, s, n, c, f);
2287
2287
  m ? m.then((e2) => {
2288
- dealAfterOperate(r, u, e2, "superPageRuntimeMessage.successfulSave", t), a(e2);
2288
+ dealAfterOperate(r, i2, e2, "superPageRuntimeMessage.successfulSave", t), a(e2);
2289
2289
  }).catch((e2) => {
2290
2290
  l(e2);
2291
2291
  }) : l("request不存在");
2292
2292
  });
2293
2293
  }
2294
- function getSubmitFormRequest(e, t, n, o, a, l, r, u, i2) {
2294
+ function getSubmitFormRequest(e, t, n, o, a, l, r, i2, u) {
2295
2295
  return new Promise((s, c) => {
2296
2296
  const p = t.props.base.title, d = "superPageRuntimeMessage.whetherToConfirm" + upperFirstCase(r);
2297
- elementPlus.ElMessageBox.confirm(util.getI18n().t(d, { name: p }), util.getI18n().t("superPageRuntimeMessage.tips"), { confirmButtonText: util.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: util.getI18n().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
2298
- const r2 = e.systemCode, p2 = e.backendUrl, d2 = getCommonFormRequestParam(e, t, o, a, l, u, null);
2299
- d2.tableName = i2;
2297
+ elementPlus.ElMessageBox.confirm(agilebuilderUi.getI18n().t(d, { name: p }), agilebuilderUi.getI18n().t("superPageRuntimeMessage.tips"), { confirmButtonText: agilebuilderUi.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: agilebuilderUi.getI18n().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
2298
+ const r2 = e.systemCode, p2 = e.backendUrl, d2 = getCommonFormRequestParam(e, t, o, a, l, i2, null);
2299
+ d2.tableName = u;
2300
2300
  let f = getBaseUrl(p2, e.isTest) + n;
2301
- f = getRealRestApiPath(f, r2, p2, e.isTest), http.post(f, d2).then((e2) => {
2301
+ f = getRealRestApiPath(f, r2, p2, e.isTest), agilebuilderUi.http.post(f, d2).then((e2) => {
2302
2302
  s(e2);
2303
2303
  }).catch((e2) => {
2304
2304
  c(e2);
@@ -2311,13 +2311,13 @@
2311
2311
  function deleteFunc(e) {
2312
2312
  return new Promise((t, n) => {
2313
2313
  const o = e.ids;
2314
- if (!o || 0 === o.length) return elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.pleaseSelectRecord") }), void t(true);
2315
- elementPlus.ElMessageBox.confirm(util.getI18n().t("superPageRuntimeMessage.whetherToConfirmDeletion"), util.getI18n().t("superPageRuntimeMessage.tips"), { confirmButtonText: util.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: util.getI18n().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
2314
+ if (!o || 0 === o.length) return elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.pleaseSelectRecord") }), void t(true);
2315
+ elementPlus.ElMessageBox.confirm(agilebuilderUi.getI18n().t("superPageRuntimeMessage.whetherToConfirmDeletion"), agilebuilderUi.getI18n().t("superPageRuntimeMessage.tips"), { confirmButtonText: agilebuilderUi.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: agilebuilderUi.getI18n().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
2316
2316
  var _a, _b, _c;
2317
- const a = e.pageContext, l = e.configureObj, r = l.props.base, u = a.systemCode, i2 = a.backendUrl, s = l.props.base.tableUuid ? l.props.base.tableUuid : e.tableUuid, c = getTableNameByTableUuid(a, s);
2318
- let p = getBaseUrl(i2, a.isTest) + "/dsc/commons/" + c;
2319
- p = getRealRestApiPath(p, u, i2, a.isTest);
2320
- const d = void 0 === r.isPermission || "true" === r.isPermission || r.isPermission, f = isWorkflowPage(a), m = getPermissionCodes(l, a), v = { ids: o, functionCode: m, isPermission: d + "", systemCode: u, isWorkflowEntity: f, listCodesMap: a.listCodesMap, pageCode: a.code, pageVersion: a.version };
2317
+ const a = e.pageContext, l = e.configureObj, r = l.props.base, i2 = a.systemCode, u = a.backendUrl, s = l.props.base.tableUuid ? l.props.base.tableUuid : e.tableUuid, c = getTableNameByTableUuid(a, s);
2318
+ let p = getBaseUrl(u, a.isTest) + "/dsc/commons/" + c;
2319
+ p = getRealRestApiPath(p, i2, u, a.isTest);
2320
+ const d = void 0 === r.isPermission || "true" === r.isPermission || r.isPermission, f = isWorkflowPage(a), m = getPermissionCodes(l, a), v = { ids: o, functionCode: m, isPermission: d + "", systemCode: i2, isWorkflowEntity: f, listCodesMap: a.listCodesMap, pageCode: a.code, pageVersion: a.version };
2321
2321
  a.beanName && (v.beanName = a.beanName);
2322
2322
  const g = l.props.deleteLogicSetting;
2323
2323
  g && ("object" == typeof g ? v.deleteLogicSetting = JSON.stringify(g) : "string" == typeof g && (v.deleteLogicSetting = g));
@@ -2326,7 +2326,7 @@
2326
2326
  const C = l.props.base.isSafeDelete;
2327
2327
  C && (v.isSafeDelete = C);
2328
2328
  const y = (_c = (_b = l.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
2329
- y && (v.currentOperation = y), v.isMobile = commonUtil.isMobileBrowser(), http.delete(p, { data: v }).then((e2) => {
2329
+ y && (v.currentOperation = y), v.isMobile = agilebuilderUi.isMobileBrowser(), agilebuilderUi.http.delete(p, { data: v }).then((e2) => {
2330
2330
  const n2 = getComponentRef(a, s);
2331
2331
  n2 && (n2.isDeleteChange(true), n2.clearSelections()), dealAfterOperate(a, l, e2, "superPageRuntimeMessage.successfulDelete", true), t(true);
2332
2332
  }).catch((e2) => {
@@ -2342,61 +2342,61 @@
2342
2342
  const t = e.pageContext, n = e.configureObj, o = n.props.base, a = packageTemplateFiles(o.templateFiles, t, n);
2343
2343
  let l, r;
2344
2344
  a && a.length > 0 && (l = a[0].templateUuid, r = a[0].templateName);
2345
- const u = t.systemCode, i2 = t.backendUrl, s = r;
2345
+ const i2 = t.systemCode, u = t.backendUrl, s = r;
2346
2346
  let c = "?1=1";
2347
2347
  l && s && "undefined" !== l && "undefined" !== s && "null" !== l && "null" !== s ? c += "&fileName=" + encodeURI(l) + "&showName=" + encodeURI(s) : s ? c += "&showName=" + encodeURI(s) : t.label && (c += "&showName=" + encodeURI(t.label) + ".xlsx");
2348
2348
  const p = (_a = n.props.base) == null ? void 0 : _a.logSetting;
2349
- p && (c += "&logSettingText=" + p.join("")), u && (c += "&systemCode=" + u);
2349
+ p && (c += "&logSettingText=" + p.join("")), i2 && (c += "&systemCode=" + i2);
2350
2350
  const d = e.listCode;
2351
2351
  d && (c += "&listCode=" + d), t.beanName && (c += "&beanName=" + t.beanName);
2352
2352
  const f = getPermissionCodes(n, t);
2353
2353
  f && (c += "&functionCode=" + f), t.tableName && (c += "&tableName=" + t.tableName), t.code && (c += "&pageCode=" + t.code), t.version && (c += "&pageVersion=" + t.version);
2354
- const m = auth.getToken();
2354
+ const m = agilebuilderUi.getToken();
2355
2355
  m && (c += "&JWT=" + m);
2356
2356
  const v = (_c = (_b = n.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
2357
- v && (c += "&currentOperation=" + encodeURI(v)), c += "&isMobile=" + commonUtil.isMobileBrowser();
2358
- const g = "_RUN_CURRENT_ROLE", h = auth.getSessionCache(g);
2357
+ v && (c += "&currentOperation=" + encodeURI(v)), c += "&isMobile=" + agilebuilderUi.isMobileBrowser();
2358
+ const g = "_RUN_CURRENT_ROLE", h = agilebuilderUi.getSessionCache(g);
2359
2359
  if (h && (c += "&" + g + "=" + h), o) {
2360
2360
  c += "&isPermission=" + (void 0 === o.isPermission || "true" === o.isPermission || o.isPermission);
2361
2361
  }
2362
- const C = getBaseUrl(i2, t.isTest);
2362
+ const C = getBaseUrl(u, t.isTest);
2363
2363
  window.open(C + "/dsc/commons/download-files" + c);
2364
2364
  }
2365
2365
  function doImportFinally(e, t) {
2366
2366
  var _a, _b, _c;
2367
- const n = e.pageContext, o = e.configureObj, a = e.tableConfigure, l = o.props.base, r = o.props.base.tableUuid ? o.props.base.tableUuid : e.tableUuid, u = getTableNameByTableUuid(n, r), i2 = new FormData();
2368
- i2.append("multipartFile", t), u && i2.append("tableName", u);
2367
+ const n = e.pageContext, o = e.configureObj, a = e.tableConfigure, l = o.props.base, r = o.props.base.tableUuid ? o.props.base.tableUuid : e.tableUuid, i2 = getTableNameByTableUuid(n, r), u = new FormData();
2368
+ u.append("multipartFile", t), i2 && u.append("tableName", i2);
2369
2369
  const s = (_b = (_a = o.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
2370
- s && i2.append("currentOperation", s), i2.append("isMobile", commonUtil.isMobileBrowser()), n.importBeanName && i2.append("importBeanName", n.importBeanName), n.beanName && i2.append("beanName", n.beanName);
2370
+ s && u.append("currentOperation", s), u.append("isMobile", agilebuilderUi.isMobileBrowser()), n.importBeanName && u.append("importBeanName", n.importBeanName), n.beanName && u.append("beanName", n.beanName);
2371
2371
  const c = (_c = a.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
2372
- c && i2.append("importDuplicateRule", c);
2372
+ c && u.append("importDuplicateRule", c);
2373
2373
  const p = n.judgeHeavyList;
2374
- p && i2.append("judgeHeavyList", JSON.stringify(p));
2374
+ p && u.append("judgeHeavyList", JSON.stringify(p));
2375
2375
  const d = getButtonAutoSetValueData(o);
2376
- d && i2.append("autoSetValueData", d);
2376
+ d && u.append("autoSetValueData", d);
2377
2377
  const f = n.formNoRuleCode;
2378
- f && i2.append("formNoRuleCode", f);
2378
+ f && u.append("formNoRuleCode", f);
2379
2379
  const m = e.listCode;
2380
- m && i2.append("listCode", m);
2380
+ m && u.append("listCode", m);
2381
2381
  let v = false;
2382
- v = void 0 !== l.isAsync && null !== l.isAsync && l.isAsync, i2.append("isAsync", v + ""), i2.append("pageCode", n.code);
2382
+ v = void 0 !== l.isAsync && null !== l.isAsync && l.isAsync, u.append("isAsync", v + ""), u.append("pageCode", n.code);
2383
2383
  const g = isWorkflowPage(n);
2384
- null != g && i2.append("isWorkflowEntity", g + "");
2384
+ null != g && u.append("isWorkflowEntity", g + "");
2385
2385
  const h = getPermissionCodes(o, n);
2386
- h && i2.append("functionCode", h);
2386
+ h && u.append("functionCode", h);
2387
2387
  const C = getAdditionalParamMap(n);
2388
- i2.append("additionalParamMapStr", JSON.stringify(C));
2388
+ u.append("additionalParamMapStr", JSON.stringify(C));
2389
2389
  const y = void 0 === l.isPermission || "true" === l.isPermission || l.isPermission;
2390
- i2.append("isPermission", y + "");
2390
+ u.append("isPermission", y + "");
2391
2391
  const b = n.systemCode;
2392
- b && i2.append("systemCode", b);
2392
+ b && u.append("systemCode", b);
2393
2393
  const k = n.backendUrl;
2394
2394
  let x = getBaseUrl(k, n.isTest) + "/dsc/commons/import-data";
2395
- x = getRealRestApiPath(x, b, k, n.isTest), http.post(x, i2).then((e2) => {
2396
- if (v) elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.asyncImport") }), doFileTaskFunc(n);
2395
+ x = getRealRestApiPath(x, b, k, n.isTest), agilebuilderUi.http.post(x, u).then((e2) => {
2396
+ if (v) elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.asyncImport") }), doFileTaskFunc(n);
2397
2397
  else {
2398
2398
  let t2 = false;
2399
- e2 ? (t2 = false, elementPlus.ElMessage({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e2 })) : (elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulImport") }), t2 = true), dealAfterOperate(n, o, e2, null, true), n.result = t2, doAfterClickEvent(n, o);
2399
+ e2 ? (t2 = false, elementPlus.ElMessage({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e2 })) : (elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulImport") }), t2 = true), dealAfterOperate(n, o, e2, null, true), n.result = t2, doAfterClickEvent(n, o);
2400
2400
  }
2401
2401
  }).catch((e2) => {
2402
2402
  });
@@ -2405,22 +2405,22 @@
2405
2405
  const n = e.props.base;
2406
2406
  if (n.conditionsForExecution && "" !== n.conditionsForExecution) {
2407
2407
  if ("one" === n.conditionsForExecution) {
2408
- if (!t || 1 !== t.length) return elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: util.getI18n().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), false;
2409
- } else if ("more" === n.conditionsForExecution && (!t || t.length <= 0)) return elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: util.getI18n().t("superPageRuntimeMessage.selectAtLeastOneRecord") }) }), false;
2408
+ if (!t || 1 !== t.length) return elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), false;
2409
+ } else if ("more" === n.conditionsForExecution && (!t || t.length <= 0)) return elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.selectAtLeastOneRecord") }) }), false;
2410
2410
  }
2411
2411
  return true;
2412
2412
  }
2413
2413
  function exportFunc(e) {
2414
2414
  return new Promise((t, n) => {
2415
2415
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
2416
- const o = e.pageContext, a = e.configureObj, l = a.props.base, r = e.listCode, u = e.selections, i2 = {};
2417
- u && u.length > 0 && (i2.data = u);
2416
+ const o = e.pageContext, a = e.configureObj, l = a.props.base, r = e.listCode, i2 = e.selections, u = {};
2417
+ i2 && i2.length > 0 && (u.data = i2);
2418
2418
  let s = o.label;
2419
2419
  s || (s = o.code);
2420
2420
  let c = false;
2421
2421
  c = void 0 !== l.isAsync && null !== l.isAsync && l.isAsync;
2422
2422
  const p = void 0 === l.isPermission || "true" === l.isPermission || l.isPermission, d = getPermissionCodes(a, o), f = s, m = { backendUrl: o.backendUrl, pageContext: o }, v = (_b = (_a = a.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
2423
- v && (m.currentOperation = v), m.isShowWatermark = void 0 === ((_d = (_c = a.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = a.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", m.watermarkContent = ((_h = (_g = a.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = a.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = a.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(i2, f, r, d, null, m, c, o.code, p), c && setTimeout(() => {
2423
+ v && (m.currentOperation = v), m.isShowWatermark = void 0 === ((_d = (_c = a.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e = a.props) == null ? void 0 : _e.watermark) == null ? void 0 : _f.isShowWatermark) + "", m.watermarkContent = ((_h = (_g = a.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = a.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = a.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(u, f, r, d, null, m, c, o.code, p), c && setTimeout(() => {
2424
2424
  doFileTaskFunc(o);
2425
2425
  }, 100);
2426
2426
  });
@@ -2430,31 +2430,31 @@
2430
2430
  const t = e.pageContext, n = e.configureObj, o = t.entity.data, a = t.systemCode, l = t.code;
2431
2431
  let r = getPermissionCodes(n, t);
2432
2432
  r || (r = l + ".xxx"), o.id || o.ID || (o.PAGE_CODE = t.code, o.PAGE_VERSION = t.version);
2433
- const u = { entity: o, pageMoel: t.entity.page, formNoRuleCode: t.formNoRuleCode, tableName: t.tableName, emailTemplateCode: t.emailTemplateCode, definitionId: t.definitionId, functionCode: r, systemCode: a, listCodesMap: t.listCodesMap, pageCode: t.code, pageVersion: t.version, listCodesInitSearchForm: t.listCodesInitSearchForm };
2434
- t.completeTaskParam && (u.completeTaskParam = { taskId: t.completeTaskParam.taskId, opinion: t.completeTaskParam.opinion }), t.judgeHeavyList && (isArrayFn(t.judgeHeavyList) ? u.judgeHeavyList = JSON.stringify(t.judgeHeavyList) : u.judgeHeavyList = t.judgeHeavyList);
2435
- const i2 = n.props.base.conversionCodes;
2436
- i2 && (isArrayFn(i2) ? u.dataConversionRule = i2.join(",") : "string" == typeof i2 && (u.dataConversionRule = i2));
2433
+ const i2 = { entity: o, pageMoel: t.entity.page, formNoRuleCode: t.formNoRuleCode, tableName: t.tableName, emailTemplateCode: t.emailTemplateCode, definitionId: t.definitionId, functionCode: r, systemCode: a, listCodesMap: t.listCodesMap, pageCode: t.code, pageVersion: t.version, listCodesInitSearchForm: t.listCodesInitSearchForm };
2434
+ t.completeTaskParam && (i2.completeTaskParam = { taskId: t.completeTaskParam.taskId, opinion: t.completeTaskParam.opinion }), t.judgeHeavyList && (isArrayFn(t.judgeHeavyList) ? i2.judgeHeavyList = JSON.stringify(t.judgeHeavyList) : i2.judgeHeavyList = t.judgeHeavyList);
2435
+ const u = n.props.base.conversionCodes;
2436
+ u && (isArrayFn(u) ? i2.dataConversionRule = u.join(",") : "string" == typeof u && (i2.dataConversionRule = u));
2437
2437
  const s = getButtonAutoSetValueData(n);
2438
- s && (u.autoSetValueData = s), t.beanName && (u.beanName = t.beanName);
2438
+ s && (i2.autoSetValueData = s), t.beanName && (i2.beanName = t.beanName);
2439
2439
  const c = (_a = n.props.base) == null ? void 0 : _a.logSetting;
2440
- c && (u.logSettingText = c.join("")), u.systemCode || (u.systemCode = a);
2440
+ c && (i2.logSettingText = c.join("")), i2.systemCode || (i2.systemCode = a);
2441
2441
  const p = getAdditionalParamMap(t);
2442
- u.additionalParamMap = p, p.ids && p.ids.length > 0 && ("string" == typeof p.ids ? u.ids = p.ids.split(",") : Array.isArray(p.ids) ? u.ids = p.ids : "number" == typeof ids ? u.ids = [p.ids] : console.error("ids参数类型错误"));
2442
+ i2.additionalParamMap = p, p.ids && p.ids.length > 0 && ("string" == typeof p.ids ? i2.ids = p.ids.split(",") : Array.isArray(p.ids) ? i2.ids = p.ids : "number" == typeof ids ? i2.ids = [p.ids] : console.error("ids参数类型错误"));
2443
2443
  const d = n.props.base.successOperation;
2444
- d && "noOperation" === d && (u.unControlVersion = true), u.isWorkflowEntity = true;
2444
+ d && "noOperation" === d && (i2.unControlVersion = true), i2.isWorkflowEntity = true;
2445
2445
  const f = (_c = (_b = n.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
2446
- return f && (u.currentOperation = f), u.isMobile = commonUtil.isMobileBrowser(), u;
2446
+ return f && (i2.currentOperation = f), i2.isMobile = agilebuilderUi.isMobileBrowser(), i2;
2447
2447
  }
2448
2448
  async function workflowSaveFunc(e) {
2449
2449
  return new Promise((t, n) => {
2450
2450
  const o = e.pageContext, a = o.entity.data, l = o.systemCode, r = o.backendUrl;
2451
- let u = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons";
2452
- if (u = getRealRestApiPath(u, l, r, o.isTest), !u) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2453
- const i2 = getWorkflowSaveParams(e);
2451
+ let i2 = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons";
2452
+ if (i2 = getRealRestApiPath(i2, l, r, o.isTest), !i2) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2453
+ const u = getWorkflowSaveParams(e);
2454
2454
  let s;
2455
- s = a.id || a.ID ? http.put(u, i2) : http.post(u, i2), s.then((n2) => {
2455
+ s = a.id || a.ID ? agilebuilderUi.http.put(i2, u) : agilebuilderUi.http.post(i2, u), s.then((n2) => {
2456
2456
  let a2 = true;
2457
- n2 && (a2 = dealCompleteTaskParam(n2, false, o, e, null)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulSave") }), bus.$emit("clearTableAllEndEditing"), t(true);
2457
+ n2 && (a2 = dealCompleteTaskParam(n2, false, o, e, null)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulSave") }), bus.$emit("clearTableAllEndEditing"), t(true);
2458
2458
  }).catch((e2) => {
2459
2459
  n(e2);
2460
2460
  });
@@ -2463,13 +2463,13 @@
2463
2463
  async function workflowStartFunc(e) {
2464
2464
  return new Promise((t, n) => {
2465
2465
  const o = e.pageContext, a = o.entity.data, l = o.systemCode, r = o.backendUrl;
2466
- let u = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons/start";
2467
- if (u = getRealRestApiPath(u, l, r, o.isTest), !u) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2468
- const i2 = getWorkflowSaveParams(e);
2466
+ let i2 = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons/start";
2467
+ if (i2 = getRealRestApiPath(i2, l, r, o.isTest), !i2) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2468
+ const u = getWorkflowSaveParams(e);
2469
2469
  let s;
2470
- a.workflow_id || a.WORKFLOW_ID ? (u = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons", u = getRealRestApiPath(u, l, r, o.isTest), s = http.put(u, i2)) : s = http.post(u, i2), s.then((n2) => {
2470
+ a.workflow_id || a.WORKFLOW_ID ? (i2 = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons", i2 = getRealRestApiPath(i2, l, r, o.isTest), s = agilebuilderUi.http.put(i2, u)) : s = agilebuilderUi.http.post(i2, u), s.then((n2) => {
2471
2471
  let a2 = true;
2472
- n2 && (a2 = dealCompleteTaskParam(n2, false, o, e, null)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulStart") }), bus.$emit("clearTableAllEndEditing"), t(true);
2472
+ n2 && (a2 = dealCompleteTaskParam(n2, false, o, e, null)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulStart") }), bus.$emit("clearTableAllEndEditing"), t(true);
2473
2473
  }).catch((e2) => {
2474
2474
  n(e2);
2475
2475
  });
@@ -2477,7 +2477,7 @@
2477
2477
  }
2478
2478
  function dealCompleteTaskParam(e, t, n, o, a) {
2479
2479
  const l = n.code, r = n.version;
2480
- let u;
2480
+ let i2;
2481
2481
  if (e) {
2482
2482
  t && (n.initFormNo = e.formNo, n.emailTemplateCode = e.emailTemplateCode), e.entity && (n.entity.data = e.entity, cacheFormDataId(e.entity.id || e.entity.ID, n));
2483
2483
  const a2 = e.completeTaskResult;
@@ -2490,7 +2490,7 @@
2490
2490
  }
2491
2491
  if (e.completeTaskParam) {
2492
2492
  const t2 = e.completeTaskParam;
2493
- u = t2.taskId, o && (o.taskId = u), setStoreInfo(l, r, "_completeTaskParam", t2), n.fieldPermissions = t2.fieldPermissions, n.actionPermissions = t2.actionPermissions, n.workflowButtonComponent = t2.buttonComponent, n.completeTaskParam = t2, n.completeTaskParam.opinion = null;
2493
+ i2 = t2.taskId, o && (o.taskId = i2), setStoreInfo(l, r, "_completeTaskParam", t2), n.fieldPermissions = t2.fieldPermissions, n.actionPermissions = t2.actionPermissions, n.workflowButtonComponent = t2.buttonComponent, n.completeTaskParam = t2, n.completeTaskParam.opinion = null;
2494
2494
  }
2495
2495
  n.entity || (n.entity = {}), n.entity.task = e.taskParamMap, setStoreInfo(l, r, "_currentActivityName", e.taskName);
2496
2496
  }
@@ -2500,11 +2500,11 @@
2500
2500
  return new Promise((t, n) => {
2501
2501
  const o = e.pageContext, a = o.systemCode, l = o.backendUrl;
2502
2502
  let r = getBaseUrl(l, o.isTest) + "/dsc/workflow-commons/submit";
2503
- if (r = getRealRestApiPath(r, a, l, o.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2504
- const u = getWorkflowSaveParams(e), i2 = http.post(r, u);
2505
- i2 && i2.then((n2) => {
2503
+ if (r = getRealRestApiPath(r, a, l, o.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2504
+ const i2 = getWorkflowSaveParams(e), u = agilebuilderUi.http.post(r, i2);
2505
+ u && u.then((n2) => {
2506
2506
  let a2 = true;
2507
- n2 && (a2 = dealCompleteTaskParam(n2, false, o, e, null)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulSubmit") }), bus.$emit("clearTableAllEndEditing"), t(true);
2507
+ n2 && (a2 = dealCompleteTaskParam(n2, false, o, e, null)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulSubmit") }), bus.$emit("clearTableAllEndEditing"), t(true);
2508
2508
  }).catch((e2) => {
2509
2509
  n(e2);
2510
2510
  });
@@ -2515,14 +2515,14 @@
2515
2515
  return new Promise((o, a) => {
2516
2516
  var _a;
2517
2517
  if (n) {
2518
- const l = e.pageContext, r = l.systemCode, u = l.backendUrl, i2 = true === n ? (_a = l.completeTaskParam) == null ? void 0 : _a.opinion : n;
2519
- let s = getBaseUrl(u, l.isTest) + "/dsc/workflow-commons/complete-tasks";
2520
- if (s = getRealRestApiPath(s, r, u, l.isTest), !s) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2518
+ const l = e.pageContext, r = l.systemCode, i2 = l.backendUrl, u = true === n ? (_a = l.completeTaskParam) == null ? void 0 : _a.opinion : n;
2519
+ let s = getBaseUrl(i2, l.isTest) + "/dsc/workflow-commons/complete-tasks";
2520
+ if (s = getRealRestApiPath(s, r, i2, l.isTest), !s) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2521
2521
  const c = getWorkflowSaveParams(e);
2522
- c.completeTaskParam = { operationResult: t, taskId: l.completeTaskParam ? l.completeTaskParam.taskId : null, opinion: i2 || null };
2523
- http.post(s, c).then((n2) => {
2522
+ c.completeTaskParam = { operationResult: t, taskId: l.completeTaskParam ? l.completeTaskParam.taskId : null, opinion: u || null };
2523
+ agilebuilderUi.http.post(s, c).then((n2) => {
2524
2524
  let a2 = true;
2525
- n2 && (a2 = dealCompleteTaskParam(n2, false, l, e, t)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulCompleteTask") }), o(true);
2525
+ n2 && (a2 = dealCompleteTaskParam(n2, false, l, e, t)), true === a2 && elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulCompleteTask") }), o(true);
2526
2526
  }).catch((e2) => {
2527
2527
  a(e2);
2528
2528
  });
@@ -2540,7 +2540,7 @@
2540
2540
  const t2 = e.pageContext, a = (_e = (_d = o.props) == null ? void 0 : _d.base) == null ? void 0 : _e.mustOpinionConditions;
2541
2541
  n2 = caculateShowCondition(t2, a);
2542
2542
  }
2543
- true === n2 ? (elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.pleaseInputOpinion") }), e.pageContext.workflowOpinion.focusOpinionInput = true, t(false)) : t(true);
2543
+ true === n2 ? (elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.pleaseInputOpinion") }), e.pageContext.workflowOpinion.focusOpinionInput = true, t(false)) : t(true);
2544
2544
  } else t(true);
2545
2545
  });
2546
2546
  }
@@ -2555,7 +2555,7 @@
2555
2555
  const t2 = e.pageContext, a = (_d = (_c = o.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
2556
2556
  n2 = caculateShowCondition(t2, a);
2557
2557
  }
2558
- true === n2 ? elementPlus.ElMessageBox.prompt(util.getI18n().t("superPageRuntimeMessage.pleaseInputRemark"), util.getI18n().t("superPageRuntimeMessage.remark"), { confirmButtonText: util.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: util.getI18n().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e2) => !(!e2 || !e2.trim()) || util.getI18n().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e2 }) => {
2558
+ true === n2 ? elementPlus.ElMessageBox.prompt(agilebuilderUi.getI18n().t("superPageRuntimeMessage.pleaseInputRemark"), agilebuilderUi.getI18n().t("superPageRuntimeMessage.remark"), { confirmButtonText: agilebuilderUi.getI18n().t("superPageRuntimeMessage.sure"), cancelButtonText: agilebuilderUi.getI18n().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e2) => !(!e2 || !e2.trim()) || agilebuilderUi.getI18n().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e2 }) => {
2559
2559
  t(e2);
2560
2560
  }).catch(() => {
2561
2561
  t(false);
@@ -2577,10 +2577,10 @@
2577
2577
  }
2578
2578
  function getTransactTaskParam(e) {
2579
2579
  var _a, _b;
2580
- const t = e.pageContext, n = t.entity.data, o = t.systemCode, a = t.code, l = e.configureObj, r = getAdditionalParamMap(t), u = void 0 !== n.ID && null !== n.ID ? n.ID : n.id, i2 = { beanName: t.beanName, id: u, entity: n, additionalParamMap: r, tableName: t.tableName, functionCode: a + ".xxx", isWorkflowEntity: true, listCodesMap: t.listCodesMap, pageCode: t.code, pageVersion: t.version, listCodesInitSearchForm: t.listCodesInitSearchForm };
2581
- i2.completeTaskParam = { taskId: t.completeTaskParam.taskId, systemCode: o }, i2.completeTaskParam.customTaskTitle = getWorkflowCustomTaskTitle(e);
2580
+ const t = e.pageContext, n = t.entity.data, o = t.systemCode, a = t.code, l = e.configureObj, r = getAdditionalParamMap(t), i2 = void 0 !== n.ID && null !== n.ID ? n.ID : n.id, u = { beanName: t.beanName, id: i2, entity: n, additionalParamMap: r, tableName: t.tableName, functionCode: a + ".xxx", isWorkflowEntity: true, listCodesMap: t.listCodesMap, pageCode: t.code, pageVersion: t.version, listCodesInitSearchForm: t.listCodesInitSearchForm };
2581
+ u.completeTaskParam = { taskId: t.completeTaskParam.taskId, systemCode: o }, u.completeTaskParam.customTaskTitle = getWorkflowCustomTaskTitle(e);
2582
2582
  const s = (_b = (_a = l == null ? void 0 : l.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
2583
- return s && (i2.currentOperation = s), i2.isMobile = commonUtil.isMobileBrowser(), i2;
2583
+ return s && (u.currentOperation = s), u.isMobile = agilebuilderUi.isMobileBrowser(), u;
2584
2584
  }
2585
2585
  function getWorkflowCustomTaskTitle(e) {
2586
2586
  var _a, _b, _c;
@@ -2616,12 +2616,12 @@
2616
2616
  if (t) {
2617
2617
  const n = e.pageContext, o = e.configureObj, a = n.systemCode, l = n.backendUrl;
2618
2618
  let r = getBaseUrl(l, n.isTest) + "/dsc/workflow-commons/add-signers";
2619
- if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2620
- const u = getTransactTaskParam(e);
2621
- u.completeTaskParam.transactors = t.loginNames.join(",").split(",");
2622
- const i2 = http.post(r, u);
2623
- i2 && i2.then((e2) => {
2624
- elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulOperation") }), e2.entity && dealAfterOperate(n, o, e2, null, false), doAfterClickEvent(n, o);
2619
+ if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2620
+ const i2 = getTransactTaskParam(e);
2621
+ i2.completeTaskParam.transactors = t.loginNames.join(",").split(",");
2622
+ const u = agilebuilderUi.http.post(r, i2);
2623
+ u && u.then((e2) => {
2624
+ elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulOperation") }), e2.entity && dealAfterOperate(n, o, e2, null, false), doAfterClickEvent(n, o);
2625
2625
  });
2626
2626
  }
2627
2627
  }
@@ -2633,12 +2633,12 @@
2633
2633
  if (t) {
2634
2634
  const n = e.pageContext, o = e.configureObj, a = n.systemCode, l = n.backendUrl;
2635
2635
  let r = getBaseUrl(l, n.isTest) + "/dsc/workflow-commons/add-transactors";
2636
- if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2637
- const u = getTransactTaskParam(e);
2638
- u.completeTaskParam.transactors = t.loginNames.join(",").split(",");
2639
- const i2 = http.post(r, u);
2640
- i2 && i2.then((e2) => {
2641
- elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulOperation") }), e2.entity && dealAfterOperate(n, o, e2, null, false), doAfterClickEvent(n, o);
2636
+ if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2637
+ const i2 = getTransactTaskParam(e);
2638
+ i2.completeTaskParam.transactors = t.loginNames.join(",").split(",");
2639
+ const u = agilebuilderUi.http.post(r, i2);
2640
+ u && u.then((e2) => {
2641
+ elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulOperation") }), e2.entity && dealAfterOperate(n, o, e2, null, false), doAfterClickEvent(n, o);
2642
2642
  });
2643
2643
  }
2644
2644
  }
@@ -2651,13 +2651,13 @@
2651
2651
  const n = await validateRemark(e);
2652
2652
  if (n) {
2653
2653
  const o = e.pageContext, a = e.configureObj, l = o.systemCode, r = o.backendUrl;
2654
- let u = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons/copies";
2655
- if (u = getRealRestApiPath(u, l, r, o.isTest), !u) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2656
- const i2 = getTransactTaskParam(e);
2657
- i2.completeTaskParam.transactors = t.loginNames.join(",").split(","), true !== n && (i2.completeTaskParam.remark = n);
2658
- const s = http.post(u, i2);
2654
+ let i2 = getBaseUrl(r, o.isTest) + "/dsc/workflow-commons/copies";
2655
+ if (i2 = getRealRestApiPath(i2, l, r, o.isTest), !i2) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2656
+ const u = getTransactTaskParam(e);
2657
+ u.completeTaskParam.transactors = t.loginNames.join(",").split(","), true !== n && (u.completeTaskParam.remark = n);
2658
+ const s = agilebuilderUi.http.post(i2, u);
2659
2659
  s && s.then((e2) => {
2660
- elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulOperation") }), doAfterClickEvent(o, a);
2660
+ elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulOperation") }), doAfterClickEvent(o, a);
2661
2661
  });
2662
2662
  }
2663
2663
  }
@@ -2667,16 +2667,16 @@
2667
2667
  return new Promise((l, r) => {
2668
2668
  var _a;
2669
2669
  if (a) {
2670
- const u = e.pageContext, i2 = u.systemCode, s = u.backendUrl;
2671
- if (u.completeTaskParam) {
2672
- const e2 = true === a ? (_a = u.completeTaskParam) == null ? void 0 : _a.opinion : a;
2673
- t.completeTaskParam = { taskId: u.completeTaskParam.taskId, opinion: e2 };
2670
+ const i2 = e.pageContext, u = i2.systemCode, s = i2.backendUrl;
2671
+ if (i2.completeTaskParam) {
2672
+ const e2 = true === a ? (_a = i2.completeTaskParam) == null ? void 0 : _a.opinion : a;
2673
+ t.completeTaskParam = { taskId: i2.completeTaskParam.taskId, opinion: e2 };
2674
2674
  }
2675
- if (!(n = getRealRestApiPath(n, i2, s, u.isTest))) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2676
- const c = http.post(n, t);
2675
+ if (!(n = getRealRestApiPath(n, u, s, i2.isTest))) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2676
+ const c = agilebuilderUi.http.post(n, t);
2677
2677
  c && c.then((t2) => {
2678
2678
  let n2 = true;
2679
- t2 && (n2 = dealCompleteTaskParam(t2, false, u, e, null)), true === n2 && elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t(o) }), l(true);
2679
+ t2 && (n2 = dealCompleteTaskParam(t2, false, i2, e, null)), true === n2 && elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t(o) }), l(true);
2680
2680
  }).catch((e2) => {
2681
2681
  r(e2);
2682
2682
  });
@@ -2706,9 +2706,9 @@
2706
2706
  function getTaskInformitions(e) {
2707
2707
  const t = e.pageContext, n = t.systemCode, o = t.backendUrl, a = t.completeTaskParam;
2708
2708
  let l = getBaseUrl(o, t.isTest) + "/dsc/workflow-commons/returnable-task/" + a.taskId;
2709
- if (l = getRealRestApiPath(l, n, o, t.isTest), !l) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2710
- const r = t.code, u = getAdditionalParamMap(t), i2 = { beanName: t.beanName, additionalParamMap: u, tableName: t.tableName, functionCode: r + ".xxx", pageCode: t.code };
2711
- return http.post(l, i2);
2709
+ if (l = getRealRestApiPath(l, n, o, t.isTest), !l) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2710
+ const r = t.code, i2 = getAdditionalParamMap(t), u = { beanName: t.beanName, additionalParamMap: i2, tableName: t.tableName, functionCode: r + ".xxx", pageCode: t.code };
2711
+ return agilebuilderUi.http.post(l, u);
2712
2712
  }
2713
2713
  function doReturnTaskTo(e, t) {
2714
2714
  const n = e.pageContext, o = e.configureObj, a = getBaseUrl(n.backendUrl, n.isTest) + "/dsc/workflow-commons/returnTaskTo", l = getWorkflowSaveParams(e);
@@ -2724,17 +2724,17 @@
2724
2724
  const t = e.pageContext, n = t.systemCode, o = t.backendUrl;
2725
2725
  let a = getBaseUrl(o, t.isTest) + "/dsc/workflow-commons/get-remove-signers";
2726
2726
  const l = getWorkflowSaveParams(e);
2727
- if (a = getRealRestApiPath(a, n, o, t.isTest), a) return http.post(a, l);
2728
- elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2727
+ if (a = getRealRestApiPath(a, n, o, t.isTest), a) return agilebuilderUi.http.post(a, l);
2728
+ elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2729
2729
  }
2730
2730
  function doRemoveSigners(e, t) {
2731
2731
  if (t) {
2732
2732
  const n = e.pageContext, o = e.configureObj, a = n.systemCode, l = n.backendUrl;
2733
2733
  let r = getBaseUrl(l, n.isTest) + "/dsc/workflow-commons/remove-signers";
2734
- if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2735
- const u = t.map((e2) => e2.id ? e2.id : e2.ID ? e2.ID : null), i2 = getWorkflowSaveParams(e);
2736
- i2.ids = u;
2737
- const s = http.post(r, i2);
2734
+ if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2735
+ const i2 = t.map((e2) => e2.id ? e2.id : e2.ID ? e2.ID : null), u = getWorkflowSaveParams(e);
2736
+ u.ids = i2;
2737
+ const s = agilebuilderUi.http.post(r, u);
2738
2738
  s && s.then((e2) => {
2739
2739
  dealAfterOperate(n, o, e2, "superPageRuntimeMessage.successfulOperation", false), doAfterClickEvent(n, o);
2740
2740
  });
@@ -2748,17 +2748,17 @@
2748
2748
  const t = e.pageContext, n = t.systemCode, o = t.backendUrl;
2749
2749
  let a = getBaseUrl(o, t.isTest) + "/dsc/workflow-commons/get-remove-transactors";
2750
2750
  const l = getWorkflowSaveParams(e);
2751
- if (a = getRealRestApiPath(a, n, o, t.isTest), a) return http.post(a, l);
2752
- elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2751
+ if (a = getRealRestApiPath(a, n, o, t.isTest), a) return agilebuilderUi.http.post(a, l);
2752
+ elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2753
2753
  }
2754
2754
  function doRemoveTransactors(e, t) {
2755
2755
  if (t) {
2756
2756
  const n = e.pageContext, o = e.configureObj, a = n.systemCode, l = n.backendUrl;
2757
2757
  let r = getBaseUrl(l, n.isTest) + "/dsc/workflow-commons/remove-transactors";
2758
- if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2759
- const u = t.map((e2) => e2.taskId), i2 = getWorkflowSaveParams(e);
2760
- i2.ids = u;
2761
- const s = http.post(r, i2);
2758
+ if (r = getRealRestApiPath(r, a, l, n.isTest), !r) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2759
+ const i2 = t.map((e2) => e2.taskId), u = getWorkflowSaveParams(e);
2760
+ u.ids = i2;
2761
+ const s = agilebuilderUi.http.post(r, u);
2762
2762
  s && s.then((e2) => {
2763
2763
  dealAfterOperate(n, o, e2, "superPageRuntimeMessage.successfulOperation", false), doAfterClickEvent(n, o);
2764
2764
  });
@@ -2777,12 +2777,12 @@
2777
2777
  e._value.loginName && n2.push(e._value.loginName), o.completeTaskParam = { taskId: t.completeTaskParam.taskId, opinion: e._value.opinion, transactors: n2, customTaskTitle: getWorkflowCustomTaskTitle(e) };
2778
2778
  }
2779
2779
  return new Promise((t2, a) => {
2780
- const l = e.pageContext, r = l.systemCode, u = l.backendUrl;
2781
- if (n = getRealRestApiPath(n, r, u, l.isTest), !n) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2782
- const i2 = http.post(n, o);
2783
- i2 && i2.then((n2) => {
2780
+ const l = e.pageContext, r = l.systemCode, i2 = l.backendUrl;
2781
+ if (n = getRealRestApiPath(n, r, i2, l.isTest), !n) return void elementPlus.ElMessage({ showClose: true, type: "warning", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.requestPathEmpty") });
2782
+ const u = agilebuilderUi.http.post(n, o);
2783
+ u && u.then((n2) => {
2784
2784
  let o2 = true;
2785
- n2 && (o2 = dealCompleteTaskParam(n2, false, l, e, null)), true === o2 && elementPlus.ElMessage({ showClose: true, type: "success", message: util.getI18n().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
2785
+ n2 && (o2 = dealCompleteTaskParam(n2, false, l, e, null)), true === o2 && elementPlus.ElMessage({ showClose: true, type: "success", message: agilebuilderUi.getI18n().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
2786
2786
  }).catch((e2) => {
2787
2787
  a(e2);
2788
2788
  });
@@ -2894,7 +2894,7 @@
2894
2894
  }
2895
2895
  function isVisibleExtractWorkflow(e, t, n) {
2896
2896
  var _a;
2897
- const o = auth.getCurrentUser(), a = o ? o.loginName : null;
2897
+ const o = agilebuilderUi.getCurrentUser(), a = o ? o.loginName : null;
2898
2898
  if (e == null ? void 0 : e.processState) {
2899
2899
  if (((_a = t == null ? void 0 : t.firstNodeInfo) == null ? void 0 : _a.nodeId) === (n == null ? void 0 : n.CURRENT_ACTIVITY_ID)) return false;
2900
2900
  if ("END" !== (e == null ? void 0 : e.processState) && "EXTRACT" !== (e == null ? void 0 : e.processState) && "MANUAL_END" !== (e == null ? void 0 : e.processState) && n && (n.creator === a || n.CREATOR === a)) return true;
@@ -2902,7 +2902,7 @@
2902
2902
  return false;
2903
2903
  }
2904
2904
  function isVisibleCancelExtractWorkflow(e, t, n) {
2905
- const o = auth.getCurrentUser(), a = o ? o.loginName : null;
2905
+ const o = agilebuilderUi.getCurrentUser(), a = o ? o.loginName : null;
2906
2906
  return !("EXTRACT" !== (e == null ? void 0 : e.processState) || !n || n.creator !== a && n.CREATOR !== a);
2907
2907
  }
2908
2908
  function isVisibleApproveExtractWorkflow(e, t, n) {
@@ -2917,7 +2917,7 @@
2917
2917
  }
2918
2918
  function cacheFormDataId(e, t) {
2919
2919
  const n = getAdditionalParamMap(t);
2920
- e && n && auth.setSessionCache(n._t_ + "_id", e);
2920
+ e && n && agilebuilderUi.setSessionCache(n._t_ + "_id", e);
2921
2921
  }
2922
2922
  function refreshPage(e, t) {
2923
2923
  e.entity.page || (e.entity.page = {}), e.entity.page._isRefresh = true, getFormData(e, t).then((t2) => {
@@ -2936,20 +2936,20 @@
2936
2936
  }
2937
2937
  function getCommonFormData(e, t, n) {
2938
2938
  return new Promise((o, a) => {
2939
- const l = e.systemCode, r = e.code, u = e.version, i2 = getAdditionalParamMap(e);
2939
+ const l = e.systemCode, r = e.code, i2 = e.version, u = getAdditionalParamMap(e);
2940
2940
  let s = t || null, c = t ? [t] : null;
2941
- void 0 === n || n ? (s || (s = i2 && i2.id ? i2.id : null), c || (c = i2 ? i2.ids : null)) : (s = null, c = null, i2._id = i2.id, i2.id = null);
2942
- const p = i2 ? i2.taskId : null, d = r, f = getBaseUrl(e.backendUrl, e.isTest), m = { pageCode: r, pageVersion: u, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, id: s, systemCode: l, functionCode: d + ".gets", listCodesMap: e.listCodesMap, listCodesInitSearchForm: e.listCodesInitSearchForm };
2943
- if (!m.id && i2 && i2._t_ && auth.getSessionCache(i2._t_ + "_id") && (m.id = auth.getSessionCache(i2._t_ + "_id")), c && (m.ids = formatAdditionalParamMapIds(c)), e.notIdInitializationList && (m.noIdAndTaskIdInitSetting = JSON.stringify(e.notIdInitializationList)), i2 && (m.additionalParamMap = i2), e.beanName && (m.beanName = e.beanName), p && (m.taskId = p), e.listCodesMap, (!e.listCodesMap || 0 === Object.keys(e.listCodesMap).length) && e.tableUuids) {
2941
+ void 0 === n || n ? (s || (s = u && u.id ? u.id : null), c || (c = u ? u.ids : null)) : (s = null, c = null, u._id = u.id, u.id = null);
2942
+ const p = u ? u.taskId : null, d = r, f = getBaseUrl(e.backendUrl, e.isTest), m = { pageCode: r, pageVersion: i2, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, id: s, systemCode: l, functionCode: d + ".gets", listCodesMap: e.listCodesMap, listCodesInitSearchForm: e.listCodesInitSearchForm };
2943
+ if (!m.id && u && u._t_ && agilebuilderUi.getSessionCache(u._t_ + "_id") && (m.id = agilebuilderUi.getSessionCache(u._t_ + "_id")), c && (m.ids = formatAdditionalParamMapIds(c)), e.notIdInitializationList && (m.noIdAndTaskIdInitSetting = JSON.stringify(e.notIdInitializationList)), u && (m.additionalParamMap = u), e.beanName && (m.beanName = e.beanName), p && (m.taskId = p), e.listCodesMap, (!e.listCodesMap || 0 === Object.keys(e.listCodesMap).length) && e.tableUuids) {
2944
2944
  const t2 = {};
2945
2945
  e.tableUuids.forEach((e2) => {
2946
- const n2 = getListCode(r, u, e2);
2946
+ const n2 = getListCode(r, i2, e2);
2947
2947
  t2[n2] = n2;
2948
2948
  }), m.listCodesMap = t2;
2949
2949
  }
2950
2950
  e.refercePropMap && (m.refercePropMap = e.refercePropMap);
2951
2951
  const v = f + "/dsc/commons/gets", g = usePageContextStore();
2952
- g.restorePageLoadState(), handleEvent(null, e, e, "beforeFormLoadData"), http.post(v, m).then((t2) => {
2952
+ g.restorePageLoadState(), handleEvent(null, e, e, "beforeFormLoadData"), agilebuilderUi.http.post(v, m).then((t2) => {
2953
2953
  t2 && (e.entity.data = t2.entity, e.initFormNo = t2.formNo);
2954
2954
  const n2 = e.customRules, a2 = e.rules, l2 = packageCustomRules(e, n2, a2);
2955
2955
  e.rules = l2, e.canClick = true, handleEvent(null, e, e, "afterFormLoadData"), g.setFormPageDataLoadState(true), o(t2);
@@ -2960,20 +2960,20 @@
2960
2960
  }
2961
2961
  function getWorkflowFormData(e, t, n) {
2962
2962
  return new Promise((o, a) => {
2963
- const l = e.systemCode, r = e.code, u = e.version, i2 = getAdditionalParamMap(e);
2963
+ const l = e.systemCode, r = e.code, i2 = e.version, u = getAdditionalParamMap(e);
2964
2964
  let s = t || null, c = t ? [t] : null;
2965
- void 0 === n || n ? (s || (s = i2 && i2.id ? i2.id : null), c || (c = i2 ? i2.ids : null)) : (s = null, c = null, i2._id = i2.id, i2.id = null);
2966
- const p = i2 ? i2.taskId : null, d = r, f = { pageCode: r, pageVersion: u, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, isWorkflowEntity: true, systemCode: l, functionCode: d + ".workflowGets", listCodesMap: e.listCodesMap, listCodesInitSearchForm: e.listCodesInitSearchForm };
2965
+ void 0 === n || n ? (s || (s = u && u.id ? u.id : null), c || (c = u ? u.ids : null)) : (s = null, c = null, u._id = u.id, u.id = null);
2966
+ const p = u ? u.taskId : null, d = r, f = { pageCode: r, pageVersion: i2, tableName: e.tableName, formNoRuleCode: e.formNoRuleCode, isWorkflowEntity: true, systemCode: l, functionCode: d + ".workflowGets", listCodesMap: e.listCodesMap, listCodesInitSearchForm: e.listCodesInitSearchForm };
2967
2967
  if (e.listCodesMap, (!e.listCodesMap || 0 === Object.keys(e.listCodesMap).length) && e.tableUuids) {
2968
2968
  const t2 = {};
2969
2969
  e.tableUuids.forEach((e2) => {
2970
- const n2 = getListCode(r, u, e2);
2970
+ const n2 = getListCode(r, i2, e2);
2971
2971
  t2[n2] = n2;
2972
2972
  }), f.listCodesMap = t2;
2973
2973
  }
2974
- c && (f.ids = formatAdditionalParamMapIds(c)), p ? f.taskId = p : s ? f.id = s : (i2 && i2._t_ && auth.getSessionCache(i2._t_ + "_id") && (f.id = auth.getSessionCache(i2._t_ + "_id")), e.notIdInitializationList && (f.noIdAndTaskIdInitSetting = JSON.stringify(e.notIdInitializationList))), i2 && (f.additionalParamMap = i2), e.beanName && (f.beanName = e.beanName), e.refercePropMap && (f.refercePropMap = e.refercePropMap);
2974
+ c && (f.ids = formatAdditionalParamMapIds(c)), p ? f.taskId = p : s ? f.id = s : (u && u._t_ && agilebuilderUi.getSessionCache(u._t_ + "_id") && (f.id = agilebuilderUi.getSessionCache(u._t_ + "_id")), e.notIdInitializationList && (f.noIdAndTaskIdInitSetting = JSON.stringify(e.notIdInitializationList))), u && (f.additionalParamMap = u), e.beanName && (f.beanName = e.beanName), e.refercePropMap && (f.refercePropMap = e.refercePropMap);
2975
2975
  const m = getBaseUrl(e.backendUrl, e.isTest) + "/dsc/workflow-commons/gets", v = usePageContextStore();
2976
- v.restorePageLoadState(), handleEvent(null, e, e, "beforeFormLoadData"), http.post(m, f).then((t2) => {
2976
+ v.restorePageLoadState(), handleEvent(null, e, e, "beforeFormLoadData"), agilebuilderUi.http.post(m, f).then((t2) => {
2977
2977
  e.workflowOpinion = { showOpinionBox: false }, e.definitionId = t2.definitionId, e.entity.task = t2.taskParamMap, e.dataTypeMaps = t2.dataTypeMap, dealCompleteTaskParam(t2, true, e), e.workflowRules = getWorkflowRules(e);
2978
2978
  const n2 = e.pageType;
2979
2979
  n2 && "form" === n2 && changePermissionListToMap(e), e.canClick = true, handleEvent(null, e, e, "afterFormLoadData"), v.setFormPageDataLoadState(true), o(t2);
@@ -2993,8 +2993,8 @@
2993
2993
  if (void 0 !== n) for (let e2 = 0; e2 < n.length; e2++) {
2994
2994
  const o = n[e2].name;
2995
2995
  if (o) if (0 === o.indexOf("$") && o.indexOf(".") > 0) {
2996
- const a = n[e2], l = JSON.parse(JSON.stringify(a)), r = o.substring(1, o.indexOf(".")), u = o.substring(o.indexOf(".") + 1);
2997
- if (l.name = u, l && "all_fields" === l.name) false === l.canEdit ? l.rowIndexes ? t.set(r, [{ name: "all_fields", canEdit: false, rowIndexes: l.rowIndexes }]) : t.set(r, [{ name: "all_fields", canEdit: false }]) : l.rowIndexes ? t.set(r, [{ name: "all_fields", canEdit: true, rowIndexes: l.rowIndexes }]) : t.set(r, [{ name: "all_fields", canEdit: true }]);
2996
+ const a = n[e2], l = JSON.parse(JSON.stringify(a)), r = o.substring(1, o.indexOf(".")), i2 = o.substring(o.indexOf(".") + 1);
2997
+ if (l.name = i2, l && "all_fields" === l.name) false === l.canEdit ? l.rowIndexes ? t.set(r, [{ name: "all_fields", canEdit: false, rowIndexes: l.rowIndexes }]) : t.set(r, [{ name: "all_fields", canEdit: false }]) : l.rowIndexes ? t.set(r, [{ name: "all_fields", canEdit: true, rowIndexes: l.rowIndexes }]) : t.set(r, [{ name: "all_fields", canEdit: true }]);
2998
2998
  else {
2999
2999
  let e3 = t.get(r);
3000
3000
  e3 || (e3 = []), e3.push(l), t.set(r, e3);
@@ -3029,21 +3029,21 @@
3029
3029
  }
3030
3030
  function saveChartConditionBase(e, t) {
3031
3031
  const n = e.entity ? e.entity : {}, o = { data: n.data, page: n.page }, a = { pageCode: e.code, queryCondition: JSON.stringify(o), name: t }, l = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
3032
- return http.post(l, a);
3032
+ return agilebuilderUi.http.post(l, a);
3033
3033
  }
3034
3034
  function listChartConditions(e) {
3035
3035
  const t = e.code, n = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t;
3036
- return http.get(n);
3036
+ return agilebuilderUi.http.get(n);
3037
3037
  }
3038
3038
  function deleteChartCondition(e) {
3039
3039
  const t = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e;
3040
- return http.delete(t);
3040
+ return agilebuilderUi.http.delete(t);
3041
3041
  }
3042
3042
  function doFileTaskFunc(e) {
3043
3043
  e.exportNoticeInfo && (e.exportNoticeInfo.noticeInterval && clearInterval(e.exportNoticeInfo.noticeInterval), e.exportNoticeInfo.noticeComponent = null, e.exportNoticeInfo.noticeInterval = null), e.exportNoticeInfo = {}, intervalTaskNotice(e.exportNoticeInfo, e.backendUrl, e.code);
3044
3044
  }
3045
3045
  function showTaskNotice(e, t, n) {
3046
- e.lastFileTask && !e.noticeComponent ? e.noticeComponent = elementPlus.ElNotification({ title: util.getI18n().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
3046
+ e.lastFileTask && !e.noticeComponent ? e.noticeComponent = elementPlus.ElNotification({ title: agilebuilderUi.getI18n().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
3047
3047
  "Success" === e.lastFileTask.taskState || "Fail" === e.lastFileTask.taskState || "PartSuccess" === e.lastFileTask.taskState ? setPageFileTaskRead(t, n, e.lastFileTask.id, e) : (e.noticeComponent = null, null == e.noticeInterval && intervalTaskNotice(e, t, n));
3048
3048
  }, message: () => vue.h(_sfc_main$19, { isShow: true, backendUrl: t, lastFileTask: e.lastFileTask, onClickMsg(o) {
3049
3049
  o.serverPath ? download(o.fileName, o.serverPath, o.id, e, t, n) : setPageFileTaskRead(t, n, o.id, e), e.noticeComponent.close(), e.noticeComponent = null;
@@ -3074,8 +3074,8 @@
3074
3074
  }
3075
3075
  function download(e, t, n, o, a, l) {
3076
3076
  setPageFileTaskRead(a, l, n, o);
3077
- const r = auth.getToken(), u = getBaseUrl(a) + "/common/super-form/downloads?jwt=" + r + "&showName=" + encodeURI(e) + "&serverPath=" + t;
3078
- window.open(u);
3077
+ const r = agilebuilderUi.getToken(), i2 = getBaseUrl(a) + "/common/super-form/downloads?jwt=" + r + "&showName=" + encodeURI(e) + "&serverPath=" + t;
3078
+ window.open(i2);
3079
3079
  }
3080
3080
  function queryPageDesignByCode(e) {
3081
3081
  return new Promise((t, n) => {
@@ -3106,14 +3106,14 @@
3106
3106
  });
3107
3107
  }
3108
3108
  function queryPageDesignSettingByCode(e) {
3109
- return http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + e);
3109
+ return agilebuilderUi.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + e);
3110
3110
  }
3111
3111
  function queryPageRuntimeParam(e, t) {
3112
3112
  let n = "";
3113
- return e && t && (n = "?listViewTableName=" + e + "&listViewTablePublishVersion=" + t), http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + n);
3113
+ return e && t && (n = "?listViewTableName=" + e + "&listViewTablePublishVersion=" + t), agilebuilderUi.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + n);
3114
3114
  }
3115
3115
  function queryPageRuntimeSystemParam() {
3116
- return http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
3116
+ return agilebuilderUi.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
3117
3117
  }
3118
3118
  function convertToPageContext(e) {
3119
3119
  var _a, _b, _c;
@@ -3148,7 +3148,7 @@
3148
3148
  }
3149
3149
  }
3150
3150
  function setMobilePageVarValue(e) {
3151
- if (commonUtil.isMobileBrowser()) {
3151
+ if (agilebuilderUi.isMobileBrowser()) {
3152
3152
  e.entity.page._isMobile = "true";
3153
3153
  const t = navigator ? navigator.userAgent : null;
3154
3154
  t ? t.indexOf(" uni-app ") > 0 ? (e.entity.page._isMobileApp = "true", e.entity.page._isMobileBrowser = "false") : (e.entity.page._isMobileApp = "false", e.entity.page._isMobileBrowser = "true") : (e.entity.page._isMobileApp = "false", e.entity.page._isMobileBrowser = "false");
@@ -3201,7 +3201,7 @@
3201
3201
  }
3202
3202
  function packageAdditionalMap(e, t) {
3203
3203
  if (e) {
3204
- const n = auth.getSessionCache(e);
3204
+ const n = agilebuilderUi.getSessionCache(e);
3205
3205
  if (n) {
3206
3206
  const e2 = JSON.parse(n);
3207
3207
  Object.assign(t, e2);
@@ -3220,18 +3220,18 @@
3220
3220
  if (null == a.data.ID && null == a.data.id) {
3221
3221
  let n2, l, r = false;
3222
3222
  t && (n2 = t.props.base ? t.props.base : {}, l = t.name, r = n2.multiple);
3223
- const u = getVariableValue(a, o);
3224
- if (null == u) {
3223
+ const i2 = getVariableValue(a, o);
3224
+ if (null == i2) {
3225
3225
  const t2 = n2 ? n2.defaultValue : null;
3226
3226
  if (t2) try {
3227
- const u2 = getDefaultValue(e, t2, l, r);
3228
- if (null != u2 && "" !== u2) setVariableValue(a, o, u2);
3227
+ const i3 = getDefaultValue(e, t2, l, r);
3228
+ if (null != i3 && "" !== i3) setVariableValue(a, o, i3);
3229
3229
  else if (((_a = n2.moreDefaultValue) == null ? void 0 : _a.length) > 0) {
3230
3230
  const t3 = n2.moreDefaultValue;
3231
3231
  for (let n3 = 0; n3 < t3.length; n3++) {
3232
- const u3 = getDefaultValue(e, t3[n3], l, r);
3233
- if (null != u3 && "" !== u3) {
3234
- setVariableValue(a, o, u3);
3232
+ const i4 = getDefaultValue(e, t3[n3], l, r);
3233
+ if (null != i4 && "" !== i4) {
3234
+ setVariableValue(a, o, i4);
3235
3235
  break;
3236
3236
  }
3237
3237
  }
@@ -3260,13 +3260,13 @@
3260
3260
  const o = e.sourceTypes ? e.sourceTypes : [], a = e.functionCodes;
3261
3261
  for (let e2 = 0; e2 < a.length; e2++) {
3262
3262
  const l = a[e2], r = e2 < o.length ? o[e2] : "";
3263
- let u = "";
3264
- if ("service" == r) u = l;
3265
- else if ("standard" === r) u = t.code + "." + l;
3263
+ let i2 = "";
3264
+ if ("service" == r) i2 = l;
3265
+ else if ("standard" === r) i2 = t.code + "." + l;
3266
3266
  else {
3267
- u = "custom" === getPagePermissionObjectBySimpleCode(l, t).type ? l : t.code + "." + l;
3267
+ i2 = "custom" === getPagePermissionObjectBySimpleCode(l, t).type ? l : t.code + "." + l;
3268
3268
  }
3269
- n.includes(u) || n.push(u);
3269
+ n.includes(i2) || n.push(i2);
3270
3270
  }
3271
3271
  }
3272
3272
  return n.join(",");
@@ -3282,7 +3282,7 @@
3282
3282
  const o = e.tableRuntimes, a = getAdditionalParamMap(t);
3283
3283
  let l;
3284
3284
  const r = e.code;
3285
- return a && Object.keys(a) > 0 && (l = JSON.stringify(a)), http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o, additionalParamMapJson: l, pageCode: r, publishVersion: n, pageType: e.pageType });
3285
+ return a && Object.keys(a) > 0 && (l = JSON.stringify(a)), agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o, additionalParamMapJson: l, pageCode: r, publishVersion: n, pageType: e.pageType });
3286
3286
  }
3287
3287
  const excludeList = ["button-detail", "print-label"];
3288
3288
  function packageFormRules(e, t, n) {
@@ -3336,12 +3336,12 @@
3336
3336
  null == t.configure.style && (t.configure.style = {});
3337
3337
  const n = getPermissionCodes(t.configure, t.pageContext);
3338
3338
  t.configure && t.configure.props && t.configure.props.base && (t.configure.props.base.functionCode = n);
3339
- const o = permission_js.checkPermission(n || "true", t.pageContext.systemCode), a = isHasFieldAuth(t.pageContext, t.configure), l = o && a;
3339
+ const o = agilebuilderUi.checkPermission(n || "true", t.pageContext.systemCode), a = isHasFieldAuth(t.pageContext, t.configure), l = o && a;
3340
3340
  t.configure && t.configure.props && t.configure.props.base && (t.configure.props.base.isHasFieldAuthPermission = l), packageFormRules(t.pageContext, t.configure, l);
3341
- let r = vue.ref(null), u = vue.ref(true), i2 = vue.ref("");
3341
+ let r = vue.ref(null), i2 = vue.ref(true), u = vue.ref("");
3342
3342
  if (t.configure && t.configure.props) {
3343
3343
  let e2 = [];
3344
- ((_a = t.configure.props.base) == null ? void 0 : _a.showConditions) && (e2 = "string" == typeof t.configure.props.base.showConditions ? JSON.parse(t.configure.props.base.showConditions) : t.configure.props.base.showConditions), u = vue.computed(() => {
3344
+ ((_a = t.configure.props.base) == null ? void 0 : _a.showConditions) && (e2 = "string" == typeof t.configure.props.base.showConditions ? JSON.parse(t.configure.props.base.showConditions) : t.configure.props.base.showConditions), i2 = vue.computed(() => {
3345
3345
  var _a2;
3346
3346
  let n2 = true;
3347
3347
  if (l) if (r.value && null !== r.value) n2 = "show" === r.value;
@@ -3354,7 +3354,7 @@
3354
3354
  else n2 = false;
3355
3355
  return n2;
3356
3356
  });
3357
- if (t.configure._dynamicShowFlag = u, (_b = t.configure.props.base) == null ? void 0 : _b.editConditions) {
3357
+ if (t.configure._dynamicShowFlag = i2, (_b = t.configure.props.base) == null ? void 0 : _b.editConditions) {
3358
3358
  const e3 = t.configure.props.base.editConditions;
3359
3359
  if (e3.length > 0) {
3360
3360
  const n2 = t.configure.runtime ? t.configure.runtime : {}, o2 = n2.props ? n2.props : {};
@@ -3364,11 +3364,11 @@
3364
3364
  let n3 = e4.prop;
3365
3365
  n3 = getFormPropName(n3);
3366
3366
  const o3 = t.pageContext.fieldPermissionMap.get(n3);
3367
- o3 && false === o3.canEdit && (i2.value = "disabled");
3367
+ o3 && false === o3.canEdit && (u.value = "disabled");
3368
3368
  }
3369
3369
  }
3370
3370
  o2.state = vue.computed({ get() {
3371
- if ("disabled" === i2.value) return i2.value;
3371
+ if ("disabled" === u.value) return u.value;
3372
3372
  return caculateShowCondition(t.pageContext, e3) ? "" : "disabled";
3373
3373
  }, set() {
3374
3374
  } });
@@ -3458,10 +3458,10 @@
3458
3458
  const o2 = t.configure.props ? t.configure.props : {}, a2 = t.configure.style ? t.configure.style : {}, l2 = o2.position;
3459
3459
  "top" == l2 || "bottom" == l2 || a2.position;
3460
3460
  };
3461
- return (e2, t2) => vue.unref(l) && vue.unref(isShowComponent)(e2.configure) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(s.value), { key: 0, ref: h, style: vue.normalizeStyle(d.value), class: vue.normalizeClass(f.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[vue.vShow, vue.unref(u)]]) : vue.createCommentVNode("", true);
3461
+ return (e2, t2) => vue.unref(l) && vue.unref(isShowComponent)(e2.configure) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(s.value), { key: 0, ref: h, style: vue.normalizeStyle(d.value), class: vue.normalizeClass(f.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[vue.vShow, vue.unref(i2)]]) : vue.createCommentVNode("", true);
3462
3462
  } }), prefix = "${", suffix = "}", _sfc_main$17 = vue.defineComponent({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["export", "close"], setup(e, { emit: t }) {
3463
3463
  var _a, _b;
3464
- const n = e, o = vue.ref(false), a = t, l = vue.ref([]), r = vue.ref([]), u = (_a = n.configure.props) == null ? void 0 : _a.base, i2 = (_b = n.pageContext) == null ? void 0 : _b.entity.data;
3464
+ const n = e, o = vue.ref(false), a = t, l = vue.ref([]), r = vue.ref([]), i2 = (_a = n.configure.props) == null ? void 0 : _a.base, u = (_b = n.pageContext) == null ? void 0 : _b.entity.data;
3465
3465
  function s(e2) {
3466
3466
  let t2, n2, o2 = e2;
3467
3467
  const a2 = o2.indexOf(prefix), l2 = o2.indexOf(suffix);
@@ -3474,31 +3474,31 @@
3474
3474
  a("close");
3475
3475
  }
3476
3476
  return vue.onMounted(() => {
3477
- u.templateFiles && u.templateFiles.length > 0 ? l.value = packageTemplateFiles(u.templateFiles, n.pageContext, n.configure) : u.templateUuid && u.templateName && l.value.push({ templateUuid: u.templateUuid, templateName: u.templateName }), l.value.forEach((e2) => {
3477
+ i2.templateFiles && i2.templateFiles.length > 0 ? l.value = packageTemplateFiles(i2.templateFiles, n.pageContext, n.configure) : i2.templateUuid && i2.templateName && l.value.push({ templateUuid: i2.templateUuid, templateName: i2.templateName }), l.value.forEach((e2) => {
3478
3478
  e2 && e2.templateName && (e2.templateName = function(e3) {
3479
3479
  const t2 = s(e3);
3480
3480
  return t2.forEach((t3) => {
3481
3481
  const n2 = prefix + t3 + suffix;
3482
3482
  let o2;
3483
- -1 !== e3.indexOf(n2) && Object.prototype.hasOwnProperty.call(i2, t3) && (o2 = i2[t3] ? i2[t3] : "", e3 = e3.replace(n2, o2));
3483
+ -1 !== e3.indexOf(n2) && Object.prototype.hasOwnProperty.call(u, t3) && (o2 = u[t3] ? u[t3] : "", e3 = e3.replace(n2, o2));
3484
3484
  }), e3;
3485
3485
  }(e2.templateName));
3486
3486
  }), l.value && 0 !== l.value.length || (elementPlus.ElMessage({ message: "无符合条件可导出的模板!", type: "warning" }), a("close")), 1 === (l == null ? void 0 : l.value.length) ? (c(l.value[0]), a("close")) : o.value = true;
3487
3487
  }), (e2, t2) => {
3488
- const a2 = vue.resolveComponent("el-table-column"), r2 = vue.resolveComponent("el-button"), u2 = vue.resolveComponent("el-table"), i3 = vue.resolveComponent("el-dialog");
3489
- return vue.openBlock(), vue.createBlock(i3, { modelValue: o.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o.value = e3), "show-close": true, "append-to-body": true, title: e2.$t("superPageRuntimeMessage.selectTemplate"), onClose: p }, { default: vue.withCtx(() => [vue.createVNode(u2, { data: l.value, style: { width: "100%" } }, { default: vue.withCtx(() => [vue.createVNode(a2, { label: e2.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: vue.withCtx((e3) => [vue.createTextVNode(vue.toDisplayString(e3.row.templateName), 1)]), _: 1 }, 8, ["label"]), vue.createVNode(a2, { label: e2.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: vue.withCtx((t3) => [vue.createVNode(r2, { type: "text", size: "small", onClick: (e3) => c(t3.row), loading: void 0 !== n.pageContext.canClick && void 0 !== n.pageContext.clickUuid && !n.pageContext.canClick && n.pageContext.clickUuid === n.configure.uuid }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
3488
+ const a2 = vue.resolveComponent("el-table-column"), r2 = vue.resolveComponent("el-button"), i3 = vue.resolveComponent("el-table"), u2 = vue.resolveComponent("el-dialog");
3489
+ return vue.openBlock(), vue.createBlock(u2, { modelValue: o.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o.value = e3), "show-close": true, "append-to-body": true, title: e2.$t("superPageRuntimeMessage.selectTemplate"), onClose: p }, { default: vue.withCtx(() => [vue.createVNode(i3, { data: l.value, style: { width: "100%" } }, { default: vue.withCtx(() => [vue.createVNode(a2, { label: e2.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: vue.withCtx((e3) => [vue.createTextVNode(vue.toDisplayString(e3.row.templateName), 1)]), _: 1 }, 8, ["label"]), vue.createVNode(a2, { label: e2.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: vue.withCtx((t3) => [vue.createVNode(r2, { type: "text", size: "small", onClick: (e3) => c(t3.row), loading: void 0 !== n.pageContext.canClick && void 0 !== n.pageContext.clickUuid && !n.pageContext.canClick && n.pageContext.clickUuid === n.configure.uuid }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
3490
3490
  };
3491
3491
  } }), _hoisted_1$r = { class: "dialog-footer" }, _sfc_main$16 = vue.defineComponent({ __name: "task-informition-dialog", props: { taskInformitions: { type: Array, default: null } }, emits: ["open", "opend", "close", "closed", "result"], setup(e, { emit: t }) {
3492
3492
  const { t: n } = vueI18n.useI18n(), o = e, a = t, l = vue.ref(null), r = vue.ref();
3493
- function u() {
3493
+ function i2() {
3494
3494
  l.value ? a("result", l.value) : elementPlus.ElMessage({ showClose: true, type: "warning", message: n("superPageRuntimeMessage.pleaseSelectNode") });
3495
3495
  }
3496
- function i2(e2) {
3496
+ function u(e2) {
3497
3497
  l.value = o.taskInformitions[e2];
3498
3498
  }
3499
3499
  return (t2, n2) => {
3500
3500
  const o2 = vue.resolveComponent("el-radio"), l2 = vue.resolveComponent("el-table-column"), s = vue.resolveComponent("el-table"), c = vue.resolveComponent("el-button"), p = vue.resolveComponent("el-dialog");
3501
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(p, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectNode"), "close-on-click-modal": false, "append-to-body": "", width: "50%", "max-height": "400", onOpen: n2[2] || (n2[2] = (e2) => a("open")), onOpend: n2[3] || (n2[3] = (e2) => a("opend")), onClose: n2[4] || (n2[4] = (e2) => a("close")), onClosed: n2[5] || (n2[5] = (e2) => a("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$r, [vue.createVNode(c, { type: "primary", onClick: u }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), vue.createVNode(c, { type: "default", onClick: n2[1] || (n2[1] = (e2) => a("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [vue.createVNode(s, { data: e.taskInformitions, border: "", style: { width: "100%" } }, { default: vue.withCtx(() => [vue.createVNode(l2, { fixed: "", width: "60" }, { default: vue.withCtx((e2) => [vue.createVNode(o2, { modelValue: r.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => r.value = e3), label: e2.$index, onChange: i2 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label"])]), _: 1 }), vue.createVNode(l2, { prop: "nodeName", label: t2.$t("superPageRuntimeMessage.nodeName"), width: "180" }, null, 8, ["label"]), vue.createVNode(l2, { prop: "transactorNames", label: t2.$t("superPageRuntimeMessage.transactorNames") }, null, 8, ["label"]), vue.createVNode(l2, { prop: "nodeId", label: t2.$t("superPageRuntimeMessage.nodeId"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
3501
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(p, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectNode"), "close-on-click-modal": false, "append-to-body": "", width: "50%", "max-height": "400", onOpen: n2[2] || (n2[2] = (e2) => a("open")), onOpend: n2[3] || (n2[3] = (e2) => a("opend")), onClose: n2[4] || (n2[4] = (e2) => a("close")), onClosed: n2[5] || (n2[5] = (e2) => a("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$r, [vue.createVNode(c, { type: "primary", onClick: i2 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), vue.createVNode(c, { type: "default", onClick: n2[1] || (n2[1] = (e2) => a("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [vue.createVNode(s, { data: e.taskInformitions, border: "", style: { width: "100%" } }, { default: vue.withCtx(() => [vue.createVNode(l2, { fixed: "", width: "60" }, { default: vue.withCtx((e2) => [vue.createVNode(o2, { modelValue: r.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => r.value = e3), label: e2.$index, onChange: u }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$index + 1), 1)]), _: 2 }, 1032, ["modelValue", "label"])]), _: 1 }), vue.createVNode(l2, { prop: "nodeName", label: t2.$t("superPageRuntimeMessage.nodeName"), width: "180" }, null, 8, ["label"]), vue.createVNode(l2, { prop: "transactorNames", label: t2.$t("superPageRuntimeMessage.transactorNames") }, null, 8, ["label"]), vue.createVNode(l2, { prop: "nodeId", label: t2.$t("superPageRuntimeMessage.nodeId"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
3502
3502
  };
3503
3503
  } }), _sfc_main$15 = vue.defineComponent({ __name: "remove-signer-table", props: { taskId: { type: Number, default: null }, activeTasks: { type: Array, default: null } }, setup(e, { expose: t }) {
3504
3504
  const { t: n } = vueI18n.useI18n(), o = e, a = vue.ref([]), l = vue.ref([]);
@@ -3522,25 +3522,25 @@
3522
3522
  a.value = l.value.getSelections(), 0 !== a.value.length ? o("result", a.value) : elementPlus.ElMessage({ showClose: true, type: "warning", message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers") });
3523
3523
  }
3524
3524
  return (t2, n2) => {
3525
- const a2 = vue.resolveComponent("el-button"), u = vue.resolveComponent("el-dialog");
3526
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(u, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectRemoveUsers"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: n2[1] || (n2[1] = (e2) => o("open")), onOpend: n2[2] || (n2[2] = (e2) => o("opend")), onClose: n2[3] || (n2[3] = (e2) => o("close")), onClosed: n2[4] || (n2[4] = (e2) => o("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$q, [vue.createVNode(a2, { type: "primary", onClick: r }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), vue.createVNode(a2, { type: "default", onClick: n2[0] || (n2[0] = (e2) => t2.$emit("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [vue.createVNode(_sfc_main$15, { ref_key: "removeTableRef", ref: l, taskId: e.taskId, activeTasks: e.activeTasks }, null, 8, ["taskId", "activeTasks"])]), _: 1 }, 8, ["title"])]);
3525
+ const a2 = vue.resolveComponent("el-button"), i2 = vue.resolveComponent("el-dialog");
3526
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(i2, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectRemoveUsers"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: n2[1] || (n2[1] = (e2) => o("open")), onOpend: n2[2] || (n2[2] = (e2) => o("opend")), onClose: n2[3] || (n2[3] = (e2) => o("close")), onClosed: n2[4] || (n2[4] = (e2) => o("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$q, [vue.createVNode(a2, { type: "primary", onClick: r }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), vue.createVNode(a2, { type: "default", onClick: n2[0] || (n2[0] = (e2) => t2.$emit("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [vue.createVNode(_sfc_main$15, { ref_key: "removeTableRef", ref: l, taskId: e.taskId, activeTasks: e.activeTasks }, null, 8, ["taskId", "activeTasks"])]), _: 1 }, 8, ["title"])]);
3527
3527
  };
3528
3528
  } }), _hoisted_1$p = { key: 0 }, _hoisted_2$d = { style: { color: "red" } }, _hoisted_3$8 = { key: 1 }, _hoisted_4$6 = { style: { color: "red" } }, _hoisted_5$4 = { key: 2 }, _hoisted_6$2 = { style: { color: "red" } }, _hoisted_7 = { key: 3 }, _hoisted_8 = { class: "dialog-footer" }, _sfc_main$13 = vue.defineComponent({ __name: "remove-transactor-dialog", props: { taskId: { type: Number, default: null }, transactorInfo: { type: Array, default: null } }, emits: ["open", "opend", "close", "closed", "result"], setup(e, { emit: t }) {
3529
3529
  var _a, _b;
3530
- const { t: n } = vueI18n.useI18n(), o = e, a = t, l = vue.ref([]), r = vue.ref(null), u = vue.ref([]);
3531
- function i2() {
3530
+ const { t: n } = vueI18n.useI18n(), o = e, a = t, l = vue.ref([]), r = vue.ref(null), i2 = vue.ref([]);
3531
+ function u() {
3532
3532
  l.value = r.value.getSelections(), 0 !== l.value.length ? a("result", l.value) : elementPlus.ElMessage({ showClose: true, type: "warning", message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverTransactors") });
3533
3533
  }
3534
- return u.value = ((_a = o.transactorInfo) == null ? void 0 : _a.removeTransactors) ? (_b = o.transactorInfo) == null ? void 0 : _b.removeTransactors : [], (t2, n2) => {
3534
+ return i2.value = ((_a = o.transactorInfo) == null ? void 0 : _a.removeTransactors) ? (_b = o.transactorInfo) == null ? void 0 : _b.removeTransactors : [], (t2, n2) => {
3535
3535
  const o2 = vue.resolveComponent("el-button"), l2 = vue.resolveComponent("el-dialog");
3536
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(l2, { "model-value": "", title: t2.$t("superPageRuntimeMessage.delTransactor"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: n2[1] || (n2[1] = (e2) => a("open")), onOpend: n2[2] || (n2[2] = (e2) => a("opend")), onClose: n2[3] || (n2[3] = (e2) => a("close")), onClosed: n2[4] || (n2[4] = (e2) => a("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_8, [e.transactorInfo.transactorNumber > 1 ? (vue.openBlock(), vue.createBlock(o2, { key: 0, type: "primary", onClick: i2 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 })) : vue.createCommentVNode("", true), vue.createVNode(o2, { type: "default", onClick: n2[0] || (n2[0] = (e2) => t2.$emit("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [e.transactorInfo.hasActiveSubProcess ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [vue.createElementVNode("span", _hoisted_2$d, vue.toDisplayString(t2.$t("superPageRuntimeMessage.taskMeaage1")), 1)])) : vue.createCommentVNode("", true), 0 === e.transactorInfo.transactorNumber ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [vue.createElementVNode("span", _hoisted_4$6, vue.toDisplayString(t2.$t("superPageRuntimeMessage.taskMeaage2")), 1)])) : vue.createCommentVNode("", true), 1 === e.transactorInfo.transactorNumber ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [vue.createElementVNode("span", _hoisted_6$2, vue.toDisplayString(t2.$t("superPageRuntimeMessage.taskMeaage3")), 1), vue.createElementVNode("span", null, vue.toDisplayString(t2.$t("superPageRuntimeMessage.handledBy")) + ":" + vue.toDisplayString(e.transactorInfo.transactorName), 1)])) : vue.createCommentVNode("", true), e.transactorInfo.transactorNumber > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [vue.createVNode(_sfc_main$15, { ref_key: "removeTableRef", ref: r, taskId: e.taskId, activeTasks: u.value }, null, 8, ["taskId", "activeTasks"])])) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["title"])]);
3536
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(l2, { "model-value": "", title: t2.$t("superPageRuntimeMessage.delTransactor"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: n2[1] || (n2[1] = (e2) => a("open")), onOpend: n2[2] || (n2[2] = (e2) => a("opend")), onClose: n2[3] || (n2[3] = (e2) => a("close")), onClosed: n2[4] || (n2[4] = (e2) => a("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_8, [e.transactorInfo.transactorNumber > 1 ? (vue.openBlock(), vue.createBlock(o2, { key: 0, type: "primary", onClick: u }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 })) : vue.createCommentVNode("", true), vue.createVNode(o2, { type: "default", onClick: n2[0] || (n2[0] = (e2) => t2.$emit("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [e.transactorInfo.hasActiveSubProcess ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [vue.createElementVNode("span", _hoisted_2$d, vue.toDisplayString(t2.$t("superPageRuntimeMessage.taskMeaage1")), 1)])) : vue.createCommentVNode("", true), 0 === e.transactorInfo.transactorNumber ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [vue.createElementVNode("span", _hoisted_4$6, vue.toDisplayString(t2.$t("superPageRuntimeMessage.taskMeaage2")), 1)])) : vue.createCommentVNode("", true), 1 === e.transactorInfo.transactorNumber ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [vue.createElementVNode("span", _hoisted_6$2, vue.toDisplayString(t2.$t("superPageRuntimeMessage.taskMeaage3")), 1), vue.createElementVNode("span", null, vue.toDisplayString(t2.$t("superPageRuntimeMessage.handledBy")) + ":" + vue.toDisplayString(e.transactorInfo.transactorName), 1)])) : vue.createCommentVNode("", true), e.transactorInfo.transactorNumber > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [vue.createVNode(_sfc_main$15, { ref_key: "removeTableRef", ref: r, taskId: e.taskId, activeTasks: i2.value }, null, 8, ["taskId", "activeTasks"])])) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["title"])]);
3537
3537
  };
3538
3538
  } });
3539
3539
  functions.standardEvents = standardEvents, window.$PageUtil = functions, window.$message = elementPlus.ElMessage, window.$messageBox = elementPlus.ElMessageBox;
3540
3540
  const _hoisted_1$o = ["src"], _hoisted_2$c = { key: 1, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, _sfc_main$12 = vue.defineComponent({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e, { emit: t }) {
3541
- const n = e, o = t, a = vue.ref(true), l = n.jumpPageSetting ? n.jumpPageSetting : null, r = vue.ref(null), u = vue.ref(null), i2 = vue.ref(null), s = vue.ref(null), c = vue.ref(null), p = vue.ref(null), d = vue.ref({}), f = vue.ref(false), m = vue.ref(false), v = vue.ref("rtl"), g = vue.ref(null), h = vue.ref(false), C = vue.ref(null), y = vue.ref(true), b = vue.ref(false);
3541
+ const n = e, o = t, a = vue.ref(true), l = n.jumpPageSetting ? n.jumpPageSetting : null, r = vue.ref(null), i2 = vue.ref(null), u = vue.ref(null), s = vue.ref(null), c = vue.ref(null), p = vue.ref(null), d = vue.ref({}), f = vue.ref(false), m = vue.ref(false), v = vue.ref("rtl"), g = vue.ref(null), h = vue.ref(false), C = vue.ref(null), y = vue.ref(true), b = vue.ref(false);
3542
3542
  if (l) {
3543
- y.value = (l == null ? void 0 : l.alignCenter) ?? true, b.value = (l == null ? void 0 : l.fullscreen) ?? false, h.value = !(!l || void 0 === l._isIframe) && l._isIframe, C.value = l && l._path ? l._path : null, p.value = l && l.dialogType ? l.dialogType : "dialog", f.value = !(!l || !l.draggable) && l.draggable, m.value = !(!l || !l.overflow) && l.overflow, v.value = l && l.showPosition ? l.showPosition : "rtl", u.value = l && l.jumpPageTitle ? l.jumpPageTitle : null, r.value = l && l.jumpPageWidth ? l.jumpPageWidth : "dialog" === p.value ? "calc(100% - 30px)" : "100%", g.value = l && l.jumpPageHeight ? l.jumpPageHeight : null, i2.value = l && l.pageCode, s.value = l && l.dataId ? l.dataId : null, c.value = l && l.taskId ? l.taskId : null;
3543
+ y.value = (l == null ? void 0 : l.alignCenter) ?? true, b.value = (l == null ? void 0 : l.fullscreen) ?? false, h.value = !(!l || void 0 === l._isIframe) && l._isIframe, C.value = l && l._path ? l._path : null, p.value = l && l.dialogType ? l.dialogType : "dialog", f.value = !(!l || !l.draggable) && l.draggable, m.value = !(!l || !l.overflow) && l.overflow, v.value = l && l.showPosition ? l.showPosition : "rtl", i2.value = l && l.jumpPageTitle ? l.jumpPageTitle : null, r.value = l && l.jumpPageWidth ? l.jumpPageWidth : "dialog" === p.value ? "calc(100% - 30px)" : "100%", g.value = l && l.jumpPageHeight ? l.jumpPageHeight : null, u.value = l && l.pageCode, s.value = l && l.dataId ? l.dataId : null, c.value = l && l.taskId ? l.taskId : null;
3544
3544
  const e2 = !!l.isNeedId;
3545
3545
  if (n.parentPageEventParams) {
3546
3546
  try {
@@ -3555,19 +3555,19 @@
3555
3555
  }
3556
3556
  return (e2, t2) => {
3557
3557
  const n2 = vue.resolveComponent("el-drawer"), l2 = vue.resolveComponent("el-dialog");
3558
- return p.value && "drawer" === p.value ? (vue.openBlock(), vue.createBlock(n2, { key: 0, modelValue: a.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => a.value = e3), title: u.value, direction: v.value, size: r.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: t2[1] || (t2[1] = (e3) => o("open")), onOpened: t2[2] || (t2[2] = (e3) => o("opened")), onClose: t2[3] || (t2[3] = (e3) => o("close")), onClosed: t2[4] || (t2[4] = (e3) => o("closed")) }, { default: vue.withCtx(() => [!h.value && i2.value ? (vue.openBlock(), vue.createBlock(SuperPageNew, { key: 0, pageCode: i2.value, pageRequest: d.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : h.value ? (vue.openBlock(), vue.createElementBlock("iframe", { key: 1, src: C.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, _hoisted_1$o)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (vue.openBlock(), vue.createBlock(l2, { key: 1, "model-value": "", title: u.value, "close-on-click-modal": false, "append-to-body": "", width: r.value, fullscreen: b.value, alignCenter: y.value, draggable: f.value, overflow: m.value, class: "amb-super-page-runtime-dialog-view", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (e3) => o("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: vue.withCtx(() => [!h.value && i2.value ? (vue.openBlock(), vue.createBlock(SuperPageNew, { key: 0, style: { "min-height": "100px" }, pageCode: i2.value, pageRequest: d.value, contentHeight: g.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : h.value ? (vue.openBlock(), vue.createElementBlock("iframe", _hoisted_2$c)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
3558
+ return p.value && "drawer" === p.value ? (vue.openBlock(), vue.createBlock(n2, { key: 0, modelValue: a.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => a.value = e3), title: i2.value, direction: v.value, size: r.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: t2[1] || (t2[1] = (e3) => o("open")), onOpened: t2[2] || (t2[2] = (e3) => o("opened")), onClose: t2[3] || (t2[3] = (e3) => o("close")), onClosed: t2[4] || (t2[4] = (e3) => o("closed")) }, { default: vue.withCtx(() => [!h.value && u.value ? (vue.openBlock(), vue.createBlock(SuperPageNew, { key: 0, pageCode: u.value, pageRequest: d.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : h.value ? (vue.openBlock(), vue.createElementBlock("iframe", { key: 1, src: C.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, _hoisted_1$o)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (vue.openBlock(), vue.createBlock(l2, { key: 1, "model-value": "", title: i2.value, "close-on-click-modal": false, "append-to-body": "", width: r.value, fullscreen: b.value, alignCenter: y.value, draggable: f.value, overflow: m.value, class: "amb-super-page-runtime-dialog-view", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (e3) => o("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: vue.withCtx(() => [!h.value && u.value ? (vue.openBlock(), vue.createBlock(SuperPageNew, { key: 0, style: { "min-height": "100px" }, pageCode: u.value, pageRequest: d.value, contentHeight: g.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : h.value ? (vue.openBlock(), vue.createElementBlock("iframe", _hoisted_2$c)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
3559
3559
  };
3560
3560
  } }), _hoisted_1$n = { class: "dialog-footer" }, _sfc_main$11 = vue.defineComponent({ __name: "save-chart-condition-dialog", props: { pageContext: { type: Object, default: null } }, emits: ["open", "opend", "close", "closed", "save", "confirm"], setup(e, { expose: t, emit: n }) {
3561
- const { t: o } = vueI18n.useI18n(), a = e, l = n, r = vue.ref([]), u = vue.ref(null), i2 = vue.ref([]);
3561
+ const { t: o } = vueI18n.useI18n(), a = e, l = n, r = vue.ref([]), i2 = vue.ref(null), u = vue.ref([]);
3562
3562
  function s() {
3563
- l("save", u.value);
3563
+ l("save", i2.value);
3564
3564
  }
3565
3565
  function c() {
3566
3566
  0 === r.value.length || r.value.length > 1 ? elementPlus.ElMessage({ showClose: true, type: "warning", message: o("superPageRuntimeMessage.pleaseSelectCondition") }) : l("confirm", r.value[0]);
3567
3567
  }
3568
3568
  function p() {
3569
3569
  listChartConditions(a.pageContext).then((e2) => {
3570
- i2.value = e2;
3570
+ u.value = e2;
3571
3571
  });
3572
3572
  }
3573
3573
  function d(e2) {
@@ -3577,7 +3577,7 @@
3577
3577
  p();
3578
3578
  }), t({ refreshConditionList: p }), (e2, t2) => {
3579
3579
  const n2 = vue.resolveComponent("el-input"), a2 = vue.resolveComponent("el-col"), r2 = vue.resolveComponent("el-button"), f = vue.resolveComponent("el-row"), m = vue.resolveComponent("el-table-column"), v = vue.resolveComponent("Delete"), g = vue.resolveComponent("el-icon"), h = vue.resolveComponent("el-table"), C = vue.resolveComponent("el-dialog");
3580
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(C, { "model-value": "", title: e2.$t("superPageRuntimeMessage.saveCondition"), "close-on-click-modal": false, "append-to-body": "", width: "40%", "max-height": "400", onOpen: t2[2] || (t2[2] = (e3) => l("open")), onOpend: t2[3] || (t2[3] = (e3) => l("opend")), onClose: t2[4] || (t2[4] = (e3) => l("close")), onClosed: t2[5] || (t2[5] = (e3) => l("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$n, [vue.createVNode(r2, { type: "primary", onClick: c }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), vue.createVNode(r2, { type: "default", onClick: t2[1] || (t2[1] = (e3) => l("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [vue.createVNode(f, { style: { "padding-bottom": "10px" }, gutter: 10 }, { default: vue.withCtx(() => [vue.createVNode(a2, { span: 18 }, { default: vue.withCtx(() => [vue.createVNode(n2, { modelValue: u.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => u.value = e3), placeholder: e2.$t("superPageRuntimeMessage.pleaseInputConditionName") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }), vue.createVNode(a2, { span: 6 }, { default: vue.withCtx(() => [vue.createVNode(r2, { type: "primary", onClick: s }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.save")), 1)]), _: 1 })]), _: 1 })]), _: 1 }), vue.createVNode(h, { data: i2.value, border: "", style: { width: "100%" }, onSelect: d }, { default: vue.withCtx(() => [vue.createVNode(m, { type: "selection", align: "center", width: "55" }), vue.createVNode(m, { prop: "name", label: e2.$t("superPageRuntimeMessage.conditionName") }, null, 8, ["label"]), vue.createVNode(m, { label: e2.$t("superPageRuntimeMessage.operating"), width: "60" }, { default: vue.withCtx((e3) => [vue.createVNode(g, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (t3) => {
3580
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(C, { "model-value": "", title: e2.$t("superPageRuntimeMessage.saveCondition"), "close-on-click-modal": false, "append-to-body": "", width: "40%", "max-height": "400", onOpen: t2[2] || (t2[2] = (e3) => l("open")), onOpend: t2[3] || (t2[3] = (e3) => l("opend")), onClose: t2[4] || (t2[4] = (e3) => l("close")), onClosed: t2[5] || (t2[5] = (e3) => l("closed")) }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$n, [vue.createVNode(r2, { type: "primary", onClick: c }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), vue.createVNode(r2, { type: "default", onClick: t2[1] || (t2[1] = (e3) => l("close")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: vue.withCtx(() => [vue.createVNode(f, { style: { "padding-bottom": "10px" }, gutter: 10 }, { default: vue.withCtx(() => [vue.createVNode(a2, { span: 18 }, { default: vue.withCtx(() => [vue.createVNode(n2, { modelValue: i2.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.value = e3), placeholder: e2.$t("superPageRuntimeMessage.pleaseInputConditionName") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }), vue.createVNode(a2, { span: 6 }, { default: vue.withCtx(() => [vue.createVNode(r2, { type: "primary", onClick: s }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.$t("superPageRuntimeMessage.save")), 1)]), _: 1 })]), _: 1 })]), _: 1 }), vue.createVNode(h, { data: u.value, border: "", style: { width: "100%" }, onSelect: d }, { default: vue.withCtx(() => [vue.createVNode(m, { type: "selection", align: "center", width: "55" }), vue.createVNode(m, { prop: "name", label: e2.$t("superPageRuntimeMessage.conditionName") }, null, 8, ["label"]), vue.createVNode(m, { label: e2.$t("superPageRuntimeMessage.operating"), width: "60" }, { default: vue.withCtx((e3) => [vue.createVNode(g, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (t3) => {
3581
3581
  deleteChartCondition(e3.row.id).then(() => {
3582
3582
  elementPlus.ElMessage({ showClose: true, type: "success", message: o("superPageRuntimeMessage.successfulDelete") }), p();
3583
3583
  });
@@ -3590,7 +3590,7 @@
3590
3590
  return o;
3591
3591
  }
3592
3592
  function setPageToChatStore(e, t) {
3593
- e && (chatAiUtil_ts.setActiveMenuToChatAiStore({ menuCode: t.menuCode, menuName: t.label }), chatAiUtil_ts.setPageInfoToChatStore(t, { instance: e, exposeProxy: e.exposeProxy, pageType: t.pageType }));
3593
+ e && (agilebuilderUi.setActiveMenuToChatAiStore({ menuCode: t.menuCode, menuName: t.label }), agilebuilderUi.setPageInfoToChatStore(t, { instance: e, exposeProxy: e.exposeProxy, pageType: t.pageType }));
3594
3594
  }
3595
3595
  const AIChatUtil = { getFormFormatDataUtil, setPageToChatStore }, _hoisted_1$m = { style: { "background-color": "#ffffff" } }, _hoisted_2$b = { class: "opinion-box-table-wrapper" }, _hoisted_3$7 = { class: "opinion-table" }, _hoisted_4$5 = { class: "opinion-label" }, _hoisted_5$3 = { key: 0, class: "required-star" }, _sfc_main$10 = vue.defineComponent({ __name: "workflow-opinion-box", props: { pageContext: {} }, setup(e) {
3596
3596
  const t = vue.ref(""), n = e, o = vue.ref(), a = vue.ref("");
@@ -3604,8 +3604,8 @@
3604
3604
  })) : a.value = "";
3605
3605
  }, { immediate: true }), (e2, l) => {
3606
3606
  var _a;
3607
- const r = vue.resolveComponent("el-input"), u = vue.resolveComponent("el-affix");
3608
- return ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (vue.openBlock(), vue.createBlock(u, { key: 0, target: ".app-container", position: "bottom", offset: 35 }, { default: vue.withCtx(() => {
3607
+ const r = vue.resolveComponent("el-input"), i2 = vue.resolveComponent("el-affix");
3608
+ return ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (vue.openBlock(), vue.createBlock(i2, { key: 0, target: ".app-container", position: "bottom", offset: 35 }, { default: vue.withCtx(() => {
3609
3609
  var _a2;
3610
3610
  return [vue.createElementVNode("div", _hoisted_1$m, [vue.createElementVNode("div", _hoisted_2$b, [vue.createElementVNode("table", _hoisted_3$7, [vue.createElementVNode("tbody", null, [vue.createElementVNode("tr", null, [vue.createElementVNode("td", _hoisted_4$5, [((_a2 = e2.pageContext.workflowOpinion) == null ? void 0 : _a2.isRequired) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$3, "*")) : vue.createCommentVNode("", true), l[2] || (l[2] = vue.createTextVNode(" 处理意见 ", -1))]), vue.createElementVNode("td", { class: vue.normalizeClass(["opinion-input-cell", a.value]) }, [vue.createVNode(r, { ref_key: "opinionInputRef", ref: o, modelValue: t.value, "onUpdate:modelValue": l[0] || (l[0] = (e3) => t.value = e3), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "请输入处理意见", onChange: l[1] || (l[1] = (e3) => {
3611
3611
  n.pageContext.workflowOpinion && (n.pageContext.workflowOpinion.opinion = t.value.trim(), n.pageContext.workflowOpinion.focusOpinionInput = false);
@@ -3630,9 +3630,9 @@
3630
3630
  }
3631
3631
  } }), (e2, t2) => (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(n.value), vue.mergeProps(o.value, { onDestroy: a }), null, 16));
3632
3632
  } }), _sfc_main$Z = vue.defineComponent({ __name: "super-page", props: { pageCode: { type: String, required: false }, pageVersion: { type: Number, required: false }, pageId: { type: Number, required: false }, dataId: { type: Number, required: false }, pageDesign: { type: Object, required: false }, isTest: { type: Boolean, required: false }, dimensions: { type: String, required: false }, publishVersion: { type: Number, required: false }, taskId: { type: Number, required: false }, pageRequest: { type: Object, required: false }, contentHeight: { type: [String, Number], default: null }, isDialog: { type: Boolean, required: false }, isPreview: { type: Boolean, required: false } }, emits: ["open", "opened", "close", "closed"], setup(e, { expose: t, emit: n }) {
3633
- const o = usePageContextStore(), { t: a } = vueI18n.useI18n(), l = e, r = vue.ref(false), u = vue.ref(""), i2 = { list: "list-page-container", form: "form-page-container" }, s = vue.ref(null), c = vue.ref([]), p = vue.ref(""), d = vue.ref({}), f = vue.ref(null), m = vue.ref(null), v = vue.ref(false), g = vue.ref(false), h = vue.ref(false), C = vue.ref(false), y = vue.ref(false), b = vue.ref(false), k = vue.ref(null), x = vue.ref(false), w = vue.ref([]), T = vue.ref([]), S = vue.ref([]), _ = vue.ref(false), E = vue.ref(false), V = vue.ref(null), P = vue.ref(false), R = vue.ref(false), N = vue.ref(null), I = vue.ref(null), B = vue.ref(null), A = vue.ref(null);
3633
+ const o = usePageContextStore(), { t: a } = vueI18n.useI18n(), l = e, r = vue.ref(false), i2 = vue.ref(""), u = { list: "list-page-container", form: "form-page-container" }, s = vue.ref(null), c = vue.ref([]), p = vue.ref(""), d = vue.ref({}), f = vue.ref(null), m = vue.ref(null), v = vue.ref(false), g = vue.ref(false), h = vue.ref(false), C = vue.ref(false), y = vue.ref(false), b = vue.ref(false), k = vue.ref(null), x = vue.ref(false), w = vue.ref([]), T = vue.ref([]), S = vue.ref([]), _ = vue.ref(false), E = vue.ref(false), V = vue.ref(null), P = vue.ref(false), R = vue.ref(false), N = vue.ref(null), I = vue.ref(null), B = vue.ref(null), A = vue.ref(null);
3634
3634
  let F = vue.ref(null);
3635
- const O = vue.ref(null), D = vue.ref(null), M = vueRouter.useRoute(), $ = vue.ref(0), U = commonUtil.isMobileBrowser();
3635
+ const O = vue.ref(null), D = vue.ref(null), M = vueRouter.useRoute(), U = vue.ref(0), $ = agilebuilderUi.isMobileBrowser();
3636
3636
  let j, W;
3637
3637
  const L = vue.ref(false), z = vue.ref(null), q = vue.ref(false), H = vue.ref(null);
3638
3638
  function Y(e2) {
@@ -3643,7 +3643,7 @@
3643
3643
  var _a;
3644
3644
  const t2 = Y(e2);
3645
3645
  if (F.value = t2, null == F.value) return;
3646
- F.value.isDialog = true === l.isDialog, u.value = i2[F.value.pageType] ?? "", j = setTimeout(() => {
3646
+ F.value.isDialog = true === l.isDialog, i2.value = u[F.value.pageType] ?? "", j = setTimeout(() => {
3647
3647
  !function(e3, t3) {
3648
3648
  if (!t3 || 0 == t3.length) return;
3649
3649
  const n3 = t3.filter((e4) => "remote" != e4.filterType);
@@ -3705,14 +3705,14 @@
3705
3705
  false !== n5.isNewPage && true !== n5.isNewPage && (n5.isNewPage = true);
3706
3706
  const e5 = getAdditionalParamMap(F), a3 = !!((_a2 = B.value.props.linkPage) == null ? void 0 : _a2.isNeedId);
3707
3707
  B.value;
3708
- let l2 = a3 && t4 ? t4.id : null, r3 = a3 && t4 ? t4.ids : null, u2 = t4 ? t4.selections : [], i3 = t4 ? t4.row : null;
3709
- if (!i3) if (i3 = {}, u2 && u2.length > 0) i3 = u2[0];
3708
+ let l2 = a3 && t4 ? t4.id : null, r3 = a3 && t4 ? t4.ids : null, i3 = t4 ? t4.selections : [], u2 = t4 ? t4.row : null;
3709
+ if (!u2) if (u2 = {}, i3 && i3.length > 0) u2 = i3[0];
3710
3710
  else {
3711
3711
  const e6 = I.value.entity.data, t5 = I.value.entity.page;
3712
- t5 && Object.assign(i3, t5), e6 && Object.assign(i3, e6);
3712
+ t5 && Object.assign(u2, t5), e6 && Object.assign(u2, e6);
3713
3713
  }
3714
3714
  const s2 = deepCopy(I.value.entity.page);
3715
- n5._pageData = s2, jumpPageUtils.jumpToPage(n5, null, l2, i3, e5, r3).then((e6) => {
3715
+ n5._pageData = s2, agilebuilderUi.jumpToPage(n5, null, l2, u2, e5, r3).then((e6) => {
3716
3716
  e6.isNeedId = a3, o3(e6);
3717
3717
  });
3718
3718
  } else o3(false);
@@ -3722,17 +3722,17 @@
3722
3722
  if (e4) {
3723
3723
  let n4 = {};
3724
3724
  const o3 = t3 && t3.props && t3.props.linkPage ? t3.props.linkPage : null;
3725
- o3 && Object.assign(n4, deepCopy(o3)), Object.assign(n4, e4), refreshMobileDialogType(n4, U);
3725
+ o3 && Object.assign(n4, deepCopy(o3)), Object.assign(n4, e4), refreshMobileDialogType(n4, $);
3726
3726
  const l2 = n4.jumpMode, r3 = n4;
3727
3727
  if (A.value || (A.value = {}), A.value.paramStoreId = n4.paramStoreId, r3.parentPageCode = I.value.code, r3.parentPageVersion = I.value.version, r3.isNewPage = true, "popup" === l2 || "refresh" === l2) {
3728
3728
  const e5 = r3.linkType;
3729
3729
  (function(e6, t4) {
3730
- const n5 = auth.getUsername();
3730
+ const n5 = agilebuilderUi.getUsername();
3731
3731
  return new Promise((o4, l3) => {
3732
- if (n5) if ("popup" !== t4 && !U || I.value.systemCode === e6.customSystem) o4(true);
3732
+ if (n5) if ("popup" !== t4 && !$ || I.value.systemCode === e6.customSystem) o4(true);
3733
3733
  else if (e6.customSystem) {
3734
3734
  const t5 = e6.customSystem;
3735
- imatrixUiStore.dispatch("getCurrentUserPermissions", { loginName: n5, systemCode: t5 }).then(() => {
3735
+ agilebuilderUi.store.dispatch("getCurrentUserPermissions", { loginName: n5, systemCode: t5 }).then(() => {
3736
3736
  o4(true);
3737
3737
  }).catch(() => {
3738
3738
  o4(true);
@@ -3741,7 +3741,7 @@
3741
3741
  else o4(true);
3742
3742
  });
3743
3743
  })(r3, l2).then((t4) => {
3744
- t4 && (U && (I.value.systemCode !== r3.customSystem || e5 && "url" === e5) ? (r3._isIframe = true, "refresh" === l2 && (r3.dialogType = "drawer", r3.jumpPageWidth = "100%"), N.value = r3, R.value = true) : (r3._isIframe = false, "popup" === l2 ? (N.value = r3, R.value = true) : "refresh" === l2 && le.push({ path: "/dsc/page", query: r3 })));
3744
+ t4 && ($ && (I.value.systemCode !== r3.customSystem || e5 && "url" === e5) ? (r3._isIframe = true, "refresh" === l2 && (r3.dialogType = "drawer", r3.jumpPageWidth = "100%"), N.value = r3, R.value = true) : (r3._isIframe = false, "popup" === l2 ? (N.value = r3, R.value = true) : "refresh" === l2 && le.push({ path: "/dsc/page", query: r3 })));
3745
3745
  }), bus.$on(k.value + "close-dialog", (e6) => {
3746
3746
  !function(e7) {
3747
3747
  const t4 = e7.jumpMode;
@@ -3760,7 +3760,7 @@
3760
3760
  var _a2;
3761
3761
  (_a2 = H.value) == null ? void 0 : _a2.renderComponent(e3.componentName, e3.componentProps);
3762
3762
  }), vue.watch(() => F.value.isRefresh, (e3) => {
3763
- e3 && ($.value++, F.value.isRefresh = false);
3763
+ e3 && (U.value++, F.value.isRefresh = false);
3764
3764
  }), getFormData(F.value, null, (_a = l.pageRequest) == null ? void 0 : _a.isNeedId);
3765
3765
  }
3766
3766
  const Q = vue.getCurrentInstance();
@@ -3773,7 +3773,7 @@
3773
3773
  }
3774
3774
  function G() {
3775
3775
  const e2 = F.value.entity.data, t2 = null == e2.ID ? e2.id : e2.ID;
3776
- M.query && M.query._t_ && t2 && auth.setSessionCache(M.query._t_ + "_id", t2);
3776
+ M.query && M.query._t_ && t2 && agilebuilderUi.setSessionCache(M.query._t_ + "_id", t2);
3777
3777
  }
3778
3778
  function Z() {
3779
3779
  v.value = false, m.value = null;
@@ -3834,11 +3834,11 @@
3834
3834
  let o2, a2;
3835
3835
  const l2 = I.value.tableName;
3836
3836
  let r2;
3837
- const u2 = A.value.columnProp ? A.value.columnProp : null;
3838
- if (u2) {
3837
+ const i3 = A.value.columnProp ? A.value.columnProp : null;
3838
+ if (i3) {
3839
3839
  const e3 = (_b = (_a = B.value) == null ? void 0 : _a.items) == null ? void 0 : _b.filter((e4) => {
3840
3840
  var _a2, _b2, _c, _d;
3841
- return ((_b2 = (_a2 = e4.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.prop) && ((_d = (_c = e4.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop) === u2;
3841
+ return ((_b2 = (_a2 = e4.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.prop) && ((_d = (_c = e4.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop) === i3;
3842
3842
  });
3843
3843
  r2 = e3 && e3.length > 0 ? e3[0] : null;
3844
3844
  } else r2 = B.value;
@@ -3846,19 +3846,19 @@
3846
3846
  const t3 = e2.isNeedValueMapping;
3847
3847
  o2 = e2.dataModel, a2 = e2.sourceTableName, t3 && updateValuesWhenCloseDialog(I.value, r2, o2, a2, N.value ? N.value.valueMappings : null);
3848
3848
  }
3849
- handleEvent(null, I.value, r2, "closePopup", { sourceModel: o2, sourceTableName: a2, jumpPageSetting: N.value, entity: I.value.entity.data, targetTableName: l2, pageContext: F.value, parentPageContext: I.value, parentConfigureObj: r2, columnProp: u2 }), function(e3, t3, n3) {
3849
+ handleEvent(null, I.value, r2, "closePopup", { sourceModel: o2, sourceTableName: a2, jumpPageSetting: N.value, entity: I.value.entity.data, targetTableName: l2, pageContext: F.value, parentPageContext: I.value, parentConfigureObj: r2, columnProp: i3 }), function(e3, t3, n3) {
3850
3850
  if (e3) {
3851
3851
  const o3 = getCustomFunc(I.value, e3);
3852
3852
  o3 && o3.apply(o3, [{ pageContext: F.value, parentPageContext: I.value, parentConfigureObj: n3, jumpPageSetting: N.value, columnProp: t3 }]);
3853
3853
  }
3854
- }(t2, u2, r2), refreshFormOrListPage(I.value, B.value, n2, void 0 !== n2 && false === n2 ? "noOperation" : null), I.value = null, B.value = null, A.value = null, bus.$off(k.value + "close-dialog"), R.value = false;
3854
+ }(t2, i3, r2), refreshFormOrListPage(I.value, B.value, n2, void 0 !== n2 && false === n2 ? "noOperation" : null), I.value = null, B.value = null, A.value = null, bus.$off(k.value + "close-dialog"), R.value = false;
3855
3855
  }
3856
- function ue(e2) {
3856
+ function ie(e2) {
3857
3857
  saveChartConditionBase(F.value, e2).then((e3) => {
3858
3858
  elementPlus.ElMessage({ showClose: true, type: "success", message: a("superPageRuntimeMessage.successfulSave") }), z.value.refreshConditionList();
3859
3859
  });
3860
3860
  }
3861
- function ie(e2) {
3861
+ function ue(e2) {
3862
3862
  const t2 = e2.queryCondition;
3863
3863
  let n2 = {};
3864
3864
  t2 && (n2 = JSON.parse(t2)), n2 && n2.data && Object.assign(F.value.entity.data, n2.data), n2 && n2.page && Object.assign(F.value.entity.page, n2.page), L.value = false;
@@ -3876,16 +3876,16 @@
3876
3876
  return AIChatUtil.getFormFormatDataUtil(F.value);
3877
3877
  } }), (e2, t2) => {
3878
3878
  const n2 = vue.resolveDirective("loading");
3879
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", { class: vue.normalizeClass(["app-container runtime-page-container", [u.value]]), "element-loading-text": "拼命加载中" }, [P.value ? (vue.openBlock(), vue.createElementBlock("div", { ref_key: "thisRef", ref: s, key: $.value, class: vue.normalizeClass(["runtime-page-container-view", p.value]), style: vue.normalizeStyle(d.value) }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(c.value, (e3, t3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: e3.uuid, configure: e3, pageContext: vue.unref(F) }, null, 8, ["configure", "pageContext"]))), 128)), vue.createVNode(_sfc_main$$, { pageContext: vue.unref(F) }, null, 8, ["pageContext"]), v.value ? (vue.openBlock(), vue.createBlock(_sfc_main$17, { key: 0, configure: O.value, pageContext: D.value, onClose: Z, onExport: X }, null, 8, ["configure", "pageContext"])) : vue.createCommentVNode("", true), vue.createElementVNode("input", { ref_key: "_selectFile_", ref: ee, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: t2[0] || (t2[0] = (e3) => function() {
3879
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", { class: vue.normalizeClass(["app-container runtime-page-container", [i2.value]]), "element-loading-text": "拼命加载中" }, [P.value ? (vue.openBlock(), vue.createElementBlock("div", { ref_key: "thisRef", ref: s, key: U.value, class: vue.normalizeClass(["runtime-page-container-view", p.value]), style: vue.normalizeStyle(d.value) }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(c.value, (e3, t3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: e3.uuid, configure: e3, pageContext: vue.unref(F) }, null, 8, ["configure", "pageContext"]))), 128)), vue.createVNode(_sfc_main$$, { pageContext: vue.unref(F) }, null, 8, ["pageContext"]), v.value ? (vue.openBlock(), vue.createBlock(_sfc_main$17, { key: 0, configure: O.value, pageContext: D.value, onClose: Z, onExport: X }, null, 8, ["configure", "pageContext"])) : vue.createCommentVNode("", true), vue.createElementVNode("input", { ref_key: "_selectFile_", ref: ee, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: t2[0] || (t2[0] = (e3) => function() {
3880
3880
  if (m.value) {
3881
3881
  if (!ee.value) return;
3882
3882
  if ("" === ee.value.value || null === ee.value.value) return;
3883
3883
  const e4 = ee.value.files[0];
3884
3884
  e4 ? (ee.value.value = null, doImportFinally(m.value, e4)) : elementPlus.ElMessage({ showClose: true, type: "warning", message: a("superPageRuntimeMessage.noFileSelected") });
3885
3885
  }
3886
- }()) }, null, 544), g.value || C.value || y.value || h.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DepartmentUserTree), { key: 1, width: "60%", multiple: b.value, onClose: te }, null, 8, ["multiple"])) : vue.createCommentVNode("", true), x.value ? (vue.openBlock(), vue.createBlock(_sfc_main$16, { key: 2, "task-informitions": w.value, onClose: t2[1] || (t2[1] = (e3) => x.value = false), onResult: ne }, null, 8, ["task-informitions"])) : vue.createCommentVNode("", true), _.value ? (vue.openBlock(), vue.createBlock(_sfc_main$14, { key: 3, "task-id": V.value, "active-tasks": T.value, onClose: t2[2] || (t2[2] = (e3) => _.value = false), onResult: oe }, null, 8, ["task-id", "active-tasks"])) : vue.createCommentVNode("", true), E.value ? (vue.openBlock(), vue.createBlock(_sfc_main$13, { key: 4, "task-id": V.value, "transactor-info": S.value, onClose: t2[3] || (t2[3] = (e3) => E.value = false), onResult: ae }, null, 8, ["task-id", "transactor-info"])) : vue.createCommentVNode("", true), R.value ? (vue.openBlock(), vue.createBlock(_sfc_main$12, { key: 5, parentPageContext: I.value, parentPageEventParams: A.value, jumpPageSetting: N.value, onClose: t2[4] || (t2[4] = (e3) => re()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : vue.createCommentVNode("", true), L.value ? (vue.openBlock(), vue.createBlock(_sfc_main$11, { key: 6, ref_key: "chartCondtionRef", ref: z, pageContext: vue.unref(F), onClose: t2[5] || (t2[5] = (e3) => L.value = false), onSave: ue, onConfirm: ie }, null, 8, ["pageContext"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$_, { ref_key: "eventCallComponentRef", ref: H }, null, 512)], 6)) : vue.createCommentVNode("", true)], 2)), [[n2, r.value]]);
3886
+ }()) }, null, 544), g.value || C.value || y.value || h.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DepartmentUserTree), { key: 1, width: "60%", multiple: b.value, onClose: te }, null, 8, ["multiple"])) : vue.createCommentVNode("", true), x.value ? (vue.openBlock(), vue.createBlock(_sfc_main$16, { key: 2, "task-informitions": w.value, onClose: t2[1] || (t2[1] = (e3) => x.value = false), onResult: ne }, null, 8, ["task-informitions"])) : vue.createCommentVNode("", true), _.value ? (vue.openBlock(), vue.createBlock(_sfc_main$14, { key: 3, "task-id": V.value, "active-tasks": T.value, onClose: t2[2] || (t2[2] = (e3) => _.value = false), onResult: oe }, null, 8, ["task-id", "active-tasks"])) : vue.createCommentVNode("", true), E.value ? (vue.openBlock(), vue.createBlock(_sfc_main$13, { key: 4, "task-id": V.value, "transactor-info": S.value, onClose: t2[3] || (t2[3] = (e3) => E.value = false), onResult: ae }, null, 8, ["task-id", "transactor-info"])) : vue.createCommentVNode("", true), R.value ? (vue.openBlock(), vue.createBlock(_sfc_main$12, { key: 5, parentPageContext: I.value, parentPageEventParams: A.value, jumpPageSetting: N.value, onClose: t2[4] || (t2[4] = (e3) => re()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : vue.createCommentVNode("", true), L.value ? (vue.openBlock(), vue.createBlock(_sfc_main$11, { key: 6, ref_key: "chartCondtionRef", ref: z, pageContext: vue.unref(F), onClose: t2[5] || (t2[5] = (e3) => L.value = false), onSave: ie, onConfirm: ue }, null, 8, ["pageContext"])) : vue.createCommentVNode("", true), vue.createVNode(_sfc_main$_, { ref_key: "eventCallComponentRef", ref: H }, null, 512)], 6)) : vue.createCommentVNode("", true)], 2)), [[n2, r.value]]);
3887
3887
  };
3888
- } }), SuperPageNew = _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-8954a922"]]), _sfc_main$Y = vue.defineComponent({ __name: "home-chart-render", props: { pageContext: {}, configure: {} }, setup(e) {
3888
+ } }), SuperPageNew = _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-ac38da23"]]), _sfc_main$Y = vue.defineComponent({ __name: "home-chart-render", props: { pageContext: {}, configure: {} }, setup(e) {
3889
3889
  const t = e;
3890
3890
  null == t.configure.style && (t.configure.style = {});
3891
3891
  const n = getPermissionCodes(t.configure, t.pageContext);
@@ -3895,29 +3895,29 @@
3895
3895
  l.value = vue.markRaw(getRuntimeComponentByName(t.configure.name));
3896
3896
  const r = vue.ref(true);
3897
3897
  null == l.value && (l.value = _sfc_main$1b, r.value = false);
3898
- const u = vue.ref(null), i2 = vue.ref({}), s = vue.ref(""), c = getPropClassName(t.configure);
3898
+ const i2 = vue.ref(null), u = vue.ref({}), s = vue.ref(""), c = getPropClassName(t.configure);
3899
3899
  c && (s.value = c);
3900
3900
  const p = t.configure.runtime && t.configure.runtime.common ? t.configure.runtime.common : {};
3901
3901
  if (p.class && (s.value += " " + p.class), p.style) {
3902
- Object.assign(i2.value, p.style);
3902
+ Object.assign(u.value, p.style);
3903
3903
  const e2 = t.pageContext && t.pageContext.dimensions ? t.pageContext.dimensions : PageDimensions.PC, n2 = p.style[e2 + "_style"];
3904
- n2 && Object.assign(i2.value, n2);
3904
+ n2 && Object.assign(u.value, n2);
3905
3905
  const o2 = p.style[e2 + "_class"];
3906
3906
  o2 && (s.value += " " + o2);
3907
3907
  }
3908
3908
  function d(e2) {
3909
- if (u.value = e2, e2 && !e2.show && (e2.show = function() {
3909
+ if (i2.value = e2, e2 && !e2.show && (e2.show = function() {
3910
3910
  o.value = true;
3911
3911
  }), e2 && !e2.hide && (e2.hide = function() {
3912
3912
  o.value = false;
3913
3913
  }), e2 && !e2.getConfigure && (e2.getConfigure = function() {
3914
3914
  return t.configure;
3915
- }), t.configure.uuid && addComponentRef(t.pageContext, t.configure.uuid, u), t.configure.code) addComponentRefByCode(t.pageContext, t.configure.code, u);
3915
+ }), t.configure.uuid && addComponentRef(t.pageContext, t.configure.uuid, i2), t.configure.code) addComponentRefByCode(t.pageContext, t.configure.code, i2);
3916
3916
  else if (t.configure.props && t.configure.props.base) {
3917
3917
  const e3 = t.configure.props.base;
3918
3918
  if (e3.prop) {
3919
3919
  let n3 = e3.prop;
3920
- n3.startsWith("${") && (n3 = n3.substring(2, n3.length - 1)), n3.includes(".") && (n3 = n3.substring(n3.indexOf(".") + 1)), addComponentRefByCode(t.pageContext, n3, u);
3920
+ n3.startsWith("${") && (n3 = n3.substring(2, n3.length - 1)), n3.includes(".") && (n3 = n3.substring(n3.indexOf(".") + 1)), addComponentRefByCode(t.pageContext, n3, i2);
3921
3921
  }
3922
3922
  }
3923
3923
  const n2 = t.configure.props ? t.configure.props.base : null;
@@ -3926,16 +3926,16 @@
3926
3926
  e3 = getFormPropName(e3), controlObjectRenderState(t.pageContext, e3);
3927
3927
  }
3928
3928
  !function() {
3929
- if (!u.value) return;
3929
+ if (!i2.value) return;
3930
3930
  const e3 = getSizeConfig(t.pageContext, t.configure);
3931
3931
  "table" !== t.configure.name && e3 && e3.isCalcHeight && vue.nextTick(() => {
3932
- let e4 = u.value.$el;
3933
- e4 || (e4 = u.value);
3932
+ let e4 = i2.value.$el;
3933
+ e4 || (e4 = i2.value);
3934
3934
  const n3 = e4.parentNode;
3935
3935
  if (!e4 || !n3) return;
3936
3936
  const o2 = e4.getBoundingClientRect();
3937
3937
  let a2 = window.innerHeight - o2.y - 80, l2 = a2 + "";
3938
- isNumber(a2) && (l2 = a2 + "px"), i2.value.height = l2, i2.value["overflow-y"] = "auto", i2.value["overflow-x"] = "hidden", t.configure.sytle || (t.configure.sytle = {}), t.configure.sytle._heightStyle = l2;
3938
+ isNumber(a2) && (l2 = a2 + "px"), u.value.height = l2, u.value["overflow-y"] = "auto", u.value["overflow-x"] = "hidden", t.configure.sytle || (t.configure.sytle = {}), t.configure.sytle._heightStyle = l2;
3939
3939
  });
3940
3940
  }();
3941
3941
  }
@@ -3943,9 +3943,9 @@
3943
3943
  f();
3944
3944
  });
3945
3945
  const f = () => {
3946
- if (!u.value) return;
3947
- let e2 = u.value.$el;
3948
- e2 || (e2 = u.value);
3946
+ if (!i2.value) return;
3947
+ let e2 = i2.value.$el;
3948
+ e2 || (e2 = i2.value);
3949
3949
  const n2 = e2.parentNode;
3950
3950
  if (!e2 || !n2) return;
3951
3951
  const o2 = t.configure.props ? t.configure.props : {}, a2 = t.configure.style ? t.configure.style : {}, l2 = o2.position;
@@ -3953,12 +3953,12 @@
3953
3953
  };
3954
3954
  return (e2, t2) => {
3955
3955
  const o2 = vue.resolveDirective("permission");
3956
- return vue.unref(isShowComponent)(e2.configure) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(l.value), { key: 0, ref: d, style: vue.normalizeStyle(i2.value), class: vue.normalizeClass(s.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[vue.vShow, vue.unref(a)], [o2, { codes: vue.unref(n) ? vue.unref(n) : "true", systemCode: e2.pageContext.systemCode }]]) : vue.createCommentVNode("", true);
3956
+ return vue.unref(isShowComponent)(e2.configure) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(l.value), { key: 0, ref: d, style: vue.normalizeStyle(u.value), class: vue.normalizeClass(s.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[vue.vShow, vue.unref(a)], [o2, { codes: vue.unref(n) ? vue.unref(n) : "true", systemCode: e2.pageContext.systemCode }]]) : vue.createCommentVNode("", true);
3957
3957
  };
3958
3958
  } }), _hoisted_1$l = { "element-loading-text": "加载中..." }, _hoisted_2$a = { key: 1 }, _sfc_main$X = vue.defineComponent({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e) {
3959
3959
  const { t } = vueI18n.useI18n(), n = e, o = vue.ref(true), a = vue.ref(false), l = vue.ref(null);
3960
- let r, u = vue.ref(null);
3961
- return n.chartUuid && http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + n.chartUuid).then((e2) => {
3960
+ let r, i2 = vue.ref(null);
3961
+ return n.chartUuid && agilebuilderUi.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + n.chartUuid).then((e2) => {
3962
3962
  var _a, _b;
3963
3963
  if (e2 && e2.designJson) {
3964
3964
  l.value = {};
@@ -3970,16 +3970,16 @@
3970
3970
  }
3971
3971
  const a2 = window.frameElement;
3972
3972
  l.value = t2.chartJson, l.value.homeChartSettingUserId = n.homeChartSettingUserId, a2 && (a2.clientHeight, l.value.runtime.common.style.pc_style.height = a2.clientHeight + "px");
3973
- const i2 = { showHomepageSearch: false, name: e2.pageName, code: e2.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e2.systemCode, uuid: e2.uuid, allChartUuids: [], backendUrl: e2.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam } };
3974
- if (((_a = l.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = l.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (i2.showHomepageSearch = true), t2.variables) {
3975
- const e3 = i2.entity.page;
3973
+ const u = { showHomepageSearch: false, name: e2.pageName, code: e2.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e2.systemCode, uuid: e2.uuid, allChartUuids: [], backendUrl: e2.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam } };
3974
+ if (((_a = l.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = l.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (u.showHomepageSearch = true), t2.variables) {
3975
+ const e3 = u.entity.page;
3976
3976
  for (const n2 of t2.variables) n2.name && (n2.isArrayElement ? e3[n2.name] = [] : n2.defaultValue ? e3[n2.name] = n2.defaultValue : e3[n2.name] = void 0);
3977
3977
  }
3978
- t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && updateOptionDatasources(i2, t2.initOptionConfigs, void 0), setHomeChartInitConfigValue(l.value.pushHomepage.initConfig, i2, n.homeChartSettingUserId), initPageEvents(t2, i2), u.value = i2, r = setTimeout(() => {
3978
+ t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && updateOptionDatasources(u, t2.initOptionConfigs, void 0), setHomeChartInitConfigValue(l.value.pushHomepage.initConfig, u, n.homeChartSettingUserId), initPageEvents(t2, u), i2.value = u, r = setTimeout(() => {
3979
3979
  !function(e3, t3) {
3980
3980
  if (!t3 || 0 == t3.length) return;
3981
3981
  e3.initChartData = {}, e3.initChartData.data = deepCopy(e3.entity.data), e3.initChartData.page = deepCopy(e3.entity.page), t3 && t3.length > 0 && updateChartDatasources(e3, t3, null, true);
3982
- }(u.value, [t2.initChartServiceConfigs]);
3982
+ }(i2.value, [t2.initChartServiceConfigs]);
3983
3983
  }, 200);
3984
3984
  } else a.value = true, o.value = false;
3985
3985
  }).finally(() => {
@@ -3988,7 +3988,7 @@
3988
3988
  r && clearTimeout(r);
3989
3989
  }), (e2, n2) => {
3990
3990
  const a2 = vue.resolveDirective("loading");
3991
- return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [!o.value && l.value ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, { key: 0, configure: l.value, pageContext: vue.unref(u) }, null, 8, ["configure", "pageContext"])) : o.value || l.value ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, vue.toDisplayString(vue.unref(t)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, o.value]]);
3991
+ return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [!o.value && l.value ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, { key: 0, configure: l.value, pageContext: vue.unref(i2) }, null, 8, ["configure", "pageContext"])) : o.value || l.value ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, vue.toDisplayString(vue.unref(t)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, o.value]]);
3992
3992
  };
3993
3993
  } });
3994
3994
  var FuncType = ((e) => (e.AUTHENTICATED = "AUTHENTICATED", e.ANONYMOUS = "ANONYMOUS", e.AUTHORIZED = "AUTHORIZED", e))(FuncType || {});
@@ -4051,8 +4051,8 @@
4051
4051
  return o;
4052
4052
  }
4053
4053
  const _sfc_main$W = vue.defineComponent({ __name: "YxAffix", props: { offset: { type: Number, default: 0 }, position: { type: String, default: "top", validator: (e) => ["top", "bottom"].includes(e) }, target: { type: [String, HTMLElement], default: () => window }, autoDetectParentScroll: { type: Boolean, default: true }, stickyInScrollContainer: { type: Boolean, default: true }, zIndex: { type: Number, default: 100 }, enableIntervalUpdate: { type: Boolean, default: true }, enableIntervalTime: { type: Number, default: 2e3 } }, emits: ["change"], setup(e, { emit: t }) {
4054
- const n = e, o = t, a = vue.ref(null), l = vue.ref(null), r = vue.ref(false), u = vue.ref({}), i2 = vue.ref([]), s = vue.ref(window), c = vue.ref(0), p = vue.ref(null), d = (e2) => {
4055
- e2.contentRect.height && (u.value.height = e2.contentRect.height);
4054
+ const n = e, o = t, a = vue.ref(null), l = vue.ref(null), r = vue.ref(false), i2 = vue.ref({}), u = vue.ref([]), s = vue.ref(window), c = vue.ref(0), p = vue.ref(null), d = (e2) => {
4055
+ e2.contentRect.height && (i2.value.height = e2.contentRect.height);
4056
4056
  }, f = () => {
4057
4057
  try {
4058
4058
  if (!l.value) return;
@@ -4061,20 +4061,20 @@
4061
4061
  const t3 = "top" === n.position ? e2.top <= n.offset : e2.bottom >= window.innerHeight - n.offset;
4062
4062
  c.value = 0, m(t3, e2);
4063
4063
  } else if (n.stickyInScrollContainer) {
4064
- const o2 = t2.getBoundingClientRect(), { isFixTop: l2, isFixBottom: r2, containerOffset: u2 } = ((e3) => {
4064
+ const o2 = t2.getBoundingClientRect(), { isFixTop: l2, isFixBottom: r2, containerOffset: i3 } = ((e3) => {
4065
4065
  const t3 = ["top"].includes(n.position), o3 = ["bottom"].includes(n.position);
4066
4066
  if (!a.value) return { isTop: t3, isBottom: o3 };
4067
- const l3 = a.value.getBoundingClientRect(), r3 = l3.top - e3.top, u3 = l3.left - e3.left, i3 = e3.height - l3.height - r3, s2 = e3.top, c2 = window.innerHeight - e3.bottom;
4068
- return { isTop: t3, isBottom: o3, containerTop: s2, containerBottom: c2, containerOffset: t3 ? s2 : o3 ? c2 : 0, offsetTop: r3, offsetLeft: u3, offsetBottom: i3, isFixTop: t3 && r3 < 0, isFixBottom: o3 && i3 < 0 };
4067
+ const l3 = a.value.getBoundingClientRect(), r3 = l3.top - e3.top, i4 = l3.left - e3.left, u2 = e3.height - l3.height - r3, s2 = e3.top, c2 = window.innerHeight - e3.bottom;
4068
+ return { isTop: t3, isBottom: o3, containerTop: s2, containerBottom: c2, containerOffset: t3 ? s2 : o3 ? c2 : 0, offsetTop: r3, offsetLeft: i4, offsetBottom: u2, isFixTop: t3 && r3 < 0, isFixBottom: o3 && u2 < 0 };
4069
4069
  })(o2);
4070
- c.value = u2 ?? 0, m(l2 || r2 || false, e2);
4070
+ c.value = i3 ?? 0, m(l2 || r2 || false, e2);
4071
4071
  }
4072
4072
  } catch (e2) {
4073
4073
  console.error(e2);
4074
4074
  }
4075
4075
  }, m = (e2, t2) => {
4076
4076
  var _a;
4077
- t2.height && (e2 === r.value && ((_a = u.value) == null ? void 0 : _a.height) === `${t2.height}px` || (r.value = e2, o("change", e2), u.value = e2 ? { width: "100%", height: `${t2.height}px` } : {}));
4077
+ t2.height && (e2 === r.value && ((_a = i2.value) == null ? void 0 : _a.height) === `${t2.height}px` || (r.value = e2, o("change", e2), i2.value = e2 ? { width: "100%", height: `${t2.height}px` } : {}));
4078
4078
  }, v = () => {
4079
4079
  requestAnimationFrame(f);
4080
4080
  };
@@ -4105,14 +4105,14 @@
4105
4105
  }
4106
4106
  return [window];
4107
4107
  })();
4108
- i2.value = e2, s.value = e2[0], i2.value.forEach((e3) => e3.addEventListener("scroll", v)), window.addEventListener("resize", h), f();
4108
+ u.value = e2, s.value = e2[0], u.value.forEach((e3) => e3.addEventListener("scroll", v)), window.addEventListener("resize", h), f();
4109
4109
  } catch (e2) {
4110
4110
  console.error(e2);
4111
4111
  }
4112
4112
  });
4113
4113
  }, 100);
4114
4114
  }), vue.onUnmounted(() => {
4115
- s.value && i2.value.forEach((e2) => e2.removeEventListener("scroll", v)), window.removeEventListener("resize", h), clearTimeout(g), p.value && clearInterval(p.value);
4115
+ s.value && u.value.forEach((e2) => e2.removeEventListener("scroll", v)), window.removeEventListener("resize", h), clearTimeout(g), p.value && clearInterval(p.value);
4116
4116
  }), vue.watchEffect(() => {
4117
4117
  vue.nextTick(() => {
4118
4118
  v();
@@ -4124,19 +4124,19 @@
4124
4124
  });
4125
4125
  return (e2, t2) => {
4126
4126
  const o2 = vue.resolveDirective("resize");
4127
- return vue.openBlock(), vue.createElementBlock("div", { ref_key: "affixMainRef", ref: a, class: "yx-affix", style: vue.normalizeStyle({ height: r.value ? u.value.height : void 0 }) }, [vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", { ref_key: "affixRef", ref: l, style: vue.normalizeStyle(C.value), class: vue.normalizeClass([{ "is-fixed": r.value, "is-top": "top" === n.position, "is-bottom": "bottom" === n.position }, "yx-affix-content"]) }, [vue.renderSlot(e2.$slots, "default", {}, void 0, true)], 6)), [[o2, d]])], 4);
4127
+ return vue.openBlock(), vue.createElementBlock("div", { ref_key: "affixMainRef", ref: a, class: "yx-affix", style: vue.normalizeStyle({ height: r.value ? i2.value.height : void 0 }) }, [vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", { ref_key: "affixRef", ref: l, style: vue.normalizeStyle(C.value), class: vue.normalizeClass([{ "is-fixed": r.value, "is-top": "top" === n.position, "is-bottom": "bottom" === n.position }, "yx-affix-content"]) }, [vue.renderSlot(e2.$slots, "default", {}, void 0, true)], 6)), [[o2, d]])], 4);
4128
4128
  };
4129
4129
  } }), YxAffix = _export_sfc(_sfc_main$W, [["__scopeId", "data-v-a994b02d"]]), _sfc_main$V = vue.defineComponent({ __name: "form-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
4130
4130
  const t = e;
4131
4131
  t.configure.items || (t.configure.items = []);
4132
- const n = t.configure.runtime ? t.configure.runtime : {}, o = n.props ? n.props : {}, a = vue.ref(n.style ? n.style : {}), l = n.class, r = vue.ref(n.titleStyle ? n.titleStyle : {}), u = vue.ref(o.labelPosition), i2 = vue.ref(null), s = t.pageContext && t.pageContext.dimensions ? t.pageContext.dimensions : PageDimensions.PC;
4133
- return s && s === PageDimensions.PHONE && (u.value = "top"), vue.onMounted(() => {
4132
+ const n = t.configure.runtime ? t.configure.runtime : {}, o = n.props ? n.props : {}, a = vue.ref(n.style ? n.style : {}), l = n.class, r = vue.ref(n.titleStyle ? n.titleStyle : {}), i2 = vue.ref(o.labelPosition), u = vue.ref(null), s = t.pageContext && t.pageContext.dimensions ? t.pageContext.dimensions : PageDimensions.PC;
4133
+ return s && s === PageDimensions.PHONE && (i2.value = "top"), vue.onMounted(() => {
4134
4134
  vue.nextTick(() => {
4135
- handleFormEvent(null, t.pageContext, t.configure, "afterFormLoad", { componentRef: i2.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
4135
+ handleFormEvent(null, t.pageContext, t.configure, "afterFormLoad", { componentRef: u.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
4136
4136
  });
4137
4137
  }), (e2, t2) => {
4138
4138
  const n2 = vue.resolveComponent("el-form");
4139
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(n2, { ref_key: "thisRef", ref: i2, "label-width": vue.unref(o).labelWidth, "label-position": u.value, size: vue.unref(o).componentSize, style: vue.normalizeStyle(a.value), class: vue.normalizeClass(vue.unref(l)) }, { default: vue.withCtx(() => [vue.unref(o).formTitle ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, class: "amb-widget-form-title", style: vue.normalizeStyle(r.value) }, vue.toDisplayString(vue.unref(o).formTitle), 5)) : vue.createCommentVNode("", true), (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
4139
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(n2, { ref_key: "thisRef", ref: u, "label-width": vue.unref(o).labelWidth, "label-position": i2.value, size: vue.unref(o).componentSize, style: vue.normalizeStyle(a.value), class: vue.normalizeClass(vue.unref(l)) }, { default: vue.withCtx(() => [vue.unref(o).formTitle ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, class: "amb-widget-form-title", style: vue.normalizeStyle(r.value) }, vue.toDisplayString(vue.unref(o).formTitle), 5)) : vue.createCommentVNode("", true), (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
4140
4140
  };
4141
4141
  } }), formRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$V }, Symbol.toStringTag, { value: "Module" })), _sfc_main$U = vue.defineComponent({ __name: "card-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4142
4142
  var _a, _b;
@@ -4145,7 +4145,7 @@
4145
4145
  const o = vue.computed(() => {
4146
4146
  var _a2;
4147
4147
  return [true, void 0].includes((_a2 = n.configure.props) == null ? void 0 : _a2.isCollapse);
4148
- }), a = vue.ref(null), l = vue.ref(!((_a = n.configure.props) == null ? void 0 : _a.isCollapse) || false !== ((_b = n.configure.props) == null ? void 0 : _b.isCollapseShow)), r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.headerStyle, c = r.contentStyle, p = () => o.value && (l.value = !l.value);
4148
+ }), a = vue.ref(null), l = vue.ref(!((_a = n.configure.props) == null ? void 0 : _a.isCollapse) || false !== ((_b = n.configure.props) == null ? void 0 : _b.isCollapseShow)), r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.headerStyle, c = r.contentStyle, p = () => o.value && (l.value = !l.value);
4149
4149
  return vue.onMounted(() => {
4150
4150
  vue.nextTick(() => {
4151
4151
  handleAfterInitEvent(null, n.pageContext, n.configure, { componentRef: a.value, entity: n.pageContext.entity.data, pageData: n.pageContext.entity.page });
@@ -4154,19 +4154,19 @@
4154
4154
  n.configure.props.title = "teee";
4155
4155
  } }), (e2, t2) => {
4156
4156
  const n2 = vue.resolveComponent("el-link");
4157
- return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCard), { ref_key: "thisRef", ref: a, style: vue.normalizeStyle(vue.unref(u)), "data-collapse": String(l.value), class: vue.normalizeClass(["yx-card-box-view-main", vue.unref(i2)]) }, vue.createSlots({ default: vue.withCtx(() => [vue.createElementVNode("div", { class: "yx-card-box-view-context", style: vue.normalizeStyle(vue.unref(c)) }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e2.configure.props.base.tittleShow ? { name: "header", fn: vue.withCtx(() => [vue.createElementVNode("div", { class: "yx-card-box-view-header", onClick: p }, [vue.createElementVNode("div", { class: "yx-card-box-view-title", style: vue.normalizeStyle(vue.unref(s)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(e2.configure.props.base.title)), 1)], 4), o.value ? (vue.openBlock(), vue.createBlock(n2, { key: 0, underline: false, icon: l.value ? vue.unref(iconsVue.ArrowUp) : vue.unref(iconsVue.ArrowDown), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : vue.createCommentVNode("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
4157
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCard), { ref_key: "thisRef", ref: a, style: vue.normalizeStyle(vue.unref(i2)), "data-collapse": String(l.value), class: vue.normalizeClass(["yx-card-box-view-main", vue.unref(u)]) }, vue.createSlots({ default: vue.withCtx(() => [vue.createElementVNode("div", { class: "yx-card-box-view-context", style: vue.normalizeStyle(vue.unref(c)) }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e2.configure.props.base.tittleShow ? { name: "header", fn: vue.withCtx(() => [vue.createElementVNode("div", { class: "yx-card-box-view-header", onClick: p }, [vue.createElementVNode("div", { class: "yx-card-box-view-title", style: vue.normalizeStyle(vue.unref(s)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(e2.configure.props.base.title)), 1)], 4), o.value ? (vue.openBlock(), vue.createBlock(n2, { key: 0, underline: false, icon: l.value ? vue.unref(iconsVue.ArrowUp) : vue.unref(iconsVue.ArrowDown), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : vue.createCommentVNode("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
4158
4158
  };
4159
4159
  } }), cardRuntime = _export_sfc(_sfc_main$U, [["__scopeId", "data-v-4e203ead"]]), cardRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: cardRuntime }, Symbol.toStringTag, { value: "Module" })), _sfc_main$T = vue.defineComponent({ __name: "collapse-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
4160
4160
  const t = e;
4161
4161
  t.configure.props || (t.configure.props = {});
4162
- const n = t.configure.props.defaultOpens ? t.configure.props.defaultOpens : [1], o = !!t.configure.props.accordion, a = vue.ref(null), l = t.configure.runtime ? t.configure.runtime : {}, r = l.style, u = l.class, i2 = l.headerStyle;
4162
+ const n = t.configure.props.defaultOpens ? t.configure.props.defaultOpens : [1], o = !!t.configure.props.accordion, a = vue.ref(null), l = t.configure.runtime ? t.configure.runtime : {}, r = l.style, i2 = l.class, u = l.headerStyle;
4163
4163
  return vue.onMounted(() => {
4164
4164
  vue.nextTick(() => {
4165
4165
  handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: a.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
4166
4166
  });
4167
4167
  }), (e2, t2) => {
4168
4168
  const l2 = vue.resolveComponent("SuperIcon"), s = vue.resolveComponent("el-collapse-item"), c = vue.resolveComponent("el-collapse");
4169
- return vue.openBlock(), vue.createBlock(c, { ref_key: "thisRef", ref: a, modelValue: vue.unref(n), "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => vue.isRef(n) ? n.value = e3 : null), style: vue.normalizeStyle(vue.unref(r)), accordion: vue.unref(o), class: vue.normalizeClass(vue.unref(u)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n2) => (vue.openBlock(), vue.createBlock(s, { name: t3.index }, { title: vue.withCtx(() => [vue.createElementVNode("div", { style: vue.normalizeStyle([vue.unref(i2), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (vue.openBlock(), vue.createBlock(l2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(t3.label)), 1)], 4)]), default: vue.withCtx(() => [vue.createElementVNode("div", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t3.items, (t4, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t4.uuid, configure: t4, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
4169
+ return vue.openBlock(), vue.createBlock(c, { ref_key: "thisRef", ref: a, modelValue: vue.unref(n), "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => vue.isRef(n) ? n.value = e3 : null), style: vue.normalizeStyle(vue.unref(r)), accordion: vue.unref(o), class: vue.normalizeClass(vue.unref(i2)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n2) => (vue.openBlock(), vue.createBlock(s, { name: t3.index }, { title: vue.withCtx(() => [vue.createElementVNode("div", { style: vue.normalizeStyle([vue.unref(u), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (vue.openBlock(), vue.createBlock(l2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(t3.label)), 1)], 4)]), default: vue.withCtx(() => [vue.createElementVNode("div", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t3.items, (t4, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t4.uuid, configure: t4, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
4170
4170
  };
4171
4171
  } }), collapseRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$T }, Symbol.toStringTag, { value: "Module" })), _sfc_main$S = vue.defineComponent({ __name: "flex-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
4172
4172
  const t = e, n = vue.ref(null), o = t.configure.runtime ? t.configure.runtime : {}, a = o.style, l = o.class, r = vue.ref(o.props ? o.props : {});
@@ -4182,15 +4182,15 @@
4182
4182
  handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: n.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
4183
4183
  });
4184
4184
  }), (e2, t2) => {
4185
- const o2 = vue.resolveComponent("el-col"), u = vue.resolveComponent("el-row");
4186
- return vue.openBlock(), vue.createBlock(u, { ref_key: "thisRef", ref: n, justify: r.value.flexJustify, gutter: r.value.flexGutter, align: r.value.alignItems, style: vue.normalizeStyle([{ display: "flex" }, vue.unref(a)]), class: vue.normalizeClass(vue.unref(l)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n2) => vue.withDirectives((vue.openBlock(), vue.createBlock(o2, { key: t3.uuid, style: vue.normalizeStyle(t3.itemStyle), span: t3.flexSpan }, { default: vue.withCtx(() => [vue.createVNode(_sfc_main$18, { pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[vue.vShow, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
4185
+ const o2 = vue.resolveComponent("el-col"), i2 = vue.resolveComponent("el-row");
4186
+ return vue.openBlock(), vue.createBlock(i2, { ref_key: "thisRef", ref: n, justify: r.value.flexJustify, gutter: r.value.flexGutter, align: r.value.alignItems, style: vue.normalizeStyle([{ display: "flex" }, vue.unref(a)]), class: vue.normalizeClass(vue.unref(l)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n2) => vue.withDirectives((vue.openBlock(), vue.createBlock(o2, { key: t3.uuid, style: vue.normalizeStyle(t3.itemStyle), span: t3.flexSpan }, { default: vue.withCtx(() => [vue.createVNode(_sfc_main$18, { pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[vue.vShow, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
4187
4187
  };
4188
4188
  } }), flexRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$S }, Symbol.toStringTag, { value: "Module" })), _sfc_main$R = vue.defineComponent({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4189
4189
  const n = e, o = vue.ref(""), a = vue.ref([]);
4190
4190
  n.configure.items.forEach((e2) => {
4191
4191
  e2.code || (e2.code = e2.index);
4192
4192
  }), o.value = n.configure.props.defaultOpen ? n.configure.props.defaultOpen : 1;
4193
- const l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.headerStyle;
4193
+ const l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.headerStyle;
4194
4194
  function c(e2, t2) {
4195
4195
  return handleEvent(e2, n.pageContext, n.configure, "before-leave", { activeName: e2, oldActiveName: t2 }) ?? true;
4196
4196
  }
@@ -4268,10 +4268,10 @@
4268
4268
  }), a.value = [...new Set(t2)];
4269
4269
  } }), (e2, t2) => {
4270
4270
  const a2 = vue.resolveComponent("el-button");
4271
- return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabs), { ref_key: "thisRef", ref: l, modelValue: o.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: vue.normalizeStyle(vue.unref(u)), class: vue.normalizeClass([vue.unref(i2), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": c, onTabClick: p, onTabChange: d, onTabRemove: f, onTabAdd: v, onEdit: g }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(n.configure.items, (t3, n2) => (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabPane), { key: n2, label: t3.label, name: t3.code, lazy: !!e2.configure.props.lazy }, { label: vue.withCtx(() => [t3.iconType && t3.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createElementVNode("span", { style: vue.normalizeStyle(vue.unref(s)) }, vue.toDisplayString(vue.unref($t)(t3.label)), 5)]), default: vue.withCtx(() => [(e2.configure.props.isFullyRendered ?? 1) || t3.code === o.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(t3.items, (t4) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t4.uuid, pageContext: e2.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : vue.createCommentVNode("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabPane), { key: 0, disabled: "", name: "-1" }, { label: vue.withCtx(() => [e2.configure.props.resetable ? (vue.openBlock(), vue.createBlock(a2, { key: 0, type: "text", circle: "", onClick: vue.withModifiers(h, ["stop"]) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : vue.createCommentVNode("", true)]), _: 1 })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
4271
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabs), { ref_key: "thisRef", ref: l, modelValue: o.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: vue.normalizeStyle(vue.unref(i2)), class: vue.normalizeClass([vue.unref(u), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": c, onTabClick: p, onTabChange: d, onTabRemove: f, onTabAdd: v, onEdit: g }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(n.configure.items, (t3, n2) => (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabPane), { key: n2, label: t3.label, name: t3.code, lazy: !!e2.configure.props.lazy }, { label: vue.withCtx(() => [t3.iconType && t3.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createElementVNode("span", { style: vue.normalizeStyle(vue.unref(s)) }, vue.toDisplayString(vue.unref($t)(t3.label)), 5)]), default: vue.withCtx(() => [(e2.configure.props.isFullyRendered ?? 1) || t3.code === o.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(t3.items, (t4) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t4.uuid, pageContext: e2.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : vue.createCommentVNode("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElTabPane), { key: 0, disabled: "", name: "-1" }, { label: vue.withCtx(() => [e2.configure.props.resetable ? (vue.openBlock(), vue.createBlock(a2, { key: 0, type: "text", circle: "", onClick: vue.withModifiers(h, ["stop"]) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : vue.createCommentVNode("", true)]), _: 1 })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
4272
4272
  };
4273
4273
  } }), tabsRuntime = _export_sfc(_sfc_main$R, [["__scopeId", "data-v-df9efce2"]]), tabsRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: tabsRuntime }, Symbol.toStringTag, { value: "Module" })), _sfc_main$Q = vue.defineComponent({ __name: "FixedBox", props: { isFixed: { type: Boolean, default: true }, position: { type: String, default: "top" }, offset: { type: Number, default: 0 } }, setup(e) {
4274
- const t = e, n = vue.ref(null), o = vue.ref(null), a = vue.ref({}), l = vue.ref({}), r = [], u = () => {
4274
+ const t = e, n = vue.ref(null), o = vue.ref(null), a = vue.ref({}), l = vue.ref({}), r = [], i2 = () => {
4275
4275
  (() => {
4276
4276
  var _a, _b;
4277
4277
  if (o.value) {
@@ -4279,58 +4279,58 @@
4279
4279
  a.value = { width: "100%", height: `${r2.height}px` }, l.value = { width: `${(e2 == null ? void 0 : e2.width) ?? r2.width}px`, position: t.isFixed ? "fixed" : "static", [t.position]: `${t.offset}px`, left: `${(e2 == null ? void 0 : e2.left) ?? r2.left}px`, zIndex: 100, pointerEvents: "auto" };
4280
4280
  } else a.value = {}, l.value = {};
4281
4281
  })();
4282
- }, i2 = (e2) => {
4282
+ }, u = (e2) => {
4283
4283
  e2 ? ((() => {
4284
4284
  if (r.forEach((e3) => e3.disconnect()), r.length = 0, o.value) {
4285
- const e3 = new ResizeObserver(u);
4285
+ const e3 = new ResizeObserver(i2);
4286
4286
  e3.observe(o.value), r.push(e3);
4287
4287
  }
4288
- })(), window.addEventListener("resize", u)) : (window.removeEventListener("resize", u), r.forEach((e3) => e3.disconnect())), u();
4288
+ })(), window.addEventListener("resize", i2)) : (window.removeEventListener("resize", i2), r.forEach((e3) => e3.disconnect())), i2();
4289
4289
  };
4290
4290
  return vue.onMounted(() => {
4291
4291
  vue.nextTick(() => {
4292
- i2(t.isFixed);
4292
+ u(t.isFixed);
4293
4293
  });
4294
4294
  }), vue.onUnmounted(() => {
4295
- i2(false);
4296
- }), vue.watch(() => t.isFixed, i2), (r2, u2) => (vue.openBlock(), vue.createElementBlock("div", { ref_key: "fixedMaxRef", ref: n, class: vue.normalizeClass(["yx-fixed-box-main", { [`is-${e.position}`]: true, "is-fixed": t.isFixed }]), style: vue.normalizeStyle(a.value) }, [vue.createElementVNode("div", { ref_key: "fixedRef", ref: o, class: "yx-fixed-box-container", style: vue.normalizeStyle(l.value) }, [vue.renderSlot(r2.$slots, "default", {}, void 0, true)], 4)], 6));
4295
+ u(false);
4296
+ }), vue.watch(() => t.isFixed, u), (r2, i3) => (vue.openBlock(), vue.createElementBlock("div", { ref_key: "fixedMaxRef", ref: n, class: vue.normalizeClass(["yx-fixed-box-main", { [`is-${e.position}`]: true, "is-fixed": t.isFixed }]), style: vue.normalizeStyle(a.value) }, [vue.createElementVNode("div", { ref_key: "fixedRef", ref: o, class: "yx-fixed-box-container", style: vue.normalizeStyle(l.value) }, [vue.renderSlot(r2.$slots, "default", {}, void 0, true)], 4)], 6));
4297
4297
  } }), FixedBox = _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-9b488f43"]]), _hoisted_1$k = { "data-v": "1.0.0", class: "amb-widget-tools-parent" }, _hoisted_2$9 = { ref: "affixRef", "data-v": "1.0.0", class: "amb-widget-tools-parent" }, _hoisted_3$6 = { key: 2, "data-v": "1.0.0", class: "amb-widget-tools-parent" }, _sfc_main$P = vue.defineComponent({ __name: "tools-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
4298
4298
  const t = e, n = vue.ref(null), o = t.configure.runtime ?? {}, a = o.class, l = vue.ref(null), r = vue.ref(0);
4299
- let u = null;
4300
- const i2 = vue.computed(() => t.configure.props), s = vue.computed(() => {
4299
+ let i2 = null;
4300
+ const u = vue.computed(() => t.configure.props), s = vue.computed(() => {
4301
4301
  var _a, _b;
4302
4302
  return !!((_b = (_a = t.configure) == null ? void 0 : _a.items) == null ? void 0 : _b.length);
4303
4303
  }), c = vue.computed(() => {
4304
- const { gap: e2 } = i2.value ?? {};
4304
+ const { gap: e2 } = u.value ?? {};
4305
4305
  return { backgroundColor: "#fff", ...e2 ? { gap: `${e2}px` } : {}, ...o.style ?? {} };
4306
4306
  }), p = vue.computed(() => {
4307
4307
  var _a, _b, _c;
4308
- return !![(_a = i2.value) == null ? void 0 : _a.isAffix, (_b = i2.value) == null ? void 0 : _b.isFixed].every((e2) => void 0 === e2) || ((_c = i2.value) == null ? void 0 : _c.isAffix);
4308
+ return !![(_a = u.value) == null ? void 0 : _a.isAffix, (_b = u.value) == null ? void 0 : _b.isFixed].every((e2) => void 0 === e2) || ((_c = u.value) == null ? void 0 : _c.isAffix);
4309
4309
  }), d = vue.computed(() => {
4310
4310
  var _a;
4311
- return (_a = i2.value) == null ? void 0 : _a.isFixed;
4311
+ return (_a = u.value) == null ? void 0 : _a.isFixed;
4312
4312
  }), f = vue.computed(() => {
4313
4313
  var _a, _b;
4314
- return ["top"].includes((_a = i2.value) == null ? void 0 : _a.position) ? "top" : ["bottom"].includes((_b = i2.value) == null ? void 0 : _b.position) ? "bottom" : void 0;
4314
+ return ["top"].includes((_a = u.value) == null ? void 0 : _a.position) ? "top" : ["bottom"].includes((_b = u.value) == null ? void 0 : _b.position) ? "bottom" : void 0;
4315
4315
  });
4316
4316
  return vue.onMounted(() => {
4317
4317
  if (vue.nextTick(() => {
4318
4318
  handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: n.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
4319
- }), u = new ResizeObserver(() => {
4319
+ }), i2 = new ResizeObserver(() => {
4320
4320
  if (l.value) {
4321
4321
  const e2 = l.value.getBoundingClientRect();
4322
4322
  r.value = e2.top;
4323
4323
  }
4324
4324
  }), l.value) {
4325
- u.observe(l.value);
4325
+ i2.observe(l.value);
4326
4326
  const e2 = l.value.getBoundingClientRect();
4327
4327
  r.value = e2.top;
4328
4328
  }
4329
4329
  }), vue.onUnmounted(() => {
4330
- u && l.value && (u.unobserve(l.value), u.disconnect());
4330
+ i2 && l.value && (i2.unobserve(l.value), i2.disconnect());
4331
4331
  }), (e2, o2) => {
4332
- const u2 = vue.resolveComponent("el-affix");
4333
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createElementVNode("div", { ref_key: "referenceDivRef", ref: l, style: { height: "0" } }, null, 512), d.value && s.value ? (vue.openBlock(), vue.createBlock(FixedBox, { key: 0, position: f.value, offset: r.value }, { default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$k, [vue.createElementVNode("div", { class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(a)]), style: vue.normalizeStyle(c.value), ref_key: "thisRef", ref: n }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t.configure.items, (e3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { pageContext: t.pageContext, configure: e3, key: e3.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : p.value && s.value ? (vue.openBlock(), vue.createBlock(u2, { key: 1, position: f.value, offset: r.value }, { default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$9, [vue.createElementVNode("div", { class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(a)]), style: vue.normalizeStyle(c.value), ref_key: "thisRef", ref: n }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t.configure.items, (e3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { pageContext: t.pageContext, configure: e3, key: e3.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : s.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [vue.createElementVNode("div", { class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(a)]), style: vue.normalizeStyle(c.value), ref_key: "thisRef", ref: n }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t.configure.items, (e3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { pageContext: t.pageContext, configure: e3, key: e3.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : vue.createCommentVNode("", true)]);
4332
+ const i3 = vue.resolveComponent("el-affix");
4333
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createElementVNode("div", { ref_key: "referenceDivRef", ref: l, style: { height: "0" } }, null, 512), d.value && s.value ? (vue.openBlock(), vue.createBlock(FixedBox, { key: 0, position: f.value, offset: r.value }, { default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$k, [vue.createElementVNode("div", { class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(a)]), style: vue.normalizeStyle(c.value), ref_key: "thisRef", ref: n }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t.configure.items, (e3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { pageContext: t.pageContext, configure: e3, key: e3.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : p.value && s.value ? (vue.openBlock(), vue.createBlock(i3, { key: 1, position: f.value, offset: r.value }, { default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$9, [vue.createElementVNode("div", { class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(a)]), style: vue.normalizeStyle(c.value), ref_key: "thisRef", ref: n }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t.configure.items, (e3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { pageContext: t.pageContext, configure: e3, key: e3.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : s.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [vue.createElementVNode("div", { class: vue.normalizeClass(["amb-widget-container-tool amb-widget-tools", vue.unref(a)]), style: vue.normalizeStyle(c.value), ref_key: "thisRef", ref: n }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(t.configure.items, (e3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { pageContext: t.pageContext, configure: e3, key: e3.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : vue.createCommentVNode("", true)]);
4334
4334
  };
4335
4335
  } }), toolsRuntime = _export_sfc(_sfc_main$P, [["__scopeId", "data-v-a9801c3f"]]), toolsRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: toolsRuntime }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$j = ["src"], _sfc_main$O = vue.defineComponent({ __name: "iframe-runtime", props: { pageContext: {}, configure: {}, indexObj: {}, selectWidget: {} }, setup(e) {
4336
4336
  const t = e, n = vue.ref(null), o = t.configure.runtime ? t.configure.runtime : {}, a = o.style, l = o.class;
@@ -4340,14 +4340,14 @@
4340
4340
  });
4341
4341
  }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("iframe", { ref_key: "thisRef", ref: n, src: e2.configure.props.src, class: vue.normalizeClass(["amb-widget-container-iframe", vue.unref(l)]), style: vue.normalizeStyle(vue.unref(a)) }, null, 14, _hoisted_1$j));
4342
4342
  } }), iframeRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$O }, Symbol.toStringTag, { value: "Module" })), _sfc_main$N = vue.defineComponent({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
4343
- const t = e, n = vue.ref(null), o = t.configure.runtime ? t.configure.runtime : {}, a = o.leftStyle, l = o.rightStyle, r = o.style, u = o.class;
4343
+ const t = e, n = vue.ref(null), o = t.configure.runtime ? t.configure.runtime : {}, a = o.leftStyle, l = o.rightStyle, r = o.style, i2 = o.class;
4344
4344
  return vue.onMounted(() => {
4345
4345
  vue.nextTick(() => {
4346
4346
  handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: n.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
4347
4347
  });
4348
4348
  }), (e2, t2) => {
4349
- const o2 = vue.resolveComponent("el-aside"), i2 = vue.resolveComponent("el-main"), s = vue.resolveComponent("el-container");
4350
- return vue.openBlock(), vue.createBlock(s, { ref_key: "thisRef", ref: n }, { default: vue.withCtx(() => [e2.configure.props.useLeft ? (vue.openBlock(), vue.createBlock(o2, { key: 0, style: vue.normalizeStyle(vue.unref(a)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.leftAslides, (t3, n2) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : vue.createCommentVNode("", true), vue.createVNode(i2, { style: vue.normalizeStyle(vue.unref(r)), class: vue.normalizeClass(vue.unref(u)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n2) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e2.configure.props.useRight ? (vue.openBlock(), vue.createBlock(o2, { key: 1, style: vue.normalizeStyle(vue.unref(l)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.rightAslides, (t3, n2) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : vue.createCommentVNode("", true)]), _: 1 }, 512);
4349
+ const o2 = vue.resolveComponent("el-aside"), u = vue.resolveComponent("el-main"), s = vue.resolveComponent("el-container");
4350
+ return vue.openBlock(), vue.createBlock(s, { ref_key: "thisRef", ref: n }, { default: vue.withCtx(() => [e2.configure.props.useLeft ? (vue.openBlock(), vue.createBlock(o2, { key: 0, style: vue.normalizeStyle(vue.unref(a)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.leftAslides, (t3, n2) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : vue.createCommentVNode("", true), vue.createVNode(u, { style: vue.normalizeStyle(vue.unref(r)), class: vue.normalizeClass(vue.unref(i2)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.items, (t3, n2) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e2.configure.props.useRight ? (vue.openBlock(), vue.createBlock(o2, { key: 1, style: vue.normalizeStyle(vue.unref(l)) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e2.configure.rightAslides, (t3, n2) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : vue.createCommentVNode("", true)]), _: 1 }, 512);
4351
4351
  };
4352
4352
  } }), containerRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$N }, Symbol.toStringTag, { value: "Module" }));
4353
4353
  function formatScanRuleSets(e) {
@@ -4360,7 +4360,7 @@
4360
4360
  }
4361
4361
  function packageScanRuleSets(e) {
4362
4362
  return new Promise((t, n) => {
4363
- Object.keys(e).length > 0 ? http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((n2) => {
4363
+ Object.keys(e).length > 0 ? agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((n2) => {
4364
4364
  n2.forEach((n3) => {
4365
4365
  const o = JSON.parse(n3.barcodeAnalysisOuts), a = /* @__PURE__ */ new Set(), l = {};
4366
4366
  e[n3.code].outs.forEach((e2) => {
@@ -4382,12 +4382,12 @@
4382
4382
  let validStr = "";
4383
4383
  for (let e = 0; e < adaptations.length; e++) {
4384
4384
  const t = adaptations[e], n = _getScanIndexs(scanValue, t.startIndex, t.endIndex), o = n[0], a = n[1];
4385
- let l = scanValue.substring(o, a), r = t.value, u = t.operate;
4386
- if ("times" == u) {
4385
+ let l = scanValue.substring(o, a), r = t.value, i2 = t.operate;
4386
+ if ("times" == i2) {
4387
4387
  const e2 = l.split(null == r ? "" : r).length - 1;
4388
- r = e2, l = t.times, u = "=";
4388
+ r = e2, l = t.times, i2 = "=";
4389
4389
  }
4390
- if ((isNaN(l) || isNaN(r)) && (l = "'" + l + "'", r = "'" + r + "'"), t.leftBracket && (validStr += t.leftBracket), "<>" == u ? u = "!=" : "=" == u && (u = "=="), "include" == u || "notinclude" == u ? (validStr += l + ".indexOf(" + r + ")", validStr += "include" == u ? ">-1" : "<0") : validStr += l + u + r, t.rightBracket && (validStr += t.rightBracket), t.joinStr && e + 1 < adaptations.length) {
4390
+ if ((isNaN(l) || isNaN(r)) && (l = "'" + l + "'", r = "'" + r + "'"), t.leftBracket && (validStr += t.leftBracket), "<>" == i2 ? i2 = "!=" : "=" == i2 && (i2 = "=="), "include" == i2 || "notinclude" == i2 ? (validStr += l + ".indexOf(" + r + ")", validStr += "include" == i2 ? ">-1" : "<0") : validStr += l + i2 + r, t.rightBracket && (validStr += t.rightBracket), t.joinStr && e + 1 < adaptations.length) {
4391
4391
  const e2 = "and" == t.joinStr ? "&&" : "||";
4392
4392
  validStr += e2;
4393
4393
  }
@@ -4476,7 +4476,7 @@
4476
4476
  const e2 = getModelFieldFromPageContext(l, n.pageContext);
4477
4477
  e2 && (a.value = isNumberDataType(e2.dataType) ? "number" : "text");
4478
4478
  }
4479
- const r = vue.ref(commonUtil.isMobileBrowser()), u = n.pageContext.code, i2 = vue.ref(l && l.length > 0 ? u + "__" + l.join("__") : null), s = vue.ref(null), c = vue.computed({ get: () => getVariableValue(o, l), set(e2) {
4479
+ const r = vue.ref(agilebuilderUi.isMobileBrowser()), i2 = n.pageContext.code, u = vue.ref(l && l.length > 0 ? i2 + "__" + l.join("__") : null), s = vue.ref(null), c = vue.computed({ get: () => getVariableValue(o, l), set(e2) {
4480
4480
  setVariableValue(o, l, e2), null != e2 && "" !== e2 && (s.value = "");
4481
4481
  } }), p = vue.ref(null), d = vue.ref(null), f = vue.ref(null), m = n.configure.runtime ? n.configure.runtime : {}, v = vue.ref(m.props ? m.props : {}), g = vue.ref(!!((_a = v.value.scan) == null ? void 0 : _a.enable));
4482
4482
  let h = false;
@@ -4498,24 +4498,24 @@
4498
4498
  return setVariableValue(o, l, e2);
4499
4499
  }
4500
4500
  vue.onMounted(() => {
4501
- bus.$on(i2.value + "-scanDone", (e2) => {
4502
- i2.value, JSON.stringify(e2), V(e2.result), handleFormEvent(e2.result, n.pageContext, n.configure, "afterScanDone");
4501
+ bus.$on(u.value + "-scanDone", (e2) => {
4502
+ u.value, JSON.stringify(e2), V(e2.result), handleFormEvent(e2.result, n.pageContext, n.configure, "afterScanDone");
4503
4503
  }), vue.nextTick(() => {
4504
4504
  var _a2;
4505
4505
  const e2 = c.value;
4506
4506
  handleAfterInitEvent(e2, n.pageContext, n.configure, { formItemRef: p.value, componentRef: d.value, titleRef: f.value, value: e2, entity: n.pageContext.entity.data, pageData: n.pageContext.entity.page }), x.value && ((_a2 = v.value.scan) == null ? void 0 : _a2.autoOpen) && R();
4507
4507
  });
4508
4508
  }), vue.onUnmounted(() => {
4509
- bus.$off(i2.value + "-scanDone");
4509
+ bus.$off(u.value + "-scanDone");
4510
4510
  });
4511
4511
  const P = vue.ref(false);
4512
4512
  function R() {
4513
4513
  if (k || h) {
4514
- const e2 = { type: "scan", componentId: i2.value, systemCode: n.pageContext.systemCode };
4514
+ const e2 = { type: "scan", componentId: u.value, systemCode: n.pageContext.systemCode };
4515
4515
  h && (e2.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e2), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e2), "*"));
4516
4516
  } else if (r.value) if ("https:" === window.location.protocol) P.value = true;
4517
4517
  else {
4518
- const e2 = { type: "scan", componentId: i2.value, systemCode: n.pageContext.systemCode };
4518
+ const e2 = { type: "scan", componentId: u.value, systemCode: n.pageContext.systemCode };
4519
4519
  window.parent.postMessage(JSON.stringify(e2), "*");
4520
4520
  }
4521
4521
  else P.value = true;
@@ -4528,16 +4528,16 @@
4528
4528
  }, setValue: V, scanClick: R, addRequiredClass: function() {
4529
4529
  s.value = addRequiredClassUtil$1();
4530
4530
  } }), (e2, t2) => {
4531
- const r2 = vue.resolveComponent("el-input"), u2 = vue.resolveComponent("scan-code-input-browser"), i3 = vue.resolveComponent("el-form-item");
4532
- return vue.openBlock(), vue.createBlock(i3, { ref_key: "formItemRef", ref: p, required: !!v.value.required, class: vue.normalizeClass(vue.unref(S) + (s.value ? " " + s.value : "")), "label-width": v.value.labelWidth, style: vue.normalizeStyle(vue.unref(T)) }, { label: vue.withCtx(() => [v.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: f, style: vue.normalizeStyle({ ...vue.unref(_), ...vue.unref(E) }) }, [v.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: v.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(v.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(r2, { ref_key: "componentRef", ref: d, disabled: "disabled" === v.value.state, readonly: "readonly" === v.value.state, size: v.value.size, clearable: v.value.clearable, placeholder: v.value.placeholder, maxlength: v.value.maxLength, "show-word-limit": v.value.showInputNum, type: a.value, modelValue: c.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => c.value = e3), onInput: t2[6] || (t2[6] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[8] || (t2[8] = (e3) => function(e4) {
4531
+ const r2 = vue.resolveComponent("el-input"), i3 = vue.resolveComponent("scan-code-input-browser"), u2 = vue.resolveComponent("el-form-item");
4532
+ return vue.openBlock(), vue.createBlock(u2, { ref_key: "formItemRef", ref: p, required: !!v.value.required, class: vue.normalizeClass(vue.unref(S) + (s.value ? " " + s.value : "")), "label-width": v.value.labelWidth, style: vue.normalizeStyle(vue.unref(T)) }, { label: vue.withCtx(() => [v.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: f, style: vue.normalizeStyle({ ...vue.unref(_), ...vue.unref(E) }) }, [v.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: v.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(v.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(r2, { ref_key: "componentRef", ref: d, disabled: "disabled" === v.value.state, readonly: "readonly" === v.value.state, size: v.value.size, clearable: v.value.clearable, placeholder: v.value.placeholder, maxlength: v.value.maxLength, "show-word-limit": v.value.showInputNum, type: a.value, modelValue: c.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => c.value = e3), onInput: t2[6] || (t2[6] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[8] || (t2[8] = (e3) => function(e4) {
4533
4533
  let t3 = getVariableValue(o, l);
4534
4534
  null != t3 && (t3 = t3.trim()), setVariableValue(o, l, t3), handleFormEvent(e4, n.pageContext, n.configure, "blur");
4535
- }(e3)), onFocus: t2[9] || (t2[9] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, vue.createSlots({ _: 2 }, ["outer" != v.value.iconPosition && (v.value.preIconType && v.value.preIconValue || v.value.preText) ? { name: "prefix", fn: vue.withCtx(() => [v.value.preIconType && v.value.preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: v.value.preIconType, iconValue: v.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.preText)), 1)]), key: "0" } : void 0, "outer" == v.value.iconPosition && (v.value.preIconType && v.value.preIconValue || v.value.preText) ? { name: "prepend", fn: vue.withCtx(() => [v.value.preIconType && v.value.preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: v.value.preIconType, iconValue: v.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.preText)), 1)]), key: "1" } : void 0, "outer" != v.value.iconPosition && (v.value.sufIconType && v.value.sufIconValue || v.value.sufText) ? { name: "suffix", fn: vue.withCtx(() => [v.value.sufIconType && v.value.sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: v.value.sufIconType, iconValue: v.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.sufText)), 1)]), key: "2" } : void 0, x.value || "outer" == v.value.iconPosition && (v.value.sufIconType && v.value.sufIconValue || v.value.sufText) ? { name: "append", fn: vue.withCtx(() => [x.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e3) => R()) })) : vue.createCommentVNode("", true), v.value.sufIconType && v.value.sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 1, style: { cursor: "pointer" }, iconType: v.value.sufIconType, iconValue: v.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), P.value ? (vue.openBlock(), vue.createBlock(u2, { key: 0, onClose: N })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4535
+ }(e3)), onFocus: t2[9] || (t2[9] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, vue.createSlots({ _: 2 }, ["outer" != v.value.iconPosition && (v.value.preIconType && v.value.preIconValue || v.value.preText) ? { name: "prefix", fn: vue.withCtx(() => [v.value.preIconType && v.value.preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: v.value.preIconType, iconValue: v.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.preText)), 1)]), key: "0" } : void 0, "outer" == v.value.iconPosition && (v.value.preIconType && v.value.preIconValue || v.value.preText) ? { name: "prepend", fn: vue.withCtx(() => [v.value.preIconType && v.value.preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: v.value.preIconType, iconValue: v.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.preText)), 1)]), key: "1" } : void 0, "outer" != v.value.iconPosition && (v.value.sufIconType && v.value.sufIconValue || v.value.sufText) ? { name: "suffix", fn: vue.withCtx(() => [v.value.sufIconType && v.value.sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: v.value.sufIconType, iconValue: v.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.sufText)), 1)]), key: "2" } : void 0, x.value || "outer" == v.value.iconPosition && (v.value.sufIconType && v.value.sufIconValue || v.value.sufText) ? { name: "append", fn: vue.withCtx(() => [x.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e3) => R()) })) : vue.createCommentVNode("", true), v.value.sufIconType && v.value.sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 1, style: { cursor: "pointer" }, iconType: v.value.sufIconType, iconValue: v.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => vue.unref(doSuffixOrPrefixClickEvent)(c.value, e2.pageContext, e2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(v.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), P.value ? (vue.openBlock(), vue.createBlock(i3, { key: 0, onClose: N })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4536
4536
  };
4537
4537
  } }), inputtextRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$L }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$i = { style: { "padding-left": "5px" } }, _hoisted_2$8 = { style: { width: "100%" } }, _hoisted_3$5 = { style: { float: "left" } }, _hoisted_4$4 = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, _sfc_main$K = vue.defineComponent({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4538
4538
  const { t: n } = vueI18n.useI18n(), o = e, a = vue.ref(null), l = o.pageContext.entity ? o.pageContext.entity : {};
4539
4539
  let r = getFormModelFields(o.pageContext, o.configure);
4540
- const u = o.configure.runtime ? o.configure.runtime : {}, i2 = u.style, s = u.class, c = u.headerStyle, p = u.titleExceedStyle, d = vue.ref(u.props ? u.props : {});
4540
+ const i2 = o.configure.runtime ? o.configure.runtime : {}, u = i2.style, s = i2.class, c = i2.headerStyle, p = i2.titleExceedStyle, d = vue.ref(i2.props ? i2.props : {});
4541
4541
  let f = [];
4542
4542
  const m = "copyBtn_" + o.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
4543
4543
  function v() {
@@ -4657,8 +4657,8 @@
4657
4657
  }, getSelectItemsTitle: B, getOptions: function() {
4658
4658
  return h.value;
4659
4659
  } }), (e2, t2) => {
4660
- const n2 = vue.resolveComponent("el-icon"), o2 = vue.resolveComponent("el-option"), l2 = vue.resolveComponent("el-select"), r2 = vue.resolveComponent("el-popover"), u2 = vue.resolveComponent("el-form-item");
4661
- return vue.openBlock(), vue.createBlock(u2, { ref_key: "formItemRef", ref: R, required: !!d.value.required, class: vue.normalizeClass(vue.unref(s) + (a.value ? " " + a.value : "")), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: I, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, [d.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: d.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(d.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(r2, { placement: "top", trigger: "hover" }, { reference: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$8, [vue.createVNode(l2, { ref_key: "componentRef", ref: N, style: { width: "100%" }, disabled: "disabled" === d.value.state, size: d.value.size, clearable: d.value.clearable, multiple: d.value.multiple, "collapse-tags": d.value.collapseTags, "collapse-tags-tooltip": d.value.collapseTagsTooltip, filterable: d.value.filterable, "allow-create": d.value.allowCreate, placeholder: d.value.placeholder, "remote-show-suffix": d.value.remoteShowSuffix, remote: d.value.remote, "remote-method": d.value.remoteMethod, loading: y.value, onKeydown: t2[0] || (t2[0] = vue.withKeys(vue.withModifiers(() => {
4660
+ const n2 = vue.resolveComponent("el-icon"), o2 = vue.resolveComponent("el-option"), l2 = vue.resolveComponent("el-select"), r2 = vue.resolveComponent("el-popover"), i3 = vue.resolveComponent("el-form-item");
4661
+ return vue.openBlock(), vue.createBlock(i3, { ref_key: "formItemRef", ref: R, required: !!d.value.required, class: vue.normalizeClass(vue.unref(s) + (a.value ? " " + a.value : "")), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: I, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, [d.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: d.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(d.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(r2, { placement: "top", trigger: "hover" }, { reference: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$8, [vue.createVNode(l2, { ref_key: "componentRef", ref: N, style: { width: "100%" }, disabled: "disabled" === d.value.state, size: d.value.size, clearable: d.value.clearable, multiple: d.value.multiple, "collapse-tags": d.value.collapseTags, "collapse-tags-tooltip": d.value.collapseTagsTooltip, filterable: d.value.filterable, "allow-create": d.value.allowCreate, placeholder: d.value.placeholder, "remote-show-suffix": d.value.remoteShowSuffix, remote: d.value.remote, "remote-method": d.value.remoteMethod, loading: y.value, onKeydown: t2[0] || (t2[0] = vue.withKeys(vue.withModifiers(() => {
4662
4662
  }, ["stop"]), ["space"])), onChange: d.value.changeMethod, onClear: d.value.changeMethod, modelValue: g.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => g.value = e3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(h.value, (t3) => (vue.openBlock(), vue.createBlock(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (n3) => vue.unref(handleFormEvent)(t3.value, e2.pageContext, e2.configure, "click", { values: g.value }) }, { default: vue.withCtx(() => [t3._description_ ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createElementVNode("span", _hoisted_3$5, vue.toDisplayString(t3.label), 1), vue.createElementVNode("span", _hoisted_4$4, vue.toDisplayString(t3._description_), 1)], 64)) : vue.createCommentVNode("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: vue.withCtx(() => [vue.createElementVNode("span", _hoisted_1$i, [vue.createVNode(n2, { id: m }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.CopyDocument))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4663
4663
  };
4664
4664
  } }), selectRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$K }, Symbol.toStringTag, { value: "Module" })), _sfc_main$J = vue.defineComponent({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
@@ -4669,7 +4669,7 @@
4669
4669
  return null != e2 && (e2 += ""), e2;
4670
4670
  }, set(e2) {
4671
4671
  setVariableValue(a, l, e2), null != e2 && (o.value = "");
4672
- } }), u = n.configure.runtime ? n.configure.runtime : {}, i2 = u.style, s = u.class, c = u.headerStyle, p = u.titleExceedStyle, d = vue.ref(u.props ? u.props : {}), f = vue.ref(d.value.options ? d.value.options : []), m = getOptionDatasFromPage(n.pageContext, n.configure);
4672
+ } }), i2 = n.configure.runtime ? n.configure.runtime : {}, u = i2.style, s = i2.class, c = i2.headerStyle, p = i2.titleExceedStyle, d = vue.ref(i2.props ? i2.props : {}), f = vue.ref(d.value.options ? d.value.options : []), m = getOptionDatasFromPage(n.pageContext, n.configure);
4673
4673
  m.length > 0 && (f.value = m);
4674
4674
  const v = n.configure.props && n.configure.props.dataOrigin ? n.configure.props.dataOrigin : {}, g = v.optionValueSetType;
4675
4675
  let h = [];
@@ -4731,7 +4731,7 @@
4731
4731
  }
4732
4732
  } }), (e2, t2) => {
4733
4733
  const n2 = vue.resolveComponent("el-radio"), a2 = vue.resolveComponent("el-radio-group"), l2 = vue.resolveComponent("el-form-item");
4734
- return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: S, required: d.value.required, class: vue.normalizeClass(vue.unref(s) + (o.value ? " " + o.value : "")), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: E, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, vue.toDisplayString(vue.unref($t)(d.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(a2, { ref_key: "componentRef", ref: _, disabled: "disabled" === d.value.state, size: d.value.size, onChange: d.value.changeMethod, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(f.value, (t3) => (vue.openBlock(), vue.createBlock(n2, { key: t3.value, label: t3.value, onClick: (n3) => vue.unref(handleFormEvent)(t3.value, e2.pageContext, e2.configure, "click", { values: r.value }) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4734
+ return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: S, required: d.value.required, class: vue.normalizeClass(vue.unref(s) + (o.value ? " " + o.value : "")), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: E, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, vue.toDisplayString(vue.unref($t)(d.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(a2, { ref_key: "componentRef", ref: _, disabled: "disabled" === d.value.state, size: d.value.size, onChange: d.value.changeMethod, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(f.value, (t3) => (vue.openBlock(), vue.createBlock(n2, { key: t3.value, label: t3.value, onClick: (n3) => vue.unref(handleFormEvent)(t3.value, e2.pageContext, e2.configure, "click", { values: r.value }) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4735
4735
  };
4736
4736
  } }), radioRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$J }, Symbol.toStringTag, { value: "Module" })), _sfc_main$I = vue.defineComponent({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4737
4737
  const n = e, o = vue.ref(null), a = n.pageContext.entity ? n.pageContext.entity : {};
@@ -4741,7 +4741,7 @@
4741
4741
  return e2 && "string" == typeof e2 && (e2 = e2.split(",")), e2;
4742
4742
  }, set(e2) {
4743
4743
  e2 && e2.length > 0 && (e2 = e2.join(",")), setVariableValue(a, l, e2), null != e2 && (o.value = "");
4744
- } }), u = n.configure.runtime ? n.configure.runtime : {}, i2 = u.style, s = u.class, c = u.headerStyle, p = u.titleExceedStyle, d = vue.ref(u.props ? u.props : {}), f = vue.ref(d.value.options ? d.value.options : []), m = getOptionDatasFromPage(n.pageContext, n.configure);
4744
+ } }), i2 = n.configure.runtime ? n.configure.runtime : {}, u = i2.style, s = i2.class, c = i2.headerStyle, p = i2.titleExceedStyle, d = vue.ref(i2.props ? i2.props : {}), f = vue.ref(d.value.options ? d.value.options : []), m = getOptionDatasFromPage(n.pageContext, n.configure);
4745
4745
  m.length > 0 && (f.value = m);
4746
4746
  const v = n.configure.props && n.configure.props.dataOrigin ? n.configure.props.dataOrigin : {}, g = v.optionValueSetType;
4747
4747
  let h = [];
@@ -4785,14 +4785,14 @@
4785
4785
  }
4786
4786
  } }), (e2, t2) => {
4787
4787
  const n2 = vue.resolveComponent("el-checkbox"), a2 = vue.resolveComponent("el-checkbox-group"), l2 = vue.resolveComponent("el-form-item");
4788
- return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: b, class: vue.normalizeClass(vue.unref(s) + (o.value ? " " + o.value : "")), required: !!d.value.required, "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: x, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, vue.toDisplayString(vue.unref($t)(d.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(a2, { ref_key: "componentRef", ref: k, disabled: "disabled" === d.value.state, size: d.value.size, onChange: d.value.changeMethod, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(f.value, (t3) => (vue.openBlock(), vue.createBlock(n2, { key: t3.value, value: t3.value, label: t3.label, onClick: (n3) => vue.unref(handleFormEvent)(t3.value, e2.pageContext, e2.configure, "click", { values: r.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["class", "required", "label-width", "style"]);
4788
+ return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: b, class: vue.normalizeClass(vue.unref(s) + (o.value ? " " + o.value : "")), required: !!d.value.required, "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: x, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, vue.toDisplayString(vue.unref($t)(d.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(a2, { ref_key: "componentRef", ref: k, disabled: "disabled" === d.value.state, size: d.value.size, onChange: d.value.changeMethod, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(f.value, (t3) => (vue.openBlock(), vue.createBlock(n2, { key: t3.value, value: t3.value, label: t3.label, onClick: (n3) => vue.unref(handleFormEvent)(t3.value, e2.pageContext, e2.configure, "click", { values: r.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["class", "required", "label-width", "style"]);
4789
4789
  };
4790
4790
  } }), checkboxRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$I }, Symbol.toStringTag, { value: "Module" })), _sfc_main$H = vue.defineComponent({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4791
4791
  const n = e, o = vue.ref(null), a = n.pageContext.entity ? n.pageContext.entity : {};
4792
4792
  let l = getFormModelFields(n.pageContext, n.configure);
4793
4793
  const r = vue.computed({ get: () => getVariableValue(a, l), set(e2) {
4794
4794
  setVariableValue(a, l, e2), null != e2 && "" !== e2 && (o.value = "");
4795
- } }), u = n.configure.runtime ? n.configure.runtime : {}, i2 = vue.ref(u.props ? u.props : {}), s = u.style, c = u.class, p = u.headerStyle, d = u.titleExceedStyle, f = vue.ref(null), m = vue.ref(null), v = vue.ref(null);
4795
+ } }), i2 = n.configure.runtime ? n.configure.runtime : {}, u = vue.ref(i2.props ? i2.props : {}), s = i2.style, c = i2.class, p = i2.headerStyle, d = i2.titleExceedStyle, f = vue.ref(null), m = vue.ref(null), v = vue.ref(null);
4796
4796
  return vue.onMounted(() => {
4797
4797
  vue.nextTick(() => {
4798
4798
  const e2 = r.value;
@@ -4802,11 +4802,11 @@
4802
4802
  o.value = addRequiredClassUtil$1();
4803
4803
  } }), (e2, t2) => {
4804
4804
  const n2 = vue.resolveComponent("el-input"), a2 = vue.resolveComponent("el-form-item");
4805
- return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(a2, { ref_key: "formItemRef", ref: f, required: !!i2.value.required, class: vue.normalizeClass(vue.unref(c) + (o.value ? " " + o.value : "")), "label-width": i2.value.labelWidth, style: vue.normalizeStyle(vue.unref(s)) }, { label: vue.withCtx(() => [i2.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: v, style: vue.normalizeStyle({ ...vue.unref(p), ...vue.unref(d) }) }, [i2.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: i2.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(i2.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: m, disabled: "disabled" === i2.value.state, readonly: "readonly" === i2.value.state, size: i2.value.size, clearable: i2.value.clearable, placeholder: i2.value.placeholder, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3), rows: i2.value.rows ? i2.value.rows : 2, maxlength: i2.value.maxlength, minlength: i2.value.minlength, "show-word-limit": i2.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
4805
+ return vue.openBlock(), vue.createElementBlock("div", null, [vue.createVNode(a2, { ref_key: "formItemRef", ref: f, required: !!u.value.required, class: vue.normalizeClass(vue.unref(c) + (o.value ? " " + o.value : "")), "label-width": u.value.labelWidth, style: vue.normalizeStyle(vue.unref(s)) }, { label: vue.withCtx(() => [u.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: v, style: vue.normalizeStyle({ ...vue.unref(p), ...vue.unref(d) }) }, [u.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: u.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(u.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: m, disabled: "disabled" === u.value.state, readonly: "readonly" === u.value.state, size: u.value.size, clearable: u.value.clearable, placeholder: u.value.placeholder, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3), rows: u.value.rows ? u.value.rows : 2, maxlength: u.value.maxlength, minlength: u.value.minlength, "show-word-limit": u.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
4806
4806
  };
4807
4807
  } }), textareaRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$H }, Symbol.toStringTag, { value: "Module" })), _sfc_main$G = vue.defineComponent({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4808
4808
  var _a;
4809
- const n = e, o = vue.ref(null), a = n.pageContext.entity ? n.pageContext.entity : {}, l = n.configure.runtime ? n.configure.runtime : {}, r = l.style, u = l.class, i2 = l.headerStyle, s = l.titleExceedStyle, c = vue.ref(l.props ? l.props : {});
4809
+ const n = e, o = vue.ref(null), a = n.pageContext.entity ? n.pageContext.entity : {}, l = n.configure.runtime ? n.configure.runtime : {}, r = l.style, i2 = l.class, u = l.headerStyle, s = l.titleExceedStyle, c = vue.ref(l.props ? l.props : {});
4810
4810
  let p = getFormModelFields(n.pageContext, n.configure, c.value.prop);
4811
4811
  if (n.pageContext.modelFieldsMap && p && p.length > 0 && "data" === p[0]) {
4812
4812
  const e2 = getModelFieldFromPageContext(p, n.pageContext);
@@ -4890,12 +4890,12 @@
4890
4890
  o.value = addRequiredClassUtil$1();
4891
4891
  } }), (e2, t2) => {
4892
4892
  const n2 = vue.resolveComponent("el-time-picker"), a2 = vue.resolveComponent("el-date-picker"), l2 = vue.resolveComponent("el-form-item");
4893
- return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: m, required: c.value.required, class: vue.normalizeClass(vue.unref(u) + (o.value ? " " + o.value : "")), "label-width": c.value.labelWidth, style: vue.normalizeStyle(vue.unref(r)) }, { label: vue.withCtx(() => [c.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: g, style: vue.normalizeStyle({ ...vue.unref(i2), ...vue.unref(s) }) }, [c.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: c.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(c.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => ["time" == c.value.dateType || "timerange" == c.value.dateType ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "componentRef", ref: v, "is-range": "timerange" == c.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: c.value.clearable, disabled: "disabled" === c.value.state, readonly: "readonly" === c.value.state, size: c.value.size, placeholder: c.value.placeholder, "start-placeholder": c.value.placeholder, "end-placeholder": c.value.endPlaceholder ? c.value.endPlaceholder : c.value.placeholder, "unlink-panels": true, format: c.value.format, "value-format": c.value.valueFormat, modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => C.value = e3), shortcuts: y.value, type: c.value.dateType, onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onVisibleChange: t2[4] || (t2[4] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: t2[5] || (t2[5] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "panel-change")), onClear: t2[6] || (t2[6] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : "combined" !== c.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(c.value.dateType) ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DatePickerRange), { key: 1, modelValue: C.value, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => C.value = e3), type: c.value.dateType, disabled: "disabled" === c.value.state, readonly: "readonly" === c.value.state, clearable: c.value.clearable, format: c.value.format, "value-format": c.value.valueFormat, placeholder: c.value.placeholder, "start-placeholder": c.value.placeholder, "end-placeholder": c.value.endPlaceholder ? c.value.endPlaceholder : c.value.placeholder, size: c.value.size, shortcuts: y.value, onChange: t2[8] || (t2[8] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[9] || (t2[9] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[10] || (t2[10] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onVisibleChange: t2[11] || (t2[11] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: t2[12] || (t2[12] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "panel-change")), onClear: t2[13] || (t2[13] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : (vue.openBlock(), vue.createBlock(a2, { key: 2, ref_key: "componentRef", ref: v, clearable: c.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === c.value.state, readonly: "readonly" === c.value.state, size: c.value.size, placeholder: c.value.placeholder, "start-placeholder": c.value.placeholder, "end-placeholder": c.value.endPlaceholder ? c.value.endPlaceholder : c.value.placeholder, format: c.value.format, "value-format": c.value.valueFormat, modelValue: C.value, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => C.value = e3), shortcuts: y.value, type: c.value.dateType, onChange: t2[15] || (t2[15] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[16] || (t2[16] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[17] || (t2[17] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onVisibleChange: t2[18] || (t2[18] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: t2[19] || (t2[19] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "panel-change")), onClear: t2[20] || (t2[20] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4893
+ return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: m, required: c.value.required, class: vue.normalizeClass(vue.unref(i2) + (o.value ? " " + o.value : "")), "label-width": c.value.labelWidth, style: vue.normalizeStyle(vue.unref(r)) }, { label: vue.withCtx(() => [c.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: g, style: vue.normalizeStyle({ ...vue.unref(u), ...vue.unref(s) }) }, [c.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: c.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(c.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => ["time" == c.value.dateType || "timerange" == c.value.dateType ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "componentRef", ref: v, "is-range": "timerange" == c.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: c.value.clearable, disabled: "disabled" === c.value.state, readonly: "readonly" === c.value.state, size: c.value.size, placeholder: c.value.placeholder, "start-placeholder": c.value.placeholder, "end-placeholder": c.value.endPlaceholder ? c.value.endPlaceholder : c.value.placeholder, "unlink-panels": true, format: c.value.format, "value-format": c.value.valueFormat, modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => C.value = e3), shortcuts: y.value, type: c.value.dateType, onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onVisibleChange: t2[4] || (t2[4] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: t2[5] || (t2[5] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "panel-change")), onClear: t2[6] || (t2[6] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : "combined" !== c.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(c.value.dateType) ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DatePickerRange), { key: 1, modelValue: C.value, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => C.value = e3), type: c.value.dateType, disabled: "disabled" === c.value.state, readonly: "readonly" === c.value.state, clearable: c.value.clearable, format: c.value.format, "value-format": c.value.valueFormat, placeholder: c.value.placeholder, "start-placeholder": c.value.placeholder, "end-placeholder": c.value.endPlaceholder ? c.value.endPlaceholder : c.value.placeholder, size: c.value.size, shortcuts: y.value, onChange: t2[8] || (t2[8] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[9] || (t2[9] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[10] || (t2[10] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onVisibleChange: t2[11] || (t2[11] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: t2[12] || (t2[12] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "panel-change")), onClear: t2[13] || (t2[13] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : (vue.openBlock(), vue.createBlock(a2, { key: 2, ref_key: "componentRef", ref: v, clearable: c.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === c.value.state, readonly: "readonly" === c.value.state, size: c.value.size, placeholder: c.value.placeholder, "start-placeholder": c.value.placeholder, "end-placeholder": c.value.endPlaceholder ? c.value.endPlaceholder : c.value.placeholder, format: c.value.format, "value-format": c.value.valueFormat, modelValue: C.value, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => C.value = e3), shortcuts: y.value, type: c.value.dateType, onChange: t2[15] || (t2[15] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[16] || (t2[16] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[17] || (t2[17] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")), onVisibleChange: t2[18] || (t2[18] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "visible-change")), onPanelChange: t2[19] || (t2[19] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "panel-change")), onClear: t2[20] || (t2[20] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4894
4894
  };
4895
4895
  } }), datepickerRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$G }, Symbol.toStringTag, { value: "Module" })), _sfc_main$F = vue.defineComponent({ __name: "switch-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4896
4896
  const n = e, o = vue.ref(null), a = n.pageContext.entity ? n.pageContext.entity : {};
4897
4897
  let l = getFormModelFields(n.pageContext, n.configure);
4898
- const r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.headerStyle, c = r.titleExceedStyle, p = vue.ref(r.props ? r.props : {});
4898
+ const r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.headerStyle, c = r.titleExceedStyle, p = vue.ref(r.props ? r.props : {});
4899
4899
  let d = getVariableValue(a, l);
4900
4900
  function f(e2) {
4901
4901
  return void 0 !== p.value[e2] && null !== p.value[e2] && "" !== p.value[e2];
@@ -4916,14 +4916,14 @@
4916
4916
  o.value = addRequiredClassUtil$1();
4917
4917
  } }), (e2, t2) => {
4918
4918
  const n2 = vue.resolveComponent("el-switch"), a2 = vue.resolveComponent("el-form-item");
4919
- return vue.openBlock(), vue.createBlock(a2, { ref_key: "formItemRef", ref: g, required: p.value.required, class: vue.normalizeClass(vue.unref(i2) + (o.value ? " " + o.value : "")), "label-width": p.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [p.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, style: vue.normalizeStyle({ ...vue.unref(s), ...vue.unref(c) }) }, vue.toDisplayString(vue.unref($t)(p.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: h, disabled: "disabled" === p.value.state, "active-value": p.value.activeValue, "active-text": p.value.activeText, "inactive-value": p.value.inactiveValue, "inactive-text": p.value.inactiveText, width: p.value.offOnWidth, size: p.value.size, style: vue.normalizeStyle(vue.unref(m)), modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => v.value = e3), onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4919
+ return vue.openBlock(), vue.createBlock(a2, { ref_key: "formItemRef", ref: g, required: p.value.required, class: vue.normalizeClass(vue.unref(u) + (o.value ? " " + o.value : "")), "label-width": p.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [p.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, style: vue.normalizeStyle({ ...vue.unref(s), ...vue.unref(c) }) }, vue.toDisplayString(vue.unref($t)(p.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: h, disabled: "disabled" === p.value.state, "active-value": p.value.activeValue, "active-text": p.value.activeText, "inactive-value": p.value.inactiveValue, "inactive-text": p.value.inactiveText, width: p.value.offOnWidth, size: p.value.size, style: vue.normalizeStyle(vue.unref(m)), modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => v.value = e3), onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4920
4920
  };
4921
4921
  } }), switchRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$F }, Symbol.toStringTag, { value: "Module" })), _sfc_main$E = vue.defineComponent({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
4922
4922
  const n = e, o = vue.ref(null), a = n.pageContext.entity ? n.pageContext.entity : {};
4923
4923
  let l = getFormModelFields(n.pageContext, n.configure);
4924
4924
  const r = vue.computed({ get: () => getVariableValue(a, l), set(e2) {
4925
4925
  setVariableValue(a, l, e2), null != e2 && (o.value = "");
4926
- } }), u = n.configure.runtime ? n.configure.runtime : {}, i2 = u.style, s = u.class, c = u.headerStyle, p = u.titleExceedStyle, d = vue.ref(u.props ? u.props : {}), f = vue.ref(null), m = vue.ref(null), v = vue.ref(null);
4926
+ } }), i2 = n.configure.runtime ? n.configure.runtime : {}, u = i2.style, s = i2.class, c = i2.headerStyle, p = i2.titleExceedStyle, d = vue.ref(i2.props ? i2.props : {}), f = vue.ref(null), m = vue.ref(null), v = vue.ref(null);
4927
4927
  return vue.onMounted(() => {
4928
4928
  vue.nextTick(() => {
4929
4929
  const e2 = r.value;
@@ -4933,11 +4933,11 @@
4933
4933
  o.value = addRequiredClassUtil$1();
4934
4934
  } }), (e2, t2) => {
4935
4935
  const n2 = vue.resolveComponent("el-input-number"), a2 = vue.resolveComponent("el-form-item");
4936
- return vue.openBlock(), vue.createBlock(a2, { ref_key: "formItemRef", ref: f, required: d.value.required, class: vue.normalizeClass(vue.unref(s) + (o.value ? " " + o.value : "")), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: v, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, [d.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: d.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(d.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: m, disabled: "disabled" === d.value.state, readonly: "readonly" === d.value.state, controls: d.value.showButton, size: d.value.size, placeholder: d.value.placeholder, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3), precision: d.value.precision, step: d.value.step, min: d.value.min, max: d.value.max, onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4936
+ return vue.openBlock(), vue.createBlock(a2, { ref_key: "formItemRef", ref: f, required: d.value.required, class: vue.normalizeClass(vue.unref(s) + (o.value ? " " + o.value : "")), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: v, style: vue.normalizeStyle({ ...vue.unref(c), ...vue.unref(p) }) }, [d.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: d.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(d.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: m, disabled: "disabled" === d.value.state, readonly: "readonly" === d.value.state, controls: d.value.showButton, size: d.value.size, placeholder: d.value.placeholder, modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3), precision: d.value.precision, step: d.value.step, min: d.value.min, max: d.value.max, onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
4937
4937
  };
4938
4938
  } }), inputNumberRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$E }, Symbol.toStringTag, { value: "Module" })), _sfc_main$D = vue.defineComponent({ __name: "tag-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
4939
- const t = e, n = getFormModelFields(t.pageContext, t.configure), o = t.configure.runtime ? t.configure.runtime : {}, a = o.style, l = o.class, r = o.headerStyle, u = o.titleExceedStyle, i2 = vue.ref(o.props ? o.props : {});
4940
- let s = i2.value.formatting;
4939
+ const t = e, n = getFormModelFields(t.pageContext, t.configure), o = t.configure.runtime ? t.configure.runtime : {}, a = o.style, l = o.class, r = o.headerStyle, i2 = o.titleExceedStyle, u = vue.ref(o.props ? o.props : {});
4940
+ let s = u.value.formatting;
4941
4941
  const c = t.pageContext.entity ? t.pageContext.entity : {}, p = vue.computed(() => {
4942
4942
  let e2 = getVariableValue(c, n);
4943
4943
  null == e2 && (e2 = []), Array.isArray(e2) || (e2 = (e2 + "").split(","));
@@ -4958,8 +4958,8 @@
4958
4958
  });
4959
4959
  }), (e2, o2) => {
4960
4960
  const s2 = vue.resolveComponent("el-tag"), m = vue.resolveComponent("el-form-item");
4961
- return vue.openBlock(), vue.createBlock(m, { ref_key: "formItemRef", ref: d, required: i2.value.required, class: vue.normalizeClass(vue.unref(l)), "label-width": i2.value.labelWidth, style: vue.normalizeStyle(vue.unref(a)) }, { label: vue.withCtx(() => [i2.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: f, style: vue.normalizeStyle({ ...vue.unref(r), ...vue.unref(u) }) }, vue.toDisplayString(vue.unref($t)(i2.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(p.value, (a2) => (vue.openBlock(), vue.createBlock(s2, { key: a2, size: i2.value.size, closable: i2.value.closable, type: i2.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, o3) {
4962
- if (i2.value.closable) {
4961
+ return vue.openBlock(), vue.createBlock(m, { ref_key: "formItemRef", ref: d, required: u.value.required, class: vue.normalizeClass(vue.unref(l)), "label-width": u.value.labelWidth, style: vue.normalizeStyle(vue.unref(a)) }, { label: vue.withCtx(() => [u.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: f, style: vue.normalizeStyle({ ...vue.unref(r), ...vue.unref(i2) }) }, vue.toDisplayString(vue.unref($t)(u.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(p.value, (a2) => (vue.openBlock(), vue.createBlock(s2, { key: a2, size: u.value.size, closable: u.value.closable, type: u.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, o3) {
4962
+ if (u.value.closable) {
4963
4963
  let e5 = getVariableValue(c, n);
4964
4964
  null == e5 && (e5 = []);
4965
4965
  const t2 = Array.isArray(e5);
@@ -4975,7 +4975,7 @@
4975
4975
  o.whitelist = n, Quill.register(o, true);
4976
4976
  const a = [false, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], l = Quill.import("attributors/style/font");
4977
4977
  l.whitelist = a, Quill.register(l, true);
4978
- const r = e, u = vue.ref(""), i2 = r.pageContext.entity ? r.pageContext.entity : {}, s = getFormModelFields(r.pageContext, r.configure), c = r.configure.runtime ? r.configure.runtime : {}, p = c.style, d = c.class, f = c.headerStyle, m = c.titleExceedStyle, v = vue.ref(c.props ? c.props : {});
4978
+ const r = e, i2 = vue.ref(""), u = r.pageContext.entity ? r.pageContext.entity : {}, s = getFormModelFields(r.pageContext, r.configure), c = r.configure.runtime ? r.configure.runtime : {}, p = c.style, d = c.class, f = c.headerStyle, m = c.titleExceedStyle, v = vue.ref(c.props ? c.props : {});
4979
4979
  let g = getSizeConfig(r.pageContext, r.configure);
4980
4980
  g && g.fixHeight && (p.height || (p.height = g.fixHeight + "px"));
4981
4981
  let h = v.value.value;
@@ -5009,7 +5009,7 @@
5009
5009
  const t2 = e2.match(/serverPath=([^&"]+)/);
5010
5010
  return t2 ? t2[1] : "";
5011
5011
  }
5012
- function $(e2) {
5012
+ function U(e2) {
5013
5013
  if (!b) return;
5014
5014
  const t2 = function(e3) {
5015
5015
  let t3 = e3.replace(/<img data-uuid="(.*?)"/g, (e4, t4) => {
@@ -5028,7 +5028,7 @@
5028
5028
  });
5029
5029
  });
5030
5030
  }
5031
- const U = { bold: "加粗", italic: "斜体", underline: "下划线", strike: "删除线", blockquote: "引用", "code-block": "代码块", 'list[value="ordered"]': "有序列表", 'list[value="bullet"]': "无序列表", 'script[value="sub"]': "下标", 'script[value="super"]': "上标", 'indent[value="-1"]': "减少缩进", 'indent[value="+1"]': "增加缩进", 'direction[value="rtl"]': "文字方向", size: "字体大小", header: "标题", color: "字体颜色", background: "背景颜色", font: "字体", align: "对齐方式", clean: "清除格式", link: "链接", image: "图片" };
5031
+ const $ = { bold: "加粗", italic: "斜体", underline: "下划线", strike: "删除线", blockquote: "引用", "code-block": "代码块", 'list[value="ordered"]': "有序列表", 'list[value="bullet"]': "无序列表", 'script[value="sub"]': "下标", 'script[value="super"]': "上标", 'indent[value="-1"]': "减少缩进", 'indent[value="+1"]': "增加缩进", 'direction[value="rtl"]': "文字方向", size: "字体大小", header: "标题", color: "字体颜色", background: "背景颜色", font: "字体", align: "对齐方式", clean: "清除格式", link: "链接", image: "图片" };
5032
5032
  function j() {
5033
5033
  k.value = !k.value, vue.nextTick(() => {
5034
5034
  N();
@@ -5050,7 +5050,7 @@
5050
5050
  }
5051
5051
  function H(e2) {
5052
5052
  var _a;
5053
- b && (null !== e2.relatedTarget && ((_a = y.value) == null ? void 0 : _a.contains(e2.relatedTarget)) || handleFormEvent(b.root.innerHTML, r.pageContext, r.configure, "change", { entity: i2 }));
5053
+ b && (null !== e2.relatedTarget && ((_a = y.value) == null ? void 0 : _a.contains(e2.relatedTarget)) || handleFormEvent(b.root.innerHTML, r.pageContext, r.configure, "change", { entity: u }));
5054
5054
  }
5055
5055
  function Y(e2) {
5056
5056
  if ("img" === e2.target.localName) {
@@ -5063,14 +5063,14 @@
5063
5063
  const t2 = new FormData();
5064
5064
  t2.append("file", e2);
5065
5065
  const n2 = getBaseUrl(r.pageContext.backendUrl, r.pageContext.isTest);
5066
- return http.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
5066
+ return agilebuilderUi.http.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
5067
5067
  }
5068
5068
  function Q(e2, t2) {
5069
5069
  const n2 = e2.split(","), o2 = n2[0].match(/:(.*?);/), a2 = o2 ? o2[1] : "image/png", l2 = atob(n2[1]);
5070
5070
  let r2 = l2.length;
5071
- const u2 = new Uint8Array(r2);
5072
- for (; r2--; ) u2[r2] = l2.charCodeAt(r2);
5073
- return new File([u2], t2, { type: a2 });
5071
+ const i3 = new Uint8Array(r2);
5072
+ for (; r2--; ) i3[r2] = l2.charCodeAt(r2);
5073
+ return new File([i3], t2, { type: a2 });
5074
5074
  }
5075
5075
  return vue.onMounted(() => {
5076
5076
  var _a;
@@ -5082,15 +5082,15 @@
5082
5082
  const t2 = e3.className.match(/ql-([\w-]+)/);
5083
5083
  if (t2) {
5084
5084
  const n2 = t2[1], o2 = `${n2}[value="${e3.value}"]`;
5085
- U[o2] ? e3.setAttribute("data-tooltip", U[o2]) : U[n2] && e3.setAttribute("data-tooltip", U[n2]);
5085
+ $[o2] ? e3.setAttribute("data-tooltip", $[o2]) : $[n2] && e3.setAttribute("data-tooltip", $[n2]);
5086
5086
  }
5087
5087
  }), e2.querySelectorAll(".ql-picker").forEach((e3) => {
5088
5088
  const t2 = e3.className.match(/ql-(\w+)/);
5089
5089
  if (t2) {
5090
5090
  const n2 = t2[1];
5091
- if (U[n2]) {
5091
+ if ($[n2]) {
5092
5092
  const t3 = e3.querySelector(".ql-picker-label");
5093
- t3 && t3.setAttribute("data-tooltip", U[n2]);
5093
+ t3 && t3.setAttribute("data-tooltip", $[n2]);
5094
5094
  }
5095
5095
  }
5096
5096
  });
@@ -5100,7 +5100,7 @@
5100
5100
  e2 && e2.addEventListener("mousedown", (e3) => {
5101
5101
  e3.preventDefault();
5102
5102
  });
5103
- }(), $(C), (_a = y.value) == null ? void 0 : _a.addEventListener("focusout", H), b.on("text-change", async function(e2) {
5103
+ }(), U(C), (_a = y.value) == null ? void 0 : _a.addEventListener("focusout", H), b.on("text-change", async function(e2) {
5104
5104
  if (!b) return;
5105
5105
  const t2 = b.root.getElementsByTagName("img");
5106
5106
  for (const e3 of t2) if (!e3.getAttribute("data-uuid")) {
@@ -5130,11 +5130,11 @@
5130
5130
  _ = setTimeout(() => {
5131
5131
  if (!b) return;
5132
5132
  const e3 = b.root.innerHTML;
5133
- setVariableValue(i2, s, e3), e3 && (u.value = "");
5133
+ setVariableValue(u, s, e3), e3 && (i2.value = "");
5134
5134
  }, DEBOUNCE_DELAY);
5135
5135
  }(), L();
5136
5136
  }), L(), D = b.container, D.addEventListener("click", Y), N(), vue.nextTick(() => {
5137
- const e2 = getVariableValue(i2, s);
5137
+ const e2 = getVariableValue(u, s);
5138
5138
  handleAfterInitEvent(e2, r.pageContext, r.configure, { formItemRef: A.value, componentRef: F.value, titleRef: O.value, value: e2, entity: r.pageContext.entity.data, pageData: r.pageContext.entity.page });
5139
5139
  }));
5140
5140
  }), vue.onMounted(() => {
@@ -5142,42 +5142,42 @@
5142
5142
  }), vue.onBeforeUnmount(() => {
5143
5143
  document.removeEventListener("keydown", q), _ && clearTimeout(_), y.value && y.value.removeEventListener("focusout", H), D && D.removeEventListener("click", Y);
5144
5144
  }), t({ addRequiredClass: function() {
5145
- u.value = addRequiredClassUtil$1();
5145
+ i2.value = addRequiredClassUtil$1();
5146
5146
  }, setContent: function(e2) {
5147
- $(e2), L();
5147
+ U(e2), L();
5148
5148
  }, getContent: function() {
5149
5149
  return b ? b.root.innerHTML : "";
5150
5150
  } }), (e2, t2) => {
5151
- const n2 = vue.resolveComponent("View"), o2 = vue.resolveComponent("el-icon"), a2 = vue.resolveComponent("FullScreen"), l2 = vue.resolveComponent("Close"), r2 = vue.resolveComponent("el-form-item"), i3 = vue.resolveComponent("el-image-viewer"), s2 = vue.resolveComponent("el-dialog");
5152
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createVNode(r2, { required: v.value.required, class: vue.normalizeClass(vue.unref(d) + (u.value ? " " + u.value : "")), "label-width": v.value.labelWidth, style: vue.normalizeStyle(vue.unref(p)) }, { label: vue.withCtx(() => [v.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, style: vue.normalizeStyle({ ...vue.unref(f), ...vue.unref(m) }) }, vue.toDisplayString(vue.unref($t)(v.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createElementVNode("div", { class: vue.normalizeClass(["richtext-wrapper", { "is-fullscreen": k.value }]) }, [vue.createElementVNode("div", { ref_key: "quillEditorRef", ref: y, style: { width: "100%" } }, null, 512), vue.createElementVNode("div", _hoisted_1$h, [vue.createElementVNode("button", { class: "toolbar-btn", onClick: W, title: "预览" }, [vue.createVNode(o2, null, { default: vue.withCtx(() => [vue.createVNode(n2)]), _: 1 })]), vue.createElementVNode("button", { class: "toolbar-btn", onClick: j, title: k.value ? "退出全屏" : "全屏编辑" }, [k.value ? (vue.openBlock(), vue.createBlock(o2, { key: 1 }, { default: vue.withCtx(() => [vue.createVNode(l2)]), _: 1 })) : (vue.openBlock(), vue.createBlock(o2, { key: 0 }, { default: vue.withCtx(() => [vue.createVNode(a2)]), _: 1 }))], 8, _hoisted_2$7)]), vue.createElementVNode("div", _hoisted_3$4, [vue.createElementVNode("span", _hoisted_4$3, "字数:" + vue.toDisplayString(x.value), 1)]), w.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, t2[2] || (t2[2] = [vue.createElementVNode("div", { class: "loading-spinner" }, null, -1), vue.createElementVNode("span", null, "图片上传中...", -1)]))) : vue.createCommentVNode("", true)], 2)]), _: 1 }, 8, ["required", "class", "label-width", "style"]), B.value ? (vue.openBlock(), vue.createBlock(i3, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
5151
+ const n2 = vue.resolveComponent("View"), o2 = vue.resolveComponent("el-icon"), a2 = vue.resolveComponent("FullScreen"), l2 = vue.resolveComponent("Close"), r2 = vue.resolveComponent("el-form-item"), u2 = vue.resolveComponent("el-image-viewer"), s2 = vue.resolveComponent("el-dialog");
5152
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createVNode(r2, { required: v.value.required, class: vue.normalizeClass(vue.unref(d) + (i2.value ? " " + i2.value : "")), "label-width": v.value.labelWidth, style: vue.normalizeStyle(vue.unref(p)) }, { label: vue.withCtx(() => [v.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, style: vue.normalizeStyle({ ...vue.unref(f), ...vue.unref(m) }) }, vue.toDisplayString(vue.unref($t)(v.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createElementVNode("div", { class: vue.normalizeClass(["richtext-wrapper", { "is-fullscreen": k.value }]) }, [vue.createElementVNode("div", { ref_key: "quillEditorRef", ref: y, style: { width: "100%" } }, null, 512), vue.createElementVNode("div", _hoisted_1$h, [vue.createElementVNode("button", { class: "toolbar-btn", onClick: W, title: "预览" }, [vue.createVNode(o2, null, { default: vue.withCtx(() => [vue.createVNode(n2)]), _: 1 })]), vue.createElementVNode("button", { class: "toolbar-btn", onClick: j, title: k.value ? "退出全屏" : "全屏编辑" }, [k.value ? (vue.openBlock(), vue.createBlock(o2, { key: 1 }, { default: vue.withCtx(() => [vue.createVNode(l2)]), _: 1 })) : (vue.openBlock(), vue.createBlock(o2, { key: 0 }, { default: vue.withCtx(() => [vue.createVNode(a2)]), _: 1 }))], 8, _hoisted_2$7)]), vue.createElementVNode("div", _hoisted_3$4, [vue.createElementVNode("span", _hoisted_4$3, "字数:" + vue.toDisplayString(x.value), 1)]), w.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, t2[2] || (t2[2] = [vue.createElementVNode("div", { class: "loading-spinner" }, null, -1), vue.createElementVNode("span", null, "图片上传中...", -1)]))) : vue.createCommentVNode("", true)], 2)]), _: 1 }, 8, ["required", "class", "label-width", "style"]), B.value ? (vue.openBlock(), vue.createBlock(u2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
5153
5153
  B.value = false;
5154
5154
  }), "url-list": I.value }, null, 8, ["url-list"])) : vue.createCommentVNode("", true), vue.createVNode(s2, { modelValue: T.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => T.value = e3), title: "内容预览", width: "80%", "close-on-click-modal": true, "append-to-body": true, class: "richtext-preview-dialog" }, { default: vue.withCtx(() => [vue.createElementVNode("div", { class: "richtext-preview-content ql-editor", innerHTML: S.value }, null, 8, _hoisted_6$1)]), _: 1 }, 8, ["modelValue"])], 64);
5155
5155
  };
5156
- } }), richtextRuntime = _export_sfc(_sfc_main$C, [["__scopeId", "data-v-fd10cc69"]]), richtextRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: richtextRuntime }, Symbol.toStringTag, { value: "Module" })), _sfc_main$B = vue.defineComponent({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5156
+ } }), richtextRuntime = _export_sfc(_sfc_main$C, [["__scopeId", "data-v-34d362f9"]]), richtextRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: richtextRuntime }, Symbol.toStringTag, { value: "Module" })), _sfc_main$B = vue.defineComponent({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5157
5157
  const t = e, n = t.configure.runtime ? t.configure.runtime : {}, o = n.headerStyle, a = vue.ref(n.props ? n.props : {});
5158
5158
  let l = a.value.value;
5159
5159
  const r = vue.computed(() => {
5160
5160
  if (!l) return "";
5161
5161
  const e2 = formatVariableValue(t.pageContext, l);
5162
5162
  return null == e2 || null == e2 ? "" : e2;
5163
- }), u = vue.ref(null);
5163
+ }), i2 = vue.ref(null);
5164
5164
  return vue.onMounted(() => {
5165
5165
  vue.nextTick(() => {
5166
5166
  const e2 = r.value;
5167
- handleAfterInitEvent(e2, t.pageContext, t.configure, { componentRef: u.value, value: e2, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
5167
+ handleAfterInitEvent(e2, t.pageContext, t.configure, { componentRef: i2.value, value: e2, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
5168
5168
  });
5169
5169
  }), (e2, t2) => {
5170
5170
  const n2 = vue.resolveComponent("el-divider");
5171
- return vue.openBlock(), vue.createBlock(n2, { ref_key: "componentRef", ref: u, direction: a.value.direction, "border-style": a.value.borderType, "content-position": a.value.titlePosition, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, { default: vue.withCtx(() => [vue.createElementVNode("div", { style: vue.normalizeStyle(vue.unref(o)) }, vue.toDisplayString(r.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
5171
+ return vue.openBlock(), vue.createBlock(n2, { ref_key: "componentRef", ref: i2, direction: a.value.direction, "border-style": a.value.borderType, "content-position": a.value.titlePosition, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, { default: vue.withCtx(() => [vue.createElementVNode("div", { style: vue.normalizeStyle(vue.unref(o)) }, vue.toDisplayString(r.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
5172
5172
  };
5173
5173
  } }), dividerRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$B }, Symbol.toStringTag, { value: "Module" })), _sfc_main$A = vue.defineComponent({ __name: "separatelabel-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5174
- const n = e, o = vue.ref(null), a = n.configure.runtime ? n.configure.runtime : {}, l = a.style, r = a.class, u = a.headerStyle;
5174
+ const n = e, o = vue.ref(null), a = n.configure.runtime ? n.configure.runtime : {}, l = a.style, r = a.class, i2 = a.headerStyle;
5175
5175
  return vue.onMounted(() => {
5176
5176
  vue.nextTick(() => {
5177
5177
  const e2 = $t(n.configure.props.base.title);
5178
5178
  handleAfterInitEvent(e2, n.pageContext, n.configure, { componentRef: o.value, value: e2, entity: n.pageContext.entity.data, pageData: n.pageContext.entity.page });
5179
5179
  });
5180
- }), t({}), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(l)), class: vue.normalizeClass([vue.unref(r), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: o }, [vue.createElementVNode("div", { class: "label", style: vue.normalizeStyle(vue.unref(u)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(e2.configure.props.base.title)), 1)], 4)], 6));
5180
+ }), t({}), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(l)), class: vue.normalizeClass([vue.unref(r), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: o }, [vue.createElementVNode("div", { class: "label", style: vue.normalizeStyle(vue.unref(i2)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(e2.configure.props.base.title)), 1)], 4)], 6));
5181
5181
  } }), separatelabelRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$A }, Symbol.toStringTag, { value: "Module" })), _sfc_main$z = vue.defineComponent({ __name: "placeholder-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5182
5182
  const t = e, n = t.configure.runtime ? t.configure.runtime : {}, o = n.style, a = n.class, l = vue.ref(null), r = vue.ref(null);
5183
5183
  return vue.onMounted(() => {
@@ -5189,14 +5189,14 @@
5189
5189
  return vue.openBlock(), vue.createBlock(n2, { ref_key: "formItemRef", ref: l, class: vue.normalizeClass(vue.unref(a)), style: vue.normalizeStyle(vue.unref(o)) }, { default: vue.withCtx(() => [vue.createElementVNode("div", { ref_key: "componentRef", ref: r, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
5190
5190
  };
5191
5191
  } }), placeholderRuntime = _export_sfc(_sfc_main$z, [["__scopeId", "data-v-96fc65d8"]]), placeholderRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: placeholderRuntime }, Symbol.toStringTag, { value: "Module" })), _sfc_main$y = vue.defineComponent({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5192
- const t = e, n = getFormModelFields(t.pageContext, t.configure), o = t.configure.runtime ? t.configure.runtime : {}, a = o.style, l = o.class, r = o.headerStyle, u = vue.ref(o.props ? o.props : {});
5193
- u.value;
5194
- let i2 = u.value.formatting;
5192
+ const t = e, n = getFormModelFields(t.pageContext, t.configure), o = t.configure.runtime ? t.configure.runtime : {}, a = o.style, l = o.class, r = o.headerStyle, i2 = vue.ref(o.props ? o.props : {});
5193
+ i2.value;
5194
+ let u = i2.value.formatting;
5195
5195
  const s = t.pageContext.entity ? t.pageContext.entity : {}, c = vue.computed(() => {
5196
5196
  let e2 = getVariableValue(s, n);
5197
- return e2 = null == e2 || null == e2 ? "" : e2, i2 && (e2 = i2.replace(/\${value}/g, e2)), e2;
5197
+ return e2 = null == e2 || null == e2 ? "" : e2, u && (e2 = u.replace(/\${value}/g, e2)), e2;
5198
5198
  });
5199
- let p = u.value.tooltip, d = null;
5199
+ let p = i2.value.tooltip, d = null;
5200
5200
  p && (d = vue.computed(() => {
5201
5201
  let e2 = getVariableValue(s, n);
5202
5202
  return e2 = null == e2 || null == e2 ? "" : e2, p.replace(/\${value}/g, e2);
@@ -5208,13 +5208,13 @@
5208
5208
  handleAfterInitEvent(e2, t.pageContext, t.configure, { formItemRef: f.value, componentRef: m.value, titleRef: v.value, value: e2, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
5209
5209
  });
5210
5210
  }), (e2, t2) => {
5211
- const n2 = vue.resolveComponent("el-link"), o2 = vue.resolveComponent("el-tooltip"), i3 = vue.resolveComponent("el-form-item");
5212
- return vue.openBlock(), vue.createBlock(i3, { ref_key: "formItemRef", ref: f, class: vue.normalizeClass(vue.unref(l)), "label-width": u.value.labelWidth, style: vue.normalizeStyle(vue.unref(a)) }, { label: vue.withCtx(() => [u.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: v, style: vue.normalizeStyle({ ...vue.unref(r) }) }, vue.toDisplayString(vue.unref($t)(u.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(o2, { disabled: !vue.unref(d), content: vue.unref(d) }, { default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: m, disabled: "disabled" === u.value.state, type: u.value.type, underline: u.value.underline, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(c.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
5211
+ const n2 = vue.resolveComponent("el-link"), o2 = vue.resolveComponent("el-tooltip"), u2 = vue.resolveComponent("el-form-item");
5212
+ return vue.openBlock(), vue.createBlock(u2, { ref_key: "formItemRef", ref: f, class: vue.normalizeClass(vue.unref(l)), "label-width": i2.value.labelWidth, style: vue.normalizeStyle(vue.unref(a)) }, { label: vue.withCtx(() => [i2.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: v, style: vue.normalizeStyle({ ...vue.unref(r) }) }, vue.toDisplayString(vue.unref($t)(i2.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(o2, { disabled: !vue.unref(d), content: vue.unref(d) }, { default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: m, disabled: "disabled" === i2.value.state, type: i2.value.type, underline: i2.value.underline, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(c.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
5213
5213
  };
5214
5214
  } }), linkRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$y }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$g = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px" } }, _hoisted_2$6 = { style: { overflow: "hidden", "white-space": "nowrap" } }, _hoisted_3$3 = ["title"], _sfc_main$x = vue.defineComponent({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5215
5215
  const n = e, o = n.pageContext.entity ? n.pageContext.entity : {};
5216
5216
  let a = getFormModelFields(n.pageContext, n.configure);
5217
- const l = n.configure.runtime ? n.configure.runtime : {}, r = l.style, u = l.class, i2 = l.headerStyle, s = l.appendClass, c = l.appendStyle, p = l.titleExceedStyle, d = vue.ref(l.props ? l.props : {});
5217
+ const l = n.configure.runtime ? n.configure.runtime : {}, r = l.style, i2 = l.class, u = l.headerStyle, s = l.appendClass, c = l.appendStyle, p = l.titleExceedStyle, d = vue.ref(l.props ? l.props : {});
5218
5218
  const f = vue.ref(d.value.options ? d.value.options : []), m = d.value.formatType;
5219
5219
  d.value;
5220
5220
  const v = vue.computed(() => {
@@ -5237,14 +5237,14 @@
5237
5237
  f.value = e2 || [];
5238
5238
  } }), (e2, t2) => {
5239
5239
  const n2 = vue.resolveComponent("el-form-item");
5240
- return d.value.whetherTittle ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, class: vue.normalizeClass(vue.unref(u)), style: vue.normalizeStyle(vue.unref(r)) }, [vue.createElementVNode("div", _hoisted_1$g, vue.toDisplayString(d.value.title), 1)], 6)) : d.value.tittleShow ? (vue.openBlock(), vue.createBlock(n2, { key: 1, ref_key: "formItemRef", ref: g, required: !!d.value.required, class: vue.normalizeClass([vue.unref(u), d.value.contentAlign ? "form-item-align-" + d.value.contentAlign : "formNo" === d.value.showType ? "form-item-align-flex-end" : ""]), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(r)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, style: vue.normalizeStyle({ ...vue.unref(i2), ...vue.unref(p) }) }, vue.toDisplayString(vue.unref($t)(d.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createElementVNode("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: h, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, [vue.createElementVNode("span", _hoisted_2$6, [d.value.preIconValue || d.value.preText ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass({ "el-input__suffix": "outer" != d.value.iconPosition, "el-input-group__append": "outer" == d.value.iconPosition }), style: vue.normalizeStyle(vue.unref(c)) }, [d.value.preIconType && d.value.preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: d.value.preIconType, iconValue: d.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(d.value.preText)), 1)], 6)) : vue.createCommentVNode("", true), vue.createTextVNode("  " + vue.toDisplayString(v.value), 1)]), d.value.sufIconValue || d.value.sufText ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass({ "el-input__suffix": "outer" != d.value.iconPosition, "el-input-group__append": "outer" == d.value.iconPosition }) }, [d.value.sufIconType && d.value.sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: {}, iconType: d.value.sufIconType, iconValue: d.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createElementVNode("span", null, " " + vue.toDisplayString(vue.unref($t)(d.value.sufText)), 1)], 2)) : vue.createCommentVNode("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (vue.openBlock(), vue.createElementBlock("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, [vue.createElementVNode("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: v.value }, vue.toDisplayString(d.value.prefixIcon) + " " + vue.toDisplayString(v.value), 9, _hoisted_3$3), d.value.suffixTxt ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass(vue.unref(s)), style: vue.normalizeStyle(vue.unref(c)) }, vue.toDisplayString(d.value.suffixTxt), 7)) : vue.createCommentVNode("", true)]));
5240
+ return d.value.whetherTittle ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, class: vue.normalizeClass(vue.unref(i2)), style: vue.normalizeStyle(vue.unref(r)) }, [vue.createElementVNode("div", _hoisted_1$g, vue.toDisplayString(d.value.title), 1)], 6)) : d.value.tittleShow ? (vue.openBlock(), vue.createBlock(n2, { key: 1, ref_key: "formItemRef", ref: g, required: !!d.value.required, class: vue.normalizeClass([vue.unref(i2), d.value.contentAlign ? "form-item-align-" + d.value.contentAlign : "formNo" === d.value.showType ? "form-item-align-flex-end" : ""]), "label-width": d.value.labelWidth, style: vue.normalizeStyle(vue.unref(r)) }, { label: vue.withCtx(() => [d.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, style: vue.normalizeStyle({ ...vue.unref(u), ...vue.unref(p) }) }, vue.toDisplayString(vue.unref($t)(d.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createElementVNode("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: h, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, [vue.createElementVNode("span", _hoisted_2$6, [d.value.preIconValue || d.value.preText ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass({ "el-input__suffix": "outer" != d.value.iconPosition, "el-input-group__append": "outer" == d.value.iconPosition }), style: vue.normalizeStyle(vue.unref(c)) }, [d.value.preIconType && d.value.preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, iconType: d.value.preIconType, iconValue: d.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(d.value.preText)), 1)], 6)) : vue.createCommentVNode("", true), vue.createTextVNode("  " + vue.toDisplayString(v.value), 1)]), d.value.sufIconValue || d.value.sufText ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass({ "el-input__suffix": "outer" != d.value.iconPosition, "el-input-group__append": "outer" == d.value.iconPosition }) }, [d.value.sufIconType && d.value.sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 0, style: {}, iconType: d.value.sufIconType, iconValue: d.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), vue.createElementVNode("span", null, " " + vue.toDisplayString(vue.unref($t)(d.value.sufText)), 1)], 2)) : vue.createCommentVNode("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (vue.openBlock(), vue.createElementBlock("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => vue.unref(handleFormEvent)(t3, e2.pageContext, e2.configure, "click")) }, [vue.createElementVNode("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: v.value }, vue.toDisplayString(d.value.prefixIcon) + " " + vue.toDisplayString(v.value), 9, _hoisted_3$3), d.value.suffixTxt ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass(vue.unref(s)), style: vue.normalizeStyle(vue.unref(c)) }, vue.toDisplayString(d.value.suffixTxt), 7)) : vue.createCommentVNode("", true)]));
5241
5241
  };
5242
5242
  } }), labelRuntime = _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2ffad4a6"]]), labelRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: labelRuntime }, Symbol.toStringTag, { value: "Module" })), _sfc_main$w = vue.defineComponent({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5243
5243
  const n = e, o = vue.ref(null), a = vue.ref([]), l = n.pageContext.entity ? n.pageContext.entity : {};
5244
5244
  l.data || (l.data = {});
5245
- const r = l.data, u = l.page;
5246
- let i2 = getFormModelFields(n.pageContext, n.configure);
5247
- const s = i2.length > 0 ? i2[i2.length - 1] : n.configure.uuid, c = n.configure.runtime ? n.configure.runtime : {}, p = vue.ref(c.props ? c.props : {}), d = c.style, f = c.class, m = c.headerStyle, v = c.titleExceedStyle;
5245
+ const r = l.data, i2 = l.page;
5246
+ let u = getFormModelFields(n.pageContext, n.configure);
5247
+ const s = u.length > 0 ? u[u.length - 1] : n.configure.uuid, c = n.configure.runtime ? n.configure.runtime : {}, p = vue.ref(c.props ? c.props : {}), d = c.style, f = c.class, m = c.headerStyle, v = c.titleExceedStyle;
5248
5248
  c.props.deptScope && ("field" == c.props.deptScope && c.props.deptScopeField ? (T(), function(e2, t2) {
5249
5249
  if (0 === e2.indexOf("${fixed.")) return;
5250
5250
  const o2 = e2.match(/\${(.*?)}/);
@@ -5263,12 +5263,12 @@
5263
5263
  handleAfterInitEvent(e2, n.pageContext, n.configure, { formItemRef: g.value, componentRef: h.value, titleRef: C.value, value: e2, entity: n.pageContext.entity.data, pageData: n.pageContext.entity.page });
5264
5264
  });
5265
5265
  });
5266
- const y = vue.computed({ get: () => getVariableValue(l, i2), set(e2) {
5267
- setVariableValue(l, i2, e2), null != e2 && (o.value = "");
5266
+ const y = vue.computed({ get: () => getVariableValue(l, u), set(e2) {
5267
+ setVariableValue(l, u, e2), null != e2 && (o.value = "");
5268
5268
  } }), b = p.value.autoSetFields ? p.value.autoSetFields : [];
5269
5269
  let k = null;
5270
5270
  function x(e2, t2) {
5271
- k ? k === e2 && (i2.length > 0 ? handleFormEvent(getVariableValue(l, i2), n.pageContext, n.configure, "change") : handleFormEvent(t2, n.pageContext, n.configure, "change")) : e2 === s && handleFormEvent(t2, n.pageContext, n.configure, "change");
5271
+ k ? k === e2 && (u.length > 0 ? handleFormEvent(getVariableValue(l, u), n.pageContext, n.configure, "change") : handleFormEvent(t2, n.pageContext, n.configure, "change")) : e2 === s && handleFormEvent(t2, n.pageContext, n.configure, "change");
5272
5272
  }
5273
5273
  function w() {
5274
5274
  handleFormEvent(null, n.pageContext, n.configure, "click");
@@ -5281,11 +5281,11 @@
5281
5281
  o.value = addRequiredClassUtil$1();
5282
5282
  } }), (e2, t2) => {
5283
5283
  const n2 = vue.resolveComponent("OrganizationInput"), l2 = vue.resolveComponent("el-form-item");
5284
- return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: g, required: p.value.required, class: vue.normalizeClass(vue.unref(f) + (o.value ? " " + o.value : "")), "label-width": p.value.labelWidth, style: vue.normalizeStyle(vue.unref(d)) }, { label: vue.withCtx(() => [p.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, style: vue.normalizeStyle({ ...vue.unref(m), ...vue.unref(v) }) }, [p.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: p.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(p.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: h, disabled: "disabled" == p.value.state, multiple: p.value.multiple, treeType: p.value.treeType, value: y.value, models: vue.unref(r), departmentInfo: a.value, limitFilterColumn: p.value.limitFilterColumn, pageModels: vue.unref(u), fields: vue.unref(b), size: p.value.size, separator: p.value.separator, onSetValue: x, onShowTree: w }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
5284
+ return vue.openBlock(), vue.createBlock(l2, { ref_key: "formItemRef", ref: g, required: p.value.required, class: vue.normalizeClass(vue.unref(f) + (o.value ? " " + o.value : "")), "label-width": p.value.labelWidth, style: vue.normalizeStyle(vue.unref(d)) }, { label: vue.withCtx(() => [p.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: C, style: vue.normalizeStyle({ ...vue.unref(m), ...vue.unref(v) }) }, [p.value.prefixType ? (vue.openBlock(), vue.createBlock(_sfc_main$M, { key: 0, pageContext: e2.pageContext, property: p.value }, null, 8, ["pageContext", "property"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(p.value.title)), 1)], 64))], 4)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [vue.createVNode(n2, { ref_key: "componentRef", ref: h, disabled: "disabled" == p.value.state, multiple: p.value.multiple, treeType: p.value.treeType, value: y.value, models: vue.unref(r), departmentInfo: a.value, limitFilterColumn: p.value.limitFilterColumn, pageModels: vue.unref(i2), fields: vue.unref(b), size: p.value.size, separator: p.value.separator, onSetValue: x, onShowTree: w }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
5285
5285
  };
5286
5286
  } }), depttreeRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$w }, Symbol.toStringTag, { value: "Module" })), _sfc_main$v = vue.defineComponent({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5287
5287
  var _a, _b, _c, _d, _e, _f, _g;
5288
- const n = e, o = vue.ref(null), a = n.configure.runtime ? n.configure.runtime : {}, l = vue.ref(a.props ? a.props : {}), r = a.style, u = a.class, i2 = a.headerStyle, s = a.titleExceedStyle, c = n.pageContext.entity ? n.pageContext.entity : {}, p = n.configure.props.base ? n.configure.props.base : {}, d = w(p.prop), f = w(p.propName);
5288
+ const n = e, o = vue.ref(null), a = n.configure.runtime ? n.configure.runtime : {}, l = vue.ref(a.props ? a.props : {}), r = a.style, i2 = a.class, u = a.headerStyle, s = a.titleExceedStyle, c = n.pageContext.entity ? n.pageContext.entity : {}, p = n.configure.props.base ? n.configure.props.base : {}, d = w(p.prop), f = w(p.propName);
5289
5289
  let m = vue.ref({});
5290
5290
  m.value.isShowWatermark = void 0 === ((_b = (_a = n.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = n.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", m.value.content = ((_e = (_d = n.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = n.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", d && d.length > 1 && vue.watch(() => n.pageContext.entity[d[0]][d[1]], (e2) => {
5291
5291
  x(getVariableValue(c, d));
@@ -5295,8 +5295,8 @@
5295
5295
  if (e2) {
5296
5296
  const t2 = e2.split(",");
5297
5297
  if (t2.length > 0) {
5298
- const e3 = n.pageContext.backendUrl, o2 = commonUtil.getRelativeBaseUrl(e3 + "/common/fs-upload/search-file-names");
5299
- http.post(o2, t2).then((e4) => {
5298
+ const e3 = n.pageContext.backendUrl, o2 = agilebuilderUi.getRelativeBaseUrl(e3 + "/common/fs-upload/search-file-names");
5299
+ agilebuilderUi.http.post(o2, t2).then((e4) => {
5300
5300
  b.value = [];
5301
5301
  const n2 = [];
5302
5302
  for (let o3 = 0; o3 < t2.length; o3++) {
@@ -5343,14 +5343,14 @@
5343
5343
  o.value = addRequiredClassUtil$1();
5344
5344
  } }), (e2, t2) => {
5345
5345
  const n2 = vue.resolveComponent("el-form-item");
5346
- return l.value.tittleShow ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "formItemRef", ref: V, required: l.value.required, class: vue.normalizeClass(vue.unref(u) + (o.value ? " " + o.value : "")), "label-width": l.value.labelWidth, style: vue.normalizeStyle(vue.unref(r)) }, { label: vue.withCtx(() => [l.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: P, style: vue.normalizeStyle({ ...vue.unref(i2), ...vue.unref(s) }) }, vue.toDisplayString(vue.unref($t)(l.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [y.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.FsUploadNew), { key: 0, ref_key: "fileUploadRef", ref: C, style: { width: "100%" }, disabled: "disabled" === l.value.state, displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: 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, "file-info": k.value, "file-list": b.value, "system-code": e2.pageContext.systemCode, componentId: g.value, watermark: vue.unref(m), "on-success": S, "on-remove": _, "before-upload": T, pageContext: e2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : y.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.FsUploadNew), { key: 1, ref_key: "fileUploadRef", ref: C, style: { width: "100%" }, disabled: "disabled" === l.value.state, displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: 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, "file-info": k.value, "file-list": b.value, "system-code": e2.pageContext.systemCode, componentId: g.value, watermark: vue.unref(m), "on-success": S, "on-remove": _, "before-upload": T, pageContext: e2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : vue.createCommentVNode("", true);
5346
+ return l.value.tittleShow ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "formItemRef", ref: V, required: l.value.required, class: vue.normalizeClass(vue.unref(i2) + (o.value ? " " + o.value : "")), "label-width": l.value.labelWidth, style: vue.normalizeStyle(vue.unref(r)) }, { label: vue.withCtx(() => [l.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: P, style: vue.normalizeStyle({ ...vue.unref(u), ...vue.unref(s) }) }, vue.toDisplayString(vue.unref($t)(l.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [y.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.FsUploadNew), { key: 0, ref_key: "fileUploadRef", ref: C, style: { width: "100%" }, disabled: "disabled" === l.value.state, displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: 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, "file-info": k.value, "file-list": b.value, "system-code": e2.pageContext.systemCode, componentId: g.value, watermark: vue.unref(m), "on-success": S, "on-remove": _, "before-upload": T, pageContext: e2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : y.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.FsUploadNew), { key: 1, ref_key: "fileUploadRef", ref: C, style: { width: "100%" }, disabled: "disabled" === l.value.state, displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: 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, "file-info": k.value, "file-list": b.value, "system-code": e2.pageContext.systemCode, componentId: g.value, watermark: vue.unref(m), "on-success": S, "on-remove": _, "before-upload": T, pageContext: e2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : vue.createCommentVNode("", true);
5347
5347
  };
5348
5348
  } }), fileuploadRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$v }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$f = { class: "page-runtime-header-btn" }, _sfc_main$u = vue.defineComponent({ __name: "button-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5349
5349
  const n = e, o = n.configure.runtime ? n.configure.runtime : {}, a = vue.ref(o.props ? o.props : {}), l = o.style, r = o.class;
5350
- function u() {
5351
- return "disabled" === a.value.state || i2();
5352
- }
5353
5350
  function i2() {
5351
+ return "disabled" === a.value.state || u();
5352
+ }
5353
+ function u() {
5354
5354
  return void 0 !== n.pageContext.canClick && void 0 !== n.pageContext.clickUuid && (!n.pageContext.canClick && n.pageContext.clickUuid === n.configure.uuid);
5355
5355
  }
5356
5356
  const s = vue.ref(null);
@@ -5364,7 +5364,7 @@
5364
5364
  s.value && s.value.$el.click();
5365
5365
  } }), (e2, t2) => {
5366
5366
  const n2 = vue.resolveComponent("el-link"), o2 = vue.resolveComponent("el-button");
5367
- return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$f, [a.value.text ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "componentRef", ref: s, disabled: u(), class: vue.normalizeClass(vue.unref(r)), style: vue.normalizeStyle(vue.unref(l)), type: a.value.type, size: a.value.size, loading: i2(), onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "click")) }, { default: vue.withCtx(() => [a.value.title && "right" == a.value.iconPosition && !a.value.isTextIcon ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(a.value.title)) + " ", 1), a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true)], 64)) : vue.createCommentVNode("", true), a.value.iconType && a.value.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 1, iconType: a.value.iconType, iconValue: a.value.iconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), a.value.title && "right" != a.value.iconPosition && !a.value.isTextIcon ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(a.value.title)), 1)], 64)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (vue.openBlock(), vue.createBlock(o2, { key: 1, ref_key: "componentRef", ref: s, disabled: u(), class: vue.normalizeClass(vue.unref(r)), style: vue.normalizeStyle(vue.unref(l)), type: a.value.type, size: a.value.size, round: a.value.round, plain: a.value.plain, loading: i2(), onClick: t2[1] || (t2[1] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "click")) }, { default: vue.withCtx(() => [a.value.title && "right" == a.value.iconPosition ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(a.value.title)) + " ", 1), a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true)], 64)) : vue.createCommentVNode("", true), a.value.iconType && a.value.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 1, iconType: a.value.iconType, iconValue: a.value.iconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), a.value.title && "right" != a.value.iconPosition ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(a.value.title)), 1)], 64)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
5367
+ return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$f, [a.value.text ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "componentRef", ref: s, disabled: i2(), class: vue.normalizeClass(vue.unref(r)), style: vue.normalizeStyle(vue.unref(l)), type: a.value.type, size: a.value.size, loading: u(), onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "click")) }, { default: vue.withCtx(() => [a.value.title && "right" == a.value.iconPosition && !a.value.isTextIcon ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(a.value.title)) + " ", 1), a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true)], 64)) : vue.createCommentVNode("", true), a.value.iconType && a.value.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 1, iconType: a.value.iconType, iconValue: a.value.iconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), a.value.title && "right" != a.value.iconPosition && !a.value.isTextIcon ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(a.value.title)), 1)], 64)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (vue.openBlock(), vue.createBlock(o2, { key: 1, ref_key: "componentRef", ref: s, disabled: i2(), class: vue.normalizeClass(vue.unref(r)), style: vue.normalizeStyle(vue.unref(l)), type: a.value.type, size: a.value.size, round: a.value.round, plain: a.value.plain, loading: u(), onClick: t2[1] || (t2[1] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "click")) }, { default: vue.withCtx(() => [a.value.title && "right" == a.value.iconPosition ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(a.value.title)) + " ", 1), a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true)], 64)) : vue.createCommentVNode("", true), a.value.iconType && a.value.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), { key: 1, iconType: a.value.iconType, iconValue: a.value.iconValue }, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true), a.value.title && "right" != a.value.iconPosition ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [a.value.iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode("   ")], 64)) : vue.createCommentVNode("", true), vue.createTextVNode(" " + vue.toDisplayString(vue.unref($t)(a.value.title)), 1)], 64)) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
5368
5368
  };
5369
5369
  } }), buttonRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$u }, Symbol.toStringTag, { value: "Module" })), _sfc_main$t = vue.defineComponent({ __name: "buttongroup-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5370
5370
  const t = e, n = t.configure.runtime ? t.configure.runtime : {}, o = n.class, a = vue.computed(() => {
@@ -5383,11 +5383,11 @@
5383
5383
  } }), buttongroupRuntime = _export_sfc(_sfc_main$t, [["__scopeId", "data-v-9d55ce0b"]]), buttongroupRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: buttongroupRuntime }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$e = { key: 1 }, _sfc_main$s = vue.defineComponent({ __name: "dropdown-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5384
5384
  const t = e, n = t.configure.runtime ? t.configure.runtime : {}, o = n.style, a = n.class, l = vue.ref(n.props ? n.props : {});
5385
5385
  let r = null;
5386
- const u = (t.configure.props && t.configure.props.dataOrigin ? t.configure.props.dataOrigin : {}).optionValueSetType;
5387
- function i2(e2) {
5386
+ const i2 = (t.configure.props && t.configure.props.dataOrigin ? t.configure.props.dataOrigin : {}).optionValueSetType;
5387
+ function u(e2) {
5388
5388
  handleFormEvent(e2, t.pageContext, t.configure, e2 ? "menuShow" : "menuHidden");
5389
5389
  }
5390
- r = "variable" == u ? vue.computed(() => {
5390
+ r = "variable" == i2 ? vue.computed(() => {
5391
5391
  let e2;
5392
5392
  const n2 = formatVariableValue(t.pageContext, l.value.menuField);
5393
5393
  if (n2 && Array.isArray(n2)) {
@@ -5409,20 +5409,20 @@
5409
5409
  handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: s.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
5410
5410
  });
5411
5411
  }), (e2, t2) => {
5412
- const n2 = vue.resolveComponent("el-button"), u2 = vue.resolveComponent("el-icon"), c = vue.resolveComponent("el-text"), p = vue.resolveComponent("el-dropdown-item"), d = vue.resolveComponent("el-dropdown-menu"), f = vue.resolveComponent("el-dropdown");
5413
- return vue.openBlock(), vue.createBlock(f, { ref_key: "componentRef", ref: s, class: vue.normalizeClass(vue.unref(a)), style: vue.normalizeStyle(vue.unref(o)), placement: l.value.placement, "split-button": l.value.splitButton, disabled: "disabled" === l.value.state, type: l.value.buttonType, size: l.value.size, trigger: l.value.trigger, onVisibleChange: i2 }, { dropdown: vue.withCtx(() => [vue.createVNode(d, null, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(r), (t3, n3) => (vue.openBlock(), vue.createBlock(p, { key: t3, onClick: (n4) => vue.unref(handleEvent)(n4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: vue.withCtx(() => ["button" === l.value.triggerElement ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [l.value.splitButton ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$e, vue.toDisplayString(l.value.title), 1)) : (vue.openBlock(), vue.createBlock(n2, { key: 0, size: l.value.size, type: l.value.buttonType }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(l.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (vue.openBlock(), vue.createBlock(c, { key: 1 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(l.value.title)) + " ", 1), vue.createVNode(u2, null, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.ArrowDown))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
5412
+ const n2 = vue.resolveComponent("el-button"), i3 = vue.resolveComponent("el-icon"), c = vue.resolveComponent("el-text"), p = vue.resolveComponent("el-dropdown-item"), d = vue.resolveComponent("el-dropdown-menu"), f = vue.resolveComponent("el-dropdown");
5413
+ return vue.openBlock(), vue.createBlock(f, { ref_key: "componentRef", ref: s, class: vue.normalizeClass(vue.unref(a)), style: vue.normalizeStyle(vue.unref(o)), placement: l.value.placement, "split-button": l.value.splitButton, disabled: "disabled" === l.value.state, type: l.value.buttonType, size: l.value.size, trigger: l.value.trigger, onVisibleChange: u }, { dropdown: vue.withCtx(() => [vue.createVNode(d, null, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(r), (t3, n3) => (vue.openBlock(), vue.createBlock(p, { key: t3, onClick: (n4) => vue.unref(handleEvent)(n4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: vue.withCtx(() => ["button" === l.value.triggerElement ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [l.value.splitButton ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$e, vue.toDisplayString(l.value.title), 1)) : (vue.openBlock(), vue.createBlock(n2, { key: 0, size: l.value.size, type: l.value.buttonType }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(l.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (vue.openBlock(), vue.createBlock(c, { key: 1 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(l.value.title)) + " ", 1), vue.createVNode(i3, null, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.ArrowDown))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
5414
5414
  };
5415
5415
  } }), dropdownRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$s }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$d = { key: 1 }, _sfc_main$r = vue.defineComponent({ __name: "printlabel-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5416
5416
  const t = e, n = t.configure.runtime ? t.configure.runtime : {}, o = vue.ref(n.props ? n.props : {}), a = vue.ref(false);
5417
5417
  o.value.template && o.value.template.length > 1 && (a.value = true);
5418
- const l = n.style, r = n.class, u = vue.ref(null);
5418
+ const l = n.style, r = n.class, i2 = vue.ref(null);
5419
5419
  return vue.onMounted(() => {
5420
5420
  vue.nextTick(() => {
5421
- a.value && handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: u.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
5421
+ a.value && handleAfterInitEvent(null, t.pageContext, t.configure, { componentRef: i2.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
5422
5422
  });
5423
5423
  }), (e2, t2) => {
5424
- const n2 = vue.resolveComponent("el-button"), i2 = vue.resolveComponent("ArrowDown"), s = vue.resolveComponent("el-icon"), c = vue.resolveComponent("el-text"), p = vue.resolveComponent("el-dropdown-item"), d = vue.resolveComponent("el-dropdown-menu"), f = vue.resolveComponent("el-dropdown");
5425
- return a.value ? (vue.openBlock(), vue.createBlock(f, { key: 1, ref_key: "componentRef", ref: u, class: vue.normalizeClass(vue.unref(r)), style: vue.normalizeStyle(vue.unref(l)), placement: o.value.placement, "split-button": o.value.splitButton, disabled: "disabled" === o.value.state, type: o.value.buttonType, size: o.value.size, trigger: o.value.trigger }, { dropdown: vue.withCtx(() => [vue.createVNode(d, null, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(o.value.template, (t3, n3) => (vue.openBlock(), vue.createBlock(p, { key: t3, onClick: (n4) => vue.unref(handleEvent)(n4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: vue.withCtx(() => ["button" === o.value.triggerElement ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [o.value.splitButton ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$d, vue.toDisplayString(vue.unref($t)(o.value.title)), 1)) : (vue.openBlock(), vue.createBlock(n2, { key: 0, size: o.value.size, type: o.value.buttonType, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "menuClick")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(o.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (vue.openBlock(), vue.createBlock(c, { key: 1 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(o.value.title)) + " ", 1), vue.createVNode(s, null, { default: vue.withCtx(() => [vue.createVNode(i2)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (vue.openBlock(), vue.createBlock(_sfc_main$u, { key: 0, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]));
5424
+ const n2 = vue.resolveComponent("el-button"), u = vue.resolveComponent("ArrowDown"), s = vue.resolveComponent("el-icon"), c = vue.resolveComponent("el-text"), p = vue.resolveComponent("el-dropdown-item"), d = vue.resolveComponent("el-dropdown-menu"), f = vue.resolveComponent("el-dropdown");
5425
+ return a.value ? (vue.openBlock(), vue.createBlock(f, { key: 1, ref_key: "componentRef", ref: i2, class: vue.normalizeClass(vue.unref(r)), style: vue.normalizeStyle(vue.unref(l)), placement: o.value.placement, "split-button": o.value.splitButton, disabled: "disabled" === o.value.state, type: o.value.buttonType, size: o.value.size, trigger: o.value.trigger }, { dropdown: vue.withCtx(() => [vue.createVNode(d, null, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(o.value.template, (t3, n3) => (vue.openBlock(), vue.createBlock(p, { key: t3, onClick: (n4) => vue.unref(handleEvent)(n4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: vue.withCtx(() => ["button" === o.value.triggerElement ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [o.value.splitButton ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$d, vue.toDisplayString(vue.unref($t)(o.value.title)), 1)) : (vue.openBlock(), vue.createBlock(n2, { key: 0, size: o.value.size, type: o.value.buttonType, onClick: t2[0] || (t2[0] = (t3) => vue.unref(handleEvent)(t3, e2.pageContext, e2.configure, "menuClick")) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(o.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (vue.openBlock(), vue.createBlock(c, { key: 1 }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(o.value.title)) + " ", 1), vue.createVNode(s, null, { default: vue.withCtx(() => [vue.createVNode(u)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (vue.openBlock(), vue.createBlock(_sfc_main$u, { key: 0, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]));
5426
5426
  };
5427
5427
  } }), printlabelRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$r }, Symbol.toStringTag, { value: "Module" })), _sfc_main$q = vue.defineComponent({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e) => (e2, t) => (vue.openBlock(), vue.createBlock(_sfc_main$u, { configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])) }), exportpdfRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$q }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$c = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" }, _sfc_main$p = vue.defineComponent({ __name: "workflowbutton-runtime", props: { pageContext: {}, configure: {} }, setup(e) {
5428
5428
  var _a, _b;
@@ -5474,20 +5474,20 @@
5474
5474
  } }), textflowRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$n }, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = vue.defineComponent({ __name: "workflownode-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5475
5475
  const n = e, o = vue.ref(false), a = n.pageContext.entity ? n.pageContext.entity : {};
5476
5476
  let l = getFormModelFields(n.pageContext, n.configure);
5477
- const r = n.configure.runtime ? n.configure.runtime : {}, u = vue.ref(r.props ? r.props : {}), i2 = r.class, s = r.headerStyle;
5477
+ const r = n.configure.runtime ? n.configure.runtime : {}, i2 = vue.ref(r.props ? r.props : {}), u = r.class, s = r.headerStyle;
5478
5478
  let c = vue.ref("");
5479
5479
  return "form" === n.pageContext.pageType && n.pageContext.entity && n.pageContext.entity.data && ("EXTRACT" === n.pageContext.entity.data.PROCESS_STATE || "EXTRACT" === n.pageContext.entity.data.process_state ? c.value = "抽单办理中" : c.value = n.pageContext.entity.data.CURRENT_ACTIVITY_NAME || n.pageContext.entity.data.current_activity_name, o.value = !!n.pageContext.entity.data.WORKFLOW_ID), vue.onMounted(() => {
5480
5480
  }), t({ getValue: function() {
5481
5481
  return getVariableValue(a, l);
5482
5482
  }, setValue: function(e2) {
5483
5483
  return setVariableValue(a, l, e2);
5484
- } }), (e2, t2) => o.value ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass(vue.unref(i2)) }, [vue.createElementVNode("span", { style: vue.normalizeStyle(vue.unref(s)) }, [vue.createElementVNode("span", null, vue.toDisplayString(u.value.title), 1), vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(c)), 1)], 4)], 2)) : vue.createCommentVNode("", true);
5484
+ } }), (e2, t2) => o.value ? (vue.openBlock(), vue.createElementBlock("span", { key: 0, class: vue.normalizeClass(vue.unref(u)) }, [vue.createElementVNode("span", { style: vue.normalizeStyle(vue.unref(s)) }, [vue.createElementVNode("span", null, vue.toDisplayString(i2.value.title), 1), vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(c)), 1)], 4)], 2)) : vue.createCommentVNode("", true);
5485
5485
  } }), workflownodeRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$m }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$9 = { class: "page-runtime-header-btn" }, _hoisted_2$5 = { class: "dialog-footer" }, _sfc_main$l = vue.defineComponent({ __name: "extract-workflow-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5486
- const n = e, o = vue.ref(), a = vue.ref(false), l = vue.ref(false), r = vue.ref({}), u = vue.ref({ loginName: [], opinion: [] }), i2 = n.configure.runtime ? n.configure.runtime : {}, s = vue.ref(i2.props ? i2.props : {}), c = i2.style, p = i2.class;
5486
+ const n = e, o = vue.ref(), a = vue.ref(false), l = vue.ref(false), r = vue.ref({}), i2 = vue.ref({ loginName: [], opinion: [] }), u = n.configure.runtime ? n.configure.runtime : {}, s = vue.ref(u.props ? u.props : {}), c = u.style, p = u.class;
5487
5487
  function d() {
5488
5488
  return void 0 !== n.pageContext.canClick && void 0 !== n.pageContext.clickUuid && (!n.pageContext.canClick && n.pageContext.clickUuid === n.configure.uuid);
5489
5489
  }
5490
- i2.props && (true === i2.props.requireExtractTransactor && (u.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }]), true === i2.props.isMustOpinion && (u.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }]));
5490
+ u.props && (true === u.props.requireExtractTransactor && (i2.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }]), true === u.props.isMustOpinion && (i2.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }]));
5491
5491
  const f = vue.ref(null);
5492
5492
  function m() {
5493
5493
  a.value = true;
@@ -5509,28 +5509,28 @@
5509
5509
  }), t({ click: function() {
5510
5510
  f.value && f.value.$el.click();
5511
5511
  } }), (e2, t2) => {
5512
- const n2 = vue.resolveComponent("el-button"), i3 = vue.resolveComponent("el-icon"), h = vue.resolveComponent("el-input"), C = vue.resolveComponent("el-form-item"), y = vue.resolveComponent("el-form"), b = vue.resolveComponent("el-dialog");
5513
- return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$9, [vue.createVNode(n2, { ref_key: "componentRef", ref: f, disabled: d(), class: vue.normalizeClass(vue.unref(p)), style: vue.normalizeStyle(vue.unref(c)), type: s.value.type, size: s.value.size, round: s.value.round, plain: s.value.plain, loading: d(), onClick: t2[0] || (t2[0] = (e3) => l.value = true) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(s.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), vue.createVNode(b, { modelValue: l.value, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => l.value = e3), title: "选择办理人", width: "500" }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$5, [vue.createVNode(n2, { onClick: t2[5] || (t2[5] = (e3) => l.value = false) }, { default: vue.withCtx(() => t2[7] || (t2[7] = [vue.createTextVNode("取消", -1)])), _: 1, __: [7] }), vue.createVNode(n2, { type: "primary", onClick: g }, { default: vue.withCtx(() => t2[8] || (t2[8] = [vue.createTextVNode(" 确定 ", -1)])), _: 1, __: [8] })])]), default: vue.withCtx(() => [vue.createVNode(y, { ref_key: "ruleFormRef", ref: o, style: { "max-width": "600px" }, model: r.value, rules: u.value, "label-width": "auto" }, { default: vue.withCtx(() => [vue.createVNode(C, { label: "办理人", prop: "loginName" }, { default: vue.withCtx(() => [vue.createVNode(h, { "model-value": r.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: t2[3] || (t2[3] = (e3) => m()) }, { append: vue.withCtx(() => [vue.createVNode(i3, { class: "el-input__icon", onClick: t2[1] || (t2[1] = (e3) => m()) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Search))]), _: 1 }), vue.createVNode(i3, { class: "el-input__icon", onClick: t2[2] || (t2[2] = (e3) => (r.value.loginName = "", void (r.value.name = ""))) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Delete))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), vue.createVNode(C, { label: "意见", prop: "opinion" }, { default: vue.withCtx(() => [vue.createVNode(h, { modelValue: r.value.opinion, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => r.value.opinion = e3), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), a.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DepartmentUserTree), { key: 0, width: "60%", multiple: false, onClose: v })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
5512
+ const n2 = vue.resolveComponent("el-button"), u2 = vue.resolveComponent("el-icon"), h = vue.resolveComponent("el-input"), C = vue.resolveComponent("el-form-item"), y = vue.resolveComponent("el-form"), b = vue.resolveComponent("el-dialog");
5513
+ return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$9, [vue.createVNode(n2, { ref_key: "componentRef", ref: f, disabled: d(), class: vue.normalizeClass(vue.unref(p)), style: vue.normalizeStyle(vue.unref(c)), type: s.value.type, size: s.value.size, round: s.value.round, plain: s.value.plain, loading: d(), onClick: t2[0] || (t2[0] = (e3) => l.value = true) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(vue.unref($t)(s.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), vue.createVNode(b, { modelValue: l.value, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => l.value = e3), title: "选择办理人", width: "500" }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$5, [vue.createVNode(n2, { onClick: t2[5] || (t2[5] = (e3) => l.value = false) }, { default: vue.withCtx(() => t2[7] || (t2[7] = [vue.createTextVNode("取消", -1)])), _: 1, __: [7] }), vue.createVNode(n2, { type: "primary", onClick: g }, { default: vue.withCtx(() => t2[8] || (t2[8] = [vue.createTextVNode(" 确定 ", -1)])), _: 1, __: [8] })])]), default: vue.withCtx(() => [vue.createVNode(y, { ref_key: "ruleFormRef", ref: o, style: { "max-width": "600px" }, model: r.value, rules: i2.value, "label-width": "auto" }, { default: vue.withCtx(() => [vue.createVNode(C, { label: "办理人", prop: "loginName" }, { default: vue.withCtx(() => [vue.createVNode(h, { "model-value": r.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: t2[3] || (t2[3] = (e3) => m()) }, { append: vue.withCtx(() => [vue.createVNode(u2, { class: "el-input__icon", onClick: t2[1] || (t2[1] = (e3) => m()) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Search))]), _: 1 }), vue.createVNode(u2, { class: "el-input__icon", onClick: t2[2] || (t2[2] = (e3) => (r.value.loginName = "", void (r.value.name = ""))) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Delete))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), vue.createVNode(C, { label: "意见", prop: "opinion" }, { default: vue.withCtx(() => [vue.createVNode(h, { modelValue: r.value.opinion, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => r.value.opinion = e3), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), a.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DepartmentUserTree), { key: 0, width: "60%", multiple: false, onClose: v })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
5514
5514
  };
5515
5515
  } }), extractWorkflowRuntime = _export_sfc(_sfc_main$l, [["__scopeId", "data-v-886732d1"]]), extractWorkflowRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: extractWorkflowRuntime }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$8 = { class: "dialog-footer" }, _sfc_main$k = vue.defineComponent({ __name: "extract-workflow-runtime-dialog", props: { pageContext: {}, configure: {} }, emits: ["destroy"], setup(e, { emit: t }) {
5516
- const n = t, o = e, a = vue.ref(), l = vue.ref(false), r = vue.ref(true), u = vue.ref({}), i2 = vue.ref({ loginName: [], opinion: [] }), s = o.configure.runtime ? o.configure.runtime : {};
5516
+ const n = t, o = e, a = vue.ref(), l = vue.ref(false), r = vue.ref(true), i2 = vue.ref({}), u = vue.ref({ loginName: [], opinion: [] }), s = o.configure.runtime ? o.configure.runtime : {};
5517
5517
  function c() {
5518
5518
  l.value = true;
5519
5519
  }
5520
5520
  function p(e2) {
5521
- l.value = false, u.value.loginName = e2 ? e2.loginName : "", u.value.name = e2 ? e2.name : "";
5521
+ l.value = false, i2.value.loginName = e2 ? e2.loginName : "", i2.value.name = e2 ? e2.name : "";
5522
5522
  }
5523
5523
  function d() {
5524
5524
  a.value.validate((e2, t2) => {
5525
- e2 && extractWorkflowFunc({ pageContext: o.pageContext, configureObj: o.configure, _value: { loginName: u.value.loginName, opinion: u.value.opinion } }).then(() => {
5525
+ e2 && extractWorkflowFunc({ pageContext: o.pageContext, configureObj: o.configure, _value: { loginName: i2.value.loginName, opinion: i2.value.opinion } }).then(() => {
5526
5526
  r.value = false, n("destroy");
5527
5527
  });
5528
5528
  });
5529
5529
  }
5530
- return s.props && (true === s.props.requireExtractTransactor && (i2.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }]), true === s.props.isMustOpinion && (i2.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }])), vue.onMounted(() => {
5530
+ return s.props && (true === s.props.requireExtractTransactor && (u.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }]), true === s.props.isMustOpinion && (u.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }])), vue.onMounted(() => {
5531
5531
  }), (e2, t2) => {
5532
5532
  const n2 = vue.resolveComponent("el-icon"), o2 = vue.resolveComponent("el-input"), s2 = vue.resolveComponent("el-form-item"), f = vue.resolveComponent("el-form"), m = vue.resolveComponent("el-button"), v = vue.resolveComponent("el-dialog");
5533
- return vue.openBlock(), vue.createBlock(v, { modelValue: r.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => r.value = e3), title: "选择办理人", width: "500" }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$8, [vue.createVNode(m, { onClick: t2[4] || (t2[4] = (e3) => r.value = false) }, { default: vue.withCtx(() => t2[6] || (t2[6] = [vue.createTextVNode("取消", -1)])), _: 1, __: [6] }), vue.createVNode(m, { type: "primary", onClick: d }, { default: vue.withCtx(() => t2[7] || (t2[7] = [vue.createTextVNode(" 确定 ", -1)])), _: 1, __: [7] })])]), default: vue.withCtx(() => [vue.createVNode(f, { ref_key: "ruleFormRef", ref: a, style: { "max-width": "600px" }, model: u.value, rules: i2.value, "label-width": "auto" }, { default: vue.withCtx(() => [vue.createVNode(s2, { label: "办理人", prop: "loginName" }, { default: vue.withCtx(() => [vue.createVNode(o2, { "model-value": u.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: t2[2] || (t2[2] = (e3) => c()) }, { append: vue.withCtx(() => [vue.createVNode(n2, { class: "el-input__icon", onClick: t2[0] || (t2[0] = (e3) => c()) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Search))]), _: 1 }), vue.createVNode(n2, { class: "el-input__icon", onClick: t2[1] || (t2[1] = (e3) => (u.value.loginName = "", void (u.value.name = ""))) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Delete))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), vue.createVNode(s2, { label: "意见", prop: "opinion" }, { default: vue.withCtx(() => [vue.createVNode(o2, { modelValue: u.value.opinion, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => u.value.opinion = e3), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), l.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DepartmentUserTree), { key: 0, width: "60%", multiple: false, onClose: p })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"]);
5533
+ return vue.openBlock(), vue.createBlock(v, { modelValue: r.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => r.value = e3), title: "选择办理人", width: "500" }, { footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$8, [vue.createVNode(m, { onClick: t2[4] || (t2[4] = (e3) => r.value = false) }, { default: vue.withCtx(() => t2[6] || (t2[6] = [vue.createTextVNode("取消", -1)])), _: 1, __: [6] }), vue.createVNode(m, { type: "primary", onClick: d }, { default: vue.withCtx(() => t2[7] || (t2[7] = [vue.createTextVNode(" 确定 ", -1)])), _: 1, __: [7] })])]), default: vue.withCtx(() => [vue.createVNode(f, { ref_key: "ruleFormRef", ref: a, style: { "max-width": "600px" }, model: i2.value, rules: u.value, "label-width": "auto" }, { default: vue.withCtx(() => [vue.createVNode(s2, { label: "办理人", prop: "loginName" }, { default: vue.withCtx(() => [vue.createVNode(o2, { "model-value": i2.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: t2[2] || (t2[2] = (e3) => c()) }, { append: vue.withCtx(() => [vue.createVNode(n2, { class: "el-input__icon", onClick: t2[0] || (t2[0] = (e3) => c()) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Search))]), _: 1 }), vue.createVNode(n2, { class: "el-input__icon", onClick: t2[1] || (t2[1] = (e3) => (i2.value.loginName = "", void (i2.value.name = ""))) }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Delete))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), vue.createVNode(s2, { label: "意见", prop: "opinion" }, { default: vue.withCtx(() => [vue.createVNode(o2, { modelValue: i2.value.opinion, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.value.opinion = e3), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), l.value ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.DepartmentUserTree), { key: 0, width: "60%", multiple: false, onClose: p })) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"]);
5534
5534
  };
5535
5535
  } }), extractWorkflowRuntimeDialog = _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a6bc44c9"]]), extractWorkflowRuntimeDialog$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: extractWorkflowRuntimeDialog }, Symbol.toStringTag, { value: "Module" }));
5536
5536
  function updateChartOption$4(e, t, n, o) {
@@ -5539,18 +5539,18 @@
5539
5539
  const a = o && o.result ? o.result : {};
5540
5540
  let l = o && o.groupValue ? o.groupValue : void 0;
5541
5541
  const r = t.serviceDataField;
5542
- let u = null;
5543
- r ? u = a[r] : a && (u = Array.isArray(a) ? a : [a]), u || (u = []), t.runtime.dataConfig.runtimeData = u;
5544
- let i2 = t.props ? t.props.groups : null;
5545
- if (i2 || (i2 = []), !l || 0 === l.length) {
5542
+ let i2 = null;
5543
+ r ? i2 = a[r] : a && (i2 = Array.isArray(a) ? a : [a]), i2 || (i2 = []), t.runtime.dataConfig.runtimeData = i2;
5544
+ let u = t.props ? t.props.groups : null;
5545
+ if (u || (u = []), !l || 0 === l.length) {
5546
5546
  l = [];
5547
- for (const e2 of i2) l.push(e2.group);
5547
+ for (const e2 of u) l.push(e2.group);
5548
5548
  }
5549
5549
  const s = {}, c = [], p = [];
5550
- for (const e2 of i2) s[e2.group] = e2.target, e2.target && !c.includes(e2.target) && (c.push(e2.target), l.includes(e2.group) && p.push(e2.target));
5550
+ for (const e2 of u) s[e2.group] = e2.target, e2.target && !c.includes(e2.target) && (c.push(e2.target), l.includes(e2.group) && p.push(e2.target));
5551
5551
  let d = t.props ? t.props.mulGroupShow : "";
5552
5552
  d = "break" == d ? "\r\n" : " ";
5553
- for (const e2 of u) {
5553
+ for (const e2 of i2) {
5554
5554
  if (!e2) continue;
5555
5555
  const t2 = [];
5556
5556
  for (const n3 of l) {
@@ -5560,7 +5560,7 @@
5560
5560
  const n2 = t2.join(d);
5561
5561
  e2[CommonName.X_FIELD_NAME] = n2;
5562
5562
  }
5563
- const f = t.items ? t.items : [], m = [], v = {}, g = [], h = {}, C = [], y = [], b = /* @__PURE__ */ new Set(), k = caculateFormulaValue(f, u, b);
5563
+ const f = t.items ? t.items : [], m = [], v = {}, g = [], h = {}, C = [], y = [], b = /* @__PURE__ */ new Set(), k = caculateFormulaValue(f, i2, b);
5564
5564
  for (const e2 of b) C.push(e2);
5565
5565
  for (const e2 of f) {
5566
5566
  const t2 = e2.props ? e2.props : {}, n2 = t2.yaxisSource, o2 = t2.yaxisField, a2 = t2.isCumulative;
@@ -5576,7 +5576,7 @@
5576
5576
  const x = {};
5577
5577
  if (g.length > 0) {
5578
5578
  const e2 = [], t2 = {};
5579
- for (const n2 of u) if (n2) for (const o2 of C) {
5579
+ for (const n2 of i2) if (n2) for (const o2 of C) {
5580
5580
  const a2 = n2[CommonName.X_FIELD_NAME];
5581
5581
  let l2 = t2[a2];
5582
5582
  if (!l2) {
@@ -5592,7 +5592,7 @@
5592
5592
  }
5593
5593
  for (const e3 of g) {
5594
5594
  const n2 = [];
5595
- for (const o2 of u) {
5595
+ for (const o2 of i2) {
5596
5596
  if (!o2) continue;
5597
5597
  const a2 = t2[o2[CommonName.X_FIELD_NAME]];
5598
5598
  if (!a2) continue;
@@ -5607,11 +5607,11 @@
5607
5607
  }
5608
5608
  x[e3] = n2;
5609
5609
  }
5610
- u = e2;
5610
+ i2 = e2;
5611
5611
  }
5612
- sortDatas(e, t, u), u = limitDatas(e, t, u, c, y);
5612
+ sortDatas(e, t, i2), i2 = limitDatas(e, t, i2, c, y);
5613
5613
  const w = [], T = {};
5614
- for (const t2 of u) if (t2) {
5614
+ for (const t2 of i2) if (t2) {
5615
5615
  for (const e2 of b) {
5616
5616
  const n2 = getValueFromSource(t2, e2, void 0);
5617
5617
  let o2 = T[e2];
@@ -5627,8 +5627,8 @@
5627
5627
  for (let l2 = 0; l2 < e2.length; l2++) {
5628
5628
  l2 >= a2.length && a2.push([]), o2 = a2[l2];
5629
5629
  const r2 = e2[l2];
5630
- let u2 = getValueFromSource(t2, r2, void 0);
5631
- n2.isCumulative && (u2 = T[r2]), o2.push(u2);
5630
+ let i3 = getValueFromSource(t2, r2, void 0);
5631
+ n2.isCumulative && (i3 = T[r2]), o2.push(i3);
5632
5632
  }
5633
5633
  } else if ("fixed" === n2.type) o2.push(n2.field);
5634
5634
  else if ("variable" === n2.type) {
@@ -5648,12 +5648,12 @@
5648
5648
  o2 = o2 || [];
5649
5649
  const a2 = n2.dynamicDatas ? n2.dynamicDatas : [];
5650
5650
  for (let l2 = 0; l2 < o2.length; l2++) {
5651
- const r2 = o2[l2], u2 = deepCopy(t2);
5651
+ const r2 = o2[l2], i3 = deepCopy(t2);
5652
5652
  if (n2.dynamicSeriesTitle) {
5653
5653
  const t3 = n2.dynamicSeriesTitle.replace("${name}", r2);
5654
- u2.name = formatVariableValue(e, t3);
5655
- } else u2.name = r2;
5656
- u2.data = l2 < a2.length ? a2[l2] : [], "bar" == t2.type && n2.dynamicShowStack && (u2.stack = t2.uuid), E.push(u2);
5654
+ i3.name = formatVariableValue(e, t3);
5655
+ } else i3.name = r2;
5656
+ i3.data = l2 < a2.length ? a2[l2] : [], "bar" == t2.type && n2.dynamicShowStack && (i3.stack = t2.uuid), E.push(i3);
5657
5657
  }
5658
5658
  } else t2.data = n2 ? n2.data : [], E.push(t2);
5659
5659
  }
@@ -5665,15 +5665,15 @@
5665
5665
  } else V && V.length > 0 && (V[0].data = w), n.xAxis = V, n.yAxis = P;
5666
5666
  formatToolboxI18n(n);
5667
5667
  const R = t.props ? t.props.selGroupVariable : null;
5668
- !(t.props ? t.props.enableDrill : null) && R && (t.highlightInfos = [], setValueForVariableName(e.entity, R, null)), handleChartEvent(e, t, "afterUpdateChart", n, { resultData: o }), t.groupFields = p, t.cacheDatas = u, t.rawResult = o;
5668
+ !(t.props ? t.props.enableDrill : null) && R && (t.highlightInfos = [], setValueForVariableName(e.entity, R, null)), handleChartEvent(e, t, "afterUpdateChart", n, { resultData: o }), t.groupFields = p, t.cacheDatas = i2, t.rawResult = o;
5669
5669
  }
5670
5670
  const _sfc_main$j = vue.defineComponent({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup(e) {
5671
5671
  const t = e;
5672
5672
  return vue.watch(t.headerInfo, () => {
5673
5673
  t.headerInfo;
5674
5674
  }), (t2, n) => {
5675
- const o = vue.resolveComponent("el-checkbox"), a = vue.resolveComponent("el-checkbox-group"), l = vue.resolveComponent("el-radio"), r = vue.resolveComponent("el-radio-button"), u = vue.resolveComponent("el-radio-group");
5676
- return "checkbox" == e.headerInfo.groupComponent ? (vue.openBlock(), vue.createBlock(a, { key: 0, modelValue: e.headerInfo.groupValue, "onUpdate:modelValue": n[0] || (n[0] = (t3) => e.headerInfo.groupValue = t3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.headerInfo.options, (e2) => (vue.openBlock(), vue.createBlock(o, { label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e.headerInfo.groupComponent ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(e.headerInfo.options, (t3) => (vue.openBlock(), vue.createBlock(l, { modelValue: e.headerInfo.groupValue, "onUpdate:modelValue": n[1] || (n[1] = (t4) => e.headerInfo.groupValue = t4), value: t3.value, label: t3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (vue.openBlock(), vue.createBlock(u, { key: 2, modelValue: e.headerInfo.groupValue, "onUpdate:modelValue": n[2] || (n[2] = (t3) => e.headerInfo.groupValue = t3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.headerInfo.options, (e2) => (vue.openBlock(), vue.createBlock(r, { label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
5675
+ const o = vue.resolveComponent("el-checkbox"), a = vue.resolveComponent("el-checkbox-group"), l = vue.resolveComponent("el-radio"), r = vue.resolveComponent("el-radio-button"), i2 = vue.resolveComponent("el-radio-group");
5676
+ return "checkbox" == e.headerInfo.groupComponent ? (vue.openBlock(), vue.createBlock(a, { key: 0, modelValue: e.headerInfo.groupValue, "onUpdate:modelValue": n[0] || (n[0] = (t3) => e.headerInfo.groupValue = t3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.headerInfo.options, (e2) => (vue.openBlock(), vue.createBlock(o, { label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e.headerInfo.groupComponent ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(e.headerInfo.options, (t3) => (vue.openBlock(), vue.createBlock(l, { modelValue: e.headerInfo.groupValue, "onUpdate:modelValue": n[1] || (n[1] = (t4) => e.headerInfo.groupValue = t4), value: t3.value, label: t3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (vue.openBlock(), vue.createBlock(i2, { key: 2, modelValue: e.headerInfo.groupValue, "onUpdate:modelValue": n[2] || (n[2] = (t3) => e.headerInfo.groupValue = t3) }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.headerInfo.options, (e2) => (vue.openBlock(), vue.createBlock(r, { label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
5677
5677
  };
5678
5678
  } }), _sfc_main$i = vue.defineComponent({ __name: "common-chart-header-breadcrumb", props: { headerInfo: { type: Object, required: true } }, emits: ["close-drill"], setup(e, { emit: t }) {
5679
5679
  const n = t;
@@ -5694,7 +5694,7 @@
5694
5694
  }), vue.onUnmounted(() => {
5695
5695
  r && clearTimeout(r);
5696
5696
  });
5697
- const u = vue.ref([]), i2 = () => {
5697
+ const i2 = vue.ref([]), u = () => {
5698
5698
  o.value = false;
5699
5699
  }, s = () => {
5700
5700
  const e2 = elementPlus.ElLoading.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
@@ -5716,27 +5716,27 @@
5716
5716
  let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), o2 = {};
5717
5717
  t2 && (o2 = JSON.parse(t2)), o2[n.configure.homeChartSettingUserId] = e2;
5718
5718
  const l2 = JSON.stringify(e2);
5719
- window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(o2)), a.value = JSON.parse(JSON.stringify(n.pageContext.entity)), http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: n.configure.homeChartSettingUserId, searchConditionsJson: l2 }).then((e3) => {
5719
+ window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(o2)), a.value = JSON.parse(JSON.stringify(n.pageContext.entity)), agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: n.configure.homeChartSettingUserId, searchConditionsJson: l2 }).then((e3) => {
5720
5720
  elementPlus.ElMessage.success("保存成功"), s();
5721
5721
  });
5722
5722
  }
5723
5723
  return t({ openSearch: () => {
5724
- o.value = true, u.value = n.configure.pushHomepage.searchConditions;
5724
+ o.value = true, i2.value = n.configure.pushHomepage.searchConditions;
5725
5725
  } }), (t2, n2) => {
5726
5726
  const a2 = vue.resolveComponent("el-empty"), r2 = vue.resolveComponent("el-form"), d = vue.resolveComponent("el-button"), f = vue.resolveComponent("el-dialog");
5727
- return vue.openBlock(), vue.createBlock(f, { modelValue: o.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e2) => o.value = e2), title: "筛选", close: i2, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$7, [u.value && 0 !== u.value.length ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(a2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (vue.openBlock(), vue.createBlock(r2, { key: l.value }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(u.value, (t3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, configure: t3, pageContext: e.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$4, [vue.createVNode(d, { type: "primary", onClick: s }, { default: vue.withCtx(() => n2[1] || (n2[1] = [vue.createTextVNode(" 确定 ", -1)])), _: 1, __: [1] }), vue.createVNode(d, { type: "default", onClick: c }, { default: vue.withCtx(() => n2[2] || (n2[2] = [vue.createTextVNode("重置", -1)])), _: 1, __: [2] }), vue.createVNode(d, { type: "primary", onClick: p }, { default: vue.withCtx(() => n2[3] || (n2[3] = [vue.createTextVNode(" 保存为默认条件 ", -1)])), _: 1, __: [3] })])]), _: 1 }, 8, ["modelValue"]);
5727
+ return vue.openBlock(), vue.createBlock(f, { modelValue: o.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e2) => o.value = e2), title: "筛选", close: u, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_1$7, [i2.value && 0 !== i2.value.length ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(a2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (vue.openBlock(), vue.createBlock(r2, { key: l.value }, { default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(i2.value, (t3) => (vue.openBlock(), vue.createBlock(_sfc_main$18, { key: t3.uuid, configure: t3, pageContext: e.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_2$4, [vue.createVNode(d, { type: "primary", onClick: s }, { default: vue.withCtx(() => n2[1] || (n2[1] = [vue.createTextVNode(" 确定 ", -1)])), _: 1, __: [1] }), vue.createVNode(d, { type: "default", onClick: c }, { default: vue.withCtx(() => n2[2] || (n2[2] = [vue.createTextVNode("重置", -1)])), _: 1, __: [2] }), vue.createVNode(d, { type: "primary", onClick: p }, { default: vue.withCtx(() => n2[3] || (n2[3] = [vue.createTextVNode(" 保存为默认条件 ", -1)])), _: 1, __: [3] })])]), _: 1 }, 8, ["modelValue"]);
5728
5728
  };
5729
- } }), commonHomepageSearch = _export_sfc(_sfc_main$h, [["__scopeId", "data-v-57964c4a"]]), _hoisted_1$6 = { class: "amb-widget-chart-header" }, _hoisted_2$3 = { class: "amb-widget-chart-header-item" }, _hoisted_3$2 = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, _hoisted_4$2 = { class: "amb-widget-chart-header-item" }, _hoisted_5$1 = { key: 0, class: "amb-widget-chart-header-item" }, _sfc_main$g = vue.defineComponent({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e, { expose: t, emit: n }) {
5729
+ } }), commonHomepageSearch = _export_sfc(_sfc_main$h, [["__scopeId", "data-v-6a44ac5e"]]), _hoisted_1$6 = { class: "amb-widget-chart-header" }, _hoisted_2$3 = { class: "amb-widget-chart-header-item" }, _hoisted_3$2 = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, _hoisted_4$2 = { class: "amb-widget-chart-header-item" }, _hoisted_5$1 = { key: 0, class: "amb-widget-chart-header-item" }, _sfc_main$g = vue.defineComponent({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e, { expose: t, emit: n }) {
5730
5730
  const o = e, a = vue.ref(null), l = vue.ref(), r = n;
5731
- function u(e2) {
5731
+ function i2(e2) {
5732
5732
  const t2 = o.headerInfo.drillOptions.length;
5733
5733
  if (e2 >= t2) o.headerInfo.drillOptions;
5734
5734
  else {
5735
5735
  for (let n2 = t2 - 1; n2 >= e2; n2--) o.headerInfo.drillOptions.splice(n2, 1);
5736
- i2(e2);
5736
+ u(e2);
5737
5737
  }
5738
5738
  }
5739
- function i2(e2) {
5739
+ function u(e2) {
5740
5740
  const t2 = {};
5741
5741
  for (let e3 of o.headerInfo.drillOptions) e3.fieldName && (t2[e3.fieldName] = e3.value);
5742
5742
  o.headerInfo.drillParams = t2, o.headerInfo.groupValue = o.headerInfo.options[e2].value, s();
@@ -5770,19 +5770,19 @@
5770
5770
  return s(t2 && e2.dataIndex < t2.length ? t2[e2.dataIndex] : void 0), void r("drill-end", e2);
5771
5771
  }
5772
5772
  o.headerInfo.options;
5773
- const a2 = o.headerInfo.options[n2], l2 = t2 && e2.dataIndex < t2.length ? t2[e2.dataIndex] : null, u2 = { fieldName: a2.target ? a2.target.replace(".", "_") : "", rawFieldName: a2.target ? a2.target : "", label: e2.name, value: e2.name, data: l2 };
5774
- o.headerInfo.drillOptions.push(u2), i2(n2 + 1);
5775
- }, closeDrill: u }), (t2, n2) => {
5773
+ const a2 = o.headerInfo.options[n2], l2 = t2 && e2.dataIndex < t2.length ? t2[e2.dataIndex] : null, i3 = { fieldName: a2.target ? a2.target.replace(".", "_") : "", rawFieldName: a2.target ? a2.target : "", label: e2.name, value: e2.name, data: l2 };
5774
+ o.headerInfo.drillOptions.push(i3), u(n2 + 1);
5775
+ }, closeDrill: i2 }), (t2, n2) => {
5776
5776
  const o2 = vue.resolveComponent("el-icon"), r2 = vue.resolveComponent("el-tooltip");
5777
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [vue.createElementVNode("div", _hoisted_2$3, [vue.withDirectives(vue.createElementVNode("label", { style: vue.normalizeStyle(e.headerInfo.style) }, vue.toDisplayString(e.headerInfo.title) + "  ", 5), [[vue.vShow, e.headerInfo.title && (!e.headerInfo.textAlign || "left" == e.headerInfo.textAlign)]]), !e.headerInfo.showDrill || e.headerInfo.groupPosition && "left" != e.headerInfo.groupPosition ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0, ref_key: "drillObjRef", ref: a, headerInfo: e.headerInfo, onCloseDrill: u }, null, 8, ["headerInfo"])), !e.headerInfo.showGroup || e.headerInfo.groupPosition && "left" != e.headerInfo.groupPosition ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(_sfc_main$j, { key: 1, headerInfo: e.headerInfo }, null, 8, ["headerInfo"]))]), vue.createElementVNode("div", _hoisted_3$2, [vue.withDirectives(vue.createElementVNode("label", { style: vue.normalizeStyle(e.headerInfo.style) }, vue.toDisplayString(e.headerInfo.title) + "  ", 5), [[vue.vShow, e.headerInfo.title && "center" == e.headerInfo.textAlign]]), e.headerInfo.showDrill && "center" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0, headerInfo: e.headerInfo, onCloseDrill: u, ref_key: "drillObjRef", ref: a }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true), e.headerInfo.showGroup && "center" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$j, { key: 1, headerInfo: e.headerInfo }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_4$2, [vue.withDirectives(vue.createElementVNode("label", { style: vue.normalizeStyle(e.headerInfo.style) }, vue.toDisplayString(e.headerInfo.title) + "  ", 5), [[vue.vShow, e.headerInfo.title && "right" == e.headerInfo.textAlign]]), e.headerInfo.showDrill && "right" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0, headerInfo: e.headerInfo, onCloseDrill: u, ref_key: "drillObjRef", ref: a }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true), e.headerInfo.showGroup && "right" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$j, { key: 1, headerInfo: e.headerInfo }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true)]), e.pageContext.showHomepageSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [vue.createVNode(r2, { content: "打开查询弹窗", effect: "light" }, { default: vue.withCtx(() => [vue.createVNode(o2, { onClick: c }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Search))]), _: 1 })]), _: 1 }), vue.createVNode(commonHomepageSearch, { ref_key: "commonHomepageSearchRef", ref: l, configure: e.configure, pageContext: e.pageContext }, null, 8, ["configure", "pageContext"])])) : vue.createCommentVNode("", true)]);
5777
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [vue.createElementVNode("div", _hoisted_2$3, [vue.withDirectives(vue.createElementVNode("label", { style: vue.normalizeStyle(e.headerInfo.style) }, vue.toDisplayString(e.headerInfo.title) + "  ", 5), [[vue.vShow, e.headerInfo.title && (!e.headerInfo.textAlign || "left" == e.headerInfo.textAlign)]]), !e.headerInfo.showDrill || e.headerInfo.groupPosition && "left" != e.headerInfo.groupPosition ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0, ref_key: "drillObjRef", ref: a, headerInfo: e.headerInfo, onCloseDrill: i2 }, null, 8, ["headerInfo"])), !e.headerInfo.showGroup || e.headerInfo.groupPosition && "left" != e.headerInfo.groupPosition ? vue.createCommentVNode("", true) : (vue.openBlock(), vue.createBlock(_sfc_main$j, { key: 1, headerInfo: e.headerInfo }, null, 8, ["headerInfo"]))]), vue.createElementVNode("div", _hoisted_3$2, [vue.withDirectives(vue.createElementVNode("label", { style: vue.normalizeStyle(e.headerInfo.style) }, vue.toDisplayString(e.headerInfo.title) + "  ", 5), [[vue.vShow, e.headerInfo.title && "center" == e.headerInfo.textAlign]]), e.headerInfo.showDrill && "center" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0, headerInfo: e.headerInfo, onCloseDrill: i2, ref_key: "drillObjRef", ref: a }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true), e.headerInfo.showGroup && "center" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$j, { key: 1, headerInfo: e.headerInfo }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true)]), vue.createElementVNode("div", _hoisted_4$2, [vue.withDirectives(vue.createElementVNode("label", { style: vue.normalizeStyle(e.headerInfo.style) }, vue.toDisplayString(e.headerInfo.title) + "  ", 5), [[vue.vShow, e.headerInfo.title && "right" == e.headerInfo.textAlign]]), e.headerInfo.showDrill && "right" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$i, { key: 0, headerInfo: e.headerInfo, onCloseDrill: i2, ref_key: "drillObjRef", ref: a }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true), e.headerInfo.showGroup && "right" == e.headerInfo.groupPosition ? (vue.openBlock(), vue.createBlock(_sfc_main$j, { key: 1, headerInfo: e.headerInfo }, null, 8, ["headerInfo"])) : vue.createCommentVNode("", true)]), e.pageContext.showHomepageSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [vue.createVNode(r2, { content: "打开查询弹窗", effect: "light" }, { default: vue.withCtx(() => [vue.createVNode(o2, { onClick: c }, { default: vue.withCtx(() => [vue.createVNode(vue.unref(iconsVue.Search))]), _: 1 })]), _: 1 }), vue.createVNode(commonHomepageSearch, { ref_key: "commonHomepageSearchRef", ref: l, configure: e.configure, pageContext: e.pageContext }, null, 8, ["configure", "pageContext"])])) : vue.createCommentVNode("", true)]);
5778
5778
  };
5779
5779
  } }), _sfc_main$f = vue.defineComponent({ __name: "column-line-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5780
5780
  core.use([renderers.CanvasRenderer, charts.LineChart, components.GridComponent, components.LegendComponent, components.TitleComponent, components.TooltipComponent, charts.BarChart, components.ToolboxComponent, components.DataZoomComponent]);
5781
- const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.props ? n.configure.props.enableDrill : null, u = n.configure.props ? n.configure.props.drillEndTrigger : null, i2 = n.configure.props ? n.configure.props.linkPage : null, s = {};
5782
- if (n.configure.items) for (const e2 of n.configure.items) e2.props && e2.props.linkPage && e2.props.linkPage.jumpPageUrl ? s[e2.uuid] = e2 : i2 && i2.jumpPageUrl && (s[e2.uuid] = n.configure);
5781
+ const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.props ? n.configure.props.enableDrill : null, i2 = n.configure.props ? n.configure.props.drillEndTrigger : null, u = n.configure.props ? n.configure.props.linkPage : null, s = {};
5782
+ if (n.configure.items) for (const e2 of n.configure.items) e2.props && e2.props.linkPage && e2.props.linkPage.jumpPageUrl ? s[e2.uuid] = e2 : u && u.jumpPageUrl && (s[e2.uuid] = n.configure);
5783
5783
  const c = n.configure.runtime ? n.configure.runtime : {}, p = c.style, d = c.class, f = c.dataConfig, m = c.headerInfo ? c.headerInfo : {}, v = c.chartOption, g = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
5784
5784
  function h(e2) {
5785
- "clearDrill" == u ? l.value && l.value.closeDrill && l.value.closeDrill(0) : "clickEvent" === u && C(e2);
5785
+ "clearDrill" == i2 ? l.value && l.value.closeDrill && l.value.closeDrill(0) : "clickEvent" === i2 && C(e2);
5786
5786
  }
5787
5787
  function C(e2) {
5788
5788
  if (e2.seriesIndex >= v.series.length) return;
@@ -5821,18 +5821,18 @@
5821
5821
  const a = o && o.result ? o.result : {};
5822
5822
  let l = o && o.groupValue ? o.groupValue : void 0;
5823
5823
  const r = t.serviceDataField;
5824
- let u = null;
5825
- r ? u = a[r] : a && (u = Array.isArray(a) ? a : [a]), u || (u = []);
5826
- let i2 = t.props ? t.props.groups : null;
5827
- if (i2 || (i2 = []), !l || 0 === l.length) {
5824
+ let i2 = null;
5825
+ r ? i2 = a[r] : a && (i2 = Array.isArray(a) ? a : [a]), i2 || (i2 = []);
5826
+ let u = t.props ? t.props.groups : null;
5827
+ if (u || (u = []), !l || 0 === l.length) {
5828
5828
  l = [];
5829
- for (const e2 of i2) l.push(e2.group);
5829
+ for (const e2 of u) l.push(e2.group);
5830
5830
  }
5831
5831
  const s = {}, c = [], p = [];
5832
- for (const e2 of i2) s[e2.group] = e2.target, e2.target && !c.includes(e2.target) && (c.push(e2.target), l.includes(e2.group) && p.push(e2.target));
5832
+ for (const e2 of u) s[e2.group] = e2.target, e2.target && !c.includes(e2.target) && (c.push(e2.target), l.includes(e2.group) && p.push(e2.target));
5833
5833
  let d = t.props ? t.props.mulGroupShow : "";
5834
5834
  d = "break" == d ? "\r\n" : " ";
5835
- for (const e2 of u) {
5835
+ for (const e2 of i2) {
5836
5836
  if (!e2) continue;
5837
5837
  const t2 = [];
5838
5838
  for (const n3 of l) {
@@ -5847,12 +5847,12 @@
5847
5847
  const m = t.props ? t.props : {};
5848
5848
  let v = m.yaxisField;
5849
5849
  if (f[0].props.yaxisField = v, f[0].props.yaxisSource = m.yaxisSource, f[0].props.formula = m.formula, "formula" === m.yaxisSource) {
5850
- const t2 = [], n2 = caculateFormulaValue(f, u, t2);
5850
+ const t2 = [], n2 = caculateFormulaValue(f, i2, t2);
5851
5851
  let o2 = m.formula ? m.formula : "";
5852
5852
  for (const e2 in n2) o2 = o2.replace(new RegExp(e2.replace("$", "\\$"), "g"), n2[e2]);
5853
5853
  v = CommonName.Y_TEMP_NAME;
5854
5854
  const a2 = {};
5855
- for (const n3 of u) {
5855
+ for (const n3 of i2) {
5856
5856
  if (!n3) continue;
5857
5857
  for (const e2 of t2) {
5858
5858
  const t3 = getValueFromSource(n3, e2, void 0);
@@ -5863,9 +5863,9 @@
5863
5863
  n3[v] = l2;
5864
5864
  }
5865
5865
  }
5866
- f[0].props.yaxisField = v, f[0].props.yaxisSource = "", sortDatas(e, t, u), u = limitDatas(e, t, u, c, [v]);
5866
+ f[0].props.yaxisField = v, f[0].props.yaxisSource = "", sortDatas(e, t, i2), i2 = limitDatas(e, t, i2, c, [v]);
5867
5867
  const g = [], h = [];
5868
- for (const e2 of u) {
5868
+ for (const e2 of i2) {
5869
5869
  if (!e2) continue;
5870
5870
  g.push(e2[CommonName.X_FIELD_NAME]);
5871
5871
  const t2 = getValueFromSource(e2, v, void 0);
@@ -5888,20 +5888,20 @@
5888
5888
  const x = deepCopy(C);
5889
5889
  x[0].data = k, n.series = [x[0]], formatToolboxI18n(n);
5890
5890
  const w = t.props ? t.props.selGroupVariable : null;
5891
- !(t.props ? t.props.enableDrill : null) && w && (t.highlightInfos = [], setValueForVariableName(e.entity, w, null)), handleChartEvent(e, t, "afterUpdateChart", n, { resultData: o }), t.groupFields = p, t.cacheDatas = u, t.rawResult = o;
5891
+ !(t.props ? t.props.enableDrill : null) && w && (t.highlightInfos = [], setValueForVariableName(e.entity, w, null)), handleChartEvent(e, t, "afterUpdateChart", n, { resultData: o }), t.groupFields = p, t.cacheDatas = i2, t.rawResult = o;
5892
5892
  }
5893
5893
  const _sfc_main$e = vue.defineComponent({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5894
5894
  core.use([renderers.CanvasRenderer, charts.PieChart, components.GridComponent, components.LegendComponent, components.TitleComponent, components.TooltipComponent, components.ToolboxComponent]);
5895
- const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.props ? n.configure.props.enableDrill : null, u = n.configure.props ? n.configure.props.drillEndTrigger : null, i2 = n.configure.props ? n.configure.props.linkPage : null, s = n.configure.runtime ? n.configure.runtime : {}, c = s.style, p = s.class, d = s.dataConfig, f = s.headerInfo ? s.headerInfo : {}, m = s.chartOption, v = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
5895
+ const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.props ? n.configure.props.enableDrill : null, i2 = n.configure.props ? n.configure.props.drillEndTrigger : null, u = n.configure.props ? n.configure.props.linkPage : null, s = n.configure.runtime ? n.configure.runtime : {}, c = s.style, p = s.class, d = s.dataConfig, f = s.headerInfo ? s.headerInfo : {}, m = s.chartOption, v = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
5896
5896
  function g(e2) {
5897
- "clearDrill" == u ? l.value && l.value.closeDrill && l.value.closeDrill(0) : "clickEvent" == u && h();
5897
+ "clearDrill" == i2 ? l.value && l.value.closeDrill && l.value.closeDrill(0) : "clickEvent" == i2 && h();
5898
5898
  }
5899
5899
  function h() {
5900
- i2 && i2.jumpPageUrl && doClickJumpPageEvent(n.pageContext, n.configure, void 0);
5900
+ u && u.jumpPageUrl && doClickJumpPageEvent(n.pageContext, n.configure, void 0);
5901
5901
  }
5902
5902
  initChartOption(n.configure, m), vue.onMounted(() => {
5903
5903
  const e2 = getChartDatasFromPage(n.pageContext, n.configure);
5904
- e2 && k(e2), a.value && (r || i2 && i2.jumpPageUrl) && a.value.chart.on("click", function(e3) {
5904
+ e2 && k(e2), a.value && (r || u && u.jumpPageUrl) && a.value.chart.on("click", function(e3) {
5905
5905
  r ? l.value && l.value.drill && l.value.drill(e3, n.configure.cacheDatas) : h();
5906
5906
  }), !r && n.configure.clickSet && a.value && monitorChartClickToVariable(n.pageContext, n.configure, a.value.chart);
5907
5907
  });
@@ -5928,11 +5928,11 @@
5928
5928
  const a = o && o.result ? o.result : {}, l = t.serviceDataField;
5929
5929
  let r = null;
5930
5930
  l ? r = a[l] : a && (r = [a]), r || (r = []);
5931
- const u = t.props ? t.props.nameSource : void 0, i2 = t.props ? t.props.nameField : void 0, s = t.props ? t.props.nameFixed : void 0, c = t.props ? t.props.yaxisField : void 0, p = [i2], d = [], f = [];
5931
+ const i2 = t.props ? t.props.nameSource : void 0, u = t.props ? t.props.nameField : void 0, s = t.props ? t.props.nameFixed : void 0, c = t.props ? t.props.yaxisField : void 0, p = [u], d = [], f = [];
5932
5932
  for (const t2 of r) {
5933
5933
  if (!t2) continue;
5934
5934
  let n2 = null;
5935
- n2 = "fixed" == u ? formatVariableValue(e, s) : getValueFromSource(t2, i2, void 0), d.push(n2);
5935
+ n2 = "fixed" == i2 ? formatVariableValue(e, s) : getValueFromSource(t2, u, void 0), d.push(n2);
5936
5936
  const o2 = getValueFromSource(t2, c, void 0);
5937
5937
  f.push(o2);
5938
5938
  }
@@ -5955,7 +5955,7 @@
5955
5955
  }
5956
5956
  const _sfc_main$d = vue.defineComponent({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
5957
5957
  core.use([renderers.CanvasRenderer, charts.GaugeChart, components.GridComponent, components.TitleComponent, components.TooltipComponent, components.ToolboxComponent]);
5958
- const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.dataConfig, c = r.headerInfo ? r.headerInfo : {}, p = r.chartOption, d = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
5958
+ const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.dataConfig, c = r.headerInfo ? r.headerInfo : {}, p = r.chartOption, d = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
5959
5959
  initChartOption(n.configure, p), vue.onMounted(() => {
5960
5960
  const e2 = getChartDatasFromPage(n.pageContext, n.configure);
5961
5961
  e2 && g(e2);
@@ -5973,7 +5973,7 @@
5973
5973
  }
5974
5974
  return monitorFieldChange(n.pageContext, v, m), t({ updateChartDatas: g, exportChart: function() {
5975
5975
  return exportCommonChart(a.value, c);
5976
- } }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(u)), class: vue.normalizeClass([vue.unref(i2), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: o }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: l, headerInfo: vue.unref(c), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(c).showHeader || e2.pageContext.showHomepageSearch]]), vue.createVNode(vue.unref(VChart), { ref_key: "chartRef", ref: a, class: "amb-chart-content", theme: vue.unref(d), option: vue.unref(p), autoresize: "" }, null, 8, ["theme", "option"])], 6));
5976
+ } }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(i2)), class: vue.normalizeClass([vue.unref(u), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: o }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: l, headerInfo: vue.unref(c), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(c).showHeader || e2.pageContext.showHomepageSearch]]), vue.createVNode(vue.unref(VChart), { ref_key: "chartRef", ref: a, class: "amb-chart-content", theme: vue.unref(d), option: vue.unref(p), autoresize: "" }, null, 8, ["theme", "option"])], 6));
5977
5977
  } }), gaugeRuntime = _export_sfc(_sfc_main$d, [["__scopeId", "data-v-6f349ab2"]]), gaugeRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: gaugeRuntime }, Symbol.toStringTag, { value: "Module" }));
5978
5978
  function updateChartOption$1(e, t, n, o) {
5979
5979
  if (!o || !o.result) return;
@@ -5981,8 +5981,8 @@
5981
5981
  const a = o && o.result ? o.result : {}, l = t.serviceDataField;
5982
5982
  let r = null;
5983
5983
  l ? r = a[l] : a && (r = Array.isArray(a) ? a : [a]), r || (r = []);
5984
- const u = t.items ? t.items : [], i2 = [], s = {}, c = [], p = caculateFormulaValue(u, r, c);
5985
- for (const e2 of u) {
5984
+ const i2 = t.items ? t.items : [], u = [], s = {}, c = [], p = caculateFormulaValue(i2, r, c);
5985
+ for (const e2 of i2) {
5986
5986
  const t2 = e2.props ? e2.props : {}, n2 = t2.yaxisSource, o2 = t2.yaxisField;
5987
5987
  let a2 = null;
5988
5988
  if (!o2 || n2 && "variable" != n2) if ("formula" == n2) {
@@ -5991,7 +5991,7 @@
5991
5991
  a2 = { uuid: e2.uuid, type: "formula", formula: n3, data: [] };
5992
5992
  } else a2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [] };
5993
5993
  else a2 = { uuid: e2.uuid, type: "variable", field: o2, data: [] };
5994
- a2 && (i2.push(a2), s[a2.uuid] = a2);
5994
+ a2 && (u.push(a2), s[a2.uuid] = a2);
5995
5995
  }
5996
5996
  const d = t.props ? t.props : {}, f = d.nameField, m = d.maxSource, v = d.maxField, g = d.maxFixed, h = [], C = {};
5997
5997
  for (const t2 of r) {
@@ -6004,7 +6004,7 @@
6004
6004
  let o3 = C[e2];
6005
6005
  void 0 === n3 || isNaN(n3) || (void 0 === o3 ? o3 = n3 : o3 += n3), C[e2] = o3;
6006
6006
  }
6007
- for (const n3 of i2) {
6007
+ for (const n3 of u) {
6008
6008
  const o3 = n3.data;
6009
6009
  if ("fixed" == n3.type) o3.push(n3.field);
6010
6010
  else if ("variable" == n3.type) {
@@ -6026,7 +6026,7 @@
6026
6026
  }
6027
6027
  const _sfc_main$c = vue.defineComponent({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
6028
6028
  core.use([renderers.CanvasRenderer, charts.RadarChart, components.GridComponent, components.TitleComponent, components.TooltipComponent, components.ToolboxComponent, components.LegendComponent]);
6029
- const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.dataConfig, c = r.headerInfo ? r.headerInfo : {}, p = r.chartOption, d = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
6029
+ const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.dataConfig, c = r.headerInfo ? r.headerInfo : {}, p = r.chartOption, d = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
6030
6030
  initChartOption(n.configure, p), vue.onMounted(() => {
6031
6031
  const e2 = getChartDatasFromPage(n.pageContext, n.configure);
6032
6032
  e2 && g(e2);
@@ -6044,7 +6044,7 @@
6044
6044
  }
6045
6045
  return monitorFieldChange(n.pageContext, v, m), t({ updateChartDatas: g, exportChart: function() {
6046
6046
  return exportCommonChart(a.value, c);
6047
- } }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(u)), class: vue.normalizeClass([vue.unref(i2), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: o }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: l, headerInfo: vue.unref(c), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(c).showHeader || e2.pageContext.showHomepageSearch]]), vue.createVNode(vue.unref(VChart), { ref_key: "chartRef", ref: a, class: "amb-chart-content", theme: vue.unref(d), option: vue.unref(p), autoresize: "" }, null, 8, ["theme", "option"])], 6));
6047
+ } }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(i2)), class: vue.normalizeClass([vue.unref(u), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: o }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: l, headerInfo: vue.unref(c), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(c).showHeader || e2.pageContext.showHomepageSearch]]), vue.createVNode(vue.unref(VChart), { ref_key: "chartRef", ref: a, class: "amb-chart-content", theme: vue.unref(d), option: vue.unref(p), autoresize: "" }, null, 8, ["theme", "option"])], 6));
6048
6048
  } }), radarRuntime = _export_sfc(_sfc_main$c, [["__scopeId", "data-v-42f5f123"]]), radarRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: radarRuntime }, Symbol.toStringTag, { value: "Module" }));
6049
6049
  function updateChartOption(e, t, n, o) {
6050
6050
  if (!o || !o.result) return;
@@ -6052,13 +6052,13 @@
6052
6052
  const a = o && o.result ? o.result : {}, l = t.serviceDataField;
6053
6053
  let r = null;
6054
6054
  l ? r = a[l] : a && (r = Array.isArray(a) ? a : [a]), r || (r = []);
6055
- const u = t.items ? t.items : [], i2 = [], s = {};
6056
- for (const e2 of u) {
6055
+ const i2 = t.items ? t.items : [], u = [], s = {};
6056
+ for (const e2 of i2) {
6057
6057
  const t2 = e2.props ? e2.props : {}, n2 = e2.props ? e2.style : {}, o2 = t2.xaxisField, a2 = t2.sizeField, l2 = { uuid: e2.uuid, xaxisField: o2, yaxisField: t2.yaxisField, yaxisSource: t2.yaxisSource, formula: t2.formula, sizeField: a2, symbolSize: n2.symbolSize, data: [] };
6058
- i2.push(l2), s[l2.uuid] = l2;
6058
+ u.push(l2), s[l2.uuid] = l2;
6059
6059
  }
6060
- const c = [], p = caculateFormulaValue(u, r, c);
6061
- for (const e2 of i2) if ("formula" === e2.yaxisSource) {
6060
+ const c = [], p = caculateFormulaValue(i2, r, c);
6061
+ for (const e2 of u) if ("formula" === e2.yaxisSource) {
6062
6062
  let t2 = e2.formula ? e2.formula : "";
6063
6063
  for (const e3 in p) t2 = t2.replace(new RegExp(e3.replace("$", "\\$"), "g"), p[e3]);
6064
6064
  e2.formula = t2;
@@ -6070,7 +6070,7 @@
6070
6070
  let o2 = d[e2];
6071
6071
  void 0 === n2 || isNaN(n2) || (void 0 === o2 ? o2 = n2 : o2 += n2), d[e2] = o2;
6072
6072
  }
6073
- for (const n2 of i2) {
6073
+ for (const n2 of u) {
6074
6074
  const o2 = n2.data, a2 = [];
6075
6075
  if (a2.push(getValueFromSource(t2, n2.xaxisField, void 0)), "formula" === n2.yaxisSource) {
6076
6076
  const o3 = executeChartFormula(n2.formula, d, t2, e);
@@ -6088,7 +6088,7 @@
6088
6088
  }
6089
6089
  const _sfc_main$b = vue.defineComponent({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
6090
6090
  core.use([renderers.CanvasRenderer, charts.ScatterChart, components.GridComponent, components.LegendComponent, components.TitleComponent, components.TooltipComponent, components.ToolboxComponent, components.DataZoomComponent]);
6091
- const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.dataConfig, c = r.headerInfo ? r.headerInfo : {}, p = r.chartOption, d = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
6091
+ const n = e, o = vue.ref(null), a = vue.ref(), l = vue.ref(null), r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.dataConfig, c = r.headerInfo ? r.headerInfo : {}, p = r.chartOption, d = getCustomTheme((n.configure.props ? n.configure.props : {}).customTheme);
6092
6092
  initChartOption(n.configure, p), vue.onMounted(() => {
6093
6093
  const e2 = getChartDatasFromPage(n.pageContext, n.configure);
6094
6094
  e2 && g(e2);
@@ -6106,7 +6106,7 @@
6106
6106
  }
6107
6107
  return monitorFieldChange(n.pageContext, v, m), t({ updateChartDatas: g, exportChart: function() {
6108
6108
  return exportCommonChart(a.value, c);
6109
- } }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(u)), class: vue.normalizeClass([vue.unref(i2), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: o }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: l, headerInfo: vue.unref(c), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(c).showHeader || e2.pageContext.showHomepageSearch]]), vue.createVNode(vue.unref(VChart), { ref_key: "chartRef", ref: a, class: "amb-chart-content", theme: vue.unref(d), option: vue.unref(p), autoresize: "" }, null, 8, ["theme", "option"])], 6));
6109
+ } }), (e2, t2) => (vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(i2)), class: vue.normalizeClass([vue.unref(u), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: o }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: l, headerInfo: vue.unref(c), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(c).showHeader || e2.pageContext.showHomepageSearch]]), vue.createVNode(vue.unref(VChart), { ref_key: "chartRef", ref: a, class: "amb-chart-content", theme: vue.unref(d), option: vue.unref(p), autoresize: "" }, null, 8, ["theme", "option"])], 6));
6110
6110
  } }), scatterRuntime = _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4a36176c"]]), scatterRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: scatterRuntime }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$5 = { key: 0 }, _hoisted_2$2 = { key: 1 }, _hoisted_3$1 = { key: 1 }, _hoisted_4$1 = { key: 2 }, _sfc_main$a = vue.defineComponent({ __name: "normal-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) } }, setup(e) {
6111
6111
  const t = e, n = vue.ref(false);
6112
6112
  let o = null;
@@ -6125,12 +6125,12 @@
6125
6125
  bus.$emit(n2 + "open-dialog", { pageContext: t.pageContext, configureObj: { props: a2 }, eventParams: l2 });
6126
6126
  }
6127
6127
  }
6128
- function u(e2, n2) {
6128
+ function i2(e2, n2) {
6129
6129
  return formatColContent(e2, n2, t.column, t.pageContext, t.configure);
6130
6130
  }
6131
6131
  return t.column.linkPage && t.column.linkPage.length > 0 && (n.value = true), (t2, o2) => {
6132
- const i2 = vue.resolveComponent("el-table-column"), s = vue.resolveComponent("el-progress"), c = vue.resolveComponent("el-tag"), p = vue.resolveComponent("el-link");
6133
- return "$index" === e.column.props.base.prop ? (vue.openBlock(), vue.createBlock(i2, { key: 0, label: e.column.props.base.name, type: "index", align: "center", "header-align": "center", width: "80" }, null, 8, ["label"])) : (vue.openBlock(), vue.createBlock(i2, { key: 1, prop: e.column.props.base.prop, width: e.column.props.base.width ? e.column.props.base.width : "", label: e.column.props.base.name, "header-align": e.column.props.base.headerAlign, align: e.column.props.base.align, fixed: !!e.column.props.base.fixed && e.column.props.base.fixed, formatter: a }, { default: vue.withCtx((t3) => [e.column.props.format && e.column.props.format.type ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode(vue.toDisplayString(e.column.props.format.status) + " ", 1), "customControl" === e.column.props.format.type ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(e.column.props.format.customControl), { key: 0, scope: t3, column: e.column, configure: e.configure, pageContext: e.pageContext }, null, 8, ["scope", "column", "configure", "pageContext"])) : "progress" === e.column.props.format.type ? (vue.openBlock(), vue.createBlock(s, { key: 1, type: e.column.props.format.progressType, percentage: t3.row[e.column.props.base.prop], status: e.column.props.format.status, "text-inside": e.column.props.format.showText, "stroke-width": e.column.props.format.strokeWidth, color: "custom" === e.column.props.format.colorType ? e.column.props.format.color : "" }, null, 8, ["type", "percentage", "status", "text-inside", "stroke-width", "color"])) : "icon" === e.column.props.format.type ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [e.column.props.format.isTag ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$5, [vue.createVNode(c, { type: e.column.props.format.tagType, effect: e.column.props.format.tagEffect, hit: e.column.props.format.hit, size: e.column.props.format.size }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t3.row[e.column.props.base.prop]), 1)]), _: 2 }, 1032, ["type", "effect", "hit", "size"])])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, ["pre" === e.column.props.format.position ? (vue.openBlock(), vue.createElementBlock("i", { key: 0, class: vue.normalizeClass(e.column.props.format.icon) }, null, 2)) : vue.createCommentVNode("", true), vue.createElementVNode("span", null, vue.toDisplayString(t3.row[e.column.props.base.prop]), 1), "suf" === e.column.props.format.position ? (vue.openBlock(), vue.createElementBlock("i", { key: 1, class: vue.normalizeClass(e.column.props.format.icon) }, null, 2)) : vue.createCommentVNode("", true)]))], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [n.value && l(t3.row) ? (vue.openBlock(), vue.createBlock(p, { key: 0, type: "primary", onClick: (e2) => r(t3.row) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(u(t3.row, e.column.props.format)), 1)]), _: 2 }, 1032, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, vue.toDisplayString(u(t3.row, e.column.props.format)), 1))], 64))], 64)) : n.value && l(t3.row) ? (vue.openBlock(), vue.createBlock(p, { key: 1, type: "primary", onClick: (e2) => r(t3.row) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t3.row[e.column.props.base.prop]), 1)]), _: 2 }, 1032, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, vue.toDisplayString(t3.row[e.column.props.base.prop]), 1))]), _: 1 }, 8, ["prop", "width", "label", "header-align", "align", "fixed"]));
6132
+ const u = vue.resolveComponent("el-table-column"), s = vue.resolveComponent("el-progress"), c = vue.resolveComponent("el-tag"), p = vue.resolveComponent("el-link");
6133
+ return "$index" === e.column.props.base.prop ? (vue.openBlock(), vue.createBlock(u, { key: 0, label: e.column.props.base.name, type: "index", align: "center", "header-align": "center", width: "80" }, null, 8, ["label"])) : (vue.openBlock(), vue.createBlock(u, { key: 1, prop: e.column.props.base.prop, width: e.column.props.base.width ? e.column.props.base.width : "", label: e.column.props.base.name, "header-align": e.column.props.base.headerAlign, align: e.column.props.base.align, fixed: !!e.column.props.base.fixed && e.column.props.base.fixed, formatter: a }, { default: vue.withCtx((t3) => [e.column.props.format && e.column.props.format.type ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [vue.createTextVNode(vue.toDisplayString(e.column.props.format.status) + " ", 1), "customControl" === e.column.props.format.type ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(e.column.props.format.customControl), { key: 0, scope: t3, column: e.column, configure: e.configure, pageContext: e.pageContext }, null, 8, ["scope", "column", "configure", "pageContext"])) : "progress" === e.column.props.format.type ? (vue.openBlock(), vue.createBlock(s, { key: 1, type: e.column.props.format.progressType, percentage: t3.row[e.column.props.base.prop], status: e.column.props.format.status, "text-inside": e.column.props.format.showText, "stroke-width": e.column.props.format.strokeWidth, color: "custom" === e.column.props.format.colorType ? e.column.props.format.color : "" }, null, 8, ["type", "percentage", "status", "text-inside", "stroke-width", "color"])) : "icon" === e.column.props.format.type ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [e.column.props.format.isTag ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$5, [vue.createVNode(c, { type: e.column.props.format.tagType, effect: e.column.props.format.tagEffect, hit: e.column.props.format.hit, size: e.column.props.format.size }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t3.row[e.column.props.base.prop]), 1)]), _: 2 }, 1032, ["type", "effect", "hit", "size"])])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, ["pre" === e.column.props.format.position ? (vue.openBlock(), vue.createElementBlock("i", { key: 0, class: vue.normalizeClass(e.column.props.format.icon) }, null, 2)) : vue.createCommentVNode("", true), vue.createElementVNode("span", null, vue.toDisplayString(t3.row[e.column.props.base.prop]), 1), "suf" === e.column.props.format.position ? (vue.openBlock(), vue.createElementBlock("i", { key: 1, class: vue.normalizeClass(e.column.props.format.icon) }, null, 2)) : vue.createCommentVNode("", true)]))], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [n.value && l(t3.row) ? (vue.openBlock(), vue.createBlock(p, { key: 0, type: "primary", onClick: (e2) => r(t3.row) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(i2(t3.row, e.column.props.format)), 1)]), _: 2 }, 1032, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$1, vue.toDisplayString(i2(t3.row, e.column.props.format)), 1))], 64))], 64)) : n.value && l(t3.row) ? (vue.openBlock(), vue.createBlock(p, { key: 1, type: "primary", onClick: (e2) => r(t3.row) }, { default: vue.withCtx(() => [vue.createTextVNode(vue.toDisplayString(t3.row[e.column.props.base.prop]), 1)]), _: 2 }, 1032, ["onClick"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, vue.toDisplayString(t3.row[e.column.props.base.prop]), 1))]), _: 1 }, 8, ["prop", "width", "label", "header-align", "align", "fixed"]));
6134
6134
  };
6135
6135
  } }), _sfc_main$9 = vue.defineComponent({ __name: "group-column-item", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumnItem: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e) => (t, n) => (vue.openBlock(), vue.createBlock(_sfc_main$8, { configure: e.configure, pageContext: e.pageContext, groupColumn: e.groupColumnItem, columnsConfigKeyValues: e.columnsConfigKeyValues }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"])) }), _sfc_main$8 = vue.defineComponent({ __name: "group-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumn: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e) => (t, n) => {
6136
6136
  const o = vue.resolveComponent("el-table-column");
@@ -6138,16 +6138,16 @@
6138
6138
  } }), _hoisted_1$4 = { style: { padding: "5px", "text-align": "center" } }, _sfc_main$7 = vue.defineComponent({ __name: "table-pageination", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) }, total: { type: Number, default: 0 } }, emits: ["pageChange", "pageSizeChange"], setup(e, { emit: t }) {
6139
6139
  const n = e, o = t, a = vue.ref(1), l = vue.ref(n.configure.pageination.pageSize), r = (e2) => {
6140
6140
  a.value = e2, o("pageChange", a.value, l.value);
6141
- }, u = (e2) => {
6141
+ }, i2 = (e2) => {
6142
6142
  l.value = e2, o("pageSizeChange", a.value, l.value);
6143
6143
  };
6144
6144
  return (t2, n2) => {
6145
6145
  const o2 = vue.resolveComponent("el-pagination");
6146
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [vue.createVNode(o2, { "current-page": a.value, "onUpdate:currentPage": n2[0] || (n2[0] = (e2) => a.value = e2), "page-size": l.value, "onUpdate:pageSize": n2[1] || (n2[1] = (e2) => l.value = e2), "page-sizes": [10, 30, 50, 100], size: "small", layout: "total, sizes, prev, pager, next, jumper", total: e.total, onCurrentChange: r, onSizeChange: u }, null, 8, ["current-page", "page-size", "total"])]);
6146
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [vue.createVNode(o2, { "current-page": a.value, "onUpdate:currentPage": n2[0] || (n2[0] = (e2) => a.value = e2), "page-size": l.value, "onUpdate:pageSize": n2[1] || (n2[1] = (e2) => l.value = e2), "page-sizes": [10, 30, 50, 100], size: "small", layout: "total, sizes, prev, pager, next, jumper", total: e.total, onCurrentChange: r, onSizeChange: i2 }, null, 8, ["current-page", "page-size", "total"])]);
6147
6147
  };
6148
6148
  } }), _sfc_main$6 = vue.defineComponent({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e, { expose: t }) {
6149
6149
  var _a;
6150
- const n = e, o = n.configure.runtime ? n.configure.runtime : {}, a = o.style, l = o.class, r = o.dataConfig, u = o.headerInfo ? o.headerInfo : {}, i2 = vue.ref(null), s = vue.ref(o.props.isEnableGroupHeader), c = vue.ref([]), p = vue.ref([]), d = vue.ref([]), f = vue.ref([]), m = vue.ref({}), v = vue.ref(false), g = vue.ref({}), h = vue.ref({}), C = vue.ref({}), y = [], b = vue.ref({}), k = vue.ref({}), x = vue.ref(null), w = vue.computed(() => s.value ? f.value.filter((e2) => !e2.isLeaf || j(m[e2.columnUuid])) : p.value.filter((e2) => j(e2))), T = vue.ref(0);
6150
+ const n = e, o = n.configure.runtime ? n.configure.runtime : {}, a = o.style, l = o.class, r = o.dataConfig, i2 = o.headerInfo ? o.headerInfo : {}, u = vue.ref(null), s = vue.ref(o.props.isEnableGroupHeader), c = vue.ref([]), p = vue.ref([]), d = vue.ref([]), f = vue.ref([]), m = vue.ref({}), v = vue.ref(false), g = vue.ref({}), h = vue.ref({}), C = vue.ref({}), y = [], b = vue.ref({}), k = vue.ref({}), x = vue.ref(null), w = vue.computed(() => s.value ? f.value.filter((e2) => !e2.isLeaf || j(m[e2.columnUuid])) : p.value.filter((e2) => j(e2))), T = vue.ref(0);
6151
6151
  let S = [];
6152
6152
  if (!n.configure.props.modelCustom) {
6153
6153
  if (s.value) {
@@ -6255,7 +6255,7 @@
6255
6255
  }
6256
6256
  }
6257
6257
  if (Object.keys(k.value).length > 0 && e2 && e2.length > 0 && computeFormula(k.value, e2, n.pageContext.entity), ((_c = n.configure.pageination) == null ? void 0 : _c.enable) ? function(e3) {
6258
- "frontend" === n.configure.pageination.type ? (T.value = S.length, $(1, n.configure.pageination.pageSize)) : "backend" === n.configure.pageination.type && (c.value = S, n.configure.pageination.totalFrom && (T.value = e3.result[n.configure.pageination.totalFrom]));
6258
+ "frontend" === n.configure.pageination.type ? (T.value = S.length, U(1, n.configure.pageination.pageSize)) : "backend" === n.configure.pageination.type && (c.value = S, n.configure.pageination.totalFrom && (T.value = e3.result[n.configure.pageination.totalFrom]));
6259
6259
  }(t2) : c.value = e2, ((_e = (_d = n.configure.props) == null ? void 0 : _d.highOrder) == null ? void 0 : _e.groupField) && ((_g = (_f = n.configure.props) == null ? void 0 : _f.highOrder) == null ? void 0 : _g.groupField.length) > 0) {
6260
6260
  const e3 = n.configure.props.highOrder.groupField;
6261
6261
  c.value = function(e4, t3) {
@@ -6266,9 +6266,9 @@
6266
6266
  const n2 = t3.map((t4) => e5[t4]).join("|");
6267
6267
  r2[n2] || (r2[n2] = []), r2[n2].push(e5);
6268
6268
  });
6269
- const u2 = Object.values(r2);
6270
- for (let e5 = 0; e5 < u2.length; e5++) {
6271
- const t4 = u2[e5], r3 = {};
6269
+ const i3 = Object.values(r2);
6270
+ for (let e5 = 0; e5 < i3.length; e5++) {
6271
+ const t4 = i3[e5], r3 = {};
6272
6272
  l2 == null ? void 0 : l2.forEach((e6) => {
6273
6273
  const o3 = e6.props.base.prop, a3 = summaryStatistics(C.value[o3], t4, o3, n.pageContext);
6274
6274
  r3[o3] = a3;
@@ -6338,15 +6338,15 @@
6338
6338
  } else if (r2 && r2.mergeColumn, r2 && r2.mergeRow && r2.mergeRow.includes(l2)) return mergeRowByProperty(e2, t2, o2, l2, c.value);
6339
6339
  }
6340
6340
  function D(e2, t2) {
6341
- "frontend" === n.configure.pageination.type ? $(e2, t2) : U(e2, t2);
6341
+ "frontend" === n.configure.pageination.type ? U(e2, t2) : $(e2, t2);
6342
6342
  }
6343
6343
  function M(e2, t2) {
6344
- "frontend" === n.configure.pageination.type ? $(e2, t2) : U(e2, t2);
6344
+ "frontend" === n.configure.pageination.type ? U(e2, t2) : $(e2, t2);
6345
6345
  }
6346
- function $(e2, t2) {
6346
+ function U(e2, t2) {
6347
6347
  S && (c.value = S.slice((e2 - 1) * t2, e2 * t2));
6348
6348
  }
6349
- function U(e2, t2) {
6349
+ function $(e2, t2) {
6350
6350
  n.configure.pageination.currentPageSet && setValueForVariableName(n.pageContext.entity, n.configure.pageination.currentPageSet, e2), n.configure.pageination.pageSizeSet && setValueForVariableName(n.pageContext.entity, n.configure.pageination.pageSizeSet, t2), updateChartDatasourcesByComponent(n.pageContext, n.configure.uuid);
6351
6351
  }
6352
6352
  function j(e2) {
@@ -6385,10 +6385,10 @@
6385
6385
  });
6386
6386
  }));
6387
6387
  return t3;
6388
- }(o2), columns: e2, title: u == null ? void 0 : u.title };
6388
+ }(o2), columns: e2, title: i2 == null ? void 0 : i2.title };
6389
6389
  } }), (t2, n2) => {
6390
6390
  const o2 = vue.resolveComponent("el-table");
6391
- return vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(a)), class: vue.normalizeClass([vue.unref(l), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: i2, headerInfo: vue.unref(u), configure: e.configure, pageContext: e.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(u).showHeader || e.pageContext.showHomepageSearch]]), vue.createVNode(o2, { ref_key: "gridRef", ref: x, data: c.value, style: { width: "100%" }, "max-height": vue.unref(_), "header-cell-style": I, "row-style": B, "cell-style": A, "show-summary": v.value, stripe: e.configure.props.base.stripe, "summary-method": F, "span-method": O }, { default: vue.withCtx(() => [s.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(f.value, (t3, n3) => (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: n3 }, [t3.isLeaf ? (vue.openBlock(), vue.createBlock(_sfc_main$a, { key: 1, configure: e.configure, pageContext: e.pageContext, column: m.value[t3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (vue.openBlock(), vue.createBlock(_sfc_main$8, { key: 0, configure: e.configure, pageContext: e.pageContext, groupColumn: t3, columnsConfigKeyValues: m.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(w.value, (t3, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$a, { key: n3, column: t3, configure: e.configure, pageContext: e.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e.configure.pageination && e.configure.pageination.enable ? (vue.openBlock(), vue.createBlock(_sfc_main$7, { key: 0, configure: e.configure, "table-data": c.value, total: T.value, onPageChange: D, onPageSizeChange: M }, null, 8, ["configure", "table-data", "total"])) : vue.createCommentVNode("", true)], 6);
6391
+ return vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(a)), class: vue.normalizeClass([vue.unref(l), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [vue.withDirectives(vue.createVNode(_sfc_main$g, { ref_key: "headerRef", ref: u, headerInfo: vue.unref(i2), configure: e.configure, pageContext: e.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[vue.vShow, vue.unref(i2).showHeader || e.pageContext.showHomepageSearch]]), vue.createVNode(o2, { ref_key: "gridRef", ref: x, data: c.value, style: { width: "100%" }, "max-height": vue.unref(_), "header-cell-style": I, "row-style": B, "cell-style": A, "show-summary": v.value, stripe: e.configure.props.base.stripe, "summary-method": F, "span-method": O }, { default: vue.withCtx(() => [s.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(f.value, (t3, n3) => (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: n3 }, [t3.isLeaf ? (vue.openBlock(), vue.createBlock(_sfc_main$a, { key: 1, configure: e.configure, pageContext: e.pageContext, column: m.value[t3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (vue.openBlock(), vue.createBlock(_sfc_main$8, { key: 0, configure: e.configure, pageContext: e.pageContext, groupColumn: t3, columnsConfigKeyValues: m.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(w.value, (t3, n3) => (vue.openBlock(), vue.createBlock(_sfc_main$a, { key: n3, column: t3, configure: e.configure, pageContext: e.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e.configure.pageination && e.configure.pageination.enable ? (vue.openBlock(), vue.createBlock(_sfc_main$7, { key: 0, configure: e.configure, "table-data": c.value, total: T.value, onPageChange: D, onPageSizeChange: M }, null, 8, ["configure", "table-data", "total"])) : vue.createCommentVNode("", true)], 6);
6392
6392
  };
6393
6393
  } }), tableRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$6 }, Symbol.toStringTag, { value: "Module" })), _sfc_main$5 = vue.defineComponent({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e, { expose: t, emit: n }) {
6394
6394
  var _a;
@@ -6396,7 +6396,7 @@
6396
6396
  let l = o.configure;
6397
6397
  const r = o.configure.runtime ? o.configure.runtime : {};
6398
6398
  a.isTest ? r.value = o.configure.runtime ? o.configure.runtime : {} : a.tableRuntimes && a.tableRuntimes[l.uuid] && (l = JSON.parse(a.tableRuntimes[l.uuid].configure), r.value = l.runtime ? l.runtime : {});
6399
- const u = getListCode(a.code, a.version, l.uuid), i2 = a.entity.data, s = l.code ? l.code : u, c = getAdditionalParamMap(a), p = r && r.events ? r.events : [], d = vue.ref([]), f = a.superGridItems, m = f ? f[l.uuid] : null, v = r.style, g = r.class, h = o.pageContext.entity ? o.pageContext.entity : {};
6399
+ const i2 = getListCode(a.code, a.version, l.uuid), u = a.entity.data, s = l.code ? l.code : i2, c = getAdditionalParamMap(a), p = r && r.events ? r.events : [], d = vue.ref([]), f = a.superGridItems, m = f ? f[l.uuid] : null, v = r.style, g = r.class, h = o.pageContext.entity ? o.pageContext.entity : {};
6400
6400
  let C = getModelFields(o.configure, s), y = getBaseUrl(a.backendUrl, a.isTest);
6401
6401
  y || (y = window.$vueApp.config.globalProperties.baseURL);
6402
6402
  const b = vue.ref(false);
@@ -6404,7 +6404,7 @@
6404
6404
  const x = (_a = l.props) == null ? void 0 : _a.dataOrigin.principalLinkage, w = vue.ref({}), T = n;
6405
6405
  w.value = function() {
6406
6406
  var _a2, _b;
6407
- const e2 = { title: (l == null ? void 0 : l.title) || null, isSql: true, subTableData: null, rowKeyProp: x, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: a.code, pageVersion: a.version, pageContext: a, configureObj: l, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!l.props || !l.props.otherSettings || void 0 !== l.props.otherSettings.isBreakLine && false !== l.props.otherSettings.isBreakLine), backendUrl: y, cellStyleRender: ie, rowStyleRender: ue, titleStyleRender: se, allEditable: (_b = (_a2 = l.props) == null ? void 0 : _a2.base) == null ? void 0 : _b.allEditable };
6407
+ const e2 = { title: (l == null ? void 0 : l.title) || null, isSql: true, subTableData: null, rowKeyProp: x, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: a.code, pageVersion: a.version, pageContext: a, configureObj: l, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!l.props || !l.props.otherSettings || void 0 !== l.props.otherSettings.isBreakLine && false !== l.props.otherSettings.isBreakLine), backendUrl: y, cellStyleRender: ue, rowStyleRender: ie, titleStyleRender: se, allEditable: (_b = (_a2 = l.props) == null ? void 0 : _a2.base) == null ? void 0 : _b.allEditable };
6408
6408
  return v && (e2.tableStyle = v), g && (e2.tableClass = g), l.props && l.props.base && true === l.props.base.subPaging ? e2.showPageArea = true : e2.showPageArea = false, l.props.base.showRowForm && (e2.showRowForm = l.props.base.showRowForm), function(e3) {
6409
6409
  const t2 = l.props ? l.props.dataOrigin : {};
6410
6410
  if (t2.treeTable) {
@@ -6421,10 +6421,10 @@
6421
6421
  }();
6422
6422
  const S = vue.ref(null);
6423
6423
  function _() {
6424
- S.value && (w.value.subTableData = null, S.value.reloadSubTableData(u));
6424
+ S.value && (w.value.subTableData = null, S.value.reloadSubTableData(i2));
6425
6425
  }
6426
6426
  function E(e2, t2) {
6427
- if (t2 || (t2 = w.value), void 0 === e2 && (e2 = V()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e2, t2.getFormData = P, t2.getGridData = R, t2.extraParam.subTableListViewCode = u, t2.extraParam.beanName = a.beanName, t2.extraParam.subtableSetting = l.props && l.props.otherSettings ? JSON.stringify(l.props.otherSettings) : null, t2.extraParam.additionalParamMap = c, t2.extraParam.entityMap = a.entity.data, t2.extraParam.contextMap = a.entity.context, t2.extraParam.taskMap = a.entity.task, !(l.props && l.props.base && l.props.base.showOperation)) {
6427
+ if (t2 || (t2 = w.value), void 0 === e2 && (e2 = V()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e2, t2.getFormData = P, t2.getGridData = R, t2.extraParam.subTableListViewCode = i2, t2.extraParam.beanName = a.beanName, t2.extraParam.subtableSetting = l.props && l.props.otherSettings ? JSON.stringify(l.props.otherSettings) : null, t2.extraParam.additionalParamMap = c, t2.extraParam.entityMap = a.entity.data, t2.extraParam.contextMap = a.entity.context, t2.extraParam.taskMap = a.entity.task, !(l.props && l.props.base && l.props.base.showOperation)) {
6428
6428
  let e3 = t2.hiddenColumns;
6429
6429
  e3 ? e3.push("operation") : e3 = ["operation"], t2.hiddenColumns = e3;
6430
6430
  }
@@ -6436,8 +6436,8 @@
6436
6436
  if (l.props && l.props.otherSettings) {
6437
6437
  if (l.props.otherSettings.sourceQueryTableData && l.props.otherSettings.timeToInitializeSubTable && l.props.otherSettings.timeToInitializeSubTable.length > 0) {
6438
6438
  let e2 = false;
6439
- if (-1 !== l.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e2 = !i2.id && !i2.ID), -1 !== l.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
6440
- const t2 = i2[s];
6439
+ if (-1 !== l.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e2 = !u.id && !u.ID), -1 !== l.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
6440
+ const t2 = u[s];
6441
6441
  (!t2 || t2.length <= 0) && (e2 = true);
6442
6442
  }
6443
6443
  return e2;
@@ -6476,8 +6476,8 @@
6476
6476
  e3.operations || (e3.operations = {});
6477
6477
  const r2 = function() {
6478
6478
  let e4 = [], t4 = caculateShowCondition(o.pageContext, l.props.base.showOperationCondition);
6479
- if (t4 && $(null, null, null, null, null, true, "canAdd")) {
6480
- const t5 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: L, isShow: U };
6479
+ if (t4 && U(null, null, null, null, null, true, "canAdd")) {
6480
+ const t5 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: L, isShow: $ };
6481
6481
  e4.push(t5);
6482
6482
  }
6483
6483
  if (t4 && j(null, null, null, null, null, true)) {
@@ -6486,7 +6486,7 @@
6486
6486
  }
6487
6487
  return getOperationButtons(a, l, e4, D), e4;
6488
6488
  }();
6489
- e3.operations.operation = r2, e3.subTableCanAdd = $(null, null, null, null, null, true, "canAdd"), e3.subTableCanDelete = $(null, null, null, null, null, true, "canDelete");
6489
+ e3.operations.operation = r2, e3.subTableCanAdd = U(null, null, null, null, null, true, "canAdd"), e3.subTableCanDelete = U(null, null, null, null, null, true, "canDelete");
6490
6490
  }(e2), setTableEvents(e2, p, a, l);
6491
6491
  const t2 = a.customEvents;
6492
6492
  t2 && (e2.eventCallBack = t2), b.value = true, F();
@@ -6506,29 +6506,29 @@
6506
6506
  }), bus.$on("_refreshChildData_" + e2, (e3) => {
6507
6507
  !function(e4) {
6508
6508
  re(e4), I = setTimeout(() => {
6509
- S.value && (S.value.refreshChildData(u, e4, l.props && l.props.base && true === l.props.base.subPaging), w.value.extraParam.entityMap = a.entity.data);
6509
+ S.value && (S.value.refreshChildData(i2, e4, l.props && l.props.base && true === l.props.base.subPaging), w.value.extraParam.entityMap = a.entity.data);
6510
6510
  }, 10);
6511
6511
  }(e3);
6512
- }), bus.$on(u + "-pickFileDone", (e3) => {
6512
+ }), bus.$on(i2 + "-pickFileDone", (e3) => {
6513
6513
  S.value.pickFileDone(e3);
6514
- }), bus.$on(u + "-scanDone", (e3) => {
6514
+ }), bus.$on(i2 + "-scanDone", (e3) => {
6515
6515
  S.value.scanDone(e3);
6516
6516
  }), w.value && w.value.configureObj.props.base && w.value.configureObj.props.base.isSafeDelete && T("setSafeDeleteTableCode", w.value.extraParam.tableName);
6517
6517
  }), vue.onUnmounted(() => {
6518
6518
  N && clearTimeout(N), I && clearTimeout(I);
6519
6519
  const e2 = l.uuid;
6520
- bus.$off("_refreshSubTable_" + e2), bus.$off("_refreshSubTableHandle_" + e2), bus.$off("_refreshChildData_" + e2), bus.$off(u + "-pickFileDone"), bus.$off(u + "-scanDone");
6520
+ bus.$off("_refreshSubTable_" + e2), bus.$off("_refreshSubTableHandle_" + e2), bus.$off("_refreshChildData_" + e2), bus.$off(i2 + "-pickFileDone"), bus.$off(i2 + "-scanDone");
6521
6521
  });
6522
6522
  const O = vue.ref({});
6523
6523
  function D(e2) {
6524
6524
  if (!e2) return;
6525
6525
  return O.value[e2.uuid] = e2, M;
6526
6526
  }
6527
- function M(e2, t2, n2, o2, r2, u2) {
6528
- const i3 = { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2, button: u2, id: n2.ID ? n2.ID : n2.id }, s2 = O.value[u2.sourceButton.uuid], c2 = l;
6529
- s2.props.base.tableUuid = c2.uuid, getHandleEvent(null, a, s2, "click", i3);
6527
+ function M(e2, t2, n2, o2, r2, i3) {
6528
+ const u2 = { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2, button: i3, id: n2.ID ? n2.ID : n2.id }, s2 = O.value[i3.sourceButton.uuid], c2 = l;
6529
+ s2.props.base.tableUuid = c2.uuid, getHandleEvent(null, a, s2, "click", u2);
6530
6530
  }
6531
- function $(e2, t2, n2, r2, u2, i3, c2) {
6531
+ function U(e2, t2, n2, r2, i3, u2, c2) {
6532
6532
  c2 || (c2 = "canAdd");
6533
6533
  if (!caculateShowCondition(o.pageContext, l.props.base.showOperationCondition)) return false;
6534
6534
  const p2 = a.fieldPermissionMap, d2 = a.actionPermissionMap;
@@ -6543,20 +6543,20 @@
6543
6543
  }
6544
6544
  return f2;
6545
6545
  }
6546
- function U(e2, t2, n2, a2, r2, u2) {
6547
- let i3 = $(0, 0, 0, 0, 0, 0, "canAdd");
6548
- return true === i3 && (i3 = caculateShowCondition(o.pageContext, l.props.base.showAddBtnCondition, n2)), i3;
6546
+ function $(e2, t2, n2, a2, r2, i3) {
6547
+ let u2 = U(0, 0, 0, 0, 0, 0, "canAdd");
6548
+ return true === u2 && (u2 = caculateShowCondition(o.pageContext, l.props.base.showAddBtnCondition, n2)), u2;
6549
6549
  }
6550
6550
  function j(e2, t2, n2, o2, l2, r2) {
6551
- const u2 = a.fieldPermissionMap, i3 = a.actionPermissionMap;
6551
+ const i3 = a.fieldPermissionMap, u2 = a.actionPermissionMap;
6552
6552
  let c2 = true;
6553
- if (u2 && null !== u2) {
6554
- const e3 = u2.get("all_fields");
6553
+ if (i3 && null !== i3) {
6554
+ const e3 = i3.get("all_fields");
6555
6555
  void 0 === e3 || false !== e3.canEdit || void 0 !== e3.rowIndexes && null !== e3.rowIndexes && 0 !== e3.rowIndexes.length || (c2 = false);
6556
6556
  }
6557
- if (true === c2 && s && i3 && null !== i3) {
6558
- let e3 = i3.get(s);
6559
- if (e3 || (e3 = i3.get("all_sub_tables")), e3 && void 0 !== e3.canDelete && false === e3.canDelete && (c2 = false), e3 && void 0 !== e3.canDelete && true === e3.canDelete && e3.deleteRowIndexes) if (e3.deleteRowIndexes.length > 0) if (r2) c2 = true;
6557
+ if (true === c2 && s && u2 && null !== u2) {
6558
+ let e3 = u2.get(s);
6559
+ if (e3 || (e3 = u2.get("all_sub_tables")), e3 && void 0 !== e3.canDelete && false === e3.canDelete && (c2 = false), e3 && void 0 !== e3.canDelete && true === e3.canDelete && e3.deleteRowIndexes) if (e3.deleteRowIndexes.length > 0) if (r2) c2 = true;
6560
6560
  else {
6561
6561
  const t3 = function(e4) {
6562
6562
  return e4 && e4.id ? e4.id : e4 && e4.ID ? e4.ID : void 0;
@@ -6567,15 +6567,15 @@
6567
6567
  }
6568
6568
  return c2;
6569
6569
  }
6570
- function W(e2, t2, n2, a2, r2, u2) {
6571
- let i3 = j(0, 0, n2, 0, 0, u2);
6572
- return true === i3 && (i3 = caculateShowCondition(o.pageContext, l.props.base.showDeleteBtnCondition, n2)), i3;
6570
+ function W(e2, t2, n2, a2, r2, i3) {
6571
+ let u2 = j(0, 0, n2, 0, 0, i3);
6572
+ return true === u2 && (u2 = caculateShowCondition(o.pageContext, l.props.base.showDeleteBtnCondition, n2)), u2;
6573
6573
  }
6574
6574
  function L(e2, t2, n2, o2, a2) {
6575
- S.value.createRow(u, {}, { getDefaultValueFunc: getDefaultValue }, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: a2 });
6575
+ S.value.createRow(i2, {}, { getDefaultValueFunc: getDefaultValue }, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: a2 });
6576
6576
  }
6577
6577
  function z(e2, t2, n2, o2, a2) {
6578
- S.value.deleteRow(a2, u, false);
6578
+ S.value.deleteRow(a2, i2, false);
6579
6579
  }
6580
6580
  function q(e2) {
6581
6581
  setVariableValue(h, C, e2);
@@ -6632,10 +6632,10 @@
6632
6632
  function re(e2) {
6633
6633
  return setVariableValue(h, C, e2);
6634
6634
  }
6635
- function ue(e2) {
6635
+ function ie(e2) {
6636
6636
  return getRowStyleUtil(e2, null, o);
6637
6637
  }
6638
- function ie(e2) {
6638
+ function ue(e2) {
6639
6639
  return getCellStyleUtil(e2, e2.cellStyle, o);
6640
6640
  }
6641
6641
  function se(e2) {
@@ -6649,7 +6649,7 @@
6649
6649
  const t2 = V();
6650
6650
  t2 ? B(t2, e2) : (E(t2, e2), e2.isPageInfo = false, e2.subTableData = le(), A(e2));
6651
6651
  }(w.value), t({ createRow: function() {
6652
- return S.value.createRow(u);
6652
+ return S.value.createRow(i2);
6653
6653
  }, getSelections: function() {
6654
6654
  return d.value;
6655
6655
  }, getSelectionIds: function() {
@@ -6664,7 +6664,7 @@
6664
6664
  }, validatorSunTableListData: function() {
6665
6665
  return S.value.validatorSunTableListData();
6666
6666
  }, getValue: le, setValue: re, getTableSelectOptions: function() {
6667
- if (S.value) return S.value.getTableSelectOptions(u);
6667
+ if (S.value) return S.value.getTableSelectOptions(i2);
6668
6668
  }, dynamicControlTableEdit: function(e2, t2, n2) {
6669
6669
  S.value && S.value.dynamicControlTableEdit(e2, t2, n2);
6670
6670
  }, doLayout: function(e2) {
@@ -6692,20 +6692,20 @@
6692
6692
  return (_a2 = S.value) == null ? void 0 : _a2.getTableData();
6693
6693
  }, addRequiredClass: function(e2, t2, n2) {
6694
6694
  var _a2;
6695
- (_a2 = S.value) == null ? void 0 : _a2.addRequiredClass(e2, u, t2, n2);
6695
+ (_a2 = S.value) == null ? void 0 : _a2.addRequiredClass(e2, i2, t2, n2);
6696
6696
  }, getColumns: function() {
6697
6697
  var _a2;
6698
6698
  return (_a2 = S.value) == null ? void 0 : _a2.getColumns();
6699
6699
  } }), (e2, t2) => {
6700
6700
  const n2 = vue.resolveComponent("super-grid");
6701
- return vue.openBlock(), vue.createElementBlock("div", null, [b.value ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "gridRef", ref: S, url: vue.unref(y) + "/dsc/commons/sub-table", options: w.value, code: vue.unref(u), settings: vue.unref(m), isDialog: vue.unref(a).isDialog, onSelect: K, onSelectAll: G, onSelectionChange: Z, onCellClick: X, onCellDblclick: ee, onRowClick: te, onRowDblclick: ne, onHeaderClick: oe, onFnProhibitToEdit: J, onChangeGridData: q, onReloadGrid: B, onRefresMainTableFields: Q, onSetSelectOptions: Y, onChangeRowsPerPage: H, onNewOpenGridDialog: vue.unref(popupToPage), onChangeFormData: ae }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : vue.createCommentVNode("", true)]);
6701
+ return vue.openBlock(), vue.createElementBlock("div", null, [b.value ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "gridRef", ref: S, url: vue.unref(y) + "/dsc/commons/sub-table", options: w.value, code: vue.unref(i2), settings: vue.unref(m), isDialog: vue.unref(a).isDialog, onSelect: K, onSelectAll: G, onSelectionChange: Z, onCellClick: X, onCellDblclick: ee, onRowClick: te, onRowDblclick: ne, onHeaderClick: oe, onFnProhibitToEdit: J, onChangeGridData: q, onReloadGrid: B, onRefresMainTableFields: Q, onSetSelectOptions: Y, onChangeRowsPerPage: H, onNewOpenGridDialog: vue.unref(popupToPage), onChangeFormData: ae }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : vue.createCommentVNode("", true)]);
6702
6702
  };
6703
6703
  } }), _hoisted_1$3 = ["id"], _sfc_main$4 = vue.defineComponent({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e, { expose: t, emit: n }) {
6704
6704
  const o = e, a = o.pageContext;
6705
6705
  let l = o.configure;
6706
6706
  const r = vue.ref({});
6707
6707
  a.isTest ? r.value = o.configure.runtime ? o.configure.runtime : {} : a.tableRuntimes && a.tableRuntimes[l.uuid] && (l = JSON.parse(a.tableRuntimes[l.uuid].configure), r.value = l.runtime ? l.runtime : {});
6708
- const u = r.value.style, i2 = r.value.class, s = a.systemCode, c = a.backendUrl, p = l.props && l.props.dataOrigin && l.props.dataOrigin.tableName;
6708
+ const i2 = r.value.style, u = r.value.class, s = a.systemCode, c = a.backendUrl, p = l.props && l.props.dataOrigin && l.props.dataOrigin.tableName;
6709
6709
  let d = getBaseUrl(a.backendUrl, a.isTest);
6710
6710
  d || (d = window.$vueApp.config.globalProperties.baseURL);
6711
6711
  const f = vue.ref({}), m = [], v = vue.ref({});
@@ -6714,7 +6714,7 @@
6714
6714
  const e2 = a.systemCode, t2 = a.code;
6715
6715
  let n2 = l.props && l.props.dataOrigin && "[]" !== l.props.dataOrigin.sqlFilterCondition ? l.props.dataOrigin.sqlFilterCondition : null;
6716
6716
  null == n2 && (n2 = []);
6717
- const o2 = (_a = l.props) == null ? void 0 : _a.dataOrigin.principalLinkage, r2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: a.beanName, functionCode: t2 + ".listData", tableName: p, systemCode: e2, pageCode: a.code, pageVersion: a.version, isMobile: commonUtil.isMobileBrowser() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: P, esc: A }, indexContinuous: !(!l.props || !l.props.otherSettings) && l.props.otherSettings.serialNumberContinuous, initSearch: !l.props || false !== l.props.dataOrigin.initializationQuery, resizeHeight: j, pageCode: a.code, pageVersion: a.version, additionalParamMap: getAdditionalParamMap(a), showOverflowTooltip: !(!l.props || !l.props.otherSettings || void 0 !== l.props.otherSettings.isBreakLine && false !== l.props.otherSettings.isBreakLine), isEnableEnterEvent: l.props && l.props.otherSettings && l.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(l.props && l.props.otherSettings && l.props.otherSettings.isWithDataPermission) && l.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: isWorkflowPage(a), tableClass: i2, tableStyle: u, pageContext: a, configureObj: l, backendUrl: d, cellStyleRender: ne, rowStyleRender: te, titleStyleRender: oe, validateEitConditions: ue };
6717
+ const o2 = (_a = l.props) == null ? void 0 : _a.dataOrigin.principalLinkage, r2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: a.beanName, functionCode: t2 + ".listData", tableName: p, systemCode: e2, pageCode: a.code, pageVersion: a.version, isMobile: agilebuilderUi.isMobileBrowser() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: P, esc: A }, indexContinuous: !(!l.props || !l.props.otherSettings) && l.props.otherSettings.serialNumberContinuous, initSearch: !l.props || false !== l.props.dataOrigin.initializationQuery, resizeHeight: j, pageCode: a.code, pageVersion: a.version, additionalParamMap: getAdditionalParamMap(a), showOverflowTooltip: !(!l.props || !l.props.otherSettings || void 0 !== l.props.otherSettings.isBreakLine && false !== l.props.otherSettings.isBreakLine), isEnableEnterEvent: l.props && l.props.otherSettings && l.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(l.props && l.props.otherSettings && l.props.otherSettings.isWithDataPermission) && l.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: isWorkflowPage(a), tableClass: u, tableStyle: i2, pageContext: a, configureObj: l, backendUrl: d, cellStyleRender: ne, rowStyleRender: te, titleStyleRender: oe, validateEitConditions: ie };
6718
6718
  return function(e3) {
6719
6719
  var _a2;
6720
6720
  ((_a2 = l.props.highOrder) == null ? void 0 : _a2.mergeFields) && l.props.highOrder.mergeFields.length > 0 && (e3.mergeFields = l.props.highOrder.mergeFields.join(","));
@@ -6766,10 +6766,10 @@
6766
6766
  if (0 === e2.length) le();
6767
6767
  else {
6768
6768
  const t2 = ae();
6769
- e2 = e2.filter((e3) => isVariableInvalidValue(t2, e3)), 0 === e2.length ? (U(t2), le()) : m.forEach((t3) => {
6769
+ e2 = e2.filter((e3) => isVariableInvalidValue(t2, e3)), 0 === e2.length ? ($(t2), le()) : m.forEach((t3) => {
6770
6770
  vue.watch(() => o.pageContext.entity.page[t3], () => {
6771
6771
  const t4 = ae();
6772
- 0 === e2.length ? U(t4) : (e2 = e2.filter((e3) => isVariableInvalidValue(t4, e3)), 0 === e2.length && U(t4));
6772
+ 0 === e2.length ? $(t4) : (e2 = e2.filter((e3) => isVariableInvalidValue(t4, e3)), 0 === e2.length && $(t4));
6773
6773
  }, { immediate: true });
6774
6774
  });
6775
6775
  }
@@ -6779,10 +6779,10 @@
6779
6779
  R(null, null, n2, t2, e2);
6780
6780
  }
6781
6781
  function R(e2, t2, n2, o2, r2) {
6782
- const u2 = f.value.lineEditSave, i3 = l;
6783
- u2.props.base.tableUuid = i3.uuid, v.value.lineEditOptions.beforeSave = I, a.editData = n2, canExecuteButton({ pageContext: a, configureObj: u2 }).then((l2) => {
6782
+ const i3 = f.value.lineEditSave, u2 = l;
6783
+ i3.props.base.tableUuid = u2.uuid, v.value.lineEditOptions.beforeSave = I, a.editData = n2, canExecuteButton({ pageContext: a, configureObj: i3 }).then((l2) => {
6784
6784
  true === l2.canExecute && (v.value.lineEditOptions.saveRow = B, h.value.saveRow(r2, y).then(() => {
6785
- doAfterClickEvent(a, u2, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6785
+ doAfterClickEvent(a, i3, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6786
6786
  }));
6787
6787
  }).finally(() => {
6788
6788
  a.editData = null;
@@ -6804,11 +6804,11 @@
6804
6804
  o2.props.base.tableUuid = r2.uuid;
6805
6805
  return doBeforeClickEvent(a, o2, { row: e2, columns: t2 });
6806
6806
  }
6807
- function B({ row: e2, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: r2, mainDefaultValueColumns: u2 }) {
6808
- const i3 = f.value.lineEditSave, s2 = l;
6809
- return i3.props.base.tableUuid = s2.uuid, new Promise((t3, n3) => {
6807
+ function B({ row: e2, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: r2, mainDefaultValueColumns: i3 }) {
6808
+ const u2 = f.value.lineEditSave, s2 = l;
6809
+ return u2.props.base.tableUuid = s2.uuid, new Promise((t3, n3) => {
6810
6810
  const l2 = { tableName: s2.props.dataOrigin.tableName };
6811
- getSaveFormRequestWithRow(a, i3, "/dsc/commons", false, u2, o2, e2, l2).then((e3) => {
6811
+ getSaveFormRequestWithRow(a, u2, "/dsc/commons", false, i3, o2, e2, l2).then((e3) => {
6812
6812
  t3(e3 ? e3.entity : {});
6813
6813
  }).catch((e3) => {
6814
6814
  n3(e3);
@@ -6819,26 +6819,26 @@
6819
6819
  F(null, null, n2, t2, e2);
6820
6820
  }
6821
6821
  function F(e2, t2, n2, o2, r2) {
6822
- const u2 = f.value.restoreEdit, i3 = l;
6823
- u2.props.base.tableUuid = i3.uuid;
6824
- const s2 = doBeforeClickEvent(a, u2, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6822
+ const i3 = f.value.restoreEdit, u2 = l;
6823
+ i3.props.base.tableUuid = u2.uuid;
6824
+ const s2 = doBeforeClickEvent(a, i3, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6825
6825
  if (!s2) return;
6826
- commonUtil.isPromise(s2) ? s2.then((e3) => {
6826
+ agilebuilderUi.isPromise(s2) ? s2.then((e3) => {
6827
6827
  e3 && h.value.restoreRow(r2, y);
6828
6828
  }) : h.value.restoreRow(r2, y);
6829
6829
  doAfterClickEvent(a, l, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6830
6830
  }
6831
6831
  function O(e2, t2, n2, o2, r2) {
6832
- const u2 = f.value.lineEditUpdate, i3 = l;
6833
- u2.props.base.tableUuid = i3.uuid;
6834
- const s2 = doBeforeClickEvent(a, u2, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6835
- s2 && (commonUtil.isPromise(s2) ? s2.then((a2) => {
6836
- a2 && D(e2, t2, n2, o2, r2, u2);
6837
- }) : D(e2, t2, n2, o2, r2, u2));
6838
- }
6839
- function D(e2, t2, n2, o2, r2, u2) {
6840
- a.editData = n2, canExecuteButton({ pageContext: a, configureObj: u2 }).then((u3) => {
6841
- if (true === u3.canExecute) {
6832
+ const i3 = f.value.lineEditUpdate, u2 = l;
6833
+ i3.props.base.tableUuid = u2.uuid;
6834
+ const s2 = doBeforeClickEvent(a, i3, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6835
+ s2 && (agilebuilderUi.isPromise(s2) ? s2.then((a2) => {
6836
+ a2 && D(e2, t2, n2, o2, r2, i3);
6837
+ }) : D(e2, t2, n2, o2, r2, i3));
6838
+ }
6839
+ function D(e2, t2, n2, o2, r2, i3) {
6840
+ a.editData = n2, canExecuteButton({ pageContext: a, configureObj: i3 }).then((i4) => {
6841
+ if (true === i4.canExecute) {
6842
6842
  h.value.editRow(r2, y);
6843
6843
  doAfterClickEvent(a, l, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6844
6844
  }
@@ -6847,18 +6847,18 @@
6847
6847
  });
6848
6848
  }
6849
6849
  function M(e2, t2, n2, o2, r2) {
6850
- const u2 = f.value.lineEditDelete, i3 = l;
6851
- u2.props.base.tableUuid = i3.uuid;
6852
- const s2 = doBeforeClickEvent(a, u2, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6853
- s2 && (commonUtil.isPromise(s2) ? s2.then((a2) => {
6854
- a2 && $(e2, t2, n2, o2, r2, u2);
6855
- }) : $(e2, t2, n2, o2, r2, u2));
6856
- }
6857
- function $(e2, t2, n2, o2, r2, u2) {
6858
- if (n2.id || n2.ID) a.editData = n2, canExecuteButton({ pageContext: a, configureObj: u2 }).then((e3) => {
6850
+ const i3 = f.value.lineEditDelete, u2 = l;
6851
+ i3.props.base.tableUuid = u2.uuid;
6852
+ const s2 = doBeforeClickEvent(a, i3, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6853
+ s2 && (agilebuilderUi.isPromise(s2) ? s2.then((a2) => {
6854
+ a2 && U(e2, t2, n2, o2, r2, i3);
6855
+ }) : U(e2, t2, n2, o2, r2, i3));
6856
+ }
6857
+ function U(e2, t2, n2, o2, r2, i3) {
6858
+ if (n2.id || n2.ID) a.editData = n2, canExecuteButton({ pageContext: a, configureObj: i3 }).then((e3) => {
6859
6859
  if (true === e3.canExecute) {
6860
6860
  const e4 = [];
6861
- n2.id ? e4.push(n2.id) : e4.push(n2.ID), standardEvents.delete({ pageContext: a, configureObj: u2, ids: e4 });
6861
+ n2.id ? e4.push(n2.id) : e4.push(n2.ID), standardEvents.delete({ pageContext: a, configureObj: i3, ids: e4 });
6862
6862
  }
6863
6863
  }).finally(() => {
6864
6864
  a.editData = null;
@@ -6868,7 +6868,7 @@
6868
6868
  doAfterClickEvent(a, l, { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2 });
6869
6869
  }
6870
6870
  }
6871
- function U(e2) {
6871
+ function $(e2) {
6872
6872
  if (!a.dataTypeMaps) return;
6873
6873
  const t2 = a.dataTypeMaps;
6874
6874
  let n2 = [];
@@ -6885,7 +6885,7 @@
6885
6885
  }
6886
6886
  } else {
6887
6887
  const e3 = { leftBracket: "(" };
6888
- e3.propName = o2, e3.propDbName = o2, e3.dataType = t2[o2] ? t2[o2] : "TEXT", e3.operator = "EQ", e3.propValue = a2, ie(e3, o2), e3.rightBracket = ")", e3.joinSign = "and", n2.push(e3);
6888
+ e3.propName = o2, e3.propDbName = o2, e3.dataType = t2[o2] ? t2[o2] : "TEXT", e3.operator = "EQ", e3.propValue = a2, ue(e3, o2), e3.rightBracket = ")", e3.joinSign = "and", n2.push(e3);
6889
6889
  }
6890
6890
  }
6891
6891
  h.value.toolbarRefresh(null, null, n2);
@@ -6910,9 +6910,9 @@
6910
6910
  if (e2.fixHeight && h.value && (h.value.tableHeight = e2.fixHeight), e2.maxHeight) return e2.maxHeight;
6911
6911
  }
6912
6912
  }
6913
- function L(e2, t2, n2, o2, r2, u2) {
6914
- const i3 = { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2, button: u2, id: n2.ID ? n2.ID : n2.id }, s2 = f.value[u2.sourceButton.uuid], c2 = l;
6915
- s2.props.base.tableUuid = c2.uuid, getHandleEvent(null, a, s2, "click", i3);
6913
+ function L(e2, t2, n2, o2, r2, i3) {
6914
+ const u2 = { originalValue: e2, formatValue: t2, row: n2, column: o2, rowIndex: r2, button: i3, id: n2.ID ? n2.ID : n2.id }, s2 = f.value[i3.sourceButton.uuid], c2 = l;
6915
+ s2.props.base.tableUuid = c2.uuid, getHandleEvent(null, a, s2, "click", u2);
6916
6916
  }
6917
6917
  function z(e2) {
6918
6918
  "close_open_win" === e2.data && h.value && h.value.refresh();
@@ -6967,7 +6967,7 @@
6967
6967
  function le() {
6968
6968
  m.forEach((e2) => {
6969
6969
  vue.watch(() => o.pageContext.entity.page[e2], () => {
6970
- U(ae());
6970
+ $(ae());
6971
6971
  });
6972
6972
  });
6973
6973
  }
@@ -6985,7 +6985,7 @@
6985
6985
  }), vue.watch(() => o.pageContext.searchFormData, (e2) => {
6986
6986
  w.value.data = e2;
6987
6987
  }), vue.watch(() => o.pageContext.entity.data, (e2) => {
6988
- U(o.pageContext.entity.data);
6988
+ $(o.pageContext.entity.data);
6989
6989
  }), vue.onUnmounted(() => {
6990
6990
  window.removeEventListener("message", z), bus.$off(b + "-close-component-page-dialog"), bus.$off(b + "_close-dialog-get-entity"), bus.$off(y + "-pickFileDone"), bus.$off(y + "-scanDone");
6991
6991
  });
@@ -6996,11 +6996,11 @@
6996
6996
  const t2 = g.value.getBoundingClientRect(), n2 = e2.getBoundingClientRect(), o2 = window.scrollY;
6997
6997
  return { distanceToTop: t2.top + o2 - n2.top, distanceToBottom: n2.bottom - t2.top };
6998
6998
  };
6999
- function ue({ row: e2, editConditions: t2 }) {
6999
+ function ie({ row: e2, editConditions: t2 }) {
7000
7000
  let n2 = true;
7001
7001
  return t2 && t2.length > 0 && (n2 = caculateShowCondition(o.pageContext, t2, e2)), n2;
7002
7002
  }
7003
- function ie(e2, t2) {
7003
+ function ue(e2, t2) {
7004
7004
  const n2 = getComponentRefByCode(o.pageContext, t2);
7005
7005
  if (n2) {
7006
7006
  const t3 = n2.getConfigure();
@@ -7066,10 +7066,10 @@
7066
7066
  return vue.openBlock(), vue.createElementBlock("div", { ref_key: "tableDivRef", ref: g, id: vue.unref(y) + "_tableDiv" }, [vue.createVNode(n2, { ref_key: "gridRef", ref: h, url: vue.unref(C), options: v.value, code: vue.unref(y), settings: vue.unref(S), "search-form-info": w.value, "list-toolbar-form-data": vue.unref(x), isDialog: vue.unref(a).isDialog, onSelect: q, onSelectAll: H, onSelectionChange: Y, onCellClick: J, onCellDblclick: Q, onRowClick: K, onRowDblclick: G, onHeaderClick: Z, onRefresh: X, onNewOpenGridDialog: vue.unref(popupToPage), onCanShowMobileSearch: ee, onGridOnmounted: V }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, _hoisted_1$3);
7067
7067
  };
7068
7068
  } }), _sfc_main$3 = vue.defineComponent({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
7069
- const n = e, o = n.pageContext.pageType, a = vue.ref(null), l = n.configure.uuid, r = n.pageContext.superGridItems, u = r ? r[l] : null;
7070
- a.value = u ? u.configure ? JSON.parse(u.configure) : null : n.configure;
7071
- const i2 = n.configure.runtime ? n.configure.runtime : {};
7072
- i2.style, i2.class;
7069
+ const n = e, o = n.pageContext.pageType, a = vue.ref(null), l = n.configure.uuid, r = n.pageContext.superGridItems, i2 = r ? r[l] : null;
7070
+ a.value = i2 ? i2.configure ? JSON.parse(i2.configure) : null : n.configure;
7071
+ const u = n.configure.runtime ? n.configure.runtime : {};
7072
+ u.style, u.class;
7073
7073
  const s = vue.ref(true), c = vue.ref(null);
7074
7074
  let p = null;
7075
7075
  function d(e2) {
@@ -7149,10 +7149,10 @@
7149
7149
  var _a, _b;
7150
7150
  if (t && ((_a = t.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) if ("beanName" === ((_b = t.props.dataOrigin) == null ? void 0 : _b.optionValueSetType)) {
7151
7151
  const o3 = e.backendUrl, l = e.systemCode, r = getPermissionCodes(t, e);
7152
- let u = getBaseUrl(o3, e.isTest) + "/dsc/commons/load-tree-node";
7153
- u = getRealRestApiPath(u, l, o3, e.isTest);
7154
- const i2 = { pageCode: e.code, pageVersion: e.version, tableName: e.tableName, systemCode: l, functionCode: r, beanName: e.beanName };
7155
- t.props.dataOrigin.beanName && (i2.beanName = t.props.dataOrigin.beanName), a && Object.assign(i2, a), http.post(u, i2).then((e2) => {
7152
+ let i2 = getBaseUrl(o3, e.isTest) + "/dsc/commons/load-tree-node";
7153
+ i2 = getRealRestApiPath(i2, l, o3, e.isTest);
7154
+ const u = { pageCode: e.code, pageVersion: e.version, tableName: e.tableName, systemCode: l, functionCode: r, beanName: e.beanName };
7155
+ t.props.dataOrigin.beanName && (u.beanName = t.props.dataOrigin.beanName), a && Object.assign(u, a), agilebuilderUi.http.post(i2, u).then((e2) => {
7156
7156
  n2(e2);
7157
7157
  });
7158
7158
  } else {
@@ -7166,7 +7166,7 @@
7166
7166
  var _a;
7167
7167
  if ("beanName" === ((_a = t.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
7168
7168
  const a2 = getBaseUrl(n.backendUrl, n.isTest) + "/dsc/commons/tree-node", l = packageSaveNodeParam(false, e, t, n);
7169
- http.delete(a2, { data: l }).then((e2) => {
7169
+ agilebuilderUi.http.delete(a2, { data: l }).then((e2) => {
7170
7170
  o(e2);
7171
7171
  });
7172
7172
  }
@@ -7174,7 +7174,7 @@
7174
7174
  var _a;
7175
7175
  if ("beanName" === ((_a = t.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
7176
7176
  const a2 = getBaseUrl(n.backendUrl, n.isTest) + "/dsc/commons/tree-node", l = packageSaveNodeParam(true, e, t, n);
7177
- http.post(a2, l).then((e2) => {
7177
+ agilebuilderUi.http.post(a2, l).then((e2) => {
7178
7178
  o(e2);
7179
7179
  });
7180
7180
  }
@@ -7182,7 +7182,7 @@
7182
7182
  var _a;
7183
7183
  if ("beanName" === ((_a = t.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
7184
7184
  const a2 = getBaseUrl(n.backendUrl, n.isTest) + "/dsc/commons/tree-node";
7185
- http.put(a2, packageSaveNodeParam(false, e, t, n)).then((e2) => {
7185
+ agilebuilderUi.http.put(a2, packageSaveNodeParam(false, e, t, n)).then((e2) => {
7186
7186
  o(e2);
7187
7187
  });
7188
7188
  }
@@ -7199,17 +7199,17 @@
7199
7199
  ((_a = a.configure.props) == null ? void 0 : _a.contextMenus) && (a.pageContext && a.configure && !a.pageContext.isTest ? a.configure.props.contextMenus.forEach((e2) => {
7200
7200
  if (e2.functionCodes && e2.functionCodes.length > 0) for (let t2 = 0; t2 < e2.functionCodes.length; t2++) {
7201
7201
  const n2 = e2.functionCodes[t2];
7202
- if (permission.checkPermission(n2, a.pageContext.systemCode)) return void r.value.push(e2);
7202
+ if (agilebuilderUi.checkPermission(n2, a.pageContext.systemCode)) return void r.value.push(e2);
7203
7203
  }
7204
7204
  else r.value.push(e2);
7205
7205
  }) : r.value = a.configure.props.contextMenus);
7206
- let u = getFormModelFields(a.pageContext, a.configure);
7207
- const i2 = vue.computed({ get: () => getVariableValue(l, u), set(e2) {
7208
- setVariableValue(l, u, e2);
7206
+ let i2 = getFormModelFields(a.pageContext, a.configure);
7207
+ const u = vue.computed({ get: () => getVariableValue(l, i2), set(e2) {
7208
+ setVariableValue(l, i2, e2);
7209
7209
  } }), s = vue.ref(!!((_c = (_b = a.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), c = a.configure.runtime ? a.configure.runtime : {}, p = c.style, d = c.class, f = vue.ref(), m = vue.ref(c.props ? c.props : {}), v = vue.ref({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), g = vue.ref(false), h = vue.ref([]), C = vue.ref(null), y = vue.ref(""), b = vue.ref(false), k = vue.ref(""), x = vue.ref(""), w = vue.ref("");
7210
7210
  vue.onMounted(() => {
7211
7211
  vue.nextTick(() => {
7212
- const e2 = i2.value;
7212
+ const e2 = u.value;
7213
7213
  handleAfterInitEvent(e2, a.pageContext, a.configure, { componentRef: f.value, value: e2, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
7214
7214
  });
7215
7215
  }), s.value ? g.value = true : getMenuTreeData(a.pageContext, a.configure).then((e2) => {
@@ -7240,10 +7240,10 @@
7240
7240
  const E = vue.ref({}), V = (e2, t2, a2, l2) => {
7241
7241
  if (k.value) return void elementPlus.ElMessage.warning("请先保存当前编辑节点!");
7242
7242
  document.removeEventListener("click", P), E.value = a2, o.value = true;
7243
- const { clientX: r2, clientY: u2 } = e2, i3 = n.value;
7244
- if (i3) {
7245
- const { innerWidth: e3, innerHeight: t3 } = window, { offsetWidth: n2, offsetHeight: o2 } = i3, a3 = r2 + n2 > e3 ? r2 - n2 : r2, l3 = u2 + o2 > t3 ? u2 - o2 : u2;
7246
- i3.style.left = `${a3}px`, i3.style.top = `${l3}px`, i3.style.display = "block";
7243
+ const { clientX: r2, clientY: i3 } = e2, u2 = n.value;
7244
+ if (u2) {
7245
+ const { innerWidth: e3, innerHeight: t3 } = window, { offsetWidth: n2, offsetHeight: o2 } = u2, a3 = r2 + n2 > e3 ? r2 - n2 : r2, l3 = i3 + o2 > t3 ? i3 - o2 : i3;
7246
+ u2.style.left = `${a3}px`, u2.style.top = `${l3}px`, u2.style.display = "block";
7247
7247
  }
7248
7248
  document.addEventListener("click", P);
7249
7249
  }, P = () => {
@@ -7292,16 +7292,16 @@
7292
7292
  f.value.setChecked(e2, t2, n2);
7293
7293
  }, getCurrentKey: () => f.value.getCurrentKey(), getCurrentNode: () => f.value.getCurrentNode(), setCurrentKey: (e2, t2 = true) => f.value.setCurrentKey(e2, t2), setCurrentNode: (e2, t2 = true) => f.value.setCurrentNode(e2, t2) }), (e2, t2) => {
7294
7294
  var _a2;
7295
- const l2 = vue.resolveComponent("el-input"), u2 = vue.resolveComponent("el-button"), i3 = vue.resolveComponent("SuperIcon"), c2 = vue.resolveComponent("el-tree");
7296
- return vue.openBlock(), vue.createElementBlock("div", { class: vue.normalizeClass(["amb-tree-runtime-main", vue.unref(d)]) }, [m.value.filter ? (vue.openBlock(), vue.createBlock(l2, { key: 0, modelValue: y.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => y.value = e3), style: { width: "100%" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true), g.value ? (vue.openBlock(), vue.createBlock(c2, { key: 1, ref_key: "menuTreeRef", ref: f, style: vue.normalizeStyle(vue.unref(p)), load: _, data: h.value, "node-key": "nodeId", props: v.value, "default-expand-all": m.value.defaultExpandAll, "expand-on-click-node": m.value.expandOnClickNode, indent: m.value.retractWidth ? m.value.retractWidth : 18, accordion: m.value.accordion, "show-checkbox": !!m.value.showCheckbox, "highlight-current": "", lazy: s.value, "filter-node-method": T, onNodeClick: S, onNodeContextmenu: V }, { default: vue.withCtx(({ node: n2, data: o2 }) => [o2.nodeId === k.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [vue.createVNode(l2, { modelValue: w.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => w.value = e3), size: "small" }, null, 8, ["modelValue"]), vue.createElementVNode("div", null, [vue.createVNode(u2, { type: "primary", link: "", onClick: (e3) => ((e4) => {
7295
+ const l2 = vue.resolveComponent("el-input"), i3 = vue.resolveComponent("el-button"), u2 = vue.resolveComponent("SuperIcon"), c2 = vue.resolveComponent("el-tree");
7296
+ return vue.openBlock(), vue.createElementBlock("div", { class: vue.normalizeClass(["amb-tree-runtime-main", vue.unref(d)]) }, [m.value.filter ? (vue.openBlock(), vue.createBlock(l2, { key: 0, modelValue: y.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => y.value = e3), style: { width: "100%" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true), g.value ? (vue.openBlock(), vue.createBlock(c2, { key: 1, ref_key: "menuTreeRef", ref: f, style: vue.normalizeStyle(vue.unref(p)), load: _, data: h.value, "node-key": "nodeId", props: v.value, "default-expand-all": m.value.defaultExpandAll, "expand-on-click-node": m.value.expandOnClickNode, indent: m.value.retractWidth ? m.value.retractWidth : 18, accordion: m.value.accordion, "show-checkbox": !!m.value.showCheckbox, "highlight-current": "", lazy: s.value, "filter-node-method": T, onNodeClick: S, onNodeContextmenu: V }, { default: vue.withCtx(({ node: n2, data: o2 }) => [o2.nodeId === k.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [vue.createVNode(l2, { modelValue: w.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => w.value = e3), size: "small" }, null, 8, ["modelValue"]), vue.createElementVNode("div", null, [vue.createVNode(i3, { type: "primary", link: "", onClick: (e3) => ((e4) => {
7297
7297
  "" !== w.value ? (e4.data.name = w.value, x.value && e4.data.nodeId === x.value ? createTreeNode(e4, a.configure, a.pageContext).then((t3) => {
7298
7298
  R(e4, t3.currentNode), N(), elementPlus.ElMessage.success("保存成功!");
7299
7299
  }) : updateTreeNode(e4, a.configure, a.pageContext).then((t3) => {
7300
7300
  R(e4, t3.currentNode), N(), elementPlus.ElMessage.success("保存成功!");
7301
7301
  })) : elementPlus.ElMessage.warning("请输入节点名称");
7302
- })(n2) }, { default: vue.withCtx(() => t2[2] || (t2[2] = [vue.createTextVNode(" 保存 ", -1)])), _: 2, __: [2] }, 1032, ["onClick"]), vue.createVNode(u2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e3) => {
7302
+ })(n2) }, { default: vue.withCtx(() => t2[2] || (t2[2] = [vue.createTextVNode(" 保存 ", -1)])), _: 2, __: [2] }, 1032, ["onClick"]), vue.createVNode(i3, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e3) => {
7303
7303
  x.value && e3.data.nodeId === x.value && f.value.remove(e3), N();
7304
- })(n2, e2.configure, e2.pageContext) }, { default: vue.withCtx(() => t2[3] || (t2[3] = [vue.createTextVNode(" 撤销 ", -1)])), _: 2, __: [3] }, 1032, ["onClick"])])])) : (vue.openBlock(), vue.createElementBlock("span", { key: 1, title: n2.label, class: "ellipsis" }, [o2.iconValue ? (vue.openBlock(), vue.createBlock(i3, { key: 0, iconType: o2.iconType, iconValue: o2.iconValue }, null, 8, ["iconType", "iconValue"])) : m.value.iconValue ? (vue.openBlock(), vue.createBlock(i3, { key: 1, iconType: m.value.iconType, iconValue: m.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [o2.isLeaf ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [t2[5] || (t2[5] = vue.createElementVNode("img", { src: _imports_1, class: "file" }, null, -1)), vue.createElementVNode("span", null, vue.toDisplayString(o2.name), 1)])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [vue.createElementVNode("div", _hoisted_4, [t2[4] || (t2[4] = vue.createElementVNode("img", { src: _imports_0, class: "file" }, null, -1)), vue.createElementVNode("span", null, vue.toDisplayString(o2.name), 1)])]))], 64))], 8, _hoisted_2$1))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : vue.createCommentVNode("", true), vue.withDirectives(vue.createElementVNode("div", null, [vue.createElementVNode("ul", { ref_key: "contxtMenuRef", ref: n, class: "context-menu" }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(r.value, (e3, t3) => (vue.openBlock(), vue.createElementBlock("li", { key: t3, tabindex: "-1", class: "menu__item", onClick: (t4) => ((e4) => {
7304
+ })(n2, e2.configure, e2.pageContext) }, { default: vue.withCtx(() => t2[3] || (t2[3] = [vue.createTextVNode(" 撤销 ", -1)])), _: 2, __: [3] }, 1032, ["onClick"])])])) : (vue.openBlock(), vue.createElementBlock("span", { key: 1, title: n2.label, class: "ellipsis" }, [o2.iconValue ? (vue.openBlock(), vue.createBlock(u2, { key: 0, iconType: o2.iconType, iconValue: o2.iconValue }, null, 8, ["iconType", "iconValue"])) : m.value.iconValue ? (vue.openBlock(), vue.createBlock(u2, { key: 1, iconType: m.value.iconType, iconValue: m.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [o2.isLeaf ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [t2[5] || (t2[5] = vue.createElementVNode("img", { src: _imports_1, class: "file" }, null, -1)), vue.createElementVNode("span", null, vue.toDisplayString(o2.name), 1)])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [vue.createElementVNode("div", _hoisted_4, [t2[4] || (t2[4] = vue.createElementVNode("img", { src: _imports_0, class: "file" }, null, -1)), vue.createElementVNode("span", null, vue.toDisplayString(o2.name), 1)])]))], 64))], 8, _hoisted_2$1))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : vue.createCommentVNode("", true), vue.withDirectives(vue.createElementVNode("div", null, [vue.createElementVNode("ul", { ref_key: "contxtMenuRef", ref: n, class: "context-menu" }, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(r.value, (e3, t3) => (vue.openBlock(), vue.createElementBlock("li", { key: t3, tabindex: "-1", class: "menu__item", onClick: (t4) => ((e4) => {
7305
7305
  if (E.value && "standard" === e4.type && e4.standardEvent) if ("edit" === e4.standardEvent) k.value = E.value.data.nodeId, w.value = E.value.data.name;
7306
7306
  else if ("delete" === e4.standardEvent) E.value.childNodes && E.value.childNodes.length > 0 && e4.deleteParentNodeTip ? (e4.deleteParentNodeTipMessage || (e4.deleteParentNodeTipMessage = "当前节点下有子节点,确认删除?"), elementPlus.ElMessageBox.confirm(e4.deleteParentNodeTipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
7307
7307
  B(e4);
@@ -7314,12 +7314,12 @@
7314
7314
  }
7315
7315
  })(e3) }, [vue.createElementVNode("span", null, vue.toDisplayString(e3.name), 1)], 8, _hoisted_6))), 128))], 512)], 512), [[vue.vShow, o.value && ((_a2 = r.value) == null ? void 0 : _a2.length) > 0]])], 2);
7316
7316
  };
7317
- } }), treeRuntime = _export_sfc(_sfc_main$2, [["__scopeId", "data-v-89330064"]]), treeRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: treeRuntime }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$1 = ["src"], _sfc_main$1 = vue.defineComponent({ __name: "barcode-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
7317
+ } }), treeRuntime = _export_sfc(_sfc_main$2, [["__scopeId", "data-v-a8a325a9"]]), treeRuntime$1 = Object.freeze(Object.defineProperty({ __proto__: null, default: treeRuntime }, Symbol.toStringTag, { value: "Module" })), _hoisted_1$1 = ["src"], _sfc_main$1 = vue.defineComponent({ __name: "barcode-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
7318
7318
  const n = e, o = n.pageContext.entity ? n.pageContext.entity : {};
7319
7319
  let a = getFormModelFields(n.pageContext, n.configure);
7320
7320
  const l = vue.computed({ get: () => getVariableValue(o, a), set(e2) {
7321
7321
  setVariableValue(o, a, e2);
7322
- } }), r = n.configure.runtime ? n.configure.runtime : {}, u = vue.ref(r.props ? r.props : {}), i2 = r.style, s = r.class, c = r.headerStyle, p = vue.ref(""), d = vue.ref(null), f = vue.ref(u.value.brCodeFormat ?? "CODE128"), m = vue.ref([]);
7322
+ } }), r = n.configure.runtime ? n.configure.runtime : {}, i2 = vue.ref(r.props ? r.props : {}), u = r.style, s = r.class, c = r.headerStyle, p = vue.ref(""), d = vue.ref(null), f = vue.ref(i2.value.brCodeFormat ?? "CODE128"), m = vue.ref([]);
7323
7323
  function v(e2) {
7324
7324
  return setVariableValue(o, a, e2);
7325
7325
  }
@@ -7328,7 +7328,7 @@
7328
7328
  }
7329
7329
  function h(e2) {
7330
7330
  var t2;
7331
- "QR-code" === u.value.type ? (t2 = e2, qrcode.toDataURL(t2, (e3, t3) => {
7331
+ "QR-code" === i2.value.type ? (t2 = e2, qrcode.toDataURL(t2, (e3, t3) => {
7332
7332
  e3 ? console.error(e3) : p.value = t3;
7333
7333
  })) : function(e3) {
7334
7334
  try {
@@ -7339,7 +7339,7 @@
7339
7339
  }(e2);
7340
7340
  }
7341
7341
  return vue.onMounted(() => {
7342
- u.value.generateRule && ("fixed" === u.value.generateRuleType ? (m.value = Array.from(u.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e2) => e2[1]), m.value.forEach((e2) => {
7342
+ i2.value.generateRule && ("fixed" === i2.value.generateRuleType ? (m.value = Array.from(i2.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e2) => e2[1]), m.value.forEach((e2) => {
7343
7343
  vue.watch(() => n.pageContext.entity.data[e2], (e3, t2) => {
7344
7344
  null != e3 && function() {
7345
7345
  let e4 = true;
@@ -7348,10 +7348,10 @@
7348
7348
  }), e4 && g(function(e5, t3) {
7349
7349
  const n2 = /\$\{(\w+)\}/g;
7350
7350
  return e5.replace(n2, (e6, n3) => t3.hasOwnProperty(n3) ? t3[n3] : e6);
7351
- }(u.value.generateRule, n.pageContext.entity.data));
7351
+ }(i2.value.generateRule, n.pageContext.entity.data));
7352
7352
  }();
7353
7353
  });
7354
- })) : http.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-models/by-code/" + u.value.generateRule).then((e2) => {
7354
+ })) : agilebuilderUi.http.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-models/by-code/" + i2.value.generateRule).then((e2) => {
7355
7355
  const t2 = JSON.parse(e2.barcodeModelItems);
7356
7356
  t2.forEach((e3) => {
7357
7357
  "-1" !== e3.propDbName && -1 !== e3.propDbName && (m.value.push(e3.propDbName), vue.watch(() => n.pageContext.entity.data[e3.propDbName], (e4, o2) => {
@@ -7368,12 +7368,12 @@
7368
7368
  return getVariableValue(o, a);
7369
7369
  }, setValue: v }), (e2, t2) => {
7370
7370
  const n2 = vue.resolveComponent("el-form-item");
7371
- return vue.openBlock(), vue.createBlock(n2, { required: !!u.value.required, class: vue.normalizeClass(vue.unref(s)), "label-width": u.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [u.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, style: vue.normalizeStyle({ ...vue.unref(c) }) }, vue.toDisplayString(vue.unref($t)(u.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => ["QR-code" === u.value.type ? (vue.openBlock(), vue.createElementBlock("img", { key: 0, src: p.value }, null, 8, _hoisted_1$1)) : (vue.openBlock(), vue.createElementBlock("canvas", { key: 1, ref_key: "barcode", ref: d }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
7371
+ return vue.openBlock(), vue.createBlock(n2, { required: !!i2.value.required, class: vue.normalizeClass(vue.unref(s)), "label-width": i2.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [i2.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, style: vue.normalizeStyle({ ...vue.unref(c) }) }, vue.toDisplayString(vue.unref($t)(i2.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => ["QR-code" === i2.value.type ? (vue.openBlock(), vue.createElementBlock("img", { key: 0, src: p.value }, null, 8, _hoisted_1$1)) : (vue.openBlock(), vue.createElementBlock("canvas", { key: 1, ref_key: "barcode", ref: d }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
7372
7372
  };
7373
7373
  } }), barcodeRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main$1 }, Symbol.toStringTag, { value: "Module" })), _hoisted_1 = { key: 0, style: { width: "100%", height: "100%" } }, _hoisted_2 = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, _sfc_main = vue.defineComponent({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(e, { expose: t }) {
7374
7374
  const n = e, o = n.pageContext.entity ? n.pageContext.entity : {}, a = getFormModelFields(n.pageContext, n.configure), l = vue.computed({ get: () => getVariableValue(o, a), set(e2) {
7375
7375
  setVariableValue(o, a, e2);
7376
- } }), r = n.configure.runtime ? n.configure.runtime : {}, u = r.style, i2 = r.class, s = r.headerStyle, c = vue.ref(r.props ? r.props : {}), p = function(e2) {
7376
+ } }), r = n.configure.runtime ? n.configure.runtime : {}, i2 = r.style, u = r.class, s = r.headerStyle, c = vue.ref(r.props ? r.props : {}), p = function(e2) {
7377
7377
  let t2 = {};
7378
7378
  if (e2) for (let o2 in e2) {
7379
7379
  const a2 = e2[o2];
@@ -7422,7 +7422,7 @@
7422
7422
  requiredClass.value = addRequiredClassUtil();
7423
7423
  } }), (e2, t2) => {
7424
7424
  const n2 = vue.resolveComponent("el-form-item");
7425
- return c.value.tittleShow ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "formItemRef", ref: b, required: c.value.required, class: vue.normalizeClass(vue.unref(i2)), "label-width": c.value.labelWidth, style: vue.normalizeStyle(vue.unref(u)) }, { label: vue.withCtx(() => [c.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: k, style: vue.normalizeStyle({ ...vue.unref(s) }) }, vue.toDisplayString(vue.unref($t)(c.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [f.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(f.value), { ref_key: "customRef", ref: y, size: c.value.size, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: vue.unref(getFormPropName)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": vue.unref(p), modelValue: l.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l.value = e3), disabled: "disabled" === c.value.state, "additional-param-map": vue.unref(d), "component-id": C.value, onSetEntityValue: m, onSetCustomRules: v, onRestoreGridEdit: g, onHandleEvent: x, onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleEvent)(l.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : f.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(f.value), { ref_key: "customRef", ref: y, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: vue.unref(getFormPropName)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": vue.unref(p), modelValue: l.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => l.value = e3), disabled: "disabled" === c.value.state, "additional-param-map": vue.unref(d), "component-id": C.value, onSetEntityValue: m, onSetCustomRules: v, onRestoreGridEdit: g, onHandleEvent: x, onChange: t2[3] || (t2[3] = (t3) => vue.unref(handleEvent)(l.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : vue.createCommentVNode("", true);
7425
+ return c.value.tittleShow ? (vue.openBlock(), vue.createBlock(n2, { key: 0, ref_key: "formItemRef", ref: b, required: c.value.required, class: vue.normalizeClass(vue.unref(u)), "label-width": c.value.labelWidth, style: vue.normalizeStyle(vue.unref(i2)) }, { label: vue.withCtx(() => [c.value.tittleShow ? (vue.openBlock(), vue.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: k, style: vue.normalizeStyle({ ...vue.unref(s) }) }, vue.toDisplayString(vue.unref($t)(c.value.title)), 5)) : vue.createCommentVNode("", true)]), default: vue.withCtx(() => [f.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(f.value), { ref_key: "customRef", ref: y, size: c.value.size, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: vue.unref(getFormPropName)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": vue.unref(p), modelValue: l.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l.value = e3), disabled: "disabled" === c.value.state, "additional-param-map": vue.unref(d), "component-id": C.value, onSetEntityValue: m, onSetCustomRules: v, onRestoreGridEdit: g, onHandleEvent: x, onChange: t2[1] || (t2[1] = (t3) => vue.unref(handleEvent)(l.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : vue.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : f.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(f.value), { ref_key: "customRef", ref: y, entity: e2.pageContext.entity.data, pageData: e2.pageContext.entity.page, pageContext: e2.pageContext, configureObj: e2.configure, prop: vue.unref(getFormPropName)(e2.configure.props && e2.configure.props.base ? e2.configure.props.base.prop : null), "custom-params": vue.unref(p), modelValue: l.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => l.value = e3), disabled: "disabled" === c.value.state, "additional-param-map": vue.unref(d), "component-id": C.value, onSetEntityValue: m, onSetCustomRules: v, onRestoreGridEdit: g, onHandleEvent: x, onChange: t2[3] || (t2[3] = (t3) => vue.unref(handleEvent)(l.value, e2.pageContext, e2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : vue.createCommentVNode("", true);
7426
7426
  };
7427
7427
  } }), customRuntime = Object.freeze(Object.defineProperty({ __proto__: null, default: _sfc_main }, Symbol.toStringTag, { value: "Module" }));
7428
7428
  exports.FuncType = FuncType, exports.HomeChart = _sfc_main$X, exports.SuperPageDialogNew = _sfc_main$12, exports.SuperPageNew = SuperPageNew, exports.YxAffix = YxAffix, exports.cn = cn, exports.en = en, exports.getComponentOptionConfigs = getComponentOptionConfigs, exports.getComponentOptionConfigsBase = getComponentOptionConfigsBase, exports.getCustomTheme = getCustomTheme, exports.getCustomThemeOptions = getCustomThemeOptions, exports.getDateShortCuts = getDateShortCuts, exports.getFunctionInfo = getFunctionInfo, exports.getListCode = getListCode, exports.getNumFormatterForChart = getNumFormatter, exports.getStandPermissionInfo = getStandPermissionInfo, Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });