super-page-runtime 2.3.35 → 2.3.36-cdnTmp1

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