super-page-runtime 2.3.22-tmp1 → 2.3.22-tmp3

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 (385) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +4 -4
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
  4. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
  6. package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
  7. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
  8. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
  9. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
  10. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
  11. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
  12. package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
  13. package/dist/es/components/runtime/utils/common-util.mjs +91 -94
  14. package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
  15. package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
  16. package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
  17. package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
  18. package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
  20. package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
  21. package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
  22. package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
  24. package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
  25. package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
  26. package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
  27. package/dist/es/components/runtime/utils/page-store.mjs +38 -38
  28. package/dist/es/components/runtime/utils/store-util.mjs +9 -9
  29. package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
  30. package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
  37. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
  38. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
  39. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
  40. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
  43. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
  44. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
  51. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
  53. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
  55. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
  57. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
  59. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
  60. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
  64. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
  66. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
  70. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
  71. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
  74. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
  75. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
  76. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
  77. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
  79. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
  80. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
  81. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
  82. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
  83. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
  84. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
  85. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
  86. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
  87. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
  89. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
  90. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
  91. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
  92. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
  93. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
  94. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
  95. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
  96. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
  97. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
  98. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
  99. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
  100. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
  101. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
  102. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
  103. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
  104. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
  105. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
  106. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
  107. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
  108. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
  109. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
  110. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
  111. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
  112. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
  113. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
  114. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
  115. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
  116. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
  117. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
  118. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
  119. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
  121. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
  122. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
  123. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
  125. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
  126. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
  127. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
  128. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
  129. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
  130. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
  132. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
  134. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
  136. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
  138. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
  139. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
  140. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
  142. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
  143. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
  144. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
  145. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
  146. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
  147. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
  148. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  149. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
  150. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
  151. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
  152. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
  153. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
  154. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
  155. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
  156. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
  157. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
  158. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
  159. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
  160. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
  161. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
  162. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
  163. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
  164. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  165. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
  166. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
  167. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
  168. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
  169. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
  170. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
  171. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
  172. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
  173. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
  174. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
  175. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
  176. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
  177. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
  178. package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
  179. package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
  180. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
  181. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
  182. package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
  183. package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
  184. package/dist/es/index.mjs +27 -27
  185. package/dist/es/style.css +1 -996
  186. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
  187. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
  188. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
  189. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
  190. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
  191. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
  192. package/dist/lib/assets/file.png.cjs +1 -2
  193. package/dist/lib/assets/folder.png.cjs +1 -2
  194. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
  195. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
  196. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
  197. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
  198. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
  199. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
  200. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
  201. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
  202. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
  203. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
  204. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
  205. package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
  206. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
  208. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
  209. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
  210. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
  211. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
  212. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
  213. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
  214. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
  215. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
  216. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
  217. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
  218. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
  219. package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
  220. package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
  221. package/dist/lib/components/runtime/utils/store.cjs +1 -3
  222. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
  225. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
  242. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
  243. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
  244. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
  245. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
  246. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
  247. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
  248. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
  249. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
  250. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
  251. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
  261. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
  262. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
  264. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
  267. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
  269. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
  271. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
  272. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
  273. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
  277. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
  278. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
  279. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
  280. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
  281. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
  282. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
  283. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
  284. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
  285. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
  286. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
  287. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
  288. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
  289. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
  291. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
  293. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
  294. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
  295. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
  296. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
  297. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
  298. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
  299. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
  300. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
  301. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
  302. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
  303. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
  304. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
  306. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
  307. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
  308. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
  309. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
  310. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
  311. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
  312. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
  313. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
  314. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
  315. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
  316. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
  317. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
  318. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
  319. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
  320. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
  321. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
  322. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
  323. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
  324. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
  325. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
  326. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
  327. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
  328. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
  329. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
  330. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
  331. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
  332. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
  333. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
  334. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
  335. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
  336. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
  337. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
  338. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
  339. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
  340. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
  341. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
  342. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
  343. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
  344. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
  345. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
  346. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
  347. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
  348. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
  349. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
  350. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
  351. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
  352. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
  353. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
  354. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
  355. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
  356. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
  357. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
  358. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
  359. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
  360. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
  361. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
  362. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
  363. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
  364. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
  365. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
  366. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
  367. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
  368. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
  369. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
  370. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
  371. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
  372. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
  373. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
  374. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
  375. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
  376. package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
  377. package/dist/lib/i18n/langs/cn.cjs +1 -2
  378. package/dist/lib/i18n/langs/en.cjs +1 -2
  379. package/dist/lib/index.cjs +1 -6
  380. package/dist/lib/style.css +1 -996
  381. package/dist/umd/index.full.min.js +3 -7429
  382. package/dist/umd/style.css +1 -996
  383. package/package.json +77 -76
  384. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
  385. package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
@@ -1,141 +1,142 @@
1
- import { getValueFromSource as e, formatVariableValue as t, setValueForVariableName as i } from "../page-helper-util.mjs";
2
- import { deepCopy as s } from "../common-util.mjs";
3
- import { setDefaultGrid as o, CommonName as a, caculateFormulaValue as l, sortDatas as n, limitDatas as r, executeChartFormula as u, formatToolboxI18n as c } from "./chart-util.mjs";
4
- import { handleChartEvent as d } from "../events/event-util.mjs";
5
- function f(f2, p, m, h) {
6
- if (!h || !h.result) return;
7
- o(m), m.tooltip || (m.tooltip = {}), d(f2, p, "beforeUpdateChart", m, { resultData: h });
8
- const y = h && h.result ? h.result : {};
9
- let g = h && h.groupValue ? h.groupValue : void 0;
10
- const v = p.serviceDataField;
11
- let F = null;
12
- v ? F = y[v] : y && (F = Array.isArray(y) ? y : [y]), F || (F = []), p.runtime.dataConfig.runtimeData = F;
13
- let S = p.props ? p.props.groups : null;
14
- if (S || (S = []), !g || 0 === g.length) {
15
- g = [];
16
- for (const e2 of S) g.push(e2.group);
1
+ import { getValueFromSource as p, formatVariableValue as q, setValueForVariableName as z } from "../page-helper-util.mjs";
2
+ import { deepCopy as B } from "../common-util.mjs";
3
+ import { setDefaultGrid as H, CommonName as h, caculateFormulaValue as J, sortDatas as K, limitDatas as P, executeChartFormula as Q, formatToolboxI18n as W } from "./chart-util.mjs";
4
+ import { handleChartEvent as O } from "../events/event-util.mjs";
5
+ function ie(f, n, d, c) {
6
+ if (!c || !c.result) return;
7
+ H(d), d.tooltip || (d.tooltip = {}), O(f, n, "beforeUpdateChart", d, { resultData: c });
8
+ const g = c && c.result ? c.result : {};
9
+ let m = c && c.groupValue ? c.groupValue : void 0;
10
+ const X = n.serviceDataField;
11
+ let r = null;
12
+ X ? r = g[X] : g && (r = Array.isArray(g) ? g : [g]), r || (r = []), n.runtime.dataConfig.runtimeData = r;
13
+ let D = n.props ? n.props.groups : null;
14
+ if (D || (D = []), !m || m.length === 0) {
15
+ m = [];
16
+ for (const t of D) m.push(t.group);
17
17
  }
18
- const D = {}, x = [], N = [];
19
- for (const e2 of S) D[e2.group] = e2.target, e2.target && !x.includes(e2.target) && (x.push(e2.target), g.includes(e2.group) && N.push(e2.target));
20
- let E = p.props ? p.props.mulGroupShow : "";
21
- E = "break" == E ? "\r\n" : " ";
22
- for (const t2 of F) {
23
- if (!t2) continue;
24
- const i2 = [];
25
- for (const s3 of g) {
26
- const o2 = D[s3], a2 = e(t2, o2, void 0);
27
- a2 && i2.push(a2);
18
+ const L = {}, S = [], M = [];
19
+ for (const t of D) L[t.group] = t.target, t.target && !S.includes(t.target) && (S.push(t.target), m.includes(t.group) && M.push(t.target));
20
+ let _ = n.props ? n.props.mulGroupShow : "";
21
+ _ = _ == "break" ? `\r
22
+ ` : " ";
23
+ for (const t of r) {
24
+ if (!t) continue;
25
+ const e = [];
26
+ for (const i of m) {
27
+ const o = L[i], a = p(t, o, void 0);
28
+ a && e.push(a);
28
29
  }
29
- const s2 = i2.join(E);
30
- t2[a.X_FIELD_NAME] = s2;
30
+ const s = e.join(_);
31
+ t[h.X_FIELD_NAME] = s;
31
32
  }
32
- const A = p.items ? p.items : [], _ = [], b = {}, w = [], C = {}, I = [], X = [], L = /* @__PURE__ */ new Set(), M = l(A, F, L);
33
- for (const e2 of L) I.push(e2);
34
- for (const e2 of A) {
35
- const t2 = e2.props ? e2.props : {}, i2 = t2.yaxisSource, s2 = t2.yaxisField, o2 = t2.isCumulative;
36
- let a2 = null;
37
- if (!s2 || i2 && "variable" != i2) if ("formula" == i2) {
38
- let i3 = t2.formula ? t2.formula : "";
39
- for (const e3 in M) i3 = i3.replace(new RegExp(e3.replace("$", "\\$"), "g"), M[e3]);
40
- a2 = { uuid: e2.uuid, type: "formula", formula: i3, data: [], dynamicDatas: [] };
41
- } else a2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [], dynamicDatas: [] };
42
- else a2 = { uuid: e2.uuid, type: "variable", field: s2, isCumulative: o2, data: [], dynamicDatas: [] }, s2 && !I.includes(s2) && I.push(s2), s2 && !X.includes(s2) && X.push(s2), o2 && !L.has(s2) && L.add(s2);
43
- null != a2 && (_.push(a2), b[e2.uuid] = a2), t2.dynamicSeriesField && !w.includes(t2.dynamicSeriesField) && a2 && (a2.dynamicField = t2.dynamicSeriesField, a2.dynamicSeriesTitle = t2.dynamicSeriesTitle, a2.dynamicShowStack = t2.dynamicShowStack, w.push(t2.dynamicSeriesField), C[t2.dynamicSeriesField] = s2);
33
+ const k = n.items ? n.items : [], T = [], G = {}, x = [], $ = {}, N = [], E = [], y = /* @__PURE__ */ new Set(), R = J(k, r, y);
34
+ for (const t of y) N.push(t);
35
+ for (const t of k) {
36
+ const e = t.props ? t.props : {}, s = e.yaxisSource, i = e.yaxisField, o = e.isCumulative;
37
+ let a = null;
38
+ if (!i || s && s != "variable") if (s == "formula") {
39
+ let l = e.formula ? e.formula : "";
40
+ for (const u in R) l = l.replace(new RegExp(u.replace("$", "\\$"), "g"), R[u]);
41
+ a = { uuid: t.uuid, type: "formula", formula: l, 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: o, data: [], dynamicDatas: [] }, i && !N.includes(i) && N.push(i), i && !E.includes(i) && E.push(i), o && !y.has(i) && y.add(i);
44
+ a != null && (T.push(a), G[t.uuid] = a), e.dynamicSeriesField && !x.includes(e.dynamicSeriesField) && a && (a.dynamicField = e.dynamicSeriesField, a.dynamicSeriesTitle = e.dynamicSeriesTitle, a.dynamicShowStack = e.dynamicShowStack, x.push(e.dynamicSeriesField), $[e.dynamicSeriesField] = i);
44
45
  }
45
- const j = {};
46
- if (w.length > 0) {
47
- const t2 = [], i2 = {};
48
- for (const s2 of F) if (s2) for (const o2 of I) {
49
- const l2 = s2[a.X_FIELD_NAME];
50
- let n2 = i2[l2];
51
- if (!n2) {
52
- n2 = {};
53
- for (const e2 of x) n2[e2] = s2[e2];
54
- n2[a.X_FIELD_NAME] = s2[a.X_FIELD_NAME], i2[l2] = n2, t2.push(n2);
46
+ const b = {};
47
+ if (x.length > 0) {
48
+ const t = [], e = {};
49
+ for (const s of r) if (s) for (const i of N) {
50
+ const o = s[h.X_FIELD_NAME];
51
+ let a = e[o];
52
+ if (!a) {
53
+ a = {};
54
+ for (const u of S) a[u] = s[u];
55
+ a[h.X_FIELD_NAME] = s[h.X_FIELD_NAME], e[o] = a, t.push(a);
55
56
  }
56
- let r2 = e(s2, o2, void 0);
57
- if (!isNaN(r2)) {
58
- const e2 = n2[o2];
59
- isNaN || (r2 += e2), n2[o2] = r2;
57
+ let l = p(s, i, void 0);
58
+ if (!isNaN(l)) {
59
+ const u = a[i];
60
+ isNaN || (l += u), a[i] = l;
60
61
  }
61
62
  }
62
- for (const t3 of w) {
63
- const s2 = [];
64
- for (const o2 of F) {
65
- if (!o2) continue;
66
- const l2 = i2[o2[a.X_FIELD_NAME]];
67
- if (!l2) continue;
68
- let n2 = e(o2, t3, void 0);
69
- n2 = null == n2 || null == n2 ? "" : n2, s2.includes(n2) || (s2.push(n2), X.push(n2), L.add(n2));
70
- const r2 = C[t3];
71
- if (void 0 !== r2) {
72
- const t4 = e(o2, r2, void 0);
73
- let i3 = l2[n2];
74
- void 0 === i3 ? i3 = t4 : isNaN(t4) || (i3 += t4), l2[n2] = i3;
63
+ for (const s of x) {
64
+ const i = [];
65
+ for (const o of r) {
66
+ if (!o) continue;
67
+ const a = e[o[h.X_FIELD_NAME]];
68
+ if (!a) continue;
69
+ let l = p(o, s, void 0);
70
+ l = l == null || l == null ? "" : l, i.includes(l) || (i.push(l), E.push(l), y.add(l));
71
+ const u = $[s];
72
+ if (u !== void 0) {
73
+ const w = p(o, u, void 0);
74
+ let C = a[l];
75
+ C === void 0 ? C = w : isNaN(w) || (C += w), a[l] = C;
75
76
  }
76
77
  }
77
- j[t3] = s2;
78
+ b[s] = i;
78
79
  }
79
- F = t2;
80
+ r = t;
80
81
  }
81
- n(f2, p, F), F = r(f2, p, F, x, X);
82
- const k = [], T = {};
83
- for (const t2 of F) if (t2) {
84
- for (const i2 of L) {
85
- const s2 = e(t2, i2, void 0);
86
- let o2 = T[i2];
87
- void 0 === s2 || isNaN(s2) || (void 0 === o2 ? o2 = s2 : o2 += s2), T[i2] = o2;
82
+ K(f, n, r), r = P(f, n, r, S, E);
83
+ const V = [], F = {};
84
+ for (const t of r) if (t) {
85
+ for (const e of y) {
86
+ const s = p(t, e, void 0);
87
+ let i = F[e];
88
+ s === void 0 || isNaN(s) || (i === void 0 ? i = s : i += s), F[e] = i;
88
89
  }
89
- k.push(t2[a.X_FIELD_NAME]);
90
- for (const i2 of _) {
91
- let s2 = i2.data;
92
- const o2 = i2.dynamicDatas;
93
- if (i2.dynamicField) {
94
- let a2 = j[i2.dynamicField];
95
- a2 = a2 || [];
96
- for (let l2 = 0; l2 < a2.length; l2++) {
97
- l2 >= o2.length && o2.push([]), s2 = o2[l2];
98
- const n2 = a2[l2];
99
- let r2 = e(t2, n2, void 0);
100
- i2.isCumulative && (r2 = T[n2]), s2.push(r2);
90
+ V.push(t[h.X_FIELD_NAME]);
91
+ for (const e of T) {
92
+ let s = e.data;
93
+ const i = e.dynamicDatas;
94
+ if (e.dynamicField) {
95
+ let o = b[e.dynamicField];
96
+ o = o || [];
97
+ for (let a = 0; a < o.length; a++) {
98
+ a >= i.length && i.push([]), s = i[a];
99
+ const l = o[a];
100
+ let u = p(t, l, void 0);
101
+ e.isCumulative && (u = F[l]), s.push(u);
101
102
  }
102
- } else if ("fixed" === i2.type) s2.push(i2.field);
103
- else if ("variable" === i2.type) {
104
- let o3 = e(t2, i2.field, void 0);
105
- i2.isCumulative && (o3 = T[i2.field]), s2.push(o3);
106
- } else if ("formula" === i2.type) {
107
- const e2 = u(i2.formula, T, t2, f2);
108
- s2.push(e2);
109
- } else s2.push(void 0);
103
+ } else if (e.type === "fixed") s.push(e.field);
104
+ else if (e.type === "variable") {
105
+ let o = p(t, e.field, void 0);
106
+ e.isCumulative && (o = F[e.field]), s.push(o);
107
+ } else if (e.type === "formula") {
108
+ const o = Q(e.formula, F, t, f);
109
+ s.push(o);
110
+ } else s.push(void 0);
110
111
  }
111
112
  }
112
- const V = p.defaultSeries, $ = s(null == V ? [] : V), G = [];
113
- for (const e2 of $) {
114
- const i2 = b[e2.uuid];
115
- if (i2.dynamicField) {
116
- let o2 = j[i2.dynamicField];
117
- o2 = o2 || [];
118
- const a2 = i2.dynamicDatas ? i2.dynamicDatas : [];
119
- for (let l2 = 0; l2 < o2.length; l2++) {
120
- const n2 = o2[l2], r2 = s(e2);
121
- if (i2.dynamicSeriesTitle) {
122
- const e3 = i2.dynamicSeriesTitle.replace("${name}", n2);
123
- r2.name = t(f2, e3);
124
- } else r2.name = n2;
125
- r2.data = l2 < a2.length ? a2[l2] : [], "bar" == e2.type && i2.dynamicShowStack && (r2.stack = e2.uuid), G.push(r2);
113
+ const U = n.defaultSeries, Y = B(U ?? []), I = [];
114
+ for (const t of Y) {
115
+ const e = G[t.uuid];
116
+ if (e.dynamicField) {
117
+ let s = b[e.dynamicField];
118
+ s = s || [];
119
+ const i = e.dynamicDatas ? e.dynamicDatas : [];
120
+ for (let o = 0; o < s.length; o++) {
121
+ const a = s[o], l = B(t);
122
+ if (e.dynamicSeriesTitle) {
123
+ const u = e.dynamicSeriesTitle.replace("${name}", a);
124
+ l.name = q(f, u);
125
+ } else l.name = a;
126
+ l.data = o < i.length ? i[o] : [], t.type == "bar" && e.dynamicShowStack && (l.stack = t.uuid), I.push(l);
126
127
  }
127
- } else e2.data = i2 ? i2.data : [], G.push(e2);
128
+ } else t.data = e ? e.data : [], I.push(t);
128
129
  }
129
- m.series = G;
130
- const R = p.defaultXaxis, U = p.defaultYaxis;
131
- if (m.isBar) {
132
- if (U) for (const e2 of U) e2.data = k;
133
- m.xAxis = R, m.yAxis = U;
134
- } else R && R.length > 0 && (R[0].data = k), m.xAxis = R, m.yAxis = U;
135
- c(m);
136
- const B = p.props ? p.props.selGroupVariable : null;
137
- !(p.props ? p.props.enableDrill : null) && B && (p.highlightInfos = [], i(f2.entity, B, null)), d(f2, p, "afterUpdateChart", m, { resultData: h }), p.groupFields = N, p.cacheDatas = F, p.rawResult = h;
130
+ d.series = I;
131
+ const v = n.defaultXaxis, A = n.defaultYaxis;
132
+ if (d.isBar) {
133
+ if (A) for (const t of A) t.data = V;
134
+ d.xAxis = v, d.yAxis = A;
135
+ } else v && v.length > 0 && (v[0].data = V), d.xAxis = v, d.yAxis = A;
136
+ W(d);
137
+ const j = n.props ? n.props.selGroupVariable : null;
138
+ !(n.props && n.props.enableDrill) && j && (n.highlightInfos = [], z(f.entity, j, null)), O(f, n, "afterUpdateChart", d, { resultData: c }), n.groupFields = M, n.cacheDatas = r, n.rawResult = c;
138
139
  }
139
140
  export {
140
- f as updateChartOption
141
+ ie as updateChartOption
141
142
  };
@@ -1,38 +1,38 @@
1
- import { formatVariableValue as e, getValueFromSource as t } from "../page-helper-util.mjs";
2
- import { deepCopy as o } from "../common-util.mjs";
3
- import { setDefaultGrid as r, formatToolboxI18n as s } from "./chart-util.mjs";
4
- import { handleChartEvent as l } from "../events/event-util.mjs";
5
- function i(i2, p, a, n) {
6
- if (!n || !n.result) return;
7
- l(i2, p, "beforeUpdateChart", a, { resultData: n }), r(a);
8
- const u = n && n.result ? n.result : {}, m = p.serviceDataField;
9
- let c = null;
10
- m ? c = u[m] : u && (c = [u]), c || (c = []);
11
- const d = p.props ? p.props.nameSource : void 0, f = p.props ? p.props.nameField : void 0, h = p.props ? p.props.nameFixed : void 0, v = p.props ? p.props.yaxisField : void 0, g = [f], F = [], j = [];
12
- for (const o2 of c) {
13
- if (!o2) continue;
14
- let r2 = null;
15
- r2 = "fixed" == d ? e(i2, h) : t(o2, f, void 0), F.push(r2);
16
- const s2 = t(o2, v, void 0);
17
- j.push(s2);
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
18
  }
19
- const x = p.defaultSeries;
20
- let C = x[0].pieColors;
21
- C = C || [];
22
- let D = x[0].pieColorMap;
23
- D = D || {};
24
- const S = [];
25
- for (let e2 = 0; e2 < F.length && e2 < j.length; e2++) {
26
- const t2 = { value: j[e2], name: F[e2] };
27
- if (e2 < C.length || D[t2.name]) {
28
- let o2 = D[t2.name];
29
- o2 || (o2 = C[e2]), o2 && (t2.itemStyle = { color: o2 });
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
30
  }
31
- S.push(t2);
31
+ v.push(r);
32
32
  }
33
- const y = o(x);
34
- y[0].data = S, a.series = [y[0]], s(a), l(i2, p, "afterUpdateChart", a, { resultData: n }), p.groupFields = g, p.cacheDatas = c, p.rawResult = n;
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
35
  }
36
36
  export {
37
- i as updateChartOption
37
+ M as updateChartOption
38
38
  };
@@ -1,82 +1,83 @@
1
- import { getValueFromSource as o, setValueForVariableName as t } from "../page-helper-util.mjs";
2
- import { deepCopy as e } from "../common-util.mjs";
3
- import { setDefaultGrid as r, CommonName as s, caculateFormulaValue as l, executeChartFormula as n, sortDatas as p, limitDatas as i, formatToolboxI18n as a } from "./chart-util.mjs";
4
- import { handleChartEvent as u } from "../events/event-util.mjs";
5
- function c(c2, f, m, g) {
6
- if (!g || !g.result) return;
7
- u(c2, f, "beforeUpdateChart", m, { resultData: g }), r(m);
8
- const h = g && g.result ? g.result : {};
9
- let d = g && g.groupValue ? g.groupValue : void 0;
10
- const y = f.serviceDataField;
11
- let v = null;
12
- y ? v = h[y] : h && (v = Array.isArray(h) ? h : [h]), v || (v = []);
13
- let x = f.props ? f.props.groups : null;
14
- if (x || (x = []), !d || 0 === d.length) {
15
- d = [];
16
- for (const o2 of x) d.push(o2.group);
1
+ import { getValueFromSource as b, setValueForVariableName as R } from "../page-helper-util.mjs";
2
+ import { deepCopy as T } from "../common-util.mjs";
3
+ import { setDefaultGrid as U, CommonName as _, caculateFormulaValue as X, executeChartFormula as $, sortDatas as k, limitDatas as O, formatToolboxI18n as P } from "./chart-util.mjs";
4
+ import { handleChartEvent as L } from "../events/event-util.mjs";
5
+ function H(p, t, m, s) {
6
+ if (!s || !s.result) return;
7
+ L(p, t, "beforeUpdateChart", m, { resultData: s }), U(m);
8
+ const h = s && s.result ? s.result : {};
9
+ let u = s && s.groupValue ? s.groupValue : void 0;
10
+ const A = t.serviceDataField;
11
+ let e = null;
12
+ A ? e = h[A] : h && (e = Array.isArray(h) ? h : [h]), e || (e = []);
13
+ let f = t.props ? t.props.groups : null;
14
+ if (f || (f = []), !u || u.length === 0) {
15
+ u = [];
16
+ for (const o of f) u.push(o.group);
17
17
  }
18
- const D = {}, E = [], F = [];
19
- for (const o2 of x) D[o2.group] = o2.target, o2.target && !E.includes(o2.target) && (E.push(o2.target), d.includes(o2.group) && F.push(o2.target));
20
- let S = f.props ? f.props.mulGroupShow : "";
21
- S = "break" == S ? "\r\n" : " ";
22
- for (const t2 of v) {
23
- if (!t2) continue;
24
- const e2 = [];
25
- for (const r3 of d) {
26
- const s2 = D[r3], l2 = o(t2, s2, void 0);
27
- l2 && e2.push(l2);
18
+ const M = {}, v = [], I = [];
19
+ for (const o of f) M[o.group] = o.target, o.target && !v.includes(o.target) && (v.push(o.target), u.includes(o.group) && I.push(o.target));
20
+ let C = t.props ? t.props.mulGroupShow : "";
21
+ C = C == "break" ? `\r
22
+ ` : " ";
23
+ for (const o of e) {
24
+ if (!o) continue;
25
+ const r = [];
26
+ for (const d of u) {
27
+ const l = M[d], x = b(o, l, void 0);
28
+ x && r.push(x);
28
29
  }
29
- const r2 = e2.join(S);
30
- t2[s.X_FIELD_NAME] = r2;
30
+ const a = r.join(C);
31
+ o[_.X_FIELD_NAME] = a;
31
32
  }
32
- const _ = f.items ? f.items : [];
33
- if (0 == _.length) return;
34
- const j = f.props ? f.props : {};
35
- let A = j.yaxisField;
36
- if (_[0].props.yaxisField = A, _[0].props.yaxisSource = j.yaxisSource, _[0].props.formula = j.formula, "formula" === j.yaxisSource) {
37
- const t2 = [], e2 = l(_, v, t2);
38
- let r2 = j.formula ? j.formula : "";
39
- for (const o2 in e2) r2 = r2.replace(new RegExp(o2.replace("$", "\\$"), "g"), e2[o2]);
40
- A = s.Y_TEMP_NAME;
41
- const p2 = {};
42
- for (const e3 of v) {
43
- if (!e3) continue;
44
- for (const r3 of t2) {
45
- const t3 = o(e3, r3, void 0);
46
- let s3 = p2[r3];
47
- void 0 === t3 || isNaN(t3) || (void 0 === s3 ? s3 = t3 : s3 += t3), p2[r3] = s3;
33
+ const n = t.items ? t.items : [];
34
+ if (n.length == 0) return;
35
+ const i = t.props ? t.props : {};
36
+ let c = i.yaxisField;
37
+ if (n[0].props.yaxisField = c, n[0].props.yaxisSource = i.yaxisSource, n[0].props.formula = i.formula, i.yaxisSource === "formula") {
38
+ const o = [], r = X(n, e, o);
39
+ let a = i.formula ? i.formula : "";
40
+ for (const l in r) a = a.replace(new RegExp(l.replace("$", "\\$"), "g"), r[l]);
41
+ c = _.Y_TEMP_NAME;
42
+ const d = {};
43
+ for (const l of e) {
44
+ if (!l) continue;
45
+ for (const V of o) {
46
+ const F = b(l, V, void 0);
47
+ let D = d[V];
48
+ F === void 0 || isNaN(F) || (D === void 0 ? D = F : D += F), d[V] = D;
48
49
  }
49
- const s2 = n(r2, p2, e3, c2);
50
- e3[A] = s2;
50
+ const x = $(a, d, l, p);
51
+ l[c] = x;
51
52
  }
52
53
  }
53
- _[0].props.yaxisField = A, _[0].props.yaxisSource = "", p(c2, f, v), v = i(c2, f, v, E, [A]);
54
- const M = [], N = [];
55
- for (const t2 of v) {
56
- if (!t2) continue;
57
- M.push(t2[s.X_FIELD_NAME]);
58
- const e2 = o(t2, A, void 0);
59
- N.push(e2);
54
+ n[0].props.yaxisField = c, n[0].props.yaxisSource = "", k(p, t, e), e = O(p, t, e, v, [c]);
55
+ const E = [], S = [];
56
+ for (const o of e) {
57
+ if (!o) continue;
58
+ E.push(o[_.X_FIELD_NAME]);
59
+ const r = b(o, c, void 0);
60
+ S.push(r);
60
61
  }
61
- const b = f.defaultSeries;
62
- let C = b[0].pieColors;
63
- C = C || [];
64
- let w = b[0].pieColorMap;
65
- w = w || {};
66
- const I = [];
67
- for (let o2 = 0; o2 < M.length && o2 < N.length; o2++) {
68
- const t2 = { value: N[o2], name: M[o2] };
69
- if (o2 < C.length || w[t2.name]) {
70
- let e2 = w[t2.name];
71
- e2 || (e2 = C[o2]), e2 && (t2.itemStyle = { color: e2 });
62
+ const N = t.defaultSeries;
63
+ let y = N[0].pieColors;
64
+ y = y || [];
65
+ let g = N[0].pieColorMap;
66
+ g = g || {};
67
+ const w = [];
68
+ for (let o = 0; o < E.length && o < S.length; o++) {
69
+ const r = { value: S[o], name: E[o] };
70
+ if (o < y.length || g[r.name]) {
71
+ let a = g[r.name];
72
+ a || (a = y[o]), a && (r.itemStyle = { color: a });
72
73
  }
73
- I.push(t2);
74
+ w.push(r);
74
75
  }
75
- const V = e(b);
76
- V[0].data = I, m.series = [V[0]], a(m);
77
- const G = f.props ? f.props.selGroupVariable : null;
78
- !(f.props ? f.props.enableDrill : null) && G && (f.highlightInfos = [], t(c2.entity, G, null)), u(c2, f, "afterUpdateChart", m, { resultData: g }), f.groupFields = F, f.cacheDatas = v, f.rawResult = g;
76
+ const G = T(N);
77
+ G[0].data = w, m.series = [G[0]], P(m);
78
+ const j = t.props ? t.props.selGroupVariable : null;
79
+ !(t.props && t.props.enableDrill) && j && (t.highlightInfos = [], R(p.entity, j, null)), L(p, t, "afterUpdateChart", m, { resultData: s }), t.groupFields = I, t.cacheDatas = e, t.rawResult = s;
79
80
  }
80
81
  export {
81
- c as updateChartOption
82
+ H as updateChartOption
82
83
  };
@@ -1,56 +1,56 @@
1
- import { getValueFromSource as e } from "../page-helper-util.mjs";
2
- import { deepCopy as t } from "../common-util.mjs";
3
- import { setDefaultGrid as o, caculateFormulaValue as a, executeChartFormula as i, formatToolboxI18n as r } from "./chart-util.mjs";
4
- import { handleChartEvent as s } from "../events/event-util.mjs";
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);
1
+ import { getValueFromSource as n } from "../page-helper-util.mjs";
2
+ import { deepCopy as V } from "../common-util.mjs";
3
+ import { setDefaultGrid as $, caculateFormulaValue as j, executeChartFormula as G, formatToolboxI18n as I } from "./chart-util.mjs";
4
+ import { handleChartEvent as w } from "../events/event-util.mjs";
5
+ function z(c, r, u, s) {
6
+ if (!s || !s.result) return;
7
+ w(c, r, "beforeUpdateChart", u, { resultData: s }), $(u);
8
+ const p = s && s.result ? s.result : {}, x = r.serviceDataField;
9
+ let l = null;
10
+ x ? l = p[x] : p && (l = Array.isArray(p) ? p : [p]), l || (l = []);
11
+ const v = r.items ? r.items : [], h = [], y = {}, F = [], b = j(v, l, F);
12
+ for (const a of v) {
13
+ const i = a.props ? a.props : {}, f = i.yaxisSource, t = i.yaxisField;
14
+ let e = null;
15
+ if (!t || f && f != "variable") if (f == "formula") {
16
+ let o = i.formula ? i.formula : "";
17
+ for (const g in b) o = o.replace(new RegExp(g.replace("$", "\\$"), "g"), b[g]);
18
+ e = { uuid: a.uuid, type: "formula", formula: o, data: [] };
19
+ } else e = { uuid: a.uuid, type: "fixed", field: i.yaxisFix, data: [] };
20
+ else e = { uuid: a.uuid, type: "variable", field: t, data: [] };
21
+ e && (h.push(e), y[e.uuid] = e);
22
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;
23
+ const d = r.props ? r.props : {}, A = d.nameField, C = d.maxSource, N = d.maxField, E = d.maxFixed, D = [], m = {};
24
+ for (const a of l) {
25
+ if (!a) continue;
26
+ const i = n(a, A, void 0);
27
+ let f = null;
28
+ f = C && C != "variable" ? E : n(a, N, void 0), D.push({ text: i, max: f });
29
+ for (const t of F) {
30
+ const e = n(a, t, void 0);
31
+ let o = m[t];
32
+ e === void 0 || isNaN(e) || (o === void 0 ? o = e : o += e), m[t] = o;
33
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);
34
+ for (const t of h) {
35
+ const e = t.data;
36
+ if (t.type == "fixed") e.push(t.field);
37
+ else if (t.type == "variable") {
38
+ const o = n(a, t.field, void 0);
39
+ e.push(o);
40
+ } else if (t.type == "formula") {
41
+ const o = G(t.formula, m, a, c);
42
+ e.push(o);
43
+ } else e.push(void 0);
44
44
  }
45
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;
46
+ u.radar[0].indicator = D, I(u);
47
+ const R = r.defaultSeries, S = V(R), U = S[0].data;
48
+ for (const a of U) {
49
+ const i = y[a.uuid];
50
+ a.value = i.data;
51
51
  }
52
- f.series = C, s(l2, u, "afterUpdateChart", f, { resultData: d }), u.cacheDatas = c, u.rawResult = d;
52
+ u.series = S, w(c, r, "afterUpdateChart", u, { resultData: s }), r.cacheDatas = l, r.rawResult = s;
53
53
  }
54
54
  export {
55
- l as updateChartOption
55
+ z as updateChartOption
56
56
  };