super-page-runtime 2.3.21-tmp1 → 2.3.22-tmp1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (600) hide show
  1. package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
  2. package/dist/es/components/runtime/utils/{anchor-util.js → anchor-util.mjs} +5 -5
  3. package/dist/es/components/runtime/utils/api/api-util.mjs +4 -0
  4. package/dist/es/components/runtime/utils/api/{page-expose-util.js → page-expose-util.mjs} +26 -27
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +20 -0
  6. package/dist/es/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.mjs} +4 -4
  7. package/dist/es/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.mjs} +9 -9
  8. package/dist/es/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.mjs} +11 -11
  9. package/dist/es/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.mjs} +4 -4
  10. package/dist/es/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.mjs} +12 -12
  11. package/dist/es/components/runtime/utils/charts/{chart-util.js → chart-util.mjs} +13 -13
  12. package/dist/es/components/runtime/utils/{common-util.js → common-util.mjs} +13 -14
  13. package/dist/es/components/runtime/utils/events/{event-util.js → event-util.mjs} +94 -95
  14. package/dist/es/components/runtime/utils/events/{print-label.js → print-label.mjs} +2 -2
  15. package/dist/es/components/runtime/utils/events/standard-event.mjs +1166 -0
  16. package/dist/es/components/runtime/utils/events/{validator-util.js → validator-util.mjs} +35 -37
  17. package/dist/es/components/runtime/utils/form/{scan-util.js → scan-util.mjs} +22 -22
  18. package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
  19. package/dist/es/components/runtime/utils/page-helper-util.mjs +386 -0
  20. package/dist/es/components/runtime/utils/{page-init-util.js → page-init-util.mjs} +102 -104
  21. package/dist/es/components/runtime/utils/{page-store.js → page-store.mjs} +7 -7
  22. package/dist/es/components/runtime/utils/{store-util.js → store-util.mjs} +1 -1
  23. package/dist/es/components/runtime/utils/{table-utils.js → table-utils.mjs} +16 -16
  24. package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
  25. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
  26. package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.mjs} +3 -3
  27. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue.js → buttongroup-runtime.vue.mjs} +3 -3
  28. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.mjs} +2 -2
  29. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
  30. package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.mjs} +5 -5
  31. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
  32. package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime.vue2.js → exportpdf-runtime.vue2.mjs} +1 -1
  33. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
  34. package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime.vue2.mjs} +5 -5
  35. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
  36. package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.mjs} +5 -5
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +4 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +4 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.mjs} +5 -5
  40. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +4 -0
  41. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
  42. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +59 -0
  43. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue.js → gauge-runtime.vue.mjs} +3 -3
  44. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.mjs} +6 -6
  45. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue.js → pie-runtime.vue.mjs} +3 -3
  46. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.mjs} +7 -7
  47. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue.js → radar-runtime.vue.mjs} +3 -3
  48. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.mjs} +6 -6
  49. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue.js → scatter-runtime.vue.mjs} +3 -3
  50. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.mjs} +6 -6
  51. package/dist/es/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.mjs} +3 -3
  52. package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue.js → group-column-item.vue.mjs} +1 -1
  53. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +4 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.mjs} +4 -4
  55. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue.js → normal-column.vue.mjs} +13 -17
  57. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +4 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +8 -8
  61. package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.mjs} +2 -2
  62. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +4 -0
  63. package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.mjs} +1 -1
  64. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +4 -0
  65. package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.mjs} +1 -1
  66. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
  67. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
  68. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
  69. package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.mjs} +1 -1
  70. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +4 -0
  71. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +4 -0
  72. package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.mjs} +1 -1
  73. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +4 -0
  74. package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.mjs} +1 -1
  75. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +4 -0
  76. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +4 -0
  77. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue.js → card-runtime.vue.mjs} +3 -3
  78. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.mjs} +3 -3
  79. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
  80. package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.mjs} +6 -6
  81. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
  82. package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.mjs} +3 -3
  83. package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → FixedBox.vue.mjs} +3 -3
  84. package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue.js → YxAffix.vue.mjs} +3 -3
  85. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
  86. package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.mjs} +5 -5
  87. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
  88. package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.mjs} +5 -5
  89. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
  90. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +14 -0
  91. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue.js → tabs-runtime.vue.mjs} +3 -3
  92. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.mjs} +4 -4
  93. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue.js → tools-runtime.vue.mjs} +3 -3
  94. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.mjs} +4 -4
  95. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
  96. package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.mjs} +19 -19
  97. package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.mjs} +10 -10
  98. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
  99. package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.mjs} +8 -8
  100. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +4 -0
  101. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
  102. package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +31 -31
  103. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
  104. package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.mjs} +7 -7
  105. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +4 -0
  106. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
  107. package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.mjs} +7 -7
  108. package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +1 -1
  109. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +4 -0
  110. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
  111. package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.mjs} +12 -12
  112. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
  113. package/dist/es/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.mjs} +7 -7
  114. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
  115. package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.mjs} +8 -8
  116. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
  117. package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.mjs} +2 -2
  118. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
  119. package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime.vue2.mjs} +18 -20
  120. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
  121. package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.mjs} +6 -6
  122. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
  123. package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime.vue2.mjs} +32 -33
  124. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue.js → label-runtime.vue.mjs} +3 -3
  125. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.mjs} +6 -6
  126. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
  127. package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.mjs} +6 -6
  128. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue.js → placeholder-runtime.vue.mjs} +3 -3
  129. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.mjs} +1 -1
  130. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
  131. package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.mjs} +5 -5
  132. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
  133. package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.mjs} +6 -6
  134. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +4 -0
  135. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.mjs} +6 -6
  136. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
  137. package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.mjs} +2 -2
  138. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
  139. package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.mjs} +7 -7
  140. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
  141. package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.mjs} +4 -4
  142. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
  143. package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.mjs} +6 -6
  144. package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +8 -8
  145. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
  146. package/dist/es/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.mjs} +15 -15
  147. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
  148. package/dist/es/components/runtime/views/assemblys/{page-bottom.vue.js → page-bottom.vue.mjs} +1 -1
  149. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +4 -0
  150. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue.js → workflow-opinion-box.vue.mjs} +3 -3
  151. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.mjs} +4 -4
  152. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue.js → extract-workflow-runtime-dialog.vue.mjs} +3 -3
  153. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.mjs} +1 -1
  154. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue.js → extract-workflow-runtime.vue.mjs} +3 -3
  155. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.mjs} +2 -2
  156. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
  157. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.mjs} +9 -9
  158. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
  159. package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.mjs} +7 -7
  160. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue.js → workflowbutton-runtime.vue.mjs} +3 -3
  161. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.mjs} +3 -3
  162. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
  163. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +18 -0
  164. package/dist/es/components/runtime/views/{home-chart.vue.js → home-chart.vue.mjs} +8 -8
  165. package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
  166. package/dist/es/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.mjs} +1 -1
  167. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
  168. package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
  169. package/dist/es/components/runtime/views/{super-page.vue2.js → super-page.vue2.mjs} +90 -94
  170. package/dist/es/{index.js → index.mjs} +12 -12
  171. package/dist/es/style.css +136 -136
  172. package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
  173. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
  174. package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
  175. package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
  176. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
  177. package/dist/lib/components/runtime/index.d.ts +5 -0
  178. package/dist/lib/components/runtime/utils/{ai-chat-util.js → ai-chat-util.cjs} +1 -1
  179. package/dist/lib/components/runtime/utils/{anchor-util.js → anchor-util.cjs} +17 -17
  180. package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
  181. package/dist/lib/components/runtime/utils/api/{api-util.js → api-util.cjs} +1 -1
  182. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  183. package/dist/lib/components/runtime/utils/api/{page-expose-util.js → page-expose-util.cjs} +29 -29
  184. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  185. package/dist/lib/components/runtime/utils/assemblys-config.cjs +16 -0
  186. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  187. package/dist/lib/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.cjs} +1 -1
  188. package/dist/lib/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.cjs} +3 -3
  189. package/dist/lib/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.cjs} +1 -1
  190. package/dist/lib/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.cjs} +7 -7
  191. package/dist/lib/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.cjs} +1 -1
  192. package/dist/lib/components/runtime/utils/charts/{chart-util.js → chart-util.cjs} +67 -67
  193. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
  194. package/dist/lib/components/runtime/utils/{common-util.js → common-util.cjs} +28 -28
  195. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  196. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  197. package/dist/lib/components/runtime/utils/events/{event-util.js → event-util.cjs} +115 -115
  198. package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
  199. package/dist/lib/components/runtime/utils/events/{print-label.js → print-label.cjs} +11 -11
  200. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  201. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1101 -0
  202. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
  203. package/dist/lib/components/runtime/utils/events/{validator-util.js → validator-util.cjs} +135 -135
  204. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
  205. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  206. package/dist/lib/components/runtime/utils/form/{scan-util.js → scan-util.cjs} +2 -2
  207. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  208. package/dist/lib/components/runtime/utils/i18n-util.cjs +11 -0
  209. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  210. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
  211. package/dist/lib/components/runtime/utils/{page-helper-util.js → page-helper-util.cjs} +4 -4
  212. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  213. package/dist/lib/components/runtime/utils/page-init-util.cjs +244 -0
  214. package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
  215. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  216. package/dist/lib/components/runtime/utils/{page-store.js → page-store.cjs} +1 -1
  217. package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
  218. package/dist/lib/components/runtime/utils/{store-util.js → store-util.cjs} +4 -4
  219. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  220. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  221. package/dist/lib/components/runtime/utils/{table-utils.js → table-utils.cjs} +3 -3
  222. package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +54 -0
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +3 -0
  225. package/dist/lib/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.cjs} +1 -1
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +5 -0
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.cjs} +1 -1
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +3 -0
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.cjs} +1 -1
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +3 -0
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +3 -0
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +3 -0
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime.vue2.cjs} +6 -6
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +5 -0
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.cjs} +1 -1
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +3 -0
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +3 -0
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.cjs} +2 -2
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +3 -0
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +5 -0
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +48 -0
  242. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +5 -0
  243. package/dist/lib/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.cjs} +1 -1
  244. package/dist/lib/components/runtime/views/assemblys/{container/tabs/tabs-runtime.vue.js → chart/pie/pie-runtime.vue.cjs} +2 -2
  245. package/dist/lib/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.cjs} +1 -1
  246. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +5 -0
  247. package/dist/lib/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.cjs} +1 -1
  248. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +5 -0
  249. package/dist/lib/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.cjs} +1 -1
  250. package/dist/lib/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.cjs} +1 -1
  251. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +3 -0
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +3 -0
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.cjs} +1 -1
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +3 -0
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +36 -0
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +3 -0
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +3 -0
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +3 -0
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.cjs} +57 -57
  261. package/dist/lib/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.cjs} +5 -5
  262. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +3 -0
  264. package/dist/lib/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.cjs} +1 -1
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +3 -0
  267. package/dist/lib/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.cjs} +1 -1
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  269. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +3 -0
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +19 -0
  271. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  272. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +3 -0
  273. package/dist/lib/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.cjs} +1 -1
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +3 -0
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  277. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +3 -0
  278. package/dist/lib/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.cjs} +1 -1
  279. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  280. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +3 -0
  281. package/dist/lib/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.cjs} +1 -1
  282. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  283. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +3 -0
  284. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  285. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +3 -0
  286. package/dist/lib/components/runtime/views/assemblys/container/{tools/tools-runtime.vue.js → card/card-runtime.vue.cjs} +2 -2
  287. package/dist/lib/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.cjs} +1 -1
  288. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +3 -0
  289. package/dist/lib/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.cjs} +5 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +3 -0
  291. package/dist/lib/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.cjs} +3 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
  293. package/dist/lib/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → YxAffix.vue.cjs} +2 -2
  294. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  295. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +3 -0
  296. package/dist/lib/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.cjs} +1 -1
  297. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +3 -0
  298. package/dist/lib/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.cjs} +1 -1
  299. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +3 -0
  300. package/dist/lib/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime.vue2.cjs} +2 -2
  301. package/dist/lib/components/runtime/views/assemblys/{chart/radar/radar-runtime.vue.js → container/tabs/tabs-runtime.vue.cjs} +2 -2
  302. package/dist/lib/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.cjs} +1 -1
  303. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +5 -0
  304. package/dist/lib/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.cjs} +3 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +3 -0
  306. package/dist/lib/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.cjs} +2 -2
  307. package/dist/lib/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.cjs} +1 -1
  308. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +3 -0
  309. package/dist/lib/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.cjs} +1 -1
  310. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +3 -0
  311. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +3 -0
  312. package/dist/lib/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.cjs} +1 -1
  313. package/dist/lib/components/runtime/views/assemblys/{form/label/label-runtime.vue.js → data/tree/tree-runtime.vue.cjs} +2 -2
  314. package/dist/lib/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.cjs} +3 -3
  315. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  316. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +3 -0
  317. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +3 -0
  318. package/dist/lib/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.cjs} +1 -1
  319. package/dist/lib/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.cjs} +1 -1
  320. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +3 -0
  321. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +3 -0
  322. package/dist/lib/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.cjs} +1 -1
  323. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +3 -0
  324. package/dist/lib/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.cjs} +4 -4
  325. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +3 -0
  326. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.cjs} +10 -10
  327. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +3 -0
  328. package/dist/lib/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.cjs} +1 -1
  329. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +3 -0
  330. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +65 -0
  331. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +3 -0
  332. package/dist/lib/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.cjs} +6 -6
  333. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +3 -0
  334. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +70 -0
  335. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +5 -0
  336. package/dist/lib/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.cjs} +6 -6
  337. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +3 -0
  338. package/dist/lib/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.cjs} +3 -3
  339. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +5 -0
  340. package/dist/lib/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.cjs} +1 -1
  341. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +3 -0
  342. package/dist/lib/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.cjs} +1 -1
  343. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +5 -0
  344. package/dist/lib/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.cjs} +2 -2
  345. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +3 -0
  346. package/dist/lib/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.cjs} +1 -1
  347. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +3 -0
  348. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.cjs} +3 -3
  349. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +3 -0
  350. package/dist/lib/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.cjs} +1 -1
  351. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +3 -0
  352. package/dist/lib/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.cjs} +1 -1
  353. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +3 -0
  354. package/dist/lib/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.cjs} +1 -1
  355. package/dist/lib/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.cjs} +4 -4
  356. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  357. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +3 -0
  358. package/dist/lib/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.cjs} +1 -1
  359. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  360. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +3 -0
  361. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +3 -0
  362. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
  363. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +3 -0
  364. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +5 -0
  365. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
  366. package/dist/lib/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.cjs} +6 -6
  367. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +5 -0
  368. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.cjs} +1 -1
  369. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +5 -0
  370. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.cjs} +1 -1
  371. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +3 -0
  372. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.cjs} +1 -1
  373. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +3 -0
  374. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.cjs} +1 -1
  375. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +5 -0
  376. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.cjs} +1 -1
  377. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +3 -0
  378. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime.vue2.cjs} +3 -3
  379. package/dist/lib/components/runtime/views/{home-chart.vue.js → home-chart.vue.cjs} +5 -5
  380. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  381. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +3 -0
  382. package/dist/lib/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.cjs} +1 -1
  383. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  384. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +3 -0
  385. package/dist/lib/components/runtime/views/super-page.vue.cjs +5 -0
  386. package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
  387. package/dist/lib/components/runtime/views/super-page.vue2.cjs +264 -0
  388. package/dist/lib/index.cjs +6 -0
  389. package/dist/lib/index.d.ts +16 -0
  390. package/dist/lib/style.css +136 -136
  391. package/dist/umd/index.full.min.js +741 -741
  392. package/dist/umd/style.css +136 -136
  393. package/package.json +5 -4
  394. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  395. package/dist/es/components/runtime/utils/api/api-util.js +0 -4
  396. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  397. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1169
  398. package/dist/es/components/runtime/utils/i18n-util.js +0 -14
  399. package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
  400. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  401. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  402. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  403. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  404. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  405. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  406. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  407. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  408. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  409. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  410. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
  411. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
  412. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
  413. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
  414. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
  415. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  416. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
  417. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  418. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
  419. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  420. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
  421. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  422. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
  423. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
  424. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
  425. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  426. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  427. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  428. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  429. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  430. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  431. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -14
  432. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  433. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  434. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  435. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  436. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  437. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  438. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  439. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
  440. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  441. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  442. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  443. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  444. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  445. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  446. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  447. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  448. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  449. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  450. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  451. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  452. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  453. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  454. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  455. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
  456. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  457. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
  458. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  459. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  460. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  461. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -18
  462. package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
  463. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
  464. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  465. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -16
  466. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1101
  467. package/dist/lib/components/runtime/utils/i18n-util.js +0 -11
  468. package/dist/lib/components/runtime/utils/page-init-util.js +0 -244
  469. package/dist/lib/components/runtime/utils/tree-utils.js +0 -54
  470. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  471. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -5
  472. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  473. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -3
  474. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -3
  475. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -3
  476. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -5
  477. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  478. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  479. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  480. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -5
  481. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -48
  482. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -5
  483. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -5
  484. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -5
  485. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -3
  486. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -3
  487. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -3
  488. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -36
  489. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -3
  490. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -3
  491. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -3
  492. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -3
  493. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  494. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -3
  495. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -19
  496. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -3
  497. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  498. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -3
  499. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -3
  500. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -3
  501. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  502. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -5
  503. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  504. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  505. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -5
  506. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  507. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  508. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  509. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -3
  510. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  511. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  512. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  513. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -5
  514. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  515. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  516. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -3
  517. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -3
  518. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  519. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  520. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  521. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  522. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -65
  523. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  524. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  525. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -70
  526. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  527. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -5
  528. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  529. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -5
  530. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  531. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -3
  532. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  533. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  534. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  535. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -3
  536. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  537. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.js +0 -3
  538. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.js +0 -3
  539. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -5
  540. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -5
  541. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -5
  542. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -3
  543. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -3
  544. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -5
  545. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -3
  546. package/dist/lib/components/runtime/views/home-chart.vue2.js +0 -3
  547. package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +0 -3
  548. package/dist/lib/components/runtime/views/super-page.vue.js +0 -5
  549. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -264
  550. package/dist/lib/index.js +0 -6
  551. /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
  552. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  553. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  554. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  555. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  556. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  557. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  558. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  559. /package/dist/es/components/runtime/utils/{barcode-util.js → barcode-util.mjs} +0 -0
  560. /package/dist/es/components/runtime/utils/{eventBus.js → eventBus.mjs} +0 -0
  561. /package/dist/es/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.mjs} +0 -0
  562. /package/dist/es/components/runtime/utils/{global-refs.js → global-refs.mjs} +0 -0
  563. /package/dist/es/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.mjs} +0 -0
  564. /package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +0 -0
  565. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  566. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.mjs} +0 -0
  567. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.mjs} +0 -0
  568. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.mjs} +0 -0
  569. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.mjs} +0 -0
  570. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.mjs} +0 -0
  571. /package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.mjs} +0 -0
  572. /package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.mjs} +0 -0
  573. /package/dist/es/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.mjs} +0 -0
  574. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  575. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
  576. /package/dist/lib/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.cjs} +0 -0
  577. /package/dist/lib/assets/chart-themes/{bar-theme.js → bar-theme.cjs} +0 -0
  578. /package/dist/lib/assets/chart-themes/{gauge-theme.js → gauge-theme.cjs} +0 -0
  579. /package/dist/lib/assets/chart-themes/{pie-theme.js → pie-theme.cjs} +0 -0
  580. /package/dist/lib/assets/chart-themes/{radar-theme.js → radar-theme.cjs} +0 -0
  581. /package/dist/lib/assets/chart-themes/{scatter-theme.js → scatter-theme.cjs} +0 -0
  582. /package/dist/lib/assets/{file.png.js → file.png.cjs} +0 -0
  583. /package/dist/lib/assets/{folder.png.js → folder.png.cjs} +0 -0
  584. /package/dist/lib/components/runtime/utils/{barcode-util.js → barcode-util.cjs} +0 -0
  585. /package/dist/lib/components/runtime/utils/{eventBus.js → eventBus.cjs} +0 -0
  586. /package/dist/lib/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.cjs} +0 -0
  587. /package/dist/lib/components/runtime/utils/{global-refs.js → global-refs.cjs} +0 -0
  588. /package/dist/lib/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.cjs} +0 -0
  589. /package/dist/lib/components/runtime/utils/{page-permission-util.js → page-permission-util.cjs} +0 -0
  590. /package/dist/lib/components/runtime/utils/{store.js → store.cjs} +0 -0
  591. /package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.cjs} +0 -0
  592. /package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.cjs} +0 -0
  593. /package/dist/lib/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.cjs} +0 -0
  594. /package/dist/lib/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.cjs} +0 -0
  595. /package/dist/lib/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.cjs} +0 -0
  596. /package/dist/lib/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.cjs} +0 -0
  597. /package/dist/lib/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.cjs} +0 -0
  598. /package/dist/lib/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.cjs} +0 -0
  599. /package/dist/lib/i18n/langs/{cn.js → cn.cjs} +0 -0
  600. /package/dist/lib/i18n/langs/{en.js → en.cjs} +0 -0
@@ -0,0 +1,1166 @@
1
+ import { deepCopy as e, getBaseUrl as t, getRealRestApiPath as n, isWorkflowPage as s, isArrayFn as o, packageTemplateFiles as i, upperFirstCase as a, getListCode as r } from "../common-util.mjs";
2
+ import { getCurrentUser as c, getI18n as l, http as u, isMobileBrowser as p, getToken as m, getSessionCache as d, setSessionCache as f, getRunCurrentRole as g } from "agilebuilder-ui";
3
+ import { ElMessage as C, ElMessageBox as b, ElNotification as w } from "element-plus";
4
+ import { getComponentRef as T } from "../global-refs.mjs";
5
+ import k from "../eventBus.mjs";
6
+ import h from "axios";
7
+ import { handleEvent as y, getTableUuid as P, doAfterClickEvent as v } from "./event-util.mjs";
8
+ import { setStoreInfo as S } from "../store-util.mjs";
9
+ import { getPermissionCodes as I, getDefaultValue as R, getModelFields as M } from "../page-init-util.mjs";
10
+ import { caculateShowCondition as N, updateChartDatasources as x, getVariableValue as O, setVariableValue as A } from "../page-helper-util.mjs";
11
+ import E from "./print-label.mjs";
12
+ import { getTableNameByTableUuid as U, getCurrentUserFileTasks as _, setFileTaskRead as j } from "../table-utils.mjs";
13
+ import { getWorkflowRules as D, packageCustomRules as W } from "./validator-util.mjs";
14
+ import { functions as L } from "../api/page-expose-util.mjs";
15
+ import { usePageContextStore as B } from "../page-store.mjs";
16
+ import { h as F } from "vue";
17
+ import V from "../../views/assemblys/common/file-task-notice.vue.mjs";
18
+ const $ = { save: function(e2) {
19
+ return J(e2, false);
20
+ }, saveList: function(e2) {
21
+ return J(e2, true);
22
+ }, exportForm: function(e2) {
23
+ const t2 = e2.pageContext.code + "_";
24
+ k.$emit(t2 + "export-form-report", e2);
25
+ }, exportPDF: function(e2) {
26
+ const t2 = e2.pageContext.code + "_";
27
+ k.$emit(t2 + "export-pdf-report", e2);
28
+ }, submit: function(e2) {
29
+ return oe(e2, false, "submit", "/dsc/commons/submits");
30
+ }, submitList: function(e2) {
31
+ return oe(e2, true, "submit", "/dsc/commons/batch-submits");
32
+ }, agree: function(e2) {
33
+ return oe(e2, false, "agree", "/dsc/commons/approves");
34
+ }, agreeList: function(e2) {
35
+ return oe(e2, true, "agree", "/dsc/commons/batch-approves");
36
+ }, disagree: function(e2) {
37
+ return oe(e2, false, "disagree", "/dsc/commons/refuses");
38
+ }, disagreeList: function(e2) {
39
+ return oe(e2, true, "disagree", "/dsc/commons/batch-refuses");
40
+ }, back: function(e2) {
41
+ const t2 = e2.pageContext, n2 = t2.entity ? t2.entity.data : {}, s2 = !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping;
42
+ ee(t2, e2.configureObj, n2, s2);
43
+ }, delete: function(e2) {
44
+ return function(e3) {
45
+ return new Promise((o2, i2) => {
46
+ const a2 = e3.ids;
47
+ if (!a2 || 0 === a2.length) return C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseSelectRecord") }), void o2(true);
48
+ b.confirm(l().t("superPageRuntimeMessage.whetherToConfirmDeletion"), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
49
+ var _a, _b, _c;
50
+ const r2 = e3.pageContext, c2 = e3.configureObj, l2 = c2.props.base, m2 = r2.systemCode, d2 = r2.backendUrl, f2 = c2.props.base.tableUuid ? c2.props.base.tableUuid : e3.tableUuid, g2 = U(r2, f2);
51
+ let C2 = t(d2, r2.isTest) + "/dsc/commons/" + g2;
52
+ C2 = n(C2, m2, d2, r2.isTest);
53
+ const b2 = void 0 === l2.isPermission || "true" === l2.isPermission || l2.isPermission, w2 = s(r2), k2 = I(c2, r2), h2 = { ids: a2, functionCode: k2, isPermission: b2 + "", systemCode: m2, isWorkflowEntity: w2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
54
+ r2.beanName && (h2.beanName = r2.beanName);
55
+ const y2 = c2.props.deleteLogicSetting;
56
+ y2 && ("object" == typeof y2 ? h2.deleteLogicSetting = JSON.stringify(y2) : "string" == typeof y2 && (h2.deleteLogicSetting = y2));
57
+ const P2 = (_a = c2.props.base) == null ? void 0 : _a.logSetting;
58
+ P2 && (h2.logSettingText = P2.join(""));
59
+ const v2 = c2.props.base.isSafeDelete;
60
+ v2 && (h2.isSafeDelete = v2);
61
+ const S2 = (_c = (_b = c2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
62
+ S2 && (h2.currentOperation = S2), h2.isMobile = p(), u.delete(C2, { data: h2 }).then((e4) => {
63
+ const t2 = T(r2, f2);
64
+ t2 && (t2.isDeleteChange(true), t2.clearSelections()), X(r2, c2, e4, "superPageRuntimeMessage.successfulDelete", true), o2(true);
65
+ }).catch((e4) => {
66
+ i2(e4);
67
+ });
68
+ }).catch(() => {
69
+ i2();
70
+ });
71
+ });
72
+ }(e2);
73
+ }, downloadTemplate: function(e2) {
74
+ !function(e3) {
75
+ var _a, _b, _c;
76
+ const n2 = e3.pageContext, s2 = e3.configureObj, o2 = s2.props.base, a2 = i(o2.templateFiles, n2, s2);
77
+ let r2, c2;
78
+ a2 && a2.length > 0 && (r2 = a2[0].templateUuid, c2 = a2[0].templateName);
79
+ const l2 = n2.systemCode, u2 = n2.backendUrl, f2 = c2;
80
+ let g2 = "?1=1";
81
+ r2 && f2 && "undefined" !== r2 && "undefined" !== f2 && "null" !== r2 && "null" !== f2 ? g2 += "&fileName=" + encodeURI(r2) + "&showName=" + encodeURI(f2) : f2 ? g2 += "&showName=" + encodeURI(f2) : n2.label && (g2 += "&showName=" + encodeURI(n2.label) + ".xlsx");
82
+ const C2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting;
83
+ C2 && (g2 += "&logSettingText=" + C2.join(""));
84
+ l2 && (g2 += "&systemCode=" + l2);
85
+ const b2 = e3.listCode;
86
+ b2 && (g2 += "&listCode=" + b2);
87
+ n2.beanName && (g2 += "&beanName=" + n2.beanName);
88
+ const w2 = I(s2, n2);
89
+ w2 && (g2 += "&functionCode=" + w2);
90
+ n2.tableName && (g2 += "&tableName=" + n2.tableName);
91
+ n2.code && (g2 += "&pageCode=" + n2.code);
92
+ n2.version && (g2 += "&pageVersion=" + n2.version);
93
+ const T2 = m();
94
+ T2 && (g2 += "&JWT=" + T2);
95
+ const k2 = (_c = (_b = s2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
96
+ k2 && (g2 += "&currentOperation=" + encodeURI(k2));
97
+ g2 += "&isMobile=" + p();
98
+ const h2 = "_RUN_CURRENT_ROLE", y2 = d(h2);
99
+ y2 && (g2 += "&" + h2 + "=" + y2);
100
+ if (o2) {
101
+ g2 += "&isPermission=" + (void 0 === o2.isPermission || "true" === o2.isPermission || o2.isPermission);
102
+ }
103
+ const P2 = t(u2, n2.isTest);
104
+ window.open(P2 + "/dsc/commons/download-files" + g2);
105
+ }(e2);
106
+ }, import: function(e2) {
107
+ const t2 = e2.pageContext.code + "_";
108
+ k.$emit(t2 + "import-file", e2);
109
+ }, export: function(e2) {
110
+ return function(e3) {
111
+ return new Promise((t2, n2) => {
112
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
113
+ const s2 = e3.pageContext, o2 = e3.configureObj, i2 = o2.props.base, a2 = e3.listCode, r2 = e3.selections, c2 = {};
114
+ r2 && r2.length > 0 && (c2.data = r2);
115
+ let l2 = s2.label;
116
+ l2 || (l2 = s2.code);
117
+ let u2 = false;
118
+ u2 = void 0 !== i2.isAsync && null !== i2.isAsync && i2.isAsync;
119
+ const p2 = void 0 === i2.isPermission || "true" === i2.isPermission || i2.isPermission, m2 = I(o2, s2), d2 = l2, f2 = { backendUrl: s2.backendUrl, pageContext: s2 }, g2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
120
+ g2 && (f2.currentOperation = g2), f2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e2 = o2.props) == null ? void 0 : _e2.watermark) == null ? void 0 : _f.isShowWatermark) + "", f2.watermarkContent = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "", window.$vueApp.config.globalProperties.$exportDataNew(c2, d2, a2, m2, null, f2, u2, s2.code, p2), u2 && setTimeout(() => {
121
+ _e(s2);
122
+ }, 100);
123
+ });
124
+ }(e2);
125
+ }, search: function(e2) {
126
+ const t2 = e2.pageContext, n2 = e2.tableUuid;
127
+ T(t2, n2).refresh();
128
+ }, showSearch: function(e2) {
129
+ const t2 = e2.pageContext, n2 = e2.tableUuid;
130
+ T(t2, n2).showMobileSearch();
131
+ }, workflowSave: function(e2) {
132
+ return k.$emit("clearTableAllStartEditing"), async function(e3) {
133
+ return new Promise((s2, o2) => {
134
+ const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, c2 = i2.backendUrl;
135
+ let p2 = t(c2, i2.isTest) + "/dsc/workflow-commons";
136
+ if (p2 = n(p2, r2, c2, i2.isTest), !p2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
137
+ const m2 = re(e3);
138
+ let d2;
139
+ d2 = a2.id || a2.ID ? u.put(p2, m2) : u.post(p2, m2), d2.then((t2) => {
140
+ let n2 = true;
141
+ t2 && (n2 = ce(t2, false, i2, e3, null)), true === n2 && C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSave") }), k.$emit("clearTableAllEndEditing"), s2(true);
142
+ }).catch((e4) => {
143
+ o2(e4);
144
+ });
145
+ });
146
+ }(e2);
147
+ }, workflowStart: function(e2) {
148
+ return k.$emit("clearTableAllStartEditing"), async function(e3) {
149
+ return new Promise((s2, o2) => {
150
+ const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, c2 = i2.backendUrl;
151
+ let p2 = t(c2, i2.isTest) + "/dsc/workflow-commons/start";
152
+ if (p2 = n(p2, r2, c2, i2.isTest), !p2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
153
+ const m2 = re(e3);
154
+ let d2;
155
+ a2.workflow_id || a2.WORKFLOW_ID ? (p2 = t(c2, i2.isTest) + "/dsc/workflow-commons", p2 = n(p2, r2, c2, i2.isTest), d2 = u.put(p2, m2)) : d2 = u.post(p2, m2), d2.then((t2) => {
156
+ let n2 = true;
157
+ t2 && (n2 = ce(t2, false, i2, e3, null)), true === n2 && C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulStart") }), k.$emit("clearTableAllEndEditing"), s2(true);
158
+ }).catch((e4) => {
159
+ o2(e4);
160
+ });
161
+ });
162
+ }(e2);
163
+ }, submitProcess: function(e2) {
164
+ return k.$emit("clearTableAllStartEditing"), function(e3) {
165
+ return new Promise((s2, o2) => {
166
+ const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
167
+ let c2 = t(r2, i2.isTest) + "/dsc/workflow-commons/submit";
168
+ if (c2 = n(c2, a2, r2, i2.isTest), !c2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
169
+ const p2 = re(e3), m2 = u.post(c2, p2);
170
+ m2 && m2.then((t2) => {
171
+ let n2 = true;
172
+ t2 && (n2 = ce(t2, false, i2, e3, null)), true === n2 && C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulSubmit") }), k.$emit("clearTableAllEndEditing"), s2(true);
173
+ }).catch((e4) => {
174
+ o2(e4);
175
+ });
176
+ });
177
+ }(e2);
178
+ }, submitTask: function(e2) {
179
+ return le(e2, "SUBMIT");
180
+ }, approve: function(e2) {
181
+ return le(e2, "APPROVE");
182
+ }, refuse: function(e2) {
183
+ return le(e2, "REFUSE");
184
+ }, readed: function(e2) {
185
+ return le(e2, "READED");
186
+ }, agreement: function(e2) {
187
+ return le(e2, "AGREEMENT");
188
+ }, oppose: function(e2) {
189
+ return le(e2, "OPPOSE");
190
+ }, kiken: function(e2) {
191
+ return le(e2, "KIKEN");
192
+ }, assign: function(e2) {
193
+ return function(e3) {
194
+ const t2 = e3.pageContext, n2 = t2.code + "_";
195
+ k.$emit(n2 + "assign-task", e3);
196
+ }(e2);
197
+ }, copyTask: function(e2) {
198
+ return function(e3) {
199
+ const t2 = e3.pageContext, n2 = t2.code + "_";
200
+ k.$emit(n2 + "copy-task", e3);
201
+ }(e2);
202
+ }, addSigner: function(e2) {
203
+ return function(e3) {
204
+ const t2 = e3.pageContext, n2 = t2.code + "_";
205
+ k.$emit(n2 + "add-signer", e3);
206
+ }(e2);
207
+ }, drawTask: function(e2) {
208
+ return function(e3) {
209
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = re(e3);
210
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
211
+ }(e2);
212
+ }, abandonReceive: function(e2) {
213
+ return function(e3) {
214
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = re(e3);
215
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
216
+ }(e2);
217
+ }, returnToPreviousTask: function(e2) {
218
+ return function(e3) {
219
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = re(e3);
220
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
221
+ }(e2);
222
+ }, endInstance: function(e2) {
223
+ return function(e3) {
224
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/end-instance", i2 = re(e3);
225
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
226
+ }(e2);
227
+ }, returnTaskTo: function(e2) {
228
+ return function(e3) {
229
+ const t2 = e3.pageContext, n2 = t2.code + "_";
230
+ k.$emit(n2 + "choose-return-node", e3);
231
+ }(e2);
232
+ }, removeSigner: function(e2) {
233
+ return function(e3) {
234
+ const t2 = e3.pageContext, n2 = t2.code + "_";
235
+ k.$emit(n2 + "remove-signer", e3);
236
+ }(e2);
237
+ }, retrieveTask: function(e2) {
238
+ return function(e3) {
239
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/retrieves", i2 = re(e3);
240
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
241
+ }(e2);
242
+ }, extractWorkflow: function(e2) {
243
+ return Se(e2);
244
+ }, extractWorkflowEvent: function(e2) {
245
+ return function(e3) {
246
+ const t2 = e3.pageContext;
247
+ k.$emit(t2.code + "_event-call-component", { componentName: "extract-workflow-dialog", componentProps: { pageContext: e3.pageContext, configure: e3.configureObj } });
248
+ }(e2);
249
+ }, cancelExtractWorkflow: function(e2) {
250
+ return function(e3) {
251
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/cancel-extract", i2 = re(e3);
252
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulCancelExtract");
253
+ }(e2);
254
+ }, approveExtractWorkflow: function(e2) {
255
+ return function(e3) {
256
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/approve-extract", i2 = re(e3);
257
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
258
+ }(e2);
259
+ }, refuseExtractWorkflow: function(e2) {
260
+ return function(e3) {
261
+ const n2 = e3.pageContext, s2 = n2.backendUrl, o2 = t(s2, n2.isTest) + "/dsc/workflow-commons/refuse-extract", i2 = re(e3);
262
+ return we(e3, i2, o2, "superPageRuntimeMessage.successfulOperation");
263
+ }(e2);
264
+ }, viewDetail: function(e2) {
265
+ }, lineEditCreate: function(e2) {
266
+ return function(e3) {
267
+ const t2 = e3.pageContext, n2 = e3.tableUuid, s2 = T(t2, n2);
268
+ s2 && (e3.getDefaultValueFunc = R, s2.createRow(e3.listCode, {}, e3));
269
+ }(e2);
270
+ }, printLabel: function(e2) {
271
+ return function(e3) {
272
+ let t2 = null;
273
+ try {
274
+ if (t2 = e3.menuItem ? e3.menuItem.templateUuid : e3.configureObj.props.base.template[0].templateUuid, !t2) throw new Error("未找到模板");
275
+ } catch (t3) {
276
+ console.error("打印标签失败,未在配置中找到找到模板", t3, e3);
277
+ }
278
+ E.printLabel(e3, t2);
279
+ }(e2);
280
+ }, queryCharts: function(e2) {
281
+ q(e2);
282
+ }, resetCharts: function(t2) {
283
+ var _a, _b;
284
+ const n2 = t2.pageContext;
285
+ Object.assign(n2.entity.data, e((_a = n2.initChartData) == null ? void 0 : _a.data)), Object.assign(n2.entity.page, e((_b = n2.initChartData) == null ? void 0 : _b.page)), t2.isInitChart = true, q(t2);
286
+ }, exportCharts: function(e2) {
287
+ !function(e3) {
288
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
289
+ const n2 = e3.pageContext, s2 = n2.allChartUuids;
290
+ if (!s2 || 0 == s2.length) return;
291
+ const o2 = e3.configureObj;
292
+ let i2 = null;
293
+ o2 && o2.runtime && (i2 = o2.runtime.props);
294
+ const a2 = i2 ? i2.state : void 0;
295
+ i2 && (i2.state = "disabled");
296
+ const r2 = [];
297
+ for (let e4 = 0; e4 < s2.length; e4++) {
298
+ const t2 = s2[e4], o3 = T(n2, t2);
299
+ if (o3) {
300
+ const e5 = o3.getConfigure();
301
+ e5 && e5.exportable && e5._dynamicShowFlag && o3.exportChart && r2.push(o3.exportChart());
302
+ }
303
+ }
304
+ if (!r2 || 0 == r2.length) return;
305
+ let c2, l2 = n2.label;
306
+ l2 || (l2 = n2.code);
307
+ c2 = l2;
308
+ const u2 = { reportDataList: r2, beanName: n2.beanName, systemCode: n2.systemCode, pageCode: n2.code }, m2 = fe(n2);
309
+ u2.additionalParamMap = m2;
310
+ const d2 = (_b = (_a = o2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
311
+ d2 && (u2.currentOperation = d2);
312
+ u2.isMobile = p(), u2.isShowWatermark = void 0 === ((_d = (_c = o2.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.isShowWatermark) ? "true" : ((_f = (_e2 = o2.props) == null ? void 0 : _e2.watermark) == null ? void 0 : _f.isShowWatermark) + "", u2.watermark = ((_h = (_g = o2.props) == null ? void 0 : _g.watermark) == null ? void 0 : _h.content) && ((_j = (_i = o2.props) == null ? void 0 : _i.watermark) == null ? void 0 : _j.content.length) > 0 ? (_l = (_k = o2.props) == null ? void 0 : _k.watermark) == null ? void 0 : _l.content.join("-~") : "";
313
+ const f2 = n2.backendUrl, g2 = t(f2, n2.isTest) + "/dsc/commons/exportChart";
314
+ G();
315
+ h.post(g2, u2, { responseType: "blob" }).then((e4) => {
316
+ const t2 = document.createElement("a");
317
+ t2.style.display = "none", t2.href = URL.createObjectURL(e4.data), t2.setAttribute("download", c2 + ".xlsx"), document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
318
+ }).finally(() => {
319
+ i2 && (i2.state = a2);
320
+ });
321
+ }(e2);
322
+ }, saveQueryCharts: function(e2) {
323
+ !function(e3) {
324
+ const t2 = e3.pageContext, n2 = e3.configureObj, s2 = t2.code + "_";
325
+ k.$emit(s2 + "save-chart-condition", { pageContext: t2, configureObj: n2 });
326
+ }(e2);
327
+ }, addTransactor: function(e2) {
328
+ return function(e3) {
329
+ const t2 = e3.pageContext, n2 = t2.code + "_";
330
+ k.$emit(n2 + "add-transactor", e3);
331
+ }(e2);
332
+ }, removeTransactor: function(e2) {
333
+ return function(e3) {
334
+ const t2 = e3.pageContext, n2 = t2.code + "_";
335
+ k.$emit(n2 + "remove-transactor", e3);
336
+ }(e2);
337
+ } };
338
+ function q(e2) {
339
+ const t2 = e2.pageContext, n2 = t2.initChartServiceConfigs;
340
+ if (!n2 || 0 == n2.length) return;
341
+ const s2 = e2.configureObj;
342
+ let o2 = null;
343
+ s2 && s2.runtime && (o2 = s2.runtime.props);
344
+ const i2 = o2 ? o2.state : void 0;
345
+ o2 && (o2.state = "disabled"), x(t2, n2, void 0, e2.isInitChart).then(() => {
346
+ o2 && (o2.state = i2);
347
+ }).catch(() => {
348
+ o2 && (o2.state = i2);
349
+ });
350
+ }
351
+ function H(e2, n2, o2, i2) {
352
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m;
353
+ e2.clickUuid = n2.uuid, e2.canClick = false;
354
+ const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, l2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting, u2 = s(e2), m2 = e2.beanName, d2 = n2.props.base, f2 = n2.tableName ? n2.tableName : e2.tableName, g2 = e2.backendUrl, C2 = L.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, w2 = { entity: C2, fileName: a2, showName: r2, beanName: m2, isWorkflowForm: u2, functionCode: I(n2, e2), tableName: f2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
355
+ l2 && (w2.logSettingText = l2.join(""));
356
+ const T2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
357
+ T2 && (w2.currentOperation = T2), w2.isMobile = p();
358
+ const k2 = fe(e2);
359
+ let y2;
360
+ w2.additionalParamMap = k2, w2.isShowWatermark = void 0 === ((_e2 = (_d = n2.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e2.isShowWatermark) ? "true" : ((_g = (_f = n2.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.isShowWatermark) + "", w2.watermark = ((_i = (_h = n2.props) == null ? void 0 : _h.watermark) == null ? void 0 : _i.content) && ((_k = (_j = n2.props) == null ? void 0 : _j.watermark) == null ? void 0 : _k.content.length) > 0 ? (_m = (_l = n2.props) == null ? void 0 : _l.watermark) == null ? void 0 : _m.content.join("-~") : "", y2 = i2 ? function(e3, n3, s2, o3) {
361
+ return new Promise((i3, a3) => {
362
+ const r3 = t(n3, o3) + "/dsc/commons/export-pdf";
363
+ G();
364
+ const c3 = h.post(r3, s2, { headers: { "content-type": "application/json" }, responseType: "blob" });
365
+ window.$message.info("正在导出中..."), c3.then((t2) => {
366
+ const n4 = new Blob([t2.data]), s3 = document.createElement("a");
367
+ s3.download = e3.substring(0, e3.lastIndexOf(".")) + ".pdf", s3.style.display = "none", s3.target = "_blank", s3.href = URL.createObjectURL(n4), document.body.appendChild(s3), s3.click(), URL.revokeObjectURL(s3.href), document.body.removeChild(s3), i3(true);
368
+ }).catch((e4) => {
369
+ a3(e4);
370
+ });
371
+ });
372
+ }(r2, g2, w2, e2.isTest) : function(e3, n3, s2, o3) {
373
+ return new Promise((i3, a3) => {
374
+ const r3 = t(n3, o3) + "/dsc/commons/export-reports";
375
+ G();
376
+ h.post(r3, s2, { responseType: "blob" }).then((t2) => {
377
+ const n4 = new Blob([t2.data]);
378
+ let s3 = "报告.xlsx";
379
+ e3 && (s3 = e3);
380
+ const o4 = document.createElement("a");
381
+ o4.download = s3, o4.style.display = "none", o4.target = "_blank", o4.href = URL.createObjectURL(n4), document.body.appendChild(o4), o4.click(), URL.revokeObjectURL(o4.href), document.body.removeChild(o4), i3(true);
382
+ }).catch((e4) => {
383
+ a3(e4);
384
+ });
385
+ });
386
+ }(r2, g2, w2, e2.isTest), y2 && y2.then(() => {
387
+ v(e2, n2);
388
+ }).catch((t2) => {
389
+ window.$message.error("导出失败..."), v(e2, n2);
390
+ });
391
+ }
392
+ function G() {
393
+ h.defaults.headers.common.Authorization = m();
394
+ const e2 = g();
395
+ if (e2) {
396
+ const t2 = "_RUN_CURRENT_ROLE";
397
+ h.defaults.headers.common[t2] = e2;
398
+ }
399
+ }
400
+ function J(e2, t2) {
401
+ return new Promise((n2, s2) => {
402
+ const o2 = e2.pageContext, i2 = e2.configureObj, a2 = e2.mainDefaultValueColumns, r2 = e2.dynamicColumnInfo, c2 = i2.props.base.successOperation;
403
+ let l2 = false;
404
+ c2 && "noOperation" === c2 && (l2 = true);
405
+ const u2 = K(o2, i2, "/dsc/commons", l2, a2, r2);
406
+ u2 ? u2.then((e3) => {
407
+ X(o2, i2, e3, "superPageRuntimeMessage.successfulSave", t2), n2(e3);
408
+ }).catch((e3) => {
409
+ s2(e3);
410
+ }) : s2("保存时request不存在");
411
+ });
412
+ }
413
+ function Y(e2, t2, n2, i2, a2, r2, c2) {
414
+ var _a, _b, _c;
415
+ const l2 = s(e2), u2 = e2.systemCode, m2 = void 0 === t2.props.base.isPermission || "true" === t2.props.base.isPermission || t2.props.base.isPermission, d2 = I(t2, e2);
416
+ let f2 = c2;
417
+ f2 || (f2 = e2.entity.data);
418
+ const g2 = { entity: f2, tableName: e2.tableName, formNoRuleCode: e2.formNoRuleCode, isWorkflowEntity: l2, functionCode: d2, isPermission: m2 + "", listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version, listCodesInitSearchForm: e2.listCodesInitSearchForm };
419
+ r2 && (g2.ids = r2), e2.judgeHeavyList && (o(e2.judgeHeavyList) ? g2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : g2.judgeHeavyList = e2.judgeHeavyList);
420
+ const C2 = t2.props.base.conversionCodes;
421
+ C2 && (o(C2) ? g2.dataConversionRule = C2.join(",") : "string" == typeof C2 && (g2.dataConversionRule = C2));
422
+ const b2 = Oe(t2);
423
+ b2 && (g2.autoSetValueData = b2);
424
+ const w2 = (_a = t2.props.base) == null ? void 0 : _a.logSetting;
425
+ w2 && (g2.logSettingText = w2.join("")), g2.systemCode || (g2.systemCode = u2);
426
+ const T2 = e2.beanName;
427
+ T2 && (g2.beanName = T2), a2 && (g2.dynamicColumnInfo = a2), i2 && (g2.mainDefaultValueColumns = i2);
428
+ const k2 = fe(e2);
429
+ g2.additionalParamMap = k2, void 0 !== n2 && (g2.unControlVersion = n2);
430
+ const h2 = (_c = (_b = t2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
431
+ return h2 && (g2.currentOperation = h2), g2.isMobile = p(), g2;
432
+ }
433
+ function z(e2, s2, o2, i2, a2, r2, c2, l2) {
434
+ const p2 = e2.systemCode, m2 = e2.backendUrl, d2 = Y(e2, s2, i2, a2, r2, null, c2);
435
+ return l2 && l2.tableName && (d2.tableName = l2.tableName), function(e3, s3, o3, i3, a3, r3) {
436
+ const c3 = t(s3, r3);
437
+ let l3, p3 = c3 + i3;
438
+ p3 = n(p3, e3, s3, r3), l3 = a3 && (a3.id || a3.ID) ? u.put(p3, o3) : u.post(p3, o3);
439
+ return l3;
440
+ }(p2, m2, d2, o2, e2.entity.data, e2.isTest);
441
+ }
442
+ function K(e2, t2, n2, s2, o2, i2) {
443
+ return z(e2, t2, n2, s2, o2, i2, null, null);
444
+ }
445
+ function X(t2, n2, s2, o2, i2) {
446
+ const a2 = Q(t2, n2, i2);
447
+ if (a2 && "list" === a2) !function(t3, n3, s3, o3) {
448
+ let i3 = n3.props.base.successOperation;
449
+ const a3 = n3.props.base.isNeedValueMapping, r2 = P(t3, n3);
450
+ i3 || ne.includes(n3.name) || (i3 = "refresh");
451
+ if ("refresh" === i3) if (r2) {
452
+ T(t3, r2).refresh();
453
+ } else console.error("tableUuid is empty");
454
+ else if ("closeWindow" === i3 || "closeWindowAndRefresh" === i3) {
455
+ const o4 = e(t3.entity.page);
456
+ let i4 = s3;
457
+ i4 || (i4 = {}), Object.assign(o4, i4), ee(t3, n3, o4, a3);
458
+ }
459
+ o3 && C({ message: l().t(o3), type: "success", showClose: true });
460
+ }(t2, n2, s2, o2), t2.canClick = true;
461
+ else if (a2 && "form" === a2) !function(e2, t3, n3, s3) {
462
+ if (n3) {
463
+ const s4 = n3;
464
+ let o3;
465
+ o3 = s4.entity ? s4.entity : s4, s4.formNo && (e2.initFormNo = s4.formNo);
466
+ Z(e2, t3, { ...o3, ...e2.entity.page });
467
+ } else {
468
+ const n4 = t3.props.base.successOperation;
469
+ if (n4 && null !== n4) {
470
+ Z(e2, t3, { ...e2.entity.page });
471
+ } else e2.canClick = true;
472
+ }
473
+ s3 && C({ message: l().t(s3), type: "success", showClose: true });
474
+ }(t2, n2, s2, o2);
475
+ else {
476
+ const e2 = n2.props.base.successOperation;
477
+ e2 && null !== e2 ? Z(t2, n2, null) : t2.canClick = true;
478
+ }
479
+ }
480
+ function Q(e2, t2, n2) {
481
+ let s2;
482
+ return void 0 === n2 ? s2 = t2.props.base.tableUuid ? "list" : null : false === n2 && (s2 = "form"), s2 || (s2 = e2.pageType), s2;
483
+ }
484
+ function Z(e2, t2, n2) {
485
+ const s2 = t2.props.base.successOperation;
486
+ if (!s2 || null === s2) return;
487
+ const o2 = t2.props.base.isNeedValueMapping;
488
+ "noOperation" === s2 ? e2.canClick = true : "refresh" === s2 ? n2 && (n2.id || n2.ID) ? Me(e2, n2.ID ? n2.ID : n2.id) : e2.canClick = true : "closeWindow" !== s2 && "closeWindowAndRefresh" !== s2 || (ee(e2, t2, n2, o2), e2.canClick = true);
489
+ }
490
+ function ee(e2, t2, n2, s2) {
491
+ const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
492
+ if ("openWindow" === o2 || "newTab" === o2) window.parent ? window.parent.close() : window.close();
493
+ else {
494
+ const i2 = e2.tableName, a2 = void 0 !== s2 && true === s2 && n2 && void 0 !== n2, r2 = (e2.entity && e2.entity.request ? e2.entity.request.parentPageCode : null) + "_";
495
+ k.$emit(r2 + "close-dialog", { isNeedValueMapping: a2, dataModel: n2, sourceConfigureObj: t2, sourceTableName: i2, jumpMode: o2 });
496
+ }
497
+ }
498
+ function te(e2, t2, n2, s2, o2) {
499
+ var _a;
500
+ o2 || (o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
501
+ const i2 = e2.tableName;
502
+ !function(e3, t3, n3) {
503
+ if (e3 && null !== e3 && t3) {
504
+ let s3 = e3;
505
+ Array.isArray(e3) && e3.length > 0 && (s3 = e3[0]), t3.forEach((e4) => {
506
+ const t4 = e4.source;
507
+ if (!t4) return;
508
+ const o3 = t4.split("."), i3 = O(s3, o3), a2 = e4.target, r2 = M(null, a2);
509
+ A(n3.entity, r2, i3);
510
+ });
511
+ }
512
+ }(n2, o2, e2), y(null, e2, t2, "setValue", { sourceModel: n2, sourceTableName: s2, entity: e2.entity.data, targetTableName: i2 });
513
+ }
514
+ const ne = ["dropdown"];
515
+ function se(e2, t2, n2, s2) {
516
+ var _a;
517
+ t2 && !t2.props.base && (t2.props.base = {});
518
+ let o2 = s2;
519
+ o2 || (o2 = n2 ? "refresh" : (_a = t2.props.base) == null ? void 0 : _a.successOperation);
520
+ const i2 = Q(e2, t2);
521
+ if (i2 && "list" === i2 && !o2 && (o2 = "refresh"), "refresh" === o2) {
522
+ if (i2 && "list" === i2) {
523
+ const n3 = P(e2, t2);
524
+ if (n3) {
525
+ T(e2, n3).refresh();
526
+ } else console.error("tableUuid is empty");
527
+ } else if (i2 && "form" === i2) {
528
+ const t3 = e2.entity.data;
529
+ Me(e2, t3.ID ? t3.ID : t3.id);
530
+ }
531
+ }
532
+ }
533
+ function oe(e2, s2, o2, i2) {
534
+ return new Promise((r2, c2) => {
535
+ const p2 = e2.pageContext, m2 = e2.configureObj, d2 = e2.mainDefaultValueColumns, f2 = e2.dynamicColumnInfo, g2 = e2.ids, C2 = m2.props.base.successOperation;
536
+ let w2 = false;
537
+ C2 && "noOperation" === C2 && (w2 = true);
538
+ let T2 = p2.tableName;
539
+ if (s2) {
540
+ const t2 = m2.props.base.tableUuid ? m2.props.base.tableUuid : e2.tableUuid;
541
+ T2 = U(p2, t2);
542
+ }
543
+ const k2 = function(e3, s3, o3, i3, r3, c3, p3, m3, d3) {
544
+ return new Promise((f3, g3) => {
545
+ const C3 = s3.props.base.title, w3 = "superPageRuntimeMessage.whetherToConfirm" + a(p3);
546
+ b.confirm(l().t(w3, { name: C3 }), l().t("superPageRuntimeMessage.tips"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), type: "warning" }).then(() => {
547
+ const a2 = e3.systemCode, l2 = e3.backendUrl, p4 = Y(e3, s3, i3, r3, c3, m3, null);
548
+ p4.tableName = d3;
549
+ let C4 = t(l2, e3.isTest) + o3;
550
+ C4 = n(C4, a2, l2, e3.isTest), u.post(C4, p4).then((e4) => {
551
+ f3(e4);
552
+ }).catch((e4) => {
553
+ g3(e4);
554
+ });
555
+ }).catch(() => {
556
+ g3("点击了取消按钮");
557
+ });
558
+ });
559
+ }(p2, m2, i2, w2, d2, f2, o2, g2, T2);
560
+ k2 ? k2.then((e3) => {
561
+ X(p2, m2, e3, "superPageRuntimeMessage.successfulSave", s2), r2(e3);
562
+ }).catch((e3) => {
563
+ c2(e3);
564
+ }) : c2("request不存在");
565
+ });
566
+ }
567
+ function ie(e2, o2) {
568
+ var _a, _b, _c;
569
+ const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, c2 = a2.props.base, m2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, d2 = U(i2, m2), f2 = new FormData();
570
+ f2.append("multipartFile", o2), d2 && f2.append("tableName", d2);
571
+ const g2 = (_b = (_a = a2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
572
+ g2 && f2.append("currentOperation", g2), f2.append("isMobile", p()), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
573
+ const b2 = (_c = r2.props.importSetting) == null ? void 0 : _c.listViewImportDuplicate;
574
+ b2 && f2.append("importDuplicateRule", b2);
575
+ const w2 = i2.judgeHeavyList;
576
+ w2 && f2.append("judgeHeavyList", JSON.stringify(w2));
577
+ const T2 = Oe(a2);
578
+ T2 && f2.append("autoSetValueData", T2);
579
+ const k2 = i2.formNoRuleCode;
580
+ k2 && f2.append("formNoRuleCode", k2);
581
+ const h2 = e2.listCode;
582
+ h2 && f2.append("listCode", h2);
583
+ let y2 = false;
584
+ y2 = void 0 !== c2.isAsync && null !== c2.isAsync && c2.isAsync, f2.append("isAsync", y2 + ""), f2.append("pageCode", i2.code);
585
+ const P2 = s(i2);
586
+ null != P2 && f2.append("isWorkflowEntity", P2 + "");
587
+ const S2 = I(a2, i2);
588
+ S2 && f2.append("functionCode", S2);
589
+ const R2 = fe(i2);
590
+ f2.append("additionalParamMapStr", JSON.stringify(R2));
591
+ const M2 = void 0 === c2.isPermission || "true" === c2.isPermission || c2.isPermission;
592
+ f2.append("isPermission", M2 + "");
593
+ const N2 = i2.systemCode;
594
+ N2 && f2.append("systemCode", N2);
595
+ const x2 = i2.backendUrl;
596
+ let O2 = t(x2, i2.isTest) + "/dsc/commons/import-data";
597
+ O2 = n(O2, N2, x2, i2.isTest), u.post(O2, f2).then((e3) => {
598
+ if (y2) C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.asyncImport") }), _e(i2);
599
+ else {
600
+ let t2 = false;
601
+ e3 ? (t2 = false, C({ dangerouslyUseHTMLString: true, showClose: true, type: "warning", message: e3 })) : (C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulImport") }), t2 = true), X(i2, a2, e3, null, true), i2.result = t2, v(i2, a2);
602
+ }
603
+ }).catch((e3) => {
604
+ });
605
+ }
606
+ function ae(e2, t2) {
607
+ const n2 = e2.props.base;
608
+ if (n2.conditionsForExecution && "" !== n2.conditionsForExecution) {
609
+ if ("one" === n2.conditionsForExecution) {
610
+ if (!t2 || 1 !== t2.length) return C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: l().t("superPageRuntimeMessage.onlyOneRecordCanBeselected") }) }), false;
611
+ } else if ("more" === n2.conditionsForExecution && (!t2 || t2.length <= 0)) return C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", { message: l().t("superPageRuntimeMessage.selectAtLeastOneRecord") }) }), false;
612
+ }
613
+ return true;
614
+ }
615
+ function re(e2) {
616
+ var _a, _b, _c;
617
+ const t2 = e2.pageContext, n2 = e2.configureObj, s2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
618
+ let r2 = I(n2, t2);
619
+ r2 || (r2 = a2 + ".xxx"), s2.id || s2.ID || (s2.PAGE_CODE = t2.code, s2.PAGE_VERSION = t2.version);
620
+ const c2 = { entity: s2, pageMoel: t2.entity.page, formNoRuleCode: t2.formNoRuleCode, tableName: t2.tableName, emailTemplateCode: t2.emailTemplateCode, definitionId: t2.definitionId, functionCode: r2, systemCode: i2, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
621
+ t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (o(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
622
+ const l2 = n2.props.base.conversionCodes;
623
+ l2 && (o(l2) ? c2.dataConversionRule = l2.join(",") : "string" == typeof l2 && (c2.dataConversionRule = l2));
624
+ const u2 = Oe(n2);
625
+ u2 && (c2.autoSetValueData = u2), t2.beanName && (c2.beanName = t2.beanName);
626
+ const m2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
627
+ m2 && (c2.logSettingText = m2.join("")), c2.systemCode || (c2.systemCode = i2);
628
+ const d2 = fe(t2);
629
+ c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids ? c2.ids = [d2.ids] : console.error("ids参数类型错误"));
630
+ const f2 = n2.props.base.successOperation;
631
+ f2 && "noOperation" === f2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true;
632
+ const g2 = (_c = (_b = n2.runtime) == null ? void 0 : _b.props) == null ? void 0 : _c.title;
633
+ return g2 && (c2.currentOperation = g2), c2.isMobile = p(), c2;
634
+ }
635
+ function ce(e2, t2, n2, s2, o2) {
636
+ const i2 = n2.code, a2 = n2.version;
637
+ let r2;
638
+ if (e2) {
639
+ t2 && (n2.initFormNo = e2.formNo, n2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (n2.entity.data = e2.entity, function(e3, t3) {
640
+ const n3 = fe(t3);
641
+ e3 && n3 && f(n3._t_ + "_id", e3);
642
+ }(e2.entity.id || e2.entity.ID, n2));
643
+ const o3 = e2.completeTaskResult;
644
+ if (o3) {
645
+ const e3 = o3.completeTaskTipType;
646
+ if (e3 && "MESSAGE" === e3) {
647
+ const e4 = o3.content;
648
+ return C({ showClose: true, type: "warning", message: e4 }), false;
649
+ }
650
+ }
651
+ if (e2.completeTaskParam) {
652
+ const t3 = e2.completeTaskParam;
653
+ r2 = t3.taskId, s2 && (s2.taskId = r2), S(i2, a2, "_completeTaskParam", t3), n2.fieldPermissions = t3.fieldPermissions, n2.actionPermissions = t3.actionPermissions, n2.workflowButtonComponent = t3.buttonComponent, n2.completeTaskParam = t3, n2.completeTaskParam.opinion = null;
654
+ }
655
+ n2.entity || (n2.entity = {}), n2.entity.task = e2.taskParamMap, S(i2, a2, "_currentActivityName", e2.taskName);
656
+ }
657
+ return s2 && (s2.operationResult = o2), t2 || X(n2, s2.configureObj, e2, null, false), true;
658
+ }
659
+ async function le(e2, s2) {
660
+ const o2 = await ue(e2);
661
+ return new Promise((i2, a2) => {
662
+ var _a;
663
+ if (o2) {
664
+ const r2 = e2.pageContext, c2 = r2.systemCode, p2 = r2.backendUrl, m2 = true === o2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : o2;
665
+ let d2 = t(p2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
666
+ if (d2 = n(d2, c2, p2, r2.isTest), !d2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
667
+ const f2 = re(e2);
668
+ f2.completeTaskParam = { operationResult: s2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
669
+ u.post(d2, f2).then((t2) => {
670
+ let n2 = true;
671
+ t2 && (n2 = ce(t2, false, r2, e2, s2)), true === n2 && C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
672
+ }).catch((e3) => {
673
+ a2(e3);
674
+ });
675
+ } else i2(true);
676
+ });
677
+ }
678
+ function ue(e2) {
679
+ return new Promise((t2, n2) => {
680
+ var _a, _b, _c, _d, _e2;
681
+ const s2 = e2.configureObj;
682
+ if (s2) {
683
+ if ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.opinion) return void t2(e2.pageContext.workflowOpinion.opinion);
684
+ let n3 = false;
685
+ if (((_c = (_b = s2.props) == null ? void 0 : _b.base) == null ? void 0 : _c.isMustOpinion) && (n3 = true), true === n3) {
686
+ const t3 = e2.pageContext, o2 = (_e2 = (_d = s2.props) == null ? void 0 : _d.base) == null ? void 0 : _e2.mustOpinionConditions;
687
+ n3 = N(t3, o2);
688
+ }
689
+ true === n3 ? (C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.pleaseInputOpinion") }), e2.pageContext.workflowOpinion.focusOpinionInput = true, t2(false)) : t2(true);
690
+ } else t2(true);
691
+ });
692
+ }
693
+ function pe(e2, n2) {
694
+ if (n2) {
695
+ const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = t(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = n2.id ? n2.id : n2.ID ? n2.ID : null, c2 = re(e2);
696
+ c2.assigneeId = r2, we(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
697
+ v(s2, o2);
698
+ });
699
+ }
700
+ }
701
+ function me(e2) {
702
+ var _a, _b;
703
+ const t2 = e2.pageContext, n2 = t2.entity.data, s2 = t2.systemCode, o2 = t2.code, i2 = e2.configureObj, a2 = fe(t2), r2 = void 0 !== n2.ID && null !== n2.ID ? n2.ID : n2.id, c2 = { beanName: t2.beanName, id: r2, entity: n2, additionalParamMap: a2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version, listCodesInitSearchForm: t2.listCodesInitSearchForm };
704
+ c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: s2 }, c2.completeTaskParam.customTaskTitle = de(e2);
705
+ const l2 = (_b = (_a = i2 == null ? void 0 : i2.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.title;
706
+ return l2 && (c2.currentOperation = l2), c2.isMobile = p(), c2;
707
+ }
708
+ function de(e2) {
709
+ var _a, _b, _c;
710
+ let t2 = null;
711
+ if (((_b = (_a = e2.configureObj.props.task) == null ? void 0 : _a.title) == null ? void 0 : _b.length) > 0) for (let n2 = 0; n2 < e2.configureObj.props.task.title.length; n2++) {
712
+ const s2 = e2.configureObj.props.task.title[n2];
713
+ if (s2.config) {
714
+ if (!(((_c = s2.conditions) == null ? void 0 : _c.length) > 0)) {
715
+ t2 = s2.config;
716
+ break;
717
+ }
718
+ if (N(e2.pageContext, s2.conditions)) {
719
+ t2 = s2.config;
720
+ break;
721
+ }
722
+ }
723
+ }
724
+ return t2;
725
+ }
726
+ function fe(t2) {
727
+ if (t2.entity) {
728
+ let n2 = e(t2.entity.page);
729
+ n2 || (n2 = {});
730
+ const s2 = t2.entity.request;
731
+ return s2 && Object.assign(n2, s2), n2;
732
+ }
733
+ }
734
+ function ge(e2, s2) {
735
+ if (s2) {
736
+ const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
737
+ let c2 = t(r2, o2.isTest) + "/dsc/workflow-commons/add-signers";
738
+ if (c2 = n(c2, a2, r2, o2.isTest), !c2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
739
+ const p2 = me(e2);
740
+ p2.completeTaskParam.transactors = s2.loginNames.join(",").split(",");
741
+ const m2 = u.post(c2, p2);
742
+ m2 && m2.then((e3) => {
743
+ C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && X(o2, i2, e3, null, false), v(o2, i2);
744
+ });
745
+ }
746
+ }
747
+ function Ce(e2, s2) {
748
+ if (s2) {
749
+ const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
750
+ let c2 = t(r2, o2.isTest) + "/dsc/workflow-commons/add-transactors";
751
+ if (c2 = n(c2, a2, r2, o2.isTest), !c2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
752
+ const p2 = me(e2);
753
+ p2.completeTaskParam.transactors = s2.loginNames.join(",").split(",");
754
+ const m2 = u.post(c2, p2);
755
+ m2 && m2.then((e3) => {
756
+ C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), e3.entity && X(o2, i2, e3, null, false), v(o2, i2);
757
+ });
758
+ }
759
+ }
760
+ async function be(e2, s2) {
761
+ if (s2) {
762
+ const o2 = await function(e3) {
763
+ return new Promise((t2, n2) => {
764
+ var _a, _b, _c, _d;
765
+ const s3 = e3.configureObj;
766
+ if (s3) {
767
+ let n3 = (_b = (_a = s3.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustRemark;
768
+ if (void 0 === n3 || true === n3) {
769
+ n3 = true;
770
+ const t3 = e3.pageContext, o3 = (_d = (_c = s3.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustRemarkConditions;
771
+ n3 = N(t3, o3);
772
+ }
773
+ true === n3 ? b.prompt(l().t("superPageRuntimeMessage.pleaseInputRemark"), l().t("superPageRuntimeMessage.remark"), { confirmButtonText: l().t("superPageRuntimeMessage.sure"), cancelButtonText: l().t("superPageRuntimeMessage.cancel"), inputType: "textarea", inputValue: null, closeOnClickModal: false, inputValidator: (e4) => !(!e4 || !e4.trim()) || l().t("superPageRuntimeMessage.pleaseInputRemark") }).then(({ value: e4 }) => {
774
+ t2(e4);
775
+ }).catch(() => {
776
+ t2(false);
777
+ }) : t2(true);
778
+ } else t2(true);
779
+ });
780
+ }(e2);
781
+ if (o2) {
782
+ const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, c2 = i2.backendUrl;
783
+ let p2 = t(c2, i2.isTest) + "/dsc/workflow-commons/copies";
784
+ if (p2 = n(p2, r2, c2, i2.isTest), !p2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
785
+ const m2 = me(e2);
786
+ m2.completeTaskParam.transactors = s2.loginNames.join(",").split(","), true !== o2 && (m2.completeTaskParam.remark = o2);
787
+ const d2 = u.post(p2, m2);
788
+ d2 && d2.then((e3) => {
789
+ C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulOperation") }), v(i2, a2);
790
+ });
791
+ }
792
+ }
793
+ }
794
+ async function we(e2, t2, s2, o2) {
795
+ const i2 = await ue(e2);
796
+ return new Promise((a2, r2) => {
797
+ var _a;
798
+ if (i2) {
799
+ const c2 = e2.pageContext, p2 = c2.systemCode, m2 = c2.backendUrl;
800
+ if (c2.completeTaskParam) {
801
+ const e3 = true === i2 ? (_a = c2.completeTaskParam) == null ? void 0 : _a.opinion : i2;
802
+ t2.completeTaskParam = { taskId: c2.completeTaskParam.taskId, opinion: e3 };
803
+ }
804
+ if (!(s2 = n(s2, p2, m2, c2.isTest))) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
805
+ const d2 = u.post(s2, t2);
806
+ d2 && d2.then((t3) => {
807
+ let n2 = true;
808
+ t3 && (n2 = ce(t3, false, c2, e2, null)), true === n2 && C({ showClose: true, type: "success", message: l().t(o2) }), a2(true);
809
+ }).catch((e3) => {
810
+ r2(e3);
811
+ });
812
+ } else a2(true);
813
+ });
814
+ }
815
+ function Te(e2) {
816
+ const s2 = e2.pageContext, o2 = s2.systemCode, i2 = s2.backendUrl, a2 = s2.completeTaskParam;
817
+ let r2 = t(i2, s2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
818
+ if (r2 = n(r2, o2, i2, s2.isTest), !r2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
819
+ const c2 = s2.code, p2 = fe(s2), m2 = { beanName: s2.beanName, additionalParamMap: p2, tableName: s2.tableName, functionCode: c2 + ".xxx", pageCode: s2.code };
820
+ return u.post(r2, m2);
821
+ }
822
+ function ke(e2, n2) {
823
+ const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = t(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = re(e2);
824
+ n2.nodeName && (r2.returnToNodeName = n2.nodeName), n2.nodeId && (r2.returnToNodeId = n2.nodeId), we(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
825
+ v(s2, o2);
826
+ });
827
+ }
828
+ function he(e2) {
829
+ const s2 = e2.pageContext, o2 = s2.systemCode, i2 = s2.backendUrl;
830
+ let a2 = t(i2, s2.isTest) + "/dsc/workflow-commons/get-remove-signers";
831
+ const r2 = re(e2);
832
+ if (a2 = n(a2, o2, i2, s2.isTest), a2) return u.post(a2, r2);
833
+ C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
834
+ }
835
+ function ye(e2, s2) {
836
+ if (s2) {
837
+ const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
838
+ let c2 = t(r2, o2.isTest) + "/dsc/workflow-commons/remove-signers";
839
+ if (c2 = n(c2, a2, r2, o2.isTest), !c2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
840
+ const p2 = s2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = re(e2);
841
+ m2.ids = p2;
842
+ const d2 = u.post(c2, m2);
843
+ d2 && d2.then((e3) => {
844
+ X(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), v(o2, i2);
845
+ });
846
+ }
847
+ }
848
+ function Pe(e2) {
849
+ const s2 = e2.pageContext, o2 = s2.systemCode, i2 = s2.backendUrl;
850
+ let a2 = t(i2, s2.isTest) + "/dsc/workflow-commons/get-remove-transactors";
851
+ const r2 = re(e2);
852
+ if (a2 = n(a2, o2, i2, s2.isTest), a2) return u.post(a2, r2);
853
+ C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
854
+ }
855
+ function ve(e2, s2) {
856
+ if (s2) {
857
+ const o2 = e2.pageContext, i2 = e2.configureObj, a2 = o2.systemCode, r2 = o2.backendUrl;
858
+ let c2 = t(r2, o2.isTest) + "/dsc/workflow-commons/remove-transactors";
859
+ if (c2 = n(c2, a2, r2, o2.isTest), !c2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
860
+ const p2 = s2.map((e3) => e3.taskId), m2 = re(e2);
861
+ m2.ids = p2;
862
+ const d2 = u.post(c2, m2);
863
+ d2 && d2.then((e3) => {
864
+ X(o2, i2, e3, "superPageRuntimeMessage.successfulOperation", false), v(o2, i2);
865
+ });
866
+ }
867
+ }
868
+ function Se(e2) {
869
+ const s2 = e2.pageContext, o2 = s2.backendUrl;
870
+ let i2 = t(o2, s2.isTest) + "/dsc/workflow-commons/initiate-extract";
871
+ const a2 = re(e2);
872
+ if (s2.completeTaskParam) {
873
+ const t2 = [];
874
+ e2._value.loginName && t2.push(e2._value.loginName), a2.completeTaskParam = { taskId: s2.completeTaskParam.taskId, opinion: e2._value.opinion, transactors: t2, customTaskTitle: de(e2) };
875
+ }
876
+ return new Promise((t2, s3) => {
877
+ const o3 = e2.pageContext, r2 = o3.systemCode, c2 = o3.backendUrl;
878
+ if (i2 = n(i2, r2, c2, o3.isTest), !i2) return void C({ showClose: true, type: "warning", message: l().t("superPageRuntimeMessage.requestPathEmpty") });
879
+ const p2 = u.post(i2, a2);
880
+ p2 && p2.then((n2) => {
881
+ let s4 = true;
882
+ n2 && (s4 = ce(n2, false, o3, e2, null)), true === s4 && C({ showClose: true, type: "success", message: l().t("superPageRuntimeMessage.successfulInitiateExtract") }), t2(true);
883
+ }).catch((e3) => {
884
+ s3(e3);
885
+ });
886
+ });
887
+ }
888
+ function Ie(e2, t2, n2, s2, o2, i2) {
889
+ var _a, _b, _c, _d;
890
+ let a2 = false;
891
+ t2 && n2 && ("workflowSave" === t2 ? a2 = function(e3) {
892
+ if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && true === e3.theTransactor) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
893
+ if (e3.processState && "SUBMIT" === e3.processState && true === e3.theTransactor && "TYPE_READ" !== e3.processingMode && e3.showButtonSave && ("WAIT_TRANSACT" === e3.active || "WAIT_DESIGNATE_TRANSACTOR" === e3.active || "WAIT_CHOICE_TACHE" === e3.active || "DRAW_WAIT" === e3.active)) return true;
894
+ return false;
895
+ }(n2) : "workflowStart" === t2 ? a2 = function(e3, t3) {
896
+ if (void 0 === e3.processState || null === e3.processState || t3 && !t3.workflow_id && !t3.WORKFLOW_ID) return true;
897
+ return false;
898
+ }(n2, i2) : "submitProcess" === t2 ? a2 = function(e3) {
899
+ if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && true === e3.theTransactor) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
900
+ return false;
901
+ }(n2) : "submitTask" === t2 ? a2 = function(e3) {
902
+ if (e3.processState && "SUBMIT" === e3.processState && true === e3.theTransactor && "WAIT_TRANSACT" === e3.active && "EDIT" === e3.processingMode) return true;
903
+ return false;
904
+ }(n2) : "drawTask" === t2 ? a2 = function(e3) {
905
+ if (e3.processState && "SUBMIT" === e3.processState && e3.active && ("DRAW_WAIT" === e3.active || "DEPT_DRAW_WAIT" === e3.active) && e3.showButtonDraw) return true;
906
+ return false;
907
+ }(n2) : "abandonReceive" === t2 ? a2 = function(e3) {
908
+ if (e3.processState && "SUBMIT" === e3.processState && (e3.drawTask && "WAIT_TRANSACT" === e3.active || e3.canAbandonDeptTask && "WAIT_TRANSACT" === e3.active) && e3.showButtonAbandon) return true;
909
+ return false;
910
+ }(n2) : "approve" === t2 || "refuse" === t2 ? a2 = function(e3) {
911
+ if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && ("APPROVE" === e3.processingMode || "COUNTERSIGN" === e3.processingMode)) return true;
912
+ return false;
913
+ }(n2) : "readed" === t2 ? a2 = function(e3) {
914
+ if ("WAIT_TRANSACT" === e3.active && "TYPE_READ" === e3.processingMode) return true;
915
+ return false;
916
+ }(n2) : "assign" === t2 ? a2 = function(e3) {
917
+ if (e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active)) return true;
918
+ return false;
919
+ }(n2) : "copyTask" === t2 ? a2 = function(e3, t3) {
920
+ let n3 = false;
921
+ e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "TYPE_READ" !== e3.processingMode && e3.showButtonCopy && (n3 = true);
922
+ t3 && (t3.props.base.state = n3 ? "" : "hidden");
923
+ return true;
924
+ }(n2, o2) : "addSigner" === t2 ? a2 = function(e3) {
925
+ if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonAddCounter) return true;
926
+ return false;
927
+ }(n2) : "removeSigner" === t2 ? a2 = function(e3) {
928
+ if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "COUNTERSIGN" === e3.processingMode && e3.showButtonDelCounter) return true;
929
+ return false;
930
+ }(n2) : "retrieveTask" === t2 ? a2 = function(e3) {
931
+ if (e3.processState && "END" !== e3.processState && "SUBMIT" === e3.processState && true === e3.showButtonGetBack && function(e4) {
932
+ if ("COMPLETED" !== e4.active) return false;
933
+ if ("TYPE_READ" === e4.processingMode) return false;
934
+ if (!e4.showButtonGetBack) return false;
935
+ return true;
936
+ }(e3)) return true;
937
+ return false;
938
+ }(n2) : "agreement" === t2 || "oppose" === t2 ? a2 = function(e3) {
939
+ if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode) return true;
940
+ return false;
941
+ }(n2) : "kiken" === t2 ? a2 = function(e3) {
942
+ if (e3.processState && "SUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active && "VOTE" === e3.processingMode && e3.showButtonKiken) return true;
943
+ return false;
944
+ }(n2) : "extractWorkflow" === t2 ? a2 = function(e3, t3, n3) {
945
+ var _a2;
946
+ const s3 = c(), o3 = s3 ? s3.loginName : null;
947
+ if (e3 == null ? void 0 : e3.processState) {
948
+ if (((_a2 = t3 == null ? void 0 : t3.firstNodeInfo) == null ? void 0 : _a2.nodeId) === (n3 == null ? void 0 : n3.CURRENT_ACTIVITY_ID)) return false;
949
+ if ("END" !== (e3 == null ? void 0 : e3.processState) && "EXTRACT" !== (e3 == null ? void 0 : e3.processState) && "MANUAL_END" !== (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === o3 || n3.CREATOR === o3)) return true;
950
+ }
951
+ return false;
952
+ }(n2, s2, i2) : "cancelExtractWorkflow" === t2 ? a2 = function(e3, t3, n3) {
953
+ const s3 = c(), o3 = s3 ? s3.loginName : null;
954
+ if ("EXTRACT" === (e3 == null ? void 0 : e3.processState) && n3 && (n3.creator === o3 || n3.CREATOR === o3)) return true;
955
+ return false;
956
+ }(n2, 0, i2) : "approveExtractWorkflow" === t2 || "refuseExtractWorkflow" === t2 ? a2 = Re(n2) : "addTransactor" === t2 || "removeTransactor" === t2 ? a2 = function(e3) {
957
+ if (e3.processState && "SUBMIT" === e3.processState && ("WAIT_TRANSACT" === e3.active || "DRAW_WAIT" === e3.active) && "COUNTERSIGN" !== e3.processingMode) return true;
958
+ return false;
959
+ }(n2) : function(e3, t3) {
960
+ return e3.processState && "SUBMIT" === e3.processState && "TYPE_READ" !== e3.processingMode && !function(e4) {
961
+ const t4 = e4;
962
+ let n3 = true;
963
+ t4 && (n3 = t4.taskComplete);
964
+ return n3;
965
+ }(t3);
966
+ }(n2, s2) && (a2 = "returnToPreviousTask" !== t2 || function(e3) {
967
+ if (e3.rebuttable) return true;
968
+ return false;
969
+ }(n2)));
970
+ if ((o2 == null ? void 0 : o2.check) && -1 !== ["submitTask", "approve", "refuse", "agreement", "oppose", "kiken", "extractWorkflow", "cancelExtractWorkflow", "approveExtractWorkflow", "refuseExtractWorkflow", "returnToPreviousTask"].indexOf(t2) && a2 && e2) {
971
+ e2.workflowOpinion ? e2.workflowOpinion.showOpinionBox = true : e2.workflowOpinion = { showOpinionBox: true };
972
+ let t3 = false;
973
+ if ((_b = (_a = o2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isMustOpinion) {
974
+ if (t3 = true, true === t3) {
975
+ const n3 = (_d = (_c = o2.props) == null ? void 0 : _c.base) == null ? void 0 : _d.mustOpinionConditions;
976
+ t3 = N(e2, n3);
977
+ }
978
+ e2.workflowOpinion.isRequired = t3;
979
+ }
980
+ }
981
+ return a2;
982
+ }
983
+ function Re(e2, t2, n2) {
984
+ return !(!e2.processState || "EXTRACT" !== e2.processState || "WAIT_TRANSACT" !== e2.active);
985
+ }
986
+ function Me(e2, t2) {
987
+ e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, Ne(e2, t2).then((t3) => {
988
+ e2.isRefresh = true;
989
+ });
990
+ }
991
+ function Ne(e2, n2, o2) {
992
+ const i2 = e2.pageType;
993
+ if (i2 && "form" === i2) {
994
+ e2.canClick = false;
995
+ return s(e2) ? function(e3, n3, s2) {
996
+ return new Promise((o3, i3) => {
997
+ const a2 = e3.systemCode, c2 = e3.code, l2 = e3.version, p2 = fe(e3);
998
+ let m2 = n3 || null, f2 = n3 ? [n3] : null;
999
+ void 0 === s2 || s2 ? (m2 || (m2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (m2 = null, f2 = null, p2._id = p2.id, p2.id = null);
1000
+ const g2 = p2 ? p2.taskId : null, C2 = c2, b2 = { pageCode: c2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: C2 + ".workflowGets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1001
+ if (e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1002
+ const t2 = {};
1003
+ e3.tableUuids.forEach((e4) => {
1004
+ const n4 = r(c2, l2, e4);
1005
+ t2[n4] = n4;
1006
+ }), b2.listCodesMap = t2;
1007
+ }
1008
+ f2 && (b2.ids = xe(f2)), g2 ? b2.taskId = g2 : m2 ? b2.id = m2 : (p2 && p2._t_ && d(p2._t_ + "_id") && (b2.id = d(p2._t_ + "_id")), e3.notIdInitializationList && (b2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (b2.additionalParamMap = p2), e3.beanName && (b2.beanName = e3.beanName), e3.refercePropMap && (b2.refercePropMap = e3.refercePropMap);
1009
+ const w2 = t(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", T2 = B();
1010
+ T2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), u.post(w2, b2).then((t2) => {
1011
+ e3.workflowOpinion = { showOpinionBox: false }, e3.definitionId = t2.definitionId, e3.entity.task = t2.taskParamMap, e3.dataTypeMaps = t2.dataTypeMap, ce(t2, true, e3), e3.workflowRules = D(e3);
1012
+ const n4 = e3.pageType;
1013
+ n4 && "form" === n4 && function(e4) {
1014
+ (function(e5) {
1015
+ const t3 = /* @__PURE__ */ new Map(), n5 = e5.fieldPermissions;
1016
+ if (void 0 !== n5) for (let e6 = 0; e6 < n5.length; e6++) {
1017
+ const s3 = n5[e6].name;
1018
+ if (s3) if (0 === s3.indexOf("$") && s3.indexOf(".") > 0) {
1019
+ const o4 = n5[e6], i4 = JSON.parse(JSON.stringify(o4)), a3 = s3.substring(1, s3.indexOf(".")), r2 = s3.substring(s3.indexOf(".") + 1);
1020
+ if (i4.name = r2, i4 && "all_fields" === i4.name) false === i4.canEdit ? i4.rowIndexes ? t3.set(a3, [{ name: "all_fields", canEdit: false, rowIndexes: i4.rowIndexes }]) : t3.set(a3, [{ name: "all_fields", canEdit: false }]) : i4.rowIndexes ? t3.set(a3, [{ name: "all_fields", canEdit: true, rowIndexes: i4.rowIndexes }]) : t3.set(a3, [{ name: "all_fields", canEdit: true }]);
1021
+ else {
1022
+ let e7 = t3.get(a3);
1023
+ e7 || (e7 = []), e7.push(i4), t3.set(a3, e7);
1024
+ }
1025
+ } else t3.set(s3, n5[e6]);
1026
+ }
1027
+ e5.fieldPermissionMap = t3;
1028
+ })(e4), function(e5) {
1029
+ const t3 = e5.fieldPermissionMap, n5 = /* @__PURE__ */ new Map(), s3 = e5.actionPermissions;
1030
+ if (null != s3) {
1031
+ Object.keys(s3).forEach((e6) => {
1032
+ const o4 = s3[e6], i4 = t3.get(e6);
1033
+ if (i4 && i4.length > 0 && "all_fields" === i4[0].name && false === i4[0].canEdit) o4.canUpdate = false, o4.canAdd = false;
1034
+ else {
1035
+ o4 && 0 !== Object.keys(o4.deleteCondition).length || (o4.deleteCondition = null), o4 && 0 !== Object.keys(o4.updateCondition).length || (o4.updateCondition = null);
1036
+ const n6 = o4.canUpdate, s4 = o4.updateRowIndexes;
1037
+ void 0 !== n6 && false === n6 && null != s4 && s4.length > 0 && t3.set(e6, [{ name: "all_fields", canEdit: false, rowIndexes: s4 }]);
1038
+ }
1039
+ n5.set(e6, o4);
1040
+ });
1041
+ }
1042
+ e5.actionPermissionMap = n5;
1043
+ }(e4);
1044
+ }(e3), e3.canClick = true, y(null, e3, e3, "afterFormLoadData"), T2.setFormPageDataLoadState(true), o3(t2);
1045
+ }).catch((t2) => {
1046
+ e3.canClick = true, i3(t2);
1047
+ });
1048
+ });
1049
+ }(e2, n2, o2) : function(e3, n3, s2) {
1050
+ return new Promise((o3, i3) => {
1051
+ const a2 = e3.systemCode, c2 = e3.code, l2 = e3.version, p2 = fe(e3);
1052
+ let m2 = n3 || null, f2 = n3 ? [n3] : null;
1053
+ void 0 === s2 || s2 ? (m2 || (m2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (m2 = null, f2 = null, p2._id = p2.id, p2.id = null);
1054
+ const g2 = p2 ? p2.taskId : null, C2 = c2, b2 = t(e3.backendUrl, e3.isTest), w2 = { pageCode: c2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: m2, systemCode: a2, functionCode: C2 + ".gets", listCodesMap: e3.listCodesMap, listCodesInitSearchForm: e3.listCodesInitSearchForm };
1055
+ if (!w2.id && p2 && p2._t_ && d(p2._t_ + "_id") && (w2.id = d(p2._t_ + "_id")), f2 && (w2.ids = xe(f2)), e3.notIdInitializationList && (w2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (w2.additionalParamMap = p2), e3.beanName && (w2.beanName = e3.beanName), g2 && (w2.taskId = g2), e3.listCodesMap, (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
1056
+ const t2 = {};
1057
+ e3.tableUuids.forEach((e4) => {
1058
+ const n4 = r(c2, l2, e4);
1059
+ t2[n4] = n4;
1060
+ }), w2.listCodesMap = t2;
1061
+ }
1062
+ e3.refercePropMap && (w2.refercePropMap = e3.refercePropMap);
1063
+ const T2 = b2 + "/dsc/commons/gets", k2 = B();
1064
+ k2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), u.post(T2, w2).then((t2) => {
1065
+ t2 && (e3.entity.data = t2.entity, e3.initFormNo = t2.formNo);
1066
+ const n4 = e3.customRules, s3 = e3.rules, i4 = W(e3, n4, s3);
1067
+ e3.rules = i4, e3.canClick = true, y(null, e3, e3, "afterFormLoadData"), k2.setFormPageDataLoadState(true), o3(t2);
1068
+ }).catch((t2) => {
1069
+ e3.canClick = true, i3(t2);
1070
+ });
1071
+ });
1072
+ }(e2, n2, o2);
1073
+ }
1074
+ return new Promise((e3, t2) => {
1075
+ e3(true);
1076
+ });
1077
+ }
1078
+ function xe(e2) {
1079
+ return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
1080
+ }
1081
+ function Oe(e2) {
1082
+ const t2 = e2.props.setValueList;
1083
+ if (t2) {
1084
+ if (o(t2) && t2.length > 0) return JSON.stringify(t2);
1085
+ if ("string" == typeof t2 && "[]" !== t2) return t2;
1086
+ }
1087
+ return null;
1088
+ }
1089
+ function Ae(e2, t2) {
1090
+ const n2 = e2.entity ? e2.entity : {}, s2 = { data: n2.data, page: n2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(s2), name: t2 }, i2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
1091
+ return u.post(i2, o2);
1092
+ }
1093
+ function Ee(e2) {
1094
+ const t2 = e2.code, n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
1095
+ return u.get(n2);
1096
+ }
1097
+ function Ue(e2) {
1098
+ const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
1099
+ return u.delete(t2);
1100
+ }
1101
+ function _e(e2) {
1102
+ e2.exportNoticeInfo && (e2.exportNoticeInfo.noticeInterval && clearInterval(e2.exportNoticeInfo.noticeInterval), e2.exportNoticeInfo.noticeComponent = null, e2.exportNoticeInfo.noticeInterval = null), e2.exportNoticeInfo = {}, De(e2.exportNoticeInfo, e2.backendUrl, e2.code);
1103
+ }
1104
+ function je(e2, n2, s2) {
1105
+ e2.lastFileTask && !e2.noticeComponent ? e2.noticeComponent = w({ title: l().t("superPageRuntimeMessage.logTip"), duration: 0, position: "top-right", type: "success", onClose() {
1106
+ "Success" === e2.lastFileTask.taskState || "Fail" === e2.lastFileTask.taskState || "PartSuccess" === e2.lastFileTask.taskState ? Le(n2, s2, e2.lastFileTask.id, e2) : (e2.noticeComponent = null, null == e2.noticeInterval && De(e2, n2, s2));
1107
+ }, message: () => F(V, { isShow: true, backendUrl: n2, lastFileTask: e2.lastFileTask, onClickMsg(o2) {
1108
+ o2.serverPath ? function(e3, n3, s3, o3, i2, a2) {
1109
+ Le(i2, a2, s3, o3);
1110
+ const r2 = m(), c2 = t(i2), l2 = c2 + "/common/super-form/downloads?jwt=" + r2 + "&showName=" + encodeURI(e3) + "&serverPath=" + n3;
1111
+ window.open(l2);
1112
+ }(o2.fileName, o2.serverPath, o2.id, e2, n2, s2) : Le(n2, s2, o2.id, e2), e2.noticeComponent.close(), e2.noticeComponent = null;
1113
+ } }) }) : (null != e2.noticeComponent && (e2.noticeComponent.close(), e2.noticeComponent = null), e2.noticeInterval && (clearInterval(e2.noticeInterval), e2.noticeInterval = null));
1114
+ }
1115
+ function De(e2, t2, n2) {
1116
+ e2.noticeInterval || (e2.noticeInterval = setInterval(() => {
1117
+ e2.noticeComponent || function(e3, t3, n3) {
1118
+ We(t3, n3).then((s2) => {
1119
+ e3.lastFileTask = s2, je(e3, t3, n3);
1120
+ });
1121
+ }(e2, t2, n2);
1122
+ }, 3e3));
1123
+ }
1124
+ function We(e2, t2) {
1125
+ return _(e2, t2);
1126
+ }
1127
+ function Le(e2, t2, n2, s2) {
1128
+ j(e2, n2).then(() => {
1129
+ !function(e3, t3, n3) {
1130
+ We(t3, n3).then((s3) => {
1131
+ e3.lastFileTask = s3, je(e3, t3, n3);
1132
+ });
1133
+ }(s2, e2, t2);
1134
+ });
1135
+ }
1136
+ export {
1137
+ X as dealAfterOperate,
1138
+ ce as dealCompleteTaskParam,
1139
+ Ue as deleteChartCondition,
1140
+ ge as doAddSigner,
1141
+ Ce as doAddTransactor,
1142
+ pe as doAssign,
1143
+ be as doCreateCopyTask,
1144
+ _e as doFileTaskFunc,
1145
+ ie as doImportFinally,
1146
+ ye as doRemoveSigners,
1147
+ ve as doRemoveTransactors,
1148
+ ke as doReturnTaskTo,
1149
+ H as exportFormReport,
1150
+ Se as extractWorkflowFunc,
1151
+ fe as getAdditionalParamMap,
1152
+ Ne as getFormData,
1153
+ he as getRemoveSigner,
1154
+ Pe as getRemoveTransactor,
1155
+ K as getSaveFormRequest,
1156
+ z as getSaveFormRequestWithRow,
1157
+ Te as getTaskInformitions,
1158
+ Ie as isVisibleWorkflowButton,
1159
+ ae as judgeDataNumber,
1160
+ Ee as listChartConditions,
1161
+ se as refreshFormOrListPage,
1162
+ Me as refreshPage,
1163
+ Ae as saveChartConditionBase,
1164
+ $ as standardEvents,
1165
+ te as updateValuesWhenCloseDialog
1166
+ };