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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  3. package/dist/es/components/runtime/utils/anchor-util.js +84 -0
  4. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
  5. package/dist/es/components/runtime/utils/api/api-util.js +7 -0
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
  7. package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
  8. package/dist/es/components/runtime/utils/barcode-util.js +12 -0
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +168 -0
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +38 -0
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +82 -0
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +56 -0
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +47 -0
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +288 -0
  15. package/dist/es/components/runtime/utils/common-util.js +120 -0
  16. package/dist/es/components/runtime/utils/eventBus.js +8 -0
  17. package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
  18. package/dist/es/components/runtime/utils/events/event-util.js +447 -0
  19. package/dist/es/components/runtime/utils/events/print-label.js +100 -0
  20. package/dist/es/components/runtime/utils/events/standard-event.js +1226 -0
  21. package/dist/es/components/runtime/utils/events/validator-util.js +485 -0
  22. package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
  23. package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
  24. package/dist/es/components/runtime/utils/global-refs.js +57 -0
  25. package/dist/es/components/runtime/utils/i18n-util.js +18 -0
  26. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
  27. package/dist/es/components/runtime/utils/page-helper-util.js +391 -0
  28. package/dist/es/components/runtime/utils/page-init-util.js +297 -0
  29. package/dist/es/components/runtime/utils/{page-permission-util.mjs → page-permission-util.js} +21 -20
  30. package/dist/es/components/runtime/utils/page-store.js +53 -0
  31. package/dist/es/components/runtime/utils/store-util.js +13 -0
  32. package/dist/es/components/runtime/utils/table-utils.js +89 -0
  33. package/dist/es/components/runtime/utils/tree-utils.js +73 -0
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.js +21 -0
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.js +41 -0
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +6 -0
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +21 -0
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.js +53 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.js +4 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.js +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.js +4 -0
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.js +64 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +94 -0
  55. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.js +35 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.js +46 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.js +35 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.js +35 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +430 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.js +4 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.js +4 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +46 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +4 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +17 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.js +268 -0
  75. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +20 -0
  76. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
  78. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.js +4 -0
  79. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  80. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +4 -0
  81. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  82. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +4 -0
  83. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +17 -0
  84. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +4 -0
  85. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +4 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +4 -0
  89. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
  90. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.js +4 -0
  91. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
  92. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.js +4 -0
  93. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
  94. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.js +35 -0
  95. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.js +21 -0
  97. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +7 -0
  98. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
  99. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
  100. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +29 -0
  101. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.js +81 -0
  103. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  104. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.js +25 -0
  105. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  106. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.js +25 -0
  107. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  108. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.js +46 -0
  109. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
  110. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  111. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.js +47 -0
  113. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  114. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.js +69 -0
  115. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +383 -0
  116. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +339 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.js +4 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.js +90 -0
  121. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
  122. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  123. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
  124. package/dist/es/components/runtime/views/assemblys/error-render2.vue.js +4 -0
  125. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  126. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.js +66 -0
  127. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
  128. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.js +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
  130. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.js +69 -0
  131. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  133. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  134. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.js +55 -0
  135. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  136. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.js +24 -0
  137. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  138. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.js +115 -0
  139. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
  140. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +91 -0
  141. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  142. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.js +28 -0
  143. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +81 -0
  145. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +7 -0
  146. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +38 -0
  147. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  148. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.js +43 -0
  149. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
  150. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.js +16 -0
  151. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.js +84 -0
  153. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +8 -0
  154. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  155. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +7 -0
  156. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +156 -0
  157. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.js +16 -0
  159. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.js +36 -0
  161. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.js +44 -0
  163. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +7 -0
  164. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
  165. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
  166. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +4 -0
  167. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +166 -0
  168. package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +4 -0
  169. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +9 -0
  170. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +4 -0
  171. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +7 -0
  172. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  173. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +7 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  175. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js +20 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js +23 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.js +32 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.js +27 -0
  185. package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
  186. package/dist/es/components/runtime/views/home-chart2.vue.js +4 -0
  187. package/dist/es/components/runtime/views/super-page-dialog.vue.js +30 -0
  188. package/dist/es/components/runtime/views/super-page-dialog3.vue.js +5 -0
  189. package/dist/es/components/runtime/views/super-page.vue.js +7 -0
  190. package/dist/es/components/runtime/views/super-page2.vue.js +311 -0
  191. package/dist/es/index.js +32 -0
  192. package/dist/es/style.css +1052 -1
  193. package/package.json +11 -13
  194. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -8
  195. package/dist/es/components/runtime/utils/ai-chat-util.mjs +0 -16
  196. package/dist/es/components/runtime/utils/anchor-util.mjs +0 -83
  197. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -12
  198. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +0 -196
  199. package/dist/es/components/runtime/utils/assemblys-config.mjs +0 -19
  200. package/dist/es/components/runtime/utils/barcode-util.mjs +0 -12
  201. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +0 -169
  202. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +0 -38
  203. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +0 -83
  204. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +0 -56
  205. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +0 -47
  206. package/dist/es/components/runtime/utils/charts/chart-util.mjs +0 -285
  207. package/dist/es/components/runtime/utils/common-util.mjs +0 -116
  208. package/dist/es/components/runtime/utils/eventBus.mjs +0 -8
  209. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +0 -38
  210. package/dist/es/components/runtime/utils/events/event-util.mjs +0 -429
  211. package/dist/es/components/runtime/utils/events/print-label.mjs +0 -100
  212. package/dist/es/components/runtime/utils/events/standard-event.mjs +0 -1170
  213. package/dist/es/components/runtime/utils/events/validator-util.mjs +0 -462
  214. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +0 -36
  215. package/dist/es/components/runtime/utils/form/scan-util.mjs +0 -88
  216. package/dist/es/components/runtime/utils/global-refs.mjs +0 -57
  217. package/dist/es/components/runtime/utils/i18n-util.mjs +0 -14
  218. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +0 -4
  219. package/dist/es/components/runtime/utils/page-helper-util.mjs +0 -381
  220. package/dist/es/components/runtime/utils/page-init-util.mjs +0 -281
  221. package/dist/es/components/runtime/utils/page-store.mjs +0 -53
  222. package/dist/es/components/runtime/utils/store-util.mjs +0 -13
  223. package/dist/es/components/runtime/utils/table-utils.mjs +0 -84
  224. package/dist/es/components/runtime/utils/tree-utils.mjs +0 -68
  225. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +0 -4
  226. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +0 -29
  227. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +0 -7
  228. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +0 -21
  229. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +0 -4
  230. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +0 -41
  231. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +0 -4
  232. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +0 -6
  233. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +0 -4
  234. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +0 -21
  235. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +0 -7
  236. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +0 -53
  237. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +0 -14
  238. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +0 -4
  239. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +0 -13
  240. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +0 -4
  241. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +0 -59
  242. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +0 -4
  243. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +0 -7
  244. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +0 -59
  245. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +0 -93
  246. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +0 -4
  247. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +0 -7
  248. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +0 -35
  249. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +0 -7
  250. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +0 -46
  251. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +0 -7
  252. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +0 -35
  253. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +0 -7
  254. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +0 -35
  255. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +0 -425
  256. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +0 -6
  257. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +0 -4
  258. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +0 -10
  259. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +0 -4
  260. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +0 -42
  261. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +0 -4
  262. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +0 -17
  263. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +0 -4
  264. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +0 -4
  265. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +0 -261
  266. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +0 -20
  267. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +0 -4
  268. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +0 -35
  269. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +0 -4
  270. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +0 -34
  271. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +0 -4
  272. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +0 -27
  273. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +0 -4
  274. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +0 -17
  275. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +0 -4
  276. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +0 -22
  277. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +0 -4
  278. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +0 -18
  279. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +0 -4
  280. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +0 -35
  281. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +0 -4
  282. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +0 -19
  283. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +0 -4
  284. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +0 -7
  285. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +0 -35
  286. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +0 -4
  287. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +0 -21
  288. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +0 -7
  289. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +0 -27
  290. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +0 -7
  291. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +0 -29
  292. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +0 -7
  293. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +0 -81
  294. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +0 -4
  295. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +0 -25
  296. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +0 -4
  297. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +0 -25
  298. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +0 -4
  299. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +0 -43
  300. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +0 -7
  301. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +0 -96
  302. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +0 -7
  303. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +0 -47
  304. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +0 -4
  305. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +0 -69
  306. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +0 -362
  307. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +0 -4
  308. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +0 -329
  309. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +0 -4
  310. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +0 -4
  311. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +0 -90
  312. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +0 -7
  313. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +0 -133
  314. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +0 -5
  315. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +0 -4
  316. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +0 -4
  317. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +0 -65
  318. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +0 -36
  319. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +0 -4
  320. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +0 -4
  321. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +0 -69
  322. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +0 -4
  323. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +0 -102
  324. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +0 -4
  325. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +0 -55
  326. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +0 -4
  327. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +0 -24
  328. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +0 -4
  329. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +0 -111
  330. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +0 -4
  331. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +0 -88
  332. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +0 -4
  333. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +0 -28
  334. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +0 -4
  335. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +0 -79
  336. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +0 -7
  337. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +0 -37
  338. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +0 -4
  339. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +0 -42
  340. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +0 -7
  341. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +0 -16
  342. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +0 -4
  343. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +0 -84
  344. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +0 -8
  345. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +0 -215
  346. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +0 -7
  347. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +0 -150
  348. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +0 -4
  349. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +0 -16
  350. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +0 -4
  351. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +0 -36
  352. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +0 -4
  353. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +0 -43
  354. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +0 -7
  355. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +0 -28
  356. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +0 -83
  357. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +0 -4
  358. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +0 -163
  359. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +0 -4
  360. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +0 -9
  361. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +0 -4
  362. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +0 -7
  363. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +0 -56
  364. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +0 -7
  365. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +0 -29
  366. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +0 -7
  367. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +0 -45
  368. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +0 -4
  369. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +0 -20
  370. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +0 -4
  371. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +0 -23
  372. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +0 -7
  373. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +0 -30
  374. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +0 -4
  375. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +0 -27
  376. package/dist/es/components/runtime/views/home-chart.vue.mjs +0 -46
  377. package/dist/es/components/runtime/views/home-chart2.vue.mjs +0 -4
  378. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +0 -30
  379. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +0 -5
  380. package/dist/es/components/runtime/views/super-page.vue.mjs +0 -7
  381. package/dist/es/components/runtime/views/super-page2.vue.mjs +0 -307
  382. package/dist/es/index.mjs +0 -32
  383. /package/dist/es/assets/chart-themes/{bar-theme.mjs → bar-theme.js} +0 -0
  384. /package/dist/es/assets/chart-themes/{gauge-theme.mjs → gauge-theme.js} +0 -0
  385. /package/dist/es/assets/chart-themes/{pie-theme.mjs → pie-theme.js} +0 -0
  386. /package/dist/es/assets/chart-themes/{radar-theme.mjs → radar-theme.js} +0 -0
  387. /package/dist/es/assets/chart-themes/{scatter-theme.mjs → scatter-theme.js} +0 -0
  388. /package/dist/es/assets/{file.png.mjs → file.png.js} +0 -0
  389. /package/dist/es/assets/{folder.png.mjs → folder.png.js} +0 -0
  390. /package/dist/es/components/runtime/utils/{store.mjs → store.js} +0 -0
  391. /package/dist/es/i18n/langs/{cn.mjs → cn.js} +0 -0
  392. /package/dist/es/i18n/langs/{en.mjs → en.js} +0 -0
@@ -1,83 +0,0 @@
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
- }
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);
29
- }
30
- const a = r.join(C);
31
- o[_.X_FIELD_NAME] = a;
32
- }
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;
49
- }
50
- const x = $(a, d, l, p);
51
- l[c] = x;
52
- }
53
- }
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);
61
- }
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 });
73
- }
74
- w.push(r);
75
- }
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;
80
- }
81
- export {
82
- H as updateChartOption
83
- };
@@ -1,56 +0,0 @@
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
- }
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
- }
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
- }
45
- }
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
- }
52
- u.series = S, w(c, r, "afterUpdateChart", u, { resultData: s }), r.cacheDatas = l, r.rawResult = s;
53
- }
54
- export {
55
- z as updateChartOption
56
- };
@@ -1,47 +0,0 @@
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
- }
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
- }
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
- }
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
- }
37
- }
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
- }
43
- l.series = v, A(l), z(f, t, "afterUpdateChart", l, { resultData: r }), t.cacheDatas = i, t.rawResult = r;
44
- }
45
- export {
46
- V as updateChartOption
47
- };
@@ -1,285 +0,0 @@
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 _ from "../../../../assets/chart-themes/scatter-theme.mjs";
6
- import { getDefaultValue as C } from "../page-init-util.mjs";
7
- import { getValueFromSource as h, setValueForVariableName as x, getParamNames as N, getValueFromVariable as k, formatVariableValue as v, setVariableValue as A } 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" ? _[e] : b[e];
13
- }
14
- function z() {
15
- return [{ value: "theme1", label: "主题1" }, { value: "theme2", label: "主题2" }, { value: "theme3", label: "主题3" }];
16
- }
17
- function I(e, t, a, i, r) {
18
- return function(o) {
19
- let n = o == null ? void 0 : o.value;
20
- if (r && (n = o), n == null || n == null || Array.isArray(n) || isNaN(n) || !e || !e.indexOf) return n;
21
- if (e.indexOf("precision") > -1) {
22
- let c = parseInt(t);
23
- (c == null || isNaN(c)) && (c = 2), n = parseFloat(parseFloat(n).toFixed(c));
24
- }
25
- let s = "";
26
- e.indexOf("prefix") > -1 && a && (s = a);
27
- let l = "";
28
- return e.indexOf("append") > -1 && i && (l = i), s + n.toLocaleString() + l;
29
- };
30
- }
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 n of t.series) t.radar || (n.data = []), n.labelFormatterArgs && (n.label || (n.label = {}), n.label.formatter = I.apply(n, n.labelFormatterArgs)), !o && e.clickSet && e.clickSet.selected && n.emphasis && (n.emphasis.disabled = !1), n.type === "pie" && e.clickSet && e.clickSet.selected && (e.clickSet.multiple ? n.selectedMode = "multiple" : n.selectedMode = "single");
36
- }
37
- if (t.radar) for (const o of t.radar) o.indicator = [];
38
- const a = t.series;
39
- e.defaultSeries = a;
40
- const i = t.xAxis;
41
- i && i.length > 0 && i[0].data && (i[0].data = []), e.defaultXaxis = i;
42
- const r = t.yAxis;
43
- if (r) for (const o of r) o.data && (o.data = []), o._dataMin === "auto" && (o.min = function(n) {
44
- if (n.min) return 10 * Math.floor(n.min / 10);
45
- }), o._dataMax === "auto" && (o.max = function(n) {
46
- if (n.max) return 10 * Math.ceil(n.max / 10);
47
- });
48
- e.defaultYaxis = r;
49
- }
50
- function J(e, t, a) {
51
- if (!(a && t && t.clickSet && e)) return;
52
- const i = t.clickSet;
53
- a.on("click", function(r) {
54
- let o = t.highlightInfos ? t.highlightInfos : [], n = -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 || !i.multiple) {
60
- if (i.selected) {
61
- const u = t.name === "chart-pie" ? "unselect" : "downplay";
62
- a.dispatchAction({ type: u, seriesIndex: c.seriesIndex, dataIndex: c.dataIndex });
63
- }
64
- } else s.push(c);
65
- f && (n = l);
66
- }
67
- o = s;
68
- }
69
- if (n === -1) {
70
- if (i.selected) {
71
- const s = t.name === "chart-pie" ? "select" : "highlight";
72
- a.dispatchAction({ type: s, seriesIndex: r.seriesIndex, dataIndex: r.dataIndex });
73
- }
74
- o.push({ seriesIndex: r.seriesIndex, dataIndex: r.dataIndex });
75
- }
76
- t.highlightInfos = o, F(e, t);
77
- });
78
- }
79
- function Q(e, t, a) {
80
- if (!a || !t || !e) return;
81
- const i = t.highlightInfos ? t.highlightInfos : [];
82
- for (let r = 0; r < i.length; r++) {
83
- const o = i[r], n = t.name === "chart-pie" ? "unselect" : "downplay";
84
- a.dispatchAction({ type: n, seriesIndex: o.seriesIndex, dataIndex: o.dataIndex });
85
- }
86
- t.highlightInfos = [], F(e, t);
87
- }
88
- function F(e, t) {
89
- if (!t.clickSet) return;
90
- const a = t.clickSet, i = a.variables;
91
- if (!i || i.length == 0) return;
92
- const r = t.highlightInfos ? t.highlightInfos : [], o = t.cacheDatas ? t.cacheDatas : [], n = [], s = [];
93
- for (const l of r) s.includes(l.dataIndex) || (s.push(l.dataIndex), l.dataIndex < o.length && n.push(o[l.dataIndex]));
94
- for (const l of i) {
95
- if (!l.fieldName || !l.variable) continue;
96
- const c = [];
97
- for (const f of n) {
98
- const u = h(f, l.fieldName, void 0);
99
- u != null && c.push(u);
100
- }
101
- a.multiple ? x(e.entity, l.variable, c) : x(e.entity, l.variable, c.length > 0 ? c[0] : void 0);
102
- }
103
- }
104
- function U(e, t, a) {
105
- const i = 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 i) 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;
113
- break;
114
- }
115
- if (f == "formula" && c.formula) {
116
- o = l.uuid + "_field";
117
- break;
118
- }
119
- }
120
- }
121
- if (!o) return;
122
- const n = t.props ? t.props.orderSource : "";
123
- let s = t.props ? t.props.orderFix : "";
124
- if (n == "variable") {
125
- const l = t.props ? t.props.orderVariable : "";
126
- s = v(e, l);
127
- }
128
- s = s == "desc" || s == "DESC" ? "desc" : "asc", a.sort((l, c) => {
129
- const f = h(l, o, void 0), u = h(c, o, void 0);
130
- return s === "desc" ? u - f : f - u;
131
- });
132
- }
133
- function q(e, t, a, i, r) {
134
- if (!a) return a;
135
- const o = t.props ? t.props : {};
136
- if (!o.limitQuantity) return a;
137
- let n = null;
138
- if (o.itemNumVariable ? (n = v(e, o.itemNumVariable), n = parseInt(n)) : n = o.itemNumFix ? o.itemNumFix : 10, n == null || n == null || isNaN(n) || a.length < n) return a;
139
- const s = o.overItemAlias, l = [], c = {};
140
- i = i || [], r = r || [];
141
- for (let f = 0; f < a.length; f++) {
142
- const u = a[f];
143
- if (f < n) l.push(u);
144
- else {
145
- if (!s) break;
146
- for (const d of i) {
147
- if (!d) continue;
148
- let p = h(u, d, void 0);
149
- p = p == null || p == null ? "" : p, c[d] || (c[d] = []);
150
- const m = c[d];
151
- m.includes(p) || m.push(p);
152
- }
153
- for (const d of r) {
154
- if (!d) continue;
155
- const p = h(u, d, void 0);
156
- if (isNaN(p)) continue;
157
- const m = c[d];
158
- isNaN(m) ? c[d] = p : c[d] = p + m;
159
- }
160
- }
161
- }
162
- return s && (c.__x = s, l.push(c)), l;
163
- }
164
- function K(e, t, a) {
165
- const i = {};
166
- for (const r of e) {
167
- const o = r.props ? r.props : {};
168
- if (o.yaxisSource === "formula") {
169
- const n = N(o.formula);
170
- for (const s of n) if (!(s in i)) {
171
- if (s.startsWith("${min.")) i[s] = D(t, s.substring(6, s.length - 1));
172
- else if (s.startsWith("${max.")) i[s] = $(t, s.substring(6, s.length - 1));
173
- else if (s.startsWith("${sum.")) i[s] = y(t, s.substring(6, s.length - 1));
174
- else if (s.startsWith("${avg.")) i[s] = E(t, s.substring(6, s.length - 1));
175
- else if (s.startsWith("${add.")) {
176
- const l = s.substring(6, s.length - 1);
177
- a.add(l);
178
- }
179
- }
180
- }
181
- }
182
- return i;
183
- }
184
- function D(e, t) {
185
- let a;
186
- for (const i of e) {
187
- const r = parseFloat(h(i, t, null));
188
- (a === void 0 || !isNaN(r) && r < a) && (a = r);
189
- }
190
- return a;
191
- }
192
- function $(e, t) {
193
- let a;
194
- for (const i of e) {
195
- const r = parseFloat(h(i, t, null));
196
- (a === void 0 || !isNaN(r) && r > a) && (a = r);
197
- }
198
- return a;
199
- }
200
- function y(e, t) {
201
- let a;
202
- for (const i of e) {
203
- const r = parseFloat(h(i, t, null));
204
- a === void 0 ? a = r : isNaN(r) || (a += r);
205
- }
206
- return a;
207
- }
208
- function E(e, t) {
209
- const a = y(e, t);
210
- return a === void 0 || e.length === 0 ? a : parseFloat((a / e.length).toFixed(5));
211
- }
212
- function Z(e, t, a, i) {
213
- if (!e) return;
214
- if (t) for (const n in t) e = e.replace(new RegExp("\\${add." + n + "}", "g"), t[n]);
215
- const r = N(e);
216
- for (const n of r) {
217
- let s = null;
218
- s = n.startsWith("${row.") ? h(a, n.substring(6, n.length - 1), null) : k(i.entity, n), e = e.replace(new RegExp(n.replace("$", "\\$"), "g"), s);
219
- }
220
- e.includes("return ") || (e = "return " + e);
221
- const o = new Function("params", e);
222
- return w(o, i), o({ pageContext: i, row: a });
223
- }
224
- function tt(e, t) {
225
- if (!e || !e.$el) return;
226
- const a = e.$el.getElementsByTagName("canvas");
227
- if (!a || a.length === 0) return;
228
- const i = a[0], r = i.width + ":" + i.height;
229
- return { isTable: !1, fileContent: i.toDataURL(), fileSize: r, title: t == null ? void 0 : t.title };
230
- }
231
- function et(e, t, a) {
232
- const i = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");
233
- let r = !0;
234
- if (i) {
235
- const o = JSON.parse(i);
236
- if (o[a]) {
237
- const n = o[a];
238
- if (Object.keys(n).length > 0) {
239
- r = !1;
240
- for (const s in n) n[s] !== null && n[s] !== void 0 && x(t.entity, s, n[s]);
241
- }
242
- }
243
- }
244
- if (r && e) {
245
- for (const o of e) if (o.prop && o.value) {
246
- const n = C(t, o.value, "input-text", !1), s = o.prop.substring(2, o.prop.length - 1).split(".");
247
- n != null && A(t.entity, s, n);
248
- }
249
- }
250
- }
251
- function nt(e) {
252
- if (e != null && e.grid) {
253
- const t = e.grid, a = (i) => !i || i === "0";
254
- a(t.top) && a(t.right) && a(t.bottom) && a(t.left) && Object.assign(t, { right: "10%", bottom: "60", left: "10%" });
255
- }
256
- }
257
- function at(e) {
258
- var t;
259
- if ((t = e == null ? void 0 : e.toolbox) != null && t.feature) {
260
- const a = e.toolbox.feature;
261
- for (const i in a) a[i].show && (a[i].title = g().t("chartMessage." + i), i === "dataView" && (a[i].lang = [g().t("chartMessage.dataView"), g().t("chartMessage.close"), g().t("chartMessage.refresh")]));
262
- }
263
- }
264
- export {
265
- O as CommonName,
266
- K as caculateFormulaValue,
267
- Q as clearChartSelected,
268
- Z as executeChartFormula,
269
- tt as exportCommonChart,
270
- at as formatToolboxI18n,
271
- E as getAvgValue,
272
- P as getCustomTheme,
273
- z as getCustomThemeOptions,
274
- $ as getMaxValue,
275
- D as getMinValue,
276
- I as getNumFormatter,
277
- y as getSumValue,
278
- G as initChartOption,
279
- q as limitDatas,
280
- J as monitorChartClickToVariable,
281
- nt as setDefaultGrid,
282
- et as setHomeChartInitConfigValue,
283
- U as sortDatas,
284
- F as updateClickVariablesForSelected
285
- };
@@ -1,116 +0,0 @@
1
- import { getSystemBackendUrl as m, getLanguageWithLocale as y } from "agilebuilder-ui";
2
- import { ExpressionEvaluator as h } from "../views/assemblys/chart/table/chart-table-util.mjs";
3
- import { getCustomFunc as b } from "./events/event-util.mjs";
4
- function A(t) {
5
- return typeof Array.isArray == "function" ? Array.isArray(t) : Object.prototype.toString.call(t) === "[object Array]";
6
- }
7
- function O(t, e) {
8
- if (e) return t;
9
- {
10
- const { baseURL: n, projectModel: i } = window.$vueApp.config.globalProperties;
11
- let a = n;
12
- return i === "developing.model" || t && (a = m(t)), a;
13
- }
14
- }
15
- function C(t, e, n, i) {
16
- let a = t;
17
- return t && n && !function(s) {
18
- return s.indexOf("http:") === 0 || s.indexOf("https:") === 0;
19
- }(t) && (a = O(n, i) + "/" + e + t), a;
20
- }
21
- function M(t, e, n) {
22
- if (!t || t.length === 0) return t;
23
- let i = t;
24
- if (Array.isArray(t)) {
25
- t[0].templates && (i = function(f, o, c) {
26
- const d = [];
27
- return f.forEach((u) => {
28
- let g = !0;
29
- if (u.scopeFunc) {
30
- const p = b(o, u.scopeFunc);
31
- p && (g = p.apply(p, [{ pageContext: o, configureObj: c, template: u }]));
32
- } else u.conditions && u.conditions.length > 0 && (g = h.evaluate(o, u.conditions));
33
- g !== !1 && u.templates.forEach((p) => {
34
- d.push({ templateUuid: p.templateUuid, templateName: p.templateName });
35
- });
36
- }), d;
37
- }(t, e, n));
38
- const a = y(), s = [], l = [], r = "~-~-";
39
- return i.forEach((f) => {
40
- const o = f.templateName;
41
- if (o.indexOf(r) > 0) {
42
- const c = o.substring(0, o.indexOf(r)), d = o.substring(o.indexOf(r) + r.length, o.lastIndexOf(r)), u = o.substring(o.lastIndexOf(r) + r.length);
43
- a === d && l.indexOf(c) < 0 && (s.push({ templateUuid: f.templateUuid, templateName: u }), l.push(c));
44
- } else s.push(f);
45
- }), s;
46
- }
47
- }
48
- function k(t) {
49
- return t.toLowerCase().replace(/( |^)[a-z]/g, (e) => e.toUpperCase());
50
- }
51
- function I(t, e, n) {
52
- return "V" + e + "__" + t + "__" + n;
53
- }
54
- function w(t) {
55
- if (typeof t != "object" || t == null) return t;
56
- const e = Array.isArray(t) ? [] : {};
57
- for (const n in t) t.hasOwnProperty(n) && (e[n] = w(t[n]));
58
- return e;
59
- }
60
- function U(t) {
61
- let e;
62
- return t.entity && t.entity.data && (e = t.entity.data.WORKFLOW_ID, e || (e = t.entity.data.workflow_id), e || (e = t.entity.data.workflowId)), e;
63
- }
64
- function W(t) {
65
- var n, i, a, s;
66
- let e;
67
- if (t && ((i = (n = t.props) == null ? void 0 : n.base) != null && i.prop)) {
68
- let l = (s = (a = t.props) == null ? void 0 : a.base) == null ? void 0 : s.prop;
69
- l.indexOf("${") >= 0 && (l = l.substring(2, l.lastIndexOf("}")));
70
- const r = l.split(".");
71
- r.length === 2 ? e = r[1] : r.length === 3 && (e = r[1] + "__" + r[2]);
72
- } else t.code && (e = t.code);
73
- return e;
74
- }
75
- function _(t) {
76
- try {
77
- if (t != null) {
78
- const e = parseInt(t + "");
79
- if (Number.isInteger(e)) return !0;
80
- }
81
- return !1;
82
- } catch {
83
- return !1;
84
- }
85
- }
86
- function v(t) {
87
- return !!t.isWorkflowEntity || !(t.isWorkflowEntity !== void 0 || !t.workflowCode);
88
- }
89
- function E(t, e) {
90
- if (t && e) {
91
- let n = t.jumpPageMobileOpenMode;
92
- n || (t.jumpPageOpenMode ? (n = t.jumpPageOpenMode, n === "newTab" && (n = "refresh")) : n = "refresh"), n === "refresh" && (t.dialogType = "drawer", t.jumpPageWidth = "100%", t.isRefreshWhenClosePopup = !0), t.jumpMode = n, t.jumpPageMobileOpenMode = n, t.jumpPageTitle || (t.jumpPageTitle = "QMS质量管理系统");
93
- }
94
- }
95
- function F(t, e) {
96
- return t[e] === null || t[e] === void 0 || t[e] === "";
97
- }
98
- function N() {
99
- return "required_bg";
100
- }
101
- export {
102
- N as addRequiredClassUtil,
103
- w as deepCopy,
104
- O as getBaseUrl,
105
- I as getListCode,
106
- W as getPropClassName,
107
- C as getRealRestApiPath,
108
- U as getWorkflowId,
109
- A as isArrayFn,
110
- _ as isNumber,
111
- F as isVariableInvalidValue,
112
- v as isWorkflowPage,
113
- M as packageTemplateFiles,
114
- E as refreshMobileDialogType,
115
- k as upperFirstCase
116
- };
@@ -1,8 +0,0 @@
1
- import e from "mitt";
2
- const r = e(), f = { $on: r.on, $emit: r.emit, $off: r.off, $has: (o) => {
3
- const t = r.all.get(o);
4
- return Array.isArray(t) && t.length > 0;
5
- } };
6
- export {
7
- f as default
8
- };
@@ -1,38 +0,0 @@
1
- function o(t, e) {
2
- let a = "new";
3
- return e.id ? a = e.id : e.ID && (a = e.ID), i(t, a);
4
- }
5
- function i(t, e) {
6
- return e ? `backfill_data_${t}_${e}` : `backfill_data_${t}_new`;
7
- }
8
- function c(t, e) {
9
- sessionStorage.setItem(o(t, e), JSON.stringify(e));
10
- }
11
- function u(t, e) {
12
- sessionStorage.removeItem(o(t, e));
13
- }
14
- function f(t, e) {
15
- sessionStorage.removeItem(i(t, e));
16
- }
17
- function I(t, e) {
18
- return sessionStorage.getItem(i(t, e)) !== null;
19
- }
20
- function S(t, e, a) {
21
- const l = sessionStorage.getItem(i(t, e));
22
- if (l) {
23
- const n = JSON.parse(l);
24
- let s = null;
25
- n.version ? s = n.version : n.VERSION && (s = n.VERSION);
26
- let r = null;
27
- if (a.version ? r = a.version : a.VERSION && (r = a.VERSION), s == r) return n;
28
- }
29
- return a;
30
- }
31
- export {
32
- c as cacheBackfillData,
33
- i as getBackFillDataKey,
34
- S as getRealFillData,
35
- I as hasBackfillData,
36
- u as removeCacheFillData,
37
- f as removeCacheFillDataById
38
- };