super-page-runtime 2.3.38 → 2.3.39-cdnTmp1

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