super-page-runtime 2.3.37 → 2.3.38-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 (646) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
  2. package/dist/es/components/runtime/index.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
  4. package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
  5. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
  6. package/dist/es/components/runtime/utils/api/api-util.mjs +9 -0
  7. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +184 -0
  8. package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
  9. package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
  10. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
  11. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
  12. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
  13. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
  14. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
  15. package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
  16. package/dist/es/components/runtime/utils/common-util.mjs +116 -0
  17. package/dist/es/components/runtime/utils/eventBus.mjs +5 -0
  18. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
  19. package/dist/es/components/runtime/utils/events/event-util.mjs +411 -0
  20. package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
  21. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -1
  22. package/dist/es/components/runtime/utils/events/standard-event.mjs +1164 -0
  23. package/dist/es/components/runtime/utils/events/validator-util.mjs +349 -0
  24. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
  25. package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
  26. package/dist/es/components/runtime/utils/global-refs.mjs +56 -0
  27. package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
  28. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
  29. package/dist/es/components/runtime/utils/page-helper-util.mjs +377 -0
  30. package/dist/es/components/runtime/utils/page-init-util.mjs +260 -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 +58 -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 +20 -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 +52 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +410 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +33 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -0
  75. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
  76. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
  77. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +252 -0
  78. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
  79. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
  80. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
  81. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
  82. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +33 -0
  83. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
  84. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +18 -0
  85. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +18 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
  89. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
  90. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +19 -0
  91. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
  92. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
  93. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
  94. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
  95. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
  97. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +29 -0
  98. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
  99. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +20 -0
  100. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
  101. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +17 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
  103. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
  104. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
  105. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
  106. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
  107. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
  108. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
  109. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
  110. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
  111. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
  113. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
  114. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
  115. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +46 -0
  116. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +361 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +323 -0
  121. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
  122. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
  123. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +86 -0
  124. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
  125. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +132 -0
  126. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
  127. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
  128. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +63 -0
  130. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
  131. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
  133. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
  134. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
  135. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
  136. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
  137. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
  138. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
  139. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
  140. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
  141. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +91 -0
  142. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
  143. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
  145. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
  146. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
  147. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
  148. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
  149. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
  150. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
  151. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
  152. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
  153. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
  154. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
  155. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +82 -0
  156. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
  157. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +195 -0
  158. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
  159. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
  160. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
  161. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
  162. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
  163. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
  164. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
  165. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
  166. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
  167. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
  168. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +72 -0
  169. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
  170. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +153 -0
  171. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
  172. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
  173. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +6 -1
  175. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +55 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +28 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
  185. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
  186. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
  187. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
  188. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
  189. package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
  190. package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
  191. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +26 -0
  192. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
  193. package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
  194. package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
  195. package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
  196. package/dist/es/index.d.ts +2 -2
  197. package/dist/es/index.mjs +32 -0
  198. package/dist/es/style.css +1 -1033
  199. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
  200. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
  201. package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
  202. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
  203. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
  204. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
  205. package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
  206. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
  207. package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
  208. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
  209. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
  210. package/dist/lib/assets/file.png.cjs +1 -0
  211. package/dist/lib/assets/folder.png.cjs +1 -0
  212. package/dist/lib/components/runtime/index.d.ts +6 -0
  213. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
  214. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
  215. package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
  216. package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
  217. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  218. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
  219. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  220. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
  221. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
  222. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  223. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
  224. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
  225. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
  226. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
  227. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
  228. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
  229. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
  230. package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
  231. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  232. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
  233. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  234. package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
  235. package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
  236. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
  237. package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
  238. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
  239. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  240. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
  241. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
  242. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
  243. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +24 -0
  244. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
  245. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  246. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
  247. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
  248. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  249. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
  250. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  251. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
  252. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
  253. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
  254. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  255. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
  256. package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
  257. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
  258. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  259. package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
  260. package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
  261. package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
  262. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  263. package/dist/lib/components/runtime/utils/store.cjs +1 -0
  264. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  265. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
  266. package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
  267. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
  268. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
  269. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
  270. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
  271. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
  272. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
  273. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
  274. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
  275. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
  276. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
  277. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
  278. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
  279. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
  280. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
  281. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
  282. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
  283. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
  284. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
  285. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
  286. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
  287. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
  288. package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
  289. package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
  290. package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
  291. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
  292. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
  293. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
  294. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
  295. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
  296. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
  297. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
  298. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
  299. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
  300. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  301. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
  302. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
  303. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
  304. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
  305. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
  306. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
  307. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
  308. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
  309. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
  310. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
  311. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
  312. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
  313. package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
  314. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
  315. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  316. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
  317. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
  318. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  319. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
  320. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
  321. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  322. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
  323. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
  324. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  325. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
  326. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
  327. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  328. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
  329. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
  330. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  331. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
  332. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
  333. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  334. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
  335. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
  336. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  337. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
  338. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
  339. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
  340. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
  341. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
  342. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
  343. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
  344. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
  345. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
  346. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
  347. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  348. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
  349. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
  350. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
  351. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
  352. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
  353. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
  354. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
  355. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
  356. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
  357. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
  358. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
  359. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
  360. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
  361. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
  362. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
  363. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
  364. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
  365. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
  366. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
  367. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
  368. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
  369. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
  370. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  371. package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
  372. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
  373. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
  374. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
  375. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
  376. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
  377. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
  378. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
  379. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
  380. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
  381. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
  382. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
  383. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
  384. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
  385. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
  386. package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
  387. package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
  388. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
  389. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
  390. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
  391. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
  392. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
  393. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
  394. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
  395. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
  396. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
  397. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
  398. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
  399. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
  400. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
  401. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
  402. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
  403. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
  404. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
  405. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
  406. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
  407. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
  408. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
  409. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
  410. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
  411. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
  412. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
  413. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  414. package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
  415. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
  416. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  417. package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
  418. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
  419. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
  420. package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
  421. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
  422. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
  423. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
  424. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
  425. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
  426. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
  427. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
  428. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
  429. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
  430. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
  431. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
  432. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
  433. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
  434. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
  435. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
  436. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
  437. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  438. package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
  439. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
  440. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  441. package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
  442. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
  443. package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
  444. package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
  445. package/dist/lib/favicon.ico +0 -0
  446. package/dist/lib/i18n/langs/cn.cjs +1 -0
  447. package/dist/lib/i18n/langs/en.cjs +1 -0
  448. package/dist/lib/index.cjs +1 -0
  449. package/dist/lib/index.d.ts +16 -0
  450. package/dist/lib/style.css +1 -0
  451. package/package.json +13 -11
  452. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
  453. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  454. package/dist/es/components/runtime/utils/anchor-util.js +0 -84
  455. package/dist/es/components/runtime/utils/api/api-util.js +0 -4
  456. package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -190
  457. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  458. package/dist/es/components/runtime/utils/barcode-util.js +0 -12
  459. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
  460. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
  461. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
  462. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
  463. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
  464. package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
  465. package/dist/es/components/runtime/utils/common-util.js +0 -120
  466. package/dist/es/components/runtime/utils/eventBus.js +0 -5
  467. package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
  468. package/dist/es/components/runtime/utils/events/event-util.js +0 -427
  469. package/dist/es/components/runtime/utils/events/print-label.js +0 -100
  470. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1221
  471. package/dist/es/components/runtime/utils/events/validator-util.js +0 -367
  472. package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
  473. package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
  474. package/dist/es/components/runtime/utils/global-refs.js +0 -57
  475. package/dist/es/components/runtime/utils/i18n-util.js +0 -14
  476. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
  477. package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
  478. package/dist/es/components/runtime/utils/page-init-util.js +0 -280
  479. package/dist/es/components/runtime/utils/page-store.js +0 -53
  480. package/dist/es/components/runtime/utils/store-util.js +0 -13
  481. package/dist/es/components/runtime/utils/table-utils.js +0 -89
  482. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  483. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  484. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
  485. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
  486. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
  487. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  488. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
  489. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  490. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
  491. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  492. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
  493. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  494. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
  495. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
  496. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  497. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
  498. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  499. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
  500. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  501. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  502. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
  503. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
  504. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -35
  505. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
  506. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -46
  507. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
  508. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -35
  509. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
  510. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -35
  511. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -421
  512. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
  513. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
  514. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
  515. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
  516. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
  517. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
  518. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -15
  519. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
  520. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  521. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +0 -259
  522. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
  523. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
  524. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
  525. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  526. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
  527. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
  528. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  529. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
  530. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
  531. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  532. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
  533. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
  534. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
  535. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
  536. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
  537. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
  538. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
  539. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  540. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
  541. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -29
  542. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  543. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
  544. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  545. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -18
  546. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
  547. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
  548. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
  549. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
  550. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  551. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
  552. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  553. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -25
  554. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  555. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
  556. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
  557. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
  558. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
  559. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
  560. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  561. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
  562. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -382
  563. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  564. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -330
  565. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  566. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  567. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  568. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  569. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
  570. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
  571. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  572. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  573. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -64
  574. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
  575. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
  576. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  577. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
  578. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  579. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
  580. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  581. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
  582. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  583. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
  584. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  585. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -94
  586. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  587. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
  588. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  589. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -82
  590. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
  591. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -38
  592. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  593. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -43
  594. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
  595. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -16
  596. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  597. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -82
  598. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  599. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -199
  600. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
  601. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
  602. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  603. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
  604. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  605. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
  606. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  607. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
  608. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
  609. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
  610. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
  611. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
  612. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -165
  613. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  614. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
  615. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
  616. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
  617. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -47
  618. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
  619. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
  620. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
  621. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
  622. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  623. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
  624. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  625. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
  626. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
  627. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -32
  628. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  629. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
  630. package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
  631. package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
  632. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -26
  633. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
  634. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  635. package/dist/es/components/runtime/views/super-page.vue2.js +0 -302
  636. package/dist/es/index.js +0 -30
  637. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  638. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  639. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  640. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  641. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  642. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  643. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  644. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  645. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  646. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const N=require("agilebuilder-ui"),S=require("vue-plugin-hiprint"),A=require("../barcode-util.cjs");function I(t,f){N.http.post(window.$vueApp.config.globalProperties.baseAPI+"/component/print-models/by-codes",[f]).then(E=>{const d=JSON.parse(E[0].template),c=[];d.panels.forEach(e=>{e.printElements.forEach(r=>{r.options.textType!=="barcode"&&r.options.textType!=="qrcode"||c.push(r.options)})});const n=new S.hiprint.PrintTemplate({template:d}),u={callback:()=>{},styleHandler:()=>""},o={leftOffset:-1,topOffset:-1},p={};d.panels[0].printElements.forEach(e=>{if(e.options.dataType==="datetime"&&e.options.field){const r=e.options.field.substring(6);p[r]=e.options.dateFormat}}),t.pageContext.pageType?t.pageContext.pageType==="list"?function(e,r,y,a,h,x){const m=JSON.parse(JSON.stringify(e.selections));if(m.forEach(i=>{Object.keys(r).forEach(s=>{if(i[s]&&typeof i[s]=="number"&&!isNaN(i[s]))try{i[s]=new Date(i[s])}catch(g){console.error(`日期格式化失败: ${g}`)}})}),y.length>0){const i=[];y.forEach(s=>{i.push(function(g,l){return new Promise((b,C)=>{const v=g.field.split("."),P=[];v.length<2&&b([]);try{J(v[1]).then(O=>{l.forEach((j,q)=>{const w={type:v[0],name:v[1],value:null,index:q};w.value=A.generateCodeByRule(JSON.parse(O.barcodeModelItems),j),P.push(w)}),b(P)})}catch(O){console.error("获取条码规则失败:",O),b([])}})}(s,m))}),Promise.all(i).then(s=>{s.forEach(g=>{g.forEach(l=>{const b=l.index,C=m[b];C[l.type]||(C[l.type]={}),C[l.type][l.name]=l.value})}),a.print(m,h,x)})}else a.print(m,h,x)}(t,p,c,n,o,u):t.pageContext.pageType==="form"&&T(t,c,n,o,u):T(t,c,n,o,u)})}function T(t,f,E,d,c){if(f.length>0){const n=[];f.forEach(u=>{n.push(function(o,p){return new Promise((e,r)=>{const y=p.field.split("."),a={type:null,name:null,value:null};y.length<2&&e(a),a.type=y[0],a.name=y[1];try{J(a.name).then(h=>{const x=JSON.parse(h.barcodeModelItems);a.value=A.generateCodeByRule(x,o.entity.data),e(a)})}catch(h){console.error("获取条码规则失败:",h),e(a)}})}(t.pageContext,u))}),Promise.all(n).then(u=>{const o={};u.forEach(e=>{e.type&&e.name&&e.value&&(o[e.type]||(o[e.type]={}),o[e.type][e.name]=e.value)});const p={table:{}};Object.assign(p,t.pageContext.entity,o),p.table=t.pageContext.entity.data,E.print(p,d,c)})}else{const n={table:{}};Object.assign(n,t.pageContext.entity),n.table=t.pageContext.entity.data,E.print(n,d,c)}}function J(t){const f=encodeURIComponent(t);return N.http.get(window.$vueApp.config.globalProperties.baseAPI+`/component/setting-barcode-models/by-name?name=${f}`)}S.disAutoConnect();const M={printLabel:I};exports.default=M,exports.printLabel=I;
@@ -0,0 +1,5 @@
1
+ export declare function printLabel(params: any, templateUuid: string): void;
2
+ declare const _default: {
3
+ printLabel: typeof printLabel;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../common-util.cjs"),g=require("agilebuilder-ui"),k=require("element-plus"),z=require("../global-refs.cjs"),O=require("../eventBus.cjs"),Z=require("axios"),j=require("./event-util.cjs"),fe=require("../store-util.cjs"),$=require("../page-init-util.cjs"),G=require("../page-helper-util.cjs"),Ae=require("./print-label.cjs"),ee=require("../table-utils.cjs"),Ce=require("./validator-util.cjs"),Oe=require("../api/page-expose-util.cjs"),we=require("../page-store.cjs"),Be=require("vue"),_e=require("../../views/assemblys/common/file-task-notice.vue.cjs"),_=require("./data-backfill-util.cjs"),De={save:function(e){return he(e,!1)},saveList:function(e){return he(e,!0)},exportForm:function(e){const t=e.pageContext.code+"_";O.$emit(t+"export-form-report",e)},exportPDF:function(e){const t=e.pageContext.code+"_";O.$emit(t+"export-pdf-report",e)},submit:function(e){return K(e,!1,"submit","/dsc/commons/submits")},submitList:function(e){return K(e,!0,"submit","/dsc/commons/batch-submits")},agree:function(e){return K(e,!1,"agree","/dsc/commons/approves")},agreeList:function(e){return K(e,!0,"agree","/dsc/commons/batch-approves")},disagree:function(e){return K(e,!1,"disagree","/dsc/commons/refuses")},disagreeList:function(e){return K(e,!0,"disagree","/dsc/commons/batch-refuses")},back:function(e){const t=e.pageContext,o=t.entity?t.entity.data:{},a=!(!e.configureObj.props||!e.configureObj.props.base)&&e.configureObj.props.base.isNeedValueMapping;me(t,e.configureObj,o,a)},delete:function(e){return function(t){return new Promise((o,a)=>{const s=t.ids;if(!s||s.length===0)return k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.pleaseSelectRecord")}),void o(!0);k.ElMessageBox.confirm(g.getI18n().t("superPageRuntimeMessage.whetherToConfirmDeletion"),g.getI18n().t("superPageRuntimeMessage.tips"),{confirmButtonText:g.getI18n().t("superPageRuntimeMessage.sure"),cancelButtonText:g.getI18n().t("superPageRuntimeMessage.cancel"),type:"warning"}).then(()=>{var P,R,E;const n=t.pageContext,r=t.configureObj,c=r.props.base,l=n.systemCode,m=n.backendUrl,u=r.props.base.tableUuid?r.props.base.tableUuid:t.tableUuid,p=ee.getTableNameByTableUuid(n,u);let d=f.getBaseUrl(m,n.isTest)+"/dsc/commons/"+p;d=f.getRealRestApiPath(d,l,m,n.isTest);const b=c.isPermission===void 0||c.isPermission==="true"||c.isPermission,h=f.isWorkflowPage(n),i=$.getPermissionCodes(r,n),C={ids:s,functionCode:i,isPermission:b+"",systemCode:l,isWorkflowEntity:h,listCodesMap:n.listCodesMap,pageCode:n.code,pageVersion:n.version};n.beanName&&(C.beanName=n.beanName);const w=r.props.deleteLogicSetting;w&&(typeof w=="object"?C.deleteLogicSetting=JSON.stringify(w):typeof w=="string"&&(C.deleteLogicSetting=w));const T=(P=r.props.base)==null?void 0:P.logSetting;T&&(C.logSettingText=T.join(""));const y=r.props.base.isSafeDelete;y&&(C.isSafeDelete=y);const I=(E=(R=r.runtime)==null?void 0:R.props)==null?void 0:E.title;I&&(C.currentOperation=I),C.isMobile=g.isMobileBrowser(),g.http.delete(d,{data:C}).then(S=>{const M=z.getComponentRef(n,u);M&&(M.isDeleteChange(!0),M.clearSelections()),L(n,r,S,"superPageRuntimeMessage.successfulDelete",!0),o(!0)}).catch(S=>{a(S)})}).catch(()=>{a()})})}(e)},downloadTemplate:function(e){(function(t){var I,P,R;const o=t.pageContext,a=t.configureObj,s=a.props.base,n=f.packageTemplateFiles(s.templateFiles,o,a);let r,c;n&&n.length>0&&(r=n[0].templateUuid,c=n[0].templateName);const l=o.systemCode,m=o.backendUrl,u=c;let p="?1=1";r&&u&&r!=="undefined"&&u!=="undefined"&&r!=="null"&&u!=="null"?p+="&fileName="+encodeURI(r)+"&showName="+encodeURI(u):u?p+="&showName="+encodeURI(u):o.label&&(p+="&showName="+encodeURI(o.label)+".xlsx");const d=(I=a.props.base)==null?void 0:I.logSetting;d&&(p+="&logSettingText="+d.join("")),l&&(p+="&systemCode="+l);const b=t.listCode;b&&(p+="&listCode="+b),o.beanName&&(p+="&beanName="+o.beanName);const h=$.getPermissionCodes(a,o);h&&(p+="&functionCode="+h),o.tableName&&(p+="&tableName="+o.tableName),o.code&&(p+="&pageCode="+o.code),o.version&&(p+="&pageVersion="+o.version);const i=g.getToken();i&&(p+="&JWT="+i);const C=(R=(P=a.runtime)==null?void 0:P.props)==null?void 0:R.title;C&&(p+="&currentOperation="+encodeURI(C)),p+="&isMobile="+g.isMobileBrowser();const w="_RUN_CURRENT_ROLE",T=g.getSessionCache(w);T&&(p+="&"+w+"="+T),s&&(p+="&isPermission="+(s.isPermission===void 0||s.isPermission==="true"||s.isPermission));const y=f.getBaseUrl(m,o.isTest);window.open(y+"/dsc/commons/download-files"+p)})(e)},import:function(e){const t=e.pageContext.code+"_";O.$emit(t+"import-file",e)},export:function(e){return function(t){return new Promise((o,a)=>{var w,T,y,I,P,R,E,S,M,U,x,v;const s=t.pageContext,n=t.configureObj,r=n.props.base,c=t.listCode,l=t.selections,m={};l&&l.length>0&&(m.data=l);let u=s.label;u||(u=s.code);let p=!1;p=r.isAsync!==void 0&&r.isAsync!==null&&r.isAsync;const d=r.isPermission===void 0||r.isPermission==="true"||r.isPermission,b=$.getPermissionCodes(n,s),h=u,i={backendUrl:s.backendUrl,pageContext:s},C=(T=(w=n.runtime)==null?void 0:w.props)==null?void 0:T.title;C&&(i.currentOperation=C),i.isShowWatermark=((I=(y=n.props)==null?void 0:y.watermark)==null?void 0:I.isShowWatermark)===void 0?"true":((R=(P=n.props)==null?void 0:P.watermark)==null?void 0:R.isShowWatermark)+"",i.watermarkContent=(S=(E=n.props)==null?void 0:E.watermark)!=null&&S.content&&((U=(M=n.props)==null?void 0:M.watermark)==null?void 0:U.content.length)>0?(v=(x=n.props)==null?void 0:x.watermark)==null?void 0:v.content.join("-~"):"",window.$vueApp.config.globalProperties.$exportDataNew(m,h,c,b,null,i,p,s.code,d),p&&setTimeout(()=>{de(s)},100)})}(e)},search:function(e){const t=e.pageContext,o=e.tableUuid;z.getComponentRef(t,o).refresh()},showSearch:function(e){const t=e.pageContext,o=e.tableUuid;z.getComponentRef(t,o).showMobileSearch()},workflowSave:function(e){return O.$emit("clearTableAllStartEditing"),async function(t){return new Promise((o,a)=>{const s=t.pageContext,n=s.entity.data,r=s.systemCode,c=s.backendUrl;let l=f.getBaseUrl(c,s.isTest)+"/dsc/workflow-commons";if(l=f.getRealRestApiPath(l,r,c,s.isTest),!l)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const m=B(t);let u;u=n.id||n.ID?g.http.put(l,m):g.http.post(l,m),_.cacheBackfillData(s.code,n),u.then(p=>{let d=!0;p&&(_.removeCacheFillData(s.code,n),d=J(p,!1,s,t,null)),d===!0&&k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulSave")}),O.$emit("clearTableAllEndEditing"),o(!0)}).catch(p=>{a(p)})})}(e)},workflowStart:function(e){return O.$emit("clearTableAllStartEditing"),async function(t){return new Promise((o,a)=>{const s=t.pageContext,n=s.entity.data,r=s.systemCode,c=s.backendUrl;if(s.fileuploadInfo&&s.fileuploadInfo.length>0){const l=s.fileuploadInfo[0];let m;l.isTable&&l.tableTitle&&l.rowIndex!==void 0?(l.rowIndex,l.rowIndex,m=g.getI18n().t("superPageRuntimeMessage.fileUploadUnCompleteTable",{label:l.label,tableTitle:l.tableTitle,rowIndex:l.rowIndex+1})):m=g.getI18n().t("superPageRuntimeMessage.fileUploadUnComplete",{label:l.label}),k.ElMessage({message:m,type:"warning",showClose:!0}),o(!1)}else{let l=f.getBaseUrl(c,s.isTest)+"/dsc/workflow-commons/start";if(l=f.getRealRestApiPath(l,r,c,s.isTest),!l)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const m=B(t);let u;n.workflow_id||n.WORKFLOW_ID?(l=f.getBaseUrl(c,s.isTest)+"/dsc/workflow-commons",l=f.getRealRestApiPath(l,r,c,s.isTest),u=g.http.put(l,m)):u=g.http.post(l,m),_.cacheBackfillData(s.code,n),u.then(p=>{let d=!0;p&&(_.removeCacheFillData(s.code,n),d=J(p,!1,s,t,null)),d===!0&&k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulStart")}),O.$emit("clearTableAllEndEditing"),o(!0)}).catch(p=>{a(p)})}})}(e)},submitProcess:function(e){return O.$emit("clearTableAllStartEditing"),function(t){return new Promise((o,a)=>{const s=t.pageContext;if(s.fileuploadInfo&&s.fileuploadInfo.length>0){const n=s.fileuploadInfo[0];let r;n.isTable&&n.tableTitle&&n.rowIndex!==void 0?(n.rowIndex,n.rowIndex,r=g.getI18n().t("superPageRuntimeMessage.fileUploadUnCompleteTable",{label:n.label,tableTitle:n.tableTitle,rowIndex:n.rowIndex+1})):r=g.getI18n().t("superPageRuntimeMessage.fileUploadUnComplete",{label:n.label}),k.ElMessage({message:r,type:"warning",showClose:!0}),o(!1)}else{const n=s.systemCode,r=s.backendUrl;let c=f.getBaseUrl(r,s.isTest)+"/dsc/workflow-commons/submit";if(c=f.getRealRestApiPath(c,n,r,s.isTest),!c)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const l=B(t);_.cacheBackfillData(s.code,s.entity.data);const m=g.http.post(c,l);m?m.then(u=>{let p=!0;u&&(_.removeCacheFillData(s.code,s.entity.data),p=J(u,!1,s,t,null)),p===!0&&k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulSubmit")}),O.$emit("clearTableAllEndEditing"),o(!0)}).catch(u=>{a(u)}):_.removeCacheFillData(s.code,s.entity.data)}})}(e)},submitTask:function(e){return Y(e,"SUBMIT")},approve:function(e){return Y(e,"APPROVE")},refuse:function(e){return Y(e,"REFUSE")},readed:function(e){return Y(e,"READED")},agreement:function(e){return Y(e,"AGREEMENT")},oppose:function(e){return Y(e,"OPPOSE")},kiken:function(e){return Y(e,"KIKEN")},assign:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"assign-task",t)}(e)},copyTask:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"copy-task",t)}(e)},addSigner:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"add-signer",t)}(e)},drawTask:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/draw-tasks",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulDrawTask")}(e)},abandonReceive:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/abandon-receives",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulAbandonReceive")}(e)},returnToPreviousTask:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/return-to-previous-tasks",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulReturnToPreviousTask")}(e)},endInstance:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/end-instance",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulEndInstance")}(e)},returnTaskTo:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"choose-return-node",t)}(e)},removeSigner:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"remove-signer",t)}(e)},retrieveTask:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/retrieves",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulRetrieve")}(e)},extractWorkflow:function(e){return Se(e)},extractWorkflowEvent:function(e){return function(t){const o=t.pageContext;O.$emit(o.code+"_event-call-component",{componentName:"extract-workflow-dialog",componentProps:{pageContext:t.pageContext,configure:t.configureObj}})}(e)},cancelExtractWorkflow:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/cancel-extract",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulCancelExtract")}(e)},approveExtractWorkflow:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/approve-extract",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulOperation")}(e)},refuseExtractWorkflow:function(e){return function(t){const o=t.pageContext,a=o.backendUrl,s=f.getBaseUrl(a,o.isTest)+"/dsc/workflow-commons/refuse-extract",n=B(t);return V(t,n,s,"superPageRuntimeMessage.successfulOperation")}(e)},viewDetail:function(e){},lineEditCreate:function(e){return function(t){const o=t.pageContext,a=t.tableUuid,s=z.getComponentRef(o,a);s&&(t.getDefaultValueFunc=$.getDefaultValue,s.createRow(t.listCode,{},t))}(e)},printLabel:function(e){return function(t){let o=null;try{if(o=t.menuItem?t.menuItem.templateUuid:t.configureObj.props.base.template[0].templateUuid,!o)throw new Error("未找到模板")}catch(a){console.error("打印标签失败,未在配置中找到找到模板",a,t)}Ae.default.printLabel(t,o)}(e)},queryCharts:function(e){be(e)},resetCharts:function(e){var o,a;const t=e.pageContext;Object.assign(t.entity.data,f.deepCopy((o=t.initChartData)==null?void 0:o.data)),Object.assign(t.entity.page,f.deepCopy((a=t.initChartData)==null?void 0:a.page)),e.isInitChart=!0,be(e)},exportCharts:function(e){(function(t){var i,C,w,T,y,I,P,R,E,S,M,U;const o=t.pageContext,a=o.allChartUuids;if(!a||a.length==0)return;const s=t.configureObj;let n=null;s&&s.runtime&&(n=s.runtime.props);const r=n?n.state:void 0;n&&(n.state="disabled");const c=[];for(let x=0;x<a.length;x++){const v=a[x],N=z.getComponentRef(o,v);if(N){const A=N.getConfigure();A&&A.exportable&&A._dynamicShowFlag&&N.exportChart&&c.push(N.exportChart())}}if(!c||c.length==0)return;let l,m=o.label;m||(m=o.code),l=m;const u={reportDataList:c,beanName:o.beanName,systemCode:o.systemCode,pageCode:o.code},p=q(o);u.additionalParamMap=p;const d=(C=(i=s.runtime)==null?void 0:i.props)==null?void 0:C.title;d&&(u.currentOperation=d),u.isMobile=g.isMobileBrowser(),u.isShowWatermark=((T=(w=s.props)==null?void 0:w.watermark)==null?void 0:T.isShowWatermark)===void 0?"true":((I=(y=s.props)==null?void 0:y.watermark)==null?void 0:I.isShowWatermark)+"",u.watermark=(R=(P=s.props)==null?void 0:P.watermark)!=null&&R.content&&((S=(E=s.props)==null?void 0:E.watermark)==null?void 0:S.content.length)>0?(U=(M=s.props)==null?void 0:M.watermark)==null?void 0:U.content.join("-~"):"";const b=o.backendUrl,h=f.getBaseUrl(b,o.isTest)+"/dsc/commons/exportChart";ue(),Z.post(h,u,{responseType:"blob"}).then(x=>{const v=document.createElement("a");v.style.display="none",v.href=URL.createObjectURL(x.data),v.setAttribute("download",l+".xlsx"),document.body.appendChild(v),v.click(),document.body.removeChild(v)}).finally(()=>{n&&(n.state=r)})})(e)},saveQueryCharts:function(e){(function(t){const o=t.pageContext,a=t.configureObj,s=o.code+"_";O.$emit(s+"save-chart-condition",{pageContext:o,configureObj:a})})(e)},addTransactor:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"add-transactor",t)}(e)},removeTransactor:function(e){return function(t){const o=t.pageContext,a=o.code+"_";O.$emit(a+"remove-transactor",t)}(e)}};function be(e){const t=e.pageContext,o=t.initChartServiceConfigs;if(!o||o.length==0)return;const a=e.configureObj;let s=null;a&&a.runtime&&(s=a.runtime.props);const n=s?s.state:void 0;s&&(s.state="disabled"),G.updateChartDatasources(t,o,void 0,e.isInitChart).then(()=>{s&&(s.state=n)}).catch(()=>{s&&(s.state=n)})}function ue(){Z.defaults.headers.common.Authorization=g.getToken();const e=g.getRunCurrentRole();if(e){const t="_RUN_CURRENT_ROLE";Z.defaults.headers.common[t]=e}}function he(e,t){return new Promise((o,a)=>{const s=e.pageContext,n=e.configureObj,r=e.mainDefaultValueColumns,c=e.dynamicColumnInfo,l=n.props.base.successOperation;let m=!1;if(l&&l==="noOperation"&&(m=!0),s.fileuploadInfo&&s.fileuploadInfo.length>0){const u=s.fileuploadInfo[0];let p;p=u.isTable&&u.tableTitle&&u.rowIndex!==void 0?g.getI18n().t("superPageRuntimeMessage.fileUploadUnCompleteTable",{label:u.label,tableTitle:u.tableTitle,rowIndex:u.rowIndex+1}):g.getI18n().t("superPageRuntimeMessage.fileUploadUnComplete",{label:u.label}),k.ElMessage({message:p,type:"warning",showClose:!0}),o(!1)}else{_.cacheBackfillData(s.code,s.entity.data);const u=Pe(s,n,"/dsc/commons",m,r,c);u?u.then(p=>{p&&_.removeCacheFillData(s.code,s.entity.data),L(s,n,p,"superPageRuntimeMessage.successfulSave",t),o(p)}).catch(p=>{a(p)}):(_.removeCacheFillData(s.code,s.entity.data),a("保存时request不存在"))}})}function ye(e,t,o,a,s,n,r){var y,I,P;const c=f.isWorkflowPage(e),l=e.systemCode,m=t.props.base.isPermission===void 0||t.props.base.isPermission==="true"||t.props.base.isPermission,u=$.getPermissionCodes(t,e);let p=r;p||(p=e.entity.data);const d={entity:p,tableName:e.tableName,formNoRuleCode:e.formNoRuleCode,isWorkflowEntity:c,functionCode:u,isPermission:m+"",listCodesMap:e.listCodesMap,pageCode:e.code,pageVersion:e.version,listCodesInitSearchForm:e.listCodesInitSearchForm};n&&(d.ids=n),e.judgeHeavyList&&(f.isArrayFn(e.judgeHeavyList)?d.judgeHeavyList=JSON.stringify(e.judgeHeavyList):d.judgeHeavyList=e.judgeHeavyList);const b=t.props.base.conversionCodes;b&&(f.isArrayFn(b)?d.dataConversionRule=b.join(","):typeof b=="string"&&(d.dataConversionRule=b));const h=ge(t);h&&(d.autoSetValueData=h);const i=(y=t.props.base)==null?void 0:y.logSetting;i&&(d.logSettingText=i.join("")),d.systemCode||(d.systemCode=l);const C=e.beanName;C&&(d.beanName=C),s&&(d.dynamicColumnInfo=s),a&&(d.mainDefaultValueColumns=a);const w=q(e);d.additionalParamMap=w,o!==void 0&&(d.unControlVersion=o);const T=(P=(I=t.runtime)==null?void 0:I.props)==null?void 0:P.title;return T&&(d.currentOperation=T),d.isMobile=g.isMobileBrowser(),d}function Ie(e,t,o,a,s,n,r,c,l){const m=e.systemCode,u=e.backendUrl,p=ye(e,t,a,s,n,null,r);return c&&c.tableName&&(p.tableName=c.tableName),l&&(p.isWorkflowEntity=!1),function(d,b,h,i,C,w){const T=f.getBaseUrl(b,w);let y,I=T+i;return I=f.getRealRestApiPath(I,d,b,w),y=C&&(C.id||C.ID)?g.http.put(I,h):g.http.post(I,h),y}(m,u,p,o,r,e.isTest)}function Pe(e,t,o,a,s,n){return Ie(e,t,o,a,s,n,null,null)}function L(e,t,o,a,s){const n=Re(e,t,s);if(n&&n==="list")(function(r,c,l,m){let u=c.props.base.successOperation;const p=c.props.base.isNeedValueMapping,d=j.getTableUuid(r,c);if(u||je.includes(c.name)||(u="refresh"),u==="refresh")d?z.getComponentRef(r,d).refresh():console.error("tableUuid is empty");else if(u==="closeWindow"||u==="closeWindowAndRefresh"){const b=f.deepCopy(r.entity.page);let h=l;h||(h={}),Object.assign(b,h),me(r,c,b,p)}m&&k.ElMessage({message:g.getI18n().t(m),type:"success",showClose:!0})})(e,t,o,a),e.canClick=!0;else if(n&&n==="form")(function(r,c,l,m){if(l){const u=l;let p;p=u.entity?u.entity:u,u.formNo&&(r.initFormNo=u.formNo),re(r,c,{...p,...r.entity.page})}else{const u=c.props.base.successOperation;u&&u!==null?re(r,c,{...r.entity.page}):r.canClick=!0}m&&k.ElMessage({message:g.getI18n().t(m),type:"success",showClose:!0})})(e,t,o,a);else{const r=t.props.base.successOperation;r&&r!==null?re(e,t,null):e.canClick=!0}}function Re(e,t,o){let a;return o===void 0?a=t.props.base.tableUuid?"list":null:o===!1&&(a="form"),a||(a=e.pageType),a}function re(e,t,o){const a=t.props.base.successOperation;if(!a||a===null)return;const s=t.props.base.isNeedValueMapping;a==="noOperation"?e.canClick=!0:a==="refresh"?o&&(o.id||o.ID)?pe(e,o.ID?o.ID:o.id):e.canClick=!0:a!=="closeWindow"&&a!=="closeWindowAndRefresh"||(me(e,t,o,s),e.canClick=!0)}function me(e,t,o,a){const s=e.entity&&e.entity.request?e.entity.request.jumpMode:null;if(s==="openWindow"||s==="newTab")window.parent?window.parent.close():window.close();else{const n=e.tableName,r=a!==void 0&&a===!0&&o&&o!==void 0,c=(e.entity&&e.entity.request?e.entity.request.parentPageCode:null)+"_";O.$emit(c+"close-dialog",{isNeedValueMapping:r,dataModel:o,sourceConfigureObj:t,sourceTableName:n,jumpMode:s})}}const je=["dropdown"];function K(e,t,o,a){return new Promise((s,n)=>{const r=e.pageContext,c=e.configureObj;if(r.fileuploadInfo&&r.fileuploadInfo.length>0){const l=r.fileuploadInfo[0];let m;l.isTable&&l.tableTitle&&l.rowIndex!==void 0?(l.rowIndex,l.rowIndex,m=g.getI18n().t("superPageRuntimeMessage.fileUploadUnCompleteTable",{label:l.label,tableTitle:l.tableTitle,rowIndex:l.rowIndex+1})):m=g.getI18n().t("superPageRuntimeMessage.fileUploadUnComplete",{label:l.label}),k.ElMessage({message:m,type:"warning",showClose:!0}),s(!1)}else{const l=e.mainDefaultValueColumns,m=e.dynamicColumnInfo,u=e.ids,p=c.props.base.successOperation;let d=!1;p&&p==="noOperation"&&(d=!0);let b=r.tableName;if(t){const i=c.props.base.tableUuid?c.props.base.tableUuid:e.tableUuid;b=ee.getTableNameByTableUuid(r,i)}else _.cacheBackfillData(r.code,r.entity.data);const h=function(i,C,w,T,y,I,P,R,E){return new Promise((S,M)=>{const U=C.props.base.title,x="superPageRuntimeMessage.whetherToConfirm"+f.upperFirstCase(P);k.ElMessageBox.confirm(g.getI18n().t(x,{name:U}),g.getI18n().t("superPageRuntimeMessage.tips"),{confirmButtonText:g.getI18n().t("superPageRuntimeMessage.sure"),cancelButtonText:g.getI18n().t("superPageRuntimeMessage.cancel"),type:"warning"}).then(()=>{const v=i.systemCode,N=i.backendUrl,A=ye(i,C,T,y,I,R,null);A.tableName=E;let W=f.getBaseUrl(N,i.isTest)+w;W=f.getRealRestApiPath(W,v,N,i.isTest),g.http.post(W,A).then(F=>{S(F)}).catch(F=>{M(F)})}).catch(()=>{M("点击了取消按钮")})})}(r,c,a,d,l,m,o,u,b);h?h.then(i=>{!t&&i&&_.removeCacheFillData(r.code,r.entity.data),L(r,c,i,"superPageRuntimeMessage.successfulSave",t),s(i)}).catch(i=>{n(i)}):(t||_.removeCacheFillData(r.code,r.entity.data),n("request不存在"))}})}function B(e){var h,i,C;const t=e.pageContext,o=e.configureObj,a=t.entity.data,s=t.systemCode,n=t.code;let r=$.getPermissionCodes(o,t);r||(r=n+".xxx"),a.id||a.ID||(a.PAGE_CODE=t.code,a.PAGE_VERSION=t.version);const c={entity:a,pageMoel:t.entity.page,formNoRuleCode:t.formNoRuleCode,tableName:t.tableName,emailTemplateCode:t.emailTemplateCode,definitionId:t.definitionId,functionCode:r,systemCode:s,listCodesMap:t.listCodesMap,pageCode:t.code,pageVersion:t.version,listCodesInitSearchForm:t.listCodesInitSearchForm};t.completeTaskParam&&(c.completeTaskParam={taskId:t.completeTaskParam.taskId,opinion:t.completeTaskParam.opinion}),t.judgeHeavyList&&(f.isArrayFn(t.judgeHeavyList)?c.judgeHeavyList=JSON.stringify(t.judgeHeavyList):c.judgeHeavyList=t.judgeHeavyList);const l=o.props.base.conversionCodes;l&&(f.isArrayFn(l)?c.dataConversionRule=l.join(","):typeof l=="string"&&(c.dataConversionRule=l));const m=ge(o);m&&(c.autoSetValueData=m),t.beanName&&(c.beanName=t.beanName);const u=(h=o.props.base)==null?void 0:h.logSetting;u&&(c.logSettingText=u.join("")),c.systemCode||(c.systemCode=s);const p=q(t);c.additionalParamMap=p,p.ids&&p.ids.length>0&&(typeof p.ids=="string"?c.ids=p.ids.split(","):Array.isArray(p.ids)?c.ids=p.ids:typeof ids=="number"?c.ids=[p.ids]:console.error("ids参数类型错误"));const d=o.props.base.successOperation;d&&d==="noOperation"&&(c.unControlVersion=!0),c.isWorkflowEntity=!0;const b=(C=(i=o.runtime)==null?void 0:i.props)==null?void 0:C.title;return b&&(c.currentOperation=b),c.isMobile=g.isMobileBrowser(),c}function J(e,t,o,a,s){const n=o.code,r=o.version;let c;if(e){t&&(o.initFormNo=e.formNo,o.emailTemplateCode=e.emailTemplateCode),e.entity&&(o.entity.data=e.entity,function(m,u){const p=q(u);m&&p&&g.setSessionCache(p._t_+"_id",m)}(e.entity.id||e.entity.ID,o));const l=e.completeTaskResult;if(l){const m=l.completeTaskTipType;if(m&&m==="MESSAGE"){const u=l.content;return k.ElMessage({showClose:!0,type:"warning",message:u}),!1}}if(e.completeTaskParam){const m=e.completeTaskParam;c=m.taskId,a&&(a.taskId=c),fe.setStoreInfo(n,r,"_completeTaskParam",m),o.fieldPermissions=m.fieldPermissions,o.actionPermissions=m.actionPermissions,o.workflowButtonComponent=m.buttonComponent,o.completeTaskParam=m,o.completeTaskParam.opinion=null}o.entity||(o.entity={}),o.entity.task=e.taskParamMap,fe.setStoreInfo(n,r,"_currentActivityName",e.taskName)}return a&&(a.operationResult=s),t||L(o,a.configureObj,e,null,!1),!0}async function Y(e,t){const o=await Me(e);return new Promise((a,s)=>{var r;const n=e.pageContext;if(n.fileuploadInfo&&n.fileuploadInfo.length>0){const c=n.fileuploadInfo[0];let l;c.isTable&&c.tableTitle&&c.rowIndex!==void 0?(c.rowIndex,c.rowIndex,l=g.getI18n().t("superPageRuntimeMessage.fileUploadUnCompleteTable",{label:c.label,tableTitle:c.tableTitle,rowIndex:c.rowIndex+1})):l=g.getI18n().t("superPageRuntimeMessage.fileUploadUnComplete",{label:c.label}),k.ElMessage({message:l,type:"warning",showClose:!0}),a(!1)}else if(o){const c=n.systemCode,l=n.backendUrl,m=o===!0?(r=n.completeTaskParam)==null?void 0:r.opinion:o;let u=f.getBaseUrl(l,n.isTest)+"/dsc/workflow-commons/complete-tasks";if(u=f.getRealRestApiPath(u,c,l,n.isTest),!u)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const p=B(e);p.completeTaskParam={operationResult:t,taskId:n.completeTaskParam?n.completeTaskParam.taskId:null,opinion:m||null};const d=g.http.post(u,p);_.cacheBackfillData(n.code,n.entity.data),d.then(b=>{let h=!0;b&&(_.removeCacheFillData(n.code,n.entity.data),h=J(b,!1,n,e,t)),h===!0&&k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulCompleteTask")}),a(!0)}).catch(b=>{s(b)})}else a(!0)})}function Me(e){return new Promise((t,o)=>{var s,n,r,c,l;const a=e.configureObj;if(a){if((s=e.pageContext.workflowOpinion)!=null&&s.opinion)return void t(e.pageContext.workflowOpinion.opinion);let m=!1;if((r=(n=a.props)==null?void 0:n.base)!=null&&r.isMustOpinion&&(m=!0),m===!0){const u=e.pageContext,p=(l=(c=a.props)==null?void 0:c.base)==null?void 0:l.mustOpinionConditions;m=G.caculateShowCondition(u,p)}m===!0?(k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.pleaseInputOpinion")}),e.pageContext.workflowOpinion.focusOpinionInput=!0,t(!1)):t(!0)}else t(!0)})}function le(e){var u,p;const t=e.pageContext,o=t.entity.data,a=t.systemCode,s=t.code,n=e.configureObj,r=q(t),c=o.ID!==void 0&&o.ID!==null?o.ID:o.id,l={beanName:t.beanName,id:c,entity:o,additionalParamMap:r,tableName:t.tableName,functionCode:s+".xxx",isWorkflowEntity:!0,listCodesMap:t.listCodesMap,pageCode:t.code,pageVersion:t.version,listCodesInitSearchForm:t.listCodesInitSearchForm};l.completeTaskParam={taskId:t.completeTaskParam.taskId,systemCode:a},l.completeTaskParam.customTaskTitle=ve(e);const m=(p=(u=n==null?void 0:n.runtime)==null?void 0:u.props)==null?void 0:p.title;return m&&(l.currentOperation=m),l.isMobile=g.isMobileBrowser(),l}function ve(e){var o,a,s;let t=null;if(((a=(o=e.configureObj.props.task)==null?void 0:o.title)==null?void 0:a.length)>0)for(let n=0;n<e.configureObj.props.task.title.length;n++){const r=e.configureObj.props.task.title[n];if(r.config){if(!(((s=r.conditions)==null?void 0:s.length)>0)){t=r.config;break}if(G.caculateShowCondition(e.pageContext,r.conditions)){t=r.config;break}}}return t}function q(e){if(e.entity){let t=f.deepCopy(e.entity.page);t||(t={});const o=e.entity.request;return o&&Object.assign(t,o),t}}async function V(e,t,o,a){const s=await Me(e);return new Promise((n,r)=>{var c;if(s){const l=e.pageContext,m=l.systemCode,u=l.backendUrl;if(l.completeTaskParam){const d=s===!0?(c=l.completeTaskParam)==null?void 0:c.opinion:s;t.completeTaskParam={taskId:l.completeTaskParam.taskId,opinion:d}}if(!(o=f.getRealRestApiPath(o,m,u,l.isTest)))return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const p=g.http.post(o,t);p&&p.then(d=>{let b=!0;d&&(b=J(d,!1,l,e,null)),b===!0&&k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t(a)}),n(!0)}).catch(d=>{r(d)})}else n(!0)})}function Se(e){const t=e.pageContext,o=t.backendUrl;let a=f.getBaseUrl(o,t.isTest)+"/dsc/workflow-commons/initiate-extract";const s=B(e);if(t.completeTaskParam){const n=[];e._value.loginName&&n.push(e._value.loginName),s.completeTaskParam={taskId:t.completeTaskParam.taskId,opinion:e._value.opinion,transactors:n,customTaskTitle:ve(e)}}return new Promise((n,r)=>{const c=e.pageContext,l=c.systemCode,m=c.backendUrl;if(a=f.getRealRestApiPath(a,l,m,c.isTest),!a)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const u=g.http.post(a,s);u&&u.then(p=>{let d=!0;p&&(d=J(p,!1,c,e,null)),d===!0&&k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulInitiateExtract")}),n(!0)}).catch(p=>{r(p)})})}function We(e,t,o){return!(!e.processState||e.processState!=="EXTRACT"||e.active!=="WAIT_TRANSACT")}function pe(e,t){e.entity.page||(e.entity.page={}),e.entity.page._isRefresh=!0,xe(e,t).then(o=>{e.isRefresh=!0})}function xe(e,t,o){const a=e.pageType;return a&&a==="form"?(e.canClick=!1,f.isWorkflowPage(e)?function(s,n,r){return new Promise((c,l)=>{const m=s.systemCode,u=s.code,p=s.version,d=q(s);let b=n||null,h=n?[n]:null;r===void 0||r?(b||(b=d&&d.id?d.id:null),h||(h=d?d.ids:null)):(b=null,h=null,d._id=d.id,d.id=null);const i=d?d.taskId:null,C=u,w={pageCode:u,pageVersion:p,tableName:s.tableName,formNoRuleCode:s.formNoRuleCode,isWorkflowEntity:!0,systemCode:m,functionCode:C+".workflowGets",listCodesMap:s.listCodesMap,listCodesInitSearchForm:s.listCodesInitSearchForm};if(s.listCodesMap,(!s.listCodesMap||Object.keys(s.listCodesMap).length===0)&&s.tableUuids){const P={};s.tableUuids.forEach(R=>{const E=f.getListCode(u,p,R);P[E]=E}),w.listCodesMap=P}h&&(w.ids=ke(h)),i?w.taskId=i:b?w.id=b:(d&&d._t_&&g.getSessionCache(d._t_+"_id")&&(w.id=g.getSessionCache(d._t_+"_id")),s.notIdInitializationList&&(w.noIdAndTaskIdInitSetting=JSON.stringify(s.notIdInitializationList))),d&&(w.additionalParamMap=d),s.beanName&&(w.beanName=s.beanName),s.refercePropMap&&(w.refercePropMap=s.refercePropMap),w.isMobile=g.isMobileBrowser();const T=f.getBaseUrl(s.backendUrl,s.isTest)+"/dsc/workflow-commons/gets",y=we.usePageContextStore();y.restorePageLoadState(),j.handleEvent(null,s,s,"beforeFormLoadData");const I=_.hasBackfillData(s.code,w.id);g.http.post(T,w).then(async P=>{I&&await Te(s,w.id,P),s.workflowOpinion={showOpinionBox:!1},s.definitionId=P.definitionId,s.entity.task=P.taskParamMap,s.dataTypeMaps=P.dataTypeMap,J(P,!0,s),s.workflowRules=Ce.getWorkflowRules(s);const R=s.pageType;R&&R==="form"&&function(E){(function(S){const M=new Map,U=S.fieldPermissions;if(U!==void 0)for(let x=0;x<U.length;x++){const v=U[x].name;if(v)if(v.indexOf("$")===0&&v.indexOf(".")>0){const N=U[x],A=JSON.parse(JSON.stringify(N)),W=v.substring(1,v.indexOf(".")),F=v.substring(v.indexOf(".")+1);if(A.name=F,A&&A.name==="all_fields")A.canEdit===!1?A.rowIndexes?M.set(W,[{name:"all_fields",canEdit:!1,rowIndexes:A.rowIndexes}]):M.set(W,[{name:"all_fields",canEdit:!1}]):A.rowIndexes?M.set(W,[{name:"all_fields",canEdit:!0,rowIndexes:A.rowIndexes}]):M.set(W,[{name:"all_fields",canEdit:!0}]);else{let H=M.get(W);H||(H=[]),H.push(A),M.set(W,H)}}else M.set(v,U[x])}S.fieldPermissionMap=M})(E),function(S){const M=S.fieldPermissionMap,U=new Map,x=S.actionPermissions;x!=null&&Object.keys(x).forEach(v=>{const N=x[v],A=M.get(v);if(A&&A.length>0&&A[0].name==="all_fields"&&A[0].canEdit===!1)N.canUpdate=!1,N.canAdd=!1;else{N&&Object.keys(N.deleteCondition).length!==0||(N.deleteCondition=null),N&&Object.keys(N.updateCondition).length!==0||(N.updateCondition=null);const W=N.canUpdate,F=N.updateRowIndexes;W!==void 0&&W===!1&&F!=null&&F.length>0&&M.set(v,[{name:"all_fields",canEdit:!1,rowIndexes:F}])}U.set(v,N)}),S.actionPermissionMap=U}(E)}(s),s.canClick=!0,j.handleEvent(null,s,s,"afterFormLoadData"),y.setFormPageDataLoadState(!0),c(P)}).catch(P=>{s.canClick=!0,l(P)})})}(e,t,o):function(s,n,r){return new Promise((c,l)=>{const m=s.systemCode,u=s.code,p=s.version,d=q(s);let b=n||null,h=n?[n]:null;r===void 0||r?(b||(b=d&&d.id?d.id:null),h||(h=d?d.ids:null)):(b=null,h=null,d._id=d.id,d.id=null);const i=d?d.taskId:null,C=u,w=f.getBaseUrl(s.backendUrl,s.isTest),T={pageCode:u,pageVersion:p,tableName:s.tableName,formNoRuleCode:s.formNoRuleCode,id:b,systemCode:m,functionCode:C+".gets",listCodesMap:s.listCodesMap,listCodesInitSearchForm:s.listCodesInitSearchForm};if(!T.id&&d&&d._t_&&g.getSessionCache(d._t_+"_id")&&(T.id=g.getSessionCache(d._t_+"_id")),h&&(T.ids=ke(h)),s.notIdInitializationList&&(T.noIdAndTaskIdInitSetting=JSON.stringify(s.notIdInitializationList)),d&&(T.additionalParamMap=d),s.beanName&&(T.beanName=s.beanName),i&&(T.taskId=i),s.listCodesMap,(!s.listCodesMap||Object.keys(s.listCodesMap).length===0)&&s.tableUuids){const R={};s.tableUuids.forEach(E=>{const S=f.getListCode(u,p,E);R[S]=S}),T.listCodesMap=R}s.refercePropMap&&(T.refercePropMap=s.refercePropMap),T.isMobile=g.isMobileBrowser();const y=w+"/dsc/commons/gets",I=we.usePageContextStore();I.restorePageLoadState(),j.handleEvent(null,s,s,"beforeFormLoadData");const P=_.hasBackfillData(s.code,T.id);g.http.post(y,T).then(async R=>{R&&(P&&await Te(s,T.id,R),s.entity.data=R.entity,s.initFormNo=R.formNo);const E=s.customRules,S=s.rules,M=Ce.packageCustomRules(s,E,S);s.rules=M,s.canClick=!0,j.handleEvent(null,s,s,"afterFormLoadData"),I.setFormPageDataLoadState(!0),c(R)}).catch(R=>{s.canClick=!0,l(R)})})}(e,t,o)):new Promise((s,n)=>{s(!0)})}async function Te(e,t,o){try{await k.ElMessageBox.confirm("检测到您有未保存的数据,是否继续填写上次未保存的数据?","提示",{confirmButtonText:"是",cancelButtonText:"否",type:"warning"}),o.entity=_.getRealFillData(e.code,t,o.entity)}catch{}_.removeCacheFillDataById(e.code,t)}function ke(e){return e&&(typeof e=="string"?e=e.split(","):typeof e=="number"&&(e=[e])),e}function ge(e){const t=e.props.setValueList;if(t){if(f.isArrayFn(t)&&t.length>0)return JSON.stringify(t);if(typeof t=="string"&&t!=="[]")return t}return null}function de(e){e.exportNoticeInfo&&(e.exportNoticeInfo.noticeInterval&&clearInterval(e.exportNoticeInfo.noticeInterval),e.exportNoticeInfo.noticeComponent=null,e.exportNoticeInfo.noticeInterval=null),e.exportNoticeInfo={},Ue(e.exportNoticeInfo,e.backendUrl,e.code)}function Ee(e,t,o){e.lastFileTask&&!e.noticeComponent?e.noticeComponent=k.ElNotification({title:g.getI18n().t("superPageRuntimeMessage.logTip"),duration:0,position:"top-right",type:"success",onClose(){e.lastFileTask.taskState==="Success"||e.lastFileTask.taskState==="Fail"||e.lastFileTask.taskState==="PartSuccess"?ce(t,o,e.lastFileTask.id,e):(e.noticeComponent=null,e.noticeInterval==null&&Ue(e,t,o))},message:()=>Be.h(_e,{isShow:!0,backendUrl:t,lastFileTask:e.lastFileTask,onClickMsg(a){a.serverPath?function(s,n,r,c,l,m){ce(l,m,r,c);const u=g.getToken(),p=f.getBaseUrl(l),d=p+"/common/super-form/downloads?jwt="+u+"&showName="+encodeURI(s)+"&serverPath="+n;window.open(d)}(a.fileName,a.serverPath,a.id,e,t,o):ce(t,o,a.id,e),e.noticeComponent.close(),e.noticeComponent=null}})}):(e.noticeComponent!=null&&(e.noticeComponent.close(),e.noticeComponent=null),e.noticeInterval&&(clearInterval(e.noticeInterval),e.noticeInterval=null))}function Ue(e,t,o){e.noticeInterval||(e.noticeInterval=setInterval(()=>{e.noticeComponent||function(a,s,n){Ne(s,n).then(r=>{a.lastFileTask=r,Ee(a,s,n)})}(e,t,o)},3e3))}function Ne(e,t){return ee.getCurrentUserFileTasks(e,t)}function ce(e,t,o,a){ee.setFileTaskRead(e,o).then(()=>{(function(s,n,r){Ne(n,r).then(c=>{s.lastFileTask=c,Ee(s,n,r)})})(a,e,t)})}exports.dealAfterOperate=L,exports.dealCompleteTaskParam=J,exports.deleteChartCondition=function(e){const t=window.$vueApp.config.globalProperties.baseAPI+"/component/chart-search-condition/"+e;return g.http.delete(t)},exports.doAddSigner=function(e,t){if(t){const o=e.pageContext,a=e.configureObj,s=o.systemCode,n=o.backendUrl;let r=f.getBaseUrl(n,o.isTest)+"/dsc/workflow-commons/add-signers";if(r=f.getRealRestApiPath(r,s,n,o.isTest),!r)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const c=le(e);c.completeTaskParam.transactors=t.loginNames.join(",").split(",");const l=g.http.post(r,c);l&&l.then(m=>{k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulOperation")}),m.entity&&L(o,a,m,null,!1),j.doAfterClickEvent(o,a)})}},exports.doAddTransactor=function(e,t){if(t){const o=e.pageContext,a=e.configureObj,s=o.systemCode,n=o.backendUrl;let r=f.getBaseUrl(n,o.isTest)+"/dsc/workflow-commons/add-transactors";if(r=f.getRealRestApiPath(r,s,n,o.isTest),!r)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const c=le(e);c.completeTaskParam.transactors=t.loginNames.join(",").split(",");const l=g.http.post(r,c);l&&l.then(m=>{k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulOperation")}),m.entity&&L(o,a,m,null,!1),j.doAfterClickEvent(o,a)})}},exports.doAssign=function(e,t){if(t){const o=e.pageContext,a=e.configureObj,s=o.backendUrl,n=f.getBaseUrl(s,o.isTest)+"/dsc/workflow-commons/assigns",r=t.id?t.id:t.ID?t.ID:null,c=B(e);c.assigneeId=r,V(e,c,n,"superPageRuntimeMessage.successfulAssign").then(l=>{j.doAfterClickEvent(o,a)})}},exports.doCreateCopyTask=async function(e,t){if(t){const o=await function(a){return new Promise((s,n)=>{var c,l,m,u;const r=a.configureObj;if(r){let p=(l=(c=r.props)==null?void 0:c.base)==null?void 0:l.isMustRemark;if(p===void 0||p===!0){p=!0;const d=a.pageContext,b=(u=(m=r.props)==null?void 0:m.base)==null?void 0:u.mustRemarkConditions;p=G.caculateShowCondition(d,b)}p===!0?k.ElMessageBox.prompt(g.getI18n().t("superPageRuntimeMessage.pleaseInputRemark"),g.getI18n().t("superPageRuntimeMessage.remark"),{confirmButtonText:g.getI18n().t("superPageRuntimeMessage.sure"),cancelButtonText:g.getI18n().t("superPageRuntimeMessage.cancel"),inputType:"textarea",inputValue:null,closeOnClickModal:!1,inputValidator:d=>!(!d||!d.trim())||g.getI18n().t("superPageRuntimeMessage.pleaseInputRemark")}).then(({value:d})=>{s(d)}).catch(()=>{s(!1)}):s(!0)}else s(!0)})}(e);if(o){const a=e.pageContext,s=e.configureObj,n=a.systemCode,r=a.backendUrl;let c=f.getBaseUrl(r,a.isTest)+"/dsc/workflow-commons/copies";if(c=f.getRealRestApiPath(c,n,r,a.isTest),!c)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const l=le(e);l.completeTaskParam.transactors=t.loginNames.join(",").split(","),o!==!0&&(l.completeTaskParam.remark=o);const m=g.http.post(c,l);m&&m.then(u=>{var p;k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulOperation")}),L(a,s,{entity:(p=a.entity)==null?void 0:p.data},null),j.doAfterClickEvent(a,s)})}}},exports.doFileTaskFunc=de,exports.doImportFinally=function(e,t){var E,S,M;const o=e.pageContext,a=e.configureObj,s=e.tableConfigure,n=a.props.base,r=a.props.base.tableUuid?a.props.base.tableUuid:e.tableUuid,c=ee.getTableNameByTableUuid(o,r),l=new FormData;l.append("multipartFile",t),c&&l.append("tableName",c);const m=(S=(E=a.runtime)==null?void 0:E.props)==null?void 0:S.title;m&&l.append("currentOperation",m),l.append("isMobile",g.isMobileBrowser()),o.importBeanName&&l.append("importBeanName",o.importBeanName),o.beanName&&l.append("beanName",o.beanName);const u=(M=s.props.importSetting)==null?void 0:M.listViewImportDuplicate;u&&l.append("importDuplicateRule",u);const p=o.judgeHeavyList;p&&l.append("judgeHeavyList",JSON.stringify(p));const d=ge(a);d&&l.append("autoSetValueData",d);const b=o.formNoRuleCode;b&&l.append("formNoRuleCode",b);const h=e.listCode;h&&l.append("listCode",h);let i=!1;i=n.isAsync!==void 0&&n.isAsync!==null&&n.isAsync,l.append("isAsync",i+""),l.append("pageCode",o.code);const C=f.isWorkflowPage(o);C!=null&&l.append("isWorkflowEntity",C+"");const w=$.getPermissionCodes(a,o);w&&l.append("functionCode",w);const T=q(o);l.append("additionalParamMapStr",JSON.stringify(T));const y=n.isPermission===void 0||n.isPermission==="true"||n.isPermission;l.append("isPermission",y+"");const I=o.systemCode;I&&l.append("systemCode",I);const P=o.backendUrl;let R=f.getBaseUrl(P,o.isTest)+"/dsc/commons/import-data";R=f.getRealRestApiPath(R,I,P,o.isTest),g.http.post(R,l).then(U=>{if(i)k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.asyncImport")}),de(o);else{let x=!1;U?(x=!1,k.ElMessage({dangerouslyUseHTMLString:!0,showClose:!0,type:"warning",message:U})):(k.ElMessage({showClose:!0,type:"success",message:g.getI18n().t("superPageRuntimeMessage.successfulImport")}),x=!0),L(o,a,U,null,!0),o.result=x,j.doAfterClickEvent(o,a)}}).catch(U=>{})},exports.doRemoveSigners=function(e,t){if(t){const o=e.pageContext,a=e.configureObj,s=o.systemCode,n=o.backendUrl;let r=f.getBaseUrl(n,o.isTest)+"/dsc/workflow-commons/remove-signers";if(r=f.getRealRestApiPath(r,s,n,o.isTest),!r)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const c=t.map(u=>u.id?u.id:u.ID?u.ID:null),l=B(e);l.ids=c;const m=g.http.post(r,l);m&&m.then(u=>{L(o,a,u,"superPageRuntimeMessage.successfulOperation",!1),j.doAfterClickEvent(o,a)})}},exports.doRemoveTransactors=function(e,t){if(t){const o=e.pageContext,a=e.configureObj,s=o.systemCode,n=o.backendUrl;let r=f.getBaseUrl(n,o.isTest)+"/dsc/workflow-commons/remove-transactors";if(r=f.getRealRestApiPath(r,s,n,o.isTest),!r)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const c=t.map(u=>u.taskId),l=B(e);l.ids=c;const m=g.http.post(r,l);m&&m.then(u=>{L(o,a,u,"superPageRuntimeMessage.successfulOperation",!1),j.doAfterClickEvent(o,a)})}},exports.doReturnTaskTo=function(e,t){const o=e.pageContext,a=e.configureObj,s=o.backendUrl,n=f.getBaseUrl(s,o.isTest)+"/dsc/workflow-commons/returnTaskTo",r=B(e);t.nodeName&&(r.returnToNodeName=t.nodeName),t.nodeId&&(r.returnToNodeId=t.nodeId),V(e,r,n,"superPageRuntimeMessage.successfulReturnTaskTo").then(c=>{j.doAfterClickEvent(o,a)})},exports.exportFormReport=function(e,t,o,a){var y,I,P,R,E,S,M,U,x,v,N,A,W;e.clickUuid=t.uuid,e.canClick=!1;const s=o.templateUuid,n=o.templateName,r=e.systemCode,c=(y=t.props.base)==null?void 0:y.logSetting,l=f.isWorkflowPage(e),m=e.beanName,u=t.props.base,p=t.tableName?t.tableName:e.tableName,d=e.backendUrl,b=Oe.functions.getFormViewData(e),h=u.isPermission===void 0||u.isPermission==="true"||u.isPermission,i={entity:b,fileName:s,showName:n,beanName:m,isWorkflowForm:l,functionCode:$.getPermissionCodes(t,e),tableName:p,isPermission:h+"",systemCode:r,listCodesMap:e.listCodesMap,pageCode:e.code,pageVersion:e.version,listCodesInitSearchForm:e.listCodesInitSearchForm};c&&(i.logSettingText=c.join(""));const C=(P=(I=t.runtime)==null?void 0:I.props)==null?void 0:P.title;C&&(i.currentOperation=C),i.isMobile=g.isMobileBrowser();const w=q(e);let T;i.additionalParamMap=w,i.isShowWatermark=((E=(R=t.props)==null?void 0:R.watermark)==null?void 0:E.isShowWatermark)===void 0?"true":((M=(S=t.props)==null?void 0:S.watermark)==null?void 0:M.isShowWatermark)+"",i.watermark=(x=(U=t.props)==null?void 0:U.watermark)!=null&&x.content&&((N=(v=t.props)==null?void 0:v.watermark)==null?void 0:N.content.length)>0?(W=(A=t.props)==null?void 0:A.watermark)==null?void 0:W.content.join("-~"):"",T=a?function(F,H,oe,se){return new Promise((ne,ae)=>{const ie=f.getBaseUrl(H,se)+"/dsc/commons/export-pdf";ue();const X=Z.post(ie,oe,{headers:{"content-type":"application/json"},responseType:"blob"});window.$message.info("正在导出中..."),X.then(Q=>{const te=new Blob([Q.data]),D=document.createElement("a");D.download=F.substring(0,F.lastIndexOf("."))+".pdf",D.style.display="none",D.target="_blank",D.href=URL.createObjectURL(te),document.body.appendChild(D),D.click(),URL.revokeObjectURL(D.href),document.body.removeChild(D),ne(!0)}).catch(Q=>{ae(Q)})})}(n,d,i,e.isTest):function(F,H,oe,se){return new Promise((ne,ae)=>{const ie=f.getBaseUrl(H,se)+"/dsc/commons/export-reports";ue(),Z.post(ie,oe,{responseType:"blob"}).then(X=>{const Q=new Blob([X.data]);let te="报告.xlsx";F&&(te=F);const D=document.createElement("a");D.download=te,D.style.display="none",D.target="_blank",D.href=URL.createObjectURL(Q),document.body.appendChild(D),D.click(),URL.revokeObjectURL(D.href),document.body.removeChild(D),ne(!0)}).catch(X=>{ae(X)})})}(n,d,i,e.isTest),T&&T.then(()=>{j.doAfterClickEvent(e,t)}).catch(F=>{window.$message.error("导出失败..."),j.doAfterClickEvent(e,t)})},exports.extractWorkflowFunc=Se,exports.getAdditionalParamMap=q,exports.getFormData=xe,exports.getRemoveSigner=function(e){const t=e.pageContext,o=t.systemCode,a=t.backendUrl;let s=f.getBaseUrl(a,t.isTest)+"/dsc/workflow-commons/get-remove-signers";const n=B(e);if(s=f.getRealRestApiPath(s,o,a,t.isTest),s)return g.http.post(s,n);k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")})},exports.getRemoveTransactor=function(e){const t=e.pageContext,o=t.systemCode,a=t.backendUrl;let s=f.getBaseUrl(a,t.isTest)+"/dsc/workflow-commons/get-remove-transactors";const n=B(e);if(s=f.getRealRestApiPath(s,o,a,t.isTest),s)return g.http.post(s,n);k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")})},exports.getSaveFormRequest=Pe,exports.getSaveFormRequestWithRow=Ie,exports.getTaskInformitions=function(e){const t=e.pageContext,o=t.systemCode,a=t.backendUrl,s=t.completeTaskParam;let n=f.getBaseUrl(a,t.isTest)+"/dsc/workflow-commons/returnable-task/"+s.taskId;if(n=f.getRealRestApiPath(n,o,a,t.isTest),!n)return void k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.requestPathEmpty")});const r=t.code,c=q(t),l={beanName:t.beanName,additionalParamMap:c,tableName:t.tableName,functionCode:r+".xxx",pageCode:t.code};return g.http.post(n,l)},exports.isVisibleWorkflowButton=function(e,t,o,a,s,n){var c,l,m,u,p,d,b,h;let r=!1;if(a&&a.archival)return r;if(t&&o&&(t==="workflowSave"?r=function(i){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"))}(o):t==="workflowStart"?r=function(i,C){return!!(i.processState===void 0||i.processState===null||C&&!C.workflow_id&&!C.WORKFLOW_ID)}(o,n):t==="submitProcess"?r=function(i){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)}(o):t==="submitTask"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.theTransactor===!0&&i.active==="WAIT_TRANSACT"&&i.processingMode==="EDIT")}(o):t==="drawTask"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.active&&(i.active==="DRAW_WAIT"||i.active==="DEPT_DRAW_WAIT")&&i.showButtonDraw)}(o):t==="abandonReceive"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&(i.drawTask&&i.active==="WAIT_TRANSACT"||i.canAbandonDeptTask&&i.active==="WAIT_TRANSACT")&&i.showButtonAbandon)}(o):t==="approve"||t==="refuse"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.active==="WAIT_TRANSACT"&&(i.processingMode==="APPROVE"||i.processingMode==="COUNTERSIGN"))}(o):t==="readed"?r=function(i){return i.active==="WAIT_TRANSACT"&&i.processingMode==="TYPE_READ"}(o):t==="assign"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.processingMode!=="TYPE_READ"&&(i.active==="WAIT_TRANSACT"||i.active==="DRAW_WAIT"))}(o):t==="copyTask"?r=function(i,C){let w=!1;return i.processState&&i.processState==="SUBMIT"&&i.active==="WAIT_TRANSACT"&&i.processingMode!=="TYPE_READ"&&i.showButtonCopy&&(w=!0),C&&(C.props.base.state=w?"":"hidden"),!0}(o,s):t==="addSigner"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.active==="WAIT_TRANSACT"&&i.processingMode==="COUNTERSIGN"&&i.showButtonAddCounter)}(o):t==="removeSigner"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.active==="WAIT_TRANSACT"&&i.processingMode==="COUNTERSIGN"&&i.showButtonDelCounter)}(o):t==="retrieveTask"?r=function(i){return!!(i.processState&&i.processState!=="END"&&i.processState==="SUBMIT"&&i.showButtonGetBack===!0&&function(C){return!(C.active!=="COMPLETED"||C.processingMode==="TYPE_READ"||!C.showButtonGetBack)}(i))}(o):t==="agreement"||t==="oppose"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.active==="WAIT_TRANSACT"&&i.processingMode==="VOTE")}(o):t==="kiken"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&i.active==="WAIT_TRANSACT"&&i.processingMode==="VOTE"&&i.showButtonKiken)}(o):t==="extractWorkflow"?r=function(i,C,w){var I;const T=g.getCurrentUser(),y=T?T.loginName:null;if(i!=null&&i.processState){if(((I=C==null?void 0:C.firstNodeInfo)==null?void 0:I.nodeId)===(w==null?void 0:w.CURRENT_ACTIVITY_ID))return!1;if((i==null?void 0:i.processState)!=="END"&&(i==null?void 0:i.processState)!=="EXTRACT"&&(i==null?void 0:i.processState)!=="MANUAL_END"&&w&&(w.creator===y||w.CREATOR===y))return!0}return!1}(o,a,n):t==="cancelExtractWorkflow"?r=function(i,C,w){const T=g.getCurrentUser(),y=T?T.loginName:null;return!!((i==null?void 0:i.processState)==="EXTRACT"&&w&&(w.creator===y||w.CREATOR===y))}(o,0,n):t==="approveExtractWorkflow"||t==="refuseExtractWorkflow"?r=We(o):t==="addTransactor"||t==="removeTransactor"?r=function(i){return!!(i.processState&&i.processState==="SUBMIT"&&(i.active==="WAIT_TRANSACT"||i.active==="DRAW_WAIT")&&i.processingMode!=="COUNTERSIGN")}(o):function(i,C){return i.processState&&i.processState==="SUBMIT"&&i.processingMode!=="TYPE_READ"&&!function(w){const T=w;let y=!0;return T&&(y=T.taskComplete),y}(C)}(o,a)&&(r=t!=="returnToPreviousTask"||function(i){return!!i.rebuttable}(o))),(s==null?void 0:s.check)&&["submitTask","approve","refuse","agreement","oppose","kiken","extractWorkflow","cancelExtractWorkflow","approveExtractWorkflow","refuseExtractWorkflow","returnToPreviousTask","returnTaskTo"].indexOf(t)!==-1&&r){if(e.workflowOpinion||(e.workflowOpinion={showOpinionBox:!1}),(l=(c=s.props)==null?void 0:c.base)==null?void 0:l.showOpinionBox){e.workflowOpinion.showOpinionBox=!0;const C=(u=(m=s.props)==null?void 0:m.base)==null?void 0:u.showOpinionBoxConditions;C&&C.length>0&&(e.workflowOpinion.showOpinionBox=G.caculateShowCondition(e,C))}let i=!1;if((d=(p=s.props)==null?void 0:p.base)!=null&&d.isMustOpinion){if(i=!0,i===!0){const C=(h=(b=s.props)==null?void 0:b.base)==null?void 0:h.mustOpinionConditions;C&&C.length>0&&(i=G.caculateShowCondition(e,C))}e.workflowOpinion.isRequired=i,i&&(e.workflowOpinion.showOpinionBox=!0)}}return e.workflowOpinion,r},exports.judgeDataNumber=function(e,t){const o=e.props.base;if(o.conditionsForExecution&&o.conditionsForExecution!==""){if(o.conditionsForExecution==="one"){if(!t||t.length!==1)return k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo",{message:g.getI18n().t("superPageRuntimeMessage.onlyOneRecordCanBeselected")})}),!1}else if(o.conditionsForExecution==="more"&&(!t||t.length<=0))return k.ElMessage({showClose:!0,type:"warning",message:g.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo",{message:g.getI18n().t("superPageRuntimeMessage.selectAtLeastOneRecord")})}),!1}return!0},exports.listChartConditions=function(e){const t=e.code,o=window.$vueApp.config.globalProperties.baseAPI+"/component/chart-search-condition/list/"+t;return g.http.get(o)},exports.refreshFormOrListPage=function(e,t,o,a){var r;t&&!t.props.base&&(t.props.base={});let s=a;s||(s=o?"refresh":(r=t.props.base)==null?void 0:r.successOperation);const n=Re(e,t);if(n&&n==="list"&&!s&&(s="refresh"),s==="refresh"){if(n&&n==="list"){const c=j.getTableUuid(e,t);c?z.getComponentRef(e,c).refresh():console.error("tableUuid is empty")}else if(n&&n==="form"){const c=e.entity.data;pe(e,c.ID?c.ID:c.id)}}},exports.refreshPage=pe,exports.saveChartConditionBase=function(e,t){const o=e.entity?e.entity:{},a={data:o.data,page:o.page},s={pageCode:e.code,queryCondition:JSON.stringify(a),name:t},n=window.$vueApp.config.globalProperties.baseAPI+"/component/chart-search-condition";return g.http.post(n,s)},exports.standardEvents=De,exports.updateValuesWhenCloseDialog=function(e,t,o,a,s){var r;s||(s=t.runtime&&t.runtime.linkPage&&t.runtime.linkPage.valueMappings?t.runtime.linkPage.valueMappings:null)||(s=(r=t.props.linkPage)==null?void 0:r.valueMappings);const n=e.tableName;(function(c,l,m){if(c&&c!==null&&l){let u=c;Array.isArray(c)&&c.length>0&&(u=c[0]),l.forEach(p=>{const d=p.source;if(!d)return;const b=d.split("."),h=G.getVariableValue(u,b),i=p.target,C=$.getModelFields(null,i);G.setVariableValue(m.entity,C,h)})}})(o,s,e),j.handleEvent(null,e,t,"setValue",{sourceModel:o,sourceTableName:a,entity:e.entity.data,targetTableName:n})};
@@ -0,0 +1,99 @@
1
+ import { PageContext } from '../interfaces/page-design-types';
2
+
3
+ export declare const standardEvents: {
4
+ save: (params: any) => Promise<unknown>;
5
+ saveList: (params: any) => Promise<unknown>;
6
+ exportForm: (params: any) => void;
7
+ exportPDF: (params: any) => void;
8
+ submit: (params: any) => Promise<unknown>;
9
+ submitList: (params: any) => Promise<unknown>;
10
+ agree: (params: any) => Promise<unknown>;
11
+ agreeList: (params: any) => Promise<unknown>;
12
+ disagree: (params: any) => Promise<unknown>;
13
+ disagreeList: (params: any) => Promise<unknown>;
14
+ back: (params: any) => void;
15
+ delete: (params: any) => Promise<unknown>;
16
+ downloadTemplate: (params: any) => void;
17
+ import: (params: any) => void;
18
+ export: (params: any) => Promise<unknown>;
19
+ search: (params: any) => void;
20
+ showSearch: (params: any) => void;
21
+ workflowSave: (params: any) => Promise<unknown>;
22
+ workflowStart: (params: any) => Promise<unknown>;
23
+ submitProcess: (params: any) => Promise<unknown>;
24
+ submitTask: (params: any) => Promise<unknown>;
25
+ approve: (params: any) => Promise<unknown>;
26
+ refuse: (params: any) => Promise<unknown>;
27
+ readed: (params: any) => Promise<unknown>;
28
+ agreement: (params: any) => Promise<unknown>;
29
+ oppose: (params: any) => Promise<unknown>;
30
+ kiken: (params: any) => Promise<unknown>;
31
+ assign: (params: any) => void;
32
+ copyTask: (params: any) => void;
33
+ addSigner: (params: any) => void;
34
+ drawTask: (params: any) => Promise<unknown>;
35
+ abandonReceive: (params: any) => Promise<unknown>;
36
+ returnToPreviousTask: (params: any) => Promise<unknown>;
37
+ endInstance: (params: any) => Promise<unknown>;
38
+ returnTaskTo: (params: any) => void;
39
+ removeSigner: (params: any) => void;
40
+ retrieveTask: (params: any) => Promise<unknown>;
41
+ extractWorkflow: (params: any) => Promise<unknown>;
42
+ extractWorkflowEvent: (params: any) => void;
43
+ cancelExtractWorkflow: (params: any) => Promise<unknown>;
44
+ approveExtractWorkflow: (params: any) => Promise<unknown>;
45
+ refuseExtractWorkflow: (params: any) => Promise<unknown>;
46
+ viewDetail: (params: any) => void;
47
+ lineEditCreate: (params: any) => void;
48
+ printLabel: (params: any) => void;
49
+ queryCharts: (params: any) => void;
50
+ resetCharts: (params: any) => void;
51
+ exportCharts: (params: any) => void;
52
+ saveQueryCharts: (params: any) => void;
53
+ addTransactor: (params: any) => void;
54
+ removeTransactor: (params: any) => void;
55
+ };
56
+ export declare function exportFormReport(pageContext: any, configureObj: any, templateFile: any, isPdf: any): void;
57
+ export declare function getSaveFormRequestWithRow(pageContext: PageContext, configureObj: any, url: string, isUnControlVersion: boolean, mainDefaultValueColumns: any, dynamicColumnInfo: any, row: any, otherParams: any, isTable?: any): any;
58
+ export declare function getSaveFormRequest(pageContext: PageContext, configureObj: any, url: any, isUnControlVersion: any, mainDefaultValueColumns: any, dynamicColumnInfo: any): any;
59
+ /**
60
+ * 按钮执行后页面处理方式:刷新、关闭弹框等等
61
+ * @param pageContext
62
+ * @param configureObj
63
+ * @param data
64
+ * @param successTip
65
+ * @param isListButton
66
+ */
67
+ export declare function dealAfterOperate(pageContext: any, configureObj: any, data: any, successTip: any, isListButton?: boolean): void;
68
+ export declare function updateValuesWhenCloseDialog(parentPageContext: any, parentConfigureObj: any, sourceModel: any, sourceTableName: any, valueMappings?: any): void;
69
+ export declare function refreshFormOrListPage(pageContext: any, configureObj: any, isRefreshWhenClosePopup: any, mySuccessOperation: any): void;
70
+ export declare function doImportFinally(params: any, fileObj: any): void;
71
+ export declare function judgeDataNumber(buttonConfigureObj: any, ids: any): boolean;
72
+ export declare function dealCompleteTaskParam(commonEntity: any, isInit: any, pageContext: any, params?: any, operationResult?: any): boolean;
73
+ export declare function doAssign(params: any, selectNodeInfo: any): void;
74
+ export declare function getAdditionalParamMap(pageContext: any): any;
75
+ export declare function doAddSigner(params: any, selectNodeInfo: any): void;
76
+ export declare function doAddTransactor(params: any, selectNodeInfo: any): void;
77
+ export declare function doCreateCopyTask(params: any, selectNodeInfo: any): Promise<void>;
78
+ export declare function getTaskInformitions(params: any): any;
79
+ export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
80
+ export declare function getRemoveSigner(params: any): any;
81
+ export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
82
+ export declare function getRemoveTransactor(params: any): any;
83
+ export declare function doRemoveTransactors(params: any, selectRemoveTasks: any): void;
84
+ export declare function extractWorkflowFunc(params: any): Promise<unknown>;
85
+ export declare function isVisibleWorkflowButton(pageContext: any, standardEventName: any, buttonInfo: any, completeTaskParam: any, btnConfigure: any, data: any): boolean;
86
+ /**
87
+ * 刷新页面
88
+ * @param pageContext
89
+ */
90
+ export declare function refreshPage(pageContext: PageContext, id?: any): void;
91
+ /**
92
+ * 获得表单数据
93
+ * @param pageContext
94
+ */
95
+ export declare function getFormData(pageContext: PageContext, id?: any, isNeedId?: boolean): Promise<unknown>;
96
+ export declare function saveChartConditionBase(pageContext: any, conditionName: string): any;
97
+ export declare function listChartConditions(pageContext: any): any;
98
+ export declare function deleteChartCondition(conditionId: any): any;
99
+ export declare function doFileTaskFunc(pageContext: any): void;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ue=require("async-validator"),S=require("element-plus"),C=require("../global-refs.cjs"),h=require("agilebuilder-ui"),K=require("./standard-event.cjs"),k=require("../common-util.cjs"),O=require("../anchor-util.cjs");function Q(e,n,t){const l={};n||(n={});let o=0;const i=e.split(".");return i.forEach(s=>{let d;if(o===i.length-1)d=function(u,c,f){let a;for(let r=0;r<c.length&&(a=r===0?u[c[r]]:a.fields[c[r]],!(r!==c.length-1&&c[r+1]===f));r++);return a}(l,i,s),d.fields[s]=t;else{let u;o===0?d=n:(u=function(c,f,a){let r;for(let p=0;p<f.length;p++){const g=f[p];if(r=p===0?c[g]:r.fields[f[p]],g===a)break}return r}(l,i,i[o-1]),d=u.fields),d[s]||(d[s]={type:"object",required:!0,fields:{}}),o===0?l[s]=d[s]:u.fields[s]=d[s]}o++}),l}function ne(e,n,t,l,o,i){return oe(e,n,t,l,!0,o,i)}function se(e){if(e)return Object.keys(e).forEach(n=>{if(n.indexOf(".")>=0){let t=[];t=n.split("."),e[t[0]]?e[t[0]].fields[t[1]]=e[n][0]:(e[t[0]]=new Object,e[t[0]].fields=new Object,e[t[0]].fields[t[1]]=e[n][0],e[t[0]].type="object"),delete e[n]}}),e}function oe(e,n,t,l,o,i,s){let d,u=se(n);return n&&n!==null||!t||(u={}),!u||Object.keys(u).length===0?(e.validateErrorField="",!0):(new ue(u).validate(e,{first:!0},(c,f)=>{let a;if(c){d=c[0].message,a=c[0].field,S.ElMessage({message:d,showClose:!0,type:"warning",duration:3e3});const r=C.getComponentRefByCode(s,a);if(r&&r.addRequiredClass){r.addRequiredClass();try{O.scrollIntoComponentWithCode(s,a)}catch(p){console.error("滚动失败",p)}}}else d=!0;if(a&&o===!0&&/[A-Z]+/.test(a)&&e[a.toLowerCase()]!==void 0){const r=JSON.parse(JSON.stringify(e));r[a.toUpperCase()]=e[a.toLowerCase()],delete r[a.toLowerCase()],d=oe(r,n,t,l,!1,i,s)}}),d)}function X(e){return new Promise((n,t)=>{const l=[],o=e.customValidatorUuids;o&&o.forEach(i=>{const s=C.getComponentRef(e,i);s&&s.validator&&l.push(s.validator())}),l&&l.length>0?Promise.all(l).then(i=>{i.includes(!1)?n(!1):n(!0)}):n(!0)})}function Y(e,n,t){return new Promise((l,o)=>{const i=JSON.parse(JSON.stringify(e)),s={...t},d=n.hiddenNotValidatorCodes;if(s&&d&&d.size>0&&d.forEach(u=>{delete s[u]}),s&&Object.keys(s).length!==0)if(ne(i,s,null,null,!0,n)===!0)if(function(c){var a;if(!c||k.isWorkflowPage(c))return!0;const f=c.tableUuids;if(!f)return!0;for(let r=0;r<f.length;r++){const p=f[r],g=c.hiddenNotValidatorCodes;if(g&&g.size>0&&g.has(p))continue;const R=C.getComponentRef(c,p);if(R){if(R.getConfigure()){const m=R.getConfigure();if((a=m==null?void 0:m.verification)!=null&&a.notEmpty){const P=R.getTableData();if(!P||!Array.isArray(P)||P.length===0){try{O.scrollIntoComponentWithUuid(c,p)}catch{}return S.ElMessage({showClose:!0,message:h.getI18n().t("superPageRuntimeMessage.xxxNotEmpty",{label:m.title?m.title:m.code}),type:"warning"}),!1}}}if(!R.validatorSunTableListData()){try{O.scrollIntoComponentWithUuid(c,p)}catch{}return!1}}}return!0}(n)===!0){const c=function(f){const a=[];return f.customRuleEvents&&f.customRuleEvents.length>0&&f.customRuleEvents.forEach(r=>{r.events.forEach(p=>{const g=f.customEvents[p];a.push(g.apply(g,[{prop:r.prop,pageContext:f}]))})}),a&&a.length>0?new Promise((r,p)=>{const g=[],R=[];a.forEach(m=>{h.isPromise(m)?g.push(m):R.push(m)}),R.includes(!1)&&r(!1),g.length>0?Promise.all(g).then(m=>{m.includes(!1)?r(!1):r(!0)}).catch(m=>{console.error(m),r(!1)}):r(!0)}):null}(n);c&&h.isPromise(c)?c.then(f=>{f?X(n).then(a=>{l(a)}):l(!1)}):X(n).then(f=>{l(f)})}else o(new Error(h.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);else o(new Error(h.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);else l(!0)})}function N(e,n,t){if(!n)return t;t||(t={});const l=k.isWorkflowPage(e),o=Object.keys(n),i=n;return o.forEach(s=>{if(s==="__subRules"){const d=i.__subRules;Object.keys(d).forEach(u=>{t.subRules||(t.subRules={}),t.subRules[u]?Object.assign(t.subRules[u],d[u]):t.subRules[u]=d[u]})}else re(i[s]),l?(t.rules[s]=i[s],t[s]&&(t[s]=i[s])):t[s]=i[s]}),se(t)}function ee(e,n){e.forEach(t=>{const l=t.label,o=h.getI18n().t(l);t.required&&(t.message=h.getI18n().t("superPageRuntimeMessage.required",{label:o})),t.myType&&(t.message=h.getI18n().t("superPageRuntimeMessage.formatMismatch",{label:o})),t.patternType&&(t.message=h.getI18n().t("superPageRuntimeMessage.formatMismatch",{label:o})),t.max!==void 0&&t.max!==null&&(t.message=h.getI18n().t("superPageRuntimeMessage.overMaxLength",{label:o,value:t.max})),t.min!==void 0&&t.min!==null&&(t.message=h.getI18n().t("superPageRuntimeMessage.limitMinLength",{label:o,value:t.min}))})}function te(e,n){const t=C.getAllComponentRefs(e);if(t)for(const l in t){const o=t[l];le(e,o&&o.value,n)}}function le(e,n,t){var l,o,i;if(n){const s=n.getConfigure();if(t.show!==void 0&&(t.show?n.show():n.hide()),t.required!==void 0&&((l=s==null?void 0:s.runtime)!=null&&l.props)&&(s.runtime.props.required=t.required),t.readonly!==void 0&&((o=s==null?void 0:s.runtime)!=null&&o.props)&&(t.readonly?s.runtime.props.state="readonly":s.runtime.props.state="enabled"),t.disabled!==void 0&&s&&((i=s==null?void 0:s.runtime)!=null&&i.props&&(t.disabled?s.runtime.props.state="disabled":s.runtime.props.state="enabled"),s.name==="table")){n.changeOperationAddState(!1);const d=n?n.getTableUuid():null,u=e.code,c=e.version,f=k.getListCode(u,c,d),a=[{name:"_all_fields",disabled:!0}];n.dynamicControlTableEdit(e,a,f)}}}function re(e){if(!(e!=null&&e.type))return;const n=de[e.type];n&&(e.validator=n.validator)}const de={boolean:{validator:function(e,n,t){return _(e,n)===!0&&(typeof n=="number"&&(n===1||n===0)||typeof n=="boolean"&&(n===!0||n===!1))}},date:{validator:function(e,n,t){if(_(e,n)!==!0)return!1;const l=new Date(n);return!isNaN(l.getTime())}},number:{validator:function(e,n,t){return _(e,n)===!0&&(typeof n!="string"||n.trim()!=="")&&(typeof n=="number"||!isNaN(Number(n)))}}},_=(e,n)=>n!=null&&n!==""||!e.required;exports.disabledAllFields=function(e){te(e,{disabled:!0})},exports.dynamicControlTableEdit=function(e,n,t){var u;let l,o;if(t?(l=C.getComponentRefByCode(e,t),o=l?l.getTableUuid():null):(o=e.tableUuids&&e.tableUuids.length>0?e.tableUuids[0]:null,l=o?C.getComponentRef(e,o):null),!l)return;const i=e.code,s=e.version,d=k.getListCode(i,s,o);if(e.workflowRules||(e.workflowRules={rules:{},subRules:{}}),e.workflowRules.subRules||(e.workflowRules.subRules={}),e.workflowRules.subRules[t]||(e.workflowRules.subRules[t]={}),((u=e.workflowRules)==null?void 0:u.subRules)&&e.workflowRules.subRules[t]){const c=e.workflowRules.subRules[t];n.forEach(f=>{c[f.name]=f})}l.dynamicControlTableEdit(e,n,d)},exports.getWorkflowRules=function(e){const n=e.entity.data,t={...e.entity.page,...n},l=K.getAdditionalParamMap(e),o=e.entity.context,i=e.entity.task;e.formPropTiltleMap&&Object.keys(e.formPropTiltleMap).length>0&&e.completeTaskParam.fieldPermissions&&e.completeTaskParam.fieldPermissions.length>0&&e.completeTaskParam.fieldPermissions.forEach(u=>{u.name&&e.formPropTiltleMap[u.name]&&(u.label=e.formPropTiltleMap[u.name])});let s=window.$vueApp.config.globalProperties.$getValidator(e.completeTaskParam.fieldPermissions,t,!0,l,i,o);const d=e.customRules;return s=N(e,d,s),s&&(s.rules||(s.rules={}),s.subRules||(s.subRules={})),s},exports.i18nValidatePropRulesMessage=ee,exports.i18nValidateRulesMessage=function(e){if(!e||Object.keys(e).length===0)return;const n={},t=Object.keys(e);for(let l=0;l<t.length;l++){const o=t[l],i=e[o];ee(i),o.indexOf(".")>0?Q(o,n,i):i&&i.length>0&&(n[o]=[...i])}return n},exports.packageCustomRules=N,exports.packageCustomValidator=re,exports.setObjectPropRule=Q,exports.updateFormItemEditState=function(e,n){if(!n)return;const t={};if(n.forEach(o=>{const{name:i,rules:s}=o;s?t[i]=s:o.required===!1&&(t[i]=[])}),k.isWorkflowPage(e)){let o=e.workflowRules?e.workflowRules:{rules:{},subRules:{}};o=N(e,t,o),e.workflowRules=o}else{let o=e.rules?e.rules:{};o=N(e,t,o),e.rules=o}const l=n.filter(o=>o.name==="_all_fields");l&&l.length>0&&te(e,l[0]),n.forEach(o=>{if(o.name!=="_all_fields"){const i=C.getComponentRefByCode(e,o.name);le(e,i,o)}})},exports.validateDataModelFunc=function(e,n,t){const l=e.entity.data,o={...e.entity.page,...l},i=e.rules,s=n.props.base?n.props.base.isEnableRequired:null;return s!=null&&(t=s),t==null&&(t=!1),function(d,u,c,f){return d?k.isWorkflowPage(f)?function(a,r,p){return new Promise((g,R)=>{const m=K.getAdditionalParamMap(r),P=r.entity.context,L=r.entity.task,ie=!0,ae=r.subTablePageInfo;Y(a,r,p).then(T=>{if(T){let v,q,A,V,j=T;const D=r.workflowRules;if(D){if(!function(y,x){var J,$,z,Z;if(!y.actionPermissions)return!0;const B=Object.keys(y.actionPermissions);for(let U=0;U<B.length;U++){const E=B[U],I=y.actionPermissions[E];if(I&&I.notEmpty){if((J=y.hiddenNotValidatorCodes)!=null&&J.has(E))continue;let W=!1;if(x[E]?Array.isArray(x[E])&&x[E].length===0&&(W=!0):W=!0,W){const G=C.getComponentRefByCode(y,E);if(!G)return!0;const H=G.getConfigure();return($=I.notEmptyCondition)!=null&&$.parentCondition&&h.parseSubTablePermissionCondition(I.notEmptyCondition.parentCondition.replaceAll("${field[","${parent["),y.dataTypeMaps,x,{},(z=y.entity)==null?void 0:z.request,(Z=y.entity)==null?void 0:Z.task,y.contextParam)===!1?!0:(S.ElMessage({showClose:!0,message:h.getI18n().t("superPageRuntimeMessage.xxxNotEmpty",{label:H.title?H.title:E}),type:"warning"}),!1)}}}return!0}(r,a))return void g(!1);const w=!0,b=Object.assign({},D),F=r.hiddenNotValidatorCodes;F&&F.size>0&&F.forEach(y=>{b.subRules&&delete b.subRules[y],b.rules&&delete b.rules[y]}),b.subRules&&(Object.keys(b.subRules).length>0?b.totalSubRules||(b.totalSubRules={}):delete b.subRules);const M=window.$vueApp.config.globalProperties.$formValidator(a,b,ie,m,L,P,ae,w);j=M.msg,v=M.field,q=M.listCode,A=M.rowIndex,V=M.pageNum}else j=!0;if(j!==!0){if(S.ElMessage({showClose:!0,message:j+"",type:"warning"}),q){const w=C.getComponentRefByCode(r,q);if(w&&w.addRequiredClass){w.addRequiredClass(v,A,V);try{O.scrollIntoComponentWithCode(r,q),w.scrollToCell({fieldName:v,rowIndex:A,pageNum:V})}catch(b){console.error("滚动到验证失败的子表字段失败,可能是表格组件版本较低没有scrollToCell方法",b)}}}else{const w=C.getComponentRefByCode(r,v);if(w&&w.addRequiredClass){w.addRequiredClass();try{O.scrollIntoComponentWithCode(r,v)}catch(b){console.error("滚动失败",b)}}}g(!1)}else Object.keys(a).indexOf("validateErrorField")>=0&&delete a.validateErrorField,g(a)}else R(new Error(h.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message)}).catch(T=>{R(T)})})}(u,f,c):function(a,r,p){return new Promise((g,R)=>{Y(a,r,p).then(m=>{if(m){const P=JSON.parse(JSON.stringify(a));Object.keys(P).indexOf("validateErrorField")>=0&&delete P.validateErrorField,g(P)}else g(!1)}).catch(m=>{R(m)})})}(u,f,c):new Promise((a,r)=>{a(!0)})}(t,o,i,e)},exports.validator=ne;
@@ -0,0 +1,24 @@
1
+ import { PageContext } from '../interfaces/page-design-types';
2
+
3
+ export declare function setObjectPropRule(prop: any, rules: any, leafRule: any): {};
4
+ export declare function validator(entity: any, rules: any, columns: any, rowIndex: any, isSql: any, pageContext: any): any;
5
+ export declare function validateDataModelFunc(pageContext: any, configureObj: any, isEnableRequired: any): Promise<unknown>;
6
+ /**
7
+ * 封装自定义校验规则
8
+ * @param orgCustomRules 自定义规则
9
+ * @param orgRules 原来的表单规则
10
+ * @returns 添加了自定义规则后的规则
11
+ */
12
+ export declare function packageCustomRules(pageContext: any, orgCustomRules: any, orgRules: any): any;
13
+ export declare function i18nValidateRulesMessage(rules: any): {};
14
+ export declare function i18nValidatePropRulesMessage(propRules: any, isResetMessage: boolean): void;
15
+ export declare function getWorkflowRules(pageContext: any): any;
16
+ export declare function updateFormItemEditState(pageContext: PageContext, customRules: any[]): void;
17
+ export declare function disabledAllFields(pageContext: PageContext): void;
18
+ export declare function dynamicControlTableEdit(pageContext: PageContext, customRules: any[], tableCode?: any): void;
19
+ /**
20
+ * 布尔型和日期校验需要自定义,为了兼容oracle和mysql数据库,
21
+ * 数字类型的校验,防止select、radio、checkbox传字符串类型的数字
22
+ * @param fieldRule
23
+ */
24
+ export declare function packageCustomValidator(fieldRule: any): void;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.getDateShortCuts=function(n,u,s){if(!n)return;const a=[];if(n.includes("today")&&!["week","month","year"].includes(u)){const e={text:"今天",value:()=>new Date};s.endsWith("range")&&(e.value=()=>[new Date,new Date]),a.push(e)}if(n.includes("yesterday")&&!["week","month","year"].includes(u)){const e=new Date;e.setTime(e.getTime()-864e5);const t={text:"昨天",value:()=>e};s.endsWith("range")&&(t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneWeek")&&!["month","year"].includes(u)){const e=new Date;e.setTime(e.getTime()-6048e5);const t={text:"一周前",value:()=>e};s.endsWith("range")&&(t.text="一周",t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneMonth")&&!["year"].includes(u)){const e=new Date;e.getMonth()>0?e.setMonth(e.getMonth()-1):(e.setMonth(12),e.setFullYear(e.getFullYear()-1));const t={text:"一月前",value:()=>e};s.endsWith("range")&&(t.text="一月",t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneYear")){const e=new Date;e.setFullYear(e.getFullYear()-1);const t={text:"一年前",value:()=>e};s.endsWith("range")&&(t.text="一年",t.value=()=>[e,new Date]),a.push(t)}return a};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 快捷选择生成方式
3
+ * @param dateScopeDetails
4
+ * @param dateType
5
+ * @param rangeType
6
+ */
7
+ export declare function getDateShortCuts(dateScopeDetails: any[], dateType: string, rangeType: string): any;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const agilebuilderUi=require("agilebuilder-ui"),pageHelperUtil=require("../page-helper-util.cjs");function formatScanRuleSets(a){const e={};return a.forEach(s=>{s.type==="group"?s.outs.forEach(c=>{e[c.ruleCode]||(e[c.ruleCode]={outs:[],adaptations:[]}),e[c.ruleCode].outs.push(c)}):e[s.code]={outs:s.outs,adaptations:[]}}),packageScanRuleSets(e)}function packageScanRuleSets(a){return new Promise((e,s)=>{Object.keys(a).length>0?agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI+"/dc/setting-barcode-analysis/by-codes",Object.keys(a)).then(c=>{c.forEach(t=>{const u=JSON.parse(t.barcodeAnalysisOuts),n=new Set,l={};a[t.code].outs.forEach(r=>{n.add(r.returnedValue),l[r.returnedValue]=r.pageVariable});const o=[];u.forEach(r=>{n.has(r.code)&&(r.pageVariable=l[r.code],o.push(r))}),a[t.code].outs=o,a[t.code].adaptations=JSON.parse(t.barcodeAnalysisAdaptations),e(a)})}):e(null)})}function analysisScanValue(scanValue,scanRuleSets){if(!scanValue)return null;const scanSets=Object.values(scanRuleSets);for(let i=0;i<scanSets.length;i++){const scanSet=scanSets[i],adaptations=scanSet.adaptations;let validStr="";for(let a=0;a<adaptations.length;a++){const e=adaptations[a],s=_getScanIndexs(scanValue,e.startIndex,e.endIndex),c=s[0],t=s[1];let u=scanValue.substring(c,t),n=e.value,l=e.operate;if(l=="times"&&(n=u.split(n??"").length-1,u=e.times,l="="),(isNaN(u)||isNaN(n))&&(u="'"+u+"'",n="'"+n+"'"),e.leftBracket&&(validStr+=e.leftBracket),l=="<>"?l="!=":l=="="&&(l="=="),l=="include"||l=="notinclude"?(validStr+=u+".indexOf("+n+")",validStr+=l=="include"?">-1":"<0"):validStr+=u+l+n,e.rightBracket&&(validStr+=e.rightBracket),e.joinStr&&a+1<adaptations.length){const o=e.joinStr=="and"?"&&":"||";validStr+=o}}let res=!1;if(validStr)try{res=eval("("+validStr+")")}catch(a){}else res=!0;if(res)return executeAnalysisForScan(scanValue,scanSet)}return null}function executeAnalysisForScan(a,e){if(!e||!a)return;const s=e.outs,c={};return s.forEach(t=>{const u=t.fieldName;if(t.fixedValue!=null)c[u]=t.fixedValue;else{let n=a;if(t.splitChar&&t.splitNum){const l=(t.splitChar,t.splitChar),o=a.split(l),r=t.splitNum<1?1:t.splitNum;n=r<=o.length?o[r-1]:""}if(t.splitChar2&&t.splitNum2){const l=(t.splitChar2,t.splitChar2),o=n.split(l),r=t.splitNum2<1?1:t.splitNum2;n=r<=o.length?o[r-1]:""}if(n.length>0){const l=_getScanIndexs(n,t.startIndex,t.endIndex),o=l[0],r=l[1];n=n.substring(o,r)}c[u]=n}}),{value:a,params:c,scanSet:e}}function _getScanIndexs(a,e,s){return e=(e=(e=e==null?0:e-1)<0?0:e)>a.length-1?a.length-1:e,(s=(s=(s=s??a.length)>a.length?a.length:s)<1?1:s)<e&&(s=e),[e,s]}function setScanAnalysisValue(a,e,s){e&&e.outs.forEach(c=>{const t=c.fieldName,u=s[t];pageHelperUtil.setValueForVariableName(a.entity,c.pageVariable,u)})}exports.analysisScanValue=analysisScanValue,exports.formatScanRuleSets=formatScanRuleSets,exports.setScanAnalysisValue=setScanAnalysisValue;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),window.globalRefs||(window.globalRefs={});const t=window.globalRefs;function i(e,n){return"pageRuntimeRef-"+e+"-"+(n||1)}function c(e,n){return i(e,n)+"-code"}exports.addComponentRef=function(e,n,r){if(!e)return;const o=i(e.code,e.version);return t[o]||(t[o]={}),t[o][n]=r,t[o]},exports.addComponentRefByCode=function(e,n,r){if(!e)return;const o=c(e.code,e.version);return t[o]||(t[o]={}),t[o][n]=r,t[o]},exports.getAllComponentRefs=function(e){if(!e)return;const n=c(e.code,e.version);return t[n]||(t[n]={}),t[n]},exports.getComponentRef=function(e,n){if(!e||!n)return;const r=i(e.code,e.version);t[r]||(t[r]={});const o=t[r][n];return o&&o.value},exports.getComponentRefByCode=function(e,n){if(!e)return;const r=c(e.code,e.version);t[r]||(t[r]={});const o=t[r][n];return o&&o.value},exports.initComponentRefState=function(e){if(!e)return;const n=i(e.code,e.version);t[n]={}},exports.removePageAllRef=function(e){if(!e)return;const n=i(e.code,e.version);t[n]={}};
@@ -0,0 +1,65 @@
1
+ import { PageContext } from './interfaces/page-design-types';
2
+
3
+ declare global {
4
+ interface Window {
5
+ globalRefs: any;
6
+ }
7
+ }
8
+ /**
9
+ * 添加组件引用对象
10
+ * @param pageContext 页面运行时对象
11
+ * @param componentIndex 对象ID
12
+ * @param refObj 引用对象
13
+ * @returns
14
+ */
15
+ export declare function addComponentRef(pageContext: PageContext, componentUuid: string, refObj: any): any;
16
+ /**
17
+ * 添加组件引用对象
18
+ * @param pageContext 页面运行时对象
19
+ * @param componentIndex 对象ID
20
+ * @param refObj 引用对象
21
+ * @returns
22
+ */
23
+ export declare function addComponentRefByCode(pageContext: PageContext, componentCode: string, refObj: any): any;
24
+ /**
25
+ * 获取组件引用对象
26
+ * @param pageDesign 页面设计对象
27
+ * @param componentIndex 对象ID
28
+ * @returns
29
+ */
30
+ export declare function getComponentRef(pageContext: PageContext, componentUuid: string): any;
31
+ /**
32
+ * 根据编码获取组件引用对象
33
+ * @param pageDesign 页面设计对象
34
+ * @param componentCode 对象code
35
+ * @returns
36
+ */
37
+ export declare function getComponentRefByCode(pageContext: PageContext, componentCode: string): any;
38
+ /**
39
+ * 移除组件引用对象
40
+ * @param pageDesign 页面设计对象
41
+ * @param componentIndex 对象ID
42
+ * @param refObj 引用对象
43
+ * @returns
44
+ */
45
+ export declare function removeComponentRef(pageContext: PageContext, componentUuid: string): any;
46
+ /**
47
+ * 移除页面所有引用
48
+ * @param pageDesign 页面设计对象
49
+ * @param componentIndex 对象ID
50
+ * @param refObj 引用对象
51
+ * @returns
52
+ */
53
+ export declare function removePageAllRef(pageContext: PageContext): void;
54
+ /**
55
+ * 初始化页面引用对象
56
+ * @param pageCode
57
+ * @param pageVersion
58
+ */
59
+ export declare function initComponentRefState(pageContext: PageContext): void;
60
+ /**
61
+ * 获取所有组件引用对象
62
+ * @param pageDesign 页面设计对象
63
+ * @returns
64
+ */
65
+ export declare function getAllComponentRefs(pageContext: PageContext): any;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./page-store.cjs"),o=require("agilebuilder-ui"),a=require("vue-i18n");let t=null,n=null;exports.$t=(e,...s)=>{n||(n=a.useI18n());const r=i.usePageContextStore().pageContext;if(t===null&&(t=!!o.i18nUtil.getEnableI18nState(r.systemCode)),!t)return e;const u=`${r.systemCode}.${e}`,l=n.t(u,s||[]);return l!==u?l:e};
@@ -0,0 +1 @@
1
+ export declare const $t: (key: string, ...args: any[]) => any;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(e=>(e.PC="pc",e.IPAD="ipad",e.PHONE="phone",e))(i||{});exports.PageDimensions=i;