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
@@ -0,0 +1,377 @@
1
+ import { http, executeExpression } from "agilebuilder-ui";
2
+ import dayjs from "dayjs";
3
+ import { getComponentRef } from "./global-refs.mjs";
4
+ import { watch } from "vue";
5
+ import { getBaseUrl, deepCopy } from "./common-util.mjs";
6
+ function getComponentOptionConfigs(e, t, n, o) {
7
+ return getComponentOptionConfigsBase(e, t != null && t.systemCode ? t.systemCode : n, t != null && t.systemVersion ? t == null ? void 0 : t.systemVersion : o);
8
+ }
9
+ function getComponentOptionConfigsBase(e, t, n) {
10
+ if (!e.props || !e.props.dataOrigin || e.name && e.name === "table") return;
11
+ const o = e.props.dataOrigin, a = { uuid: e.uuid };
12
+ if (o.optionValueSetType == "optionGroup") a.type = "optionGroup", a.props = { code: o.optionGroup };
13
+ else if (o.optionValueSetType == "dynamicData") a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
14
+ else if (o.optionValueSetType == "dataTable") {
15
+ a.filterType = o.filterType;
16
+ const i = getTableQueryInfo(o, t, n);
17
+ Object.assign(a, i);
18
+ } else if (o.optionValueSetType == "service") {
19
+ a.filterType = o.filterType;
20
+ const i = getServiceQueryInfo(o, t, n);
21
+ Object.assign(a, i);
22
+ }
23
+ return a.type ? a : void 0;
24
+ }
25
+ function getTableQueryInfo(e, t, n) {
26
+ const o = { type: "dataTable" };
27
+ if (o.valueLabelSwitch = !!e.valueLabelSwitch, o.importValidateSwitch = !!e.importValidateSwitch, o.props = { tableName: e.tableName, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : n }, e.sortFields) {
28
+ const r = [];
29
+ for (const s of e.sortFields) s.name && r.push({ prop: s.name, order: s.type ? s.type : "asc" });
30
+ o.props.sorts = r;
31
+ }
32
+ const a = [];
33
+ if (e.filterList) {
34
+ const r = [];
35
+ for (const s of e.filterList) {
36
+ if (!s.propName) continue;
37
+ s.propDbName || (s.propDbName = s.propName);
38
+ const u = {};
39
+ Object.assign(u, s);
40
+ const p = getParamNames(s.propValue);
41
+ for (const l of p) l && (l.startsWith("${data.") || l.startsWith("${task.") || l.startsWith("${page.")) && (a.includes(l) || a.push(l));
42
+ r.push(u);
43
+ }
44
+ o.props.searchForm = r;
45
+ }
46
+ o.props.monitorFields = a;
47
+ const i = [];
48
+ if (e.tableValueField && (o.props.valueField = e.tableValueField), e.tableLableField && i.indexOf(e.tableLableField) == -1 && (o.props.lableField = e.tableLableField), e.autoSets) for (const r of e.autoSets) r.source && i.indexOf(r.source) == -1 && i.push(r.source);
49
+ return o.props.queryFields = i, o.props.pageSize = e.displayQuantity, o;
50
+ }
51
+ function getServiceQueryInfo(e, t, n) {
52
+ const o = { type: "service" };
53
+ if (o.valueLabelSwitch = !!e.valueLabelSwitch, o.importValidateSwitch = !!e.importValidateSwitch, o.props = { serivceCode: e.serviceCode, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : n }, e.serviceInputs) {
54
+ const a = [];
55
+ for (const i of e.serviceInputs) {
56
+ if (!i.name || i.value) continue;
57
+ const r = {};
58
+ Object.assign(r, i), a.push(r);
59
+ }
60
+ o.props.inputs = a;
61
+ }
62
+ return o.props.dataSetField = e.serviceDataSetField, o.props.valueField = e.serviceValueField, o.props.labelField = e.serviceLabelField, o;
63
+ }
64
+ function updateChartDatasources(e, t, n, o) {
65
+ return new Promise((a, i) => {
66
+ if (!t || t.length == 0) return void i(new Error("无需查询的统计图配置!"));
67
+ const r = deepCopy(t);
68
+ r.forEach((d) => {
69
+ const m = d.services;
70
+ if (m && m.length > 0) {
71
+ const b = m[0].serviceInputs;
72
+ b && (m[0].serviceInParams = {}, b.forEach((g) => {
73
+ const h = g.name, y = g.value;
74
+ m[0].serviceInParams[h] = getValueFromVariable(e.entity, y);
75
+ }), delete m[0].serviceInputs);
76
+ }
77
+ });
78
+ const s = e.entity ? e.entity : {}, u = {};
79
+ s.request && Object.assign(u, s.request), s.page && Object.assign(u, s.page), n && Object.assign(u, n);
80
+ const p = {};
81
+ s.task && Object.assign(p, s.task);
82
+ const l = { entityMap: s.data, additionalParamMap: u, taskMap: p, dataSourceList: r, systemCode: e.systemCode, pageCode: e.code }, c = e.backendUrl, f = getBaseUrl(c, e.isTest) + "/common/common-data/find-chart-datas";
83
+ http.post(f, l, { headers: { customSystem: e.systemCode } }).then((d) => {
84
+ var m, b;
85
+ e.chartDataSourceMap || (e.chartDataSourceMap = {});
86
+ for (const g in d) {
87
+ e.chartDataSourceMap[g] = d[g];
88
+ const h = getComponentRef(e, g);
89
+ if (h) {
90
+ const y = h.getConfigure();
91
+ if ((!o || y && (y.initializationQuery === void 0 || y.initializationQuery)) && h.updateChartDatas && (h.updateChartDatas(d[g]), (b = (m = y.runtime) == null ? void 0 : m.dataConfig) == null ? void 0 : b.resultSet)) {
92
+ const S = d[g] && d[g].length > 0 ? d[g][0] : {}, V = S && S.result ? S.result : {};
93
+ let C = null;
94
+ y.serviceDataField ? C = V[y.serviceDataField] : V && (C = Array.isArray(V) ? V : [V]), C || (C = []), setValueForVariableName(e.entity, y.runtime.dataConfig.resultSet, C);
95
+ }
96
+ }
97
+ }
98
+ a(d);
99
+ }).catch((d) => {
100
+ i(d);
101
+ });
102
+ });
103
+ }
104
+ function updateChartDatasourcesByComponent(e, t) {
105
+ const n = e.initChartServiceConfigs.find((o) => o.uuid === t);
106
+ n && updateChartDatasources(e, [n], null, !1);
107
+ }
108
+ function updateOptionDatasources(e, t, n) {
109
+ return new Promise((o, a) => {
110
+ if (!t || t.length == 0) return void a(new Error("无需查询的配置!"));
111
+ const i = e.entity ? e.entity : {}, r = {};
112
+ i.request && Object.assign(r, i.request), i.page && Object.assign(r, i.page), r.query = n;
113
+ const s = { entityMap: i.data, additionalParamMap: r, dataSourceList: t, systemCode: e.systemCode, query: n }, u = e.backendUrl, p = getBaseUrl(u, e.isTest) + "/common/common-data/find-datas";
114
+ http.post(p, s).then((l) => {
115
+ e.optionSourceMap || (e.optionSourceMap = {});
116
+ for (const c in l) {
117
+ e.optionSourceMap[c] = l[c];
118
+ const f = getComponentRef(e, c);
119
+ f && f.updateOptions && f.updateOptions(l[c]);
120
+ }
121
+ o(l);
122
+ }).catch((l) => {
123
+ a(l);
124
+ });
125
+ });
126
+ }
127
+ function getOptionDatasFromPage(e, t) {
128
+ return getComponentOptionDatasFromPage(e, t.uuid);
129
+ }
130
+ function getComponentOptionDatasFromPage(e, t) {
131
+ return getOptionDatasSourceMap(e)[t] || [];
132
+ }
133
+ function getOptionDatasSourceMap(e) {
134
+ return !e || !e.optionSourceMap ? {} : e.optionSourceMap || {};
135
+ }
136
+ function getChartDatasFromPage(e, t) {
137
+ return !e || !e.chartDataSourceMap || !t ? null : e.chartDataSourceMap[t.uuid];
138
+ }
139
+ function queryOptionDatasources(e, t, n) {
140
+ return updateOptionDatasources(e, t ? [t] : [], n);
141
+ }
142
+ function autoSetAfterSelect(e, t, n, o, a = []) {
143
+ if (!n || n.length == 0) return;
144
+ const i = t.entity ? t.entity : {};
145
+ for (const r of n) {
146
+ if (!r.source || !r.target || a.includes(r.target)) continue;
147
+ const s = getValuesByField(o, r.source);
148
+ let u = r.target;
149
+ if (!u || !u.startsWith("${")) continue;
150
+ u = u.substring(2, u.length - 1);
151
+ const p = u.split(".");
152
+ setVariableValue(i, p, s == null ? null : s.join(","));
153
+ }
154
+ }
155
+ function getValuesByField(e, t) {
156
+ if (e) {
157
+ const n = [];
158
+ for (const o of e) {
159
+ let a = o[t];
160
+ a != null && a != null || (a = ""), n.push(a);
161
+ }
162
+ return n;
163
+ }
164
+ return null;
165
+ }
166
+ function getVariableValue(e, t) {
167
+ if (!e || !t || t.length == 0) return;
168
+ let n = e;
169
+ for (let o = 0; o < t.length; o++) {
170
+ if (n == null) return n;
171
+ n = n[t[o]];
172
+ }
173
+ return n;
174
+ }
175
+ function setValueForVariableName(e, t, n) {
176
+ !t || !t.startsWith("${") || setVariableValue(e, (t = t.substring(2, t.length - 1)).split("."), n);
177
+ }
178
+ function setVariableValue(e, t, n) {
179
+ if (!e || !t || t.length == 0) return;
180
+ let o = e;
181
+ for (let a = 0; a < t.length; a++) {
182
+ const i = t[a];
183
+ a + 1 === t.length ? o[i] = n === void 0 ? null : n : (o[i] === void 0 && (o[i] = {}), o = o[i]);
184
+ }
185
+ }
186
+ function setVariableValueWithProp(e, t, n) {
187
+ !e || !t || setVariableValue(e, t.split("."), n);
188
+ }
189
+ function formatVariableValue(e, t) {
190
+ if (!e || t == "" || t == null || t == null) return t;
191
+ const n = e.entity ? e.entity : {}, o = getParamNames(t);
192
+ for (const a in o) {
193
+ const i = o[a], r = getValueFromVariable(n, i);
194
+ if (r && Object.prototype.toString.call(r) === "[object Date]") return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
195
+ if (r && typeof r == "number") return r;
196
+ t = t.replace(i, r ?? "");
197
+ }
198
+ return t;
199
+ }
200
+ function getParamNames(e) {
201
+ return e ? e.match(/\$\{[^\{|\}]+\}/g) || [] : [];
202
+ }
203
+ function formatValueByType(e, t, n) {
204
+ if (!t || e == "" || e == null || e == null) return e;
205
+ if (n = n || {}, t == "number" || t == "percent") {
206
+ if (isNaN(e)) return e;
207
+ let o = parseInt(n.decimalDigit);
208
+ if ((o == null || isNaN(o)) && (o = -1), e = parseFloat(e), t == "percent" && (e *= 100), o > -1 && (e = parseFloat(e.toFixed(o))), t == "percent") e += "%";
209
+ else {
210
+ if (n.thousandsSeparator) {
211
+ const a = e.toString().split(".");
212
+ a[0] = a[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e = a.length > 1 ? a.join(".") : a[0];
213
+ }
214
+ n.symbol && (e = n.symbol + "" + e);
215
+ }
216
+ return e;
217
+ }
218
+ if (t == "date" || t == "time") {
219
+ let o = "";
220
+ return t == "date" ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(e).format(o);
221
+ }
222
+ return t == "custom" && n.formatEventUuid, e;
223
+ }
224
+ function getValueFromVariable(e, t, n) {
225
+ if (t == null || t == null) return t;
226
+ if (t.startsWith("${") && t.endsWith("}")) {
227
+ let o = t.substring(2, t.length - 1), a = null, i = null;
228
+ if (o.startsWith("data.")) o = o.substring(5), i = e.data, a = "data";
229
+ else if (o.startsWith("page.")) o = o.substring(5), a = "page", i = e.page;
230
+ else if (o.startsWith("task.")) o = o.substring(5), a = "task", i = e.task;
231
+ else if (o.startsWith("request.")) o = o.substring(8), a = "request", i = e.request;
232
+ else if (o.startsWith("context.")) o = o.substring(8), a = "context", i = e.context;
233
+ else if (o.startsWith("system.")) o = o.substring(7), a = "system", i = e.system;
234
+ else {
235
+ if (o.startsWith("fixed.")) return o.substring(6);
236
+ o.startsWith("row.") && (o = o.substring(4), i = n, a = "row");
237
+ }
238
+ return o ? getValueFromSource(i, o, a) : "";
239
+ }
240
+ return t;
241
+ }
242
+ function getValueFromSource(e, t, n) {
243
+ if (n != "context" && !e || !t) return;
244
+ const o = t.indexOf(".");
245
+ if (o > -1) {
246
+ const a = t.substring(0, o), i = t.substring(o + 1);
247
+ let r = e[a];
248
+ return r && Array.isArray(r) && r.length > 0 && (r = r[0]), getValueFromSource(r, i, n);
249
+ }
250
+ if (n == "context") {
251
+ if (t == "currentDate" || t == "currentTime") return /* @__PURE__ */ new Date();
252
+ if (t.startsWith("currentDate") && t.length > 11) {
253
+ const a = t.substring(11), i = a.substring(0, 1);
254
+ let r = parseInt(a.substring(1, a.length - 1), 10);
255
+ const s = a.substring(a.length - 1), u = /* @__PURE__ */ new Date();
256
+ return r = i === "+" ? r : -r, s === "d" || s === "w" ? (r = s === "w" ? 7 * r : r, u.setDate(u.getDate() + r)) : s === "m" ? u.setMonth(u.getMonth() + r) : s === "y" && u.setFullYear(u.getFullYear() + r), u;
257
+ }
258
+ if (!e) return;
259
+ }
260
+ return e[t];
261
+ }
262
+ function caculateShowCondition(pageContext, showConditions, row) {
263
+ if (!showConditions || showConditions.length == 0 || !pageContext || !pageContext.entity) return !0;
264
+ const entityData = pageContext.entity;
265
+ let conditions = "";
266
+ const maxLen = showConditions.length;
267
+ for (let e = 0; e < maxLen; e++) {
268
+ const t = showConditions[e], n = t.propName;
269
+ let o = t.operator;
270
+ if (!n || n === "") continue;
271
+ o || (o = "EQ");
272
+ const a = getValueFromVariable(entityData, n, row);
273
+ let i = getValueFromVariable(entityData, t.propValue, row);
274
+ const r = t.dataType;
275
+ o != "CONTAIN" && o != "NOT_CONTAIN" || a && !a.includes && (o = o == "CONTAIN" ? "EQ" : "NET");
276
+ let s = t.variableIsNull, u;
277
+ if (s || (s = "null"), o !== "IS_NULL" && o !== "IS_NOT_NULL" && (i !== void 0 && i !== "" || (i = null, s === "null" ? o = "IS_NULL" : s === "notequal" ? o = "IS_NOT_NULL" : u = !0)), u == null) try {
278
+ u = executeExpression(a, o, i, r);
279
+ } catch {
280
+ u = !1;
281
+ }
282
+ const p = t.leftBracket, l = t.rightBracket;
283
+ let c = t.joinSign;
284
+ if (p && p !== null && p !== "" && (conditions += p, conditions += " "), conditions += u + " ", l && l !== null && l !== "" && (conditions += l, conditions += " "), e < maxLen - 1 && c && c !== null && c !== "") {
285
+ const f = c.toLowerCase();
286
+ f === "and" ? c = f.replace("and", "&&") : f === "or" && (c = f.replace("or", "||")), conditions += c + " ";
287
+ }
288
+ }
289
+ return !conditions || eval("(" + conditions + ")");
290
+ }
291
+ function monitorFieldChange(e, t, n) {
292
+ if (!n || !e || !t || t.length == 0) return;
293
+ const o = [], a = [];
294
+ for (let s of t) if (s.startsWith("${")) {
295
+ s = s.substring(2, s.length - 1);
296
+ const u = s.split(".");
297
+ u[0] !== "page" && u[0] !== "task" && u[0] !== "data" || (o.push(u), a.includes(u[0]) || a.push(u[0]));
298
+ }
299
+ let i = getMonitorFieldValues(o, e.entity), r = !1;
300
+ for (const s of a) watch(e.entity[s], () => {
301
+ r && clearTimeout(r), r = setTimeout(function() {
302
+ const u = getMonitorFieldValues(o, e.entity);
303
+ i != u && (i = u, n());
304
+ }, 200);
305
+ });
306
+ }
307
+ function getMonitorFieldValues(e, t) {
308
+ let n = "";
309
+ for (const o of e) n += "_" + getVariableValue(t, o);
310
+ return n;
311
+ }
312
+ function getFormPropName(e) {
313
+ return e && e.indexOf("${") >= 0 ? e.substring(e.indexOf(".") + 1, e.lastIndexOf("}")) : e;
314
+ }
315
+ function getSizeConfig(e, t) {
316
+ const n = getPageModeType(e);
317
+ let o;
318
+ return t.props && t.props.size && t.props.size[n] && (o = t.props.size[n]), !o && t.props && t.props.size && (o = t.props.size.pc), o;
319
+ }
320
+ function getPageModeType(e) {
321
+ let t = e.dimensions;
322
+ return t || (t = "pc"), t;
323
+ }
324
+ function isPromise(e) {
325
+ return e && Object.prototype.toString.call(e) === "[object Promise]";
326
+ }
327
+ function decomposeVariable(e) {
328
+ if (!e) return [];
329
+ const t = e.match(/\${(.*?)}/);
330
+ return t ? t[1].split(".") : [];
331
+ }
332
+ function getModelFieldFromPageContext(e, t) {
333
+ if (!t.modelFieldsMap) return;
334
+ let n = null;
335
+ for (let o = 0; o < e.length; o++) {
336
+ const a = e[o];
337
+ o + 1 === e.length && (n = t.modelFieldsMap[a]);
338
+ }
339
+ return n;
340
+ }
341
+ function isNumberDataType(e) {
342
+ return e === "INTEGER" || e === "LONG" || e === "DOUBLE" || e === "FLOAT_COM";
343
+ }
344
+ function isDateDataType(e) {
345
+ return (e = e ? e.toUpperCase() : "") === "DATE" || e === "TIME" || e === "DATETIME" || e === "TIMESTAMP";
346
+ }
347
+ export {
348
+ autoSetAfterSelect,
349
+ caculateShowCondition,
350
+ decomposeVariable,
351
+ formatValueByType,
352
+ formatVariableValue,
353
+ getChartDatasFromPage,
354
+ getComponentOptionConfigs,
355
+ getComponentOptionConfigsBase,
356
+ getComponentOptionDatasFromPage,
357
+ getFormPropName,
358
+ getModelFieldFromPageContext,
359
+ getOptionDatasFromPage,
360
+ getOptionDatasSourceMap,
361
+ getParamNames,
362
+ getSizeConfig,
363
+ getValueFromSource,
364
+ getValueFromVariable,
365
+ getVariableValue,
366
+ isDateDataType,
367
+ isNumberDataType,
368
+ isPromise,
369
+ monitorFieldChange,
370
+ queryOptionDatasources,
371
+ setValueForVariableName,
372
+ setVariableValue,
373
+ setVariableValueWithProp,
374
+ updateChartDatasources,
375
+ updateChartDatasourcesByComponent,
376
+ updateOptionDatasources
377
+ };
@@ -0,0 +1,260 @@
1
+ import { http as y, isMobileBrowser as I, getSessionCache as R } from "agilebuilder-ui";
2
+ import { getAdditionalParamMap as T } from "./events/standard-event.mjs";
3
+ import { PageDimensions as b } from "./interfaces/page-design-types.mjs";
4
+ import { formatVariableValue as F, getFormPropName as O, getVariableValue as x, setVariableValue as E } from "./page-helper-util.mjs";
5
+ import { functions as f } from "./api/page-expose-util.mjs";
6
+ import { deepCopy as S, isWorkflowPage as W } from "./common-util.mjs";
7
+ import { packageCustomValidator as j } from "./events/validator-util.mjs";
8
+ function Z(e) {
9
+ return new Promise((t, o) => {
10
+ (function(s) {
11
+ return y.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + s);
12
+ })(e).then((s) => {
13
+ s ? v().then((n) => {
14
+ n && (s.systemParam = m(n)), A(s.listViewTableName, s.listViewTablePublishVersion).then((i) => {
15
+ i ? (s.contextParam = m(i.contextParam), s.branchFieldAuth = i.branchFieldAuth, s.isWorkflowEntity = i.isWorkflowEntity, s.dataTypeMaps = i.dataTypeMaps, t(s)) : t(null);
16
+ });
17
+ }).catch(() => {
18
+ t(s);
19
+ }) : t(null);
20
+ });
21
+ });
22
+ }
23
+ function K(e, t) {
24
+ return new Promise((o, s) => {
25
+ e ? v().then((n) => {
26
+ n && (e.systemParam = m(n)), e.tableRuntimes && Object.keys(e.tableRuntimes).length > 0 ? N(e, t, e.systemVersion).then((i) => {
27
+ e.contextParam = m(i.contextParam), e.branchFieldAuth = i.branchFieldAuth, e.isWorkflowEntity = i.isWorkflowEntity, e.dataTypeMaps = i.dataTypeMaps, e.superGridItems = i.superGrids, o(e);
28
+ }).catch((i) => {
29
+ s(i);
30
+ }) : A("", "").then((i) => {
31
+ i ? (e.contextParam = m(i.contextParam), e.branchFieldAuth = i.branchFieldAuth, e.isWorkflowEntity = i.isWorkflowEntity, e.dataTypeMaps = i.dataTypeMaps, o(e)) : o(null);
32
+ }).catch((i) => {
33
+ s(i);
34
+ });
35
+ }) : o(null);
36
+ });
37
+ }
38
+ function A(e, t) {
39
+ let o = "";
40
+ return e && t && (o = "?listViewTableName=" + e + "&listViewTablePublishVersion=" + t), y.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + o);
41
+ }
42
+ function v() {
43
+ return y.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
44
+ }
45
+ function Q(e) {
46
+ var o, s, n;
47
+ if (e == null) return null;
48
+ const t = { uuid: e.uuid, name: e.name, label: e.label, code: e.code, version: e.version, dimensions: e.dimensions, systemCode: e.systemCode, systemVersion: e.systemVersion, backendUrl: e.backendUrl, rules: {}, tableUuids: e.tableUuids, listCodesMap: e.listCodesMap, listCodesInitSearchForm: e.listCodesInitSearchForm, formNoRuleCode: e.props ? e.props.formNoRuleCode : null, judgeHeavyList: q(e), pageType: e.pageType, beanName: e.props ? e.props.beanName : null, importBeanName: e.props ? e.props.importBeanName : null, subTablePageInfo: e.subTablePageInfo, workflowCode: e.workflowCode, workflowVersion: e.workflowVersion, refercePropMap: (o = e.runtime) == null ? void 0 : o.refercePropMap, subTableWatchProps: e.subTableWatchProps, dataTypeMaps: e.dataTypeMaps, allChartUuids: e.allChartUuids, branchFieldAuth: e.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e.contextParam, system: e.systemParam }, propTitleMap: {} };
49
+ if (e.props && e.props.notIdInitializationList) {
50
+ let i = e.props.notIdInitializationList;
51
+ typeof i == "string" && (i = JSON.parse(i)), i.length > 0 && (t.notIdInitializationList = i);
52
+ }
53
+ if (e.variables) {
54
+ const i = t.entity.page;
55
+ for (const r of e.variables) r.name && (r.isArrayElement ? i[r.name] = [] : r.defaultValue ? i[r.name] = r.defaultValue : i[r.name] = void 0);
56
+ }
57
+ return function(i) {
58
+ if (I()) {
59
+ i.entity.page._isMobile = "true";
60
+ const r = navigator ? navigator.userAgent : null;
61
+ r ? r.indexOf("Html5Plus") > 0 ? (i.entity.page._isMobileApp = "true", i.entity.page._isMobileBrowser = "false") : (i.entity.page._isMobileApp = "false", i.entity.page._isMobileBrowser = "true") : (i.entity.page._isMobileApp = "false", i.entity.page._isMobileBrowser = "false");
62
+ } else i.entity.page._isMobile = "false";
63
+ }(t), Object.assign(t, e), t.isWorkflowEntity = ((s = e.props) == null ? void 0 : s.activeWorkflow) !== void 0 ? (n = e.props) == null ? void 0 : n.activeWorkflow : e.isWorkflowEntity, t.dimensions = function() {
64
+ const i = window.outerWidth;
65
+ return i ? i > 768 ? b.PC : i > 414 ? b.IPAD : b.PHONE : b.PC;
66
+ }(), t.events = e.runtime && e.runtime.events ? e.runtime.events : [], t;
67
+ }
68
+ function m(e) {
69
+ try {
70
+ const t = function(o) {
71
+ if (!o) return o;
72
+ try {
73
+ const s = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"), n = window.CryptoJS.enc.Latin1.parse("1234567812345678");
74
+ return window.CryptoJS.AES.decrypt(o, s, { iv: n, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
75
+ } catch {
76
+ return o;
77
+ }
78
+ }(e);
79
+ return t ? JSON.parse(t) : {};
80
+ } catch {
81
+ return e;
82
+ }
83
+ }
84
+ function q(e) {
85
+ try {
86
+ return e.props && e.props.judgeHeavyList.length > 0 ? (e.props.judgeHeavyList.forEach((t) => {
87
+ t.duplicateFieldList && t.duplicateFieldList.length > 0 && (t.duplicateFieldList = t.duplicateFieldList.map((o) => typeof o == "string" ? { propDbName: o } : o));
88
+ }), e.props.judgeHeavyList) : null;
89
+ } catch (t) {
90
+ console.error("getJudgeHeavyList error:", t);
91
+ }
92
+ }
93
+ function X(e) {
94
+ let t = decodeURI(window.location.href);
95
+ try {
96
+ window.top && !Array.isArray(window.top) && (t = decodeURI(window.top.location.href));
97
+ } catch {
98
+ }
99
+ if (t && t.includes("?")) {
100
+ t = t.substring(t.lastIndexOf("?") + 1);
101
+ const o = t.split("&");
102
+ for (const s of o) {
103
+ const n = s.split("=");
104
+ let i = n[0];
105
+ if (i) {
106
+ const r = n.length > 1 ? n[1] : "";
107
+ i.indexOf("ai__") >= 0 && (i = i.substring(i.indexOf("ai__") + 4)), e[i] = r;
108
+ }
109
+ }
110
+ }
111
+ }
112
+ function Y(e, t) {
113
+ e && (Object.assign(t, e), V(e.paramStoreId, t), delete e.paramStoreId, e.jumpMode && (t.jumpMode = e.jumpMode));
114
+ }
115
+ function ee(e, t) {
116
+ e && (e.params && Object.assign(t, e.params), e.query, e.query) && (Object.assign(t, e.query), V(e.query.paramStoreId, t));
117
+ }
118
+ function V(e, t) {
119
+ if (e) {
120
+ const o = R(e);
121
+ if (o) {
122
+ const s = JSON.parse(o);
123
+ Object.assign(t, s);
124
+ }
125
+ }
126
+ }
127
+ function _(e, t) {
128
+ let o, s = t;
129
+ t || (o = e.props.base ? e.props.base : {}, s = o.prop);
130
+ let n = null;
131
+ return t && !t.startsWith("${") ? n = ["data", t] : !e || s && s.startsWith("${") ? s.startsWith("${") ? (s = s.substring(2, s.length - 1), n = s.split("."), e && n.length < 2 && (n = [e.uuid])) : e && (n = ["page", e.uuid]) : n = ["page", e.uuid], n || e ? n : ["temp"];
132
+ }
133
+ function te(e, t, o) {
134
+ var i, r;
135
+ const s = _(t, o), n = e.entity;
136
+ if (n.data.ID == null && n.data.id == null) {
137
+ let u, a, l = !1;
138
+ if (t && (u = t.props.base ? t.props.base : {}, a = t.name, l = u.multiple), x(n, s) == null) {
139
+ const d = u ? u.defaultValue : null, c = !!((i = t == null ? void 0 : t.runtime) != null && i.arrayValue);
140
+ if (d) try {
141
+ const g = k(e, d, a, l);
142
+ if (C(g)) M(n, s, g, c);
143
+ else if (((r = u.moreDefaultValue) == null ? void 0 : r.length) > 0) {
144
+ const w = u.moreDefaultValue;
145
+ for (let h = 0; h < w.length; h++) {
146
+ const P = k(e, w[h], a, l);
147
+ if (C(P)) {
148
+ M(n, s, P, c);
149
+ break;
150
+ }
151
+ }
152
+ }
153
+ } catch (g) {
154
+ console.error("设置默认值出错:", s, g);
155
+ }
156
+ }
157
+ }
158
+ return s;
159
+ }
160
+ function C(e) {
161
+ return e != null && e !== "";
162
+ }
163
+ function M(e, t, o, s) {
164
+ !Array.isArray(o) || s ? E(e, t, o) : E(e, t, o.join(","));
165
+ }
166
+ function k(e, t, o, s) {
167
+ let n;
168
+ if (t && (n = F(e, t), n != null && n != null && o)) {
169
+ let i = !1;
170
+ o == "checkbox" ? i = !0 : o == "select" && (i = s), i && (n = (n + "").split(","));
171
+ }
172
+ return n;
173
+ }
174
+ function ie(e, t) {
175
+ var s, n;
176
+ if (((n = (s = e.props) == null ? void 0 : s.base) == null ? void 0 : n.isPermission) === !1) return "true";
177
+ const o = [];
178
+ if (e.autoPermissions) for (const i of e.autoPermissions) o.push(t.code + "." + i.simpleCode);
179
+ if (e.functionCodes) {
180
+ const i = e.sourceTypes ? e.sourceTypes : [], r = e.functionCodes;
181
+ for (let u = 0; u < r.length; u++) {
182
+ const a = r[u], l = u < i.length ? i[u] : "";
183
+ let p = "";
184
+ l == "service" ? p = a : l === "standard" ? p = t.code + "." + a : p = L(a, t).type === "custom" ? a : t.code + "." + a, o.includes(p) || o.push(p);
185
+ }
186
+ }
187
+ return o.join(",");
188
+ }
189
+ function L(e, t) {
190
+ const o = t.pagePermissions;
191
+ if (o && o.length > 0) {
192
+ for (let s = 0; s < o.length; s++) if (o[s].simpleCode === e) return o[s];
193
+ }
194
+ return null;
195
+ }
196
+ function N(e, t, o) {
197
+ const s = e.tableRuntimes, n = T(t);
198
+ let i;
199
+ const r = e.code;
200
+ return n && Object.keys(n) > 0 && (i = JSON.stringify(n)), y.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: s, additionalParamMapJson: i, pageCode: r, publishVersion: o, pageType: e.pageType });
201
+ }
202
+ const J = ["button-detail", "print-label"];
203
+ function se(e, t, o) {
204
+ var r, u;
205
+ const s = t.props && t.props.base ? t.props.base.prop : null, n = W(e);
206
+ let i = !1;
207
+ if (n && J.indexOf(t.name) < 0 && e.fieldPermissionMap) {
208
+ const a = e.fieldPermissionMap.get("all_fields");
209
+ (a == null ? void 0 : a.canEdit) === !1 && ((r = t.runtime) != null && r.props) && (t.runtime.props.state = "disabled", i = !0);
210
+ }
211
+ if (s) {
212
+ const a = O(s);
213
+ if (e.rules || (e.rules = {}), t.props.rules && t.props.rules.length > 0 && (e.rules[a] || (e.rules[a] = []), t.props.rules.forEach((l) => {
214
+ j(l), !o && l && l.required && (l.required = !1);
215
+ }), e.rules[a] = t.props.rules), n && !i && t.name !== "button-detail" && e.fieldPermissionMap) {
216
+ const l = e.fieldPermissionMap.get(a);
217
+ if (!o && e.workflowRules && (e.workflowRules[a] || e.workflowRules.rules && e.workflowRules.rules[a])) {
218
+ let p = e.workflowRules[a];
219
+ if (!p && e.workflowRules.rules && (p = e.workflowRules.rules[a]), p && Array.isArray(p) && p.length > 0) for (let d = 0; d < p.length; d++) {
220
+ const c = p[d];
221
+ if (c && c.required) {
222
+ c.required = !1;
223
+ break;
224
+ }
225
+ }
226
+ else p && p.required && (p.required = !1);
227
+ }
228
+ t.runtime.props || (t.runtime.props = {}), l ? (!o && l.canEdit && (l.canEdit = !1), l.canEdit === !1 ? t.runtime.props.state = "disabled" : l.canEdit && (t.runtime.props.state = "", t.runtime.props.required = !0)) : t.runtime.props.state = "";
229
+ }
230
+ (u = t.props) != null && u.customRuleEvents && (e.customRuleEvents || (e.customRuleEvents = []), e.customRuleEvents.push({ prop: a, events: t.props.customRuleEvents }));
231
+ }
232
+ }
233
+ function oe(e, t) {
234
+ e.initInfo && ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((o) => {
235
+ const s = e.initInfo[o];
236
+ if (s) if (o === "dynamicControlFormEdit") {
237
+ let n = s.filter((i) => i.name === "_all_fields" || i.name === t);
238
+ if (n && n.length > 0 && (n = n.filter((i) => i.name === "_all_fields"), n && n.length > 0)) {
239
+ const i = S(n[0]);
240
+ i.name = t, n = [i];
241
+ }
242
+ f.dynamicControlFormEdit(e, n, !1);
243
+ } else o === "disableElement" ? s.indexOf(t) >= 0 && f.disableElement(e, [t], !1) : o === "enableElement" ? s.indexOf(t) >= 0 && f.enableElement(e, [t], !1) : o === "hideElement" ? s.indexOf(t) >= 0 && f.hideElement(e, [t], !1) : o === "showElement" && s.indexOf(t) >= 0 && f.showElement(e, [t], !1);
244
+ });
245
+ }
246
+ export {
247
+ oe as controlObjectRenderState,
248
+ Q as convertToPageContext,
249
+ k as getDefaultValue,
250
+ te as getFormModelFields,
251
+ _ as getModelFields,
252
+ ie as getPermissionCodes,
253
+ X as packageAdditionalMapWithLocationSearch,
254
+ Y as packageAdditionalMapWithPageRequest,
255
+ ee as packageAdditionalMapWithRoute,
256
+ se as packageFormRules,
257
+ Z as queryPageDesignByCode,
258
+ K as queryPageDesignWhenPreview,
259
+ N as queryPageSuperGrids
260
+ };