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
@@ -0,0 +1,56 @@
1
+ import { getValueFromSource as e } from "../page-helper-util.js";
2
+ import { deepCopy as t } from "../common-util.js";
3
+ import { setDefaultGrid as o, caculateFormulaValue as a, executeChartFormula as i, formatToolboxI18n as r } from "./chart-util.js";
4
+ import { handleChartEvent as s } from "../events/event-util.js";
5
+ function l(l2, u, f, d) {
6
+ if (!d || !d.result) return;
7
+ s(l2, u, "beforeUpdateChart", f, { resultData: d }), o(f);
8
+ const n = d && d.result ? d.result : {}, p = u.serviceDataField;
9
+ let c = null;
10
+ p ? c = n[p] : n && (c = Array.isArray(n) ? n : [n]), c || (c = []);
11
+ const m = u.items ? u.items : [], v = [], x = {}, h = [], y = a(m, c, h);
12
+ for (const e2 of m) {
13
+ const t2 = e2.props ? e2.props : {}, o2 = t2.yaxisSource, a2 = t2.yaxisField;
14
+ let i2 = null;
15
+ if (!a2 || o2 && "variable" != o2) if ("formula" == o2) {
16
+ let o3 = t2.formula ? t2.formula : "";
17
+ for (const e3 in y) o3 = o3.replace(new RegExp(e3.replace("$", "\\$"), "g"), y[e3]);
18
+ i2 = { uuid: e2.uuid, type: "formula", formula: o3, data: [] };
19
+ } else i2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [] };
20
+ else i2 = { uuid: e2.uuid, type: "variable", field: a2, data: [] };
21
+ i2 && (v.push(i2), x[i2.uuid] = i2);
22
+ }
23
+ const F = u.props ? u.props : {}, b = F.nameField, j = F.maxSource, D = F.maxField, g = F.maxFixed, S = [], w = {};
24
+ for (const t2 of c) {
25
+ if (!t2) continue;
26
+ const o2 = e(t2, b, void 0);
27
+ let a2 = null;
28
+ a2 = j && "variable" != j ? g : e(t2, D, void 0), S.push({ text: o2, max: a2 });
29
+ for (const o3 of h) {
30
+ const a3 = e(t2, o3, void 0);
31
+ let i2 = w[o3];
32
+ void 0 === a3 || isNaN(a3) || (void 0 === i2 ? i2 = a3 : i2 += a3), w[o3] = i2;
33
+ }
34
+ for (const o3 of v) {
35
+ const a3 = o3.data;
36
+ if ("fixed" == o3.type) a3.push(o3.field);
37
+ else if ("variable" == o3.type) {
38
+ const i2 = e(t2, o3.field, void 0);
39
+ a3.push(i2);
40
+ } else if ("formula" == o3.type) {
41
+ const e2 = i(o3.formula, w, t2, l2);
42
+ a3.push(e2);
43
+ } else a3.push(void 0);
44
+ }
45
+ }
46
+ f.radar[0].indicator = S, r(f);
47
+ const A = u.defaultSeries, C = t(A), N = C[0].data;
48
+ for (const e2 of N) {
49
+ const t2 = x[e2.uuid];
50
+ e2.value = t2.data;
51
+ }
52
+ f.series = C, s(l2, u, "afterUpdateChart", f, { resultData: d }), u.cacheDatas = c, u.rawResult = d;
53
+ }
54
+ export {
55
+ l as updateChartOption
56
+ };
@@ -0,0 +1,47 @@
1
+ import { getValueFromSource as o } from "../page-helper-util.js";
2
+ import { deepCopy as s } from "../common-util.js";
3
+ import { setDefaultGrid as e, caculateFormulaValue as i, executeChartFormula as t, formatToolboxI18n as r } from "./chart-util.js";
4
+ import { handleChartEvent as a } from "../events/event-util.js";
5
+ function l(l2, u, f, c) {
6
+ if (!c || !c.result) return;
7
+ a(l2, u, "beforeUpdateChart", f, { resultData: c }), e(f);
8
+ const d = c && c.result ? c.result : {}, n = u.serviceDataField;
9
+ let p = null;
10
+ n ? p = d[n] : d && (p = Array.isArray(d) ? d : [d]), p || (p = []);
11
+ const m = u.items ? u.items : [], x = [], y = {};
12
+ for (const o2 of m) {
13
+ const s2 = o2.props ? o2.props : {}, e2 = o2.props ? o2.style : {}, i2 = s2.xaxisField, t2 = s2.sizeField, r2 = { uuid: o2.uuid, xaxisField: i2, yaxisField: s2.yaxisField, yaxisSource: s2.yaxisSource, formula: s2.formula, sizeField: t2, symbolSize: e2.symbolSize, data: [] };
14
+ x.push(r2), y[r2.uuid] = r2;
15
+ }
16
+ const h = [], F = i(m, p, h);
17
+ for (const o2 of x) if ("formula" === o2.yaxisSource) {
18
+ let s2 = o2.formula ? o2.formula : "";
19
+ for (const o3 in F) s2 = s2.replace(new RegExp(o3.replace("$", "\\$"), "g"), F[o3]);
20
+ o2.formula = s2;
21
+ }
22
+ const v = {};
23
+ for (const s2 of p) if (s2) {
24
+ for (const e2 of h) {
25
+ const i2 = o(s2, e2, void 0);
26
+ let t2 = v[e2];
27
+ void 0 === i2 || isNaN(i2) || (void 0 === t2 ? t2 = i2 : t2 += i2), v[e2] = t2;
28
+ }
29
+ for (const e2 of x) {
30
+ const i2 = e2.data, r2 = [];
31
+ if (r2.push(o(s2, e2.xaxisField, void 0)), "formula" === e2.yaxisSource) {
32
+ const o2 = t(e2.formula, v, s2, l2);
33
+ r2.push(o2);
34
+ } else r2.push(o(s2, e2.yaxisField, void 0));
35
+ e2.sizeField ? r2.push(o(s2, e2.xaxisField, void 0)) : r2.push(e2.symbolSize), i2.push(r2);
36
+ }
37
+ }
38
+ const S = u.defaultSeries, z = s(S);
39
+ for (const o2 of z) {
40
+ const s2 = y[o2.uuid];
41
+ o2.data = s2.data;
42
+ }
43
+ f.series = z, r(f), a(l2, u, "afterUpdateChart", f, { resultData: c }), u.cacheDatas = p, u.rawResult = c;
44
+ }
45
+ export {
46
+ l as updateChartOption
47
+ };
@@ -0,0 +1,288 @@
1
+ import t from "../../../../assets/chart-themes/bar-theme.js";
2
+ import e from "../../../../assets/chart-themes/gauge-theme.js";
3
+ import i from "../../../../assets/chart-themes/pie-theme.js";
4
+ import n from "../../../../assets/chart-themes/radar-theme.js";
5
+ import s from "../../../../assets/chart-themes/scatter-theme.js";
6
+ import { getDefaultValue as r } from "../page-init-util.js";
7
+ import { getValueFromSource as o, setValueForVariableName as a, getParamNames as l, getValueFromVariable as c, formatVariableValue as f, setVariableValue as u } from "../page-helper-util.js";
8
+ import { getI18n as d } from "agilebuilder-ui/src/utils/util";
9
+ import { appendDefaultMethods as p } from "../events/event-util.js";
10
+ var h = ((t2) => (t2.X_FIELD_NAME = "__x", t2.Y_TEMP_NAME = "__y", t2))(h || {});
11
+ function g(r2, o2 = "bar") {
12
+ return "bar" === o2 ? t[r2] : "gauge" === o2 ? e[r2] : "pie" === o2 ? i[r2] : "radar" === o2 ? n[r2] : "scatter" === o2 ? s[r2] : t[r2];
13
+ }
14
+ function m() {
15
+ return [{ value: "theme1", label: "主题1" }, { value: "theme2", label: "主题2" }, { value: "theme3", label: "主题3" }];
16
+ }
17
+ function x(t2, e2, i2, n2, s2) {
18
+ return function(r2) {
19
+ let o2 = r2 == null ? void 0 : r2.value;
20
+ if (s2 && (o2 = r2), null == o2 || null == o2) return o2;
21
+ if (Array.isArray(o2)) return o2;
22
+ if (isNaN(o2) || !t2 || !t2.indexOf) return o2;
23
+ if (t2.indexOf("precision") > -1) {
24
+ let t3 = parseInt(e2);
25
+ (null == t3 || isNaN(t3)) && (t3 = 2), o2 = parseFloat(parseFloat(o2).toFixed(t3));
26
+ }
27
+ let a2 = "";
28
+ t2.indexOf("prefix") > -1 && i2 && (a2 = i2);
29
+ let l2 = "";
30
+ return t2.indexOf("append") > -1 && n2 && (l2 = n2), a2 + o2.toLocaleString() + l2;
31
+ };
32
+ }
33
+ function b(t2, e2) {
34
+ if (!e2) return;
35
+ if (e2.tooltipFormatterArgs && (e2.tooltip || (e2.tooltip = {}), e2.tooltip.valueFormatter = x.apply(e2, e2.tooltipFormatterArgs)), e2.series) {
36
+ const i3 = t2.props ? t2.props.enableDrill : null;
37
+ for (const n3 of e2.series) e2.radar || (n3.data = []), n3.labelFormatterArgs && (n3.label || (n3.label = {}), n3.label.formatter = x.apply(n3, n3.labelFormatterArgs)), !i3 && t2.clickSet && t2.clickSet.selected && n3.emphasis && (n3.emphasis.disabled = false), "pie" === n3.type && t2.clickSet && t2.clickSet.selected && (t2.clickSet.multiple ? n3.selectedMode = "multiple" : n3.selectedMode = "single");
38
+ }
39
+ if (e2.radar) for (const t3 of e2.radar) t3.indicator = [];
40
+ const i2 = e2.series;
41
+ t2.defaultSeries = i2;
42
+ const n2 = e2.xAxis;
43
+ n2 && n2.length > 0 && n2[0].data && (n2[0].data = []), t2.defaultXaxis = n2;
44
+ const s2 = e2.yAxis;
45
+ if (s2) for (const t3 of s2) t3.data && (t3.data = []), "auto" === t3._dataMin && (t3.min = function(t4) {
46
+ if (t4.min) return 10 * Math.floor(t4.min / 10);
47
+ }), "auto" === t3._dataMax && (t3.max = function(t4) {
48
+ if (t4.max) return 10 * Math.ceil(t4.max / 10);
49
+ });
50
+ t2.defaultYaxis = s2;
51
+ }
52
+ function I(t2, e2, i2) {
53
+ if (!(i2 && e2 && e2.clickSet && t2)) return;
54
+ const n2 = e2.clickSet;
55
+ i2.on("click", function(s2) {
56
+ let r2 = e2.highlightInfos ? e2.highlightInfos : [], o2 = -1;
57
+ if (r2) {
58
+ const t3 = [];
59
+ for (let a2 = 0; a2 < r2.length; a2++) {
60
+ const l2 = r2[a2], c2 = l2.seriesIndex === s2.seriesIndex && l2.dataIndex === s2.dataIndex;
61
+ if (c2 || !n2.multiple) {
62
+ if (n2.selected) {
63
+ const t4 = "chart-pie" === e2.name ? "unselect" : "downplay";
64
+ i2.dispatchAction({ type: t4, seriesIndex: l2.seriesIndex, dataIndex: l2.dataIndex });
65
+ }
66
+ } else t3.push(l2);
67
+ c2 && (o2 = a2);
68
+ }
69
+ r2 = t3;
70
+ }
71
+ if (-1 === o2) {
72
+ if (n2.selected) {
73
+ const t3 = "chart-pie" === e2.name ? "select" : "highlight";
74
+ i2.dispatchAction({ type: t3, seriesIndex: s2.seriesIndex, dataIndex: s2.dataIndex });
75
+ }
76
+ r2.push({ seriesIndex: s2.seriesIndex, dataIndex: s2.dataIndex });
77
+ }
78
+ e2.highlightInfos = r2, N(t2, e2);
79
+ });
80
+ }
81
+ function v(t2, e2, i2) {
82
+ if (!i2 || !e2 || !t2) return;
83
+ const n2 = e2.highlightInfos ? e2.highlightInfos : [];
84
+ for (let t3 = 0; t3 < n2.length; t3++) {
85
+ const s2 = n2[t3], r2 = "chart-pie" === e2.name ? "unselect" : "downplay";
86
+ i2.dispatchAction({ type: r2, seriesIndex: s2.seriesIndex, dataIndex: s2.dataIndex });
87
+ }
88
+ e2.highlightInfos = [], N(t2, e2);
89
+ }
90
+ function N(t2, e2) {
91
+ if (!e2.clickSet) return;
92
+ const i2 = e2.clickSet, n2 = i2.variables;
93
+ if (!n2 || 0 == n2.length) return;
94
+ const s2 = e2.highlightInfos ? e2.highlightInfos : [], r2 = e2.cacheDatas ? e2.cacheDatas : [], l2 = [], c2 = [];
95
+ for (const t3 of s2) c2.includes(t3.dataIndex) || (c2.push(t3.dataIndex), t3.dataIndex < r2.length && l2.push(r2[t3.dataIndex]));
96
+ for (const e3 of n2) {
97
+ if (!e3.fieldName || !e3.variable) continue;
98
+ const n3 = [];
99
+ for (const t3 of l2) {
100
+ const i3 = o(t3, e3.fieldName, void 0);
101
+ null != i3 && n3.push(i3);
102
+ }
103
+ i2.multiple ? a(t2.entity, e3.variable, n3) : a(t2.entity, e3.variable, n3.length > 0 ? n3[0] : void 0);
104
+ }
105
+ }
106
+ function y(t2, e2, i2) {
107
+ const n2 = e2.items ? e2.items : [], s2 = e2.props ? e2.props.orderByTarget : "";
108
+ let r2 = null;
109
+ if ("x" == s2 || "X" == s2) r2 = "__x";
110
+ else if (s2) {
111
+ for (const t3 of n2) if (t3.uuid == s2) {
112
+ const e3 = t3.props ? t3.props : {}, i3 = e3.yaxisSource, n3 = e3.yaxisField;
113
+ if (n3 && (!i3 || "variable" == i3)) {
114
+ r2 = n3;
115
+ break;
116
+ }
117
+ if ("formula" == i3 && e3.formula) {
118
+ r2 = t3.uuid + "_field";
119
+ break;
120
+ }
121
+ }
122
+ }
123
+ if (!r2) return;
124
+ const a2 = e2.props ? e2.props.orderSource : "";
125
+ let l2 = e2.props ? e2.props.orderFix : "";
126
+ if ("variable" == a2) {
127
+ const i3 = e2.props ? e2.props.orderVariable : "";
128
+ l2 = f(t2, i3);
129
+ }
130
+ l2 = "desc" == l2 || "DESC" == l2 ? "desc" : "asc", i2.sort((t3, e3) => {
131
+ const i3 = o(t3, r2, void 0), n3 = o(e3, r2, void 0);
132
+ return "desc" === l2 ? n3 - i3 : i3 - n3;
133
+ });
134
+ }
135
+ function S(t2, e2, i2, n2, s2) {
136
+ if (!i2) return i2;
137
+ const r2 = e2.props ? e2.props : {};
138
+ if (!r2.limitQuantity) return i2;
139
+ let a2 = null;
140
+ if (r2.itemNumVariable ? (a2 = f(t2, r2.itemNumVariable), a2 = parseInt(a2)) : a2 = r2.itemNumFix ? r2.itemNumFix : 10, null == a2 || null == a2 || isNaN(a2)) return i2;
141
+ if (i2.length < a2) return i2;
142
+ const l2 = r2.overItemAlias, c2 = [], u2 = {};
143
+ n2 = n2 || [], s2 = s2 || [];
144
+ for (let t3 = 0; t3 < i2.length; t3++) {
145
+ const e3 = i2[t3];
146
+ if (t3 < a2) c2.push(e3);
147
+ else {
148
+ if (!l2) break;
149
+ for (const t4 of n2) {
150
+ if (!t4) continue;
151
+ let i3 = o(e3, t4, void 0);
152
+ i3 = null == i3 || null == i3 ? "" : i3, u2[t4] || (u2[t4] = []);
153
+ const n3 = u2[t4];
154
+ n3.includes(i3) || n3.push(i3);
155
+ }
156
+ for (const t4 of s2) {
157
+ if (!t4) continue;
158
+ const i3 = o(e3, t4, void 0);
159
+ if (isNaN(i3)) continue;
160
+ const n3 = u2[t4];
161
+ isNaN(n3) ? u2[t4] = i3 : u2[t4] = i3 + n3;
162
+ }
163
+ }
164
+ }
165
+ return l2 && (u2.__x = l2, c2.push(u2)), c2;
166
+ }
167
+ function F(t2, e2, i2) {
168
+ const n2 = {};
169
+ for (const s2 of t2) {
170
+ const t3 = s2.props ? s2.props : {};
171
+ if ("formula" === t3.yaxisSource) {
172
+ const s3 = l(t3.formula);
173
+ for (const t4 of s3) if (!(t4 in n2)) {
174
+ if (t4.startsWith("${min.")) n2[t4] = _(e2, t4.substring(6, t4.length - 1));
175
+ else if (t4.startsWith("${max.")) n2[t4] = A(e2, t4.substring(6, t4.length - 1));
176
+ else if (t4.startsWith("${sum.")) n2[t4] = M(e2, t4.substring(6, t4.length - 1));
177
+ else if (t4.startsWith("${avg.")) n2[t4] = k(e2, t4.substring(6, t4.length - 1));
178
+ else if (t4.startsWith("${add.")) {
179
+ const e3 = t4.substring(6, t4.length - 1);
180
+ i2.add(e3);
181
+ }
182
+ }
183
+ }
184
+ }
185
+ return n2;
186
+ }
187
+ function _(t2, e2) {
188
+ let i2;
189
+ for (const n2 of t2) {
190
+ const t3 = parseFloat(o(n2, e2, null));
191
+ (void 0 === i2 || !isNaN(t3) && t3 < i2) && (i2 = t3);
192
+ }
193
+ return i2;
194
+ }
195
+ function A(t2, e2) {
196
+ let i2;
197
+ for (const n2 of t2) {
198
+ const t3 = parseFloat(o(n2, e2, null));
199
+ (void 0 === i2 || !isNaN(t3) && t3 > i2) && (i2 = t3);
200
+ }
201
+ return i2;
202
+ }
203
+ function M(t2, e2) {
204
+ let i2;
205
+ for (const n2 of t2) {
206
+ const t3 = parseFloat(o(n2, e2, null));
207
+ void 0 === i2 ? i2 = t3 : isNaN(t3) || (i2 += t3);
208
+ }
209
+ return i2;
210
+ }
211
+ function k(t2, e2) {
212
+ const i2 = M(t2, e2);
213
+ return void 0 === i2 || 0 === t2.length ? i2 : parseFloat((i2 / t2.length).toFixed(5));
214
+ }
215
+ function w(t2, e2, i2, n2) {
216
+ if (!t2) return;
217
+ if (e2) for (const i3 in e2) t2 = t2.replace(new RegExp("\\${add." + i3 + "}", "g"), e2[i3]);
218
+ const s2 = l(t2);
219
+ for (const e3 of s2) {
220
+ let s3 = null;
221
+ s3 = e3.startsWith("${row.") ? o(i2, e3.substring(6, e3.length - 1), null) : c(n2.entity, e3), t2 = t2.replace(new RegExp(e3.replace("$", "\\$"), "g"), s3);
222
+ }
223
+ t2.includes("return ") || (t2 = "return " + t2);
224
+ const r2 = new Function("params", t2);
225
+ return p(r2, n2), r2({ pageContext: n2, row: i2 });
226
+ }
227
+ function $(t2, e2) {
228
+ if (!t2 || !t2.$el) return;
229
+ const i2 = t2.$el.getElementsByTagName("canvas");
230
+ if (!i2 || 0 === i2.length) return;
231
+ const n2 = i2[0], s2 = n2.width + ":" + n2.height;
232
+ return { isTable: false, fileContent: n2.toDataURL(), fileSize: s2, title: e2 == null ? void 0 : e2.title };
233
+ }
234
+ function j(t2, e2, i2) {
235
+ const n2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");
236
+ let s2 = true;
237
+ if (n2) {
238
+ const t3 = JSON.parse(n2);
239
+ if (t3[i2]) {
240
+ const n3 = t3[i2];
241
+ if (Object.keys(n3).length > 0) {
242
+ s2 = false;
243
+ for (const t4 in n3) null !== n3[t4] && void 0 !== n3[t4] && a(e2.entity, t4, n3[t4]);
244
+ }
245
+ }
246
+ }
247
+ if (s2 && t2) {
248
+ for (const i3 of t2) if (i3.prop && i3.value) {
249
+ const t3 = r(e2, i3.value, "input-text", false), n3 = i3.prop.substring(2, i3.prop.length - 1).split(".");
250
+ null != t3 && u(e2.entity, n3, t3);
251
+ }
252
+ }
253
+ }
254
+ function O(t2) {
255
+ if (t2 == null ? void 0 : t2.grid) {
256
+ const e2 = t2.grid, i2 = (t3) => !t3 || "0" === t3;
257
+ i2(e2.top) && i2(e2.right) && i2(e2.bottom) && i2(e2.left) && Object.assign(e2, { right: "10%", bottom: "60", left: "10%" });
258
+ }
259
+ }
260
+ function E(t2) {
261
+ var _a;
262
+ if ((_a = t2 == null ? void 0 : t2.toolbox) == null ? void 0 : _a.feature) {
263
+ const e2 = t2.toolbox.feature;
264
+ for (const t3 in e2) e2[t3].show && (e2[t3].title = d().t("chartMessage." + t3), "dataView" === t3 && (e2[t3].lang = [d().t("chartMessage.dataView"), d().t("chartMessage.close"), d().t("chartMessage.refresh")]));
265
+ }
266
+ }
267
+ export {
268
+ h as CommonName,
269
+ F as caculateFormulaValue,
270
+ v as clearChartSelected,
271
+ w as executeChartFormula,
272
+ $ as exportCommonChart,
273
+ E as formatToolboxI18n,
274
+ k as getAvgValue,
275
+ g as getCustomTheme,
276
+ m as getCustomThemeOptions,
277
+ A as getMaxValue,
278
+ _ as getMinValue,
279
+ x as getNumFormatter,
280
+ M as getSumValue,
281
+ b as initChartOption,
282
+ S as limitDatas,
283
+ I as monitorChartClickToVariable,
284
+ O as setDefaultGrid,
285
+ j as setHomeChartInitConfigValue,
286
+ y as sortDatas,
287
+ N as updateClickVariablesForSelected
288
+ };
@@ -0,0 +1,120 @@
1
+ import { getSystemBackendUrl as e } from "agilebuilder-ui/src/utils/common-util";
2
+ import { getLanguageWithLocale as t } from "agilebuilder-ui/src/utils/util";
3
+ import { ExpressionEvaluator as n } from "../views/assemblys/chart/table/chart-table-util.js";
4
+ import { getCustomFunc as r } from "./events/event-util.js";
5
+ function o(e2) {
6
+ return "function" == typeof Array.isArray ? Array.isArray(e2) : "[object Array]" === Object.prototype.toString.call(e2);
7
+ }
8
+ function i(t2, n2) {
9
+ if (n2) return t2;
10
+ {
11
+ const { baseURL: n3, projectModel: r2 } = window.$vueApp.config.globalProperties;
12
+ let o2 = n3;
13
+ return "developing.model" === r2 || t2 && (o2 = e(t2)), o2;
14
+ }
15
+ }
16
+ function u(e2, t2, n2, r2) {
17
+ let o2 = e2;
18
+ if (e2 && n2 && !function(e3) {
19
+ return 0 === e3.indexOf("http:") || 0 === e3.indexOf("https:");
20
+ }(e2)) {
21
+ o2 = i(n2, r2) + "/" + t2 + e2;
22
+ }
23
+ return o2;
24
+ }
25
+ function l(e2, o2, i2) {
26
+ if (!e2 || 0 === e2.length) return e2;
27
+ let u2 = e2;
28
+ if (Array.isArray(e2)) {
29
+ e2[0].templates && (u2 = function(e3, t2, o3) {
30
+ const i3 = [];
31
+ return e3.forEach((e4) => {
32
+ let u3 = true;
33
+ if (e4.scopeFunc) {
34
+ const n2 = r(t2, e4.scopeFunc);
35
+ n2 && (u3 = n2.apply(n2, [{ pageContext: t2, configureObj: o3, template: e4 }]));
36
+ } else e4.conditions && e4.conditions.length > 0 && (u3 = n.evaluate(t2, e4.conditions));
37
+ false !== u3 && e4.templates.forEach((e5) => {
38
+ i3.push({ templateUuid: e5.templateUuid, templateName: e5.templateName });
39
+ });
40
+ }), i3;
41
+ }(e2, o2, i2));
42
+ const l2 = t(), a2 = [], s2 = [], p2 = "~-~-";
43
+ return u2.forEach((e3) => {
44
+ const t2 = e3.templateName;
45
+ if (t2.indexOf(p2) > 0) {
46
+ const n2 = t2.substring(0, t2.indexOf(p2)), r2 = t2.substring(t2.indexOf(p2) + p2.length, t2.lastIndexOf(p2)), o3 = t2.substring(t2.lastIndexOf(p2) + p2.length);
47
+ l2 === r2 && s2.indexOf(n2) < 0 && (a2.push({ templateUuid: e3.templateUuid, templateName: o3 }), s2.push(n2));
48
+ } else a2.push(e3);
49
+ }), a2;
50
+ }
51
+ }
52
+ function a(e2) {
53
+ return e2.toLowerCase().replace(/( |^)[a-z]/g, (e3) => e3.toUpperCase());
54
+ }
55
+ function s(e2, t2, n2) {
56
+ return "V" + t2 + "__" + e2 + "__" + n2;
57
+ }
58
+ function p(e2) {
59
+ if ("object" != typeof e2 || null == e2) return e2;
60
+ const t2 = Array.isArray(e2) ? [] : {};
61
+ for (const n2 in e2) e2.hasOwnProperty(n2) && (t2[n2] = p(e2[n2]));
62
+ return t2;
63
+ }
64
+ function f(e2) {
65
+ let t2;
66
+ return e2.entity && e2.entity.data && (t2 = e2.entity.data.WORKFLOW_ID, t2 || (t2 = e2.entity.data.workflow_id), t2 || (t2 = e2.entity.data.workflowId)), t2;
67
+ }
68
+ function c(e2) {
69
+ var _a, _b, _c, _d;
70
+ let t2;
71
+ if (e2 && ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop)) {
72
+ let n2 = (_d = (_c = e2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop;
73
+ n2.indexOf("${") >= 0 && (n2 = n2.substring(2, n2.lastIndexOf("}")));
74
+ const r2 = n2.split(".");
75
+ 2 === r2.length ? t2 = r2[1] : 3 === r2.length && (t2 = r2[1] + "__" + r2[2]);
76
+ } else e2.code && (t2 = e2.code);
77
+ return t2;
78
+ }
79
+ function d(e2) {
80
+ try {
81
+ if (null != e2) {
82
+ const t2 = parseInt(e2 + "");
83
+ if (Number.isInteger(t2)) return true;
84
+ }
85
+ return false;
86
+ } catch (e3) {
87
+ return false;
88
+ }
89
+ }
90
+ function m(e2) {
91
+ return !!e2.isWorkflowEntity || !(void 0 !== e2.isWorkflowEntity || !e2.workflowCode);
92
+ }
93
+ function g(e2, t2) {
94
+ if (e2 && t2) {
95
+ let t3 = e2.jumpPageMobileOpenMode;
96
+ t3 || (e2.jumpPageOpenMode ? (t3 = e2.jumpPageOpenMode, "newTab" === t3 && (t3 = "refresh")) : t3 = "refresh"), "refresh" === t3 && (e2.dialogType = "drawer", e2.jumpPageWidth = "100%", e2.isRefreshWhenClosePopup = true), e2.jumpMode = t3, e2.jumpPageMobileOpenMode = t3, e2.jumpPageTitle || (e2.jumpPageTitle = "QMS质量管理系统");
97
+ }
98
+ }
99
+ function h(e2, t2) {
100
+ return null === e2[t2] || void 0 === e2[t2] || "" === e2[t2];
101
+ }
102
+ function y() {
103
+ return "required_bg";
104
+ }
105
+ export {
106
+ y as addRequiredClassUtil,
107
+ p as deepCopy,
108
+ i as getBaseUrl,
109
+ s as getListCode,
110
+ c as getPropClassName,
111
+ u as getRealRestApiPath,
112
+ f as getWorkflowId,
113
+ o as isArrayFn,
114
+ d as isNumber,
115
+ h as isVariableInvalidValue,
116
+ m as isWorkflowPage,
117
+ l as packageTemplateFiles,
118
+ g as refreshMobileDialogType,
119
+ a as upperFirstCase
120
+ };
@@ -0,0 +1,8 @@
1
+ import t from "mitt";
2
+ const o = t(), r = { $on: o.on, $emit: o.emit, $off: o.off, $has: (t2) => {
3
+ const r2 = o.all.get(t2);
4
+ return Array.isArray(r2) && r2.length > 0;
5
+ } };
6
+ export {
7
+ r as default
8
+ };
@@ -0,0 +1,39 @@
1
+ import "agilebuilder-ui/src/utils/auth";
2
+ function e(e2, n2) {
3
+ let i2 = "new";
4
+ return n2.id ? i2 = n2.id : n2.ID && (i2 = n2.ID), t(e2, i2);
5
+ }
6
+ function t(e2, t2) {
7
+ return t2 ? `backfill_data_${e2}_${t2}` : `backfill_data_${e2}_new`;
8
+ }
9
+ function n(t2, n2) {
10
+ sessionStorage.setItem(e(t2, n2), JSON.stringify(n2));
11
+ }
12
+ function i(t2, n2) {
13
+ sessionStorage.removeItem(e(t2, n2));
14
+ }
15
+ function o(e2, n2) {
16
+ sessionStorage.removeItem(t(e2, n2));
17
+ }
18
+ function r(e2, n2) {
19
+ return null !== sessionStorage.getItem(t(e2, n2));
20
+ }
21
+ function s(e2, n2, i2) {
22
+ const o2 = sessionStorage.getItem(t(e2, n2));
23
+ if (o2) {
24
+ const e3 = JSON.parse(o2);
25
+ let t2 = null;
26
+ e3.version ? t2 = e3.version : e3.VERSION && (t2 = e3.VERSION);
27
+ let n3 = null;
28
+ if (i2.version ? n3 = i2.version : i2.VERSION && (n3 = i2.VERSION), t2 == n3) return e3;
29
+ }
30
+ return i2;
31
+ }
32
+ export {
33
+ n as cacheBackfillData,
34
+ t as getBackFillDataKey,
35
+ s as getRealFillData,
36
+ r as hasBackfillData,
37
+ i as removeCacheFillData,
38
+ o as removeCacheFillDataById
39
+ };