super-page-runtime 2.3.22-tmp2 → 2.3.22-tmp3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +4 -4
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
  4. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
  6. package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
  7. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
  8. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
  9. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
  10. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
  11. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
  12. package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
  13. package/dist/es/components/runtime/utils/common-util.mjs +91 -94
  14. package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
  15. package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
  16. package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
  17. package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
  18. package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
  20. package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
  21. package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
  22. package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
  24. package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
  25. package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
  26. package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
  27. package/dist/es/components/runtime/utils/page-store.mjs +38 -38
  28. package/dist/es/components/runtime/utils/store-util.mjs +9 -9
  29. package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
  30. package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
  37. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
  38. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
  39. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
  40. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
  43. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
  44. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
  51. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
  53. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
  55. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
  57. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
  59. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
  60. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
  64. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
  66. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
  70. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
  71. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
  74. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
  75. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
  76. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
  77. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
  79. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
  80. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
  81. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
  82. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
  83. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
  84. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
  85. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
  86. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
  87. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
  89. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
  90. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
  91. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
  92. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
  93. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
  94. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
  95. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
  96. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
  97. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
  98. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
  99. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
  100. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
  101. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
  102. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
  103. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
  104. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
  105. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
  106. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
  107. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
  108. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
  109. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
  110. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
  111. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
  112. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
  113. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
  114. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
  115. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
  116. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
  117. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
  118. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
  119. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
  121. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
  122. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
  123. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
  125. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
  126. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
  127. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
  128. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
  129. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
  130. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
  132. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
  134. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
  136. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
  138. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
  139. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
  140. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
  142. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
  143. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
  144. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
  145. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
  146. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
  147. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
  148. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  149. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
  150. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
  151. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
  152. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
  153. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
  154. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
  155. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
  156. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
  157. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
  158. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
  159. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
  160. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
  161. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
  162. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
  163. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
  164. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  165. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
  166. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
  167. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
  168. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
  169. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
  170. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
  171. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
  172. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
  173. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
  174. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
  175. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
  176. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
  177. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
  178. package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
  179. package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
  180. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
  181. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
  182. package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
  183. package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
  184. package/dist/es/index.mjs +27 -27
  185. package/dist/es/style.css +1 -996
  186. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
  187. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
  188. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
  189. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
  190. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
  191. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
  192. package/dist/lib/assets/file.png.cjs +1 -2
  193. package/dist/lib/assets/folder.png.cjs +1 -2
  194. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
  195. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
  196. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
  197. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
  198. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
  199. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
  200. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
  201. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
  202. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
  203. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
  204. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
  205. package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
  206. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
  208. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
  209. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
  210. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
  211. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
  212. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
  213. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
  214. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
  215. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
  216. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
  217. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
  218. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
  219. package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
  220. package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
  221. package/dist/lib/components/runtime/utils/store.cjs +1 -3
  222. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
  225. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
  242. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
  243. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
  244. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
  245. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
  246. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
  247. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
  248. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
  249. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
  250. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
  251. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
  261. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
  262. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
  264. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
  267. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
  269. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
  271. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
  272. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
  273. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
  277. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
  278. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
  279. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
  280. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
  281. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
  282. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
  283. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
  284. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
  285. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
  286. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
  287. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
  288. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
  289. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
  291. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
  293. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
  294. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
  295. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
  296. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
  297. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
  298. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
  299. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
  300. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
  301. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
  302. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
  303. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
  304. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
  306. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
  307. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
  308. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
  309. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
  310. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
  311. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
  312. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
  313. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
  314. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
  315. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
  316. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
  317. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
  318. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
  319. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
  320. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
  321. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
  322. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
  323. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
  324. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
  325. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
  326. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
  327. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
  328. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
  329. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
  330. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
  331. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
  332. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
  333. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
  334. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
  335. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
  336. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
  337. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
  338. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
  339. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
  340. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
  341. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
  342. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
  343. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
  344. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
  345. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
  346. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
  347. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
  348. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
  349. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
  350. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
  351. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
  352. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
  353. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
  354. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
  355. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
  356. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
  357. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
  358. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
  359. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
  360. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
  361. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
  362. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
  363. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
  364. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
  365. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
  366. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
  367. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
  368. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
  369. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
  370. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
  371. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
  372. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
  373. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
  374. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
  375. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
  376. package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
  377. package/dist/lib/i18n/langs/cn.cjs +1 -2
  378. package/dist/lib/i18n/langs/en.cjs +1 -2
  379. package/dist/lib/index.cjs +1 -6
  380. package/dist/lib/style.css +1 -996
  381. package/dist/umd/index.full.min.js +3 -7429
  382. package/dist/umd/style.css +1 -996
  383. package/package.json +77 -76
  384. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
  385. package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
@@ -2,356 +2,347 @@ import { executeExpression, http } from "agilebuilder-ui";
2
2
  import dayjs from "dayjs";
3
3
  import { getComponentRef } from "./global-refs.mjs";
4
4
  import { watch } from "vue";
5
- import { deepCopy, getBaseUrl } from "./common-util.mjs";
6
- function getComponentOptionConfigs(e, t, n, o) {
7
- return getComponentOptionConfigsBase(e, (t == null ? void 0 : t.systemCode) ? t.systemCode : n, (t == null ? void 0 : t.systemVersion) ? t == null ? void 0 : t.systemVersion : o);
8
- }
9
- function getComponentOptionConfigsBase(e, t, n) {
10
- if (!e.props || !e.props.dataOrigin) return;
11
- if (e.name && "table" === e.name) return;
12
- const o = e.props.dataOrigin, a = { uuid: e.uuid };
13
- if ("optionGroup" == o.optionValueSetType) a.type = "optionGroup", a.props = { code: o.optionGroup };
14
- else if ("dynamicData" == o.optionValueSetType) a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
15
- else if ("dataTable" == o.optionValueSetType) {
5
+ import { getBaseUrl, deepCopy } from "./common-util.mjs";
6
+ function getComponentOptionConfigs(t, e, n, o) {
7
+ return getComponentOptionConfigsBase(t, e != null && e.systemCode ? e.systemCode : n, e != null && e.systemVersion ? e == null ? void 0 : e.systemVersion : o);
8
+ }
9
+ function getComponentOptionConfigsBase(t, e, n) {
10
+ if (!t.props || !t.props.dataOrigin || t.name && t.name === "table") return;
11
+ const o = t.props.dataOrigin, a = { uuid: t.uuid };
12
+ if (o.optionValueSetType == "optionGroup") a.type = "optionGroup", a.props = { code: o.optionGroup };
13
+ else if (o.optionValueSetType == "dynamicData") a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
14
+ else if (o.optionValueSetType == "dataTable") {
16
15
  a.filterType = o.filterType;
17
- const e2 = getTableQueryInfo(o, t, n);
18
- Object.assign(a, e2);
19
- } else if ("service" == o.optionValueSetType) {
16
+ const s = getTableQueryInfo(o, e, n);
17
+ Object.assign(a, s);
18
+ } else if (o.optionValueSetType == "service") {
20
19
  a.filterType = o.filterType;
21
- const e2 = getServiceQueryInfo(o, t, n);
22
- Object.assign(a, e2);
20
+ const s = getServiceQueryInfo(o, e, n);
21
+ Object.assign(a, s);
23
22
  }
24
23
  return a.type ? a : void 0;
25
24
  }
26
- function getTableQueryInfo(e, t, n) {
25
+ function getTableQueryInfo(t, e, n) {
27
26
  const o = { type: "dataTable" };
28
- if (o.valueLabelSwitch = !!e.valueLabelSwitch, o.props = { tableName: e.tableName, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : n }, e.sortFields) {
29
- const t2 = [];
30
- for (const n2 of e.sortFields) n2.name && t2.push({ prop: n2.name, order: n2.type ? n2.type : "asc" });
31
- o.props.sorts = t2;
27
+ if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { tableName: t.tableName, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.sortFields) {
28
+ const r = [];
29
+ for (const i of t.sortFields) i.name && r.push({ prop: i.name, order: i.type ? i.type : "asc" });
30
+ o.props.sorts = r;
32
31
  }
33
32
  const a = [];
34
- if (e.filterList) {
35
- const t2 = [];
36
- for (const n2 of e.filterList) {
37
- if (!n2.propName) continue;
38
- n2.propDbName || (n2.propDbName = n2.propName);
39
- const e2 = {};
40
- Object.assign(e2, n2);
41
- const o2 = getParamNames(n2.propValue);
42
- for (const e3 of o2) e3 && (e3.startsWith("${data.") || e3.startsWith("${task.") || e3.startsWith("${page.")) && (a.includes(e3) || a.push(e3));
43
- n2.propValue, t2.push(e2);
33
+ if (t.filterList) {
34
+ const r = [];
35
+ for (const i of t.filterList) {
36
+ if (!i.propName) continue;
37
+ i.propDbName || (i.propDbName = i.propName);
38
+ const u = {};
39
+ Object.assign(u, i);
40
+ const p = getParamNames(i.propValue);
41
+ for (const l of p) l && (l.startsWith("${data.") || l.startsWith("${task.") || l.startsWith("${page.")) && (a.includes(l) || a.push(l));
42
+ r.push(u);
44
43
  }
45
- o.props.searchForm = t2;
44
+ o.props.searchForm = r;
46
45
  }
47
46
  o.props.monitorFields = a;
48
- const r = [];
49
- if (e.tableValueField && (o.props.valueField = e.tableValueField), e.tableLableField && -1 == r.indexOf(e.tableLableField) && (o.props.lableField = e.tableLableField), e.autoSets) for (const t2 of e.autoSets) t2.source && -1 == r.indexOf(t2.source) && r.push(t2.source);
50
- return o.props.queryFields = r, o.props.pageSize = e.displayQuantity, o;
47
+ const s = [];
48
+ if (t.tableValueField && (o.props.valueField = t.tableValueField), t.tableLableField && s.indexOf(t.tableLableField) == -1 && (o.props.lableField = t.tableLableField), t.autoSets) for (const r of t.autoSets) r.source && s.indexOf(r.source) == -1 && s.push(r.source);
49
+ return o.props.queryFields = s, o.props.pageSize = t.displayQuantity, o;
51
50
  }
52
- function getServiceQueryInfo(e, t, n) {
51
+ function getServiceQueryInfo(t, e, n) {
53
52
  const o = { type: "service" };
54
- if (o.valueLabelSwitch = !!e.valueLabelSwitch, o.props = { serivceCode: e.serviceCode, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : n }, e.serviceInputs) {
55
- const t2 = [];
56
- for (const n2 of e.serviceInputs) {
57
- if (!n2.name || n2.value) continue;
58
- const e2 = {};
59
- Object.assign(e2, n2), t2.push(e2);
53
+ if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { serivceCode: t.serviceCode, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.serviceInputs) {
54
+ const a = [];
55
+ for (const s of t.serviceInputs) {
56
+ if (!s.name || s.value) continue;
57
+ const r = {};
58
+ Object.assign(r, s), a.push(r);
60
59
  }
61
- o.props.inputs = t2;
60
+ o.props.inputs = a;
62
61
  }
63
- return o.props.dataSetField = e.serviceDataSetField, o.props.valueField = e.serviceValueField, o.props.labelField = e.serviceLabelField, o;
64
- }
65
- function updateChartDatasources(e, t, n, o) {
66
- return new Promise((a, r) => {
67
- if (!t || 0 == t.length) return void r(new Error("无需查询的统计图配置!"));
68
- const s = deepCopy(t);
69
- s.forEach((t2) => {
70
- const n2 = t2.services;
71
- if (n2 && n2.length > 0) {
72
- const t3 = n2[0].serviceInputs;
73
- t3 && (n2[0].serviceInParams = {}, t3.forEach((t4) => {
74
- const o2 = t4.name, a2 = t4.value;
75
- n2[0].serviceInParams[o2] = getValueFromVariable(e.entity, a2);
76
- }), delete n2[0].serviceInputs);
62
+ return o.props.dataSetField = t.serviceDataSetField, o.props.valueField = t.serviceValueField, o.props.labelField = t.serviceLabelField, o;
63
+ }
64
+ function updateChartDatasources(t, e, n, o) {
65
+ return new Promise((a, s) => {
66
+ if (!e || e.length == 0) return void s(new Error("无需查询的统计图配置!"));
67
+ const r = deepCopy(e);
68
+ r.forEach((d) => {
69
+ const m = d.services;
70
+ if (m && m.length > 0) {
71
+ const b = m[0].serviceInputs;
72
+ b && (m[0].serviceInParams = {}, b.forEach((g) => {
73
+ const h = g.name, y = g.value;
74
+ m[0].serviceInParams[h] = getValueFromVariable(t.entity, y);
75
+ }), delete m[0].serviceInputs);
77
76
  }
78
77
  });
79
- const i = e.entity ? e.entity : {}, u = {};
78
+ const i = t.entity ? t.entity : {}, u = {};
80
79
  i.request && Object.assign(u, i.request), i.page && Object.assign(u, i.page), n && Object.assign(u, n);
81
- const l = {};
82
- i.task && Object.assign(l, i.task);
83
- const c = { entityMap: i.data, additionalParamMap: u, taskMap: l, dataSourceList: s, systemCode: e.systemCode, pageCode: e.code }, p = e.backendUrl, f = getBaseUrl(p, e.isTest) + "/common/common-data/find-chart-datas";
84
- http.post(f, c, { headers: { customSystem: e.systemCode } }).then((t2) => {
85
- var _a, _b;
86
- e.chartDataSourceMap || (e.chartDataSourceMap = {});
87
- for (const n2 in t2) {
88
- e.chartDataSourceMap[n2] = t2[n2];
89
- const a2 = getComponentRef(e, n2);
90
- if (a2) {
91
- const r2 = a2.getConfigure();
92
- if ((!o || r2 && (void 0 === r2.initializationQuery || r2.initializationQuery)) && a2.updateChartDatas && (a2.updateChartDatas(t2[n2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
93
- const o2 = t2[n2] && t2[n2].length > 0 ? t2[n2][0] : {}, a3 = o2 && o2.result ? o2.result : {};
94
- let s2 = null;
95
- r2.serviceDataField ? s2 = a3[r2.serviceDataField] : a3 && (s2 = Array.isArray(a3) ? a3 : [a3]), s2 || (s2 = []), setValueForVariableName(e.entity, r2.runtime.dataConfig.resultSet, s2);
80
+ const p = {};
81
+ i.task && Object.assign(p, i.task);
82
+ const l = { entityMap: i.data, additionalParamMap: u, taskMap: p, dataSourceList: r, systemCode: t.systemCode, pageCode: t.code }, c = t.backendUrl, f = getBaseUrl(c, t.isTest) + "/common/common-data/find-chart-datas";
83
+ http.post(f, l, { headers: { customSystem: t.systemCode } }).then((d) => {
84
+ var m, b;
85
+ t.chartDataSourceMap || (t.chartDataSourceMap = {});
86
+ for (const g in d) {
87
+ t.chartDataSourceMap[g] = d[g];
88
+ const h = getComponentRef(t, g);
89
+ if (h) {
90
+ const y = h.getConfigure();
91
+ if ((!o || y && (y.initializationQuery === void 0 || y.initializationQuery)) && h.updateChartDatas && (h.updateChartDatas(d[g]), (b = (m = y.runtime) == null ? void 0 : m.dataConfig) == null ? void 0 : b.resultSet)) {
92
+ const S = d[g] && d[g].length > 0 ? d[g][0] : {}, C = S && S.result ? S.result : {};
93
+ let V = null;
94
+ y.serviceDataField ? V = C[y.serviceDataField] : C && (V = Array.isArray(C) ? C : [C]), V || (V = []), setValueForVariableName(t.entity, y.runtime.dataConfig.resultSet, V);
96
95
  }
97
96
  }
98
97
  }
99
- a(t2);
100
- }).catch((e2) => {
101
- r(e2);
98
+ a(d);
99
+ }).catch((d) => {
100
+ s(d);
102
101
  });
103
102
  });
104
103
  }
105
- function updateChartDatasourcesByComponent(e, t) {
106
- const n = e.initChartServiceConfigs.find((e2) => e2.uuid === t);
107
- n && updateChartDatasources(e, [n], null, false);
104
+ function updateChartDatasourcesByComponent(t, e) {
105
+ const n = t.initChartServiceConfigs.find((o) => o.uuid === e);
106
+ n && updateChartDatasources(t, [n], null, !1);
108
107
  }
109
- function updateOptionDatasources(e, t, n) {
108
+ function updateOptionDatasources(t, e, n) {
110
109
  return new Promise((o, a) => {
111
- if (!t || 0 == t.length) return void a(new Error("无需查询的配置!"));
112
- const r = e.entity ? e.entity : {}, s = {};
113
- r.request && Object.assign(s, r.request), r.page && Object.assign(s, r.page), s.query = n;
114
- const i = { entityMap: r.data, additionalParamMap: s, dataSourceList: t, systemCode: e.systemCode, query: n }, u = e.backendUrl, l = getBaseUrl(u, e.isTest) + "/common/common-data/find-datas";
115
- http.post(l, i).then((t2) => {
116
- e.optionSourceMap || (e.optionSourceMap = {});
117
- for (const n2 in t2) {
118
- e.optionSourceMap[n2] = t2[n2];
119
- const o2 = getComponentRef(e, n2);
120
- o2 && o2.updateOptions && o2.updateOptions(t2[n2]);
110
+ if (!e || e.length == 0) return void a(new Error("无需查询的配置!"));
111
+ const s = t.entity ? t.entity : {}, r = {};
112
+ s.request && Object.assign(r, s.request), s.page && Object.assign(r, s.page), r.query = n;
113
+ const i = { entityMap: s.data, additionalParamMap: r, dataSourceList: e, systemCode: t.systemCode, query: n }, u = t.backendUrl, p = getBaseUrl(u, t.isTest) + "/common/common-data/find-datas";
114
+ http.post(p, i).then((l) => {
115
+ t.optionSourceMap || (t.optionSourceMap = {});
116
+ for (const c in l) {
117
+ t.optionSourceMap[c] = l[c];
118
+ const f = getComponentRef(t, c);
119
+ f && f.updateOptions && f.updateOptions(l[c]);
121
120
  }
122
- o(t2);
123
- }).catch((e2) => {
124
- a(e2);
121
+ o(l);
122
+ }).catch((l) => {
123
+ a(l);
125
124
  });
126
125
  });
127
126
  }
128
- function getOptionDatasFromPage(e, t) {
129
- return getComponentOptionDatasFromPage(e, t.uuid);
130
- }
131
- function getComponentOptionDatasFromPage(e, t) {
132
- const n = getOptionDatasSourceMap(e)[t];
133
- return n || [];
134
- }
135
- function getOptionDatasSourceMap(e) {
136
- if (!e || !e.optionSourceMap) return {};
137
- const t = e.optionSourceMap;
138
- return t || {};
139
- }
140
- function getChartDatasFromPage(e, t) {
141
- if (!e || !e.chartDataSourceMap || !t) return null;
142
- return e.chartDataSourceMap[t.uuid];
143
- }
144
- function queryOptionDatasources(e, t, n) {
145
- return updateOptionDatasources(e, t ? [t] : [], n);
146
- }
147
- function autoSetAfterSelect(e, t, n, o, a = []) {
148
- if (!n || 0 == n.length) return;
149
- const r = t.entity ? t.entity : {};
150
- for (const e2 of n) {
151
- if (!e2.source || !e2.target || a.includes(e2.target)) continue;
152
- const t2 = getValuesByField(o, e2.source);
153
- let n2 = e2.target;
154
- if (!n2 || !n2.startsWith("${")) continue;
155
- n2 = n2.substring(2, n2.length - 1);
156
- const s = n2.split(".");
157
- setVariableValue(r, s, null == t2 ? null : t2.join(","));
127
+ function getOptionDatasFromPage(t, e) {
128
+ return getComponentOptionDatasFromPage(t, e.uuid);
129
+ }
130
+ function getComponentOptionDatasFromPage(t, e) {
131
+ return getOptionDatasSourceMap(t)[e] || [];
132
+ }
133
+ function getOptionDatasSourceMap(t) {
134
+ return !t || !t.optionSourceMap ? {} : t.optionSourceMap || {};
135
+ }
136
+ function getChartDatasFromPage(t, e) {
137
+ return !t || !t.chartDataSourceMap || !e ? null : t.chartDataSourceMap[e.uuid];
138
+ }
139
+ function queryOptionDatasources(t, e, n) {
140
+ return updateOptionDatasources(t, e ? [e] : [], n);
141
+ }
142
+ function autoSetAfterSelect(t, e, n, o, a = []) {
143
+ if (!n || n.length == 0) return;
144
+ const s = e.entity ? e.entity : {};
145
+ for (const r of n) {
146
+ if (!r.source || !r.target || a.includes(r.target)) continue;
147
+ const i = getValuesByField(o, r.source);
148
+ let u = r.target;
149
+ if (!u || !u.startsWith("${")) continue;
150
+ u = u.substring(2, u.length - 1);
151
+ const p = u.split(".");
152
+ setVariableValue(s, p, i == null ? null : i.join(","));
158
153
  }
159
154
  }
160
- function getValuesByField(e, t) {
161
- if (e) {
155
+ function getValuesByField(t, e) {
156
+ if (t) {
162
157
  const n = [];
163
- for (const o of e) {
164
- let e2 = o[t];
165
- null != e2 && null != e2 || (e2 = ""), n.push(e2);
158
+ for (const o of t) {
159
+ let a = o[e];
160
+ a != null && a != null || (a = ""), n.push(a);
166
161
  }
167
162
  return n;
168
163
  }
169
164
  return null;
170
165
  }
171
- function getVariableValue(e, t) {
172
- if (!e || !t || 0 == t.length) return;
173
- let n = e;
174
- for (let e2 = 0; e2 < t.length; e2++) {
175
- if (null == n) return n;
176
- n = n[t[e2]];
166
+ function getVariableValue(t, e) {
167
+ if (!t || !e || e.length == 0) return;
168
+ let n = t;
169
+ for (let o = 0; o < e.length; o++) {
170
+ if (n == null) return n;
171
+ n = n[e[o]];
177
172
  }
178
173
  return n;
179
174
  }
180
- function setValueForVariableName(e, t, n) {
181
- if (!t || !t.startsWith("${")) return;
182
- setVariableValue(e, (t = t.substring(2, t.length - 1)).split("."), n);
175
+ function setValueForVariableName(t, e, n) {
176
+ !e || !e.startsWith("${") || setVariableValue(t, (e = e.substring(2, e.length - 1)).split("."), n);
183
177
  }
184
- function setVariableValue(e, t, n) {
185
- if (!e || !t || 0 == t.length) return;
186
- let o = e;
187
- for (let e2 = 0; e2 < t.length; e2++) {
188
- const a = t[e2];
189
- e2 + 1 === t.length ? o[a] = void 0 === n ? null : n : (void 0 === o[a] && (o[a] = {}), o = o[a]);
178
+ function setVariableValue(t, e, n) {
179
+ if (!t || !e || e.length == 0) return;
180
+ let o = t;
181
+ for (let a = 0; a < e.length; a++) {
182
+ const s = e[a];
183
+ a + 1 === e.length ? o[s] = n === void 0 ? null : n : (o[s] === void 0 && (o[s] = {}), o = o[s]);
190
184
  }
191
185
  }
192
- function setVariableValueWithProp(e, t, n) {
193
- if (!e || !t) return;
194
- setVariableValue(e, t.split("."), n);
195
- }
196
- function formatVariableValue(e, t) {
197
- if (!e || "" == t || null == t || null == t) return t;
198
- const n = e.entity ? e.entity : {}, o = getParamNames(t);
199
- for (const e2 in o) {
200
- const a = o[e2], r = getValueFromVariable(n, a);
201
- if (r && "[object Date]" === Object.prototype.toString.call(r)) return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
202
- if (r && "number" == typeof r) return r;
203
- t = t.replace(a, null == r ? "" : r);
186
+ function setVariableValueWithProp(t, e, n) {
187
+ !t || !e || setVariableValue(t, e.split("."), n);
188
+ }
189
+ function formatVariableValue(t, e) {
190
+ if (!t || e == "" || e == null || e == null) return e;
191
+ const n = t.entity ? t.entity : {}, o = getParamNames(e);
192
+ for (const a in o) {
193
+ const s = o[a], r = getValueFromVariable(n, s);
194
+ if (r && Object.prototype.toString.call(r) === "[object Date]") return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
195
+ if (r && typeof r == "number") return r;
196
+ e = e.replace(s, r ?? "");
204
197
  }
205
- return t;
198
+ return e;
206
199
  }
207
- function getParamNames(e) {
208
- if (!e) return [];
209
- const t = e.match(/\$\{[^\{|\}]+\}/g);
210
- return t || [];
200
+ function getParamNames(t) {
201
+ return t ? t.match(/\$\{[^\{|\}]+\}/g) || [] : [];
211
202
  }
212
- function formatValueByType(e, t, n) {
213
- if (!t || "" == e || null == e || null == e) return e;
214
- if (n = n || {}, "number" == t || "percent" == t) {
215
- if (isNaN(e)) return e;
203
+ function formatValueByType(t, e, n) {
204
+ if (!e || t == "" || t == null || t == null) return t;
205
+ if (n = n || {}, e == "number" || e == "percent") {
206
+ if (isNaN(t)) return t;
216
207
  let o = parseInt(n.decimalDigit);
217
- if ((null == o || isNaN(o)) && (o = -1), e = parseFloat(e), "percent" == t && (e *= 100), o > -1 && (e = parseFloat(e.toFixed(o))), "percent" == t) e += "%";
208
+ if ((o == null || isNaN(o)) && (o = -1), t = parseFloat(t), e == "percent" && (t *= 100), o > -1 && (t = parseFloat(t.toFixed(o))), e == "percent") t += "%";
218
209
  else {
219
210
  if (n.thousandsSeparator) {
220
- const t2 = e.toString().split(".");
221
- t2[0] = t2[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e = t2.length > 1 ? t2.join(".") : t2[0];
211
+ const a = t.toString().split(".");
212
+ a[0] = a[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), t = a.length > 1 ? a.join(".") : a[0];
222
213
  }
223
- n.symbol && (e = n.symbol + "" + e);
214
+ n.symbol && (t = n.symbol + "" + t);
224
215
  }
225
- return e;
216
+ return t;
226
217
  }
227
- if ("date" == t || "time" == t) {
218
+ if (e == "date" || e == "time") {
228
219
  let o = "";
229
- return "date" == t ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(e).format(o);
220
+ return e == "date" ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(t).format(o);
230
221
  }
231
- return "custom" == t && n.formatEventUuid, e;
232
- }
233
- function getValueFromVariable(e, t, n) {
234
- if (null == t || null == t) return t;
235
- if (t.startsWith("${") && t.endsWith("}")) {
236
- let o = t.substring(2, t.length - 1), a = null, r = null;
237
- if (o.startsWith("data.")) o = o.substring(5), r = e.data, a = "data";
238
- else if (o.startsWith("page.")) o = o.substring(5), a = "page", r = e.page;
239
- else if (o.startsWith("task.")) o = o.substring(5), a = "task", r = e.task;
240
- else if (o.startsWith("request.")) o = o.substring(8), a = "request", r = e.request;
241
- else if (o.startsWith("context.")) o = o.substring(8), a = "context", r = e.context;
242
- else if (o.startsWith("system.")) o = o.substring(7), a = "system", r = e.system;
222
+ return e == "custom" && n.formatEventUuid, t;
223
+ }
224
+ function getValueFromVariable(t, e, n) {
225
+ if (e == null || e == null) return e;
226
+ if (e.startsWith("${") && e.endsWith("}")) {
227
+ let o = e.substring(2, e.length - 1), a = null, s = null;
228
+ if (o.startsWith("data.")) o = o.substring(5), s = t.data, a = "data";
229
+ else if (o.startsWith("page.")) o = o.substring(5), a = "page", s = t.page;
230
+ else if (o.startsWith("task.")) o = o.substring(5), a = "task", s = t.task;
231
+ else if (o.startsWith("request.")) o = o.substring(8), a = "request", s = t.request;
232
+ else if (o.startsWith("context.")) o = o.substring(8), a = "context", s = t.context;
233
+ else if (o.startsWith("system.")) o = o.substring(7), a = "system", s = t.system;
243
234
  else {
244
235
  if (o.startsWith("fixed.")) return o.substring(6);
245
- o.startsWith("row.") && (o = o.substring(4), r = n, a = "row");
236
+ o.startsWith("row.") && (o = o.substring(4), s = n, a = "row");
246
237
  }
247
- return o ? getValueFromSource(r, o, a) : "";
238
+ return o ? getValueFromSource(s, o, a) : "";
248
239
  }
249
- return t;
240
+ return e;
250
241
  }
251
- function getValueFromSource(e, t, n) {
252
- if ("context" != n && !e || !t) return;
253
- const o = t.indexOf(".");
242
+ function getValueFromSource(t, e, n) {
243
+ if (n != "context" && !t || !e) return;
244
+ const o = e.indexOf(".");
254
245
  if (o > -1) {
255
- const a = t.substring(0, o), r = t.substring(o + 1);
256
- let s = e[a];
257
- return s && Array.isArray(s) && s.length > 0 && (s = s[0]), getValueFromSource(s, r, n);
246
+ const a = e.substring(0, o), s = e.substring(o + 1);
247
+ let r = t[a];
248
+ return r && Array.isArray(r) && r.length > 0 && (r = r[0]), getValueFromSource(r, s, n);
258
249
  }
259
- if ("context" == n) {
260
- if ("currentDate" == t || "currentTime" == t) return /* @__PURE__ */ new Date();
261
- if (t.startsWith("currentDate") && t.length > 11) {
262
- const e2 = t.substring(11), n2 = e2.substring(0, 1);
263
- let o2 = parseInt(e2.substring(1, e2.length - 1), 10);
264
- const a = e2.substring(e2.length - 1), r = /* @__PURE__ */ new Date();
265
- return o2 = "+" === n2 ? o2 : -o2, "d" === a || "w" === a ? (o2 = "w" === a ? 7 * o2 : o2, r.setDate(r.getDate() + o2)) : "m" === a ? r.setMonth(r.getMonth() + o2) : "y" === a && r.setFullYear(r.getFullYear() + o2), r;
250
+ if (n == "context") {
251
+ if (e == "currentDate" || e == "currentTime") return /* @__PURE__ */ new Date();
252
+ if (e.startsWith("currentDate") && e.length > 11) {
253
+ const a = e.substring(11), s = a.substring(0, 1);
254
+ let r = parseInt(a.substring(1, a.length - 1), 10);
255
+ const i = a.substring(a.length - 1), u = /* @__PURE__ */ new Date();
256
+ return r = s === "+" ? r : -r, i === "d" || i === "w" ? (r = i === "w" ? 7 * r : r, u.setDate(u.getDate() + r)) : i === "m" ? u.setMonth(u.getMonth() + r) : i === "y" && u.setFullYear(u.getFullYear() + r), u;
266
257
  }
267
- if (!e) return;
258
+ if (!t) return;
268
259
  }
269
- return e[t];
260
+ return t[e];
270
261
  }
271
262
  function caculateShowCondition(pageContext, showConditions, row) {
272
- if (!showConditions || 0 == showConditions.length || !pageContext || !pageContext.entity) return true;
263
+ if (!showConditions || showConditions.length == 0 || !pageContext || !pageContext.entity) return !0;
273
264
  const entityData = pageContext.entity;
274
265
  let conditions = "";
275
266
  const maxLen = showConditions.length;
276
- for (let e = 0; e < maxLen; e++) {
277
- const t = showConditions[e], n = t.propName;
278
- let o = t.operator;
279
- if (!n || "" === n) continue;
267
+ for (let t = 0; t < maxLen; t++) {
268
+ const e = showConditions[t], n = e.propName;
269
+ let o = e.operator;
270
+ if (!n || n === "") continue;
280
271
  o || (o = "EQ");
281
272
  const a = getValueFromVariable(entityData, n, row);
282
- let r = getValueFromVariable(entityData, t.propValue, row);
283
- const s = t.dataType;
284
- "CONTAIN" != o && "NOT_CONTAIN" != o || a && !a.includes && (o = "CONTAIN" == o ? "EQ" : "NET");
285
- let i = t.variableIsNull, u;
286
- if (i || (i = "null"), "IS_NULL" !== o && "IS_NOT_NULL" !== o && (void 0 !== r && "" !== r || (r = null, "null" === i ? o = "IS_NULL" : "notequal" === i ? o = "IS_NOT_NULL" : u = true)), null == u) try {
287
- u = executeExpression(a, o, r, s);
288
- } catch (e2) {
289
- u = false;
273
+ let s = getValueFromVariable(entityData, e.propValue, row);
274
+ const r = e.dataType;
275
+ o != "CONTAIN" && o != "NOT_CONTAIN" || a && !a.includes && (o = o == "CONTAIN" ? "EQ" : "NET");
276
+ let i = e.variableIsNull, u;
277
+ if (i || (i = "null"), o !== "IS_NULL" && o !== "IS_NOT_NULL" && (s !== void 0 && s !== "" || (s = null, i === "null" ? o = "IS_NULL" : i === "notequal" ? o = "IS_NOT_NULL" : u = !0)), u == null) try {
278
+ u = executeExpression(a, o, s, r);
279
+ } catch {
280
+ u = !1;
290
281
  }
291
- const l = t.leftBracket, c = t.rightBracket;
292
- let p = t.joinSign;
293
- if (l && null !== l && "" !== l && (conditions += l, conditions += " "), conditions += u + " ", c && null !== c && "" !== c && (conditions += c, conditions += " "), e < maxLen - 1 && p && null !== p && "" !== p) {
294
- const e2 = p.toLowerCase();
295
- "and" === e2 ? p = e2.replace("and", "&&") : "or" === e2 && (p = e2.replace("or", "||")), conditions += p + " ";
282
+ const p = e.leftBracket, l = e.rightBracket;
283
+ let c = e.joinSign;
284
+ if (p && p !== null && p !== "" && (conditions += p, conditions += " "), conditions += u + " ", l && l !== null && l !== "" && (conditions += l, conditions += " "), t < maxLen - 1 && c && c !== null && c !== "") {
285
+ const f = c.toLowerCase();
286
+ f === "and" ? c = f.replace("and", "&&") : f === "or" && (c = f.replace("or", "||")), conditions += c + " ";
296
287
  }
297
288
  }
298
289
  return !conditions || eval("(" + conditions + ")");
299
290
  }
300
- function monitorFieldChange(e, t, n) {
301
- if (!n || !e || !t || 0 == t.length) return;
291
+ function monitorFieldChange(t, e, n) {
292
+ if (!n || !t || !e || e.length == 0) return;
302
293
  const o = [], a = [];
303
- for (let e2 of t) if (e2.startsWith("${")) {
304
- e2 = e2.substring(2, e2.length - 1);
305
- const t2 = e2.split(".");
306
- "page" !== t2[0] && "task" !== t2[0] && "data" !== t2[0] || (o.push(t2), a.includes(t2[0]) || a.push(t2[0]));
294
+ for (let i of e) if (i.startsWith("${")) {
295
+ i = i.substring(2, i.length - 1);
296
+ const u = i.split(".");
297
+ u[0] !== "page" && u[0] !== "task" && u[0] !== "data" || (o.push(u), a.includes(u[0]) || a.push(u[0]));
307
298
  }
308
- let r = getMonitorFieldValues(o, e.entity), s = false;
309
- for (const t2 of a) watch(e.entity[t2], () => {
310
- s && clearTimeout(s), s = setTimeout(function() {
311
- const t3 = getMonitorFieldValues(o, e.entity);
312
- r != t3 && (r = t3, n());
299
+ let s = getMonitorFieldValues(o, t.entity), r = !1;
300
+ for (const i of a) watch(t.entity[i], () => {
301
+ r && clearTimeout(r), r = setTimeout(function() {
302
+ const u = getMonitorFieldValues(o, t.entity);
303
+ s != u && (s = u, n());
313
304
  }, 200);
314
305
  });
315
306
  }
316
- function getMonitorFieldValues(e, t) {
307
+ function getMonitorFieldValues(t, e) {
317
308
  let n = "";
318
- for (const o of e) n += "_" + getVariableValue(t, o);
309
+ for (const o of t) n += "_" + getVariableValue(e, o);
319
310
  return n;
320
311
  }
321
- function getFormPropName(e) {
322
- return e && e.indexOf("${") >= 0 ? e.substring(e.indexOf(".") + 1, e.lastIndexOf("}")) : e;
312
+ function getFormPropName(t) {
313
+ return t && t.indexOf("${") >= 0 ? t.substring(t.indexOf(".") + 1, t.lastIndexOf("}")) : t;
323
314
  }
324
- function getSizeConfig(e, t) {
325
- const n = getPageModeType(e);
315
+ function getSizeConfig(t, e) {
316
+ const n = getPageModeType(t);
326
317
  let o;
327
- return t.props && t.props.size && t.props.size[n] && (o = t.props.size[n]), !o && t.props && t.props.size && (o = t.props.size.pc), o;
318
+ return e.props && e.props.size && e.props.size[n] && (o = e.props.size[n]), !o && e.props && e.props.size && (o = e.props.size.pc), o;
328
319
  }
329
- function getPageModeType(e) {
330
- let t = e.dimensions;
331
- return t || (t = "pc"), t;
320
+ function getPageModeType(t) {
321
+ let e = t.dimensions;
322
+ return e || (e = "pc"), e;
332
323
  }
333
- function isPromise(e) {
334
- return e && "[object Promise]" === Object.prototype.toString.call(e);
324
+ function isPromise(t) {
325
+ return t && Object.prototype.toString.call(t) === "[object Promise]";
335
326
  }
336
- function decomposeVariable(e) {
337
- if (!e) return [];
338
- const t = e.match(/\${(.*?)}/);
339
- return t ? t[1].split(".") : [];
327
+ function decomposeVariable(t) {
328
+ if (!t) return [];
329
+ const e = t.match(/\${(.*?)}/);
330
+ return e ? e[1].split(".") : [];
340
331
  }
341
- function getModelFieldFromPageContext(e, t) {
342
- if (!t.modelFieldsMap) return;
332
+ function getModelFieldFromPageContext(t, e) {
333
+ if (!e.modelFieldsMap) return;
343
334
  let n = null;
344
- for (let o = 0; o < e.length; o++) {
345
- const a = e[o];
346
- o + 1 === e.length && (n = t.modelFieldsMap[a]);
335
+ for (let o = 0; o < t.length; o++) {
336
+ const a = t[o];
337
+ o + 1 === t.length && (n = e.modelFieldsMap[a]);
347
338
  }
348
339
  return n;
349
340
  }
350
- function isNumberDataType(e) {
351
- return "INTEGER" === e || "LONG" === e || "DOUBLE" === e || "FLOAT_COM" === e;
341
+ function isNumberDataType(t) {
342
+ return t === "INTEGER" || t === "LONG" || t === "DOUBLE" || t === "FLOAT_COM";
352
343
  }
353
- function isDateDataType(e) {
354
- return "DATE" === (e = e ? e.toUpperCase() : "") || "TIME" === e || "DATETIME" === e || "TIMESTAMP" === e;
344
+ function isDateDataType(t) {
345
+ return (t = t ? t.toUpperCase() : "") === "DATE" || t === "TIME" || t === "DATETIME" || t === "TIMESTAMP";
355
346
  }
356
347
  export {
357
348
  autoSetAfterSelect,