super-page-runtime 2.3.48-cdnTmp2 → 2.3.48-tmp1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  3. package/dist/es/components/runtime/utils/anchor-util.js +84 -0
  4. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
  5. package/dist/es/components/runtime/utils/api/api-util.js +7 -0
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
  7. package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
  8. package/dist/es/components/runtime/utils/barcode-util.js +12 -0
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +168 -0
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +38 -0
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +82 -0
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +56 -0
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +47 -0
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +288 -0
  15. package/dist/es/components/runtime/utils/common-util.js +120 -0
  16. package/dist/es/components/runtime/utils/eventBus.js +8 -0
  17. package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
  18. package/dist/es/components/runtime/utils/events/event-util.js +447 -0
  19. package/dist/es/components/runtime/utils/events/print-label.js +100 -0
  20. package/dist/es/components/runtime/utils/events/standard-event.js +1226 -0
  21. package/dist/es/components/runtime/utils/events/validator-util.js +485 -0
  22. package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
  23. package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
  24. package/dist/es/components/runtime/utils/global-refs.js +57 -0
  25. package/dist/es/components/runtime/utils/i18n-util.js +18 -0
  26. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
  27. package/dist/es/components/runtime/utils/page-helper-util.js +391 -0
  28. package/dist/es/components/runtime/utils/page-init-util.js +297 -0
  29. package/dist/es/components/runtime/utils/{page-permission-util.mjs → page-permission-util.js} +21 -20
  30. package/dist/es/components/runtime/utils/page-store.js +53 -0
  31. package/dist/es/components/runtime/utils/store-util.js +13 -0
  32. package/dist/es/components/runtime/utils/table-utils.js +89 -0
  33. package/dist/es/components/runtime/utils/tree-utils.js +73 -0
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.js +21 -0
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.js +41 -0
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +6 -0
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +21 -0
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.js +53 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.js +4 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.js +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.js +4 -0
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.js +64 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +94 -0
  55. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.js +35 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.js +46 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.js +35 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.js +35 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +430 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.js +4 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.js +4 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +46 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +4 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +17 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.js +268 -0
  75. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +20 -0
  76. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
  78. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.js +4 -0
  79. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  80. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +4 -0
  81. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  82. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +4 -0
  83. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +17 -0
  84. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +4 -0
  85. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +4 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +4 -0
  89. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
  90. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.js +4 -0
  91. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
  92. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.js +4 -0
  93. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
  94. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.js +35 -0
  95. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.js +21 -0
  97. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +7 -0
  98. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
  99. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
  100. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +29 -0
  101. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.js +81 -0
  103. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  104. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.js +25 -0
  105. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  106. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.js +25 -0
  107. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  108. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.js +46 -0
  109. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
  110. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  111. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.js +47 -0
  113. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  114. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.js +69 -0
  115. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +383 -0
  116. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +339 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.js +4 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.js +90 -0
  121. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
  122. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  123. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
  124. package/dist/es/components/runtime/views/assemblys/error-render2.vue.js +4 -0
  125. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  126. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.js +66 -0
  127. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
  128. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.js +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
  130. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.js +69 -0
  131. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  133. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  134. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.js +55 -0
  135. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  136. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.js +24 -0
  137. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  138. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.js +115 -0
  139. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
  140. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +91 -0
  141. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  142. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.js +28 -0
  143. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +81 -0
  145. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +7 -0
  146. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +38 -0
  147. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  148. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.js +43 -0
  149. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
  150. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.js +16 -0
  151. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.js +84 -0
  153. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +8 -0
  154. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  155. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +7 -0
  156. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +156 -0
  157. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.js +16 -0
  159. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.js +36 -0
  161. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.js +44 -0
  163. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +7 -0
  164. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
  165. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
  166. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +4 -0
  167. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +166 -0
  168. package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +4 -0
  169. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +9 -0
  170. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +4 -0
  171. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +7 -0
  172. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  173. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +7 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  175. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js +20 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js +23 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.js +32 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.js +27 -0
  185. package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
  186. package/dist/es/components/runtime/views/home-chart2.vue.js +4 -0
  187. package/dist/es/components/runtime/views/super-page-dialog.vue.js +30 -0
  188. package/dist/es/components/runtime/views/super-page-dialog3.vue.js +5 -0
  189. package/dist/es/components/runtime/views/super-page.vue.js +7 -0
  190. package/dist/es/components/runtime/views/super-page2.vue.js +311 -0
  191. package/dist/es/index.js +32 -0
  192. package/dist/es/style.css +1052 -1
  193. package/package.json +11 -13
  194. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -8
  195. package/dist/es/components/runtime/utils/ai-chat-util.mjs +0 -16
  196. package/dist/es/components/runtime/utils/anchor-util.mjs +0 -83
  197. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -12
  198. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +0 -196
  199. package/dist/es/components/runtime/utils/assemblys-config.mjs +0 -19
  200. package/dist/es/components/runtime/utils/barcode-util.mjs +0 -12
  201. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +0 -169
  202. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +0 -38
  203. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +0 -83
  204. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +0 -56
  205. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +0 -47
  206. package/dist/es/components/runtime/utils/charts/chart-util.mjs +0 -285
  207. package/dist/es/components/runtime/utils/common-util.mjs +0 -116
  208. package/dist/es/components/runtime/utils/eventBus.mjs +0 -8
  209. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +0 -38
  210. package/dist/es/components/runtime/utils/events/event-util.mjs +0 -429
  211. package/dist/es/components/runtime/utils/events/print-label.mjs +0 -100
  212. package/dist/es/components/runtime/utils/events/standard-event.mjs +0 -1170
  213. package/dist/es/components/runtime/utils/events/validator-util.mjs +0 -462
  214. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +0 -36
  215. package/dist/es/components/runtime/utils/form/scan-util.mjs +0 -88
  216. package/dist/es/components/runtime/utils/global-refs.mjs +0 -57
  217. package/dist/es/components/runtime/utils/i18n-util.mjs +0 -14
  218. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +0 -4
  219. package/dist/es/components/runtime/utils/page-helper-util.mjs +0 -381
  220. package/dist/es/components/runtime/utils/page-init-util.mjs +0 -281
  221. package/dist/es/components/runtime/utils/page-store.mjs +0 -53
  222. package/dist/es/components/runtime/utils/store-util.mjs +0 -13
  223. package/dist/es/components/runtime/utils/table-utils.mjs +0 -84
  224. package/dist/es/components/runtime/utils/tree-utils.mjs +0 -68
  225. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +0 -4
  226. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +0 -29
  227. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +0 -7
  228. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +0 -21
  229. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +0 -4
  230. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +0 -41
  231. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +0 -4
  232. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +0 -6
  233. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +0 -4
  234. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +0 -21
  235. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +0 -7
  236. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +0 -53
  237. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +0 -14
  238. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +0 -4
  239. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +0 -13
  240. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +0 -4
  241. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +0 -59
  242. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +0 -4
  243. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +0 -7
  244. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +0 -59
  245. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +0 -93
  246. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +0 -4
  247. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +0 -7
  248. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +0 -35
  249. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +0 -7
  250. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +0 -46
  251. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +0 -7
  252. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +0 -35
  253. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +0 -7
  254. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +0 -35
  255. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +0 -425
  256. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +0 -6
  257. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +0 -4
  258. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +0 -10
  259. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +0 -4
  260. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +0 -42
  261. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +0 -4
  262. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +0 -17
  263. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +0 -4
  264. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +0 -4
  265. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +0 -261
  266. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +0 -20
  267. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +0 -4
  268. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +0 -35
  269. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +0 -4
  270. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +0 -34
  271. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +0 -4
  272. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +0 -27
  273. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +0 -4
  274. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +0 -17
  275. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +0 -4
  276. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +0 -22
  277. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +0 -4
  278. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +0 -18
  279. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +0 -4
  280. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +0 -35
  281. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +0 -4
  282. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +0 -19
  283. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +0 -4
  284. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +0 -7
  285. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +0 -35
  286. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +0 -4
  287. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +0 -21
  288. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +0 -7
  289. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +0 -27
  290. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +0 -7
  291. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +0 -29
  292. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +0 -7
  293. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +0 -81
  294. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +0 -4
  295. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +0 -25
  296. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +0 -4
  297. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +0 -25
  298. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +0 -4
  299. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +0 -43
  300. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +0 -7
  301. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +0 -96
  302. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +0 -7
  303. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +0 -47
  304. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +0 -4
  305. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +0 -69
  306. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +0 -362
  307. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +0 -4
  308. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +0 -329
  309. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +0 -4
  310. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +0 -4
  311. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +0 -90
  312. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +0 -7
  313. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +0 -133
  314. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +0 -5
  315. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +0 -4
  316. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +0 -4
  317. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +0 -65
  318. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +0 -36
  319. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +0 -4
  320. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +0 -4
  321. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +0 -69
  322. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +0 -4
  323. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +0 -102
  324. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +0 -4
  325. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +0 -55
  326. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +0 -4
  327. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +0 -24
  328. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +0 -4
  329. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +0 -111
  330. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +0 -4
  331. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +0 -88
  332. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +0 -4
  333. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +0 -28
  334. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +0 -4
  335. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +0 -79
  336. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +0 -7
  337. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +0 -37
  338. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +0 -4
  339. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +0 -42
  340. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +0 -7
  341. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +0 -16
  342. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +0 -4
  343. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +0 -84
  344. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +0 -8
  345. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +0 -215
  346. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +0 -7
  347. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +0 -150
  348. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +0 -4
  349. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +0 -16
  350. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +0 -4
  351. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +0 -36
  352. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +0 -4
  353. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +0 -43
  354. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +0 -7
  355. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +0 -28
  356. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +0 -83
  357. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +0 -4
  358. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +0 -163
  359. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +0 -4
  360. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +0 -9
  361. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +0 -4
  362. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +0 -7
  363. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +0 -56
  364. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +0 -7
  365. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +0 -29
  366. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +0 -7
  367. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +0 -45
  368. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +0 -4
  369. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +0 -20
  370. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +0 -4
  371. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +0 -23
  372. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +0 -7
  373. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +0 -30
  374. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +0 -4
  375. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +0 -27
  376. package/dist/es/components/runtime/views/home-chart.vue.mjs +0 -46
  377. package/dist/es/components/runtime/views/home-chart2.vue.mjs +0 -4
  378. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +0 -30
  379. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +0 -5
  380. package/dist/es/components/runtime/views/super-page.vue.mjs +0 -7
  381. package/dist/es/components/runtime/views/super-page2.vue.mjs +0 -307
  382. package/dist/es/index.mjs +0 -32
  383. /package/dist/es/assets/chart-themes/{bar-theme.mjs → bar-theme.js} +0 -0
  384. /package/dist/es/assets/chart-themes/{gauge-theme.mjs → gauge-theme.js} +0 -0
  385. /package/dist/es/assets/chart-themes/{pie-theme.mjs → pie-theme.js} +0 -0
  386. /package/dist/es/assets/chart-themes/{radar-theme.mjs → radar-theme.js} +0 -0
  387. /package/dist/es/assets/chart-themes/{scatter-theme.mjs → scatter-theme.js} +0 -0
  388. /package/dist/es/assets/{file.png.mjs → file.png.js} +0 -0
  389. /package/dist/es/assets/{folder.png.mjs → folder.png.js} +0 -0
  390. /package/dist/es/components/runtime/utils/{store.mjs → store.js} +0 -0
  391. /package/dist/es/i18n/langs/{cn.mjs → cn.js} +0 -0
  392. /package/dist/es/i18n/langs/{en.mjs → en.js} +0 -0
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.48-cdnTmp2",
3
+ "version": "2.3.48-tmp1",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
- "main": "dist/lib/index.cjs",
7
- "module": "dist/es/index.mjs",
6
+ "main": "dist/es/index.js",
8
7
  "files": [
9
8
  "dist/*"
10
9
  ],
11
- "typings": "dist/es/index.d.ts",
10
+ "typings": "dist/lib/index.d.ts",
12
11
  "scripts": {
13
12
  "dev": "vite",
14
13
  "build": "run-p type-check \"build-only {@}\" --",
@@ -50,28 +49,27 @@
50
49
  "@vitejs/plugin-vue-jsx": "^3.1.0",
51
50
  "@vue/eslint-config-prettier": "^8.0.0",
52
51
  "@vue/test-utils": "^2.4.4",
53
- "agilebuilder-ui": "1.2.2-cdnTmp1",
54
- "axios": "1.11.0",
52
+ "agilebuilder-ui": "1.2.2",
53
+ "axios": "^1.6.8",
55
54
  "cypress": "^13.6.6",
56
- "element-plus": "2.14.1",
55
+ "element-plus": "^2.6.1",
57
56
  "eslint": "^8.49.0",
58
57
  "eslint-plugin-cypress": "^2.15.1",
59
58
  "eslint-plugin-vue": "^9.17.0",
60
59
  "js-cookie": "^3.0.5",
61
60
  "jsdom": "^24.0.0",
62
61
  "mitt": "^3.0.1",
63
- "pinia": "2.3.1",
62
+ "pinia": "^2.1.7",
64
63
  "rollup-plugin-terser": "^7.0.2",
65
64
  "saas": "^1.0.0",
66
65
  "sass": "^1.72.0",
67
66
  "start-server-and-test": "^2.0.3",
68
- "terser": "^5.46.1",
69
67
  "vite": "^5.1.6",
70
68
  "vite-plugin-dts": "^3.9.1",
71
69
  "vitest": "^1.3.1",
72
- "vue": "3.5.27",
73
- "vue-i18n": "9.14.5",
74
- "vue-router": "4.5.1",
75
- "vuex": "4.1.0"
70
+ "vue": "^3.4.21",
71
+ "vue-i18n": "^9.10.2",
72
+ "vue-router": "^4.3.0",
73
+ "vuex": "^4.1.0"
76
74
  }
77
75
  }
@@ -1,8 +0,0 @@
1
- const r = (t, o) => {
2
- const c = t.__vccOpts || t;
3
- for (const [s, n] of o) c[s] = n;
4
- return c;
5
- };
6
- export {
7
- r as default
8
- };
@@ -1,16 +0,0 @@
1
- import { setActiveMenuToChatAiStore as n, setPageInfoToChatStore as s } from "agilebuilder-ui";
2
- import { functions as i } from "./api/page-expose-util.mjs";
3
- function m(o) {
4
- const e = i.getFormViewData(o), a = o.propTitleMap, r = {};
5
- for (const t in e) Array.isArray(e[t]) || a && a[t] && (r[a[t]] = e[t]);
6
- return r;
7
- }
8
- function p(o, e) {
9
- o && (n({ menuCode: e.menuCode, menuName: e.label }), s(e, { instance: o, exposeProxy: o.exposeProxy, pageType: e.pageType }));
10
- }
11
- const f = { getFormFormatDataUtil: m, setPageToChatStore: p };
12
- export {
13
- f as default,
14
- m as getFormFormatDataUtil,
15
- p as setPageToChatStore
16
- };
@@ -1,83 +0,0 @@
1
- import { caculateShowCondition as p } from "./page-helper-util.mjs";
2
- import { getComponentRefByCode as h, getComponentRef as d } from "./global-refs.mjs";
3
- import { nextTick as m } from "vue";
4
- function T(e, c) {
5
- const o = d(e, c);
6
- o && m(() => {
7
- u(o);
8
- });
9
- }
10
- function H(e, c) {
11
- const o = h(e, c);
12
- o && m(() => {
13
- u(o);
14
- });
15
- }
16
- function M(e, c) {
17
- if (e && e.length !== 0) for (let o = 0; o < e.length; o++) {
18
- const { uuid: r, conditions: n } = e[o];
19
- if (p(c, n)) {
20
- g(() => {
21
- const t = d(c, r);
22
- t && u(t);
23
- });
24
- break;
25
- }
26
- }
27
- }
28
- function g(e, c = {}) {
29
- const { checkInterval: o = 50, stableCount: r = 10, maxWaitTime: n = 3e3 } = c;
30
- let t = -1, l = 0, i = 0;
31
- const s = () => {
32
- const a = document.documentElement.scrollHeight || document.body.scrollHeight;
33
- if (a === t) {
34
- if (l++, l >= r) return void m(() => {
35
- e();
36
- });
37
- } else t = a, l = 0;
38
- i += o, i >= n ? m(() => {
39
- e();
40
- }) : setTimeout(s, o);
41
- };
42
- m(() => {
43
- s();
44
- });
45
- }
46
- function u(e) {
47
- const c = function(n) {
48
- let t = null;
49
- return n && n.$el ? t = n.$el : n instanceof HTMLElement && (t = n), t && t.nodeType !== Node.ELEMENT_NODE && (t = t.nextElementSibling || t.parentElement), t instanceof HTMLElement ? t : null;
50
- }(e);
51
- if (!c) return;
52
- const o = c.getBoundingClientRect(), r = function(n) {
53
- const t = [];
54
- let l = n.parentElement;
55
- for (; l; ) {
56
- const i = window.getComputedStyle(l).overflowY;
57
- (i === "auto" || i === "scroll") && l.scrollHeight > l.clientHeight && t.push(l), l = l.parentElement;
58
- }
59
- return document.documentElement.scrollHeight > document.documentElement.clientHeight && t.push(document.documentElement), t;
60
- }(c);
61
- for (const n of r) if (n === document.documentElement || n === document.body) {
62
- const t = window.pageYOffset || document.documentElement.scrollTop;
63
- f(n, Math.max(0, o.top + t - 100));
64
- } else {
65
- const t = n.getBoundingClientRect(), l = o.top - t.top + n.scrollTop;
66
- f(n, Math.max(0, l - 100));
67
- }
68
- }
69
- function f(e, c) {
70
- if ("scrollBehavior" in document.documentElement.style) return void e.scrollTo({ top: c, behavior: "smooth" });
71
- const o = e.scrollTop, r = c - o;
72
- if (Math.abs(r) < 1) return;
73
- const n = performance.now ? performance.now() : Date.now();
74
- requestAnimationFrame(function t() {
75
- const l = (performance.now ? performance.now() : Date.now()) - n, i = Math.min(l / 300, 1), s = i < 0.5 ? 4 * i * i * i : 1 - Math.pow(-2 * i + 2, 3) / 2;
76
- e.scrollTop = o + r * s, i < 1 && requestAnimationFrame(t);
77
- });
78
- }
79
- export {
80
- H as scrollIntoComponentWithCode,
81
- T as scrollIntoComponentWithUuid,
82
- M as scrollIntoViewWithContainer
83
- };
@@ -1,12 +0,0 @@
1
- import { ElMessage as o, ElMessageBox as n, ElLoading as a } from "element-plus";
2
- import { functions as i } from "./page-expose-util.mjs";
3
- import { standardEvents as t } from "../events/standard-event.mjs";
4
- function g() {
5
- i.standardEvents = t, window.$PageUtil = i, window.$message = o, window.$messageBox = n, Object.defineProperty(window, "$elLoading", { get() {
6
- const e = a.service;
7
- return Object.defineProperty(window, "$elLoading", { value: e, writable: !1, configurable: !0 }), e;
8
- }, configurable: !0 });
9
- }
10
- export {
11
- g as initPageApiUtil
12
- };
@@ -1,196 +0,0 @@
1
- import { getOptionDatasSourceMap as j, getComponentOptionDatasFromPage as H, getVariableValue as T, setVariableValue as S, setValueForVariableName as A } from "../page-helper-util.mjs";
2
- import { getComponentRef as $, getComponentRefByCode as g } from "../global-refs.mjs";
3
- import D from "../eventBus.mjs";
4
- import { replacePrefix as W, isMobileBrowser as R, http as q } from "agilebuilder-ui";
5
- import { getFormData as G, getAdditionalParamMap as k, refreshPage as N } from "../events/standard-event.mjs";
6
- import { dynamicControlTableEdit as z, disabledAllFields as J, updateFormItemEditState as K } from "../events/validator-util.mjs";
7
- import { deepCopy as L, getBaseUrl as x } from "../common-util.mjs";
8
- import { getFormModelFields as O, getModelFields as Q } from "../page-init-util.mjs";
9
- import { getCustomFunc as X } from "../events/event-util.mjs";
10
- import { isHasFieldPermissionAuth as B } from "../table-utils.mjs";
11
- import { scrollIntoComponentWithCode as Y, scrollIntoComponentWithUuid as Z } from "../anchor-util.mjs";
12
- const fe = { showElement: function(e, o, t) {
13
- t ? E(e, "showElement", o) : o.forEach((a) => {
14
- const n = g(e, a);
15
- n ? n.show() : console.error(`未找到code为${a}的组件`);
16
- });
17
- }, hideElement: function(e, o, t) {
18
- t ? E(e, "hideElement", o) : o.forEach((a) => {
19
- const n = g(e, a);
20
- n ? n.hide() : console.error(`未找到code为${a}的组件`);
21
- });
22
- }, enableElement: function(e, o, t) {
23
- t ? E(e, "enableElement", o) : o.forEach((a) => {
24
- const n = g(e, a);
25
- if (n) {
26
- const i = n.getConfigure();
27
- i && i.runtime.props && (i.runtime.props.state = "enabled");
28
- } else console.error(`未找到code为${a}的组件`);
29
- });
30
- }, disableElement: function(e, o, t) {
31
- t ? E(e, "disableElement", o) : o.forEach((a) => {
32
- const n = g(e, a);
33
- if (n) {
34
- const i = n.getConfigure();
35
- i && i.runtime.props && (i.runtime.props.state = "disabled");
36
- } else console.error(`未找到code为${a}的组件`);
37
- });
38
- }, setEntityDataValue: function(e, o) {
39
- Object.keys(o).forEach((t) => {
40
- A(e.entity, t.startsWith("${") ? t : "${data." + t + "}", o[t]);
41
- });
42
- }, setEntityPageValue: function(e, o) {
43
- Object.keys(o).forEach((t) => {
44
- A(e.entity, t.startsWith("${") ? t : "${page." + t + "}", o[t]);
45
- });
46
- }, setEntityValueByType: function(e, o, t) {
47
- Object.keys(t).forEach((a) => {
48
- A(e.entity, a.startsWith("${") ? a : "${" + o + "." + a + "}", t[a]);
49
- });
50
- }, dynamicControlFormEdit: function(e, o, t) {
51
- t ? E(e, "dynamicControlFormEdit", o) : K(e, o);
52
- }, disabledAllFields(e) {
53
- J(e);
54
- }, dynamicControlTableEdit(e, o, t) {
55
- z(e, o, t);
56
- }, executeServiceFlow: function(e, o, t) {
57
- const a = e.code;
58
- t || (t = { entity: e.entity.data, serviceVariables: {}, requestParams: k(e), taskParamMap: e.entity.task, dynamicDimensionValue: [], dynamicSortValue: "" }), t.entity || (t.entity = e.entity.data), t.requestParams || (t.requestParams = k(e)), t.taskParamMap || (t.taskParamMap = e.entity.task);
59
- const n = e.backendUrl, i = x(n, e.isTest);
60
- return q.post(`${i}/dsc/service-flow/execute/${a}/${o}`, t);
61
- }, openPage: function(e, o) {
62
- D.$emit(e.code + "_open-dialog", { pageContext: e, eventParams: o.eventParams, configureObj: { props: { linkPage: o } } });
63
- }, refreshPage: function(e, o) {
64
- N(e, o);
65
- }, refreshSubTableHandle: function(e, o) {
66
- let t;
67
- const a = g(e, o);
68
- if (a) {
69
- const n = a.getConfigure();
70
- n && n.uuid && n.name && n.name === "table" && (t = n.uuid);
71
- }
72
- t ? D.$emit("_refreshSubTableHandle_" + t) : console.error("tableUUid is undefined");
73
- }, refreshChildData(e, o, t) {
74
- let a;
75
- const n = g(e, o);
76
- if (n) {
77
- const i = n.getConfigure();
78
- i && i.uuid && i.name && i.name === "table" && (a = i.uuid);
79
- }
80
- a ? D.$emit("_refreshChildData_" + a, t) : console.error("tableUUid is undefined");
81
- }, getServerConfigValue: (e) => window.$vueApp.config.globalProperties[e], getBackendUrl: (e) => x(e.backendUrl, !1), getPlateBackendUrl: () => window.$vueApp.config.globalProperties.baseAPI, getEntity: (e) => e.entity.data, getEntityValue: (e, o) => e.entity.data ? e.entity.data[o] : null, getPageData: (e) => e.entity.page, getPageDataValue: (e, o) => e.entity.page ? e.entity.page[o] : null, getTaskDataValue: (e, o) => e.entity.task ? e.entity.task[o] : null, getValueByType: (e, o, t) => e.entity[o] ? e.entity[o][t] : null, getAdditionalParams: (e) => k(e), getAdditionalParamValue(e, o) {
82
- const t = k(e);
83
- return t ? t[o] : null;
84
- }, isMobile: () => R(), getComponentRefByProp: (e, o) => g(e, o), getComponentRefByCode: (e, o) => $(e, o), getFormViewData(e) {
85
- var i, s, l, p, h, d, y, w, v, I;
86
- const o = e.entity ? e.entity : {}, t = L(o), a = j(e);
87
- for (const f in a) {
88
- const b = H(e, f), m = $(e, f);
89
- if (m) {
90
- const r = m.getConfigure();
91
- if (r) if (!((s = (i = r.props) == null ? void 0 : i.dataOrigin) != null && s.optionValueSetType) || ((p = (l = r.props) == null ? void 0 : l.dataOrigin) == null ? void 0 : p.optionValueSetType) !== "static" && ((d = (h = r.props) == null ? void 0 : h.dataOrigin) == null ? void 0 : d.optionValueSetType) !== "optionGroup") {
92
- if (((w = (y = r == null ? void 0 : r.props) == null ? void 0 : y.dataOrigin) == null ? void 0 : w.optionValueSetType) === "dynamicData" && ((r == null ? void 0 : r.name) === "select" || (r == null ? void 0 : r.name) === "checkbox" || (r == null ? void 0 : r.name) === "radio")) {
93
- const c = O(e, r), u = m.getSelectItemsTitle(), C = u && u.length > 0 ? u : T(t, c);
94
- S(t, c, C);
95
- }
96
- } else if (r.name && (r.name === "select" && ((I = (v = r.props) == null ? void 0 : v.base) != null && I.multiple) || r.name === "checkbox")) {
97
- const c = O(e, r), u = T(t, c);
98
- if (u) {
99
- const C = V(u.split(","), b);
100
- S(t, c, C);
101
- }
102
- } else {
103
- const c = O(e, r), u = V(T(t, c), b);
104
- S(t, c, u);
105
- }
106
- }
107
- }
108
- const n = e.listCodesMap;
109
- for (const f in n) {
110
- let b;
111
- if (f.indexOf("__") > 0 && (b = f.substring(f.lastIndexOf("__") + 2)), b) {
112
- const m = $(e, b);
113
- if (m) {
114
- const r = m.getConfigure(), c = r.code ? r.code : f, u = Q(r, c), C = T(t, u), _ = m.getTableSelectOptions(f), F = m.getColumns(), M = {}, U = {};
115
- F && F.length > 0 && F.forEach((P) => {
116
- P.dataType !== "DATE" && P.dataType !== "TIME" || (U[P.prop] = P);
117
- }), M.formatDateColumns = U, ee(_, C, M, m);
118
- }
119
- }
120
- }
121
- return t.data;
122
- }, getFormData: (e, o) => G(e, o), getCustomFunc: (e, o) => X(e, o), replaceUrlPrefix: (e) => W(e), isHasFieldAuthPermission: (e) => {
123
- var o, t, a, n;
124
- return !(((t = (o = e == null ? void 0 : e.props) == null ? void 0 : o.base) == null ? void 0 : t.isHasFieldAuthPermission) !== void 0 && !((n = (a = e == null ? void 0 : e.props) == null ? void 0 : a.base) != null && n.isHasFieldAuthPermission));
125
- }, isHasFieldAuth(e, o) {
126
- B(e, null, o);
127
- }, isHasFieldAuthWithTable(e, o, t) {
128
- B(e, o, t);
129
- }, scrollIntoComponentWithUuid(e, o) {
130
- Z(e, o);
131
- }, scrollIntoComponentWithCode(e, o) {
132
- Y(e, o);
133
- }, isSignerTaskTransactor(e, o) {
134
- if (!o) return !0;
135
- const t = e.entity.task;
136
- if (t) {
137
- if (t.sourceTrustor) return o === t.sourceTrustor;
138
- if (t.sourceAssigner) return o === t.sourceAssigner || !(!t.transactor || o !== t.transactor);
139
- if (t.transactor && o === t.transactor) return !0;
140
- }
141
- return !1;
142
- } };
143
- function ee(e, o, t, a) {
144
- if (e && o) {
145
- const n = a.getSuperGridRef();
146
- o.forEach((i) => {
147
- if (t != null && t.formatDateColumns) {
148
- const s = t.formatDateColumns;
149
- Object.keys(s).forEach((l) => {
150
- const p = s[l];
151
- i[l] && (i[l] = n.rowDoFormat(p, i[l]));
152
- });
153
- }
154
- Object.keys(e).forEach((s) => {
155
- const l = i[s], p = e[s], h = p.options, d = p.column;
156
- let y;
157
- d && d.componentType && (d.componentType === "multiselect" || d.componentType === "checkbox") ? l && (y = V(l.split(","), h)) : y = V(l, h), i[s] = y;
158
- });
159
- });
160
- }
161
- }
162
- function V(e, o) {
163
- if (e == null || !o) return "";
164
- if (Array.isArray(e)) {
165
- const t = function(a) {
166
- const n = /* @__PURE__ */ new Map();
167
- for (const i of a) {
168
- const s = String(i.value);
169
- if (!n.has(s)) {
170
- const l = i.label ? i.label : i.name;
171
- l != null && n.set(s, l);
172
- }
173
- }
174
- return n;
175
- }(o);
176
- return e.map((a) => {
177
- const n = String(a);
178
- return t.has(n) ? t.get(n) : a;
179
- }).join(",");
180
- }
181
- return function(t, a) {
182
- if (t == null || !a) return t;
183
- const n = String(t);
184
- for (const i of a) if (String(i.value) === n) {
185
- const s = i.label ? i.label : i.name;
186
- if (s != null) return s;
187
- }
188
- return t;
189
- }(e, o);
190
- }
191
- function E(e, o, t) {
192
- e.initInfo || (e.initInfo = {}), e.initInfo[o] = t;
193
- }
194
- export {
195
- fe as functions
196
- };
@@ -1,19 +0,0 @@
1
- import { defineAsyncComponent as e } from "vue";
2
- import { usePageContextStore as r } from "./page-store.mjs";
3
- const l = [{ name: "container", label: "容器", icon: "assets/images/group-container.png", items: [{ name: "form", label: "表单", runtimeComponent: e(() => import("../views/assemblys/container/form/form-runtime.vue.mjs")) }, { name: "card", label: "卡片", runtimeComponent: e(() => import("../views/assemblys/container/card/card-runtime.vue.mjs")) }, { name: "collapse", label: "折叠面板", runtimeComponent: e(() => import("../views/assemblys/container/collapse/collapse-runtime.vue.mjs")) }, { name: "layout", label: "Flex", runtimeComponent: e(() => import("../views/assemblys/container/flex/flex-runtime.vue.mjs")) }, { name: "tabs", label: "Tabs", runtimeComponent: e(() => import("../views/assemblys/container/tabs/tabs-runtime.vue.mjs")) }, { name: "tools", label: "工具栏", runtimeComponent: e(() => import("../views/assemblys/container/tools/tools-runtime.vue.mjs")) }, { name: "iframe", label: "Iframe", runtimeComponent: e(() => import("../views/assemblys/container/iframe/iframe-runtime.vue.mjs")) }, { name: "container", label: "布局", runtimeComponent: e(() => import("../views/assemblys/container/container/container-runtime.vue.mjs")) }] }, { name: "form", label: "表单", items: [{ name: "input-text", label: "文本框", runtimeComponent: e(() => import("../views/assemblys/form/input-text/inputtext-runtime.vue.mjs")) }, { name: "select", label: "下拉框", runtimeComponent: e(() => import("../views/assemblys/form/select/select-runtime.vue.mjs")) }, { name: "radio", label: "单选框", runtimeComponent: e(() => import("../views/assemblys/form/radio/radio-runtime.vue.mjs")) }, { name: "checkbox", label: "复选框", runtimeComponent: e(() => import("../views/assemblys/form/checkbox/checkbox-runtime.vue.mjs")) }, { name: "textarea", label: "文本域", runtimeComponent: e(() => import("../views/assemblys/form/textarea/textarea-runtime.vue.mjs")) }, { name: "datePicker", label: "日期/时间", runtimeComponent: e(() => import("../views/assemblys/form/date-picker/datepicker-runtime.vue.mjs")) }, { name: "switch", label: "开关", runtimeComponent: e(() => import("../views/assemblys/form/switch/switch-runtime.vue.mjs")) }, { name: "inputNumber", label: "计数器", runtimeComponent: e(() => import("../views/assemblys/form/input-number/input-number-runtime.vue.mjs")) }, { name: "tag", label: "标签", runtimeComponent: e(() => import("../views/assemblys/form/tag/tag-runtime.vue.mjs")) }, { name: "richText", label: "富文本", runtimeComponent: e(() => import("../views/assemblys/form/rich-text/richtext-runtime.vue.mjs")) }, { name: "divider", label: "分割线", runtimeComponent: e(() => import("../views/assemblys/form/divider/divider-runtime.vue.mjs")) }, { name: "separatelabel", label: "分割标签", runtimeComponent: e(() => import("../views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs")) }, { name: "placeholder", label: "占位符", runtimeComponent: e(() => import("../views/assemblys/form/placeholder/placeholder-runtime.vue.mjs")) }, { name: "link", label: "链接", runtimeComponent: e(() => import("../views/assemblys/form/link/link-runtime.vue.mjs")) }, { name: "label", label: "Label组件", runtimeComponent: e(() => import("../views/assemblys/form/label/label-runtime.vue.mjs")) }, { name: "dept-tree", label: "组织树", runtimeComponent: e(() => import("../views/assemblys/form/dept-tree/depttree-runtime.vue.mjs")) }, { name: "file-upload", label: "文件上传", runtimeComponent: e(() => import("../views/assemblys/form/file-upload/fileupload-runtime.vue.mjs")) }, { name: "image-upload", label: "图片上传", runtimeComponent: e(() => import("../views/assemblys/form/image-upload/imageupload-runtime.vue.mjs")) }] }, { name: "button", label: "按钮", items: [{ name: "button-detail", label: "按钮", runtimeComponent: e(() => import("../views/assemblys/button/button/button-runtime.vue.mjs")) }, { name: "button-group", label: "按钮组", runtimeComponent: e(() => import("../views/assemblys/button/button-group/buttongroup-runtime.vue.mjs")) }, { name: "dropdown", label: "下拉菜单", runtimeComponent: e(() => import("../views/assemblys/button/dropdown/dropdown-runtime.vue.mjs")) }, { name: "print-label", label: "打印标签", runtimeComponent: e(() => import("../views/assemblys/button/print-label/printlabel-runtime.vue.mjs")) }, { name: "export-pdf", label: "打印标签", runtimeComponent: e(() => import("../views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs")) }] }, { name: "workflow", label: "工作流", items: [{ name: "workflow-button", label: "工作流按钮", runtimeComponent: e(() => import("../views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs")) }, { name: "picture-flow", label: "图形历史", runtimeComponent: e(() => import("../views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs")) }, { name: "text-flow", label: "文本历史", runtimeComponent: e(() => import("../views/assemblys/workflow/text-history/textflow-runtime.vue.mjs")) }, { name: "workflow-node", label: "流程环节", runtimeComponent: e(() => import("../views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs")) }, { name: "extract-workflow", label: "抽单", runtimeComponent: e(() => import("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs")) }, { name: "extract-workflow-dialog", label: "抽单Dialog", runtimeComponent: e(() => import("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs")) }] }, { name: "chart", label: "统计图", items: [{ name: "chart-column-line", label: "柱/折图", runtimeComponent: e(() => import("../views/assemblys/chart/column-line/column-line-runtime.vue.mjs")) }, { name: "chart-pie", label: "饼图", runtimeComponent: e(() => import("../views/assemblys/chart/pie/pie-runtime.vue.mjs")) }, { name: "chart-gauge", label: "仪表盘", runtimeComponent: e(() => import("../views/assemblys/chart/gauge/gauge-runtime.vue.mjs")) }, { name: "chart-radar", label: "雷达图", runtimeComponent: e(() => import("../views/assemblys/chart/radar/radar-runtime.vue.mjs")) }, { name: "chart-scatter", label: "散点图", runtimeComponent: e(() => import("../views/assemblys/chart/scatter/scatter-runtime.vue.mjs")) }, { name: "statistical-table", label: "统计表格", runtimeComponent: e(() => import("../views/assemblys/chart/table/table-runtime.vue.mjs")) }] }, { name: "data", label: "数据", items: [{ name: "table", label: "表格", runtimeComponent: e(() => import("../views/assemblys/data/table/table-runtime.vue.mjs")) }, { name: "tree", label: "树控件", runtimeComponent: e(() => import("../views/assemblys/data/tree/tree-runtime.vue.mjs")) }, { name: "bar-code", label: "条码", runtimeComponent: e(() => import("../views/assemblys/data/bar-code/barcode-runtime.vue.mjs")) }] }, { name: "other", label: "其他", items: [{ name: "custom", label: "自定义", runtimeComponent: e(() => import("../views/assemblys/form/custom/custom-runtime.vue.mjs")) }] }];
4
- function u(m) {
5
- if (!m) return null;
6
- for (let n = 0; n < l.length; n++) {
7
- let o = l[n].items;
8
- for (let t = 0; t < o.length; t++) {
9
- let a = o[t];
10
- if (a.name == m)
11
- return r().countComponentsTotalNmber(), a.runtimeComponent;
12
- }
13
- }
14
- return null;
15
- }
16
- export {
17
- l as assemblyGroups,
18
- u as getRuntimeComponentByName
19
- };
@@ -1,12 +0,0 @@
1
- function p(t, l) {
2
- let r = !0, a = "";
3
- return t.forEach((e) => {
4
- if (e.propDbName !== "-1" && e.propDbName !== -1) {
5
- const n = l[e.propDbName];
6
- e.supplementaryCharacters && e.length ? n ? n.length > e.length ? a += n.substring(0, e.length) : a += n.padEnd(e.length, e.supplementaryCharacters) : a += "".padEnd(e.length, e.supplementaryCharacters) : n ? a += n : r = !1;
7
- } else a += e.fixedValue;
8
- }), r ? a : null;
9
- }
10
- export {
11
- p as generateCodeByRule
12
- };
@@ -1,169 +0,0 @@
1
- import { getValueFromSource as h, formatVariableValue as K, setValueForVariableName as P } from "../page-helper-util.mjs";
2
- import { deepCopy as z } from "../common-util.mjs";
3
- import { setDefaultGrid as Q, CommonName as g, caculateFormulaValue as W, executeChartFormula as Y, sortDatas as Z, limitDatas as ee, formatToolboxI18n as te } from "./chart-util.mjs";
4
- import { handleChartEvent as q } from "../events/event-util.mjs";
5
- function le(p, l, n, f) {
6
- if (!f || !f.result) return;
7
- Q(n), n.tooltip || (n.tooltip = {}), q(p, l, "beforeUpdateChart", n, { resultData: f });
8
- const m = f && f.result ? f.result : {};
9
- let c = f && f.groupValue ? f.groupValue : void 0;
10
- const M = l.serviceDataField;
11
- let u = null;
12
- M ? u = m[M] : m && (u = Array.isArray(m) ? m : [m]), u || (u = []), l.runtime.dataConfig.runtimeData = u;
13
- let x = l.props ? l.props.groups : null;
14
- if (x || (x = []), !c || c.length === 0) {
15
- c = [];
16
- for (const t of x) c.push(t.group);
17
- }
18
- const T = {}, N = [], k = [];
19
- for (const t of x) T[t.group] = t.target, t.target && !N.includes(t.target) && (N.push(t.target), c.includes(t.group) && k.push(t.target));
20
- let b = l.props ? l.props.mulGroupShow : "";
21
- b = b == "break" ? `\r
22
- ` : " ";
23
- for (const t of u) {
24
- if (!t) continue;
25
- const e = [];
26
- for (const i of c) {
27
- const r = T[i], a = h(t, r, void 0);
28
- a && e.push(a);
29
- }
30
- const o = e.join(b);
31
- t[g.X_FIELD_NAME] = o;
32
- }
33
- const G = l.items ? l.items : [], v = [], $ = {}, _ = [], B = {}, S = [], A = [], y = /* @__PURE__ */ new Set(), R = W(G, u, y);
34
- for (const t of y) S.push(t);
35
- for (const t of G) {
36
- const e = t.props ? t.props : {}, o = e.yaxisSource, i = e.yaxisField, r = e.isCumulative;
37
- let a = null;
38
- if (!i || o && o != "variable") if (o == "formula") {
39
- let s = e.formula ? e.formula : "";
40
- for (const d in R) s = s.replace(new RegExp(d.replace("$", "\\$"), "g"), R[d]);
41
- a = { uuid: t.uuid, type: "formula", formula: s, isFormulaCalculateAfterSort: e.isFormulaCalculateAfterSort, data: [], dynamicDatas: [] };
42
- } else a = { uuid: t.uuid, type: "fixed", field: e.yaxisFix, data: [], dynamicDatas: [] };
43
- else a = { uuid: t.uuid, type: "variable", field: i, isCumulative: r, data: [], dynamicDatas: [] }, i && !S.includes(i) && S.push(i), i && !A.includes(i) && A.push(i), r && !y.has(i) && y.add(i);
44
- a != null && (v.push(a), $[t.uuid] = a), e.dynamicSeriesField && !_.includes(e.dynamicSeriesField) && a && (a.dynamicField = e.dynamicSeriesField, a.dynamicSeriesTitle = e.dynamicSeriesTitle, a.dynamicShowStack = e.dynamicShowStack, _.push(e.dynamicSeriesField), B[e.dynamicSeriesField] = i), e.dynamicSeriesDataField && e.dynamicSeriesDataField.forEach((s) => {
45
- S.includes(s) || S.push(s);
46
- });
47
- }
48
- const V = {};
49
- if (_.length > 0) {
50
- const t = [], e = {};
51
- for (const o of u) if (o) for (const i of S) {
52
- const r = o[g.X_FIELD_NAME];
53
- let a = e[r];
54
- if (!a) {
55
- a = {};
56
- for (const d of N) a[d] = o[d];
57
- a[g.X_FIELD_NAME] = o[g.X_FIELD_NAME], e[r] = a, t.push(a);
58
- }
59
- let s = h(o, i, void 0);
60
- if (!isNaN(s)) {
61
- const d = a[i];
62
- isNaN(d) || (s += d), a[i] = s;
63
- }
64
- }
65
- for (const o of _) {
66
- const i = [];
67
- for (const r of u) {
68
- if (!r) continue;
69
- const a = e[r[g.X_FIELD_NAME]];
70
- if (!a) continue;
71
- let s = h(r, o, void 0);
72
- s = s == null || s == null ? "" : s, i.includes(s) || (i.push(s), A.push(s), y.add(s));
73
- const d = B[o];
74
- if (d !== void 0) {
75
- const L = h(r, d, void 0);
76
- let E = a[s];
77
- E === void 0 ? E = L : isNaN(L) || (E += L), a[s] = E;
78
- }
79
- }
80
- V[o] = i;
81
- }
82
- u = t;
83
- }
84
- let F = {};
85
- const w = /* @__PURE__ */ new Set(), H = l.props ? l.props.orderByTarget : "";
86
- for (const t of v) t.type === "formula" && t.isFormulaCalculateAfterSort && H !== t.uuid && w.add(t.uuid + "_field");
87
- for (const t of u) if (t) {
88
- O(t, y, F);
89
- for (const e of v) if (e.type === "formula" && !e.isFormulaCalculateAfterSort) {
90
- const o = Y(e.formula, F, t, p);
91
- t[e.uuid + "_field"] = o;
92
- }
93
- }
94
- if (Z(p, l, u), w.size > 0) {
95
- const t = {};
96
- for (const e of u) {
97
- O(e, y, t);
98
- for (const o of v) if (o.type === "formula" && w.has(o.uuid + "_field")) {
99
- const i = Y(o.formula, t, e, p);
100
- e[o.uuid + "_field"] = i;
101
- }
102
- }
103
- }
104
- u = ee(p, l, u, N, A);
105
- const I = [];
106
- F = {};
107
- for (const t of u) if (t) {
108
- for (const e of y) {
109
- const o = h(t, e, void 0);
110
- let i = F[e];
111
- o === void 0 || isNaN(o) || (i === void 0 ? i = o : i += o), F[e] = i;
112
- }
113
- I.push(t[g.X_FIELD_NAME]);
114
- for (const e of v) {
115
- let o = e.data;
116
- const i = e.dynamicDatas;
117
- if (e.dynamicField) {
118
- let r = V[e.dynamicField];
119
- r = r || [];
120
- for (let a = 0; a < r.length; a++) {
121
- a >= i.length && i.push([]), o = i[a];
122
- const s = r[a];
123
- let d = h(t, s, void 0);
124
- e.isCumulative && (d = F[s]), o.push(d);
125
- }
126
- } else if (e.type === "fixed") o.push(e.field);
127
- else if (e.type === "variable") {
128
- let r = h(t, e.field, void 0);
129
- e.isCumulative && (r = F[e.field]), o.push(r);
130
- } else e.type === "formula" ? o.push(t[e.uuid + "_field"]) : o.push(void 0);
131
- }
132
- }
133
- const U = l.defaultSeries, J = z(U ?? []), X = [];
134
- for (const t of J) {
135
- const e = $[t.uuid];
136
- if (e.dynamicField) {
137
- let o = V[e.dynamicField];
138
- o = o || [];
139
- const i = e.dynamicDatas ? e.dynamicDatas : [];
140
- for (let r = 0; r < o.length; r++) {
141
- const a = o[r], s = z(t);
142
- if (e.dynamicSeriesTitle) {
143
- const d = e.dynamicSeriesTitle.replace("${name}", a);
144
- s.name = K(p, d);
145
- } else s.name = a;
146
- s.data = r < i.length ? i[r] : [], t.type == "bar" && e.dynamicShowStack && (s.stack = t.uuid), X.push(s);
147
- }
148
- } else t.data = e ? e.data : [], X.push(t);
149
- }
150
- n.series = X, l.props && l.props.hideEmptySeries && (n.series = n.series.filter((t) => (t.data || []).some((e) => e != null)));
151
- const D = l.defaultXaxis, C = l.defaultYaxis;
152
- if (n.isBar) {
153
- if (C) for (const t of C) t.data = I;
154
- n.xAxis = D, n.yAxis = C;
155
- } else D && D.length > 0 && (D[0].data = I), n.xAxis = D, n.yAxis = C;
156
- te(n);
157
- const j = l.props ? l.props.selGroupVariable : null;
158
- !(l.props && l.props.enableDrill) && j && (l.highlightInfos = [], P(p.entity, j, null)), q(p, l, "afterUpdateChart", n, { resultData: f }), l.groupFields = k, l.cacheDatas = u, l.rawResult = f;
159
- }
160
- function O(p, l, n) {
161
- for (const f of l) {
162
- const m = h(p, f, void 0);
163
- let c = n[f];
164
- m === void 0 || isNaN(m) || (c === void 0 ? c = m : c += m), n[f] = c;
165
- }
166
- }
167
- export {
168
- le as updateChartOption
169
- };
@@ -1,38 +0,0 @@
1
- import { formatVariableValue as b, getValueFromSource as F } from "../page-helper-util.mjs";
2
- import { deepCopy as V } from "../common-util.mjs";
3
- import { setDefaultGrid as U, formatToolboxI18n as j } from "./chart-util.mjs";
4
- import { handleChartEvent as g } from "../events/event-util.mjs";
5
- function M(d, e, l, t) {
6
- if (!t || !t.result) return;
7
- g(d, e, "beforeUpdateChart", l, { resultData: t }), U(l);
8
- const n = t && t.result ? t.result : {}, c = e.serviceDataField;
9
- let s = null;
10
- c ? s = n[c] : n && (s = [n]), s || (s = []);
11
- const x = e.props ? e.props.nameSource : void 0, h = e.props ? e.props.nameField : void 0, D = e.props ? e.props.nameFixed : void 0, S = e.props ? e.props.yaxisField : void 0, y = [h], p = [], f = [];
12
- for (const o of s) {
13
- if (!o) continue;
14
- let r = null;
15
- r = x == "fixed" ? b(d, D) : F(o, h, void 0), p.push(r);
16
- const a = F(o, S, void 0);
17
- f.push(a);
18
- }
19
- const m = e.defaultSeries;
20
- let i = m[0].pieColors;
21
- i = i || [];
22
- let u = m[0].pieColorMap;
23
- u = u || {};
24
- const v = [];
25
- for (let o = 0; o < p.length && o < f.length; o++) {
26
- const r = { value: f[o], name: p[o] };
27
- if (o < i.length || u[r.name]) {
28
- let a = u[r.name];
29
- a || (a = i[o]), a && (r.itemStyle = { color: a });
30
- }
31
- v.push(r);
32
- }
33
- const C = V(m);
34
- C[0].data = v, l.series = [C[0]], j(l), g(d, e, "afterUpdateChart", l, { resultData: t }), e.groupFields = y, e.cacheDatas = s, e.rawResult = t;
35
- }
36
- export {
37
- M as updateChartOption
38
- };