super-page-runtime 2.3.20-sit2 → 2.3.21-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 (241) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +124 -133
  2. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  3. package/dist/es/components/runtime/utils/events/print-label.js +26 -25
  4. package/dist/es/components/runtime/utils/events/standard-event.js +568 -584
  5. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  6. package/dist/es/components/runtime/utils/page-init-util.js +11 -9
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  9. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
  10. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
  11. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
  12. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  13. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  14. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
  15. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
  16. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  17. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
  18. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
  19. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
  20. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +34 -34
  21. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +35 -34
  23. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -3
  24. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -0
  25. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -0
  27. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +17 -15
  28. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  30. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
  31. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +13 -22
  32. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  33. package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
  34. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  35. package/dist/es/components/runtime/views/super-page.vue2.js +76 -75
  36. package/dist/es/i18n/langs/cn.js +1 -1
  37. package/dist/es/i18n/langs/en.js +1 -1
  38. package/dist/es/style.css +76 -76
  39. package/dist/lib/_virtual/_plugin-vue_export-helper.js +6 -0
  40. package/dist/lib/assets/chart-themes/bar-theme.js +2 -0
  41. package/dist/lib/assets/chart-themes/gauge-theme.js +2 -0
  42. package/dist/lib/assets/chart-themes/pie-theme.js +2 -0
  43. package/dist/lib/assets/chart-themes/radar-theme.js +2 -0
  44. package/dist/lib/assets/chart-themes/scatter-theme.js +2 -0
  45. package/dist/lib/assets/file.png.js +2 -0
  46. package/dist/lib/assets/folder.png.js +2 -0
  47. package/dist/lib/components/runtime/utils/ai-chat-util.js +13 -0
  48. package/dist/lib/components/runtime/utils/anchor-util.js +62 -0
  49. package/dist/lib/components/runtime/utils/api/api-util.js +3 -0
  50. package/dist/lib/components/runtime/utils/api/page-expose-util.js +169 -0
  51. package/dist/lib/components/runtime/utils/assemblys-config.js +16 -0
  52. package/dist/lib/components/runtime/utils/barcode-util.js +10 -0
  53. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +137 -0
  54. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +34 -0
  55. package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +78 -0
  56. package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +52 -0
  57. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +43 -0
  58. package/dist/lib/components/runtime/utils/charts/chart-util.js +244 -0
  59. package/dist/lib/components/runtime/utils/common-util.js +91 -0
  60. package/dist/lib/components/runtime/utils/eventBus.js +3 -0
  61. package/dist/lib/components/runtime/utils/events/event-util.js +345 -0
  62. package/dist/lib/components/runtime/utils/events/print-label.js +97 -0
  63. package/dist/lib/components/runtime/utils/events/standard-event.js +1101 -0
  64. package/dist/lib/components/runtime/utils/events/validator-util.js +296 -0
  65. package/dist/lib/components/runtime/utils/form/date-shortcuts.js +34 -0
  66. package/dist/lib/components/runtime/utils/form/scan-util.js +90 -0
  67. package/dist/lib/components/runtime/utils/global-refs.js +42 -0
  68. package/dist/lib/components/runtime/utils/i18n-util.js +11 -0
  69. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +4 -0
  70. package/dist/lib/components/runtime/utils/page-helper-util.js +354 -0
  71. package/dist/lib/components/runtime/utils/page-init-util.js +244 -0
  72. package/dist/lib/components/runtime/utils/page-permission-util.js +26 -0
  73. package/dist/lib/components/runtime/utils/page-store.js +50 -0
  74. package/dist/lib/components/runtime/utils/store-util.js +11 -0
  75. package/dist/lib/components/runtime/utils/store.js +3 -0
  76. package/dist/lib/components/runtime/utils/table-utils.js +68 -0
  77. package/dist/lib/components/runtime/utils/tree-utils.js +54 -0
  78. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
  79. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +24 -0
  80. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +5 -0
  81. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +17 -0
  82. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
  83. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +35 -0
  84. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +3 -0
  85. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +3 -0
  86. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
  87. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -0
  88. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +5 -0
  89. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +41 -0
  90. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +11 -0
  91. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
  92. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +11 -0
  93. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
  94. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +53 -0
  95. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
  96. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +5 -0
  97. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +48 -0
  98. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +5 -0
  99. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +24 -0
  100. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +5 -0
  101. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +34 -0
  102. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +5 -0
  103. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +24 -0
  104. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +5 -0
  105. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +24 -0
  106. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.js +402 -0
  107. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +3 -0
  108. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +3 -0
  109. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.js +6 -0
  110. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +3 -0
  111. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +36 -0
  112. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +3 -0
  113. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -0
  114. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +3 -0
  115. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +3 -0
  116. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +249 -0
  117. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.js +16 -0
  118. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.js +3 -0
  119. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +32 -0
  120. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
  121. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.js +32 -0
  122. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.js +3 -0
  123. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +19 -0
  124. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +3 -0
  125. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +12 -0
  126. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
  127. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.js +21 -0
  128. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +3 -0
  129. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +13 -0
  130. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +3 -0
  131. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +30 -0
  132. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +3 -0
  133. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +15 -0
  134. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
  135. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +5 -0
  136. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +21 -0
  137. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
  138. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -0
  139. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
  140. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +15 -0
  141. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +5 -0
  142. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +27 -0
  143. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +5 -0
  144. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +79 -0
  145. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
  146. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +20 -0
  147. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
  148. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +15 -0
  149. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
  150. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +12 -0
  151. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +5 -0
  152. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +88 -0
  153. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +5 -0
  154. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +43 -0
  155. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
  156. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +59 -0
  157. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +382 -0
  158. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
  159. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +322 -0
  160. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
  161. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
  162. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +81 -0
  163. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +5 -0
  164. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +124 -0
  165. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +3 -0
  166. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
  167. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
  168. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +57 -0
  169. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +35 -0
  170. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +3 -0
  171. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +3 -0
  172. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +57 -0
  173. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
  174. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +91 -0
  175. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
  176. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +47 -0
  177. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
  178. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +20 -0
  179. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
  180. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +65 -0
  181. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
  182. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +20 -0
  183. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
  184. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +70 -0
  185. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +5 -0
  186. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +31 -0
  187. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
  188. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +26 -0
  189. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +5 -0
  190. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -0
  191. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
  192. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +75 -0
  193. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +5 -0
  194. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +188 -0
  195. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
  196. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +130 -0
  197. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
  198. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +11 -0
  199. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
  200. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +29 -0
  201. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
  202. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +38 -0
  203. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
  204. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +20 -0
  205. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.js +73 -0
  206. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +3 -0
  207. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +132 -0
  208. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
  209. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.js +3 -0
  210. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.js +3 -0
  211. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +5 -0
  212. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +23 -0
  213. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +5 -0
  214. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +23 -0
  215. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +5 -0
  216. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +34 -0
  217. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
  218. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +17 -0
  219. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
  220. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +20 -0
  221. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +5 -0
  222. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +19 -0
  223. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +3 -0
  224. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +14 -0
  225. package/dist/lib/components/runtime/views/home-chart.vue.js +38 -0
  226. package/dist/lib/components/runtime/views/home-chart.vue2.js +3 -0
  227. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +23 -0
  228. package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +3 -0
  229. package/dist/lib/components/runtime/views/super-page.vue.js +5 -0
  230. package/dist/lib/components/runtime/views/super-page.vue2.js +264 -0
  231. package/dist/lib/favicon.ico +0 -0
  232. package/dist/lib/i18n/langs/cn.js +2 -0
  233. package/dist/lib/i18n/langs/en.js +2 -0
  234. package/dist/lib/index.js +6 -0
  235. package/dist/lib/style.css +996 -0
  236. package/dist/umd/favicon.ico +0 -0
  237. package/dist/umd/index.full.min.js +7429 -0
  238. package/dist/umd/style.css +996 -0
  239. package/package.json +2 -2
  240. package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +0 -27
  241. package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
@@ -185,7 +185,7 @@ function h(e2, s2, r2) {
185
185
  }), r3.includes(false) && e6(false), n2.length > 0 ? Promise.all(n2).then((t3) => {
186
186
  t3.includes(false) ? e6(false) : e6(true);
187
187
  }).catch((t3) => {
188
- e6(false);
188
+ console.error(t3), e6(false);
189
189
  }) : e6(true);
190
190
  });
191
191
  return null;
@@ -13,8 +13,8 @@ function f(t2) {
13
13
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
14
14
  })(t2).then((e2) => {
15
15
  e2 ? b().then((t3) => {
16
- t3 && (e2.systemParam = y(t3)), g(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
17
- t4 ? (e2.contextParam = y(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, i2(e2)) : i2(null);
16
+ t3 && (e2.systemParam = h(t3)), g(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
17
+ t4 ? (e2.contextParam = h(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, i2(e2)) : i2(null);
18
18
  });
19
19
  }).catch(() => {
20
20
  i2(e2);
@@ -25,12 +25,12 @@ function f(t2) {
25
25
  function m(e2, t2) {
26
26
  return new Promise((i2, n2) => {
27
27
  e2 ? b().then((s2) => {
28
- s2 && (e2.systemParam = y(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? j(e2, t2, e2.systemVersion).then((t3) => {
29
- e2.contextParam = y(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, i2(e2);
28
+ s2 && (e2.systemParam = h(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? j(e2, t2, e2.systemVersion).then((t3) => {
29
+ e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, i2(e2);
30
30
  }).catch((e3) => {
31
31
  n2(e3);
32
32
  }) : g("", "").then((t3) => {
33
- t3 ? (e2.contextParam = y(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, i2(e2)) : i2(null);
33
+ t3 ? (e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, i2(e2)) : i2(null);
34
34
  }).catch((e3) => {
35
35
  n2(e3);
36
36
  });
@@ -44,7 +44,7 @@ function g(t2, i2) {
44
44
  function b() {
45
45
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
46
46
  }
47
- function h(e2) {
47
+ function y(e2) {
48
48
  var _a, _b, _c;
49
49
  if (null == e2) return null;
50
50
  const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
@@ -68,7 +68,7 @@ function h(e2) {
68
68
  return e3 > 768 ? i.PC : e3 > 414 ? i.IPAD : i.PHONE;
69
69
  }(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
70
70
  }
71
- function y(e2) {
71
+ function h(e2) {
72
72
  try {
73
73
  const t2 = function(e3) {
74
74
  if (!e3) return e3;
@@ -91,6 +91,7 @@ function w(e2) {
91
91
  e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
92
92
  }), e2.props.judgeHeavyList) : null;
93
93
  } catch (e3) {
94
+ console.error("getJudgeHeavyList error:", e3);
94
95
  }
95
96
  }
96
97
  function P(e2) {
@@ -120,7 +121,7 @@ function E(e2, t2) {
120
121
  }
121
122
  }
122
123
  function v(e2, t2) {
123
- if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
124
+ if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
124
125
  Object.assign(t2, e2.query);
125
126
  C(e2.query.paramStoreId, t2);
126
127
  }
@@ -163,6 +164,7 @@ function M(e2, t2, i2) {
163
164
  }
164
165
  }
165
166
  } catch (e3) {
167
+ console.error("设置默认值出错:", n2, e3);
166
168
  }
167
169
  }
168
170
  }
@@ -257,7 +259,7 @@ function R(e2, t2) {
257
259
  }
258
260
  export {
259
261
  R as controlObjectRenderState,
260
- h as convertToPageContext,
262
+ y as convertToPageContext,
261
263
  A as getDefaultValue,
262
264
  M as getFormModelFields,
263
265
  k as getModelFields,
@@ -18,7 +18,7 @@ function p(t2, e2) {
18
18
  }
19
19
  function l(t2, e2, o2, i2) {
20
20
  const r2 = !(!e2.props || !e2.props.base) && e2.props.base.showOperation, u2 = e2.btnList;
21
- r2 && u2 && u2.forEach((e3) => {
21
+ e2.btnList, r2 && u2 && u2.forEach((e3) => {
22
22
  const r3 = {}, u3 = Object.assign({}, e3.props.base);
23
23
  if ("custom" === e3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === e3.isPermission || e3.isPermission + "" == "true") {
24
24
  const o3 = n(e3, t2);
@@ -1,9 +1,13 @@
1
- import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as d, Fragment as n, renderList as p } from "vue";
2
- const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup: (e2) => (l(e2.headerInfo, () => {
3
- }), (l2, t2) => {
4
- const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
5
- return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[0] || (t2[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: d(() => [(r(true), u(n, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(n, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[1] || (t2[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[2] || (t2[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: d(() => [(r(true), u(n, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
6
- }) });
1
+ import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as n, Fragment as d, renderList as p } from "vue";
2
+ const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup(e2) {
3
+ const t2 = e2;
4
+ return l(t2.headerInfo, () => {
5
+ t2.headerInfo;
6
+ }), (l2, t3) => {
7
+ const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
8
+ return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[0] || (t3[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(d, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[1] || (t3[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[2] || (t3[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
9
+ };
10
+ } });
7
11
  export {
8
12
  t as default
9
13
  };
@@ -3,12 +3,13 @@ import { Search as p } from "@element-plus/icons-vue";
3
3
  import g from "./common-chart-header-group.vue.js";
4
4
  import m from "./common-chart-header-breadcrumb.vue.js";
5
5
  import b from "./common-homepage-search.vue.js";
6
- import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as w } from "../../../../utils/page-helper-util.js";
7
- const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
6
+ import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as O } from "../../../../utils/page-helper-util.js";
7
+ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
8
8
  const N = e2, D = o(null), A = o(), R = _;
9
9
  function S(e3) {
10
10
  const o2 = N.headerInfo.drillOptions.length;
11
- if (!(e3 >= o2)) {
11
+ if (e3 >= o2) N.headerInfo.drillOptions;
12
+ else {
12
13
  for (let r2 = o2 - 1; r2 >= e3; r2--) N.headerInfo.drillOptions.splice(r2, 1);
13
14
  q(e3);
14
15
  }
@@ -34,7 +35,7 @@ const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-h
34
35
  for (let e4 of o2.variables) {
35
36
  if (!e4.fieldName || !e4.variable) continue;
36
37
  const o3 = y(r2, e4.fieldName, void 0);
37
- w(N.pageContext.entity, e4.variable, o3);
38
+ O(N.pageContext.entity, e4.variable, o3);
38
39
  }
39
40
  }
40
41
  N.headerInfo.drillOptions || (N.headerInfo.drillOptions = []);
@@ -46,11 +47,12 @@ const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-h
46
47
  if (r2 + 1 >= N.headerInfo.options.length) {
47
48
  return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0), void R("drill-end", e3);
48
49
  }
50
+ N.headerInfo.options;
49
51
  const n2 = N.headerInfo.options[r2], t2 = o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : null, a2 = { fieldName: n2.target ? n2.target.replace(".", "_") : "", rawFieldName: n2.target ? n2.target : "", label: e3.name, value: e3.name, data: t2 };
50
52
  N.headerInfo.drillOptions.push(a2), q(r2 + 1);
51
53
  }, closeDrill: S }), (o2, v2) => {
52
- const y2 = r("el-icon"), w2 = r("el-tooltip");
53
- return t(), n("div", x, [a("div", O, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(w2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
54
+ const y2 = r("el-icon"), O2 = r("el-tooltip");
55
+ return t(), n("div", w, [a("div", x, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(O2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
54
56
  };
55
57
  } });
56
58
  export {
@@ -15,50 +15,50 @@ import "vue-i18n";
15
15
  import "agilebuilder-ui/src/utils/auth";
16
16
  import "axios";
17
17
  import "../../../../utils/events/print-label.js";
18
- const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, O = { class: "dialog-footer" }, x = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
19
- } } }, setup(e2, { expose: x2 }) {
20
- const N = e2, _ = t(false), J = t({}), j = t(0);
18
+ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, _ = { class: "dialog-footer" }, O = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
19
+ } } }, setup(e2, { expose: O2 }) {
20
+ const x = e2, N = t(false), J = t({}), j = t(0);
21
21
  let I;
22
22
  i(() => {
23
23
  I = setTimeout(() => {
24
- J.value = JSON.parse(JSON.stringify(N.pageContext.entity));
24
+ J.value = JSON.parse(JSON.stringify(x.pageContext.entity));
25
25
  }, 200);
26
26
  }), o(() => {
27
27
  I && clearTimeout(I);
28
28
  });
29
29
  const k = t([]), w = () => {
30
- _.value = false;
30
+ N.value = false;
31
31
  }, T = () => {
32
32
  const e3 = y.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
33
- v(N.pageContext, N.pageContext.initChartServiceConfigs, null, false).then(() => {
34
- _.value = false;
33
+ v(x.pageContext, x.pageContext.initChartServiceConfigs, null, false).then(() => {
34
+ N.value = false;
35
35
  }).finally(() => {
36
- _.value = false, e3.close();
36
+ N.value = false, e3.close();
37
37
  });
38
38
  };
39
39
  function H() {
40
- N.pageContext.entity = JSON.parse(JSON.stringify(J.value)), j.value++;
40
+ x.pageContext.entity = JSON.parse(JSON.stringify(J.value)), j.value++;
41
41
  }
42
42
  function A() {
43
43
  const e3 = {};
44
- N.pageContext.variables.forEach((t3) => {
44
+ x.pageContext.variables.forEach((t3) => {
45
45
  const i3 = "${page." + t3.name + "}";
46
- e3[i3] = h(N.pageContext.entity, i3, null);
46
+ e3[i3] = h(x.pageContext.entity, i3, null);
47
47
  });
48
48
  let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), i2 = {};
49
- t2 && (i2 = JSON.parse(t2)), i2[N.configure.homeChartSettingUserId] = e3;
49
+ t2 && (i2 = JSON.parse(t2)), i2[x.configure.homeChartSettingUserId] = e3;
50
50
  const o2 = JSON.stringify(e3);
51
- window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), J.value = JSON.parse(JSON.stringify(N.pageContext.entity)), b.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: N.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
51
+ window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), J.value = JSON.parse(JSON.stringify(x.pageContext.entity)), b.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: x.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
52
52
  C.success("保存成功"), T();
53
53
  });
54
54
  }
55
- return x2({ openSearch: () => {
56
- _.value = true, k.value = N.configure.pushHomepage.searchConditions;
55
+ return O2({ openSearch: () => {
56
+ N.value = true, k.value = x.configure.pushHomepage.searchConditions;
57
57
  } }), (t2, i2) => {
58
58
  const o2 = l("el-empty"), v2 = l("el-form"), h2 = l("el-button"), y2 = l("el-dialog");
59
- return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => i2[1] || (i2[1] = [p(" 确定 ")])), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => i2[2] || (i2[2] = [p("重置")])), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => i2[3] || (i2[3] = [p(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
59
+ return r(), a(y2, { modelValue: N.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => N.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", _, [s(h2, { type: "primary", onClick: T }, { default: n(() => i2[1] || (i2[1] = [p(" 确定 ", -1)])), _: 1, __: [1] }), s(h2, { type: "default", onClick: H }, { default: n(() => i2[2] || (i2[2] = [p("重置", -1)])), _: 1, __: [2] }), s(h2, { type: "primary", onClick: A }, { default: n(() => i2[3] || (i2[3] = [p(" 保存为默认条件 ", -1)])), _: 1, __: [3] })])]), _: 1 }, 8, ["modelValue"]);
60
60
  };
61
61
  } });
62
62
  export {
63
- x as default
63
+ O as default
64
64
  };
@@ -11,24 +11,24 @@ class ExpressionEvaluator {
11
11
  return this.evaluateExpression(o);
12
12
  }
13
13
  static createExpression(e, t, r) {
14
- const { propName: o, operator: a, propValue: n, leftBracket: s, rightBracket: l, joinSign: i, dataType: c } = t;
14
+ const { propName: o, operator: n, propValue: a, leftBracket: s, rightBracket: l, joinSign: i, dataType: c } = t;
15
15
  if (!o || "" === o) return "";
16
16
  const u = getValueFromVariable(e.entity, o, r);
17
- let p = `${s} ${this.getComparisonExpression(u, t, getValueFromVariable(e.entity, n, r))} ${l}`;
17
+ let p = `${s} ${this.getComparisonExpression(u, t, getValueFromVariable(e.entity, a, r))} ${l}`;
18
18
  return i && ("and" === i || "AND" === i ? p += "&&" : "or" !== i && "OR" !== i || (p += "||")), p.trim();
19
19
  }
20
20
  static getComparisonExpression(e, t, r) {
21
- const { dataType: o, variableIsNull: a } = t;
22
- let n = t.operator;
23
- n || (n = "EQ");
21
+ const { dataType: o, variableIsNull: n } = t;
22
+ let a = t.operator;
23
+ a || (a = "EQ");
24
24
  let s = this.parseValue(e, o);
25
25
  const l = this.parseValue(r, o);
26
- if (null == l && a) {
27
- if (null == s && (s = "null"), "null" === a) return `${s} === null`;
28
- if ("ignore" === a) return "1=1";
29
- if ("notequal" === a) return "1!=1";
26
+ if (null == l && n) {
27
+ if (null == s && (s = "null"), "null" === n) return `${s} === null`;
28
+ if ("ignore" === n) return "1=1";
29
+ if ("notequal" === n) return "1!=1";
30
30
  }
31
- switch (n) {
31
+ switch (a) {
32
32
  case "EQ":
33
33
  return `${s} === ${l}`;
34
34
  case "GT":
@@ -55,7 +55,7 @@ class ExpressionEvaluator {
55
55
  }
56
56
  return `[${l}].includes(${s})`;
57
57
  default:
58
- throw new Error(`比较符号不匹配: ${n}`);
58
+ throw new Error(`比较符号不匹配: ${a}`);
59
59
  }
60
60
  }
61
61
  static changeDataType(e) {
@@ -86,7 +86,7 @@ class ExpressionEvaluator {
86
86
  try {
87
87
  return eval(expression);
88
88
  } catch (e) {
89
- return false;
89
+ return console.error("表达式错误:", expression, e), false;
90
90
  }
91
91
  }
92
92
  }
@@ -114,39 +114,40 @@ function getSummaryDataColumn(e, t) {
114
114
  const r = {};
115
115
  return ((_a = e.props.summaries) == null ? void 0 : _a.dataColumn) && e.props.summaries.dataColumn.length > 0 && e.props.summaries.dataColumn.forEach((o) => {
116
116
  var _a2;
117
- const a = (_a2 = e.items) == null ? void 0 : _a2.find((e2) => o.prop === e2.props.base.prop);
118
- a && ("table" === t && a.props.base.tableSummary || "group" === t && a.props.base.groupSummary) && (r[o.prop] = o);
117
+ const n = (_a2 = e.items) == null ? void 0 : _a2.find((e2) => o.prop === e2.props.base.prop);
118
+ n && ("table" === t && n.props.base.tableSummary || "group" === t && n.props.base.groupSummary) && (r[o.prop] = o);
119
119
  }), r;
120
120
  }
121
121
  function summaryStatistics(e, t, r, o) {
122
- let a = "";
123
- const n = e.summaryMode, s = t.map((e2) => Number(e2[r])).filter((e2) => !Number.isNaN(e2));
124
- if (s.length > 0) if ("custom" === n) {
125
- const n2 = getCustomFunc(o, e.customFunc);
126
- if (n2) try {
127
- const e2 = n2.apply(n2, [{ data: t, prop: r }]);
128
- a = e2 ? ` ${e2}` : " N/A";
122
+ let n = "";
123
+ const a = e.summaryMode, s = t.map((e2) => Number(e2[r])).filter((e2) => !Number.isNaN(e2));
124
+ if (s.length > 0) if ("custom" === a) {
125
+ const a2 = getCustomFunc(o, e.customFunc);
126
+ if (a2) try {
127
+ const e2 = a2.apply(a2, [{ data: t, prop: r }]);
128
+ n = e2 ? ` ${e2}` : " N/A";
129
129
  } catch (e2) {
130
+ console.error("自定义函数脚本错误:", t, e2);
130
131
  }
131
- else a = " N/A";
132
- } else switch (n) {
132
+ else n = " N/A";
133
+ } else switch (a) {
133
134
  case "sum":
134
- a = ` ${s.reduce((e2, t2) => e2 + t2, 0)}`;
135
+ n = ` ${s.reduce((e2, t2) => e2 + t2, 0)}`;
135
136
  break;
136
137
  case "avg":
137
- a = " " + s.reduce((e2, t2) => e2 + t2, 0) / s.length;
138
+ n = " " + s.reduce((e2, t2) => e2 + t2, 0) / s.length;
138
139
  break;
139
140
  case "min":
140
- a = ` ${Math.min(...s)}`;
141
+ n = ` ${Math.min(...s)}`;
141
142
  break;
142
143
  case "max":
143
- a = ` ${Math.max(...s)}`;
144
+ n = ` ${Math.max(...s)}`;
144
145
  break;
145
146
  default:
146
- a = " N/A";
147
+ n = " N/A";
147
148
  }
148
- else a = " N/A";
149
- return a;
149
+ else n = " N/A";
150
+ return n;
150
151
  }
151
152
  function replacePlaceholders(e, t) {
152
153
  if (e) return e.replace(/\$\{row\.(\w+)\}/g, (e2, r) => Object.prototype.hasOwnProperty.call(t, r) ? t[r] : "");
@@ -156,31 +157,33 @@ function getHeaderCellStyleUtil(e, t, r) {
156
157
  const o = {};
157
158
  e.column.property && ((_a = t.titleStyle) == null ? void 0 : _a.forEach((t2) => {
158
159
  if (t2.field && t2.field.includes(e.column.property)) if (t2.scopeFunc) {
159
- const a2 = getCustomFunc(r.pageContext, t2.scopeFunc);
160
- if (a2) try {
161
- false !== a2.apply(a2, [{ item: t2, data: e }]) && copyStyle(o, t2);
162
- } catch (e2) {
160
+ const n2 = getCustomFunc(r.pageContext, t2.scopeFunc);
161
+ if (n2) try {
162
+ false !== n2.apply(n2, [{ item: t2, data: e }]) && copyStyle(o, t2);
163
+ } catch (r2) {
164
+ console.error("自定义函数脚本错误:", t2, e, r2);
163
165
  }
164
166
  } else copyStyle(o, t2);
165
167
  }));
166
- const a = getCellStyleUtil(e, t.cellTitleStyle, r);
167
- return a && Object.assign(o, a), o;
168
+ const n = getCellStyleUtil(e, t.cellTitleStyle, r);
169
+ return n && Object.assign(o, n), o;
168
170
  }
169
171
  function getRowStyleUtil(e, t, r) {
170
172
  const o = {};
171
173
  if (r.configure.style.rowStyle) for (let t2 = 0; t2 < r.configure.style.rowStyle.length; t2++) {
172
- const a = r.configure.style.rowStyle[t2];
173
- if (a.scopeFunc) {
174
- const t3 = getCustomFunc(r.pageContext, a.scopeFunc);
174
+ const n = r.configure.style.rowStyle[t2];
175
+ if (n.scopeFunc) {
176
+ const t3 = getCustomFunc(r.pageContext, n.scopeFunc);
175
177
  if (t3) try {
176
178
  const r2 = t3.apply(t3, [{ data: e }]);
177
- null != r2 && false !== r2 && copyStyle(o, a);
178
- } catch (e2) {
179
+ null != r2 && false !== r2 && copyStyle(o, n);
180
+ } catch (t4) {
181
+ console.error("自定义函数脚本错误:", e, t4);
179
182
  }
180
- } else if (a.matchingCondition) {
181
- const t3 = ExpressionEvaluator.evaluate(r.pageContext, a.matchingCondition, e.row);
182
- (t3 || void 0 === t3) && copyStyle(o, a);
183
- } else copyStyle(o, a);
183
+ } else if (n.matchingCondition) {
184
+ const t3 = ExpressionEvaluator.evaluate(r.pageContext, n.matchingCondition, e.row);
185
+ (t3 || void 0 === t3) && copyStyle(o, n);
186
+ } else copyStyle(o, n);
184
187
  }
185
188
  if (t && t.length > 0 && -1 !== t.indexOf(e.rowIndex)) {
186
189
  const e2 = {};
@@ -193,18 +196,19 @@ function getRowStyleUtil(e, t, r) {
193
196
  }
194
197
  function getCellStyleUtil(e, t, r) {
195
198
  const o = {};
196
- if (t) for (let a = 0; a < t.length; a++) {
197
- const n = t[a];
198
- if (isSetStyle(n)) if (n.scopeFunc) {
199
- const t2 = getCustomFunc(r.pageContext, n.scopeFunc);
199
+ if (t) for (let n = 0; n < t.length; n++) {
200
+ const a = t[n];
201
+ if (isSetStyle(a)) if (a.scopeFunc) {
202
+ const t2 = getCustomFunc(r.pageContext, a.scopeFunc);
200
203
  if (t2) try {
201
- false !== t2.apply(t2, [{ data: e }]) && copyStyle(o, n);
202
- } catch (e2) {
204
+ false !== t2.apply(t2, [{ data: e }]) && copyStyle(o, a);
205
+ } catch (t3) {
206
+ console.error("自定义函数脚本错误:", e, t3);
203
207
  }
204
- } else if (n.matchingCondition) {
205
- const t2 = ExpressionEvaluator.evaluate(r.pageContext, n.matchingCondition, e.row);
206
- (t2 || void 0 === t2) && copyStyle(o, n);
207
- } else copyStyle(o, n);
208
+ } else if (a.matchingCondition) {
209
+ const t2 = ExpressionEvaluator.evaluate(r.pageContext, a.matchingCondition, e.row);
210
+ (t2 || void 0 === t2) && copyStyle(o, a);
211
+ } else copyStyle(o, a);
208
212
  }
209
213
  return o;
210
214
  }
@@ -216,33 +220,33 @@ function copyStyle(e, t) {
216
220
  Object.assign(e, t.style), t.customStyle && Object.assign(e, JSON.parse(t.customStyle));
217
221
  }
218
222
  function rowDataToColumn(e, t, r) {
219
- const o = t.props.dataOrigin.groupField, a = t.props.dataOrigin.rowToColumn.titleColumns, n = t.props.dataOrigin.rowToColumn.dataColumns, s = [], l = {};
223
+ const o = t.props.dataOrigin.groupField, n = t.props.dataOrigin.rowToColumn.titleColumns, a = t.props.dataOrigin.rowToColumn.dataColumns, s = [], l = {};
220
224
  if (o && o.length > 0) e.forEach((e2) => {
221
225
  const t2 = o.map((t3) => e2[t3]).join("|");
222
226
  if (!l[t2]) {
223
227
  const r2 = {};
224
228
  o.forEach((t3) => r2[t3] = e2[t3]), l[t2] = r2, s.push(r2);
225
229
  }
226
- n.forEach((r2) => {
227
- const o2 = `${a.map((t3) => e2[t3]).join("")}${r2}`;
230
+ a.forEach((r2) => {
231
+ const o2 = `${n.map((t3) => e2[t3]).join("")}${r2}`;
228
232
  l[t2][o2] = e2[r2];
229
233
  });
230
234
  });
231
235
  else {
232
236
  const t2 = [];
233
237
  e.forEach((e2) => {
234
- a.forEach((r2) => {
238
+ n.forEach((r2) => {
235
239
  e2[r2] && t2.push(e2[r2]);
236
240
  });
237
- }), n.forEach((t3) => {
238
- const o2 = {}, n2 = r.find((e2) => {
241
+ }), a.forEach((t3) => {
242
+ const o2 = {}, a2 = r.find((e2) => {
239
243
  var _a, _b;
240
244
  return ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop) === t3;
241
245
  });
242
- n2 && (o2.$GroupColumn = n2.props.base.name), e.forEach((e2) => {
243
- a.forEach((r2) => {
244
- const a2 = e2[r2], n3 = e2[t3];
245
- o2[a2] = n3;
246
+ a2 && (o2.$GroupColumn = a2.props.base.name), e.forEach((e2) => {
247
+ n.forEach((r2) => {
248
+ const n2 = e2[r2], a3 = e2[t3];
249
+ o2[n2] = a3;
246
250
  });
247
251
  }), s.push(o2);
248
252
  });
@@ -250,9 +254,9 @@ function rowDataToColumn(e, t, r) {
250
254
  return s;
251
255
  }
252
256
  function colDataToRow(e, t) {
253
- const r = t.props.dataOrigin.groupField, o = t.props.dataOrigin.columnToRow.titleColumns, a = t.props.dataOrigin.columnToRow.dataColumns, n = t.props.dataOrigin.columnToRow.transColumns, s = t.props.dataOrigin.columnToRow.dataColumnsMapping;
257
+ const r = t.props.dataOrigin.groupField, o = t.props.dataOrigin.columnToRow.titleColumns, n = t.props.dataOrigin.columnToRow.dataColumns, a = t.props.dataOrigin.columnToRow.transColumns, s = t.props.dataOrigin.columnToRow.dataColumnsMapping;
254
258
  if (0 === e.length) return e;
255
- const l = [], i = groupBy(e, r), c = a.reduce((e2, t2) => t2.columns.length > e2.columns.length ? t2 : e2, a[0]), u = a.reduce((e2, t2) => (t2.columns.forEach((r2) => {
259
+ const l = [], i = groupBy(e, r), c = n.reduce((e2, t2) => t2.columns.length > e2.columns.length ? t2 : e2, n[0]), u = n.reduce((e2, t2) => (t2.columns.forEach((r2) => {
256
260
  e2[r2] = t2.prop;
257
261
  }), e2), {});
258
262
  return i.forEach((e2) => {
@@ -260,14 +264,14 @@ function colDataToRow(e, t) {
260
264
  const i2 = c.prop, p = {};
261
265
  if (r.forEach((t3) => {
262
266
  p[t3] = e2[t3];
263
- }), p[i2] = e2[t2], a.length > 1) {
267
+ }), p[i2] = e2[t2], n.length > 1) {
264
268
  const r2 = s.find((e3) => e3.props.includes(t2));
265
269
  r2 && r2.props.length > 1 && r2.props.forEach((r3) => {
266
270
  r3 !== t2 && u[r3] && (p[u[r3]] = e2[r3]);
267
271
  });
268
272
  }
269
273
  o.forEach((e3) => {
270
- const r2 = n.filter((t3) => t3.relatedTitle === e3.prop);
274
+ const r2 = a.filter((t3) => t3.relatedTitle === e3.prop);
271
275
  let o2 = false;
272
276
  r2 && r2.length > 0 && r2.forEach((r3) => {
273
277
  if (r3.columns.includes(t2)) return p[e3.prop] = r3.label, void (o2 = true);
@@ -277,25 +281,25 @@ function colDataToRow(e, t) {
277
281
  }), l;
278
282
  }
279
283
  function getColumnToRowTableConfig(e) {
280
- const t = e.items, r = e.props.dataOrigin.groupField, o = e.props.dataOrigin.columnToRow.titleColumns, a = e.props.dataOrigin.columnToRow.dataColumns, n = [];
284
+ const t = e.items, r = e.props.dataOrigin.groupField, o = e.props.dataOrigin.columnToRow.titleColumns, n = e.props.dataOrigin.columnToRow.dataColumns, a = [];
281
285
  r && r.length > 0 && r.forEach((e2) => {
282
286
  if (t) {
283
287
  const r2 = t.find((t2) => t2.props.base.prop === e2);
284
- r2 && n.push(r2);
288
+ r2 && a.push(r2);
285
289
  }
286
290
  });
287
- return [...o, ...a].forEach((e2) => {
291
+ return [...o, ...n].forEach((e2) => {
288
292
  if (t) {
289
293
  const r2 = t.find((t2) => t2.props.base.prop === e2);
290
- r2 ? n.push(r2) : n.push({ uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: e2.prop, name: e2.title, sortable: true, headerAlign: "center", align: "center", fixed: false, visible: true, dataType: "string" }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } });
294
+ r2 ? a.push(r2) : a.push({ uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: e2.prop, name: e2.title, sortable: true, headerAlign: "center", align: "center", fixed: false, visible: true, dataType: "string" }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } });
291
295
  }
292
- }), n;
296
+ }), a;
293
297
  }
294
298
  function groupBy(e, t) {
295
299
  const r = {};
296
300
  return e.forEach((e2) => {
297
301
  const o = t.map((t2) => e2[t2]).join("|");
298
- r[o] || (r[o] = { ...e2, records: [] }, t.forEach((t2, a) => {
302
+ r[o] || (r[o] = { ...e2, records: [] }, t.forEach((t2, n) => {
299
303
  r[o][t2] = e2[t2];
300
304
  })), r[o].records.push(e2);
301
305
  }), Object.values(r).map((e2) => ({ ...e2, records: void 0 }));
@@ -323,7 +327,7 @@ function computeFormula(itemConfs, datas, entity) {
323
327
  r += Number(e2[t]);
324
328
  });
325
329
  } catch (e2) {
326
- r = 0;
330
+ console.error("计算错误:", e2), r = 0;
327
331
  }
328
332
  totalValueMap[e] = r;
329
333
  } else (e.startsWith("${page.") || e.startsWith("${data.") || e.startsWith("${row.") || e.startsWith("${request.") || e.startsWith("${context.") || e.startsWith("${system.") || e.startsWith("${fixed.")) && (totalValueMap[e] = getValueFromVariable(entity, e, data));
@@ -335,7 +339,7 @@ function computeFormula(itemConfs, datas, entity) {
335
339
  try {
336
340
  data[key] = eval(expr);
337
341
  } catch (e) {
338
- data[key] = 0;
342
+ console.error(itemConfs[key] + " 计算错误, 替换后表达式为:" + expr, e), data[key] = 0;
339
343
  }
340
344
  });
341
345
  });
@@ -343,19 +347,19 @@ function computeFormula(itemConfs, datas, entity) {
343
347
  function getFieldName(e) {
344
348
  return e.substring(6, e.length - 1);
345
349
  }
346
- function formatColContent(e, t, r, o, a) {
347
- const n = e[r.props.base.prop];
350
+ function formatColContent(e, t, r, o, n) {
351
+ const a = e[r.props.base.prop];
348
352
  switch (t.type) {
349
353
  case "number":
350
- return formatNumber(n, t);
354
+ return formatNumber(a, t);
351
355
  case "currency":
352
- return formatCurrency(n, t);
356
+ return formatCurrency(a, t);
353
357
  case "percent":
354
- return formatPercent(n, t);
358
+ return formatPercent(a, t);
355
359
  case "custom":
356
- return formatCustomFunc(e, t, r, o, a);
360
+ return formatCustomFunc(e, t, r, o, n);
357
361
  default:
358
- return n;
362
+ return a;
359
363
  }
360
364
  }
361
365
  function formatNumber(e, t) {
@@ -370,28 +374,29 @@ function formatPercent(e, t) {
370
374
  let r = e;
371
375
  return r || (r = 0), t.decimalDigit && (r = Number(e).toFixed(t.decimalDigit)), r + " %";
372
376
  }
373
- function formatCustomFunc(e, t, r, o, a) {
374
- const n = getCustomFunc(o, t.customFunc);
375
- if (n) {
377
+ function formatCustomFunc(e, t, r, o, n) {
378
+ const a = getCustomFunc(o, t.customFunc);
379
+ if (a) {
376
380
  try {
377
- return n.apply(n, [{ pageContext: o, configureObj: a, row: e, prop: r.props.base.prop }]);
378
- } catch (e2) {
381
+ return a.apply(a, [{ pageContext: o, configureObj: n, row: e, prop: r.props.base.prop }]);
382
+ } catch (t2) {
383
+ console.error("自定义函数脚本错误:", e, t2);
379
384
  }
380
385
  return "";
381
386
  }
382
387
  }
383
- function mergeRowByProperty(e, t, r, o, a) {
384
- const n = e[o];
388
+ function mergeRowByProperty(e, t, r, o, n) {
389
+ const a = e[o];
385
390
  let s = 1, l = true;
386
391
  for (let e2 = r - 1; e2 >= 0; e2--) {
387
- if (a[e2][o] === n) {
392
+ if (n[e2][o] === a) {
388
393
  l = false;
389
394
  break;
390
395
  }
391
396
  break;
392
397
  }
393
398
  if (!l) return [0, 0];
394
- for (let e2 = r + 1; e2 < a.length && a[e2][o] === n; e2++) s++;
399
+ for (let e2 = r + 1; e2 < n.length && n[e2][o] === a; e2++) s++;
395
400
  return [s, 1];
396
401
  }
397
402
  export {
@@ -182,8 +182,9 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
182
182
  return o2.forEach((e4, o3) => {
183
183
  if (se.value[e4.property]) {
184
184
  const n2 = se.value[e4.property].label;
185
- t2[o3] = C("div", {}, [P(n2, r2)]);
186
- } else if (ce.value[e4.property]) {
185
+ return void (t2[o3] = C("div", {}, [P(n2, r2)]));
186
+ }
187
+ if (ce.value[e4.property]) {
187
188
  const n2 = r2.filter((e5, o4) => !fe.includes(o4));
188
189
  t2[o3] = A(ce.value[e4.property], n2, e4.property, W.pageContext);
189
190
  }