super-page-runtime 2.3.37 → 2.3.38-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 (646) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
  2. package/dist/es/components/runtime/index.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
  4. package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
  5. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
  6. package/dist/es/components/runtime/utils/api/api-util.mjs +9 -0
  7. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +184 -0
  8. package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
  9. package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
  10. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
  11. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
  12. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
  13. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
  14. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
  15. package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
  16. package/dist/es/components/runtime/utils/common-util.mjs +116 -0
  17. package/dist/es/components/runtime/utils/eventBus.mjs +5 -0
  18. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
  19. package/dist/es/components/runtime/utils/events/event-util.mjs +411 -0
  20. package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
  21. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -1
  22. package/dist/es/components/runtime/utils/events/standard-event.mjs +1164 -0
  23. package/dist/es/components/runtime/utils/events/validator-util.mjs +349 -0
  24. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
  25. package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
  26. package/dist/es/components/runtime/utils/global-refs.mjs +56 -0
  27. package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
  28. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
  29. package/dist/es/components/runtime/utils/page-helper-util.mjs +377 -0
  30. package/dist/es/components/runtime/utils/page-init-util.mjs +260 -0
  31. package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
  32. package/dist/es/components/runtime/utils/page-store.mjs +53 -0
  33. package/dist/es/components/runtime/utils/store-util.mjs +13 -0
  34. package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
  35. package/dist/es/components/runtime/utils/tree-utils.mjs +58 -0
  36. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
  37. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
  38. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
  39. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
  40. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
  41. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
  42. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
  43. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
  44. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
  45. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +20 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
  55. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +52 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +410 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +33 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -0
  75. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
  76. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
  77. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +252 -0
  78. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
  79. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
  80. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
  81. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
  82. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +33 -0
  83. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
  84. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +18 -0
  85. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +18 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
  89. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
  90. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +19 -0
  91. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
  92. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
  93. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
  94. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
  95. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
  97. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +29 -0
  98. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
  99. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +20 -0
  100. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
  101. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +17 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
  103. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
  104. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
  105. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
  106. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
  107. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
  108. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
  109. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
  110. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
  111. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
  113. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
  114. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
  115. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +46 -0
  116. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +361 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +323 -0
  121. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
  122. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
  123. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +86 -0
  124. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
  125. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +132 -0
  126. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
  127. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
  128. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +63 -0
  130. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
  131. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
  133. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
  134. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
  135. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
  136. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
  137. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
  138. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
  139. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
  140. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
  141. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +91 -0
  142. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
  143. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
  145. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
  146. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
  147. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
  148. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
  149. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
  150. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
  151. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
  152. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
  153. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
  154. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
  155. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +82 -0
  156. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
  157. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +195 -0
  158. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
  159. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
  160. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
  161. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
  162. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
  163. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
  164. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
  165. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
  166. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
  167. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
  168. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +72 -0
  169. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
  170. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +153 -0
  171. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
  172. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
  173. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +6 -1
  175. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +55 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +28 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
  185. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
  186. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
  187. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
  188. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
  189. package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
  190. package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
  191. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +26 -0
  192. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
  193. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  194. package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
  195. package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
  196. package/dist/es/index.d.ts +2 -2
  197. package/dist/es/index.mjs +32 -0
  198. package/dist/es/style.css +1 -1033
  199. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
  200. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
  201. package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
  202. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
  203. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
  204. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
  205. package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
  206. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
  207. package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
  208. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
  209. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
  210. package/dist/lib/assets/file.png.cjs +1 -0
  211. package/dist/lib/assets/folder.png.cjs +1 -0
  212. package/dist/lib/components/runtime/index.d.ts +6 -0
  213. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
  214. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
  215. package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
  216. package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
  217. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  218. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
  219. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  220. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
  221. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
  222. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  223. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
  224. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
  225. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
  226. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
  227. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
  228. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
  229. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
  230. package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
  231. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  232. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
  233. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  234. package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
  235. package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
  236. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
  237. package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
  238. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
  239. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  240. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
  241. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
  242. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
  243. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +24 -0
  244. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
  245. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  246. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
  247. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
  248. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  249. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
  250. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  251. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
  252. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
  253. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
  254. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  255. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
  256. package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
  257. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
  258. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  259. package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
  260. package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
  261. package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
  262. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  263. package/dist/lib/components/runtime/utils/store.cjs +1 -0
  264. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  265. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
  266. package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
  267. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
  268. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
  269. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
  270. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
  271. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
  272. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
  273. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
  274. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
  275. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
  276. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
  277. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
  278. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
  279. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
  280. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
  281. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
  282. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
  283. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
  284. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
  285. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
  286. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
  287. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
  288. package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
  289. package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
  290. package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
  291. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
  292. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
  293. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
  294. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
  295. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
  296. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
  297. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
  298. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
  299. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
  300. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  301. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
  302. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
  303. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
  304. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
  305. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
  306. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
  307. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
  308. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
  309. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
  310. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
  311. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
  312. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
  313. package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
  314. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
  315. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  316. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
  317. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
  318. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  319. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
  320. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
  321. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  322. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
  323. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
  324. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  325. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
  326. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
  327. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  328. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
  329. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
  330. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  331. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
  332. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
  333. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  334. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
  335. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
  336. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  337. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
  338. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
  339. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
  340. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
  341. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
  342. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
  343. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
  344. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
  345. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
  346. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
  347. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  348. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
  349. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
  350. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
  351. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
  352. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
  353. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
  354. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
  355. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
  356. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
  357. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
  358. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
  359. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
  360. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
  361. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
  362. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
  363. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
  364. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
  365. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
  366. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
  367. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
  368. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
  369. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
  370. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  371. package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
  372. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
  373. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
  374. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
  375. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
  376. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
  377. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
  378. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
  379. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
  380. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
  381. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
  382. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
  383. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
  384. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
  385. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
  386. package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
  387. package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
  388. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
  389. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
  390. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
  391. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
  392. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
  393. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
  394. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
  395. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
  396. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
  397. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
  398. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
  399. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
  400. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
  401. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
  402. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
  403. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
  404. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
  405. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
  406. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
  407. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
  408. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
  409. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
  410. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
  411. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
  412. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
  413. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  414. package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
  415. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
  416. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  417. package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
  418. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
  419. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
  420. package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
  421. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
  422. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
  423. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
  424. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
  425. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
  426. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
  427. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
  428. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
  429. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
  430. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
  431. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
  432. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
  433. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
  434. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
  435. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
  436. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
  437. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  438. package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
  439. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
  440. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  441. package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
  442. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
  443. package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
  444. package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
  445. package/dist/lib/favicon.ico +0 -0
  446. package/dist/lib/i18n/langs/cn.cjs +1 -0
  447. package/dist/lib/i18n/langs/en.cjs +1 -0
  448. package/dist/lib/index.cjs +1 -0
  449. package/dist/lib/index.d.ts +16 -0
  450. package/dist/lib/style.css +1 -0
  451. package/package.json +13 -11
  452. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
  453. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  454. package/dist/es/components/runtime/utils/anchor-util.js +0 -84
  455. package/dist/es/components/runtime/utils/api/api-util.js +0 -4
  456. package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -190
  457. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  458. package/dist/es/components/runtime/utils/barcode-util.js +0 -12
  459. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
  460. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
  461. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
  462. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
  463. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
  464. package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
  465. package/dist/es/components/runtime/utils/common-util.js +0 -120
  466. package/dist/es/components/runtime/utils/eventBus.js +0 -5
  467. package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
  468. package/dist/es/components/runtime/utils/events/event-util.js +0 -427
  469. package/dist/es/components/runtime/utils/events/print-label.js +0 -100
  470. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1221
  471. package/dist/es/components/runtime/utils/events/validator-util.js +0 -367
  472. package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
  473. package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
  474. package/dist/es/components/runtime/utils/global-refs.js +0 -57
  475. package/dist/es/components/runtime/utils/i18n-util.js +0 -14
  476. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
  477. package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
  478. package/dist/es/components/runtime/utils/page-init-util.js +0 -280
  479. package/dist/es/components/runtime/utils/page-store.js +0 -53
  480. package/dist/es/components/runtime/utils/store-util.js +0 -13
  481. package/dist/es/components/runtime/utils/table-utils.js +0 -89
  482. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  483. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  484. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
  485. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
  486. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
  487. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  488. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
  489. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  490. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
  491. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  492. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
  493. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  494. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
  495. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
  496. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  497. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
  498. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  499. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
  500. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  501. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  502. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
  503. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
  504. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -35
  505. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
  506. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -46
  507. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
  508. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -35
  509. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
  510. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -35
  511. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -421
  512. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
  513. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
  514. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
  515. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
  516. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
  517. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
  518. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -15
  519. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
  520. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  521. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +0 -259
  522. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
  523. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
  524. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
  525. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  526. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
  527. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
  528. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  529. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
  530. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
  531. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  532. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
  533. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
  534. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
  535. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
  536. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
  537. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
  538. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
  539. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  540. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
  541. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -29
  542. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  543. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
  544. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  545. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -18
  546. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
  547. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
  548. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
  549. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
  550. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  551. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
  552. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  553. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -25
  554. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  555. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
  556. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
  557. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
  558. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
  559. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
  560. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  561. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
  562. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -382
  563. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  564. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -330
  565. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  566. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  567. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  568. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  569. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
  570. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
  571. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  572. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  573. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -64
  574. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
  575. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
  576. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  577. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
  578. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  579. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
  580. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  581. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
  582. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  583. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
  584. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  585. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -94
  586. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  587. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
  588. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  589. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -82
  590. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
  591. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -38
  592. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  593. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -43
  594. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
  595. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -16
  596. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  597. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -82
  598. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  599. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -199
  600. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
  601. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
  602. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  603. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
  604. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  605. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
  606. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  607. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
  608. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
  609. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
  610. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
  611. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
  612. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -165
  613. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  614. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
  615. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
  616. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
  617. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -47
  618. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
  619. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
  620. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
  621. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
  622. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  623. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
  624. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  625. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
  626. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
  627. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -32
  628. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  629. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
  630. package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
  631. package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
  632. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -26
  633. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
  634. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  635. package/dist/es/components/runtime/views/super-page.vue2.js +0 -302
  636. package/dist/es/index.js +0 -30
  637. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  638. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  639. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  640. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  641. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  642. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  643. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  644. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  645. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  646. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
@@ -1,387 +0,0 @@
1
- import http from "agilebuilder-ui/src/utils/request";
2
- import dayjs from "dayjs";
3
- import { executeExpression } from "agilebuilder-ui/src/utils/calculator/calculator-util";
4
- import { getComponentRef } from "./global-refs.js";
5
- import { watch } from "vue";
6
- import { deepCopy, getBaseUrl } from "./common-util.js";
7
- function getComponentOptionConfigs(t, e, o, n) {
8
- return getComponentOptionConfigsBase(t, (e == null ? void 0 : e.systemCode) ? e.systemCode : o, (e == null ? void 0 : e.systemVersion) ? e == null ? void 0 : e.systemVersion : n);
9
- }
10
- function getComponentOptionConfigsBase(t, e, o) {
11
- if (!t.props || !t.props.dataOrigin) return;
12
- if (t.name && "table" === t.name) return;
13
- const n = t.props.dataOrigin, a = { uuid: t.uuid };
14
- if ("optionGroup" == n.optionValueSetType) a.type = "optionGroup", a.props = { code: n.optionGroup };
15
- else if ("dynamicData" == n.optionValueSetType) a.type = "dynamicData", a.filterType = n.filterType, a.props = { code: n.dynamicDataSourceCode };
16
- else if ("dataTable" == n.optionValueSetType) {
17
- a.filterType = n.filterType;
18
- const t2 = getTableQueryInfo(n, e, o);
19
- Object.assign(a, t2);
20
- } else if ("service" == n.optionValueSetType) {
21
- a.filterType = n.filterType;
22
- const t2 = getServiceQueryInfo(n, e, o);
23
- Object.assign(a, t2);
24
- }
25
- return a.type ? a : void 0;
26
- }
27
- function getTableQueryInfo(t, e, o) {
28
- const n = { type: "dataTable" };
29
- if (n.valueLabelSwitch = !!t.valueLabelSwitch, n.importValidateSwitch = !!t.importValidateSwitch, n.props = { tableName: t.tableName, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : o }, t.sortFields) {
30
- const e2 = [];
31
- for (const o2 of t.sortFields) o2.name && e2.push({ prop: o2.name, order: o2.type ? o2.type : "asc" });
32
- n.props.sorts = e2;
33
- }
34
- const a = [];
35
- if (t.filterList) {
36
- const e2 = [];
37
- for (const o2 of t.filterList) {
38
- if (!o2.propName) continue;
39
- o2.propDbName || (o2.propDbName = o2.propName);
40
- const t2 = {};
41
- Object.assign(t2, o2);
42
- const n2 = getParamNames(o2.propValue);
43
- for (const t3 of n2) t3 && (t3.startsWith("${data.") || t3.startsWith("${task.") || t3.startsWith("${page.")) && (a.includes(t3) || a.push(t3));
44
- o2.propValue, e2.push(t2);
45
- }
46
- n.props.searchForm = e2;
47
- }
48
- n.props.monitorFields = a;
49
- const r = [];
50
- if (t.tableValueField && (n.props.valueField = t.tableValueField), t.tableLableField && -1 == r.indexOf(t.tableLableField) && (n.props.lableField = t.tableLableField), t.autoSets) for (const e2 of t.autoSets) e2.source && -1 == r.indexOf(e2.source) && r.push(e2.source);
51
- return n.props.queryFields = r, n.props.pageSize = t.displayQuantity, n;
52
- }
53
- function getServiceQueryInfo(t, e, o) {
54
- const n = { type: "service" };
55
- if (n.valueLabelSwitch = !!t.valueLabelSwitch, n.importValidateSwitch = !!t.importValidateSwitch, n.props = { serivceCode: t.serviceCode, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : o }, t.serviceInputs) {
56
- const e2 = [];
57
- for (const o2 of t.serviceInputs) {
58
- if (!o2.name || o2.value) continue;
59
- const t2 = {};
60
- Object.assign(t2, o2), e2.push(t2);
61
- }
62
- n.props.inputs = e2;
63
- }
64
- return n.props.dataSetField = t.serviceDataSetField, n.props.valueField = t.serviceValueField, n.props.labelField = t.serviceLabelField, n;
65
- }
66
- function updateChartDatasources(t, e, o, n) {
67
- return new Promise((a, r) => {
68
- if (!e || 0 == e.length) return void r(new Error("无需查询的统计图配置!"));
69
- const i = deepCopy(e);
70
- i.forEach((e2) => {
71
- const o2 = e2.services;
72
- if (o2 && o2.length > 0) {
73
- const e3 = o2[0].serviceInputs;
74
- e3 && (o2[0].serviceInParams = {}, e3.forEach((e4) => {
75
- const n2 = e4.name, a2 = e4.value;
76
- o2[0].serviceInParams[n2] = getValueFromVariable(t.entity, a2);
77
- }), delete o2[0].serviceInputs);
78
- }
79
- });
80
- const s = t.entity ? t.entity : {}, u = {};
81
- s.request && Object.assign(u, s.request), s.page && Object.assign(u, s.page), o && Object.assign(u, o);
82
- const l = {};
83
- s.task && Object.assign(l, s.task);
84
- const c = { entityMap: s.data, additionalParamMap: u, taskMap: l, dataSourceList: i, systemCode: t.systemCode, pageCode: t.code }, p = t.backendUrl, f = getBaseUrl(p, t.isTest) + "/common/common-data/find-chart-datas";
85
- http.post(f, c, { headers: { customSystem: t.systemCode } }).then((e2) => {
86
- var _a, _b;
87
- t.chartDataSourceMap || (t.chartDataSourceMap = {});
88
- for (const o2 in e2) {
89
- t.chartDataSourceMap[o2] = e2[o2];
90
- const a2 = getComponentRef(t, o2);
91
- if (a2) {
92
- const r2 = a2.getConfigure();
93
- if ((!n || r2 && (void 0 === r2.initializationQuery || r2.initializationQuery)) && a2.updateChartDatas && (a2.updateChartDatas(e2[o2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
94
- const n2 = e2[o2] && e2[o2].length > 0 ? e2[o2][0] : {}, a3 = n2 && n2.result ? n2.result : {};
95
- let i2 = null;
96
- r2.serviceDataField ? i2 = a3[r2.serviceDataField] : a3 && (i2 = Array.isArray(a3) ? a3 : [a3]), i2 || (i2 = []), setValueForVariableName(t.entity, r2.runtime.dataConfig.resultSet, i2);
97
- }
98
- }
99
- }
100
- a(e2);
101
- }).catch((t2) => {
102
- r(t2);
103
- });
104
- });
105
- }
106
- function updateChartDatasourcesByComponent(t, e) {
107
- const o = t.initChartServiceConfigs.find((t2) => t2.uuid === e);
108
- o && updateChartDatasources(t, [o], null, false);
109
- }
110
- function updateOptionDatasources(t, e, o) {
111
- return new Promise((n, a) => {
112
- if (!e || 0 == e.length) return void a(new Error("无需查询的配置!"));
113
- const r = t.entity ? t.entity : {}, i = {};
114
- r.request && Object.assign(i, r.request), r.page && Object.assign(i, r.page), i.query = o;
115
- const s = { entityMap: r.data, additionalParamMap: i, dataSourceList: e, systemCode: t.systemCode, query: o }, u = t.backendUrl, l = getBaseUrl(u, t.isTest) + "/common/common-data/find-datas";
116
- http.post(l, s).then((e2) => {
117
- t.optionSourceMap || (t.optionSourceMap = {});
118
- for (const o2 in e2) {
119
- t.optionSourceMap[o2] = e2[o2];
120
- const n2 = getComponentRef(t, o2);
121
- n2 && n2.updateOptions && n2.updateOptions(e2[o2]);
122
- }
123
- n(e2);
124
- }).catch((t2) => {
125
- a(t2);
126
- });
127
- });
128
- }
129
- function getOptionDatasFromPage(t, e) {
130
- return getComponentOptionDatasFromPage(t, e.uuid);
131
- }
132
- function getComponentOptionDatasFromPage(t, e) {
133
- const o = getOptionDatasSourceMap(t)[e];
134
- return o || [];
135
- }
136
- function getOptionDatasSourceMap(t) {
137
- if (!t || !t.optionSourceMap) return {};
138
- const e = t.optionSourceMap;
139
- return e || {};
140
- }
141
- function getChartDatasFromPage(t, e) {
142
- if (!t || !t.chartDataSourceMap || !e) return null;
143
- return t.chartDataSourceMap[e.uuid];
144
- }
145
- function queryOptionDatasources(t, e, o) {
146
- return updateOptionDatasources(t, e ? [e] : [], o);
147
- }
148
- function autoSetAfterSelect(t, e, o, n, a = []) {
149
- if (!o || 0 == o.length) return;
150
- const r = e.entity ? e.entity : {};
151
- for (const t2 of o) {
152
- if (!t2.source || !t2.target || a.includes(t2.target)) continue;
153
- const e2 = getValuesByField(n, t2.source);
154
- let o2 = t2.target;
155
- if (!o2 || !o2.startsWith("${")) continue;
156
- o2 = o2.substring(2, o2.length - 1);
157
- const i = o2.split(".");
158
- setVariableValue(r, i, null == e2 ? null : e2.join(","));
159
- }
160
- }
161
- function getValuesByField(t, e) {
162
- if (t) {
163
- const o = [];
164
- for (const n of t) {
165
- let t2 = n[e];
166
- null != t2 && null != t2 || (t2 = ""), o.push(t2);
167
- }
168
- return o;
169
- }
170
- return null;
171
- }
172
- function getVariableValue(t, e) {
173
- if (!t || !e || 0 == e.length) return;
174
- let o = t;
175
- for (let t2 = 0; t2 < e.length; t2++) {
176
- if (null == o) return o;
177
- o = o[e[t2]];
178
- }
179
- return o;
180
- }
181
- function setValueForVariableName(t, e, o) {
182
- if (!e || !e.startsWith("${")) return;
183
- setVariableValue(t, (e = e.substring(2, e.length - 1)).split("."), o);
184
- }
185
- function setVariableValue(t, e, o) {
186
- if (!t || !e || 0 == e.length) return;
187
- let n = t;
188
- for (let t2 = 0; t2 < e.length; t2++) {
189
- const a = e[t2];
190
- t2 + 1 === e.length ? n[a] = void 0 === o ? null : o : (void 0 === n[a] && (n[a] = {}), n = n[a]);
191
- }
192
- }
193
- function setVariableValueWithProp(t, e, o) {
194
- if (!t || !e) return;
195
- setVariableValue(t, e.split("."), o);
196
- }
197
- function formatVariableValue(t, e) {
198
- if (!t || "" == e || null == e || null == e) return e;
199
- const o = t.entity ? t.entity : {}, n = getParamNames(e);
200
- for (const t2 in n) {
201
- const a = n[t2], r = getValueFromVariable(o, a);
202
- if (r && "[object Date]" === Object.prototype.toString.call(r)) return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
203
- if (r && "number" == typeof r) return r;
204
- e = e.replace(a, null == r ? "" : r);
205
- }
206
- return e;
207
- }
208
- function getParamNames(t) {
209
- if (!t) return [];
210
- const e = t.match(/\$\{[^\{|\}]+\}/g);
211
- return e || [];
212
- }
213
- function formatValueByType(t, e, o) {
214
- if (!e || "" == t || null == t || null == t) return t;
215
- if (o = o || {}, "number" == e || "percent" == e) {
216
- if (isNaN(t)) return t;
217
- let n = parseInt(o.decimalDigit);
218
- if ((null == n || isNaN(n)) && (n = -1), t = parseFloat(t), "percent" == e && (t *= 100), n > -1 && (t = parseFloat(t.toFixed(n))), "percent" == e) t += "%";
219
- else {
220
- if (o.thousandsSeparator) {
221
- const e2 = t.toString().split(".");
222
- e2[0] = e2[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), t = e2.length > 1 ? e2.join(".") : e2[0];
223
- }
224
- o.symbol && (t = o.symbol + "" + t);
225
- }
226
- return t;
227
- }
228
- if ("date" == e || "time" == e) {
229
- let n = "";
230
- return "date" == e ? (n = o.dateFormat, n || (n = "YYYY-MM-DD")) : (n = o.timeFormat, n || (n = "HH:mm:ss")), dayjs(t).format(n);
231
- }
232
- return "custom" == e && o.formatEventUuid, t;
233
- }
234
- function getValueFromVariable(t, e, o) {
235
- if (null == e || null == e) return e;
236
- if (e.startsWith("${") && e.endsWith("}")) {
237
- let n = e.substring(2, e.length - 1), a = null, r = null;
238
- if (n.startsWith("data.")) n = n.substring(5), r = t.data, a = "data";
239
- else if (n.startsWith("page.")) n = n.substring(5), a = "page", r = t.page;
240
- else if (n.startsWith("task.")) n = n.substring(5), a = "task", r = t.task;
241
- else if (n.startsWith("request.")) n = n.substring(8), a = "request", r = t.request;
242
- else if (n.startsWith("context.")) n = n.substring(8), a = "context", r = t.context;
243
- else if (n.startsWith("system.")) n = n.substring(7), a = "system", r = t.system;
244
- else {
245
- if (n.startsWith("fixed.")) return n.substring(6);
246
- n.startsWith("row.") && (n = n.substring(4), r = o, a = "row");
247
- }
248
- return n ? getValueFromSource(r, n, a) : "";
249
- }
250
- return e;
251
- }
252
- function getValueFromSource(t, e, o) {
253
- if ("context" != o && !t || !e) return;
254
- const n = e.indexOf(".");
255
- if (n > -1) {
256
- const a = e.substring(0, n), r = e.substring(n + 1);
257
- let i = t[a];
258
- return i && Array.isArray(i) && i.length > 0 && (i = i[0]), getValueFromSource(i, r, o);
259
- }
260
- if ("context" == o) {
261
- if ("currentDate" == e || "currentTime" == e) return /* @__PURE__ */ new Date();
262
- if (e.startsWith("currentDate") && e.length > 11) {
263
- const t2 = e.substring(11), o2 = t2.substring(0, 1);
264
- let n2 = parseInt(t2.substring(1, t2.length - 1), 10);
265
- const a = t2.substring(t2.length - 1), r = /* @__PURE__ */ new Date();
266
- return n2 = "+" === o2 ? n2 : -n2, "d" === a || "w" === a ? (n2 = "w" === a ? 7 * n2 : n2, r.setDate(r.getDate() + n2)) : "m" === a ? r.setMonth(r.getMonth() + n2) : "y" === a && r.setFullYear(r.getFullYear() + n2), r;
267
- }
268
- if (!t) return;
269
- }
270
- return t[e];
271
- }
272
- function caculateShowCondition(pageContext, showConditions, row) {
273
- if (!showConditions || 0 == showConditions.length || !pageContext || !pageContext.entity) return true;
274
- const entityData = pageContext.entity;
275
- let conditions = "";
276
- const maxLen = showConditions.length;
277
- for (let t = 0; t < maxLen; t++) {
278
- const e = showConditions[t], o = e.propName;
279
- let n = e.operator;
280
- if (!o || "" === o) continue;
281
- n || (n = "EQ");
282
- const a = getValueFromVariable(entityData, o, row);
283
- let r = getValueFromVariable(entityData, e.propValue, row);
284
- const i = e.dataType;
285
- "CONTAIN" != n && "NOT_CONTAIN" != n || a && !a.includes && (n = "CONTAIN" == n ? "EQ" : "NET");
286
- let s = e.variableIsNull, u;
287
- if (s || (s = "null"), "IS_NULL" !== n && "IS_NOT_NULL" !== n && (void 0 !== r && "" !== r || (r = null, "null" === s ? n = "IS_NULL" : "notequal" === s ? n = "IS_NOT_NULL" : u = true)), null == u) try {
288
- u = executeExpression(a, n, r, i);
289
- } catch (t2) {
290
- u = false;
291
- }
292
- const l = e.leftBracket, c = e.rightBracket;
293
- let p = e.joinSign;
294
- if (l && null !== l && "" !== l && (conditions += l, conditions += " "), conditions += u + " ", c && null !== c && "" !== c && (conditions += c, conditions += " "), t < maxLen - 1 && p && null !== p && "" !== p) {
295
- const t2 = p.toLowerCase();
296
- "and" === t2 ? p = t2.replace("and", "&&") : "or" === t2 && (p = t2.replace("or", "||")), conditions += p + " ";
297
- }
298
- }
299
- return !conditions || eval("(" + conditions + ")");
300
- }
301
- function monitorFieldChange(t, e, o) {
302
- if (!o || !t || !e || 0 == e.length) return;
303
- const n = [], a = [];
304
- for (let t2 of e) if (t2.startsWith("${")) {
305
- t2 = t2.substring(2, t2.length - 1);
306
- const e2 = t2.split(".");
307
- "page" !== e2[0] && "task" !== e2[0] && "data" !== e2[0] || (n.push(e2), a.includes(e2[0]) || a.push(e2[0]));
308
- }
309
- let r = getMonitorFieldValues(n, t.entity), i = false;
310
- for (const e2 of a) watch(t.entity[e2], () => {
311
- i && clearTimeout(i), i = setTimeout(function() {
312
- const e3 = getMonitorFieldValues(n, t.entity);
313
- r != e3 && (r = e3, o());
314
- }, 200);
315
- });
316
- }
317
- function getMonitorFieldValues(t, e) {
318
- let o = "";
319
- for (const n of t) o += "_" + getVariableValue(e, n);
320
- return o;
321
- }
322
- function getFormPropName(t) {
323
- return t && t.indexOf("${") >= 0 ? t.substring(t.indexOf(".") + 1, t.lastIndexOf("}")) : t;
324
- }
325
- function getSizeConfig(t, e) {
326
- const o = getPageModeType(t);
327
- let n;
328
- return e.props && e.props.size && e.props.size[o] && (n = e.props.size[o]), !n && e.props && e.props.size && (n = e.props.size.pc), n;
329
- }
330
- function getPageModeType(t) {
331
- let e = t.dimensions;
332
- return e || (e = "pc"), e;
333
- }
334
- function isPromise(t) {
335
- return t && "[object Promise]" === Object.prototype.toString.call(t);
336
- }
337
- function decomposeVariable(t) {
338
- if (!t) return [];
339
- const e = t.match(/\${(.*?)}/);
340
- return e ? e[1].split(".") : [];
341
- }
342
- function getModelFieldFromPageContext(t, e) {
343
- if (!e.modelFieldsMap) return;
344
- let o = null;
345
- for (let n = 0; n < t.length; n++) {
346
- const a = t[n];
347
- n + 1 === t.length && (o = e.modelFieldsMap[a]);
348
- }
349
- return o;
350
- }
351
- function isNumberDataType(t) {
352
- return "INTEGER" === t || "LONG" === t || "DOUBLE" === t || "FLOAT_COM" === t;
353
- }
354
- function isDateDataType(t) {
355
- return "DATE" === (t = t ? t.toUpperCase() : "") || "TIME" === t || "DATETIME" === t || "TIMESTAMP" === t;
356
- }
357
- export {
358
- autoSetAfterSelect,
359
- caculateShowCondition,
360
- decomposeVariable,
361
- formatValueByType,
362
- formatVariableValue,
363
- getChartDatasFromPage,
364
- getComponentOptionConfigs,
365
- getComponentOptionConfigsBase,
366
- getComponentOptionDatasFromPage,
367
- getFormPropName,
368
- getModelFieldFromPageContext,
369
- getOptionDatasFromPage,
370
- getOptionDatasSourceMap,
371
- getParamNames,
372
- getSizeConfig,
373
- getValueFromSource,
374
- getValueFromVariable,
375
- getVariableValue,
376
- isDateDataType,
377
- isNumberDataType,
378
- isPromise,
379
- monitorFieldChange,
380
- queryOptionDatasources,
381
- setValueForVariableName,
382
- setVariableValue,
383
- setVariableValueWithProp,
384
- updateChartDatasources,
385
- updateChartDatasourcesByComponent,
386
- updateOptionDatasources
387
- };
@@ -1,280 +0,0 @@
1
- import e from "agilebuilder-ui/src/utils/request";
2
- import { getAdditionalParamMap as t } from "./events/standard-event.js";
3
- import { PageDimensions as n } from "./interfaces/page-design-types.js";
4
- import { getFormPropName as i, getVariableValue as s, formatVariableValue as r, setVariableValue as o } from "./page-helper-util.js";
5
- import { getSessionCache as a } from "agilebuilder-ui/src/utils/auth";
6
- import { functions as l } from "./api/page-expose-util.js";
7
- import { isWorkflowPage as u, deepCopy as p } from "./common-util.js";
8
- import { packageCustomValidator as d } from "./events/validator-util.js";
9
- import { isMobileBrowser as c } from "agilebuilder-ui/src/utils/common-util";
10
- function f(t2) {
11
- return new Promise((n2, i2) => {
12
- (function(t3) {
13
- return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
14
- })(t2).then((e2) => {
15
- e2 ? b().then((t3) => {
16
- t3 && (e2.systemParam = h(t3)), g(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
17
- t4 ? (e2.contextParam = h(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, n2(e2)) : n2(null);
18
- });
19
- }).catch(() => {
20
- n2(e2);
21
- }) : n2(null);
22
- });
23
- });
24
- }
25
- function m(e2, t2) {
26
- return new Promise((n2, i2) => {
27
- e2 ? b().then((s2) => {
28
- s2 && (e2.systemParam = h(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? x(e2, t2, e2.systemVersion).then((t3) => {
29
- e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, n2(e2);
30
- }).catch((e3) => {
31
- i2(e3);
32
- }) : g("", "").then((t3) => {
33
- t3 ? (e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, n2(e2)) : n2(null);
34
- }).catch((e3) => {
35
- i2(e3);
36
- });
37
- }) : n2(null);
38
- });
39
- }
40
- function g(t2, n2) {
41
- let i2 = "";
42
- return t2 && n2 && (i2 = "?listViewTableName=" + t2 + "&listViewTablePublishVersion=" + n2), e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + i2);
43
- }
44
- function b() {
45
- return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
46
- }
47
- function y(e2) {
48
- var _a, _b, _c;
49
- if (null == e2) return null;
50
- const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
51
- if (e2.props && e2.props.notIdInitializationList) {
52
- let n2 = e2.props.notIdInitializationList;
53
- "string" == typeof n2 && (n2 = JSON.parse(n2)), n2.length > 0 && (t2.notIdInitializationList = n2);
54
- }
55
- if (e2.variables) {
56
- const n2 = t2.entity.page;
57
- for (const t3 of e2.variables) t3.name && (t3.isArrayElement ? n2[t3.name] = [] : t3.defaultValue ? n2[t3.name] = t3.defaultValue : n2[t3.name] = void 0);
58
- }
59
- return function(e3) {
60
- if (c()) {
61
- e3.entity.page._isMobile = "true";
62
- const t3 = navigator ? navigator.userAgent : null;
63
- t3 ? t3.indexOf("Html5Plus") > 0 ? (e3.entity.page._isMobileApp = "true", e3.entity.page._isMobileBrowser = "false") : (e3.entity.page._isMobileApp = "false", e3.entity.page._isMobileBrowser = "true") : (e3.entity.page._isMobileApp = "false", e3.entity.page._isMobileBrowser = "false");
64
- } else e3.entity.page._isMobile = "false";
65
- }(t2), Object.assign(t2, e2), t2.isWorkflowEntity = void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, t2.dimensions = function() {
66
- const e3 = window.outerWidth;
67
- if (!e3) return n.PC;
68
- return e3 > 768 ? n.PC : e3 > 414 ? n.IPAD : n.PHONE;
69
- }(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
70
- }
71
- function h(e2) {
72
- try {
73
- const t2 = function(e3) {
74
- if (!e3) return e3;
75
- try {
76
- const t3 = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"), n2 = window.CryptoJS.enc.Latin1.parse("1234567812345678");
77
- return window.CryptoJS.AES.decrypt(e3, t3, { iv: n2, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
78
- } catch (t3) {
79
- return e3;
80
- }
81
- }(e2);
82
- if (!t2) return {};
83
- return JSON.parse(t2);
84
- } catch (t2) {
85
- return e2;
86
- }
87
- }
88
- function w(e2) {
89
- try {
90
- return e2.props && e2.props.judgeHeavyList.length > 0 ? (e2.props.judgeHeavyList.forEach((e3) => {
91
- e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
92
- }), e2.props.judgeHeavyList) : null;
93
- } catch (e3) {
94
- console.error("getJudgeHeavyList error:", e3);
95
- }
96
- }
97
- function P(e2) {
98
- let t2 = decodeURI(window.location.href);
99
- try {
100
- window.top && !Array.isArray(window.top) && (t2 = decodeURI(window.top.location.href));
101
- } catch (e3) {
102
- }
103
- if (t2 && t2.includes("?")) {
104
- t2 = t2.substring(t2.lastIndexOf("?") + 1);
105
- const n2 = t2.split("&");
106
- for (const t3 of n2) {
107
- const n3 = t3.split("=");
108
- let i2 = n3[0];
109
- if (i2) {
110
- const t4 = n3.length > 1 ? n3[1] : "";
111
- i2.indexOf("ai__") >= 0 && (i2 = i2.substring(i2.indexOf("ai__") + 4)), e2[i2] = t4;
112
- }
113
- }
114
- }
115
- e2._t_;
116
- }
117
- function E(e2, t2) {
118
- if (e2) {
119
- Object.assign(t2, e2);
120
- C(e2.paramStoreId, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
121
- }
122
- }
123
- function v(e2, t2) {
124
- if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
125
- Object.assign(t2, e2.query);
126
- C(e2.query.paramStoreId, t2);
127
- }
128
- }
129
- function C(e2, t2) {
130
- if (e2) {
131
- const n2 = a(e2);
132
- if (n2) {
133
- const e3 = JSON.parse(n2);
134
- Object.assign(t2, e3);
135
- }
136
- }
137
- }
138
- function k(e2, t2) {
139
- let n2, i2 = t2;
140
- t2 || (n2 = e2.props.base ? e2.props.base : {}, i2 = n2.prop);
141
- let s2 = null;
142
- return t2 && !t2.startsWith("${") ? s2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), s2 = i2.split("."), e2 && s2.length < 2 && (s2 = [e2.uuid])) : e2 && (s2 = ["page", e2.uuid]) : s2 = ["page", e2.uuid], s2 || e2 ? s2 : ["temp"];
143
- }
144
- function A(e2, t2, n2) {
145
- var _a, _b;
146
- const i2 = k(t2, n2), r2 = e2.entity;
147
- if (null == r2.data.ID && null == r2.data.id) {
148
- let n3, o2, a2 = false;
149
- t2 && (n3 = t2.props.base ? t2.props.base : {}, o2 = t2.name, a2 = n3.multiple);
150
- const l2 = s(r2, i2);
151
- if (null == l2) {
152
- const s2 = n3 ? n3.defaultValue : null, l3 = Boolean((_a = t2 == null ? void 0 : t2.runtime) == null ? void 0 : _a.arrayValue);
153
- if (s2) try {
154
- const t3 = T(e2, s2, o2, a2);
155
- if (M(t3)) I(r2, i2, t3, l3);
156
- else if (((_b = n3.moreDefaultValue) == null ? void 0 : _b.length) > 0) {
157
- const t4 = n3.moreDefaultValue;
158
- for (let n4 = 0; n4 < t4.length; n4++) {
159
- const s3 = T(e2, t4[n4], o2, a2);
160
- if (M(s3)) {
161
- I(r2, i2, s3, l3);
162
- break;
163
- }
164
- }
165
- }
166
- } catch (e3) {
167
- console.error("设置默认值出错:", i2, e3);
168
- }
169
- }
170
- }
171
- return i2;
172
- }
173
- function M(e2) {
174
- return null != e2 && "" !== e2;
175
- }
176
- function I(e2, t2, n2, i2) {
177
- !Array.isArray(n2) || i2 ? o(e2, t2, n2) : o(e2, t2, n2.join(","));
178
- }
179
- function T(e2, t2, n2, i2) {
180
- let s2;
181
- if (t2 && (s2 = r(e2, t2), null != s2 && null != s2 && n2)) {
182
- let e3 = false;
183
- "checkbox" == n2 ? e3 = true : "select" == n2 && (e3 = i2), e3 && (s2 = (s2 + "").split(","));
184
- }
185
- return s2;
186
- }
187
- function j(e2, t2) {
188
- var _a, _b;
189
- if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
190
- const n2 = [];
191
- if (e2.autoPermissions) for (const i2 of e2.autoPermissions) n2.push(t2.code + "." + i2.simpleCode);
192
- if (e2.functionCodes) {
193
- const i2 = e2.sourceTypes ? e2.sourceTypes : [], s2 = e2.functionCodes;
194
- for (let e3 = 0; e3 < s2.length; e3++) {
195
- const r2 = s2[e3], o2 = e3 < i2.length ? i2[e3] : "";
196
- let a2 = "";
197
- if ("service" == o2) a2 = r2;
198
- else if ("standard" === o2) a2 = t2.code + "." + r2;
199
- else {
200
- a2 = "custom" === O(r2, t2).type ? r2 : t2.code + "." + r2;
201
- }
202
- n2.includes(a2) || n2.push(a2);
203
- }
204
- }
205
- return n2.join(",");
206
- }
207
- function O(e2, t2) {
208
- const n2 = t2.pagePermissions;
209
- if (n2 && n2.length > 0) {
210
- for (let t3 = 0; t3 < n2.length; t3++) if (n2[t3].simpleCode === e2) return n2[t3];
211
- }
212
- return null;
213
- }
214
- function x(n2, i2, s2) {
215
- const r2 = n2.tableRuntimes, o2 = t(i2);
216
- let a2;
217
- const l2 = n2.code;
218
- return o2 && Object.keys(o2) > 0 && (a2 = JSON.stringify(o2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: r2, additionalParamMapJson: a2, pageCode: l2, publishVersion: s2, pageType: n2.pageType });
219
- }
220
- const R = ["button-detail", "print-label"];
221
- function _(e2, t2, n2) {
222
- var _a, _b;
223
- const s2 = t2.props && t2.props.base ? t2.props.base.prop : null, r2 = u(e2);
224
- let o2 = false;
225
- if (r2 && R.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
226
- const n3 = e2.fieldPermissionMap.get("all_fields");
227
- false === (n3 == null ? void 0 : n3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", o2 = true);
228
- }
229
- if (s2) {
230
- const a2 = i(s2);
231
- if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[a2] || (e2.rules[a2] = []), t2.props.rules.forEach((e3) => {
232
- d(e3), !n2 && e3 && e3.required && (e3.required = false);
233
- }), e2.rules[a2] = t2.props.rules), r2 && !o2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
234
- const i2 = e2.fieldPermissionMap.get(a2);
235
- if (!n2 && e2.workflowRules && (e2.workflowRules[a2] || e2.workflowRules.rules && e2.workflowRules.rules[a2])) {
236
- let t3 = e2.workflowRules[a2];
237
- if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[a2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
238
- const n3 = t3[e3];
239
- if (n3 && n3.required) {
240
- n3.required = false;
241
- break;
242
- }
243
- }
244
- else t3 && t3.required && (t3.required = false);
245
- }
246
- t2.runtime.props || (t2.runtime.props = {}), i2 ? (!n2 && i2.canEdit && (i2.canEdit = false), false === i2.canEdit ? t2.runtime.props.state = "disabled" : i2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
247
- }
248
- ((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: a2, events: t2.props.customRuleEvents }));
249
- }
250
- }
251
- function V(e2, t2) {
252
- if (e2.initInfo) {
253
- ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((n2) => {
254
- const i2 = e2.initInfo[n2];
255
- if (i2) if ("dynamicControlFormEdit" === n2) {
256
- let n3 = i2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
257
- if (n3 && n3.length > 0 && (n3 = n3.filter((e3) => "_all_fields" === e3.name), n3 && n3.length > 0)) {
258
- const e3 = p(n3[0]);
259
- e3.name = t2, n3 = [e3];
260
- }
261
- l.dynamicControlFormEdit(e2, n3, false);
262
- } else "disableElement" === n2 ? i2.indexOf(t2) >= 0 && l.disableElement(e2, [t2], false) : "enableElement" === n2 ? i2.indexOf(t2) >= 0 && l.enableElement(e2, [t2], false) : "hideElement" === n2 ? i2.indexOf(t2) >= 0 && l.hideElement(e2, [t2], false) : "showElement" === n2 && i2.indexOf(t2) >= 0 && l.showElement(e2, [t2], false);
263
- });
264
- }
265
- }
266
- export {
267
- V as controlObjectRenderState,
268
- y as convertToPageContext,
269
- T as getDefaultValue,
270
- A as getFormModelFields,
271
- k as getModelFields,
272
- j as getPermissionCodes,
273
- P as packageAdditionalMapWithLocationSearch,
274
- E as packageAdditionalMapWithPageRequest,
275
- v as packageAdditionalMapWithRoute,
276
- _ as packageFormRules,
277
- f as queryPageDesignByCode,
278
- m as queryPageDesignWhenPreview,
279
- x as queryPageSuperGrids
280
- };