super-page-runtime 2.3.21 → 2.3.22-tmp2

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 (520) 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.mjs +93 -0
  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} +5 -5
  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} +5 -5
  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} +7 -7
  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.mjs +6 -0
  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.mjs +21 -0
  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} +6 -6
  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} +8 -8
  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} +2 -2
  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} +2 -2
  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} +6 -6
  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} +8 -8
  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} +6 -6
  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} +7 -7
  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} +7 -7
  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} +7 -7
  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} +31 -31
  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} +9 -9
  108. package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +4 -4
  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} +14 -14
  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} +10 -10
  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} +10 -10
  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} +5 -5
  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} +20 -22
  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} +9 -9
  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} +33 -34
  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} +8 -8
  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} +8 -8
  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} +8 -8
  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} +7 -7
  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} +10 -10
  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} +3 -3
  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} +9 -9
  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} +15 -15
  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} +9 -9
  144. package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +11 -11
  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.mjs +6 -0
  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} +7 -7
  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} +2 -2
  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} +6 -6
  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} +4 -4
  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/_virtual/_plugin-vue_export-helper.cjs +6 -0
  173. package/dist/lib/assets/chart-themes/bar-theme.cjs +2 -0
  174. package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
  175. package/dist/lib/assets/chart-themes/gauge-theme.cjs +2 -0
  176. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
  177. package/dist/lib/assets/chart-themes/pie-theme.cjs +2 -0
  178. package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
  179. package/dist/lib/assets/chart-themes/radar-theme.cjs +2 -0
  180. package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
  181. package/dist/lib/assets/chart-themes/scatter-theme.cjs +2 -0
  182. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
  183. package/dist/lib/assets/file.png.cjs +2 -0
  184. package/dist/lib/assets/folder.png.cjs +2 -0
  185. package/dist/lib/components/runtime/index.d.ts +5 -0
  186. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +13 -0
  187. package/dist/lib/components/runtime/utils/anchor-util.cjs +62 -0
  188. package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
  189. package/dist/lib/components/runtime/utils/api/api-util.cjs +3 -0
  190. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  191. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +169 -0
  192. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  193. package/dist/lib/components/runtime/utils/assemblys-config.cjs +16 -0
  194. package/dist/lib/components/runtime/utils/barcode-util.cjs +10 -0
  195. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  196. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +137 -0
  197. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +34 -0
  198. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +78 -0
  199. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +52 -0
  200. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +43 -0
  201. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +244 -0
  202. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
  203. package/dist/lib/components/runtime/utils/common-util.cjs +91 -0
  204. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  205. package/dist/lib/components/runtime/utils/eventBus.cjs +3 -0
  206. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +345 -0
  208. package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
  209. package/dist/lib/components/runtime/utils/events/print-label.cjs +97 -0
  210. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  211. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1101 -0
  212. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
  213. package/dist/lib/components/runtime/utils/events/validator-util.cjs +296 -0
  214. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
  215. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +34 -0
  216. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  217. package/dist/{es/components/runtime/utils/form/scan-util.js → lib/components/runtime/utils/form/scan-util.cjs} +6 -9
  218. package/dist/lib/components/runtime/utils/global-refs.cjs +42 -0
  219. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  220. package/dist/lib/components/runtime/utils/i18n-util.cjs +11 -0
  221. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  222. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +4 -0
  223. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
  224. package/dist/lib/components/runtime/utils/page-helper-util.cjs +354 -0
  225. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  226. package/dist/lib/components/runtime/utils/page-init-util.cjs +244 -0
  227. package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
  228. package/dist/lib/components/runtime/utils/page-permission-util.cjs +26 -0
  229. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  230. package/dist/lib/components/runtime/utils/page-store.cjs +50 -0
  231. package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
  232. package/dist/lib/components/runtime/utils/store-util.cjs +11 -0
  233. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  234. package/dist/lib/components/runtime/utils/store.cjs +3 -0
  235. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  236. package/dist/lib/components/runtime/utils/table-utils.cjs +68 -0
  237. package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
  238. package/dist/lib/components/runtime/utils/tree-utils.cjs +54 -0
  239. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +3 -0
  240. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +24 -0
  241. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +5 -0
  242. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +17 -0
  243. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +3 -0
  244. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +35 -0
  245. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +3 -0
  246. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +3 -0
  247. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +3 -0
  248. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +17 -0
  249. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +5 -0
  250. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +41 -0
  251. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +11 -0
  252. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +3 -0
  253. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +11 -0
  254. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +3 -0
  255. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +53 -0
  256. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +3 -0
  257. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +5 -0
  258. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +48 -0
  259. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +5 -0
  260. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +24 -0
  261. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +5 -0
  262. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +34 -0
  263. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +5 -0
  264. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +24 -0
  265. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +5 -0
  266. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +24 -0
  267. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +402 -0
  268. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  269. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +3 -0
  270. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +3 -0
  271. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +6 -0
  272. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +3 -0
  273. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +36 -0
  274. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +3 -0
  275. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +13 -0
  276. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +3 -0
  277. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +3 -0
  278. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +249 -0
  279. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +16 -0
  280. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
  281. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +3 -0
  282. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +32 -0
  283. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  284. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +3 -0
  285. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +32 -0
  286. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  287. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +3 -0
  288. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +19 -0
  289. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  290. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +3 -0
  291. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +12 -0
  292. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  293. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +3 -0
  294. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +21 -0
  295. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  296. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +3 -0
  297. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +13 -0
  298. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  299. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +3 -0
  300. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +30 -0
  301. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  302. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +3 -0
  303. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +15 -0
  304. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  305. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +3 -0
  306. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +5 -0
  307. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +21 -0
  308. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +3 -0
  309. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +17 -0
  310. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +3 -0
  311. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +15 -0
  312. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
  313. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +27 -0
  314. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +5 -0
  315. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  316. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +79 -0
  317. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +3 -0
  318. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +20 -0
  319. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +3 -0
  320. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +15 -0
  321. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +3 -0
  322. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +12 -0
  323. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +5 -0
  324. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +88 -0
  325. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +5 -0
  326. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +43 -0
  327. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +3 -0
  328. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +59 -0
  329. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +382 -0
  330. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +3 -0
  331. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +322 -0
  332. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +3 -0
  333. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +3 -0
  334. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +81 -0
  335. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +5 -0
  336. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +124 -0
  337. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +3 -0
  338. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  339. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +3 -0
  340. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +3 -0
  341. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +57 -0
  342. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +35 -0
  343. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +3 -0
  344. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +3 -0
  345. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +57 -0
  346. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +3 -0
  347. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +91 -0
  348. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +3 -0
  349. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +47 -0
  350. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +3 -0
  351. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +20 -0
  352. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +3 -0
  353. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +65 -0
  354. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +3 -0
  355. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +20 -0
  356. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +3 -0
  357. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +70 -0
  358. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +5 -0
  359. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +31 -0
  360. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +3 -0
  361. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +26 -0
  362. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +5 -0
  363. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +13 -0
  364. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +3 -0
  365. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +75 -0
  366. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +5 -0
  367. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +188 -0
  368. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +3 -0
  369. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +130 -0
  370. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +3 -0
  371. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +11 -0
  372. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +3 -0
  373. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +29 -0
  374. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +3 -0
  375. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +38 -0
  376. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +3 -0
  377. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +20 -0
  378. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +73 -0
  379. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  380. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +3 -0
  381. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +132 -0
  382. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  383. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +3 -0
  384. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +3 -0
  385. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
  386. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +3 -0
  387. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +5 -0
  388. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
  389. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +23 -0
  390. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +5 -0
  391. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +23 -0
  392. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +5 -0
  393. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +34 -0
  394. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +3 -0
  395. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +17 -0
  396. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +3 -0
  397. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +20 -0
  398. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +5 -0
  399. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +19 -0
  400. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +3 -0
  401. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +14 -0
  402. package/dist/lib/components/runtime/views/home-chart.vue.cjs +38 -0
  403. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  404. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +3 -0
  405. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +23 -0
  406. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  407. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +3 -0
  408. package/dist/lib/components/runtime/views/super-page.vue.cjs +5 -0
  409. package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
  410. package/dist/lib/components/runtime/views/super-page.vue2.cjs +264 -0
  411. package/dist/lib/favicon.ico +0 -0
  412. package/dist/lib/i18n/langs/cn.cjs +2 -0
  413. package/dist/lib/i18n/langs/en.cjs +2 -0
  414. package/dist/lib/index.cjs +6 -0
  415. package/dist/lib/index.d.ts +16 -0
  416. package/dist/lib/style.css +996 -0
  417. package/dist/umd/favicon.ico +0 -0
  418. package/dist/umd/index.full.min.js +7429 -0
  419. package/dist/umd/style.css +996 -0
  420. package/package.json +5 -4
  421. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  422. package/dist/es/components/runtime/utils/api/api-util.js +0 -4
  423. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  424. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1169
  425. package/dist/es/components/runtime/utils/i18n-util.js +0 -14
  426. package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
  427. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  428. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  429. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  430. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  431. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
  432. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  433. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
  434. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  435. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  436. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  437. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  438. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  439. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
  440. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
  441. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
  442. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
  443. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
  444. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  445. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
  446. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  447. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
  448. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  449. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
  450. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  451. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
  452. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
  453. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
  454. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  455. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  456. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  457. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  458. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  459. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  460. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -14
  461. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  462. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  463. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  464. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  465. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  466. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  467. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  468. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
  469. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  470. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  471. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  472. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  473. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  474. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  475. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  476. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  477. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  478. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  479. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  480. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  481. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  482. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  483. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  484. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
  485. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  486. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -6
  487. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
  488. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  489. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  490. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  491. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -18
  492. package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
  493. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
  494. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  495. package/dist/es.zip +0 -0
  496. /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
  497. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  498. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  499. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  500. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  501. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  502. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  503. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  504. /package/dist/es/components/runtime/utils/{barcode-util.js → barcode-util.mjs} +0 -0
  505. /package/dist/es/components/runtime/utils/{eventBus.js → eventBus.mjs} +0 -0
  506. /package/dist/es/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.mjs} +0 -0
  507. /package/dist/es/components/runtime/utils/{global-refs.js → global-refs.mjs} +0 -0
  508. /package/dist/es/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.mjs} +0 -0
  509. /package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +0 -0
  510. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  511. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.mjs} +0 -0
  512. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.mjs} +0 -0
  513. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.mjs} +0 -0
  514. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.mjs} +0 -0
  515. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.mjs} +0 -0
  516. /package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.mjs} +0 -0
  517. /package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.mjs} +0 -0
  518. /package/dist/es/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.mjs} +0 -0
  519. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  520. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
@@ -0,0 +1,322 @@
1
+ "use strict";
2
+ const e = require("vue"), t = require("../../../../utils/events/event-util.cjs"), n = require("../../../../utils/page-helper-util.cjs"), o = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/eventBus.cjs"), i = require("../../../../utils/table-utils.cjs"), a = require("../../../../utils/common-util.cjs"), u = require("../../../../utils/events/standard-event.cjs"), r = require("../../chart/table/chart-table-util.cjs"), s = e.defineComponent({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(s2, { expose: c, emit: d }) {
3
+ var _a;
4
+ const p = s2, f = p.pageContext;
5
+ let g = p.configure;
6
+ const b = p.configure.runtime ? p.configure.runtime : {};
7
+ f.isTest ? b.value = p.configure.runtime ? p.configure.runtime : {} : f.tableRuntimes && f.tableRuntimes[g.uuid] && (g = JSON.parse(f.tableRuntimes[g.uuid].configure), b.value = g.runtime ? g.runtime : {});
8
+ const v = a.getListCode(f.code, f.version, g.uuid), m = f.entity.data, S = g.code ? g.code : v, h = u.getAdditionalParamMap(f), w = b && b.events ? b.events : [], C = e.ref([]), T = f.superGridItems, x = T ? T[g.uuid] : null, D = b.style, y = b.class, P = p.pageContext.entity ? p.pageContext.entity : {};
9
+ let R = o.getModelFields(p.configure, S), I = a.getBaseUrl(f.backendUrl, f.isTest);
10
+ I || (I = window.$vueApp.config.globalProperties.baseURL);
11
+ const k = e.ref(false);
12
+ let O = e.ref(0);
13
+ const _ = (_a = g.props) == null ? void 0 : _a.dataOrigin.principalLinkage, V = e.ref({}), A = d;
14
+ V.value = function() {
15
+ var _a2, _b;
16
+ const e2 = { title: (g == null ? void 0 : g.title) || null, isSql: true, subTableData: null, rowKeyProp: _, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: f.code, pageVersion: f.version, pageContext: f, configureObj: g, showPageArea: false, showRowForm: false, showOverflowTooltip: !(!g.props || !g.props.otherSettings || void 0 !== g.props.otherSettings.isBreakLine && false !== g.props.otherSettings.isBreakLine), backendUrl: I, cellStyleRender: me, rowStyleRender: ve, titleStyleRender: Se, allEditable: (_b = (_a2 = g.props) == null ? void 0 : _a2.base) == null ? void 0 : _b.allEditable };
17
+ return D && (e2.tableStyle = D), y && (e2.tableClass = y), g.props && g.props.base && true === g.props.base.subPaging ? e2.showPageArea = true : e2.showPageArea = false, g.props.base.showRowForm && (e2.showRowForm = g.props.base.showRowForm), function(e3) {
18
+ const t2 = g.props ? g.props.dataOrigin : {};
19
+ if (t2.treeTable) {
20
+ let n2;
21
+ const o2 = t2.rowKey;
22
+ if (n2 = o2 && o2.indexOf("~~") > 0 ? o2.substring(o2.indexOf("~~") + 2) : o2, e3.parentProp = n2, t2.checkStrictly && (e3.checkStrictly = t2.checkStrictly), e3.parentProp) {
23
+ const o3 = t2.lazy, l2 = t2.defaultExpandAll;
24
+ e3.lazy = null == o3 || o3, e3.defaultExpandAll = null != l2 && l2;
25
+ const i2 = { parentProp: n2, lazy: e3.lazy, defaultExpandAll: e3.defaultExpandAll };
26
+ e3.extraParam.listViewTreeSetting = JSON.stringify(i2), e3.subRowUrl = I + "/dsc/commons/list-subs";
27
+ }
28
+ }
29
+ }(e2), e2;
30
+ }();
31
+ const M = e.ref(null);
32
+ function E() {
33
+ M.value && (V.value.subTableData = null, M.value.reloadSubTableData(v));
34
+ }
35
+ function B(e2, t2) {
36
+ if (t2 || (t2 = V.value), void 0 === e2 && (e2 = F()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e2, t2.getFormData = U, t2.getGridData = q, t2.extraParam.subTableListViewCode = v, t2.extraParam.beanName = f.beanName, t2.extraParam.subtableSetting = g.props && g.props.otherSettings ? JSON.stringify(g.props.otherSettings) : null, t2.extraParam.additionalParamMap = h, t2.extraParam.entityMap = f.entity.data, t2.extraParam.contextMap = f.entity.context, t2.extraParam.taskMap = f.entity.task, !(g.props && g.props.base && g.props.base.showOperation)) {
37
+ let e3 = t2.hiddenColumns;
38
+ e3 ? e3.push("operation") : e3 = ["operation"], t2.hiddenColumns = e3;
39
+ }
40
+ t2.showOperationButton = !(!g.props || !g.props.base) && g.props.base.showOperation, t2.isPdfEditor = false, t2.tableRecordMaxNum = g.props && g.props.otherSettings ? g.props.otherSettings.tableRecordMaxNum : null;
41
+ let o2 = n.getSizeConfig(f, g);
42
+ o2 && o2.fixHeight && (t2.formSetHeight = o2.fixHeight), o2 && o2.maxHeight && (t2.formSetMaxHeight = o2.maxHeight), t2.validateEitConditions = he;
43
+ }
44
+ function F() {
45
+ if (g.props && g.props.otherSettings) {
46
+ if (g.props.otherSettings.sourceQueryTableData && g.props.otherSettings.timeToInitializeSubTable && g.props.otherSettings.timeToInitializeSubTable.length > 0) {
47
+ let e2 = false;
48
+ if (-1 !== g.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e2 = !m.id && !m.ID), -1 !== g.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
49
+ const t2 = m[S];
50
+ (!t2 || t2.length <= 0) && (e2 = true);
51
+ }
52
+ return e2;
53
+ }
54
+ return false;
55
+ }
56
+ }
57
+ function U() {
58
+ return f.entity.data;
59
+ }
60
+ function q() {
61
+ return n.getVariableValue(P, R);
62
+ }
63
+ let z, L;
64
+ function N(e2, t2) {
65
+ t2 || (t2 = V.value), B(e2, t2), t2.subTableData = null, $(t2), k.value = false, z = setTimeout(() => {
66
+ k.value = true, O.value = O.value + 1, j();
67
+ }, 10);
68
+ }
69
+ function $(e2) {
70
+ e2 || (e2 = V.value), function(e3) {
71
+ e3 || (e3 = V.value);
72
+ const t2 = f.fieldPermissionMap, o3 = f.actionPermissionMap;
73
+ if (t2 && null != t2) {
74
+ let n2 = t2.get(S);
75
+ if (!n2) {
76
+ const e4 = t2.get("all_fields");
77
+ e4 && (n2 = [e4]);
78
+ }
79
+ e3.validateRules = n2 || null;
80
+ }
81
+ if (o3 && null != o3) {
82
+ let t3 = o3.get(S);
83
+ t3 || (t3 = o3.get("all_sub_tables")), e3.actionPermission = t3;
84
+ }
85
+ e3.operations || (e3.operations = {});
86
+ const l2 = function() {
87
+ let e4 = [], t3 = n.caculateShowCondition(p.pageContext, g.props.base.showOperationCondition);
88
+ if (t3 && K(null, null, null, null, null, true, "canAdd")) {
89
+ const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: Y, isShow: Q };
90
+ e4.push(t4);
91
+ }
92
+ if (t3 && W(null, null, null, null, null, true)) {
93
+ const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: Z, isShow: X };
94
+ e4.push(t4);
95
+ }
96
+ return i.getOperationButtons(f, g, e4, G), e4;
97
+ }();
98
+ e3.operations.operation = l2, e3.subTableCanAdd = K(null, null, null, null, null, true, "canAdd"), e3.subTableCanDelete = K(null, null, null, null, null, true, "canDelete");
99
+ }(e2), t.setTableEvents(e2, w, f, g);
100
+ const o2 = f.customEvents;
101
+ o2 && (e2.eventCallBack = o2), k.value = true, j();
102
+ }
103
+ function j() {
104
+ f.tableUuids || (f.tableUuids = []), f.tableUuids.indexOf(g.uuid) < 0 && f.tableUuids.push(g.uuid);
105
+ }
106
+ e.onMounted(() => {
107
+ const e2 = g.uuid, t2 = f.subTableWatchProps;
108
+ l.$on("_refreshSubTable_" + e2, (n2) => {
109
+ const o2 = n2.propName;
110
+ if (t2 && t2[e2] && t2[e2].length > 0) {
111
+ t2[e2].indexOf(o2) >= 0 && E();
112
+ }
113
+ }), l.$on("_refreshSubTableHandle_" + e2, (e3) => {
114
+ E();
115
+ }), l.$on("_refreshChildData_" + e2, (e3) => {
116
+ !function(e4) {
117
+ be(e4), L = setTimeout(() => {
118
+ M.value && (M.value.refreshChildData(v, e4, g.props && g.props.base && true === g.props.base.subPaging), V.value.extraParam.entityMap = f.entity.data);
119
+ }, 10);
120
+ }(e3);
121
+ }), l.$on(v + "-pickFileDone", (e3) => {
122
+ M.value.pickFileDone(e3);
123
+ }), l.$on(v + "-scanDone", (e3) => {
124
+ M.value.scanDone(e3);
125
+ }), V.value && V.value.configureObj.props.base && V.value.configureObj.props.base.isSafeDelete && A("setSafeDeleteTableCode", V.value.extraParam.tableName);
126
+ }), e.onUnmounted(() => {
127
+ z && clearTimeout(z), L && clearTimeout(L);
128
+ const e2 = g.uuid;
129
+ l.$off("_refreshSubTable_" + e2), l.$off("_refreshSubTableHandle_" + e2), l.$off("_refreshChildData_" + e2), l.$off(v + "-pickFileDone"), l.$off(v + "-scanDone");
130
+ });
131
+ const H = e.ref({});
132
+ function G(e2) {
133
+ if (!e2) return;
134
+ return H.value[e2.uuid] = e2, J;
135
+ }
136
+ function J(e2, n2, o2, l2, i2, a2) {
137
+ const u2 = { originalValue: e2, formatValue: n2, row: o2, column: l2, rowIndex: i2, button: a2, id: o2.ID ? o2.ID : o2.id }, r2 = H.value[a2.sourceButton.uuid], s3 = g;
138
+ r2.props.base.tableUuid = s3.uuid, t.getHandleEvent(null, f, r2, "click", u2);
139
+ }
140
+ function K(e2, t2, o2, l2, i2, a2, u2) {
141
+ u2 || (u2 = "canAdd");
142
+ if (!n.caculateShowCondition(p.pageContext, g.props.base.showOperationCondition)) return false;
143
+ const r2 = f.fieldPermissionMap, s3 = f.actionPermissionMap;
144
+ let c2 = true;
145
+ if (r2 && null !== r2) {
146
+ const e3 = r2.get("all_fields");
147
+ void 0 === e3 || false !== e3.canEdit || void 0 !== e3.rowIndexes && null !== e3.rowIndexes && 0 !== e3.rowIndexes.length || (c2 = false);
148
+ }
149
+ if (true === c2 && S && s3 && null !== s3) {
150
+ let e3 = s3.get(S);
151
+ e3 || (e3 = s3.get("all_sub_tables")), e3 && void 0 !== e3[u2] && false === e3[u2] && (c2 = false);
152
+ }
153
+ return c2;
154
+ }
155
+ function Q(e2, t2, o2, l2, i2, a2) {
156
+ let u2 = K(0, 0, 0, 0, 0, 0, "canAdd");
157
+ return true === u2 && (u2 = n.caculateShowCondition(p.pageContext, g.props.base.showAddBtnCondition, o2)), u2;
158
+ }
159
+ function W(e2, t2, n2, o2, l2, i2) {
160
+ const a2 = f.fieldPermissionMap, u2 = f.actionPermissionMap;
161
+ let r2 = true;
162
+ if (a2 && null !== a2) {
163
+ const e3 = a2.get("all_fields");
164
+ void 0 === e3 || false !== e3.canEdit || void 0 !== e3.rowIndexes && null !== e3.rowIndexes && 0 !== e3.rowIndexes.length || (r2 = false);
165
+ }
166
+ if (true === r2 && S && u2 && null !== u2) {
167
+ let e3 = u2.get(S);
168
+ if (e3 || (e3 = u2.get("all_sub_tables")), e3 && void 0 !== e3.canDelete && false === e3.canDelete && (r2 = false), e3 && void 0 !== e3.canDelete && true === e3.canDelete && e3.deleteRowIndexes) if (e3.deleteRowIndexes.length > 0) if (i2) r2 = true;
169
+ else {
170
+ const t3 = function(e4) {
171
+ return e4 && e4.id ? e4.id : e4 && e4.ID ? e4.ID : void 0;
172
+ }(n2);
173
+ r2 = void 0 !== t3 && e3.deleteRowIndexes.indexOf(t3) >= 0;
174
+ }
175
+ else r2 = false;
176
+ }
177
+ return r2;
178
+ }
179
+ function X(e2, t2, o2, l2, i2, a2) {
180
+ let u2 = W(0, 0, o2, 0, 0, a2);
181
+ return true === u2 && (u2 = n.caculateShowCondition(p.pageContext, g.props.base.showDeleteBtnCondition, o2)), u2;
182
+ }
183
+ function Y(e2, t2, n2, l2, i2) {
184
+ M.value.createRow(v, {}, { getDefaultValueFunc: o.getDefaultValue }, { originalValue: e2, formatValue: t2, row: n2, column: l2, rowIndex: i2 });
185
+ }
186
+ function Z(e2, t2, n2, o2, l2) {
187
+ M.value.deleteRow(l2, v, false);
188
+ }
189
+ function ee(e2) {
190
+ n.setVariableValue(P, R, e2);
191
+ }
192
+ function te(e2) {
193
+ f.subTablePageInfo || (f.subTablePageInfo = {}), f.subTablePageInfo[S] || (f.subTablePageInfo[S] = {}), f.subTablePageInfo[S].pageSize = e2;
194
+ }
195
+ function ne(e2) {
196
+ const t2 = e2.key, n2 = e2.value;
197
+ f.selectOptions || (f.selectOptions = {}), f.selectOptions[t2] = n2;
198
+ }
199
+ function oe(e2) {
200
+ const t2 = f.code + "_";
201
+ l.$emit(t2 + "prohibit-edit", e2);
202
+ }
203
+ function le(e2) {
204
+ const t2 = f.entity.data;
205
+ if (e2) for (const n2 in e2) t2[n2] = e2[n2];
206
+ }
207
+ function ie(e2, n2) {
208
+ if (void 0 !== n2) {
209
+ C.value = e2;
210
+ const o2 = { selection: e2, row: n2 };
211
+ t.gridSelectRecord(f, g, o2);
212
+ }
213
+ }
214
+ function ae(e2) {
215
+ C.value = e2;
216
+ const n2 = { selection: e2 };
217
+ t.gridSelectAllRecords(f, g, n2);
218
+ }
219
+ function ue(e2) {
220
+ const n2 = { newSelection: e2 };
221
+ t.gridSelectionChange(f, g, n2);
222
+ }
223
+ function re(e2, n2, o2, l2) {
224
+ const i2 = { row: e2, column: n2, cell: o2, event: l2 };
225
+ t.cellClick(f, g, i2);
226
+ }
227
+ function se(e2, n2, o2, l2) {
228
+ const i2 = { row: e2, column: n2, cell: o2, event: l2 };
229
+ t.cellDblClick(f, g, i2);
230
+ }
231
+ function ce(e2, n2, o2) {
232
+ const l2 = { row: e2, column: n2, event: o2 };
233
+ t.rowClick(f, g, l2);
234
+ }
235
+ function de(e2, n2, o2) {
236
+ const l2 = { row: e2, column: n2, event: o2 };
237
+ t.rowDblClick(f, g, l2);
238
+ }
239
+ function pe(e2, n2) {
240
+ const o2 = { column: e2, event: n2 };
241
+ t.headerClick(f, g, o2);
242
+ }
243
+ function fe(e2) {
244
+ f.entity.data = e2;
245
+ }
246
+ function ge() {
247
+ return n.getVariableValue(P, R);
248
+ }
249
+ function be(e2) {
250
+ return n.setVariableValue(P, R, e2);
251
+ }
252
+ function ve(e2) {
253
+ return r.getRowStyleUtil(e2, null, p);
254
+ }
255
+ function me(e2) {
256
+ return r.getCellStyleUtil(e2, e2.cellStyle, p);
257
+ }
258
+ function Se(e2) {
259
+ const t2 = e2.titleStyle, n2 = p.configure.style.titleStyle;
260
+ return r.getHeaderCellStyleUtil(e2, { cellTitleStyle: t2, titleStyle: n2 }, p);
261
+ }
262
+ function he({ row: e2, editConditions: t2 }) {
263
+ let o2 = true;
264
+ return t2 && t2.length > 0 && (o2 = n.caculateShowCondition(p.pageContext, t2, e2)), o2;
265
+ }
266
+ return function(e2) {
267
+ const t2 = F();
268
+ t2 ? N(t2, e2) : (B(t2, e2), e2.isPageInfo = false, e2.subTableData = ge(), $(e2));
269
+ }(V.value), c({ createRow: function() {
270
+ return M.value.createRow(v);
271
+ }, getSelections: function() {
272
+ return C.value;
273
+ }, getSelectionIds: function() {
274
+ const e2 = [];
275
+ return C.value && C.value.forEach((t2) => {
276
+ e2.push(t2.id ? t2.id : t2.ID ? t2.ID : null);
277
+ }), e2;
278
+ }, clearSelections: function() {
279
+ C.value = [];
280
+ }, getTableConfigure: function() {
281
+ return g;
282
+ }, validatorSunTableListData: function() {
283
+ return M.value.validatorSunTableListData();
284
+ }, getValue: ge, setValue: be, getTableSelectOptions: function() {
285
+ if (M.value) return M.value.getTableSelectOptions(v);
286
+ }, dynamicControlTableEdit: function(e2, t2, n2) {
287
+ M.value && M.value.dynamicControlTableEdit(e2, t2, n2);
288
+ }, doLayout: function(e2) {
289
+ M.value && M.value.doLayout(e2);
290
+ }, changeOperationAddState: function(e2) {
291
+ M.value && M.value.changeOperationAddState(e2);
292
+ }, scrollTo: function(e2, t2) {
293
+ M.value && M.value.scrollTo(e2, t2);
294
+ }, setScrollTop: function(e2) {
295
+ M.value && M.value.setScrollTop(e2);
296
+ }, setScrollLeft: function(e2) {
297
+ M.value && M.value.setScrollLeft(e2);
298
+ }, getSuperGridRef: function() {
299
+ return M.value;
300
+ }, getSuperGridTableRef: function() {
301
+ return M.value.getSuperGridTableRef();
302
+ }, setCurrentRowIndex: function(e2) {
303
+ var _a2;
304
+ (_a2 = M.value) == null ? void 0 : _a2.setCurrentRowIndex(e2);
305
+ }, setScrollTopByRowIndex: function(e2) {
306
+ var _a2;
307
+ (_a2 = M.value) == null ? void 0 : _a2.setScrollTopByRowIndex(e2);
308
+ }, getTableData: function() {
309
+ var _a2;
310
+ return (_a2 = M.value) == null ? void 0 : _a2.getTableData();
311
+ }, addRequiredClass: function(e2, t2, n2) {
312
+ var _a2;
313
+ (_a2 = M.value) == null ? void 0 : _a2.addRequiredClass(e2, v, t2, n2);
314
+ }, getColumns: function() {
315
+ var _a2;
316
+ return (_a2 = M.value) == null ? void 0 : _a2.getColumns();
317
+ } }), (t2, n2) => {
318
+ const o2 = e.resolveComponent("super-grid");
319
+ return e.openBlock(), e.createElementBlock("div", null, [k.value ? (e.openBlock(), e.createBlock(o2, { key: 0, ref_key: "gridRef", ref: M, url: e.unref(I) + "/dsc/commons/sub-table", options: V.value, code: e.unref(v), settings: e.unref(x), isDialog: e.unref(f).isDialog, onSelect: ie, onSelectAll: ae, onSelectionChange: ue, onCellClick: re, onCellDblclick: se, onRowClick: ce, onRowDblclick: de, onHeaderClick: pe, onFnProhibitToEdit: oe, onChangeGridData: ee, onReloadGrid: N, onRefresMainTableFields: le, onSetSelectOptions: ne, onChangeRowsPerPage: te, onNewOpenGridDialog: e.unref(i.popupToPage), onChangeFormData: fe }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : e.createCommentVNode("", true)]);
320
+ };
321
+ } });
322
+ module.exports = s;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const e = require("./sub-table-runtime.vue.cjs");
3
+ module.exports = e;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const e = require("./table-runtime.vue2.cjs");
3
+ module.exports = e;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ const e = require("vue"), t = require("./sub-table-runtime.vue.cjs"), n = require("./main-table-runtime.vue.cjs"), u = e.defineComponent({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(u2, { expose: o }) {
3
+ const l = u2, a = l.pageContext.pageType, r = e.ref(null), i = l.configure.uuid, c = l.pageContext.superGridItems, f = c ? c[i] : null;
4
+ r.value = f ? f.configure ? JSON.parse(f.configure) : null : l.configure;
5
+ const s = l.configure.runtime ? l.configure.runtime : {};
6
+ s.style, s.class;
7
+ const g = e.ref(true), d = e.ref(null);
8
+ let v = null;
9
+ function p(e2) {
10
+ l.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES ? l.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES.push(e2) : l.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES = [e2];
11
+ }
12
+ return e.onUnmounted(() => {
13
+ v && clearTimeout(v);
14
+ }), o({ refresh: function(e2, t2, n2, u3) {
15
+ if (a && "list" === a) return d.value.refresh(e2, t2, n2, u3);
16
+ }, createRow: function() {
17
+ return d.value.createRow();
18
+ }, clearSelections: function() {
19
+ return d.value.clearSelections();
20
+ }, getSelections: function() {
21
+ return d.value.getSelections();
22
+ }, getSelectionIds: function() {
23
+ return d.value.getSelectionIds();
24
+ }, getTableConfigure: function() {
25
+ return d.value.getTableConfigure();
26
+ }, isDeleteChange: function(e2) {
27
+ a && "list" === a && d.value.isDeleteChange(e2);
28
+ }, validatorSunTableListData: function() {
29
+ if (a && "form" === a) return d.value.validatorSunTableListData();
30
+ }, showMobileSearch: function() {
31
+ d.value.showMobileSearch();
32
+ }, getTableSelectOptions: function() {
33
+ if (d.value) return d.value.getTableSelectOptions();
34
+ }, dynamicControlTableEdit: function(e2, t2, n2) {
35
+ d.value && d.value.dynamicControlTableEdit(e2, t2, n2);
36
+ }, getTableUuid: function() {
37
+ return l.configure.uuid;
38
+ }, doLayout: function(e2) {
39
+ d.value && d.value.doLayout(e2);
40
+ }, changeOperationAddState: function(e2) {
41
+ d.value && d.value.changeOperationAddState(e2);
42
+ }, scrollTo: function(e2, t2) {
43
+ var _a;
44
+ (_a = d.value) == null ? void 0 : _a.scrollTo(e2, t2);
45
+ }, setScrollTop: function(e2) {
46
+ var _a;
47
+ (_a = d.value) == null ? void 0 : _a.setScrollTop(e2);
48
+ }, setScrollLeft: function(e2) {
49
+ var _a;
50
+ (_a = d.value) == null ? void 0 : _a.setScrollLeft(e2);
51
+ }, getSuperGridRef: function() {
52
+ var _a;
53
+ return (_a = d.value) == null ? void 0 : _a.getSuperGridRef();
54
+ }, getSuperGridTableRef: function() {
55
+ var _a;
56
+ return (_a = d.value) == null ? void 0 : _a.getSuperGridTableRef();
57
+ }, setCurrentRowIndex: function(e2) {
58
+ var _a;
59
+ (_a = d.value) == null ? void 0 : _a.setCurrentRowIndex(e2);
60
+ }, setScrollTopByRowIndex: function(e2) {
61
+ var _a;
62
+ (_a = d.value) == null ? void 0 : _a.setScrollTopByRowIndex(e2);
63
+ }, reloadSubTable: function() {
64
+ g.value = false, v = setTimeout(() => {
65
+ g.value = true;
66
+ }, 10);
67
+ }, getTableData: function() {
68
+ var _a;
69
+ return (_a = d.value) == null ? void 0 : _a.getTableData();
70
+ }, addRequiredClass: function(e2, t2, n2) {
71
+ var _a;
72
+ (_a = d.value) == null ? void 0 : _a.addRequiredClass(e2, t2, n2);
73
+ }, handleSearch: function(e2, t2) {
74
+ var _a;
75
+ (_a = d.value) == null ? void 0 : _a.handleSearch(e2, t2);
76
+ }, getColumns: function() {
77
+ var _a;
78
+ return (_a = d.value) == null ? void 0 : _a.getColumns();
79
+ } }), (u3, o2) => (e.openBlock(), e.createElementBlock("div", null, [e.unref(a) && "form" === e.unref(a) && g.value ? (e.openBlock(), e.createBlock(t, { key: 0, ref_key: "gridRef", ref: d, pageContext: u3.pageContext, configure: r.value, onSetSafeDeleteTableCode: p }, null, 8, ["pageContext", "configure"])) : e.unref(a) && "form" === e.unref(a) ? e.createCommentVNode("", true) : (e.openBlock(), e.createBlock(n, { key: 1, ref_key: "gridRef", ref: d, pageContext: u3.pageContext, configure: r.value, onSetSafeDeleteTableCode: p }, null, 8, ["pageContext", "configure"]))]));
80
+ } });
81
+ module.exports = u;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ const e = require("./tree-runtime.vue2.cjs");
3
+ ;/* empty css */
4
+ const r = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e, [["__scopeId", "data-v-a8a325a9"]]);
5
+ module.exports = r;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ const e = require("vue"), t = require("../../../../../../assets/folder.png.cjs"), n = require("../../../../../../assets/file.png.cjs"), a = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/page-helper-util.cjs"), o = require("../../../../utils/tree-utils.cjs"), d = require("../../../../utils/events/event-util.cjs"), u = require("element-plus"), r = require("agilebuilder-ui"), c = { key: 0, class: "custom-tree-node" }, i = ["title"], s = { key: 0, class: "item-row" }, p = { class: "item-side" }, v = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, f = ["onClick"], g = e.defineComponent({ __name: "tree-runtime", props: { pageContext: {}, configure: {} }, setup(g2, { expose: m }) {
3
+ var _a, _b, _c;
4
+ const h = e.ref(), k = e.ref(false), y = g2, C = y.pageContext.entity ? y.pageContext.entity : {}, x = e.ref([]);
5
+ ((_a = y.configure.props) == null ? void 0 : _a.contextMenus) && (y.pageContext && y.configure && !y.pageContext.isTest ? y.configure.props.contextMenus.forEach((e2) => {
6
+ if (e2.functionCodes && e2.functionCodes.length > 0) for (let t2 = 0; t2 < e2.functionCodes.length; t2++) {
7
+ const n2 = e2.functionCodes[t2];
8
+ if (r.checkPermission(n2, y.pageContext.systemCode)) return void x.value.push(e2);
9
+ }
10
+ else x.value.push(e2);
11
+ }) : x.value = y.configure.props.contextMenus);
12
+ let N = a.getFormModelFields(y.pageContext, y.configure);
13
+ const V = e.computed({ get: () => l.getVariableValue(C, N), set(e2) {
14
+ l.setVariableValue(C, N, e2);
15
+ } }), E = e.ref(!!((_c = (_b = y.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), T = y.configure.runtime ? y.configure.runtime : {}, B = T.style, M = T.class, I = e.ref(), b = e.ref(T.props ? T.props : {}), w = e.ref({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), _ = e.ref(false), L = e.ref([]), D = e.ref(null), K = e.ref(""), S = e.ref(false), q = e.ref(""), j = e.ref(""), z = e.ref("");
16
+ e.onMounted(() => {
17
+ e.nextTick(() => {
18
+ const e2 = V.value;
19
+ d.handleAfterInitEvent(e2, y.pageContext, y.configure, { componentRef: I.value, value: e2, entity: y.pageContext.entity.data, pageData: y.pageContext.entity.page });
20
+ });
21
+ }), E.value ? _.value = true : o.getMenuTreeData(y.pageContext, y.configure).then((e2) => {
22
+ L.value = e2, _.value = true;
23
+ }), e.watch(K, (e2) => {
24
+ S.value = true, I.value.filter(e2);
25
+ });
26
+ const F = (e2, t2) => !e2 || t2.name.includes(e2);
27
+ function P(e2, t2, n2) {
28
+ D.value = t2, d.handleFormEvent(null, y.pageContext, y.configure, "node-click", { data: e2, node: t2, nodeTree: n2 });
29
+ }
30
+ function W(e2, t2) {
31
+ let n2 = "0";
32
+ n2 = 0 === e2.level ? "0" : e2.data.nodeId, function(e3, t3, n3) {
33
+ const a2 = { parentNodeId: e3, data: t3.data, searchValue: K, isSearch: S.value };
34
+ o.getMenuTreeData(y.pageContext, y.configure, e3, t3, a2).then((a3) => {
35
+ if (S.value = false, n3(a3), "0" === e3) {
36
+ !function(e4, t4) {
37
+ const n4 = { parentNodeId: e4, data: t4.data, searchValue: K, isSearch: S.value };
38
+ o.getMenuTreeData(y.pageContext, y.configure, e4, t4, n4).then((t5) => {
39
+ S.value = false, I.value.updateKeyChildren(e4, t5), I.value.store.nodesMap[e4] && (I.value.store.nodesMap[e4].expanded = true);
40
+ });
41
+ }(a3[0].nodeId, t3);
42
+ }
43
+ });
44
+ }(n2, e2, t2);
45
+ }
46
+ const R = e.ref({}), A = (e2, t2, n2, a2) => {
47
+ if (q.value) return void u.ElMessage.warning("请先保存当前编辑节点!");
48
+ document.removeEventListener("click", H), R.value = n2, k.value = true;
49
+ const { clientX: l2, clientY: o2 } = e2, d2 = h.value;
50
+ if (d2) {
51
+ const { innerWidth: e3, innerHeight: t3 } = window, { offsetWidth: n3, offsetHeight: a3 } = d2, u2 = l2 + n3 > e3 ? l2 - n3 : l2, r2 = o2 + a3 > t3 ? o2 - a3 : o2;
52
+ d2.style.left = `${u2}px`, d2.style.top = `${r2}px`, d2.style.display = "block";
53
+ }
54
+ document.addEventListener("click", H);
55
+ }, H = () => {
56
+ k.value = false, document.removeEventListener("click", H);
57
+ }, O = (e2, t2) => {
58
+ if (e2.parent && e2.parent.level > 0) {
59
+ const n2 = e2.parent.data.children.findIndex((t3) => t3.nodeId === e2.data.nodeId);
60
+ e2.parent.data.children[n2] = t2, e2.data = t2;
61
+ } else {
62
+ const n2 = e2.parent.data.findIndex((t3) => t3.nodeId === e2.data.nodeId);
63
+ e2.parent.data[n2] = t2, e2.data = t2;
64
+ }
65
+ }, U = () => {
66
+ q.value = "", z.value = "", j.value = "";
67
+ }, $ = () => ({ nodeId: "primary" + (/* @__PURE__ */ new Date()).getTime(), name: "新增节点", disabled: false, iconType: "custom", isLeaf: true });
68
+ function X(e2) {
69
+ e2.tipMessage ? u.ElMessageBox.confirm(e2.tipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
70
+ o.deleteNode(R.value, y.configure, y.pageContext).then(() => {
71
+ u.ElMessage.success("删除成功!"), Y(), R.value = null;
72
+ });
73
+ }).catch(() => {
74
+ R.value = null;
75
+ }) : o.deleteNode(R.value, y.configure, y.pageContext).then(() => {
76
+ u.ElMessage.success("删除成功!"), Y(), R.value = null;
77
+ });
78
+ }
79
+ const Y = () => {
80
+ const e2 = R.value.parent;
81
+ I.value.remove(R.value), e2.childNodes && 0 === e2.childNodes.length && (e2.data.isLeaf = true), e2.data.children && e2.data.children.length > 0 && (e2.data.children = e2.data.children.filter((e3) => e3.nodeId !== R.value.data.nodeId));
82
+ };
83
+ return m({ getSelectNode: function() {
84
+ return D.value;
85
+ }, expandNode: function(e2) {
86
+ e2.loaded = false, e2.expand();
87
+ }, loadTreeNodes: function() {
88
+ o.getMenuTreeData(y.pageContext, y.configure).then((e2) => {
89
+ S.value = false, L.value = e2;
90
+ });
91
+ }, getNode: function(e2) {
92
+ I.value.getNode(e2);
93
+ }, getCheckedNodes: (e2, t2) => I.value.getCheckedNodes(e2, t2), setCheckedNodes: (e2) => {
94
+ I.value.setCheckedNodes(e2);
95
+ }, getCheckedKeys: (e2) => I.value.getCheckedKeysleafOnly(), setCheckedKeys: (e2, t2) => {
96
+ I.value.setCheckedKeys(e2, t2);
97
+ }, setChecked: (e2, t2, n2) => {
98
+ I.value.setChecked(e2, t2, n2);
99
+ }, getCurrentKey: () => I.value.getCurrentKey(), getCurrentNode: () => I.value.getCurrentNode(), setCurrentKey: (e2, t2 = true) => I.value.setCurrentKey(e2, t2), setCurrentNode: (e2, t2 = true) => I.value.setCurrentNode(e2, t2) }), (a2, l2) => {
100
+ var _a2;
101
+ const d2 = e.resolveComponent("el-input"), r2 = e.resolveComponent("el-button"), g3 = e.resolveComponent("SuperIcon"), m2 = e.resolveComponent("el-tree");
102
+ return e.openBlock(), e.createElementBlock("div", { class: e.normalizeClass(["amb-tree-runtime-main", e.unref(M)]) }, [b.value.filter ? (e.openBlock(), e.createBlock(d2, { key: 0, modelValue: K.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => K.value = e2), style: { width: "100%" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : e.createCommentVNode("", true), _.value ? (e.openBlock(), e.createBlock(m2, { key: 1, ref_key: "menuTreeRef", ref: I, style: e.normalizeStyle(e.unref(B)), load: W, data: L.value, "node-key": "nodeId", props: w.value, "default-expand-all": b.value.defaultExpandAll, "expand-on-click-node": b.value.expandOnClickNode, indent: b.value.retractWidth ? b.value.retractWidth : 18, accordion: b.value.accordion, "show-checkbox": !!b.value.showCheckbox, "highlight-current": "", lazy: E.value, "filter-node-method": F, onNodeClick: P, onNodeContextmenu: A }, { default: e.withCtx(({ node: f2, data: m3 }) => [m3.nodeId === q.value ? (e.openBlock(), e.createElementBlock("div", c, [e.createVNode(d2, { modelValue: z.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e2) => z.value = e2), size: "small" }, null, 8, ["modelValue"]), e.createElementVNode("div", null, [e.createVNode(r2, { type: "primary", link: "", onClick: (e2) => ((e3) => {
103
+ "" !== z.value ? (e3.data.name = z.value, j.value && e3.data.nodeId === j.value ? o.createTreeNode(e3, y.configure, y.pageContext).then((t2) => {
104
+ O(e3, t2.currentNode), U(), u.ElMessage.success("保存成功!");
105
+ }) : o.updateTreeNode(e3, y.configure, y.pageContext).then((t2) => {
106
+ O(e3, t2.currentNode), U(), u.ElMessage.success("保存成功!");
107
+ })) : u.ElMessage.warning("请输入节点名称");
108
+ })(f2) }, { default: e.withCtx(() => l2[2] || (l2[2] = [e.createTextVNode(" 保存 ", -1)])), _: 2, __: [2] }, 1032, ["onClick"]), e.createVNode(r2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (e2) => ((e3) => {
109
+ j.value && e3.data.nodeId === j.value && I.value.remove(e3), U();
110
+ })(f2, a2.configure, a2.pageContext) }, { default: e.withCtx(() => l2[3] || (l2[3] = [e.createTextVNode(" 撤销 ", -1)])), _: 2, __: [3] }, 1032, ["onClick"])])])) : (e.openBlock(), e.createElementBlock("span", { key: 1, title: f2.label, class: "ellipsis" }, [m3.iconValue ? (e.openBlock(), e.createBlock(g3, { key: 0, iconType: m3.iconType, iconValue: m3.iconValue }, null, 8, ["iconType", "iconValue"])) : b.value.iconValue ? (e.openBlock(), e.createBlock(g3, { key: 1, iconType: b.value.iconType, iconValue: b.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 2 }, [m3.isLeaf ? (e.openBlock(), e.createElementBlock("div", v, [l2[5] || (l2[5] = e.createElementVNode("img", { src: n, class: "file" }, null, -1)), e.createElementVNode("span", null, e.toDisplayString(m3.name), 1)])) : (e.openBlock(), e.createElementBlock("div", s, [e.createElementVNode("div", p, [l2[4] || (l2[4] = e.createElementVNode("img", { src: t, class: "file" }, null, -1)), e.createElementVNode("span", null, e.toDisplayString(m3.name), 1)])]))], 64))], 8, i))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : e.createCommentVNode("", true), e.withDirectives(e.createElementVNode("div", null, [e.createElementVNode("ul", { ref_key: "contxtMenuRef", ref: h, class: "context-menu" }, [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(x.value, (t2, n2) => (e.openBlock(), e.createElementBlock("li", { key: n2, tabindex: "-1", class: "menu__item", onClick: (e2) => ((e3) => {
111
+ if (R.value && "standard" === e3.type && e3.standardEvent) if ("edit" === e3.standardEvent) q.value = R.value.data.nodeId, z.value = R.value.data.name;
112
+ else if ("delete" === e3.standardEvent) R.value.childNodes && R.value.childNodes.length > 0 && e3.deleteParentNodeTip ? (e3.deleteParentNodeTipMessage || (e3.deleteParentNodeTipMessage = "当前节点下有子节点,确认删除?"), u.ElMessageBox.confirm(e3.deleteParentNodeTipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
113
+ X(e3);
114
+ }).catch(() => {
115
+ R.value = null;
116
+ })) : X(e3);
117
+ else {
118
+ const t3 = $();
119
+ q.value = t3.nodeId, j.value = t3.nodeId, z.value = t3.name, "addSiblingNode" === e3.standardEvent ? (t3.isLeaf = R.value.data.isLeaf, R.value.parent && R.value.parent.level > 0 ? I.value.append(t3, R.value.parent) : L.value.push(t3)) : "addChildNode" === e3.standardEvent && (t3.isLeaf = true, R.value.data.isLeaf = false, I.value.append(t3, R.value), I.value.setCurrentKey(t3.nodeId, true));
120
+ }
121
+ })(t2) }, [e.createElementVNode("span", null, e.toDisplayString(t2.name), 1)], 8, f))), 128))], 512)], 512), [[e.vShow, k.value && ((_a2 = x.value) == null ? void 0 : _a2.length) > 0]])], 2);
122
+ };
123
+ } });
124
+ module.exports = g;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const e = require("vue"), t = { style: { "text-align": "center", color: "red" } }, r = e.defineComponent({ __name: "error-render", props: { configure: { type: Object, default: { name: "未知" } }, selectWidget: Object, indexObj: Object }, setup: (r2) => (n, o) => (e.openBlock(), e.createElementBlock("div", t, " 不能识别的组件类型【" + e.toDisplayString(r2.configure.name) + "】 ", 1)) });
3
+ module.exports = r;
@@ -0,0 +1,22 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ configure: {
3
+ type: ObjectConstructor;
4
+ default: {
5
+ name: string;
6
+ };
7
+ };
8
+ selectWidget: ObjectConstructor;
9
+ indexObj: ObjectConstructor;
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ configure: {
12
+ type: ObjectConstructor;
13
+ default: {
14
+ name: string;
15
+ };
16
+ };
17
+ selectWidget: ObjectConstructor;
18
+ indexObj: ObjectConstructor;
19
+ }>> & Readonly<{}>, {
20
+ configure: Record<string, any>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ export default _default;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const e = require("./error-render.vue.cjs");
3
+ module.exports = e;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ const e = require("./checkbox-runtime.vue2.cjs");
3
+ module.exports = e;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ const e = require("vue"), t = require("../../../../utils/page-helper-util.cjs"), l = require("../../../../utils/page-init-util.cjs"), n = require("../../../../utils/events/event-util.cjs"), o = require("../../../../utils/i18n-util.cjs"), a = require("../../../../utils/common-util.cjs"), u = e.defineComponent({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {} }, setup(u2, { expose: r }) {
3
+ const i = u2, s = e.ref(null), c = i.pageContext.entity ? i.pageContext.entity : {};
4
+ let p = l.getFormModelFields(i.pageContext, i.configure);
5
+ const f = e.computed({ get() {
6
+ let e2 = t.getVariableValue(c, p);
7
+ return e2 && "string" == typeof e2 && (e2 = e2.split(",")), e2;
8
+ }, set(e2) {
9
+ e2 && e2.length > 0 && (e2 = e2.join(",")), t.setVariableValue(c, p, e2), null != e2 && (s.value = "");
10
+ } }), g = i.configure.runtime ? i.configure.runtime : {}, v = g.style, d = g.class, m = g.headerStyle, h = g.titleExceedStyle, C = e.ref(g.props ? g.props : {}), y = e.ref(C.value.options ? C.value.options : []), x = t.getOptionDatasFromPage(i.pageContext, i.configure);
11
+ x.length > 0 && (y.value = x);
12
+ const b = i.configure.props && i.configure.props.dataOrigin ? i.configure.props.dataOrigin : {}, k = b.optionValueSetType;
13
+ let S = [];
14
+ if (("dynamicData" == k || "dynamicData" == k || "service" == k) && b.autoSets) for (let e2 of b.autoSets) e2.source && S.push(e2);
15
+ i.configure && i.configure.props && i.configure.props.base && i.configure.props.base.optionProp && S.push({ source: "label", target: i.configure.props.base.optionProp }), C.value.changeMethod = function(e2) {
16
+ if (S.length > -1) {
17
+ let l2 = null;
18
+ y.value && null != e2 && null != e2 && (l2 = y.value.filter((t2) => Array.isArray(e2) ? e2.includes(t2.value) : e2 === t2.value)), t.autoSetAfterSelect(i.configure, i.pageContext, S, l2);
19
+ }
20
+ n.handleFormEvent(e2, i.pageContext, i.configure, "change");
21
+ };
22
+ const q = C.value.optionconfigInfo ? C.value.optionconfigInfo : {};
23
+ const V = C.value.monitorFields;
24
+ t.monitorFieldChange(i.pageContext, V, function() {
25
+ t.queryOptionDatasources(i.pageContext, q, void 0).then((e2) => {
26
+ });
27
+ });
28
+ const B = e.ref(null), E = e.ref(null), F = e.ref(null);
29
+ return e.onMounted(() => {
30
+ e.nextTick(() => {
31
+ const e2 = f.value;
32
+ n.handleAfterInitEvent(e2, i.pageContext, i.configure, { formItemRef: B.value, componentRef: E.value, titleRef: F.value, value: e2, entity: i.pageContext.entity.data, pageData: i.pageContext.entity.page });
33
+ });
34
+ }), r({ updateOptions: function(e2) {
35
+ y.value = e2 || [];
36
+ }, addRequiredClass: function() {
37
+ s.value = a.addRequiredClassUtil();
38
+ }, getSelectItemsTitle: function() {
39
+ const e2 = function() {
40
+ let e3 = t.getVariableValue(c, p);
41
+ return null != e3 && (e3 = String(e3)), e3;
42
+ }();
43
+ if (null != e2 && "" !== e2 && e2.length > 0) {
44
+ let t2 = "";
45
+ const l2 = e2.split(",");
46
+ return y.value.length > 0 ? (y.value.forEach((e3) => {
47
+ l2.forEach((l3) => {
48
+ e3.value === l3 && (t2 = t2 + e3.label + ",");
49
+ });
50
+ }), t2 = t2.slice(0, t2.length - 1)) : t2 = e2.join(","), t2;
51
+ }
52
+ } }), (t2, l2) => {
53
+ const a2 = e.resolveComponent("el-checkbox"), u3 = e.resolveComponent("el-checkbox-group"), r2 = e.resolveComponent("el-form-item");
54
+ return e.openBlock(), e.createBlock(r2, { ref_key: "formItemRef", ref: B, class: e.normalizeClass(e.unref(d) + (s.value ? " " + s.value : "")), required: !!C.value.required, "label-width": C.value.labelWidth, style: e.normalizeStyle(e.unref(v)) }, { label: e.withCtx(() => [C.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: F, style: e.normalizeStyle({ ...e.unref(m), ...e.unref(h) }) }, e.toDisplayString(e.unref(o.$t)(C.value.title)), 5)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [e.createVNode(u3, { ref_key: "componentRef", ref: E, disabled: "disabled" === C.value.state, size: C.value.size, onChange: C.value.changeMethod, modelValue: f.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => f.value = e2) }, { default: e.withCtx(() => [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(y.value, (l3) => (e.openBlock(), e.createBlock(a2, { key: l3.value, value: l3.value, label: l3.label, onClick: (o2) => e.unref(n.handleFormEvent)(l3.value, t2.pageContext, t2.configure, "click", { values: f.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["class", "required", "label-width", "style"]);
55
+ };
56
+ } });
57
+ module.exports = u;