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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +4 -4
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
  4. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
  6. package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
  7. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
  8. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
  9. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
  10. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
  11. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
  12. package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
  13. package/dist/es/components/runtime/utils/common-util.mjs +91 -94
  14. package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
  15. package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
  16. package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
  17. package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
  18. package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
  20. package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
  21. package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
  22. package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
  24. package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
  25. package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
  26. package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
  27. package/dist/es/components/runtime/utils/page-store.mjs +38 -38
  28. package/dist/es/components/runtime/utils/store-util.mjs +9 -9
  29. package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
  30. package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
  37. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
  38. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
  39. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
  40. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
  43. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
  44. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
  51. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
  53. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
  55. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
  57. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
  59. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
  60. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
  64. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
  66. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
  70. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
  71. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
  74. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
  75. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
  76. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
  77. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
  79. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
  80. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
  81. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
  82. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
  83. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
  84. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
  85. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
  86. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
  87. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
  89. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
  90. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
  91. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
  92. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
  93. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
  94. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
  95. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
  96. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
  97. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
  98. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
  99. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
  100. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
  101. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
  102. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
  103. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
  104. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
  105. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
  106. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
  107. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
  108. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
  109. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
  110. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
  111. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
  112. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
  113. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
  114. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
  115. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
  116. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
  117. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
  118. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
  119. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
  121. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
  122. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
  123. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
  125. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
  126. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
  127. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
  128. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
  129. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
  130. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
  132. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
  134. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
  136. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
  138. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
  139. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
  140. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
  142. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
  143. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
  144. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
  145. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
  146. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
  147. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
  148. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  149. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
  150. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
  151. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
  152. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
  153. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
  154. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
  155. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
  156. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
  157. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
  158. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
  159. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
  160. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
  161. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
  162. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
  163. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
  164. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  165. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
  166. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
  167. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
  168. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
  169. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
  170. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
  171. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
  172. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
  173. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
  174. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
  175. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
  176. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
  177. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
  178. package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
  179. package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
  180. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
  181. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
  182. package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
  183. package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
  184. package/dist/es/index.mjs +27 -27
  185. package/dist/es/style.css +1 -996
  186. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
  187. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
  188. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
  189. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
  190. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
  191. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
  192. package/dist/lib/assets/file.png.cjs +1 -2
  193. package/dist/lib/assets/folder.png.cjs +1 -2
  194. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
  195. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
  196. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
  197. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
  198. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
  199. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
  200. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
  201. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
  202. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
  203. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
  204. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
  205. package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
  206. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
  208. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
  209. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
  210. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
  211. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
  212. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
  213. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
  214. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
  215. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
  216. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
  217. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
  218. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
  219. package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
  220. package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
  221. package/dist/lib/components/runtime/utils/store.cjs +1 -3
  222. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
  225. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
  242. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
  243. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
  244. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
  245. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
  246. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
  247. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
  248. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
  249. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
  250. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
  251. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
  261. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
  262. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
  264. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
  267. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
  269. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
  271. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
  272. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
  273. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
  277. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
  278. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
  279. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
  280. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
  281. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
  282. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
  283. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
  284. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
  285. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
  286. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
  287. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
  288. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
  289. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
  291. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
  293. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
  294. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
  295. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
  296. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
  297. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
  298. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
  299. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
  300. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
  301. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
  302. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
  303. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
  304. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
  306. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
  307. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
  308. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
  309. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
  310. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
  311. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
  312. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
  313. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
  314. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
  315. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
  316. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
  317. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
  318. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
  319. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
  320. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
  321. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
  322. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
  323. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
  324. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
  325. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
  326. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
  327. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
  328. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
  329. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
  330. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
  331. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
  332. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
  333. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
  334. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
  335. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
  336. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
  337. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
  338. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
  339. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
  340. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
  341. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
  342. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
  343. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
  344. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
  345. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
  346. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
  347. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
  348. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
  349. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
  350. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
  351. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
  352. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
  353. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
  354. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
  355. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
  356. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
  357. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
  358. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
  359. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
  360. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
  361. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
  362. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
  363. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
  364. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
  365. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
  366. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
  367. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
  368. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
  369. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
  370. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
  371. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
  372. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
  373. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
  374. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
  375. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
  376. package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
  377. package/dist/lib/i18n/langs/cn.cjs +1 -2
  378. package/dist/lib/i18n/langs/en.cjs +1 -2
  379. package/dist/lib/index.cjs +1 -6
  380. package/dist/lib/style.css +1 -996
  381. package/dist/umd/index.full.min.js +3 -7429
  382. package/dist/umd/style.css +1 -996
  383. package/package.json +77 -76
  384. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
  385. package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
@@ -1,381 +1,361 @@
1
- import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
2
- import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as S, rowDblClick as w, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.mjs";
3
- import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.mjs";
4
- import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.mjs";
5
- import { isMobileBrowser as N, isPromise as B } from "agilebuilder-ui";
6
- import { getOperationButtons as P, popupToPage as F } from "../../../../utils/table-utils.mjs";
7
- import H from "../../../../utils/eventBus.mjs";
8
- import { getDefaultValue as U } from "../../../../utils/page-init-util.mjs";
9
- import { getSizeConfig as M, caculateShowCondition as L, decomposeVariable as $ } from "../../../../utils/page-helper-util.mjs";
10
- import { getComponentRefByCode as _ } from "../../../../utils/global-refs.mjs";
11
- import { getRowStyleUtil as A, getCellStyleUtil as G, getHeaderCellStyleUtil as z } from "../../chart/table/chart-table-util.mjs";
12
- const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: q2, emit: Q }) {
13
- const Y = e2, J = Y.pageContext;
14
- let K = Y.configure;
15
- const X = t({});
16
- J.isTest ? X.value = Y.configure.runtime ? Y.configure.runtime : {} : J.tableRuntimes && J.tableRuntimes[K.uuid] && (K = JSON.parse(J.tableRuntimes[K.uuid].configure), X.value = K.runtime ? K.runtime : {});
17
- const Z = X.value.style, ee = X.value.class, te = J.systemCode, ne = J.backendUrl, oe = K.props && K.props.dataOrigin && K.props.dataOrigin.tableName;
18
- let ie = E(J.backendUrl, J.isTest);
19
- ie || (ie = window.$vueApp.config.globalProperties.baseURL);
20
- const ae = t({}), le = [], re = t({});
21
- re.value = function() {
22
- var _a;
23
- const e3 = J.systemCode, t2 = J.code;
24
- let n2 = K.props && K.props.dataOrigin && "[]" !== K.props.dataOrigin.sqlFilterCondition ? K.props.dataOrigin.sqlFilterCondition : null;
25
- null == n2 && (n2 = []);
26
- const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Ce, esc: Te }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip: !(!K.props || !K.props.otherSettings || void 0 !== K.props.otherSettings.isBreakLine && false !== K.props.otherSettings.isBreakLine), isEnableEnterEvent: K.props && K.props.otherSettings && K.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(K.props && K.props.otherSettings && K.props.otherSettings.isWithDataPermission) && K.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(J), tableClass: ee, tableStyle: Z, pageContext: J, configureObj: K, backendUrl: ie, cellStyleRender: Qe, rowStyleRender: qe, titleStyleRender: Ye, validateEitConditions: Ze };
27
- return function(e4) {
28
- var _a2;
29
- ((_a2 = K.props.highOrder) == null ? void 0 : _a2.mergeFields) && K.props.highOrder.mergeFields.length > 0 && (e4.mergeFields = K.props.highOrder.mergeFields.join(","));
30
- }(i2), function(e4) {
31
- const t3 = [];
32
- e4.operations || (e4.operations = {});
33
- P(J, K, t3, xe), e4.operations.operation = t3;
34
- }(i2), function(e4) {
35
- K.props && K.props.dataOrigin && K.props.dataOrigin.sortField && (e4.initSortInfo = [], K.props.dataOrigin.sortField.forEach((t3) => {
36
- const n3 = { order: "desc" === t3.type ? "desc" : "asc" };
37
- n3.prop = t3.name, e4.initSortInfo.push(n3);
1
+ import { defineComponent as Be, ref as h, onMounted as Pe, watch as O, onUnmounted as Ne, resolveComponent as Ue, createElementBlock as Fe, openBlock as He, unref as S, createVNode as Me } from "vue";
2
+ import { setTableEvents as Ae, canExecuteButton as N, doAfterClickEvent as I, doBeforeClickEvent as V, gridSelectRecord as je, gridSelectAllRecords as Le, gridSelectionChange as _e, cellClick as $e, cellDblClick as ze, rowClick as Ge, rowDblClick as We, headerClick as qe, getEventNameByType as Ye, getEventFuncByType as Je, getHandleEvent as Ke } from "../../../../utils/events/event-util.mjs";
3
+ import { getBaseUrl as Qe, getListCode as Xe, getRealRestApiPath as Ze, isWorkflowPage as et, isVariableInvalidValue as W } from "../../../../utils/common-util.mjs";
4
+ import { getAdditionalParamMap as tt, getSaveFormRequestWithRow as nt, standardEvents as ot } from "../../../../utils/events/standard-event.mjs";
5
+ import { isMobileBrowser as at, isPromise as U } from "agilebuilder-ui";
6
+ import { getOperationButtons as it, popupToPage as lt } from "../../../../utils/table-utils.mjs";
7
+ import v from "../../../../utils/eventBus.mjs";
8
+ import { getDefaultValue as rt } from "../../../../utils/page-init-util.mjs";
9
+ import { getSizeConfig as st, caculateShowCondition as ut, decomposeVariable as q } from "../../../../utils/page-helper-util.mjs";
10
+ import { getComponentRefByCode as ct } from "../../../../utils/global-refs.mjs";
11
+ import { getRowStyleUtil as pt, getCellStyleUtil as dt, getHeaderCellStyleUtil as ft } from "../../chart/table/chart-table-util.mjs";
12
+ const gt = ["id"], Tt = Be({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(Y, { expose: J, emit: K }) {
13
+ const p = Y, a = p.pageContext;
14
+ let o = p.configure;
15
+ const T = h({});
16
+ a.isTest ? T.value = p.configure.runtime ? p.configure.runtime : {} : a.tableRuntimes && a.tableRuntimes[o.uuid] && (o = JSON.parse(a.tableRuntimes[o.uuid].configure), T.value = o.runtime ? o.runtime : {});
17
+ const Q = T.value.style, X = T.value.class, Z = a.systemCode, ee = a.backendUrl, te = o.props && o.props.dataOrigin && o.props.dataOrigin.tableName;
18
+ let y = Qe(a.backendUrl, a.isTest);
19
+ y || (y = window.$vueApp.config.globalProperties.baseURL);
20
+ const g = h({}), x = [], m = h({});
21
+ m.value = function() {
22
+ var c;
23
+ const e = a.systemCode, t = a.code;
24
+ let n = o.props && o.props.dataOrigin && o.props.dataOrigin.sqlFilterCondition !== "[]" ? o.props.dataOrigin.sqlFilterCondition : null;
25
+ n == null && (n = []);
26
+ const i = (c = o.props) == null ? void 0 : c.dataOrigin.principalLinkage, s = { isSql: !0, optionTableHeight: 0, rowKeyProp: i, extraParam: { beanName: a.beanName, functionCode: t + ".listData", tableName: te, systemCode: e, pageCode: a.code, pageVersion: a.version, isMobile: at() }, initSearchForm: n, lineEditOptions: { aftersaveIsCreateRow: !1, autoSave: !1, enter: re, esc: pe }, indexContinuous: !(!o.props || !o.props.otherSettings) && o.props.otherSettings.serialNumberContinuous, initSearch: !o.props || o.props.dataOrigin.initializationQuery !== !1, resizeHeight: ge, pageCode: a.code, pageVersion: a.version, additionalParamMap: tt(a), showOverflowTooltip: !(!o.props || !o.props.otherSettings || o.props.otherSettings.isBreakLine !== void 0 && o.props.otherSettings.isBreakLine !== !1), isEnableEnterEvent: o.props && o.props.otherSettings && o.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(o.props && o.props.otherSettings && o.props.otherSettings.isWithDataPermission) && o.props.otherSettings.isWithDataPermission, pageDevMode: !1, isWorkflowEntity: et(a), tableClass: X, tableStyle: Q, pageContext: a, configureObj: o, backendUrl: y, cellStyleRender: Te, rowStyleRender: De, titleStyleRender: ke, validateEitConditions: Oe };
27
+ return function(r) {
28
+ var l;
29
+ (l = o.props.highOrder) != null && l.mergeFields && o.props.highOrder.mergeFields.length > 0 && (r.mergeFields = o.props.highOrder.mergeFields.join(","));
30
+ }(s), function(r) {
31
+ const l = [];
32
+ r.operations || (r.operations = {}), it(a, o, l, se), r.operations.operation = l;
33
+ }(s), function(r) {
34
+ o.props && o.props.dataOrigin && o.props.dataOrigin.sortField && (r.initSortInfo = [], o.props.dataOrigin.sortField.forEach((l) => {
35
+ const d = { order: l.type === "desc" ? "desc" : "asc" };
36
+ d.prop = l.name, r.initSortInfo.push(d);
38
37
  }));
39
- }(i2), function(e4) {
40
- const t3 = K.props ? K.props.dataOrigin : {};
41
- if (t3.treeTable) {
42
- let n3;
43
- const o3 = t3.rowKey;
44
- if (n3 = o3 && o3.indexOf("~~") > 0 ? o3.substring(o3.indexOf("~~") + 2) : o3, e4.parentProp = n3, t3.checkStrictly && (e4.checkStrictly = t3.checkStrictly), e4.parentProp) {
45
- const o4 = t3.lazy, i3 = t3.defaultExpandAll;
46
- e4.lazy = null == o4 || o4, e4.defaultExpandAll = null != i3 && i3;
47
- const a2 = { parentProp: n3, lazy: e4.lazy, defaultExpandAll: e4.defaultExpandAll };
48
- e4.extraParam.listViewTreeSetting = JSON.stringify(a2), e4.subRowUrl = ie + "/dsc/commons/list-subs";
38
+ }(s), function(r) {
39
+ const l = o.props ? o.props.dataOrigin : {};
40
+ if (l.treeTable) {
41
+ let d;
42
+ const b = l.rowKey;
43
+ if (d = b && b.indexOf("~~") > 0 ? b.substring(b.indexOf("~~") + 2) : b, r.parentProp = d, l.checkStrictly && (r.checkStrictly = l.checkStrictly), r.parentProp) {
44
+ const R = l.lazy, C = l.defaultExpandAll;
45
+ r.lazy = R == null || R, r.defaultExpandAll = C != null && C;
46
+ const Ve = { parentProp: d, lazy: r.lazy, defaultExpandAll: r.defaultExpandAll };
47
+ r.extraParam.listViewTreeSetting = JSON.stringify(Ve), r.subRowUrl = y + "/dsc/commons/list-subs";
49
48
  }
50
49
  }
51
- }(i2), function(e4) {
52
- const t3 = K.runtime && K.runtime.events ? K.runtime.events : [];
53
- c(e4, t3, J, K);
54
- const n3 = J.customEvents;
55
- n3 && (e4.eventCallBack = n3);
56
- }(i2), i2;
50
+ }(s), function(r) {
51
+ const l = o.runtime && o.runtime.events ? o.runtime.events : [];
52
+ Ae(r, l, a, o);
53
+ const d = a.customEvents;
54
+ d && (r.eventCallBack = d);
55
+ }(s), s;
57
56
  }();
58
- const ue = t(), se = t(), ce = function() {
59
- let e3 = ie + "/dsc/commons/list";
60
- e3 && (e3 = O(e3, te, ne, J.isTest));
61
- return e3;
62
- }(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), Se = Q;
63
- function we() {
64
- K.props.linkages && K.props.linkages.length > 0 && (K.props.linkages.forEach((e3) => {
65
- const t2 = $(e3.fieldName);
66
- t2 && t2.length > 1 && le.push(t2[1]);
67
- }), le.length > 0 && function() {
68
- let e3 = [];
69
- Y.pageContext.toolsInputComponents && Y.pageContext.toolsInputComponents.length > 0 && Y.pageContext.toolsInputComponents.forEach((t2) => {
70
- if (K.props.linkages.some((e4) => e4.fieldName === t2.prop) && t2.defaultValue) {
71
- const n2 = $(t2.prop);
72
- n2 && n2.length > 1 && e3.push(n2[1]);
57
+ const k = h(), u = h(), ne = function() {
58
+ let e = y + "/dsc/commons/list";
59
+ return e && (e = Ze(e, Z, ee, a.isTest)), e;
60
+ }(), f = Xe(a.code, a.version, o.uuid), E = a.code + "_" + f, w = h([]), oe = a.entity.page, F = h({ data: [] }), H = a.superGridItems, ae = H ? H[o.uuid] : null, M = h(!1), ie = K;
61
+ function le() {
62
+ o.props.linkages && o.props.linkages.length > 0 && (o.props.linkages.forEach((e) => {
63
+ const t = q(e.fieldName);
64
+ t && t.length > 1 && x.push(t[1]);
65
+ }), x.length > 0 && function() {
66
+ let e = [];
67
+ if (p.pageContext.toolsInputComponents && p.pageContext.toolsInputComponents.length > 0 && p.pageContext.toolsInputComponents.forEach((t) => {
68
+ if (o.props.linkages.some((n) => n.fieldName === t.prop) && t.defaultValue) {
69
+ const n = q(t.prop);
70
+ n && n.length > 1 && e.push(n[1]);
73
71
  }
74
- });
75
- if (0 === e3.length) Ke();
72
+ }), e.length === 0) G();
76
73
  else {
77
- const t2 = Je();
78
- e3 = e3.filter((e4) => k(t2, e4)), 0 === e3.length ? (je(t2), Ke()) : le.forEach((t3) => {
79
- o(() => Y.pageContext.entity.page[t3], () => {
80
- const t4 = Je();
81
- 0 === e3.length ? je(t4) : (e3 = e3.filter((e4) => k(t4, e4)), 0 === e3.length && je(t4));
82
- }, { immediate: true });
74
+ const t = P();
75
+ e = e.filter((n) => W(t, n)), e.length === 0 ? (D(t), G()) : x.forEach((n) => {
76
+ O(() => p.pageContext.entity.page[n], () => {
77
+ const i = P();
78
+ e.length === 0 ? D(i) : (e = e.filter((s) => W(i, s)), e.length === 0 && D(i));
79
+ }, { immediate: !0 });
83
80
  });
84
81
  }
85
82
  }());
86
83
  }
87
- function Ce({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
88
- ye(null, null, n2, t2, e3);
84
+ function re({ rowIndex: e, column: t, row: n, orgRow: i }) {
85
+ A(null, null, n, t, e);
89
86
  }
90
- function ye(e3, t2, n2, o2, i2) {
91
- const a2 = ae.value.lineEditSave, l2 = K;
92
- a2.props.base.tableUuid = l2.uuid, re.value.lineEditOptions.beforeSave = De, J.editData = n2, p({ pageContext: J, configureObj: a2 }).then((l3) => {
93
- true === l3.canExecute && (re.value.lineEditOptions.saveRow = Ee, se.value.saveRow(i2, pe).then(() => {
94
- d(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
87
+ function A(e, t, n, i, s) {
88
+ const c = g.value.lineEditSave, r = o;
89
+ c.props.base.tableUuid = r.uuid, m.value.lineEditOptions.beforeSave = ue, a.editData = n, N({ pageContext: a, configureObj: c }).then((l) => {
90
+ l.canExecute === !0 && (m.value.lineEditOptions.saveRow = ce, u.value.saveRow(s, f).then(() => {
91
+ I(a, c, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s });
95
92
  }));
96
93
  }).finally(() => {
97
- J.editData = null;
94
+ a.editData = null;
98
95
  });
99
96
  }
100
- function xe(e3) {
101
- if (!e3) return;
102
- let t2;
103
- const n2 = y(e3.events, "click");
104
- if (n2) {
105
- if (ae.value[n2] = e3, "lineEditSave" === n2 ? t2 = ye : "restoreEdit" === n2 ? t2 = Oe : "lineEditUpdate" === n2 ? t2 = Re : "lineEditDelete" === n2 && (t2 = Ie), !t2) {
106
- t2 = x(J, e3.events, "click");
107
- }
108
- } else ae.value[e3.uuid] = e3, t2 = Pe;
109
- return { onClick: t2, eventName: n2 };
110
- }
111
- function De({ row: e3, columns: t2, additionalParamMap: n2 }) {
112
- const o2 = ae.value.lineEditSave, i2 = K;
113
- o2.props.base.tableUuid = i2.uuid;
114
- return f(J, o2, { row: e3, columns: t2 });
115
- }
116
- function Ee({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
117
- const l2 = ae.value.lineEditSave, r2 = K;
118
- return l2.props.base.tableUuid = r2.uuid, new Promise((t3, n3) => {
119
- const i3 = { tableName: r2.props.dataOrigin.tableName };
120
- V(J, l2, "/dsc/commons", false, a2, o2, e3, i3).then((e4) => {
121
- t3(e4 ? e4.entity : {});
122
- }).catch((e4) => {
123
- n3(e4);
97
+ function se(e) {
98
+ if (!e) return;
99
+ let t;
100
+ const n = Ye(e.events, "click");
101
+ return n ? (g.value[n] = e, n === "lineEditSave" ? t = A : n === "restoreEdit" ? t = B : n === "lineEditUpdate" ? t = de : n === "lineEditDelete" && (t = fe), !t && (t = Je(a, e.events, "click"))) : (g.value[e.uuid] = e, t = me), { onClick: t, eventName: n };
102
+ }
103
+ function ue({ row: e, columns: t, additionalParamMap: n }) {
104
+ const i = g.value.lineEditSave, s = o;
105
+ return i.props.base.tableUuid = s.uuid, V(a, i, { row: e, columns: t });
106
+ }
107
+ function ce({ row: e, columns: t, dataTypeMap: n, dynamicColumnInfo: i, additionalParamMap: s, mainDefaultValueColumns: c }) {
108
+ const r = g.value.lineEditSave, l = o;
109
+ return r.props.base.tableUuid = l.uuid, new Promise((d, b) => {
110
+ const R = { tableName: l.props.dataOrigin.tableName };
111
+ nt(a, r, "/dsc/commons", !1, c, i, e, R).then((C) => {
112
+ d(C ? C.entity : {});
113
+ }).catch((C) => {
114
+ b(C);
124
115
  });
125
116
  });
126
117
  }
127
- function Te({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
128
- Oe(null, null, n2, t2, e3);
129
- }
130
- function Oe(e3, t2, n2, o2, i2) {
131
- const a2 = ae.value.restoreEdit, l2 = K;
132
- a2.props.base.tableUuid = l2.uuid;
133
- const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
134
- if (!r2) return;
135
- B(r2) ? r2.then((e4) => {
136
- e4 && se.value.restoreRow(i2, pe);
137
- }) : se.value.restoreRow(i2, pe);
138
- d(J, K, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
139
- }
140
- function Re(e3, t2, n2, o2, i2) {
141
- const a2 = ae.value.lineEditUpdate, l2 = K;
142
- a2.props.base.tableUuid = l2.uuid;
143
- const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
144
- r2 && (B(r2) ? r2.then((l3) => {
145
- l3 && ke(e3, t2, n2, o2, i2, a2);
146
- }) : ke(e3, t2, n2, o2, i2, a2));
147
- }
148
- function ke(e3, t2, n2, o2, i2, a2) {
149
- J.editData = n2, p({ pageContext: J, configureObj: a2 }).then((a3) => {
150
- if (true === a3.canExecute) {
151
- se.value.editRow(i2, pe);
152
- d(J, K, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
153
- }
118
+ function pe({ rowIndex: e, column: t, row: n, orgRow: i }) {
119
+ B(null, null, n, t, e);
120
+ }
121
+ function B(e, t, n, i, s) {
122
+ const c = g.value.restoreEdit, r = o;
123
+ c.props.base.tableUuid = r.uuid;
124
+ const l = V(a, c, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s });
125
+ l && (U(l) ? l.then((d) => {
126
+ d && u.value.restoreRow(s, f);
127
+ }) : u.value.restoreRow(s, f), I(a, o, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s }));
128
+ }
129
+ function de(e, t, n, i, s) {
130
+ const c = g.value.lineEditUpdate, r = o;
131
+ c.props.base.tableUuid = r.uuid;
132
+ const l = V(a, c, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s });
133
+ l && (U(l) ? l.then((d) => {
134
+ d && j(e, t, n, i, s, c);
135
+ }) : j(e, t, n, i, s, c));
136
+ }
137
+ function j(e, t, n, i, s, c) {
138
+ a.editData = n, N({ pageContext: a, configureObj: c }).then((r) => {
139
+ r.canExecute === !0 && (u.value.editRow(s, f), I(a, o, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s }));
154
140
  }).finally(() => {
155
- J.editData = null;
141
+ a.editData = null;
156
142
  });
157
143
  }
158
- function Ie(e3, t2, n2, o2, i2) {
159
- const a2 = ae.value.lineEditDelete, l2 = K;
160
- a2.props.base.tableUuid = l2.uuid;
161
- const r2 = f(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
162
- r2 && (B(r2) ? r2.then((l3) => {
163
- l3 && Ve(e3, t2, n2, o2, i2, a2);
164
- }) : Ve(e3, t2, n2, o2, i2, a2));
165
- }
166
- function Ve(e3, t2, n2, o2, i2, a2) {
167
- if (n2.id || n2.ID) J.editData = n2, p({ pageContext: J, configureObj: a2 }).then((e4) => {
168
- if (true === e4.canExecute) {
169
- const e5 = [];
170
- n2.id ? e5.push(n2.id) : e5.push(n2.ID), j.delete({ pageContext: J, configureObj: a2, ids: e5 });
144
+ function fe(e, t, n, i, s) {
145
+ const c = g.value.lineEditDelete, r = o;
146
+ c.props.base.tableUuid = r.uuid;
147
+ const l = V(a, c, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s });
148
+ l && (U(l) ? l.then((d) => {
149
+ d && L(e, t, n, i, s, c);
150
+ }) : L(e, t, n, i, s, c));
151
+ }
152
+ function L(e, t, n, i, s, c) {
153
+ n.id || n.ID ? (a.editData = n, N({ pageContext: a, configureObj: c }).then((r) => {
154
+ if (r.canExecute === !0) {
155
+ const l = [];
156
+ n.id ? l.push(n.id) : l.push(n.ID), ot.delete({ pageContext: a, configureObj: c, ids: l });
171
157
  }
172
158
  }).finally(() => {
173
- J.editData = null;
174
- });
175
- else {
176
- Oe(e3, t2, n2, o2, i2);
177
- d(J, K, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
178
- }
179
- }
180
- function je(e3) {
181
- if (!J.dataTypeMaps) return;
182
- const t2 = J.dataTypeMaps;
183
- let n2 = [];
184
- if (e3) for (var o2 in e3) {
185
- const a2 = e3[o2];
186
- if (null != a2 && "" !== a2) if (a2 instanceof Array) {
187
- if (a2.length > 0) {
188
- const e4 = [];
189
- for (var i2 = 0; i2 < a2.length; i2++) {
190
- const n3 = {};
191
- n3.leftBracket = 0 === i2 ? "((" : "(", n3.propName = o2, n3.propDbName = o2, n3.dataType = t2[o2] ? t2[o2] : "TEXT", n3.operator = "EQ", n3.propValue = a2[i2], i2 === a2.length - 1 ? (n3.rightBracket = "))", n3.joinSign = "and") : (n3.rightBracket = ")", n3.joinSign = "or"), e4.push(n3);
159
+ a.editData = null;
160
+ })) : (B(e, t, n, i, s), I(a, o, { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s }));
161
+ }
162
+ function D(e) {
163
+ if (!a.dataTypeMaps) return;
164
+ const t = a.dataTypeMaps;
165
+ let n = [];
166
+ if (e) for (var i in e) {
167
+ const c = e[i];
168
+ if (c != null && c !== "") if (c instanceof Array) {
169
+ if (c.length > 0) {
170
+ const r = [];
171
+ for (var s = 0; s < c.length; s++) {
172
+ const l = {};
173
+ l.leftBracket = s === 0 ? "((" : "(", l.propName = i, l.propDbName = i, l.dataType = t[i] ? t[i] : "TEXT", l.operator = "EQ", l.propValue = c[s], s === c.length - 1 ? (l.rightBracket = "))", l.joinSign = "and") : (l.rightBracket = ")", l.joinSign = "or"), r.push(l);
192
174
  }
193
- n2 = n2.concat(e4);
175
+ n = n.concat(r);
194
176
  }
195
177
  } else {
196
- const e4 = { leftBracket: "(" };
197
- e4.propName = o2, e4.propDbName = o2, e4.dataType = t2[o2] ? t2[o2] : "TEXT", e4.operator = "EQ", e4.propValue = a2, et(e4, o2), e4.rightBracket = ")", e4.joinSign = "and", n2.push(e4);
178
+ const r = { leftBracket: "(" };
179
+ r.propName = i, r.propDbName = i, r.dataType = t[i] ? t[i] : "TEXT", r.operator = "EQ", r.propValue = c, Ie(r, i), r.rightBracket = ")", r.joinSign = "and", n.push(r);
198
180
  }
199
181
  }
200
- se.value.toolbarRefresh(null, null, n2);
182
+ u.value.toolbarRefresh(null, null, n);
201
183
  }
202
- function Ne(e3) {
203
- const t2 = Be();
204
- if (t2) {
205
- let n2 = 0;
206
- return e3.searchHeight && (n2 = e3.searchHeight), t2 - 10 - n2;
184
+ function ge(e) {
185
+ const t = _();
186
+ if (t) {
187
+ let n = 0;
188
+ return e.searchHeight && (n = e.searchHeight), t - 10 - n;
207
189
  }
208
190
  }
209
- function Be() {
210
- if (!se.value) return;
211
- const e3 = M(Y.pageContext, Y.configure);
212
- if (e3) {
213
- if (e3.isCalcHeight) {
214
- let e4 = se.value.$el;
215
- if (e4 || (e4 = se.value), !e4) return;
216
- const t2 = e4.getBoundingClientRect();
217
- return window.innerHeight - t2.y - 90;
191
+ function _() {
192
+ if (!u.value) return;
193
+ const e = st(p.pageContext, p.configure);
194
+ if (e) {
195
+ if (e.isCalcHeight) {
196
+ let t = u.value.$el;
197
+ if (t || (t = u.value), !t) return;
198
+ const n = t.getBoundingClientRect();
199
+ return window.innerHeight - n.y - 90;
218
200
  }
219
- if (e3.fixHeight && se.value && (se.value.tableHeight = e3.fixHeight), e3.maxHeight) return e3.maxHeight;
201
+ if (e.fixHeight && u.value && (u.value.tableHeight = e.fixHeight), e.maxHeight) return e.maxHeight;
220
202
  }
221
203
  }
222
- function Pe(e3, t2, n2, o2, i2, a2) {
223
- const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = ae.value[a2.sourceButton.uuid], u2 = K;
224
- r2.props.base.tableUuid = u2.uuid, D(null, J, r2, "click", l2);
204
+ function me(e, t, n, i, s, c) {
205
+ const r = { originalValue: e, formatValue: t, row: n, column: i, rowIndex: s, button: c, id: n.ID ? n.ID : n.id }, l = g.value[c.sourceButton.uuid], d = o;
206
+ l.props.base.tableUuid = d.uuid, Ke(null, a, l, "click", r);
225
207
  }
226
- function Fe(e3) {
227
- "close_open_win" === e3.data && se.value && se.value.refresh();
208
+ function $(e) {
209
+ e.data === "close_open_win" && u.value && u.value.refresh();
228
210
  }
229
- function He(e3, t2) {
230
- fe.value = e3;
231
- g(J, K, { selection: e3, row: t2 });
211
+ function ve(e, t) {
212
+ w.value = e, je(a, o, { selection: e, row: t });
232
213
  }
233
- function Ue(e3) {
234
- fe.value = e3;
235
- m(J, K, { selection: e3 });
214
+ function he(e) {
215
+ w.value = e, Le(a, o, { selection: e });
236
216
  }
237
- function Me(e3) {
238
- v(J, K, { newSelection: e3 });
217
+ function be(e) {
218
+ _e(a, o, { newSelection: e });
239
219
  }
240
- function Le(e3, t2, n2, o2) {
241
- h(J, K, { row: e3, column: t2, cell: n2, event: o2 });
220
+ function Ce(e, t, n, i) {
221
+ $e(a, o, { row: e, column: t, cell: n, event: i });
242
222
  }
243
- function $e(e3, t2, n2, o2) {
244
- b(J, K, { row: e3, column: t2, cell: n2, event: o2 });
223
+ function Se(e, t, n, i) {
224
+ ze(a, o, { row: e, column: t, cell: n, event: i });
245
225
  }
246
- function _e(e3, t2, n2) {
247
- S(J, K, { row: e3, column: t2, event: n2 });
226
+ function we(e, t, n) {
227
+ Ge(a, o, { row: e, column: t, event: n });
248
228
  }
249
- function Ae(e3, t2, n2) {
250
- w(J, K, { row: e3, column: t2, event: n2 });
229
+ function ye(e, t, n) {
230
+ We(a, o, { row: e, column: t, event: n });
251
231
  }
252
- function Ge(e3, t2) {
253
- C(J, K, { column: e3, event: t2 });
232
+ function xe(e, t) {
233
+ qe(a, o, { column: e, event: t });
254
234
  }
255
- function ze() {
256
- fe.value = [];
235
+ function z() {
236
+ w.value = [];
257
237
  }
258
- function We(e3) {
259
- be.value = true;
238
+ function Ee(e) {
239
+ M.value = !0;
260
240
  }
261
- function qe(e3) {
262
- return A(e3, [], Y);
241
+ function De(e) {
242
+ return pt(e, [], p);
263
243
  }
264
- function Qe(e3) {
265
- return G(e3, e3.cellStyle, Y);
244
+ function Te(e) {
245
+ return dt(e, e.cellStyle, p);
266
246
  }
267
- function Ye(e3) {
268
- const t2 = e3.titleStyle, n2 = Y.configure.style.titleStyle;
269
- return z(e3, { cellTitleStyle: t2, titleStyle: n2 }, Y);
247
+ function ke(e) {
248
+ const t = e.titleStyle, n = p.configure.style.titleStyle;
249
+ return ft(e, { cellTitleStyle: t, titleStyle: n }, p);
270
250
  }
271
- function Je() {
272
- const e3 = {};
273
- return le.forEach((t2) => {
274
- e3[t2] = Y.pageContext.entity.page[t2];
275
- }), e3;
251
+ function P() {
252
+ const e = {};
253
+ return x.forEach((t) => {
254
+ e[t] = p.pageContext.entity.page[t];
255
+ }), e;
276
256
  }
277
- function Ke() {
278
- le.forEach((e3) => {
279
- o(() => Y.pageContext.entity.page[e3], () => {
280
- je(Je());
257
+ function G() {
258
+ x.forEach((e) => {
259
+ O(() => p.pageContext.entity.page[e], () => {
260
+ D(P());
281
261
  });
282
262
  });
283
263
  }
284
- n(() => {
285
- const e3 = Xe();
286
- se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle && Y.pageContext.pageRuntimeStyle.height, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
287
- se.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
288
- }), H.$on(de + "_close-dialog-get-entity", () => {
289
- H.$emit(de + "_close-super-dialog");
290
- }), H.$on(pe + "-pickFileDone", (e4) => {
291
- se.value.pickFileDone(e4);
292
- }), H.$on(pe + "-scanDone", (e4) => {
293
- se.value.scanDone(e4);
294
- }), re.value.formSetMaxHeight = Be(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && Se("setSafeDeleteTableCode", re.value.extraParam.tableName);
295
- }), o(() => Y.pageContext.searchFormData, (e3) => {
296
- me.value.data = e3;
297
- }), o(() => Y.pageContext.entity.data, (e3) => {
298
- je(Y.pageContext.entity.data);
299
- }), i(() => {
300
- window.removeEventListener("message", Fe), H.$off(de + "-close-component-page-dialog"), H.$off(de + "_close-dialog-get-entity"), H.$off(pe + "-pickFileDone"), H.$off(pe + "-scanDone");
264
+ Pe(() => {
265
+ const e = Re();
266
+ u.value && e && e.distanceToBottom && (u.value.tableHeight = e.distanceToBottom - 110), p.pageContext.pageRuntimeStyle && p.pageContext.pageRuntimeStyle.height, window.addEventListener("message", $), v.$on(E + "-close-component-page-dialog", function({ jumpInfo: t, popEntity: n, popPageCode: i }) {
267
+ u.value.closePageDialog({ entity: n, pageCode: i, jumpInfo: t });
268
+ }), v.$on(E + "_close-dialog-get-entity", () => {
269
+ v.$emit(E + "_close-super-dialog");
270
+ }), v.$on(f + "-pickFileDone", (t) => {
271
+ u.value.pickFileDone(t);
272
+ }), v.$on(f + "-scanDone", (t) => {
273
+ u.value.scanDone(t);
274
+ }), m.value.formSetMaxHeight = _(), m.value && m.value.configureObj.props.base && m.value.configureObj.props.base.isSafeDelete && ie("setSafeDeleteTableCode", m.value.extraParam.tableName);
275
+ }), O(() => p.pageContext.searchFormData, (e) => {
276
+ F.value.data = e;
277
+ }), O(() => p.pageContext.entity.data, (e) => {
278
+ D(p.pageContext.entity.data);
279
+ }), Ne(() => {
280
+ window.removeEventListener("message", $), v.$off(E + "-close-component-page-dialog"), v.$off(E + "_close-dialog-get-entity"), v.$off(f + "-pickFileDone"), v.$off(f + "-scanDone");
301
281
  });
302
- const Xe = () => {
303
- if (!ue.value) return null;
304
- let e3 = ue.value.closest(".app-container");
305
- if (!e3) return null;
306
- const t2 = ue.value.getBoundingClientRect(), n2 = e3.getBoundingClientRect(), o2 = window.scrollY;
307
- return { distanceToTop: t2.top + o2 - n2.top, distanceToBottom: n2.bottom - t2.top };
282
+ const Re = () => {
283
+ if (!k.value) return null;
284
+ let e = k.value.closest(".app-container");
285
+ if (!e) return null;
286
+ const t = k.value.getBoundingClientRect(), n = e.getBoundingClientRect(), i = window.scrollY;
287
+ return { distanceToTop: t.top + i - n.top, distanceToBottom: n.bottom - t.top };
308
288
  };
309
- function Ze({ row: e3, editConditions: t2 }) {
310
- let n2 = true;
311
- return t2 && t2.length > 0 && (n2 = L(Y.pageContext, t2, e3)), n2;
312
- }
313
- function et(e3, t2) {
314
- const n2 = _(Y.pageContext, t2);
315
- if (n2) {
316
- const t3 = n2.getConfigure();
317
- if ("datePicker" === t3.name) {
318
- const n3 = t3.runtime.props.dateType;
319
- e3.dateFormatType = "year" === n3 ? "YEAR" : "month" === n3 ? "MONTH" : "DAY";
289
+ function Oe({ row: e, editConditions: t }) {
290
+ let n = !0;
291
+ return t && t.length > 0 && (n = ut(p.pageContext, t, e)), n;
292
+ }
293
+ function Ie(e, t) {
294
+ const n = ct(p.pageContext, t);
295
+ if (n) {
296
+ const i = n.getConfigure();
297
+ if (i.name === "datePicker") {
298
+ const s = i.runtime.props.dateType;
299
+ e.dateFormatType = s === "year" ? "YEAR" : s === "month" ? "MONTH" : "DAY";
320
300
  }
321
301
  }
322
302
  }
323
- return q2({ refresh: function(e3, t2, n2, o2) {
324
- return se.value.refresh(e3, t2, n2, o2);
303
+ return J({ refresh: function(e, t, n, i) {
304
+ return u.value.refresh(e, t, n, i);
325
305
  }, createRow: function() {
326
- return se.value.createRow(pe, {}, { getDefaultValueFunc: U });
327
- }, clearSelections: ze, getSelections: function() {
328
- return fe.value;
306
+ return u.value.createRow(f, {}, { getDefaultValueFunc: rt });
307
+ }, clearSelections: z, getSelections: function() {
308
+ return w.value;
329
309
  }, getSelectionIds: function() {
330
- const e3 = [];
331
- return null !== fe.value && fe.value.forEach((t2) => {
332
- e3.push(t2.id ? t2.id : t2.ID ? t2.ID : null);
333
- }), e3;
310
+ const e = [];
311
+ return w.value !== null && w.value.forEach((t) => {
312
+ e.push(t.id ? t.id : t.ID ? t.ID : null);
313
+ }), e;
334
314
  }, getTableConfigure: function() {
335
- return K;
336
- }, isDeleteChange: function(e3) {
337
- se.value.isDeleteChange(e3);
315
+ return o;
316
+ }, isDeleteChange: function(e) {
317
+ u.value.isDeleteChange(e);
338
318
  }, validatorSunTableListData: function() {
339
- return se.value.validatorSunTableListData();
319
+ return u.value.validatorSunTableListData();
340
320
  }, showMobileSearch: function() {
341
- be.value && se.value.showMobileSearch();
321
+ M.value && u.value.showMobileSearch();
342
322
  }, getTableSelectOptions: function() {
343
- if (se.value) return se.value.getTableSelectOptions(pe);
344
- }, dynamicControlTableEdit: function(e3, t2, n2) {
345
- se.value && se.value.dynamicControlTableEdit(e3, t2, n2);
346
- }, doLayout: function(e3) {
347
- se.value && se.value.doLayout(e3);
348
- }, changeOperationAddState: function(e3) {
349
- }, scrollTo: function(e3, t2) {
350
- se.value && se.value.scrollTo(e3, t2);
351
- }, setScrollTop: function(e3) {
352
- se.value && se.value.setScrollTop(e3);
353
- }, setScrollLeft: function(e3) {
354
- se.value && se.value.setScrollLeft(e3);
323
+ if (u.value) return u.value.getTableSelectOptions(f);
324
+ }, dynamicControlTableEdit: function(e, t, n) {
325
+ u.value && u.value.dynamicControlTableEdit(e, t, n);
326
+ }, doLayout: function(e) {
327
+ u.value && u.value.doLayout(e);
328
+ }, changeOperationAddState: function(e) {
329
+ }, scrollTo: function(e, t) {
330
+ u.value && u.value.scrollTo(e, t);
331
+ }, setScrollTop: function(e) {
332
+ u.value && u.value.setScrollTop(e);
333
+ }, setScrollLeft: function(e) {
334
+ u.value && u.value.setScrollLeft(e);
355
335
  }, getSuperGridRef: function() {
356
- return se.value;
336
+ return u.value;
357
337
  }, getSuperGridTableRef: function() {
358
- return se.value.getSuperGridTableRef();
359
- }, setCurrentRowIndex: function(e3) {
360
- var _a;
361
- (_a = se.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
362
- }, setScrollTopByRowIndex: function(e3) {
363
- var _a;
364
- (_a = se.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
338
+ return u.value.getSuperGridTableRef();
339
+ }, setCurrentRowIndex: function(e) {
340
+ var t;
341
+ (t = u.value) == null || t.setCurrentRowIndex(e);
342
+ }, setScrollTopByRowIndex: function(e) {
343
+ var t;
344
+ (t = u.value) == null || t.setScrollTopByRowIndex(e);
365
345
  }, getTableData: function() {
366
- var _a;
367
- return (_a = se.value) == null ? void 0 : _a.getTableData();
368
- }, handleSearch: function(e3, t2) {
369
- var _a;
370
- return (_a = se.value) == null ? void 0 : _a.handleSearch(e3, t2);
346
+ var e;
347
+ return (e = u.value) == null ? void 0 : e.getTableData();
348
+ }, handleSearch: function(e, t) {
349
+ var n;
350
+ return (n = u.value) == null ? void 0 : n.handleSearch(e, t);
371
351
  }, getColumns: function() {
372
- var _a;
373
- return (_a = se.value) == null ? void 0 : _a.getColumns();
374
- } }), (e3, t2) => {
375
- const n2 = a("super-grid");
376
- return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: Le, onCellDblclick: $e, onRowClick: _e, onRowDblclick: Ae, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: we }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
352
+ var e;
353
+ return (e = u.value) == null ? void 0 : e.getColumns();
354
+ } }), (e, t) => {
355
+ const n = Ue("super-grid");
356
+ return He(), Fe("div", { ref_key: "tableDivRef", ref: k, id: S(f) + "_tableDiv" }, [Me(n, { ref_key: "gridRef", ref: u, url: S(ne), options: m.value, code: S(f), settings: S(ae), "search-form-info": F.value, "list-toolbar-form-data": S(oe), isDialog: S(a).isDialog, onSelect: ve, onSelectAll: he, onSelectionChange: be, onCellClick: Ce, onCellDblclick: Se, onRowClick: we, onRowDblclick: ye, onHeaderClick: xe, onRefresh: z, onNewOpenGridDialog: S(lt), onCanShowMobileSearch: Ee, onGridOnmounted: le }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, gt);
377
357
  };
378
358
  } });
379
359
  export {
380
- q as default
360
+ Tt as default
381
361
  };