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