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