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,402 +1,387 @@
1
- import { isMobileBrowser as e, analysisCondition as n, isPromise as t } from "agilebuilder-ui";
2
- import { getAdditionalParamMap as i, standardEvents as o, judgeDataNumber as r, dealAfterOperate as u } from "./standard-event.mjs";
3
- import { validateDataModelFunc as c } from "./validator-util.mjs";
4
- import { getComponentRef as l, getComponentRefByCode as a } from "../global-refs.mjs";
5
- import { ElMessage as s } from "element-plus";
6
- import { getListCode as f, deepCopy as m } from "../common-util.mjs";
7
- import g from "../eventBus.mjs";
8
- import { getValueFromSource as p } from "../page-helper-util.mjs";
9
- import { expressJump as d } from "../table-utils.mjs";
10
- const v = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], C = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], b = ["import"];
11
- function x(e2, n2) {
12
- if (e2 && e2.customEvents) {
13
- const t2 = function(e3) {
14
- const n3 = {};
15
- return e3.forEach((e4) => {
16
- if (!e4.isStandard && e4.jsContent) if ("customFunc" === e4.name) {
17
- let t3 = null;
18
- if (e4.funcParam) {
19
- const n4 = e4.funcParam.split(",");
20
- t3 = new Function(n4, e4.jsContent);
21
- } else t3 = new Function(e4.jsContent);
22
- n3[e4.eventName] = t3;
1
+ import { isMobileBrowser as R, isPromise as O, analysisCondition as I } from "agilebuilder-ui";
2
+ import { standardEvents as D, judgeDataNumber as q, getAdditionalParamMap as H, dealAfterOperate as $ } from "./standard-event.mjs";
3
+ import { validateDataModelFunc as z } from "./validator-util.mjs";
4
+ import { getComponentRef as U, getComponentRefByCode as J } from "../global-refs.mjs";
5
+ import { ElMessage as W } from "element-plus";
6
+ import { getListCode as Q, deepCopy as G } from "../common-util.mjs";
7
+ import B from "../eventBus.mjs";
8
+ import { getValueFromSource as K } from "../page-helper-util.mjs";
9
+ import { expressJump as X } from "../table-utils.mjs";
10
+ const Y = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], Z = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], P = ["import"];
11
+ function Ce(n, e) {
12
+ if (n && n.customEvents) {
13
+ const t = function(r) {
14
+ const i = {};
15
+ return r.forEach((o) => {
16
+ if (!o.isStandard && o.jsContent) if (o.name === "customFunc") {
17
+ let c = null;
18
+ if (o.funcParam) {
19
+ const u = o.funcParam.split(",");
20
+ c = new Function(u, o.jsContent);
21
+ } else c = new Function(o.jsContent);
22
+ i[o.eventName] = c;
23
23
  } else {
24
- let t3 = e4.componentUuid + "_";
25
- t3 += e4.name, n3[t3] = new Function("params", e4.jsContent);
24
+ let c = o.componentUuid + "_";
25
+ c += o.name, i[c] = new Function("params", o.jsContent);
26
26
  }
27
- }), n3;
28
- }(e2.customEvents);
29
- !function(e3, n3) {
30
- if (!n3) return;
31
- for (const t3 in n3) {
32
- j(n3[t3], e3);
33
- }
34
- }(n2, t2), n2.customEvents = t2;
27
+ }), i;
28
+ }(n.customEvents);
29
+ (function(r, i) {
30
+ if (i)
31
+ for (const o in i)
32
+ ne(i[o], r);
33
+ })(e, t), e.customEvents = t;
35
34
  }
36
35
  }
37
- function k(e2, n2) {
38
- if (e2.customEvents) return e2.customEvents[n2];
39
- }
40
- function j(e2, n2) {
41
- e2.get = function(e3) {
42
- return e3 ? a(n2, e3) : void 0;
43
- }, e2.getByUuid = function(e3) {
44
- return e3 ? l(n2, e3) : void 0;
45
- }, e2.getPageContext = function() {
46
- return n2;
47
- }, e2.getContextValue = function(e3) {
48
- let t2 = n2 && n2.entity ? n2.entity.context : null;
49
- return t2 = t2 || {}, p(t2, e3, "context");
50
- }, e2.getContext = function() {
51
- return n2 && n2.entity ? n2.entity.context : {};
52
- }, e2.getSystem = function() {
53
- return n2 && n2.entity ? n2.entity.system : {};
54
- }, e2.getTask = function() {
55
- return n2 && n2.entity ? n2.entity.task : {};
56
- }, e2.getRequest = function() {
57
- return n2 && n2.entity ? n2.entity.request : {};
58
- }, e2.getPage = function() {
59
- return n2 && n2.entity ? n2.entity.page : {};
60
- }, e2.getCustomFunc = function(e3) {
61
- return k(n2, e3);
36
+ function ee(n, e) {
37
+ if (n.customEvents) return n.customEvents[e];
38
+ }
39
+ function ne(n, e) {
40
+ n.get = function(t) {
41
+ return t ? J(e, t) : void 0;
42
+ }, n.getByUuid = function(t) {
43
+ return t ? U(e, t) : void 0;
44
+ }, n.getPageContext = function() {
45
+ return e;
46
+ }, n.getContextValue = function(t) {
47
+ let r = e && e.entity ? e.entity.context : null;
48
+ return r = r || {}, K(r, t, "context");
49
+ }, n.getContext = function() {
50
+ return e && e.entity ? e.entity.context : {};
51
+ }, n.getSystem = function() {
52
+ return e && e.entity ? e.entity.system : {};
53
+ }, n.getTask = function() {
54
+ return e && e.entity ? e.entity.task : {};
55
+ }, n.getRequest = function() {
56
+ return e && e.entity ? e.entity.request : {};
57
+ }, n.getPage = function() {
58
+ return e && e.entity ? e.entity.page : {};
59
+ }, n.getCustomFunc = function(t) {
60
+ return ee(e, t);
62
61
  };
63
62
  }
64
- function O(e2) {
65
- if (e2 && e2.customEvents) {
66
- const n2 = e2.customEvents.filter((e3) => "customFunc" === e3.name && e3.jsContent);
67
- n2 && n2.length > 0 && n2.forEach((e3) => {
68
- delete window["$page_" + e3.eventName];
63
+ function be(n) {
64
+ if (n && n.customEvents) {
65
+ const e = n.customEvents.filter((t) => t.name === "customFunc" && t.jsContent);
66
+ e && e.length > 0 && e.forEach((t) => {
67
+ delete window["$page_" + t.eventName];
69
68
  });
70
69
  }
71
70
  }
72
- function h(e2, n2, t2, i2, o2) {
73
- return w(e2, n2, t2, i2, true, o2, false);
71
+ function b(n, e, t, r, i) {
72
+ return w(n, e, t, r, !0, i, !1);
74
73
  }
75
- function E(e2, n2, t2, i2, o2) {
76
- var _a, _b;
77
- if (i2 && "change" === i2) {
78
- const e3 = n2.subTableWatchProps;
79
- if (e3) for (const n3 in e3) {
80
- const i3 = e3[n3], o3 = (_b = (_a = t2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
81
- i3 && i3.indexOf(o3) >= 0 && g.$emit("_refreshSubTable_" + n3, { propName: o3 });
82
- }
83
- }
84
- return w(e2, n2, t2, i2, true, o2, true);
85
- }
86
- function y(e2, n2, t2, i2) {
87
- return E(e2, n2, t2, "afterInit", i2);
88
- }
89
- function N(e2, n2, t2, i2, o2) {
90
- return w(e2, n2, t2, i2, false, o2, false);
91
- }
92
- function w(e2, n2, i2, o2, u2, c2, l2) {
93
- const a2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
94
- let s2;
95
- if (l2 || !function(e3) {
96
- return e3 && S.indexOf(e3) >= 0;
97
- }(o2)) {
98
- if (s2 = B(n2, a2, o2), u2) {
99
- return H(n2, i2, s2, R(n2, i2, e2, c2));
74
+ function te(n, e, t, r, i) {
75
+ var o, c;
76
+ if (r && r === "change") {
77
+ const u = e.subTableWatchProps;
78
+ if (u) for (const s in u) {
79
+ const a = u[s], l = (c = (o = t.props) == null ? void 0 : o.base) == null ? void 0 : c.prop;
80
+ a && a.indexOf(l) >= 0 && B.$emit("_refreshSubTable_" + s, { propName: l });
100
81
  }
101
- return s2;
102
82
  }
103
- !function(e3, n3, i3) {
104
- const o3 = r(n3, i3.ids);
105
- if (!o3) return;
106
- if (void 0 !== e3.canClick && false === e3.canClick) return;
107
- Q(i3).then((o4) => {
108
- if (true === o4.canExecute) {
109
- e3.clickUuid = n3.uuid, e3.canClick = false;
110
- const o5 = n3.runtime && n3.runtime.events ? n3.runtime.events : [], r2 = B(e3, o5, "beforeValidateForm");
111
- let u3;
112
- if (r2 && (u3 = H(e3, n3, r2, i3)), void 0 === u3 && (u3 = true), !u3) return void (e3.canClick = true);
113
- t(u3) ? u3.then((t2) => {
114
- t2 && true === t2 ? T(e3, n3, i3) : e3.canClick = true;
115
- }).catch((n4) => {
116
- e3.canClick = true;
117
- }) : T(e3, n3, i3);
83
+ return w(n, e, t, r, !0, i, !0);
84
+ }
85
+ function xe(n, e, t, r) {
86
+ return te(n, e, t, "afterInit", r);
87
+ }
88
+ function m(n, e, t, r, i) {
89
+ return w(n, e, t, r, !1, i, !1);
90
+ }
91
+ function w(n, e, t, r, i, o, c) {
92
+ const u = t && t.runtime && t.runtime.events ? t.runtime.events : [];
93
+ let s;
94
+ if (c || !function(a) {
95
+ return a && oe.indexOf(a) >= 0;
96
+ }(r))
97
+ return s = E(e, u, r), i ? k(e, t, s, A(e, t, n, o)) : s;
98
+ (function(a, l, d) {
99
+ q(l, d.ids) && (a.canClick !== void 0 && a.canClick === !1 || ue(d).then((C) => {
100
+ if (C.canExecute === !0) {
101
+ a.clickUuid = l.uuid, a.canClick = !1;
102
+ const h = l.runtime && l.runtime.events ? l.runtime.events : [], v = E(a, h, "beforeValidateForm");
103
+ let g;
104
+ if (v && (g = k(a, l, v, d)), g === void 0 && (g = !0), !g) return void (a.canClick = !0);
105
+ O(g) ? g.then((f) => {
106
+ f && f === !0 ? T(a, l, d) : a.canClick = !0;
107
+ }).catch((f) => {
108
+ a.canClick = !0;
109
+ }) : T(a, l, d);
118
110
  }
119
- });
120
- }(n2, i2, U(e2, n2, i2, c2));
121
- }
122
- const S = ["click", "suffixClick", "prefixClick", "menuClick"];
123
- function P(e2, n2) {
124
- return n2.props.base.tableUuid ? n2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
125
- }
126
- function R(e2, n2, t2, i2) {
127
- const o2 = {};
128
- if (i2) for (const e3 in i2) o2[e3] = i2[e3];
129
- return null != t2 && (o2._value = t2), e2 && (o2.pageContext = e2), n2 && (o2.configureObj = n2), o2;
130
- }
131
- function T(e2, n2, i2) {
132
- const o2 = n2.runtime && n2.runtime.events ? n2.runtime.events : [];
133
- let r2 = true;
134
- (i2 == null ? void 0 : i2.skipValidate) && (r2 = false);
135
- const u2 = z(e2, o2, "click");
136
- if (u2) {
137
- const e3 = function(e4, n3) {
138
- return e4 && v.includes(n3.eventName);
139
- }(u2.isStandard, u2.event);
140
- e3 && (r2 = false);
141
- }
142
- c(e2, n2, r2).then((o3) => {
143
- if (!o3) return void (e2.canClick = true);
144
- const r3 = D(e2, n2, i2);
145
- r3 ? t(r3) ? r3.then((t2) => {
146
- t2 ? A(e2, n2, u2, i2) : e2.canClick = true;
147
- }).catch((n3) => {
148
- console.error(n3), e2.canClick = true;
149
- }) : A(e2, n2, u2, i2) : e2.canClick = true;
150
- }).catch((n3) => {
151
- console.error(n3), e2.canClick = true;
111
+ }));
112
+ })(e, t, L(n, e, t, o));
113
+ }
114
+ const oe = ["click", "suffixClick", "prefixClick", "menuClick"];
115
+ function re(n, e) {
116
+ return e.props.base.tableUuid ? e.props.base.tableUuid : n.tableUuids && n.tableUuids.length > 0 ? n.tableUuids[0] : null;
117
+ }
118
+ function A(n, e, t, r) {
119
+ const i = {};
120
+ if (r) for (const o in r) i[o] = r[o];
121
+ return t != null && (i._value = t), n && (i.pageContext = n), e && (i.configureObj = e), i;
122
+ }
123
+ function T(n, e, t) {
124
+ const r = e.runtime && e.runtime.events ? e.runtime.events : [];
125
+ let i = !0;
126
+ t != null && t.skipValidate && (i = !1);
127
+ const o = S(n, r, "click");
128
+ o && function(u, s) {
129
+ return u && Y.includes(s.eventName);
130
+ }(o.isStandard, o.event) && (i = !1), z(n, e, i).then((c) => {
131
+ if (!c) return void (n.canClick = !0);
132
+ const u = ie(n, e, t);
133
+ u ? O(u) ? u.then((s) => {
134
+ s ? y(n, e, o, t) : n.canClick = !0;
135
+ }).catch((s) => {
136
+ console.error(s), n.canClick = !0;
137
+ }) : y(n, e, o, t) : n.canClick = !0;
138
+ }).catch((c) => {
139
+ console.error(c), n.canClick = !0;
152
140
  });
153
141
  }
154
- function F(e2, n2, t2, i2, o2) {
155
- const r2 = U(e2, n2, t2, o2);
156
- A(n2, t2, z(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2), r2);
157
- }
158
- function U(e2, n2, t2, i2) {
159
- const o2 = n2.code, r2 = n2.version, u2 = P(n2, t2);
160
- if (u2) {
161
- const e3 = l(n2, u2), t3 = e3 ? e3.getSelections() : null, c2 = e3 ? e3.getSelectionIds() : null;
162
- i2 || (i2 = {}), i2.tableUuid = u2, i2.listCode = f(o2, r2, u2);
163
- _(n2) && (i2.selections = t3, i2.id = c2 && c2.length > 0 ? c2[0] : null, i2.ids = c2);
164
- const a2 = e3 ? e3.getTableConfigure() : null;
165
- i2.tableConfigure = a2;
142
+ function ke(n, e, t, r, i) {
143
+ const o = L(n, e, t, i);
144
+ y(e, t, S(e, t.runtime && t.runtime.events ? t.runtime.events : [], r), o);
145
+ }
146
+ function L(n, e, t, r) {
147
+ const i = e.code, o = e.version, c = re(e, t);
148
+ if (c) {
149
+ const u = U(e, c), s = u ? u.getSelections() : null, a = u ? u.getSelectionIds() : null;
150
+ r || (r = {}), r.tableUuid = c, r.listCode = Q(i, o, c), N(e) && (r.selections = s, r.id = a && a.length > 0 ? a[0] : null, r.ids = a);
151
+ const l = u ? u.getTableConfigure() : null;
152
+ r.tableConfigure = l;
166
153
  }
167
- return R(n2, t2, e2, i2);
168
- }
169
- function D(e2, n2, t2) {
170
- const i2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
171
- let o2;
172
- return i2 && (o2 = H(e2, n2, i2, null, t2)), void 0 === o2 || o2;
173
- }
174
- function L(e2, n2, t2) {
175
- const i2 = e2.code + "_";
176
- g.$emit(i2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
177
- }
178
- function _(e2, n2) {
179
- return !(!e2.pageType || "list" !== e2.pageType);
180
- }
181
- function V(e2, n2, i2) {
182
- const o2 = n2.runtime && n2.runtime.events ? n2.runtime.events : [], r2 = B(e2, o2, "afterClick");
183
- if (r2) {
184
- const o3 = H(e2, n2, r2, null, i2);
185
- t(o3) ? o3.finally(() => {
186
- e2.canClick = true;
187
- }) : e2.canClick = true;
188
- } else e2.canClick = true;
189
- }
190
- function q(e2, n2, t2, i2, o2, r2) {
191
- i2 ? (e2.result = o2, e2.canClick = true) : u(e2, n2, o2, "", r2);
192
- const c2 = B(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
193
- c2 && H(e2, n2, c2, t2);
194
- }
195
- function A(e2, n2, i2, o2) {
196
- let r2 = n2, u2 = n2.props.linkPage;
197
- if (u2 && u2 instanceof Array) {
198
- const t2 = function(e3) {
199
- let n3 = e3 ? e3.row : null;
200
- n3 || (n3 = e3 && e3.selections && e3.selections.length > 0 ? e3.selections[0] : null);
201
- return n3;
202
- }(o2), i3 = d(e2, n2, u2, t2);
203
- let c2, l2 = false;
204
- i3 && (l2 = i3.show, c2 = l2 ? i3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = m(n2), r2.props.linkPage = u2);
154
+ return A(e, t, n, r);
155
+ }
156
+ function ie(n, e, t) {
157
+ const r = E(n, e.runtime && e.runtime.events ? e.runtime.events : [], "beforeClick");
158
+ let i;
159
+ return r && (i = k(n, e, r, null, t)), i === void 0 || i;
160
+ }
161
+ function ce(n, e, t) {
162
+ const r = n.code + "_";
163
+ B.$emit(r + "open-dialog", { pageContext: n, configureObj: e, eventParams: t });
164
+ }
165
+ function N(n, e) {
166
+ return !(!n.pageType || n.pageType !== "list");
167
+ }
168
+ function he(n, e, t) {
169
+ const r = e.runtime && e.runtime.events ? e.runtime.events : [], i = E(n, r, "afterClick");
170
+ if (i) {
171
+ const o = k(n, e, i, null, t);
172
+ O(o) ? o.finally(() => {
173
+ n.canClick = !0;
174
+ }) : n.canClick = !0;
175
+ } else n.canClick = !0;
176
+ }
177
+ function j(n, e, t, r, i, o) {
178
+ r ? (n.result = i, n.canClick = !0) : $(n, e, i, "", o);
179
+ const c = E(n, e.runtime && e.runtime.events ? e.runtime.events : [], "afterClick");
180
+ c && k(n, e, c, t);
181
+ }
182
+ function y(n, e, t, r) {
183
+ let i = e, o = e.props.linkPage;
184
+ if (o && o instanceof Array) {
185
+ const c = function(l) {
186
+ let d = l ? l.row : null;
187
+ return d || (d = l && l.selections && l.selections.length > 0 ? l.selections[0] : null), d;
188
+ }(r), u = X(n, e, o, c);
189
+ let s, a = !1;
190
+ u && (a = u.show, s = a ? u.toPage : null), o = s ? s.linkPage : null, o && (i = G(e), i.props.linkPage = o);
205
191
  }
206
- u2 && u2.jumpPageUrl ? (e2.canClick = true, L(e2, r2, o2)) : function(e3, n3, i3, o3) {
207
- const r3 = i3, u3 = _(e3);
208
- if (r3) {
209
- const i4 = r3.func, c2 = r3.isStandard, l2 = r3.event, a2 = H(e3, n3, i4, o3);
210
- if (function(e4, n4) {
211
- return e4 && ("exportForm" === n4.eventName || "exportPDF" === n4.eventName || "import" === n4.eventName || "assign" === n4.eventName || "copyTask" === n4.eventName || "addSigner" === n4.eventName || "returnTaskTo" === n4.eventName || "removeSigner" === n4.eventName || "saveQueryCharts" === n4.eventName || "addTransactor" === n4.eventName || "removeTransactor" === n4.eventName);
212
- }(c2, l2)) return void (e3.canClick = true);
213
- t(a2) ? a2.then((t2) => {
214
- t2 ? q(e3, n3, o3, c2, t2, u3) : e3.canClick = true;
215
- }).catch((n4) => {
216
- console.error(n4), e3.canClick = true;
217
- }) : q(e3, n3, o3, c2, a2, u3);
218
- } else q(e3, n3, o3, false, null, u3);
219
- }(e2, n2, i2, o2);
220
- }
221
- function I(e2, n2) {
222
- const t2 = e2.customEvents;
223
- if (t2 && n2) {
224
- let e3 = "";
225
- return e3 = "object" == typeof n2 ? n2.componentUuid + "_" + n2.name : n2, t2[e3];
192
+ o && o.jumpPageUrl ? (n.canClick = !0, ce(n, i, r)) : function(c, u, s, a) {
193
+ const l = s, d = N(c);
194
+ if (l) {
195
+ const x = l.func, C = l.isStandard, h = l.event, v = k(c, u, x, a);
196
+ if (function(g, f) {
197
+ return g && (f.eventName === "exportForm" || f.eventName === "exportPDF" || f.eventName === "import" || f.eventName === "assign" || f.eventName === "copyTask" || f.eventName === "addSigner" || f.eventName === "returnTaskTo" || f.eventName === "removeSigner" || f.eventName === "saveQueryCharts" || f.eventName === "addTransactor" || f.eventName === "removeTransactor");
198
+ }(C, h)) return void (c.canClick = !0);
199
+ O(v) ? v.then((g) => {
200
+ g ? j(c, u, a, C, g, d) : c.canClick = !0;
201
+ }).catch((g) => {
202
+ console.error(g), c.canClick = !0;
203
+ }) : j(c, u, a, C, v, d);
204
+ } else j(c, u, a, !1, null, d);
205
+ }(n, e, t, r);
206
+ }
207
+ function _(n, e) {
208
+ const t = n.customEvents;
209
+ if (t && e) {
210
+ let r = "";
211
+ return r = typeof e == "object" ? e.componentUuid + "_" + e.name : e, t[r];
226
212
  }
227
213
  }
228
- function B(e2, n2, t2) {
229
- if (n2 && t2) {
230
- const i2 = n2.filter((e3) => e3.name === t2);
231
- if (i2 && i2.length > 0) {
232
- const n3 = i2[0];
233
- return n3.isStandard ? o[n3.eventName] : I(e2, n3);
214
+ function E(n, e, t) {
215
+ if (e && t) {
216
+ const r = e.filter((i) => i.name === t);
217
+ if (r && r.length > 0) {
218
+ const i = r[0];
219
+ return i.isStandard ? D[i.eventName] : _(n, i);
234
220
  }
235
221
  }
236
222
  }
237
- function $(e2, n2) {
238
- if (e2 && n2) {
239
- const t2 = e2.filter((e3) => e3.name === n2);
240
- if (t2 && t2.length > 0) {
241
- return t2[0].eventName;
242
- }
223
+ function Ee(n, e) {
224
+ if (n && e) {
225
+ const t = n.filter((r) => r.name === e);
226
+ if (t && t.length > 0)
227
+ return t[0].eventName;
243
228
  }
244
229
  }
245
- function z(e2, n2, t2) {
246
- if (n2 && t2) {
247
- const i2 = n2.filter((e3) => e3.name === t2);
248
- if (i2 && i2.length > 0) {
249
- const n3 = i2[0];
250
- return n3.isStandard ? { func: o[n3.eventName], isStandard: true, event: n3 } : { func: I(e2, n3), isStandard: false, event: n3 };
230
+ function S(n, e, t) {
231
+ if (e && t) {
232
+ const r = e.filter((i) => i.name === t);
233
+ if (r && r.length > 0) {
234
+ const i = r[0];
235
+ return i.isStandard ? { func: D[i.eventName], isStandard: !0, event: i } : { func: _(n, i), isStandard: !1, event: i };
251
236
  }
252
237
  }
253
238
  }
254
- function H(e2, n2, t2, i2, o2) {
255
- if (t2) {
256
- if (i2 || (i2 = { pageContext: e2, configureObj: n2 }), o2 && i2) for (const e3 in o2) i2[e3] = o2[e3];
257
- return t2.apply(t2, [i2]);
239
+ function k(n, e, t, r, i) {
240
+ if (t) {
241
+ if (r || (r = { pageContext: n, configureObj: e }), i && r) for (const o in i) r[o] = i[o];
242
+ return t.apply(t, [r]);
258
243
  }
259
244
  }
260
- function Q(e2) {
261
- const t2 = e2.pageContext, o2 = e2.configureObj, r2 = _(t2);
262
- let u2 = [];
263
- if (r2) t2.editData ? u2.push(t2.editData) : u2 = e2.selections;
245
+ function ue(n) {
246
+ const e = n.pageContext, t = n.configureObj, r = N(e);
247
+ let i = [];
248
+ if (r) e.editData ? i.push(e.editData) : i = n.selections;
264
249
  else {
265
- const e3 = t2.entity.data;
266
- u2.push(e3);
250
+ const c = e.entity.data;
251
+ i.push(c);
267
252
  }
268
- const c2 = o2.props.base.condition;
269
- return new Promise((e3, o3) => {
270
- if (null == c2 || "" === c2 || null == u2 || 0 === u2.length) e3({ canExecute: true });
253
+ const o = t.props.base.condition;
254
+ return new Promise((c, u) => {
255
+ if (o == null || o === "" || i == null || i.length === 0) c({ canExecute: !0 });
271
256
  else {
272
- const o4 = t2.entity.context, r3 = i(t2), l2 = true, a2 = t2.tableName;
273
- let f2, m2, g2 = true;
274
- for (let e4 = 0; e4 < u2.length; e4++) {
275
- const i2 = u2[e4];
276
- for (let e5 = 0; e5 < c2.length; e5++) {
277
- const u3 = c2[e5], s2 = u3.toolTips, p2 = u3.conditionList;
278
- if (!n(p2, i2, r3, o4, l2, a2, null, t2)) {
279
- g2 = false, f2 = s2, m2 = i2;
257
+ const s = e.entity.context, a = H(e), l = !0, d = e.tableName;
258
+ let x, C, h = !0;
259
+ for (let v = 0; v < i.length; v++) {
260
+ const g = i[v];
261
+ for (let f = 0; f < o.length; f++) {
262
+ const F = o[f], M = F.toolTips, V = F.conditionList;
263
+ if (!I(V, g, a, s, l, d, null, e)) {
264
+ h = !1, x = M, C = g;
280
265
  break;
281
266
  }
282
267
  }
283
268
  }
284
- g2 ? e3({ canExecute: true }) : (f2 && s({ showClose: true, type: "warning", message: f2 }), e3({ canExecute: false, message: f2, failEntity: m2 }));
269
+ h ? c({ canExecute: !0 }) : (x && W({ showClose: !0, type: "warning", message: x }), c({ canExecute: !1, message: x, failEntity: C }));
285
270
  }
286
271
  });
287
272
  }
288
- function W(e2, n2, t2, i2) {
289
- var o2;
290
- n2 && (G("loadBeforeSend", N(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "beforeListLoad", o2), e2), G("beforeRequest", function(e3) {
291
- return N(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
292
- }({ pageContext: t2, configureObj: i2 }), e2), G("gridDataLoaded", function(e3) {
293
- return N(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
294
- }({ pageContext: t2, configureObj: i2 }), e2), G("gridComplete", function(e3) {
295
- return N(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
296
- }({ pageContext: t2, configureObj: i2 }), e2), G("resizeHeight", function(e3) {
297
- return N(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
298
- }({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), G("beforeInsertRow", function(e3) {
299
- return N(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
300
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("afterInsertRow", function(e3) {
301
- return N(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
302
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeDelete", function(e3) {
303
- return N(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
304
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("afterDelete", function(e3) {
305
- return N(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
306
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeEdit", function(e3) {
307
- return N(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
308
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeRestore", function(e3) {
309
- return N(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
310
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeRestoreValidate", function(e3) {
311
- return N(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
312
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), function(e3, n3, t3) {
313
- n3 && (t3[e3] = n3);
314
- }("filterDataEvent", N(null, t2, i2, "filter-data", { pageContext: t2, configureObj: i2 }), e2));
315
- }
316
- function G(e2, n2, t2) {
317
- n2 && (t2[e2] = n2);
318
- }
319
- function J(e2, n2, t2) {
320
- return h(null, e2, n2, "select", t2);
321
- }
322
- function K(e2, n2, t2) {
323
- return h(null, e2, n2, "select-all", t2);
324
- }
325
- function M(e2, n2, t2) {
326
- return h(null, e2, n2, "selection-change", t2);
327
- }
328
- function X(e2, n2, t2) {
329
- return h(null, e2, n2, "cell-click", t2);
330
- }
331
- function Y(e2, n2, t2) {
332
- return h(null, e2, n2, "cell-dblclick", t2);
333
- }
334
- function Z(e2, n2, t2) {
335
- return h(null, e2, n2, "row-click", t2);
336
- }
337
- function ee(e2, n2, t2) {
338
- return h(null, e2, n2, "row-dblclick", t2);
339
- }
340
- function ne(e2, n2, t2) {
341
- return h(null, e2, n2, "header-click", t2);
342
- }
343
- function te(e2) {
344
- return N(null, e2.pageContext, e2.configureObj, "before-upload", e2);
345
- }
346
- function ie(n2) {
347
- let t2 = true;
348
- if (!e()) {
349
- const e2 = n2 && n2.events ? n2.events : [];
350
- if (e2) {
351
- const n3 = e2.filter((e3) => "click" === e3.name && e3.isStandard && e3.eventName && "showSearch" === e3.eventName);
352
- n3 && n3.length > 0 && (t2 = false);
273
+ function Oe(n, e, t, r) {
274
+ var i;
275
+ e && (p("loadBeforeSend", m(null, (i = { pageContext: t, configureObj: r }).pageContext, i.configureObj, "beforeListLoad", i), n), p("beforeRequest", function(o) {
276
+ return m(null, o.pageContext, o.configureObj, "beforeRequest", o);
277
+ }({ pageContext: t, configureObj: r }), n), p("gridDataLoaded", function(o) {
278
+ return m(null, o.pageContext, o.configureObj, "onListLoad", o);
279
+ }({ pageContext: t, configureObj: r }), n), p("gridComplete", function(o) {
280
+ return m(null, o.pageContext, o.configureObj, "afterListLoad", o);
281
+ }({ pageContext: t, configureObj: r }), n), p("resizeHeight", function(o) {
282
+ return m(null, o.pageContext, o.configureObj, "resizeTableHeight", o);
283
+ }({ pageContext: t, configureObj: r }), n), n.lineEditOptions || (n.lineEditOptions = {}), p("beforeInsertRow", function(o) {
284
+ return m(null, o.pageContext, o.configureObj, "beforeAddRow", o);
285
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), p("afterInsertRow", function(o) {
286
+ return m(null, o.pageContext, o.configureObj, "afterAddRow", o);
287
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), p("beforeDelete", function(o) {
288
+ return m(null, o.pageContext, o.configureObj, "beforeRemoveRow", o);
289
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), p("afterDelete", function(o) {
290
+ return m(null, o.pageContext, o.configureObj, "afterRemoveRow", o);
291
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), p("beforeEdit", function(o) {
292
+ return m(null, o.pageContext, o.configureObj, "beforeEdit", o);
293
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), p("beforeRestore", function(o) {
294
+ return m(null, o.pageContext, o.configureObj, "beforeRestore", o);
295
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), p("beforeRestoreValidate", function(o) {
296
+ return m(null, o.pageContext, o.configureObj, "beforeRestoreValidate", o);
297
+ }({ pageContext: t, configureObj: r }), n.lineEditOptions), function(o, c, u) {
298
+ c && (u[o] = c);
299
+ }("filterDataEvent", m(null, t, r, "filter-data", { pageContext: t, configureObj: r }), n));
300
+ }
301
+ function p(n, e, t) {
302
+ e && (t[n] = e);
303
+ }
304
+ function je(n, e, t) {
305
+ return b(null, n, e, "select", t);
306
+ }
307
+ function ye(n, e, t) {
308
+ return b(null, n, e, "select-all", t);
309
+ }
310
+ function we(n, e, t) {
311
+ return b(null, n, e, "selection-change", t);
312
+ }
313
+ function Ne(n, e, t) {
314
+ return b(null, n, e, "cell-click", t);
315
+ }
316
+ function Se(n, e, t) {
317
+ return b(null, n, e, "cell-dblclick", t);
318
+ }
319
+ function Fe(n, e, t) {
320
+ return b(null, n, e, "row-click", t);
321
+ }
322
+ function Pe(n, e, t) {
323
+ return b(null, n, e, "row-dblclick", t);
324
+ }
325
+ function Te(n, e, t) {
326
+ return b(null, n, e, "header-click", t);
327
+ }
328
+ function Re(n) {
329
+ return m(null, n.pageContext, n.configureObj, "before-upload", n);
330
+ }
331
+ function De(n) {
332
+ let e = !0;
333
+ if (!R()) {
334
+ const t = n && n.events ? n.events : [];
335
+ if (t) {
336
+ const r = t.filter((i) => i.name === "click" && i.isStandard && i.eventName && i.eventName === "showSearch");
337
+ r && r.length > 0 && (e = !1);
353
338
  }
354
339
  }
355
- return t2;
356
- }
357
- function oe(e2, n2, t2, i2, o2) {
358
- return H(e2, n2, B(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
359
- }
360
- function re(n2, t2) {
361
- let i2 = true;
362
- if (e()) {
363
- const e2 = z(n2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], "click");
364
- if (e2) {
365
- const n3 = e2.isStandard, t3 = e2.event, o2 = navigator ? navigator.userAgent : null;
366
- n3 && o2 && (o2.indexOf(" uni-app ") > 0 ? (C.includes(t3.eventName) || b.includes(t3.eventName)) && (i2 = false) : b.includes(t3.eventName) && (i2 = false));
340
+ return e;
341
+ }
342
+ function Ue(n, e, t, r, i) {
343
+ return k(n, e, E(n, e && e.runtime && e.runtime.events ? e.runtime.events : [], t), { configure: e, pageContext: n, chartOption: r, ...i });
344
+ }
345
+ function Be(n, e) {
346
+ let t = !0;
347
+ if (R()) {
348
+ const r = S(n, e && e.runtime && e.runtime.events ? e.runtime.events : [], "click");
349
+ if (r) {
350
+ const i = r.isStandard, o = r.event, c = navigator ? navigator.userAgent : null;
351
+ i && c && (c.indexOf(" uni-app ") > 0 ? (Z.includes(o.eventName) || P.includes(o.eventName)) && (t = !1) : P.includes(o.eventName) && (t = !1));
367
352
  }
368
353
  }
369
- return i2;
354
+ return t;
370
355
  }
371
356
  export {
372
- j as appendDefaultMethods,
373
- Q as canExecuteButton,
374
- X as cellClick,
375
- Y as cellDblClick,
376
- V as doAfterClickEvent,
377
- D as doBeforeClickEvent,
378
- L as doClickJumpPageEvent,
379
- F as doSuffixOrPrefixClickEvent,
380
- te as fileUploadBeforeUpload,
381
- z as getClickEventFuncByType,
382
- k as getCustomFunc,
383
- B as getEventFuncByType,
384
- $ as getEventNameByType,
385
- N as getHandleEvent,
386
- P as getTableUuid,
387
- K as gridSelectAllRecords,
388
- J as gridSelectRecord,
389
- M as gridSelectionChange,
390
- y as handleAfterInitEvent,
391
- oe as handleChartEvent,
392
- h as handleEvent,
393
- E as handleFormEvent,
394
- ne as headerClick,
395
- x as initPageEvents,
396
- ie as isShowComponent,
397
- re as isShowMobileEvent,
398
- O as removeCustomFuncFromWindow,
399
- Z as rowClick,
400
- ee as rowDblClick,
401
- W as setTableEvents
357
+ ne as appendDefaultMethods,
358
+ ue as canExecuteButton,
359
+ Ne as cellClick,
360
+ Se as cellDblClick,
361
+ he as doAfterClickEvent,
362
+ ie as doBeforeClickEvent,
363
+ ce as doClickJumpPageEvent,
364
+ ke as doSuffixOrPrefixClickEvent,
365
+ Re as fileUploadBeforeUpload,
366
+ S as getClickEventFuncByType,
367
+ ee as getCustomFunc,
368
+ E as getEventFuncByType,
369
+ Ee as getEventNameByType,
370
+ m as getHandleEvent,
371
+ re as getTableUuid,
372
+ ye as gridSelectAllRecords,
373
+ je as gridSelectRecord,
374
+ we as gridSelectionChange,
375
+ xe as handleAfterInitEvent,
376
+ Ue as handleChartEvent,
377
+ b as handleEvent,
378
+ te as handleFormEvent,
379
+ Te as headerClick,
380
+ Ce as initPageEvents,
381
+ De as isShowComponent,
382
+ Be as isShowMobileEvent,
383
+ be as removeCustomFuncFromWindow,
384
+ Fe as rowClick,
385
+ Pe as rowDblClick,
386
+ Oe as setTableEvents
402
387
  };