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,259 @@
1
+ /**
2
+ * 状态
3
+ */
4
+ export declare enum EnableStates {
5
+ ENABLE = "ENABLE",
6
+ DISABLE = "DISABLE"
7
+ }
8
+ /**
9
+ * 屏幕尺寸
10
+ */
11
+ export declare enum PageDimensions {
12
+ PC = "pc",
13
+ IPAD = "ipad",
14
+ PHONE = "phone"
15
+ }
16
+ /**
17
+ * 组件配置的属性
18
+ */
19
+ export interface ComponentProps {
20
+ align?: 'left' | 'center' | 'flex-end';
21
+ isAffix?: boolean;
22
+ isFixed?: boolean;
23
+ position?: 'default' | 'top' | 'bottom';
24
+ offset?: number;
25
+ [key: string]: any;
26
+ }
27
+ /**
28
+ * 组件对象
29
+ */
30
+ export interface Component extends Object {
31
+ uuid: string;
32
+ name: string;
33
+ label: string;
34
+ desc?: string;
35
+ icon?: string;
36
+ version?: number;
37
+ releaseDate?: string;
38
+ creator?: string;
39
+ auditor?: string;
40
+ snapshot?: string;
41
+ docHref?: string;
42
+ parent?: Component;
43
+ items?: Component[];
44
+ props?: ComponentProps;
45
+ style?: any;
46
+ events?: ComponentEvent[];
47
+ methods?: ComponentMethod[];
48
+ advance?: any;
49
+ [otherProp: string]: any;
50
+ }
51
+ /**
52
+ * 页面对象
53
+ */
54
+ export interface PageDesign extends Component {
55
+ systemCode: string;
56
+ systemVersion: number;
57
+ code: string;
58
+ version: number;
59
+ tableSysCode?: string;
60
+ tableSysVersion?: number;
61
+ tableName?: string;
62
+ tableAlias?: string;
63
+ workflowCode: string;
64
+ workflowVersion: number;
65
+ variables?: CustomVariable[];
66
+ logicDesigns?: object[];
67
+ modelFields?: ModelField[];
68
+ initChartServiceConfigs?: Array<any>;
69
+ rules?: object;
70
+ tableUuids?: Array<any>;
71
+ listCodesMap?: object;
72
+ formNoRuleCode?: string;
73
+ judgeHeavyList?: Array<any>;
74
+ conversionCodes?: Array<any>;
75
+ pageType?: string;
76
+ beanName?: string;
77
+ importBeanName?: string;
78
+ name: string;
79
+ notIdInitializationList?: Array<any>;
80
+ subTablePageInfo?: object;
81
+ customEvents?: Array<any>;
82
+ contextParam?: object;
83
+ systemtParam?: object;
84
+ subTableWatchProps?: object;
85
+ allChartUuids: Array<string>;
86
+ }
87
+ interface PageRuntimeStyle {
88
+ height?: number;
89
+ width?: number;
90
+ }
91
+ /**
92
+ * SubTablePageInfoType : {
93
+ * subTableCode:{ pageSize:1,title:"xxxx",fields:["field1","field2",...] }
94
+ * }
95
+ */
96
+ type SubTablePageInfoType = {
97
+ [subTableCode: string]: {
98
+ pageSize?: number;
99
+ title?: string;
100
+ fields?: string[];
101
+ };
102
+ };
103
+ /**
104
+ * 运行时页面对象
105
+ */
106
+ export interface PageContext extends Component {
107
+ isTest?: boolean;
108
+ systemCode?: string;
109
+ systemVersion?: number;
110
+ backendUrl?: string;
111
+ code: string;
112
+ version: number;
113
+ dimensions: string;
114
+ tableSysCode?: string;
115
+ tableSysVersion?: number;
116
+ tableName?: string;
117
+ tableAlias?: string;
118
+ workflowCode?: string;
119
+ workflowVersion?: number;
120
+ rules?: any;
121
+ tableUuids?: Array<any>;
122
+ listCodesMap?: object;
123
+ formNoRuleCode?: string;
124
+ judgeHeavyList?: Array<any>;
125
+ conversionCodes?: Array<any>;
126
+ pageType?: string;
127
+ beanName?: string;
128
+ importBeanName?: string;
129
+ name: string;
130
+ notIdInitializationList?: Array<any>;
131
+ subTablePageInfo?: SubTablePageInfoType;
132
+ customValidatorUuids?: Array<string>;
133
+ entity: {
134
+ data: {
135
+ [otherProp: string]: any;
136
+ };
137
+ task: {
138
+ [otherProp: string]: any;
139
+ };
140
+ request: {
141
+ [otherProp: string]: any;
142
+ };
143
+ page: {
144
+ [otherProp: string]: any;
145
+ };
146
+ context: {
147
+ [otherProp: string]: any;
148
+ };
149
+ system: {
150
+ [otherProp: string]: any;
151
+ };
152
+ };
153
+ superGridItems?: object;
154
+ emailTemplateCode?: string;
155
+ fieldPermissions?: Array<any>;
156
+ fieldPermissionMap?: Map<string, any>;
157
+ actionPermissions?: Array<any>;
158
+ actionPermissionMap?: Map<string, any>;
159
+ workflowButtonComponent?: object;
160
+ completeTaskParam?: object;
161
+ customRules?: Record<string, any>;
162
+ initFormNo?: string;
163
+ definitionId?: number;
164
+ dataTypeMaps?: Object;
165
+ editData?: object;
166
+ searchFormData?: Array<object>;
167
+ selectOptions?: object;
168
+ chartDataSourceMap?: any;
169
+ refercePropMap?: object;
170
+ subTableWatchProps?: object;
171
+ [otherProp: string]: any;
172
+ allChartUuids: Array<string>;
173
+ pageRuntimeStyle?: PageRuntimeStyle;
174
+ }
175
+ /**
176
+ * 事件对象
177
+ */
178
+ export interface ComponentEvent extends Object {
179
+ name: string;
180
+ label: string;
181
+ params?: ComponentEventParam[];
182
+ }
183
+ /**
184
+ * 事件对象
185
+ */
186
+ export interface ComponentEventParam extends Object {
187
+ name: string;
188
+ label: string;
189
+ type: string;
190
+ }
191
+ /**
192
+ * 方法对象
193
+ */
194
+ export interface ComponentMethod extends Object {
195
+ name: string;
196
+ label: string;
197
+ inParams: ComponentEventParam[];
198
+ outParams: ComponentEventParam[];
199
+ }
200
+ /**
201
+ * 方法参数描述
202
+ */
203
+ export interface ComponentMethodParam extends Object {
204
+ name: string;
205
+ type: string;
206
+ }
207
+ /**
208
+ * 自定义变量对象
209
+ */
210
+ export interface CustomVariable extends Object {
211
+ name: string;
212
+ alias: string;
213
+ defaultValue?: string;
214
+ isArrayElement?: boolean;
215
+ items?: CustomVariable[];
216
+ [otherProp: string]: any;
217
+ }
218
+ /**
219
+ * 自定义变量对象
220
+ */
221
+ export interface ModelField extends Object {
222
+ name: string;
223
+ alias: string;
224
+ dataType: string;
225
+ displayOrder: number;
226
+ }
227
+ /**
228
+ * 前端逻辑对象
229
+ */
230
+ export interface LogicDesign extends Object {
231
+ code: string;
232
+ name: string;
233
+ props?: any;
234
+ variables?: CustomVariable[];
235
+ flow: {
236
+ nodes?: LogicNode[];
237
+ };
238
+ triggerSource?: LogicTriggerSource[];
239
+ }
240
+ /**
241
+ * 前端逻辑节点对象
242
+ */
243
+ export interface LogicNode extends Object {
244
+ id: string;
245
+ type: string;
246
+ x: number;
247
+ y: number;
248
+ properties?: any;
249
+ }
250
+ /**
251
+ * 前端逻辑节点触发来源
252
+ */
253
+ export interface LogicTriggerSource extends Object {
254
+ assemblyIndex: number;
255
+ assemblyType: string;
256
+ triggerType: string;
257
+ triggerName: string;
258
+ }
259
+ export {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const agilebuilderUi=require("agilebuilder-ui"),dayjs=require("dayjs"),globalRefs=require("./global-refs.cjs"),vue=require("vue"),commonUtil=require("./common-util.cjs");function getComponentOptionConfigs(t,e,o,a){return getComponentOptionConfigsBase(t,e!=null&&e.systemCode?e.systemCode:o,e!=null&&e.systemVersion?e==null?void 0:e.systemVersion:a)}function getComponentOptionConfigsBase(t,e,o){if(!t.props||!t.props.dataOrigin||t.name&&t.name==="table")return;const a=t.props.dataOrigin,r={uuid:t.uuid};if(a.optionValueSetType=="optionGroup")r.type="optionGroup",r.props={code:a.optionGroup};else if(a.optionValueSetType=="dynamicData")r.type="dynamicData",r.filterType=a.filterType,r.props={code:a.dynamicDataSourceCode};else if(a.optionValueSetType=="dataTable"){r.filterType=a.filterType;const s=getTableQueryInfo(a,e,o);Object.assign(r,s)}else if(a.optionValueSetType=="service"){r.filterType=a.filterType;const s=getServiceQueryInfo(a,e,o);Object.assign(r,s)}return r.type?r:void 0}function getTableQueryInfo(t,e,o){const a={type:"dataTable"};if(a.valueLabelSwitch=!!t.valueLabelSwitch,a.importValidateSwitch=!!t.importValidateSwitch,a.props={tableName:t.tableName,systemCode:t.tableSysCode?t.tableSysCode:e,systemVersion:t.tableSysVersion?t.tableSysVersion:o},t.sortFields){const n=[];for(const i of t.sortFields)i.name&&n.push({prop:i.name,order:i.type?i.type:"asc"});a.props.sorts=n}const r=[];if(t.filterList){const n=[];for(const i of t.filterList){if(!i.propName)continue;i.propDbName||(i.propDbName=i.propName);const l={};Object.assign(l,i);const c=getParamNames(i.propValue);for(const u of c)u&&(u.startsWith("${data.")||u.startsWith("${task.")||u.startsWith("${page."))&&(r.includes(u)||r.push(u));n.push(l)}a.props.searchForm=n}a.props.monitorFields=r;const s=[];if(t.tableValueField&&(a.props.valueField=t.tableValueField),t.tableLableField&&s.indexOf(t.tableLableField)==-1&&(a.props.lableField=t.tableLableField),t.autoSets)for(const n of t.autoSets)n.source&&s.indexOf(n.source)==-1&&s.push(n.source);return a.props.queryFields=s,a.props.pageSize=t.displayQuantity,a}function getServiceQueryInfo(t,e,o){const a={type:"service"};if(a.valueLabelSwitch=!!t.valueLabelSwitch,a.importValidateSwitch=!!t.importValidateSwitch,a.props={serivceCode:t.serviceCode,systemCode:t.tableSysCode?t.tableSysCode:e,systemVersion:t.tableSysVersion?t.tableSysVersion:o},t.serviceInputs){const r=[];for(const s of t.serviceInputs){if(!s.name||s.value)continue;const n={};Object.assign(n,s),r.push(n)}a.props.inputs=r}return a.props.dataSetField=t.serviceDataSetField,a.props.valueField=t.serviceValueField,a.props.labelField=t.serviceLabelField,a}function updateChartDatasources(t,e,o,a){return new Promise((r,s)=>{if(!e||e.length==0)return void s(new Error("无需查询的统计图配置!"));const n=commonUtil.deepCopy(e);n.forEach(d=>{const m=d.services;if(m&&m.length>0){const h=m[0].serviceInputs;h&&(m[0].serviceInParams={},h.forEach(f=>{const b=f.name,y=f.value;m[0].serviceInParams[b]=getValueFromVariable(t.entity,y)}),delete m[0].serviceInputs)}});const i=t.entity?t.entity:{},l={};i.request&&Object.assign(l,i.request),i.page&&Object.assign(l,i.page),o&&Object.assign(l,o);const c={};i.task&&Object.assign(c,i.task);const u={entityMap:i.data,additionalParamMap:l,taskMap:c,dataSourceList:n,systemCode:t.systemCode,pageCode:t.code},p=t.backendUrl,g=commonUtil.getBaseUrl(p,t.isTest)+"/common/common-data/find-chart-datas";agilebuilderUi.http.post(g,u,{headers:{customSystem:t.systemCode}}).then(d=>{var m,h;t.chartDataSourceMap||(t.chartDataSourceMap={});for(const f in d){t.chartDataSourceMap[f]=d[f];const b=globalRefs.getComponentRef(t,f);if(b){const y=b.getConfigure();if((!a||y&&(y.initializationQuery===void 0||y.initializationQuery))&&b.updateChartDatas&&(b.updateChartDatas(d[f]),(h=(m=y.runtime)==null?void 0:m.dataConfig)==null?void 0:h.resultSet)){const S=d[f]&&d[f].length>0?d[f][0]:{},V=S&&S.result?S.result:{};let C=null;y.serviceDataField?C=V[y.serviceDataField]:V&&(C=Array.isArray(V)?V:[V]),C||(C=[]),setValueForVariableName(t.entity,y.runtime.dataConfig.resultSet,C)}}}r(d)}).catch(d=>{s(d)})})}function updateChartDatasourcesByComponent(t,e){const o=t.initChartServiceConfigs.find(a=>a.uuid===e);o&&updateChartDatasources(t,[o],null,!1)}function updateOptionDatasources(t,e,o){return new Promise((a,r)=>{if(!e||e.length==0)return void r(new Error("无需查询的配置!"));const s=t.entity?t.entity:{},n={};s.request&&Object.assign(n,s.request),s.page&&Object.assign(n,s.page),n.query=o;const i={entityMap:s.data,additionalParamMap:n,dataSourceList:e,systemCode:t.systemCode,query:o},l=t.backendUrl,c=commonUtil.getBaseUrl(l,t.isTest)+"/common/common-data/find-datas";agilebuilderUi.http.post(c,i).then(u=>{t.optionSourceMap||(t.optionSourceMap={});for(const p in u){t.optionSourceMap[p]=u[p];const g=globalRefs.getComponentRef(t,p);g&&g.updateOptions&&g.updateOptions(u[p])}a(u)}).catch(u=>{r(u)})})}function getOptionDatasFromPage(t,e){return getComponentOptionDatasFromPage(t,e.uuid)}function getComponentOptionDatasFromPage(t,e){return getOptionDatasSourceMap(t)[e]||[]}function getOptionDatasSourceMap(t){return!t||!t.optionSourceMap?{}:t.optionSourceMap||{}}function getChartDatasFromPage(t,e){return!t||!t.chartDataSourceMap||!e?null:t.chartDataSourceMap[e.uuid]}function queryOptionDatasources(t,e,o){return updateOptionDatasources(t,e?[e]:[],o)}function autoSetAfterSelect(t,e,o,a,r=[]){if(!o||o.length==0)return;const s=e.entity?e.entity:{};for(const n of o){if(!n.source||!n.target||r.includes(n.target))continue;const i=getValuesByField(a,n.source);let l=n.target;if(!l||!l.startsWith("${"))continue;l=l.substring(2,l.length-1);const c=l.split(".");setVariableValue(s,c,i==null?null:i.join(","))}}function getValuesByField(t,e){if(t){const o=[];for(const a of t){let r=a[e];r!=null&&r!=null||(r=""),o.push(r)}return o}return null}function getVariableValue(t,e){if(!t||!e||e.length==0)return;let o=t;for(let a=0;a<e.length;a++){if(o==null)return o;o=o[e[a]]}return o}function setValueForVariableName(t,e,o){!e||!e.startsWith("${")||setVariableValue(t,(e=e.substring(2,e.length-1)).split("."),o)}function setVariableValue(t,e,o){if(!t||!e||e.length==0)return;let a=t;for(let r=0;r<e.length;r++){const s=e[r];r+1===e.length?a[s]=o===void 0?null:o:(a[s]===void 0&&(a[s]={}),a=a[s])}}function setVariableValueWithProp(t,e,o){!t||!e||setVariableValue(t,e.split("."),o)}function formatVariableValue(t,e){if(!t||e==""||e==null||e==null)return e;const o=t.entity?t.entity:{},a=getParamNames(e);for(const r in a){const s=a[r],n=getValueFromVariable(o,s);if(n&&Object.prototype.toString.call(n)==="[object Date]")return dayjs(n).format("YYYY-MM-DD HH:mm:ss");if(n&&typeof n=="number")return n;e=e.replace(s,n??"")}return e}function getParamNames(t){return t?t.match(/\$\{[^\{|\}]+\}/g)||[]:[]}function formatValueByType(t,e,o){if(!e||t==""||t==null||t==null)return t;if(o=o||{},e=="number"||e=="percent"){if(isNaN(t))return t;let a=parseInt(o.decimalDigit);if((a==null||isNaN(a))&&(a=-1),t=parseFloat(t),e=="percent"&&(t*=100),a>-1&&(t=parseFloat(t.toFixed(a))),e=="percent")t+="%";else{if(o.thousandsSeparator){const r=t.toString().split(".");r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t=r.length>1?r.join("."):r[0]}o.symbol&&(t=o.symbol+""+t)}return t}if(e=="date"||e=="time"){let a="";return e=="date"?(a=o.dateFormat,a||(a="YYYY-MM-DD")):(a=o.timeFormat,a||(a="HH:mm:ss")),dayjs(t).format(a)}return e=="custom"&&o.formatEventUuid,t}function getValueFromVariable(t,e,o){if(e==null||e==null)return e;if(e.startsWith("${")&&e.endsWith("}")){let a=e.substring(2,e.length-1),r=null,s=null;if(a.startsWith("data."))a=a.substring(5),s=t.data,r="data";else if(a.startsWith("page."))a=a.substring(5),r="page",s=t.page;else if(a.startsWith("task."))a=a.substring(5),r="task",s=t.task;else if(a.startsWith("request."))a=a.substring(8),r="request",s=t.request;else if(a.startsWith("context."))a=a.substring(8),r="context",s=t.context;else if(a.startsWith("system."))a=a.substring(7),r="system",s=t.system;else{if(a.startsWith("fixed."))return a.substring(6);a.startsWith("row.")&&(a=a.substring(4),s=o,r="row")}return a?getValueFromSource(s,a,r):""}return e}function getValueFromSource(t,e,o){if(o!="context"&&!t||!e)return;const a=e.indexOf(".");if(a>-1){const r=e.substring(0,a),s=e.substring(a+1);let n=t[r];return n&&Array.isArray(n)&&n.length>0&&(n=n[0]),getValueFromSource(n,s,o)}if(o=="context"){if(e=="currentDate"||e=="currentTime")return new Date;if(e.startsWith("currentDate")&&e.length>11){const r=e.substring(11),s=r.substring(0,1);let n=parseInt(r.substring(1,r.length-1),10);const i=r.substring(r.length-1),l=new Date;return n=s==="+"?n:-n,i==="d"||i==="w"?(n=i==="w"?7*n:n,l.setDate(l.getDate()+n)):i==="m"?l.setMonth(l.getMonth()+n):i==="y"&&l.setFullYear(l.getFullYear()+n),l}if(!t)return}return t[e]}function caculateShowCondition(pageContext,showConditions,row){if(!showConditions||showConditions.length==0||!pageContext||!pageContext.entity)return!0;const entityData=pageContext.entity;let conditions="";const maxLen=showConditions.length;for(let t=0;t<maxLen;t++){const e=showConditions[t],o=e.propName;let a=e.operator;if(!o||o==="")continue;a||(a="EQ");const r=getValueFromVariable(entityData,o,row);let s=getValueFromVariable(entityData,e.propValue,row);const n=e.dataType;a!="CONTAIN"&&a!="NOT_CONTAIN"||r&&!r.includes&&(a=a=="CONTAIN"?"EQ":"NET");let i=e.variableIsNull,l;if(i||(i="null"),a!=="IS_NULL"&&a!=="IS_NOT_NULL"&&(s!==void 0&&s!==""||(s=null,i==="null"?a="IS_NULL":i==="notequal"?a="IS_NOT_NULL":l=!0)),l==null)try{l=agilebuilderUi.executeExpression(r,a,s,n)}catch{l=!1}const c=e.leftBracket,u=e.rightBracket;let p=e.joinSign;if(c&&c!==null&&c!==""&&(conditions+=c,conditions+=" "),conditions+=l+" ",u&&u!==null&&u!==""&&(conditions+=u,conditions+=" "),t<maxLen-1&&p&&p!==null&&p!==""){const g=p.toLowerCase();g==="and"?p=g.replace("and","&&"):g==="or"&&(p=g.replace("or","||")),conditions+=p+" "}}return!conditions||eval("("+conditions+")")}function monitorFieldChange(t,e,o){if(!o||!t||!e||e.length==0)return;const a=[],r=[];for(let i of e)if(i.startsWith("${")){i=i.substring(2,i.length-1);const l=i.split(".");l[0]!=="page"&&l[0]!=="task"&&l[0]!=="data"||(a.push(l),r.includes(l[0])||r.push(l[0]))}let s=getMonitorFieldValues(a,t.entity),n=!1;for(const i of r)vue.watch(t.entity[i],()=>{n&&clearTimeout(n),n=setTimeout(function(){const l=getMonitorFieldValues(a,t.entity);s!=l&&(s=l,o())},200)})}function getMonitorFieldValues(t,e){let o="";for(const a of t)o+="_"+getVariableValue(e,a);return o}function getFormPropName(t){return t&&t.indexOf("${")>=0?t.substring(t.indexOf(".")+1,t.lastIndexOf("}")):t}function getSizeConfig(t,e){const o=getPageModeType(t);let a;return e.props&&e.props.size&&e.props.size[o]&&(a=e.props.size[o]),!a&&e.props&&e.props.size&&(a=e.props.size.pc),a}function getPageModeType(t){let e=t.dimensions;return e||(e="pc"),e}function isPromise(t){return t&&Object.prototype.toString.call(t)==="[object Promise]"}function decomposeVariable(t){if(!t)return[];const e=t.match(/\${(.*?)}/);return e?e[1].split("."):[]}function getModelFieldFromPageContext(t,e){if(!e.modelFieldsMap)return;let o=null;for(let a=0;a<t.length;a++){const r=t[a];a+1===t.length&&(o=e.modelFieldsMap[r])}return o}function isNumberDataType(t){return t==="INTEGER"||t==="LONG"||t==="DOUBLE"||t==="FLOAT_COM"}function isDateDataType(t){return(t=t?t.toUpperCase():"")==="DATE"||t==="TIME"||t==="DATETIME"||t==="TIMESTAMP"}exports.autoSetAfterSelect=autoSetAfterSelect,exports.caculateShowCondition=caculateShowCondition,exports.decomposeVariable=decomposeVariable,exports.formatValueByType=formatValueByType,exports.formatVariableValue=formatVariableValue,exports.getChartDatasFromPage=getChartDatasFromPage,exports.getComponentOptionConfigs=getComponentOptionConfigs,exports.getComponentOptionConfigsBase=getComponentOptionConfigsBase,exports.getComponentOptionDatasFromPage=getComponentOptionDatasFromPage,exports.getFormPropName=getFormPropName,exports.getModelFieldFromPageContext=getModelFieldFromPageContext,exports.getOptionDatasFromPage=getOptionDatasFromPage,exports.getOptionDatasSourceMap=getOptionDatasSourceMap,exports.getParamNames=getParamNames,exports.getSizeConfig=getSizeConfig,exports.getValueFromSource=getValueFromSource,exports.getValueFromVariable=getValueFromVariable,exports.getVariableValue=getVariableValue,exports.isDateDataType=isDateDataType,exports.isNumberDataType=isNumberDataType,exports.isPromise=isPromise,exports.monitorFieldChange=monitorFieldChange,exports.queryOptionDatasources=queryOptionDatasources,exports.setValueForVariableName=setValueForVariableName,exports.setVariableValue=setVariableValue,exports.setVariableValueWithProp=setVariableValueWithProp,exports.updateChartDatasources=updateChartDatasources,exports.updateChartDatasourcesByComponent=updateChartDatasourcesByComponent,exports.updateOptionDatasources=updateOptionDatasources;
@@ -0,0 +1,174 @@
1
+ import { PageContext, Component } from './interfaces/page-design-types';
2
+
3
+ /**
4
+ * 获取选项组类需要查询的配置信息
5
+ * @param component
6
+ * @param pageContext
7
+ * @returns
8
+ */
9
+ export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext, systemCode: any, systemVersion: any): any;
10
+ /**
11
+ * 获取选项组类需要查询的配置信息
12
+ * @param component
13
+ * @param pageContext
14
+ * @returns
15
+ */
16
+ export declare function getComponentOptionConfigsBase(component: Component, systemCode: any, systemVersion: any): any;
17
+ /**
18
+ * 初始化需要查询数据的信息
19
+ * @param component
20
+ * @param pageDesign
21
+ * @returns
22
+ */
23
+ export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
24
+ /**
25
+ * 初始化统计图的数据源
26
+ * @param pageContext 页面上下文
27
+ * @param dataSourceConfs 初始化数据配置参数
28
+ */
29
+ export declare function updateChartDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, appendParams: any, isInit?: boolean): Promise<any>;
30
+ /**
31
+ * 更新指定uuid图表的数据
32
+ * @param pageContext 页面上下文
33
+ * @param componentUuid 组件uuid
34
+ */
35
+ export declare function updateChartDatasourcesByComponent(pageContext: PageContext, componentUuid: string): void;
36
+ /**
37
+ * 初始化数据源
38
+ * @param pageContext 页面上下文
39
+ * @param dataSourceConfs 初始化数据配置参数
40
+ */
41
+ export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
42
+ /**
43
+ * 从页面缓存中获取查询到的选项组数据
44
+ * @param pageContext
45
+ * @param configure
46
+ */
47
+ export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
48
+ /**
49
+ * 从页面缓存中获取查询到的选项组数据
50
+ * @param pageContext
51
+ * @param configure
52
+ */
53
+ export declare function getComponentOptionDatasFromPage(pageContext: PageContext, configureUuid: string): any;
54
+ /**
55
+ * 从页面缓存中获取查询到的选项组数据
56
+ * @param pageContext
57
+ * @param configure
58
+ */
59
+ export declare function getOptionDatasSourceMap(pageContext: PageContext): any;
60
+ /**
61
+ * 从页面缓存中获取查询到的统计图数据
62
+ * @param pageContext
63
+ * @param configure
64
+ */
65
+ export declare function getChartDatasFromPage(pageContext: PageContext, configure: Component): any;
66
+ /**
67
+ * 初始化数据源
68
+ * @param pageContext 页面上下文
69
+ * @param dataSourceConfs 初始化数据配置参数
70
+ * @param query 查询条件
71
+ */
72
+ export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
73
+ /**
74
+ * 根据查询条件远程查询
75
+ * @param component
76
+ * @param query 模糊查询内容
77
+ */
78
+ export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
79
+ /**
80
+ * 根据查询条件远程查询
81
+ * @param component
82
+ * @param query 模糊查询内容
83
+ * @param skipProps 自动赋值映射字段跳过字段,因为当前组件set方法内已经被赋值了,
84
+ * 如果是筛选,之前选择的值可能不在筛选后的结果内,这里再给当前组件变量赋值一遍就会导致之前选择的值被覆盖消失
85
+ *
86
+ */
87
+ export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[], skipProps?: string[]): void;
88
+ /**
89
+ *
90
+ * @param entity
91
+ * @param fields
92
+ * @returns
93
+ */
94
+ export declare function getVariableValue(entity: any, fields: string[]): any;
95
+ /**
96
+ * 设置参数值
97
+ * @param entity
98
+ * @param fields
99
+ * @param newValue 新的值
100
+ */
101
+ export declare function setValueForVariableName(entity: any, variableName: string, newValue: any): void;
102
+ /**
103
+ * 设置参数值
104
+ * @param entity
105
+ * @param fields
106
+ * @param newValue 新的值
107
+ */
108
+ export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
109
+ /**
110
+ * 设置参数值
111
+ * @param entity
112
+ * @param fields
113
+ * @param newValue 新的值
114
+ */
115
+ export declare function setVariableValueWithProp(entity: any, prop: string, newValue: any): void;
116
+ /**
117
+ * 格式化变量值
118
+ * @param pageContext
119
+ * @param variable
120
+ */
121
+ export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
122
+ /**
123
+ * 获取参数名
124
+ * @param variable
125
+ * @returns
126
+ */
127
+ export declare function getParamNames(variable: string): any[] | RegExpMatchArray;
128
+ /**
129
+ * 根据类型格式化对象
130
+ * @param value
131
+ * @param formatInfo
132
+ * @returns
133
+ */
134
+ export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
135
+ /**
136
+ * 根据变量获取值
137
+ * @param entity
138
+ * @param variable
139
+ */
140
+ export declare function getValueFromVariable(entity: any, variable: string, row?: any): any;
141
+ /**
142
+ * 从对象中获取值
143
+ * @param valueSource 源对象
144
+ * @param paramName 变量值
145
+ * @param paramType 类型
146
+ */
147
+ export declare function getValueFromSource(valueSource: any, paramName: string, paramType: any): any;
148
+ /**
149
+ * 打开链接
150
+ * @param component
151
+ * @param pageContext
152
+ */
153
+ export declare function openLink(component: Component, pageContext: PageContext): void;
154
+ /**
155
+ * 计算组件是否显示
156
+ * @param pageContext 页面对象
157
+ * @param configure 组件配置参数
158
+ * @param showConditions 显示条件
159
+ */
160
+ export declare function caculateShowCondition(pageContext: PageContext, showConditions: Array<any>, row?: any): any;
161
+ /**
162
+ * 监控变化的字段
163
+ * @param pageContext
164
+ * @param targetFields
165
+ * @param triggerFunc
166
+ */
167
+ export declare function monitorFieldChange(pageContext: PageContext, monitorFields: Array<string>, triggerFunc: Function): void;
168
+ export declare function getFormPropName(prop: any): any;
169
+ export declare function getSizeConfig(pageContext: PageContext, configure: Component): any;
170
+ export declare function isPromise(p: any): boolean;
171
+ export declare function decomposeVariable(variable: string): string[];
172
+ export declare function getModelFieldFromPageContext(fields: string[], pageContext: PageContext): any;
173
+ export declare function isNumberDataType(dataType: string): boolean;
174
+ export declare function isDateDataType(dataType: string): boolean;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("agilebuilder-ui"),R=require("./events/standard-event.cjs"),h=require("./interfaces/page-design-types.cjs"),b=require("./page-helper-util.cjs"),m=require("./api/page-expose-util.cjs"),C=require("./common-util.cjs"),O=require("./events/validator-util.cjs");function k(e,i){let s="";return e&&i&&(s="?listViewTableName="+e+"&listViewTablePublishVersion="+i),f.http.get(window.$vueApp.config.globalProperties.baseAPI+"/component/super-page-design/runtime-param"+s)}function v(){return f.http.get(window.$vueApp.config.globalProperties.baseAPI+"/component/super-page-design/system-param")}function g(e){try{const i=function(s){if(!s)return s;try{const o=window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"),r=window.CryptoJS.enc.Latin1.parse("1234567812345678");return window.CryptoJS.AES.decrypt(s,o,{iv:r,mode:window.CryptoJS.mode.CBC,padding:window.CryptoJS.pad.ZeroPadding}).toString(CryptoJS.enc.Utf8)}catch{return s}}(e);return i?JSON.parse(i):{}}catch{return e}}function S(e){try{return e.props&&e.props.judgeHeavyList.length>0?(e.props.judgeHeavyList.forEach(i=>{i.duplicateFieldList&&i.duplicateFieldList.length>0&&(i.duplicateFieldList=i.duplicateFieldList.map(s=>typeof s=="string"?{propDbName:s}:s))}),e.props.judgeHeavyList):null}catch(i){console.error("getJudgeHeavyList error:",i)}}function A(e,i){if(e){const s=f.getSessionCache(e);if(s){const o=JSON.parse(s);Object.assign(i,o)}}}function V(e,i){let s,o=i;i||(s=e.props.base?e.props.base:{},o=s.prop);let r=null;return i&&!i.startsWith("${")?r=["data",i]:!e||o&&o.startsWith("${")?o.startsWith("${")?(o=o.substring(2,o.length-1),r=o.split("."),e&&r.length<2&&(r=[e.uuid])):e&&(r=["page",e.uuid]):r=["page",e.uuid],r||e?r:["temp"]}function I(e){return e!=null&&e!==""}function T(e,i,s,o){!Array.isArray(s)||o?b.setVariableValue(e,i,s):b.setVariableValue(e,i,s.join(","))}function P(e,i,s,o){let r;if(i&&(r=b.formatVariableValue(e,i),r!=null&&r!=null&&s)){let n=!1;s=="checkbox"?n=!0:s=="select"&&(n=o),n&&(r=(r+"").split(","))}return r}function F(e,i){const s=i.pagePermissions;if(s&&s.length>0){for(let o=0;o<s.length;o++)if(s[o].simpleCode===e)return s[o]}return null}function q(e,i,s){const o=e.tableRuntimes,r=R.getAdditionalParamMap(i);let n;const t=e.code;return r&&Object.keys(r)>0&&(n=JSON.stringify(r)),f.http.post(window.$vueApp.config.globalProperties.baseAPI+"/component/super-page-design/super-grids",{tableRuntimes:o,additionalParamMapJson:n,pageCode:t,publishVersion:s,pageType:e.pageType})}const W=["button-detail","print-label"];exports.controlObjectRenderState=function(e,i){e.initInfo&&["dynamicControlFormEdit","disableElement","enableElement","hideElement","showElement"].forEach(s=>{const o=e.initInfo[s];if(o)if(s==="dynamicControlFormEdit"){let r=o.filter(n=>n.name==="_all_fields"||n.name===i);if(r&&r.length>0&&(r=r.filter(n=>n.name==="_all_fields"),r&&r.length>0)){const n=C.deepCopy(r[0]);n.name=i,r=[n]}m.functions.dynamicControlFormEdit(e,r,!1)}else s==="disableElement"?o.indexOf(i)>=0&&m.functions.disableElement(e,[i],!1):s==="enableElement"?o.indexOf(i)>=0&&m.functions.enableElement(e,[i],!1):s==="hideElement"?o.indexOf(i)>=0&&m.functions.hideElement(e,[i],!1):s==="showElement"&&o.indexOf(i)>=0&&m.functions.showElement(e,[i],!1)})},exports.convertToPageContext=function(e){var s,o,r;if(e==null)return null;const i={uuid:e.uuid,name:e.name,label:e.label,code:e.code,version:e.version,dimensions:e.dimensions,systemCode:e.systemCode,systemVersion:e.systemVersion,backendUrl:e.backendUrl,rules:{},tableUuids:e.tableUuids,listCodesMap:e.listCodesMap,listCodesInitSearchForm:e.listCodesInitSearchForm,formNoRuleCode:e.props?e.props.formNoRuleCode:null,judgeHeavyList:S(e),pageType:e.pageType,beanName:e.props?e.props.beanName:null,importBeanName:e.props?e.props.importBeanName:null,subTablePageInfo:e.subTablePageInfo,workflowCode:e.workflowCode,workflowVersion:e.workflowVersion,refercePropMap:(s=e.runtime)==null?void 0:s.refercePropMap,subTableWatchProps:e.subTableWatchProps,dataTypeMaps:e.dataTypeMaps,allChartUuids:e.allChartUuids,branchFieldAuth:e.branchFieldAuth,entity:{data:{},task:{},request:{},page:{},context:e.contextParam,system:e.systemParam},propTitleMap:{}};if(e.props&&e.props.notIdInitializationList){let n=e.props.notIdInitializationList;typeof n=="string"&&(n=JSON.parse(n)),n.length>0&&(i.notIdInitializationList=n)}if(e.variables){const n=i.entity.page;for(const t of e.variables)t.name&&(t.isArrayElement?n[t.name]=[]:t.defaultValue?n[t.name]=t.defaultValue:n[t.name]=void 0)}return function(n){if(f.isMobileBrowser()){n.entity.page._isMobile="true";const t=navigator?navigator.userAgent:null;t?t.indexOf("Html5Plus")>0?(n.entity.page._isMobileApp="true",n.entity.page._isMobileBrowser="false"):(n.entity.page._isMobileApp="false",n.entity.page._isMobileBrowser="true"):(n.entity.page._isMobileApp="false",n.entity.page._isMobileBrowser="false")}else n.entity.page._isMobile="false"}(i),Object.assign(i,e),i.isWorkflowEntity=((o=e.props)==null?void 0:o.activeWorkflow)!==void 0?(r=e.props)==null?void 0:r.activeWorkflow:e.isWorkflowEntity,i.dimensions=function(){const n=window.outerWidth;return n?n>768?h.PageDimensions.PC:n>414?h.PageDimensions.IPAD:h.PageDimensions.PHONE:h.PageDimensions.PC}(),i.events=e.runtime&&e.runtime.events?e.runtime.events:[],i},exports.getDefaultValue=P,exports.getFormModelFields=function(e,i,s){var n,t;const o=V(i,s),r=e.entity;if(r.data.ID==null&&r.data.id==null){let p,a,l=!1;if(i&&(p=i.props.base?i.props.base:{},a=i.name,l=p.multiple),b.getVariableValue(r,o)==null){const d=p?p.defaultValue:null,c=!!((n=i==null?void 0:i.runtime)!=null&&n.arrayValue);if(d)try{const y=P(e,d,a,l);if(I(y))T(r,o,y,c);else if(((t=p.moreDefaultValue)==null?void 0:t.length)>0){const E=p.moreDefaultValue;for(let w=0;w<E.length;w++){const M=P(e,E[w],a,l);if(I(M)){T(r,o,M,c);break}}}}catch(y){console.error("设置默认值出错:",o,y)}}}return o},exports.getModelFields=V,exports.getPermissionCodes=function(e,i){var o,r;if(((r=(o=e.props)==null?void 0:o.base)==null?void 0:r.isPermission)===!1)return"true";const s=[];if(e.autoPermissions)for(const n of e.autoPermissions)s.push(i.code+"."+n.simpleCode);if(e.functionCodes){const n=e.sourceTypes?e.sourceTypes:[],t=e.functionCodes;for(let p=0;p<t.length;p++){const a=t[p],l=p<n.length?n[p]:"";let u="";l=="service"?u=a:l==="standard"?u=i.code+"."+a:u=F(a,i).type==="custom"?a:i.code+"."+a,s.includes(u)||s.push(u)}}return s.join(",")},exports.packageAdditionalMapWithLocationSearch=function(e){let i=decodeURI(window.location.href);try{window.top&&!Array.isArray(window.top)&&(i=decodeURI(window.top.location.href))}catch{}if(i&&i.includes("?")){i=i.substring(i.lastIndexOf("?")+1);const s=i.split("&");for(const o of s){const r=o.split("=");let n=r[0];if(n){const t=r.length>1?r[1]:"";n.indexOf("ai__")>=0&&(n=n.substring(n.indexOf("ai__")+4)),e[n]=t}}}},exports.packageAdditionalMapWithPageRequest=function(e,i){e&&(Object.assign(i,e),A(e.paramStoreId,i),delete e.paramStoreId,e.jumpMode&&(i.jumpMode=e.jumpMode))},exports.packageAdditionalMapWithRoute=function(e,i){e&&(e.params&&Object.assign(i,e.params),e.query,e.query)&&(Object.assign(i,e.query),A(e.query.paramStoreId,i))},exports.packageFormRules=function(e,i,s){var t,p;const o=i.props&&i.props.base?i.props.base.prop:null,r=C.isWorkflowPage(e);let n=!1;if(r&&W.indexOf(i.name)<0&&e.fieldPermissionMap){const a=e.fieldPermissionMap.get("all_fields");(a==null?void 0:a.canEdit)===!1&&((t=i.runtime)!=null&&t.props)&&(i.runtime.props.state="disabled",n=!0)}if(o){const a=b.getFormPropName(o);if(e.rules||(e.rules={}),i.props.rules&&i.props.rules.length>0&&(e.rules[a]||(e.rules[a]=[]),i.props.rules.forEach(l=>{O.packageCustomValidator(l),!s&&l&&l.required&&(l.required=!1)}),e.rules[a]=i.props.rules),r&&!n&&i.name!=="button-detail"&&e.fieldPermissionMap){const l=e.fieldPermissionMap.get(a);if(!s&&e.workflowRules&&(e.workflowRules[a]||e.workflowRules.rules&&e.workflowRules.rules[a])){let u=e.workflowRules[a];if(!u&&e.workflowRules.rules&&(u=e.workflowRules.rules[a]),u&&Array.isArray(u)&&u.length>0)for(let d=0;d<u.length;d++){const c=u[d];if(c&&c.required){c.required=!1;break}}else u&&u.required&&(u.required=!1)}i.runtime.props||(i.runtime.props={}),l?(!s&&l.canEdit&&(l.canEdit=!1),l.canEdit===!1?i.runtime.props.state="disabled":l.canEdit&&(i.runtime.props.state="",i.runtime.props.required=!0)):i.runtime.props.state=""}(p=i.props)!=null&&p.customRuleEvents&&(e.customRuleEvents||(e.customRuleEvents=[]),e.customRuleEvents.push({prop:a,events:i.props.customRuleEvents}))}},exports.queryPageDesignByCode=function(e){return new Promise((i,s)=>{(function(o){return f.http.get(window.$vueApp.config.globalProperties.baseAPI+"/component/super-page-design/runtime/"+o)})(e).then(o=>{o?v().then(r=>{r&&(o.systemParam=g(r)),k(o.listViewTableName,o.listViewTablePublishVersion).then(n=>{n?(o.contextParam=g(n.contextParam),o.branchFieldAuth=n.branchFieldAuth,o.isWorkflowEntity=n.isWorkflowEntity,o.dataTypeMaps=n.dataTypeMaps,i(o)):i(null)})}).catch(()=>{i(o)}):i(null)})})},exports.queryPageDesignWhenPreview=function(e,i){return new Promise((s,o)=>{e?v().then(r=>{r&&(e.systemParam=g(r)),e.tableRuntimes&&Object.keys(e.tableRuntimes).length>0?q(e,i,e.systemVersion).then(n=>{e.contextParam=g(n.contextParam),e.branchFieldAuth=n.branchFieldAuth,e.isWorkflowEntity=n.isWorkflowEntity,e.dataTypeMaps=n.dataTypeMaps,e.superGridItems=n.superGrids,s(e)}).catch(n=>{o(n)}):k("","").then(n=>{n?(e.contextParam=g(n.contextParam),e.branchFieldAuth=n.branchFieldAuth,e.isWorkflowEntity=n.isWorkflowEntity,e.dataTypeMaps=n.dataTypeMaps,s(e)):s(null)}).catch(n=>{o(n)})}):s(null)})},exports.queryPageSuperGrids=q;
@@ -0,0 +1,49 @@
1
+ import { Component, PageContext, PageDesign } from './interfaces/page-design-types';
2
+
3
+ /**
4
+ * 查询页面设计对象
5
+ * @param pageId
6
+ * @returns
7
+ */
8
+ export declare function queryPageDesign(pageId: number): Promise<any>;
9
+ /**
10
+ * 查询页面设计对象
11
+ * @param pageCode
12
+ * @returns
13
+ */
14
+ export declare function queryPageDesignByCode(pageCode: string): Promise<any>;
15
+ export declare function queryPageDesignWhenPreview(pageDesignInfo: any, tempContext: any): Promise<any>;
16
+ /**
17
+ * 转换页面设计对象为运行时对象
18
+ * @param pageDesign 页面设计对象
19
+ */
20
+ export declare function convertToPageContext(pageDesign: PageDesign): PageContext | null;
21
+ /**
22
+ * 获取请求对象的值
23
+ */
24
+ export declare function packageAdditionalMapWithLocationSearch(requestObj: any): any;
25
+ export declare function packageAdditionalMapWithPageRequest(pageRequest: object, requestObj: any): void;
26
+ export declare function packageAdditionalMapWithRoute(route: any, requestObj: any): void;
27
+ export declare function getModelFields(formItemConfigure: any, prop?: string): string[];
28
+ /**
29
+ * 获取表单元素模型名称
30
+ * @param pageContext 页面对象
31
+ * @param formItemConfigure 表单元素配置参数
32
+ */
33
+ export declare function getFormModelFields(pageContext: PageContext, formItemConfigure: any, prop?: string): string[];
34
+ export declare function getDefaultValue(pageContext: PageContext, defaultValueSet: any, componentType: string, multiple: boolean): any;
35
+ /**
36
+ * 获取组件的权限编码
37
+ * @param configure
38
+ * @param pageContext
39
+ * @returns
40
+ */
41
+ export declare function getPermissionCodes(configure: Component, pageContext: PageContext): string;
42
+ /**
43
+ * 查询页面中所有列表配置
44
+ * @param pageCode
45
+ * @returns
46
+ */
47
+ export declare function queryPageSuperGrids(pageDesign: any, tempContext: any, publishVersion: any): Promise<any>;
48
+ export declare function packageFormRules(pageContext: PageContext, configure: any, isHasPermission: boolean): void;
49
+ export declare function controlObjectRenderState(pageContext: PageContext, propName: string): void;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var c=(o=>(o.AUTHENTICATED="AUTHENTICATED",o.ANONYMOUS="ANONYMOUS",o.AUTHORIZED="AUTHORIZED",o))(c||{});const a={page:{label:"页面",functions:[{label:"页面",path:"temp"}]},gets:{group:"表单标准功能",label:"获取表单数据",functions:[{funcType:"AUTHENTICATED",path:"/commons/gets$POST"}]},workflowGets:{group:"标准流程",label:"获取表单及流程数据",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/gets$POST"}]},save:{group:"表单标准功能",label:"暂存",functions:[{code:"create",label:"暂存",path:"/commons$POST"},{code:"update",label:"修改",path:"/commons$POST"}]},submit:{group:"表单标准功能",label:"提交",functions:[{path:"/commons/submits$POST"}]},exportForm:{group:"表单标准功能",label:"导出报告",functions:[{path:"/commons/export-reports$POST"}]},exportPDF:{group:"表单标准功能",label:"导出PDF",functions:[{path:"/commons/exportPDF$POST"}]},agree:{group:"表单标准功能",label:"同意",functions:[{path:"/commons/approves$POST"}]},disagree:{group:"表单标准功能",label:"不同意",functions:[{path:"/commons/refuses$POST"}]},back:{group:"表单标准功能",label:"返回",functions:[]},workflowSave:{group:"流程表单功能",label:"暂存",functions:[{label:"暂存",code:"save",funcType:"AUTHENTICATED",path:"/workflow-commons$POST"},{label:"修改",code:"update",funcType:"AUTHENTICATED",path:"/workflow-commons$PUT"}]},workflowStart:{group:"流程表单功能",label:"起草",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/start$POST"}]},submitProcess:{group:"流程表单功能",label:"提交流程",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/submit$POST"}]},submitTask:{group:"流程表单功能",label:"提交任务",functions:[{funcType:"AUTHENTICATED",code:"completeTask.submit",path:"/workflow-commons/complete-tasks$POST"}]},approve:{group:"流程表单功能",label:"同意",functions:[{funcType:"AUTHENTICATED",code:"completeTask.approve",path:"/workflow-commons/complete-tasks$POST"}]},refuse:{group:"流程表单功能",label:"不同意",functions:[{funcType:"AUTHENTICATED",code:"completeTask.refuse",path:"/workflow-commons/complete-tasks$POST"}]},assign:{group:"流程表单功能",label:"指派",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/assigns$POST"}]},drawTask:{group:"流程表单功能",label:"领取",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/draw-tasks$POST"}]},abandonReceive:{group:"流程表单功能",label:"放弃领取",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/abandon-receives$POST"}]},readed:{group:"流程表单功能",label:"已阅",functions:[{funcType:"AUTHENTICATED",code:"completeTask.readed",path:"/workflow-commons/complete-tasks$POST"}]},agreement:{group:"流程表单功能",label:"赞成",functions:[{funcType:"AUTHENTICATED",code:"completeTask.agreement",path:"/workflow-commons/complete-tasks$POST"}]},oppose:{group:"流程表单功能",label:"反对",functions:[{funcType:"AUTHENTICATED",code:"completeTask.oppose",path:"/workflow-commons/complete-tasks$POST"}]},kiken:{group:"流程表单功能",label:"弃权",functions:[{funcType:"AUTHENTICATED",code:"completeTask.kiken",path:"/workflow-commons/complete-tasks$POST"}]},addSigner:{group:"流程表单功能",label:"加签",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/add-signers$POST"}]},removeSigner:{group:"流程表单功能",label:"减签",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/remove-signers$POST"},{code:"getRemoveSigners",label:"获取可减签人员",funcType:"AUTHENTICATED",path:"/workflow-commons/get-remove-signers$POST"}]},copyTask:{group:"流程表单功能",label:"抄送",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/copies$POST"}]},retrieveTask:{group:"流程表单功能",label:"取回",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/retrieves$POST"}]},returnToPreviousTask:{group:"流程表单功能",label:"驳回",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/return-to-previous-tasks$POST"}]},returnTaskTo:{group:"流程表单功能",label:"退回",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/returnTaskTo$POST"},{code:"returnableTaskInformation",label:"获取可退回环节信息",funcType:"AUTHENTICATED",path:"/workflow-commons/returnable-task/{taskId}$POST"}]},endInstance:{group:"流程表单功能",label:"强制结束",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/end-instance$POST"}]},extractWorkflow:{group:"流程表单功能",label:"抽单",functions:[{label:"发起抽单",code:"initiateExtract",funcType:"AUTHENTICATED",path:"/workflow-commons/initiate-extract$POST"}]},cancelExtractWorkflow:{group:"流程表单功能",label:"取消抽单",functions:[{label:"取消抽单",code:"cancelExtract",funcType:"AUTHENTICATED",path:"/workflow-commons/cancel-extract$POST"}]},approveExtractWorkflow:{group:"流程表单功能",label:"同意抽单",functions:[{label:"同意抽单",code:"approveExtract",funcType:"AUTHENTICATED",path:"/workflow-commons/approve-extract$POST"}]},refuseExtractWorkflow:{group:"流程表单功能",label:"不同意抽单",functions:[{label:"不同意抽单",code:"refuseExtract",funcType:"AUTHENTICATED",path:"/workflow-commons/refuse-extract$POST"}]},listData:{group:"列表功能",label:"列表数据",functions:[{funcType:"AUTHENTICATED",path:"/commons/list$POST"}]},listSubData:{group:"列表功能",label:"列表子级",functions:[{funcType:"AUTHENTICATED",path:"/commons/list-subs$POST"}]},saveList:{group:"列表功能",label:"暂存",props:{base:{type:"info",plain:!0}},functions:[{code:"create",label:"暂存",path:"/commons$POST"},{funcType:"AUTHENTICATED",code:"update",label:"修改",path:"/commons$POST"}]},delete:{group:"列表功能",label:"删除",props:{base:{type:"danger",plain:!0}},functions:[{path:"/commons/{tableName}$DELETE"}]},submitList:{group:"列表功能",label:"提交",props:{base:{type:"primary"}},functions:[{path:"/commons/batch-submits$POST"}]},agreeList:{group:"列表功能",label:"同意",props:{base:{type:"success",plain:!0}},functions:[{path:"/commons/batch-approves$POST"}]},disagreeList:{group:"列表功能",label:"不同意",props:{base:{type:"danger",plain:!0}},functions:[{path:"/commons/batch-refuses$POST"}]},import:{group:"列表功能",label:"导入",props:{base:{type:"primary",plain:!0}},functions:[{path:"/commons/import-data$POST"}]},export:{group:"列表功能",label:"导出",props:{base:{type:"success",plain:!0}},functions:[{path:"/commons/export-list-data$POST"}]},search:{group:"列表功能",label:"查询",functions:[]},showMobileSearch:{group:"列表功能",label:"显示移动端查询区域",functions:[]},downloadTemplate:{group:"列表功能",label:"下载导入模板",functions:[{path:"/commons/download-files$GET"}]},lineEditCreate:{group:"列表行编辑功能",label:"新建",props:{base:{type:"primary"}},functions:[{code:"create",label:"暂存",path:"/commons$POST"}]},lineEditSave:{group:"列表行编辑功能",label:"保存",props:{base:{type:"success",text:!0}},functions:[{code:"create",label:"保存",path:"/commons$POST"},{code:"update",label:"修改",path:"/commons$POST"}]},lineEditDelete:{group:"列表行编辑功能",label:"删除",props:{base:{type:"danger",text:!0}},functions:[{code:"delete",path:"/commons/{tableName}$DELETE"}]},lineEditUpdate:{group:"列表行编辑功能",label:"修改",props:{base:{type:"primary",text:!0}},functions:[{code:"update",label:"修改",path:"/commons$POST"}]},restoreEdit:{group:"列表行编辑功能",label:"取消",props:{base:{type:"info",text:!0}},functions:[]},addTransactor:{group:"流程表单功能",label:"增加办理人",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/add-transactors$POST"}]},removeTransactor:{group:"流程表单功能",label:"减少办理人",functions:[{funcType:"AUTHENTICATED",path:"/workflow-commons/remove-transactors$POST"},{code:"getRemoveTransactors",label:"获取可减少办理人员",funcType:"AUTHENTICATED",path:"/workflow-commons/get-remove-transactors$POST"}]}},p={};exports.FuncType=c,exports.getFunctionInfo=function(o){if(!o)return;let e=p[o];if(e==null){for(const n in a){const s=a[n].functions;if(s){for(const t of s)if(o===(t.code?t.code:n)){e=t;break}if(e)break}}p[o]=e||""}return e||void 0},exports.getStandPermissionInfo=function(o){return o?a[o]:void 0};
@@ -0,0 +1,26 @@
1
+ export declare enum FuncType {
2
+ /**
3
+ * 公用
4
+ */
5
+ AUTHENTICATED = "AUTHENTICATED",
6
+ /**
7
+ * 匿名
8
+ */
9
+ ANONYMOUS = "ANONYMOUS",
10
+ /**
11
+ * 专用
12
+ */
13
+ AUTHORIZED = "AUTHORIZED"
14
+ }
15
+ /**
16
+ * 根据简码获取对应的资源信息
17
+ * @param eventName 方法名
18
+ * @returns
19
+ */
20
+ export declare function getStandPermissionInfo(eventName: string): any;
21
+ /**
22
+ * 获取资源信息
23
+ * @param simpleCode
24
+ * @returns
25
+ */
26
+ export declare function getFunctionInfo(simpleCode: string): any;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("pinia"),L=require("./eventBus.cjs"),P=C.defineStore("pageContextUtil",()=>{const p=t.ref({systemCode:"",systemVersion:-1}),n=t.ref(!1),r=t.ref(!1),o=t.ref(!1),d=t.ref([]),i=t.ref(0),l=t.ref(0);let u=null,s=-1,c=-1,v=0;function f(){u&&clearTimeout(u),u=setTimeout(()=>{t.nextTick(()=>{(function(){const e=i.value,a=l.value;if(v++,v>=100)return void(e>0&&e===a&&m(!0));if(e>0&&e===a){if(e===s&&a===c&&!n.value)return void m(!0);s=e,c=a,f()}else s=-1,c=-1,f()})()})},30)}function m(e){n.value=e,g()}function g(){n.value&&r.value&&!o.value&&(L.$emit("pageLoaded"),o.value=!0)}return{pageContext:p,setPageContext:function(e){p.value=e},countComponentsTotalNmber:function(){i.value++,n.value=!1,o.value=!1},countComponentsLoadedNumber:function(){l.value++,f()},componentsTotalNmber:i,componentsLoadedNumber:l,setPageComponentsLoaded:m,setFormPageDataLoadState:function(e){r.value=e,g()},formPageDataLoaded:r,pageComponentsLoaded:n,restorePageLoadState:function(){n.value=!1,r.value=!1,o.value=!1},pageLoaded:o,getPageLoaded:function(){return o.value},setPageLoaded:function(e){o.value=e},setAutoAnchorComponentConditions:function(e,a){d.value.push({uuid:e,conditions:a})},getAutoAnchorComponentConditions:function(){return d.value},resetAutoAnchorComponentConditions:function(){d.value=[]},resetComponentCounters:function(){i.value=0,l.value=0,n.value=!1,o.value=!1,s=-1,c=-1,v=0,u&&(clearTimeout(u),u=null)}}});exports.usePageContextStore=P;
@@ -0,0 +1,58 @@
1
+ export declare const usePageContextStore: import('pinia').StoreDefinition<"pageContextUtil", Pick<{
2
+ pageContext: any;
3
+ setPageContext: (newPageContext: any) => void;
4
+ countComponentsTotalNmber: () => void;
5
+ countComponentsLoadedNumber: () => void;
6
+ componentsTotalNmber: import('vue').Ref<number, number>;
7
+ componentsLoadedNumber: import('vue').Ref<number, number>;
8
+ setPageComponentsLoaded: (state: boolean) => void;
9
+ setFormPageDataLoadState: (state: boolean) => void;
10
+ formPageDataLoaded: import('vue').Ref<boolean, boolean>;
11
+ pageComponentsLoaded: import('vue').Ref<boolean, boolean>;
12
+ restorePageLoadState: () => void;
13
+ pageLoaded: import('vue').Ref<boolean, boolean>;
14
+ getPageLoaded: () => boolean;
15
+ setPageLoaded: (state: boolean) => void;
16
+ setAutoAnchorComponentConditions: (uuid: any, conditions: any) => void;
17
+ getAutoAnchorComponentConditions: () => any[];
18
+ resetAutoAnchorComponentConditions: () => void;
19
+ resetComponentCounters: () => void;
20
+ }, "pageContext" | "componentsTotalNmber" | "componentsLoadedNumber" | "formPageDataLoaded" | "pageComponentsLoaded" | "pageLoaded">, Pick<{
21
+ pageContext: any;
22
+ setPageContext: (newPageContext: any) => void;
23
+ countComponentsTotalNmber: () => void;
24
+ countComponentsLoadedNumber: () => void;
25
+ componentsTotalNmber: import('vue').Ref<number, number>;
26
+ componentsLoadedNumber: import('vue').Ref<number, number>;
27
+ setPageComponentsLoaded: (state: boolean) => void;
28
+ setFormPageDataLoadState: (state: boolean) => void;
29
+ formPageDataLoaded: import('vue').Ref<boolean, boolean>;
30
+ pageComponentsLoaded: import('vue').Ref<boolean, boolean>;
31
+ restorePageLoadState: () => void;
32
+ pageLoaded: import('vue').Ref<boolean, boolean>;
33
+ getPageLoaded: () => boolean;
34
+ setPageLoaded: (state: boolean) => void;
35
+ setAutoAnchorComponentConditions: (uuid: any, conditions: any) => void;
36
+ getAutoAnchorComponentConditions: () => any[];
37
+ resetAutoAnchorComponentConditions: () => void;
38
+ resetComponentCounters: () => void;
39
+ }, "pageContext">, Pick<{
40
+ pageContext: any;
41
+ setPageContext: (newPageContext: any) => void;
42
+ countComponentsTotalNmber: () => void;
43
+ countComponentsLoadedNumber: () => void;
44
+ componentsTotalNmber: import('vue').Ref<number, number>;
45
+ componentsLoadedNumber: import('vue').Ref<number, number>;
46
+ setPageComponentsLoaded: (state: boolean) => void;
47
+ setFormPageDataLoadState: (state: boolean) => void;
48
+ formPageDataLoaded: import('vue').Ref<boolean, boolean>;
49
+ pageComponentsLoaded: import('vue').Ref<boolean, boolean>;
50
+ restorePageLoadState: () => void;
51
+ pageLoaded: import('vue').Ref<boolean, boolean>;
52
+ getPageLoaded: () => boolean;
53
+ setPageLoaded: (state: boolean) => void;
54
+ setAutoAnchorComponentConditions: (uuid: any, conditions: any) => void;
55
+ getAutoAnchorComponentConditions: () => any[];
56
+ resetAutoAnchorComponentConditions: () => void;
57
+ resetComponentCounters: () => void;
58
+ }, "pageContext" | "setPageContext" | "countComponentsTotalNmber" | "countComponentsLoadedNumber" | "setPageComponentsLoaded" | "setFormPageDataLoadState" | "restorePageLoadState" | "getPageLoaded" | "setPageLoaded" | "setAutoAnchorComponentConditions" | "getAutoAnchorComponentConditions" | "resetAutoAnchorComponentConditions" | "resetComponentCounters">>;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./store.cjs");function u(t,o){return t+":"+o}exports.getPageStoreKey=u,exports.setStoreInfo=function(t,o,c,i){const n=u(t,o);let e=r.get(n);e||(e={},r.set(n,e)),e[c]=i};