super-page-runtime 2.3.21 → 2.3.22-tmp2

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 (520) hide show
  1. package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
  2. package/dist/es/components/runtime/utils/{anchor-util.js → anchor-util.mjs} +5 -5
  3. package/dist/es/components/runtime/utils/api/api-util.mjs +4 -0
  4. package/dist/es/components/runtime/utils/api/{page-expose-util.js → page-expose-util.mjs} +26 -27
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +20 -0
  6. package/dist/es/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.mjs} +4 -4
  7. package/dist/es/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.mjs} +9 -9
  8. package/dist/es/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.mjs} +11 -11
  9. package/dist/es/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.mjs} +4 -4
  10. package/dist/es/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.mjs} +12 -12
  11. package/dist/es/components/runtime/utils/charts/{chart-util.js → chart-util.mjs} +13 -13
  12. package/dist/es/components/runtime/utils/{common-util.js → common-util.mjs} +13 -14
  13. package/dist/es/components/runtime/utils/events/{event-util.js → event-util.mjs} +94 -95
  14. package/dist/es/components/runtime/utils/events/{print-label.js → print-label.mjs} +2 -2
  15. package/dist/es/components/runtime/utils/events/standard-event.mjs +1166 -0
  16. package/dist/es/components/runtime/utils/events/{validator-util.js → validator-util.mjs} +35 -37
  17. package/dist/es/components/runtime/utils/form/scan-util.mjs +93 -0
  18. package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
  19. package/dist/es/components/runtime/utils/page-helper-util.mjs +386 -0
  20. package/dist/es/components/runtime/utils/{page-init-util.js → page-init-util.mjs} +102 -104
  21. package/dist/es/components/runtime/utils/{page-store.js → page-store.mjs} +7 -7
  22. package/dist/es/components/runtime/utils/{store-util.js → store-util.mjs} +1 -1
  23. package/dist/es/components/runtime/utils/{table-utils.js → table-utils.mjs} +16 -16
  24. package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
  25. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
  26. package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.mjs} +5 -5
  27. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue.js → buttongroup-runtime.vue.mjs} +3 -3
  28. package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.mjs} +5 -5
  29. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
  30. package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.mjs} +7 -7
  31. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
  32. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +6 -0
  33. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
  34. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +21 -0
  35. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
  36. package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.mjs} +6 -6
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +4 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +4 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.mjs} +5 -5
  40. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +4 -0
  41. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
  42. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +59 -0
  43. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue.js → gauge-runtime.vue.mjs} +3 -3
  44. package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.mjs} +6 -6
  45. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue.js → pie-runtime.vue.mjs} +3 -3
  46. package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.mjs} +8 -8
  47. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue.js → radar-runtime.vue.mjs} +3 -3
  48. package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.mjs} +6 -6
  49. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue.js → scatter-runtime.vue.mjs} +3 -3
  50. package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.mjs} +6 -6
  51. package/dist/es/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.mjs} +3 -3
  52. package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue.js → group-column-item.vue.mjs} +1 -1
  53. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +4 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.mjs} +4 -4
  55. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue.js → normal-column.vue.mjs} +13 -17
  57. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +4 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +8 -8
  61. package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.mjs} +2 -2
  62. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +4 -0
  63. package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.mjs} +2 -2
  64. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +4 -0
  65. package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.mjs} +1 -1
  66. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
  67. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
  68. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
  69. package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.mjs} +1 -1
  70. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +4 -0
  71. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +4 -0
  72. package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.mjs} +1 -1
  73. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +4 -0
  74. package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.mjs} +2 -2
  75. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +4 -0
  76. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +4 -0
  77. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue.js → card-runtime.vue.mjs} +3 -3
  78. package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.mjs} +6 -6
  79. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
  80. package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.mjs} +8 -8
  81. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
  82. package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.mjs} +6 -6
  83. package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → FixedBox.vue.mjs} +3 -3
  84. package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue.js → YxAffix.vue.mjs} +3 -3
  85. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
  86. package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.mjs} +7 -7
  87. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
  88. package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.mjs} +7 -7
  89. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
  90. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +14 -0
  91. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue.js → tabs-runtime.vue.mjs} +3 -3
  92. package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.mjs} +7 -7
  93. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue.js → tools-runtime.vue.mjs} +3 -3
  94. package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.mjs} +4 -4
  95. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
  96. package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.mjs} +19 -19
  97. package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.mjs} +10 -10
  98. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
  99. package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.mjs} +8 -8
  100. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +4 -0
  101. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
  102. package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +31 -31
  103. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
  104. package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.mjs} +31 -31
  105. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +4 -0
  106. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
  107. package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.mjs} +9 -9
  108. package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +4 -4
  109. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +4 -0
  110. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
  111. package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.mjs} +14 -14
  112. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
  113. package/dist/es/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.mjs} +10 -10
  114. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
  115. package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.mjs} +10 -10
  116. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
  117. package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.mjs} +5 -5
  118. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
  119. package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime.vue2.mjs} +20 -22
  120. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
  121. package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.mjs} +9 -9
  122. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
  123. package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime.vue2.mjs} +33 -34
  124. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue.js → label-runtime.vue.mjs} +3 -3
  125. package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.mjs} +8 -8
  126. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
  127. package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.mjs} +8 -8
  128. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue.js → placeholder-runtime.vue.mjs} +3 -3
  129. package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.mjs} +1 -1
  130. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
  131. package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.mjs} +8 -8
  132. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
  133. package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.mjs} +7 -7
  134. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +4 -0
  135. package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.mjs} +10 -10
  136. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
  137. package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.mjs} +3 -3
  138. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
  139. package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.mjs} +9 -9
  140. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
  141. package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.mjs} +15 -15
  142. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
  143. package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.mjs} +9 -9
  144. package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +11 -11
  145. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
  146. package/dist/es/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.mjs} +15 -15
  147. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
  148. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +6 -0
  149. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +4 -0
  150. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue.js → workflow-opinion-box.vue.mjs} +3 -3
  151. package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.mjs} +7 -7
  152. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue.js → extract-workflow-runtime-dialog.vue.mjs} +3 -3
  153. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.mjs} +2 -2
  154. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue.js → extract-workflow-runtime.vue.mjs} +3 -3
  155. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.mjs} +6 -6
  156. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
  157. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.mjs} +9 -9
  158. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
  159. package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.mjs} +7 -7
  160. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue.js → workflowbutton-runtime.vue.mjs} +3 -3
  161. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.mjs} +4 -4
  162. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
  163. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +18 -0
  164. package/dist/es/components/runtime/views/{home-chart.vue.js → home-chart.vue.mjs} +8 -8
  165. package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
  166. package/dist/es/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.mjs} +1 -1
  167. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
  168. package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
  169. package/dist/es/components/runtime/views/{super-page.vue2.js → super-page.vue2.mjs} +90 -94
  170. package/dist/es/{index.js → index.mjs} +12 -12
  171. package/dist/es/style.css +136 -136
  172. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +6 -0
  173. package/dist/lib/assets/chart-themes/bar-theme.cjs +2 -0
  174. package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
  175. package/dist/lib/assets/chart-themes/gauge-theme.cjs +2 -0
  176. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
  177. package/dist/lib/assets/chart-themes/pie-theme.cjs +2 -0
  178. package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
  179. package/dist/lib/assets/chart-themes/radar-theme.cjs +2 -0
  180. package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
  181. package/dist/lib/assets/chart-themes/scatter-theme.cjs +2 -0
  182. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
  183. package/dist/lib/assets/file.png.cjs +2 -0
  184. package/dist/lib/assets/folder.png.cjs +2 -0
  185. package/dist/lib/components/runtime/index.d.ts +5 -0
  186. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +13 -0
  187. package/dist/lib/components/runtime/utils/anchor-util.cjs +62 -0
  188. package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
  189. package/dist/lib/components/runtime/utils/api/api-util.cjs +3 -0
  190. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  191. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +169 -0
  192. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  193. package/dist/lib/components/runtime/utils/assemblys-config.cjs +16 -0
  194. package/dist/lib/components/runtime/utils/barcode-util.cjs +10 -0
  195. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  196. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +137 -0
  197. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +34 -0
  198. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +78 -0
  199. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +52 -0
  200. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +43 -0
  201. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +244 -0
  202. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
  203. package/dist/lib/components/runtime/utils/common-util.cjs +91 -0
  204. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  205. package/dist/lib/components/runtime/utils/eventBus.cjs +3 -0
  206. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +345 -0
  208. package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
  209. package/dist/lib/components/runtime/utils/events/print-label.cjs +97 -0
  210. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  211. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1101 -0
  212. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
  213. package/dist/lib/components/runtime/utils/events/validator-util.cjs +296 -0
  214. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
  215. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +34 -0
  216. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  217. package/dist/{es/components/runtime/utils/form/scan-util.js → lib/components/runtime/utils/form/scan-util.cjs} +6 -9
  218. package/dist/lib/components/runtime/utils/global-refs.cjs +42 -0
  219. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  220. package/dist/lib/components/runtime/utils/i18n-util.cjs +11 -0
  221. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  222. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +4 -0
  223. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
  224. package/dist/lib/components/runtime/utils/page-helper-util.cjs +354 -0
  225. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  226. package/dist/lib/components/runtime/utils/page-init-util.cjs +244 -0
  227. package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
  228. package/dist/lib/components/runtime/utils/page-permission-util.cjs +26 -0
  229. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  230. package/dist/lib/components/runtime/utils/page-store.cjs +50 -0
  231. package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
  232. package/dist/lib/components/runtime/utils/store-util.cjs +11 -0
  233. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  234. package/dist/lib/components/runtime/utils/store.cjs +3 -0
  235. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  236. package/dist/lib/components/runtime/utils/table-utils.cjs +68 -0
  237. package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
  238. package/dist/lib/components/runtime/utils/tree-utils.cjs +54 -0
  239. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +3 -0
  240. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +24 -0
  241. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +5 -0
  242. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +17 -0
  243. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +3 -0
  244. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +35 -0
  245. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +3 -0
  246. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +3 -0
  247. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +3 -0
  248. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +17 -0
  249. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +5 -0
  250. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +41 -0
  251. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +11 -0
  252. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +3 -0
  253. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +11 -0
  254. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +3 -0
  255. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +53 -0
  256. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +3 -0
  257. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +5 -0
  258. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +48 -0
  259. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +5 -0
  260. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +24 -0
  261. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +5 -0
  262. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +34 -0
  263. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +5 -0
  264. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +24 -0
  265. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +5 -0
  266. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +24 -0
  267. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +402 -0
  268. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  269. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +3 -0
  270. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +3 -0
  271. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +6 -0
  272. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +3 -0
  273. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +36 -0
  274. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +3 -0
  275. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +13 -0
  276. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +3 -0
  277. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +3 -0
  278. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +249 -0
  279. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +16 -0
  280. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
  281. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +3 -0
  282. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +32 -0
  283. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  284. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +3 -0
  285. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +32 -0
  286. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  287. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +3 -0
  288. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +19 -0
  289. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  290. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +3 -0
  291. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +12 -0
  292. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  293. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +3 -0
  294. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +21 -0
  295. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  296. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +3 -0
  297. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +13 -0
  298. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  299. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +3 -0
  300. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +30 -0
  301. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  302. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +3 -0
  303. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +15 -0
  304. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  305. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +3 -0
  306. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +5 -0
  307. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +21 -0
  308. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +3 -0
  309. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +17 -0
  310. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +3 -0
  311. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +15 -0
  312. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
  313. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +27 -0
  314. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +5 -0
  315. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  316. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +79 -0
  317. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +3 -0
  318. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +20 -0
  319. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +3 -0
  320. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +15 -0
  321. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +3 -0
  322. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +12 -0
  323. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +5 -0
  324. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +88 -0
  325. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +5 -0
  326. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +43 -0
  327. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +3 -0
  328. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +59 -0
  329. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +382 -0
  330. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +3 -0
  331. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +322 -0
  332. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +3 -0
  333. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +3 -0
  334. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +81 -0
  335. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +5 -0
  336. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +124 -0
  337. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +3 -0
  338. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  339. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +3 -0
  340. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +3 -0
  341. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +57 -0
  342. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +35 -0
  343. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +3 -0
  344. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +3 -0
  345. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +57 -0
  346. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +3 -0
  347. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +91 -0
  348. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +3 -0
  349. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +47 -0
  350. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +3 -0
  351. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +20 -0
  352. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +3 -0
  353. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +65 -0
  354. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +3 -0
  355. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +20 -0
  356. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +3 -0
  357. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +70 -0
  358. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +5 -0
  359. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +31 -0
  360. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +3 -0
  361. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +26 -0
  362. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +5 -0
  363. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +13 -0
  364. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +3 -0
  365. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +75 -0
  366. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +5 -0
  367. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +188 -0
  368. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +3 -0
  369. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +130 -0
  370. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +3 -0
  371. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +11 -0
  372. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +3 -0
  373. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +29 -0
  374. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +3 -0
  375. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +38 -0
  376. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +3 -0
  377. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +20 -0
  378. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +73 -0
  379. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  380. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +3 -0
  381. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +132 -0
  382. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  383. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +3 -0
  384. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +3 -0
  385. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
  386. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +3 -0
  387. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +5 -0
  388. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
  389. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +23 -0
  390. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +5 -0
  391. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +23 -0
  392. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +5 -0
  393. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +34 -0
  394. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +3 -0
  395. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +17 -0
  396. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +3 -0
  397. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +20 -0
  398. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +5 -0
  399. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +19 -0
  400. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +3 -0
  401. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +14 -0
  402. package/dist/lib/components/runtime/views/home-chart.vue.cjs +38 -0
  403. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  404. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +3 -0
  405. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +23 -0
  406. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  407. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +3 -0
  408. package/dist/lib/components/runtime/views/super-page.vue.cjs +5 -0
  409. package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
  410. package/dist/lib/components/runtime/views/super-page.vue2.cjs +264 -0
  411. package/dist/lib/favicon.ico +0 -0
  412. package/dist/lib/i18n/langs/cn.cjs +2 -0
  413. package/dist/lib/i18n/langs/en.cjs +2 -0
  414. package/dist/lib/index.cjs +6 -0
  415. package/dist/lib/index.d.ts +16 -0
  416. package/dist/lib/style.css +996 -0
  417. package/dist/umd/favicon.ico +0 -0
  418. package/dist/umd/index.full.min.js +7429 -0
  419. package/dist/umd/style.css +996 -0
  420. package/package.json +5 -4
  421. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  422. package/dist/es/components/runtime/utils/api/api-util.js +0 -4
  423. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  424. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1169
  425. package/dist/es/components/runtime/utils/i18n-util.js +0 -14
  426. package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
  427. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  428. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  429. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  430. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  431. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
  432. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  433. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
  434. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  435. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
  436. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
  437. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
  438. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  439. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
  440. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
  441. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
  442. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
  443. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
  444. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  445. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
  446. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  447. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
  448. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  449. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
  450. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  451. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
  452. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
  453. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
  454. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  455. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  456. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  457. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  458. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  459. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  460. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -14
  461. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  462. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  463. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  464. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  465. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  466. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  467. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  468. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
  469. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  470. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  471. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  472. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  473. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  474. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  475. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  476. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  477. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  478. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  479. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  480. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  481. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  482. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  483. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  484. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
  485. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  486. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -6
  487. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
  488. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  489. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  490. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  491. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -18
  492. package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
  493. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
  494. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  495. package/dist/es.zip +0 -0
  496. /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
  497. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  498. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  499. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  500. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  501. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  502. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  503. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  504. /package/dist/es/components/runtime/utils/{barcode-util.js → barcode-util.mjs} +0 -0
  505. /package/dist/es/components/runtime/utils/{eventBus.js → eventBus.mjs} +0 -0
  506. /package/dist/es/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.mjs} +0 -0
  507. /package/dist/es/components/runtime/utils/{global-refs.js → global-refs.mjs} +0 -0
  508. /package/dist/es/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.mjs} +0 -0
  509. /package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +0 -0
  510. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  511. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.mjs} +0 -0
  512. /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.mjs} +0 -0
  513. /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.mjs} +0 -0
  514. /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.mjs} +0 -0
  515. /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.mjs} +0 -0
  516. /package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.mjs} +0 -0
  517. /package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.mjs} +0 -0
  518. /package/dist/es/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.mjs} +0 -0
  519. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  520. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
@@ -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,244 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const e = require("agilebuilder-ui"), t = require("./events/standard-event.cjs"), n = require("./interfaces/page-design-types.cjs"), i = require("./page-helper-util.cjs"), s = require("./api/page-expose-util.cjs"), o = require("./common-util.cjs"), r = require("./events/validator-util.cjs");
4
+ function a(t2, n2) {
5
+ let i2 = "";
6
+ return t2 && n2 && (i2 = "?listViewTableName=" + t2 + "&listViewTablePublishVersion=" + n2), e.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + i2);
7
+ }
8
+ function l() {
9
+ return e.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
10
+ }
11
+ function p(e2) {
12
+ try {
13
+ const t2 = function(e3) {
14
+ if (!e3) return e3;
15
+ try {
16
+ const t3 = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"), n2 = window.CryptoJS.enc.Latin1.parse("1234567812345678");
17
+ return window.CryptoJS.AES.decrypt(e3, t3, { iv: n2, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
18
+ } catch (t3) {
19
+ return e3;
20
+ }
21
+ }(e2);
22
+ if (!t2) return {};
23
+ return JSON.parse(t2);
24
+ } catch (t2) {
25
+ return e2;
26
+ }
27
+ }
28
+ function u(e2) {
29
+ try {
30
+ return e2.props && e2.props.judgeHeavyList.length > 0 ? (e2.props.judgeHeavyList.forEach((e3) => {
31
+ e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
32
+ }), e2.props.judgeHeavyList) : null;
33
+ } catch (e3) {
34
+ console.error("getJudgeHeavyList error:", e3);
35
+ }
36
+ }
37
+ function d(t2, n2) {
38
+ if (t2) {
39
+ const i2 = e.getSessionCache(t2);
40
+ if (i2) {
41
+ const e2 = JSON.parse(i2);
42
+ Object.assign(n2, e2);
43
+ }
44
+ }
45
+ }
46
+ function c(e2, t2) {
47
+ let n2, i2 = t2;
48
+ t2 || (n2 = e2.props.base ? e2.props.base : {}, i2 = n2.prop);
49
+ let s2 = null;
50
+ return t2 && !t2.startsWith("${") ? s2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), s2 = i2.split("."), e2 && s2.length < 2 && (s2 = [e2.uuid])) : e2 && (s2 = ["page", e2.uuid]) : s2 = ["page", e2.uuid], s2 || e2 ? s2 : ["temp"];
51
+ }
52
+ function f(e2, t2, n2, s2) {
53
+ let o2;
54
+ if (t2 && (o2 = i.formatVariableValue(e2, t2), null != o2 && null != o2 && n2)) {
55
+ let e3 = false;
56
+ "checkbox" == n2 ? e3 = true : "select" == n2 && (e3 = s2), e3 && (o2 = (o2 + "").split(","));
57
+ }
58
+ return o2;
59
+ }
60
+ function m(e2, t2) {
61
+ const n2 = t2.pagePermissions;
62
+ if (n2 && n2.length > 0) {
63
+ for (let t3 = 0; t3 < n2.length; t3++) if (n2[t3].simpleCode === e2) return n2[t3];
64
+ }
65
+ return null;
66
+ }
67
+ function g(n2, i2, s2) {
68
+ const o2 = n2.tableRuntimes, r2 = t.getAdditionalParamMap(i2);
69
+ let a2;
70
+ const l2 = n2.code;
71
+ return r2 && Object.keys(r2) > 0 && (a2 = JSON.stringify(r2)), e.http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: a2, pageCode: l2, publishVersion: s2, pageType: n2.pageType });
72
+ }
73
+ const b = ["button-detail", "print-label"];
74
+ exports.controlObjectRenderState = function(e2, t2) {
75
+ if (e2.initInfo) {
76
+ ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((n2) => {
77
+ const i2 = e2.initInfo[n2];
78
+ if (i2) if ("dynamicControlFormEdit" === n2) {
79
+ let n3 = i2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
80
+ if (n3 && n3.length > 0 && (n3 = n3.filter((e3) => "_all_fields" === e3.name), n3 && n3.length > 0)) {
81
+ const e3 = o.deepCopy(n3[0]);
82
+ e3.name = t2, n3 = [e3];
83
+ }
84
+ s.functions.dynamicControlFormEdit(e2, n3, false);
85
+ } else "disableElement" === n2 ? i2.indexOf(t2) >= 0 && s.functions.disableElement(e2, [t2], false) : "enableElement" === n2 ? i2.indexOf(t2) >= 0 && s.functions.enableElement(e2, [t2], false) : "hideElement" === n2 ? i2.indexOf(t2) >= 0 && s.functions.hideElement(e2, [t2], false) : "showElement" === n2 && i2.indexOf(t2) >= 0 && s.functions.showElement(e2, [t2], false);
86
+ });
87
+ }
88
+ }, exports.convertToPageContext = function(t2) {
89
+ var _a, _b, _c;
90
+ if (null == t2) return null;
91
+ const i2 = { uuid: t2.uuid, name: t2.name, label: t2.label, code: t2.code, version: t2.version, dimensions: t2.dimensions, systemCode: t2.systemCode, systemVersion: t2.systemVersion, backendUrl: t2.backendUrl, rules: {}, tableUuids: t2.tableUuids, listCodesMap: t2.listCodesMap, listCodesInitSearchForm: t2.listCodesInitSearchForm, formNoRuleCode: t2.props ? t2.props.formNoRuleCode : null, judgeHeavyList: u(t2), pageType: t2.pageType, beanName: t2.props ? t2.props.beanName : null, importBeanName: t2.props ? t2.props.importBeanName : null, subTablePageInfo: t2.subTablePageInfo, workflowCode: t2.workflowCode, workflowVersion: t2.workflowVersion, refercePropMap: (_a = t2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: t2.subTableWatchProps, dataTypeMaps: t2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = t2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = t2.props) == null ? void 0 : _c.activeWorkflow : t2.isWorkflowEntity, allChartUuids: t2.allChartUuids, branchFieldAuth: t2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: t2.contextParam, system: t2.systemParam }, propTitleMap: {} };
92
+ if (t2.props && t2.props.notIdInitializationList) {
93
+ let e2 = t2.props.notIdInitializationList;
94
+ "string" == typeof e2 && (e2 = JSON.parse(e2)), e2.length > 0 && (i2.notIdInitializationList = e2);
95
+ }
96
+ if (t2.variables) {
97
+ const e2 = i2.entity.page;
98
+ for (const n2 of t2.variables) n2.name && (n2.isArrayElement ? e2[n2.name] = [] : n2.defaultValue ? e2[n2.name] = n2.defaultValue : e2[n2.name] = void 0);
99
+ }
100
+ return function(t3) {
101
+ if (e.isMobileBrowser()) {
102
+ t3.entity.page._isMobile = "true";
103
+ const e2 = navigator ? navigator.userAgent : null;
104
+ e2 ? e2.indexOf(" uni-app ") > 0 ? (t3.entity.page._isMobileApp = "true", t3.entity.page._isMobileBrowser = "false") : (t3.entity.page._isMobileApp = "false", t3.entity.page._isMobileBrowser = "true") : (t3.entity.page._isMobileApp = "false", t3.entity.page._isMobileBrowser = "false");
105
+ } else t3.entity.page._isMobile = "false";
106
+ }(i2), Object.assign(i2, t2), i2.dimensions = function() {
107
+ const e2 = window.outerWidth;
108
+ if (!e2) return n.PageDimensions.PC;
109
+ return e2 > 768 ? n.PageDimensions.PC : e2 > 414 ? n.PageDimensions.IPAD : n.PageDimensions.PHONE;
110
+ }(), i2.events = t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2;
111
+ }, exports.getDefaultValue = f, exports.getFormModelFields = function(e2, t2, n2) {
112
+ var _a;
113
+ const s2 = c(t2, n2), o2 = e2.entity;
114
+ if (null == o2.data.ID && null == o2.data.id) {
115
+ let n3, r2, a2 = false;
116
+ t2 && (n3 = t2.props.base ? t2.props.base : {}, r2 = t2.name, a2 = n3.multiple);
117
+ const l2 = i.getVariableValue(o2, s2);
118
+ if (null == l2) {
119
+ const t3 = n3 ? n3.defaultValue : null;
120
+ if (t3) try {
121
+ const l3 = f(e2, t3, r2, a2);
122
+ if (null != l3 && "" !== l3) i.setVariableValue(o2, s2, l3);
123
+ else if (((_a = n3.moreDefaultValue) == null ? void 0 : _a.length) > 0) {
124
+ const t4 = n3.moreDefaultValue;
125
+ for (let n4 = 0; n4 < t4.length; n4++) {
126
+ const l4 = f(e2, t4[n4], r2, a2);
127
+ if (null != l4 && "" !== l4) {
128
+ i.setVariableValue(o2, s2, l4);
129
+ break;
130
+ }
131
+ }
132
+ }
133
+ } catch (e3) {
134
+ console.error("设置默认值出错:", s2, e3);
135
+ }
136
+ }
137
+ }
138
+ return s2;
139
+ }, exports.getModelFields = c, exports.getPermissionCodes = function(e2, t2) {
140
+ var _a, _b;
141
+ if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
142
+ const n2 = [];
143
+ if (e2.autoPermissions) for (const i2 of e2.autoPermissions) n2.push(t2.code + "." + i2.simpleCode);
144
+ if (e2.functionCodes) {
145
+ const i2 = e2.sourceTypes ? e2.sourceTypes : [], s2 = e2.functionCodes;
146
+ for (let e3 = 0; e3 < s2.length; e3++) {
147
+ const o2 = s2[e3], r2 = e3 < i2.length ? i2[e3] : "";
148
+ let a2 = "";
149
+ if ("service" == r2) a2 = o2;
150
+ else if ("standard" === r2) a2 = t2.code + "." + o2;
151
+ else {
152
+ a2 = "custom" === m(o2, t2).type ? o2 : t2.code + "." + o2;
153
+ }
154
+ n2.includes(a2) || n2.push(a2);
155
+ }
156
+ }
157
+ return n2.join(",");
158
+ }, exports.packageAdditionalMapWithLocationSearch = function(e2) {
159
+ let t2 = decodeURI(window.location.href);
160
+ try {
161
+ window.top && !Array.isArray(window.top) && (t2 = decodeURI(window.top.location.href));
162
+ } catch (e3) {
163
+ }
164
+ if (t2 && t2.includes("?")) {
165
+ t2 = t2.substring(t2.lastIndexOf("?") + 1);
166
+ const n2 = t2.split("&");
167
+ for (const t3 of n2) {
168
+ const n3 = t3.split("=");
169
+ let i2 = n3[0];
170
+ if (i2) {
171
+ const t4 = n3.length > 1 ? n3[1] : "";
172
+ i2.indexOf("ai__") >= 0 && (i2 = i2.substring(i2.indexOf("ai__") + 4)), e2[i2] = t4;
173
+ }
174
+ }
175
+ }
176
+ e2._t_;
177
+ }, exports.packageAdditionalMapWithPageRequest = function(e2, t2) {
178
+ if (e2) {
179
+ Object.assign(t2, e2);
180
+ d(e2.paramStoreId, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
181
+ }
182
+ }, exports.packageAdditionalMapWithRoute = function(e2, t2) {
183
+ if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
184
+ Object.assign(t2, e2.query);
185
+ d(e2.query.paramStoreId, t2);
186
+ }
187
+ }, exports.packageFormRules = function(e2, t2, n2) {
188
+ var _a, _b;
189
+ const s2 = t2.props && t2.props.base ? t2.props.base.prop : null, a2 = o.isWorkflowPage(e2);
190
+ let l2 = false;
191
+ if (a2 && b.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
192
+ const n3 = e2.fieldPermissionMap.get("all_fields");
193
+ false === (n3 == null ? void 0 : n3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", l2 = true);
194
+ }
195
+ if (s2) {
196
+ const o2 = i.getFormPropName(s2);
197
+ if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[o2] || (e2.rules[o2] = []), t2.props.rules.forEach((e3) => {
198
+ r.packageCustomValidator(e3), !n2 && e3 && e3.required && (e3.required = false);
199
+ }), e2.rules[o2] = t2.props.rules), a2 && !l2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
200
+ const i2 = e2.fieldPermissionMap.get(o2);
201
+ if (!n2 && e2.workflowRules && (e2.workflowRules[o2] || e2.workflowRules.rules && e2.workflowRules.rules[o2])) {
202
+ let t3 = e2.workflowRules[o2];
203
+ if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[o2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
204
+ const n3 = t3[e3];
205
+ if (n3 && n3.required) {
206
+ n3.required = false;
207
+ break;
208
+ }
209
+ }
210
+ else t3 && t3.required && (t3.required = false);
211
+ }
212
+ t2.runtime.props || (t2.runtime.props = {}), i2 ? (!n2 && i2.canEdit && (i2.canEdit = false), false === i2.canEdit ? t2.runtime.props.state = "disabled" : i2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
213
+ }
214
+ ((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: o2, events: t2.props.customRuleEvents }));
215
+ }
216
+ }, exports.queryPageDesignByCode = function(t2) {
217
+ return new Promise((n2, i2) => {
218
+ (function(t3) {
219
+ return e.http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
220
+ })(t2).then((e2) => {
221
+ e2 ? l().then((t3) => {
222
+ t3 && (e2.systemParam = p(t3)), a(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
223
+ t4 ? (e2.contextParam = p(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, n2(e2)) : n2(null);
224
+ });
225
+ }).catch(() => {
226
+ n2(e2);
227
+ }) : n2(null);
228
+ });
229
+ });
230
+ }, exports.queryPageDesignWhenPreview = function(e2, t2) {
231
+ return new Promise((n2, i2) => {
232
+ e2 ? l().then((s2) => {
233
+ s2 && (e2.systemParam = p(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? g(e2, t2, e2.systemVersion).then((t3) => {
234
+ e2.contextParam = p(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, n2(e2);
235
+ }).catch((e3) => {
236
+ i2(e3);
237
+ }) : a("", "").then((t3) => {
238
+ t3 ? (e2.contextParam = p(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, n2(e2)) : n2(null);
239
+ }).catch((e3) => {
240
+ i2(e3);
241
+ });
242
+ }) : n2(null);
243
+ });
244
+ }, exports.queryPageSuperGrids = g;
@@ -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,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ var o = ((o2) => (o2.AUTHENTICATED = "AUTHENTICATED", o2.ANONYMOUS = "ANONYMOUS", o2.AUTHORIZED = "AUTHORIZED", o2))(o || {});
4
+ const e = { 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: true } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { funcType: "AUTHENTICATED", code: "update", label: "修改", path: "/commons$POST" }] }, delete: { group: "列表功能", label: "删除", props: { base: { type: "danger", plain: true } }, 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: true } }, functions: [{ path: "/commons/batch-approves$POST" }] }, disagreeList: { group: "列表功能", label: "不同意", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/batch-refuses$POST" }] }, import: { group: "列表功能", label: "导入", props: { base: { type: "primary", plain: true } }, functions: [{ path: "/commons/import-data$POST" }] }, export: { group: "列表功能", label: "导出", props: { base: { type: "success", plain: true } }, 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: true } }, functions: [{ code: "create", label: "保存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, lineEditDelete: { group: "列表行编辑功能", label: "删除", props: { base: { type: "danger", text: true } }, functions: [{ code: "delete", path: "/commons/{tableName}$DELETE" }] }, lineEditUpdate: { group: "列表行编辑功能", label: "修改", props: { base: { type: "primary", text: true } }, functions: [{ code: "update", label: "修改", path: "/commons$POST" }] }, restoreEdit: { group: "列表行编辑功能", label: "取消", props: { base: { type: "info", text: true } }, 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" }] } }, t = {};
5
+ exports.FuncType = o, exports.getFunctionInfo = function(o2) {
6
+ if (!o2) return;
7
+ let a = t[o2];
8
+ if (null == a) {
9
+ for (const t2 in e) {
10
+ const n = e[t2].functions;
11
+ if (n) {
12
+ for (const e2 of n) {
13
+ if (o2 === (e2.code ? e2.code : t2)) {
14
+ a = e2;
15
+ break;
16
+ }
17
+ }
18
+ if (a) break;
19
+ }
20
+ }
21
+ t[o2] = a || "";
22
+ }
23
+ return a || void 0;
24
+ }, exports.getStandPermissionInfo = function(o2) {
25
+ return o2 ? e[o2] : void 0;
26
+ };
@@ -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,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const e = require("vue"), o = require("pinia"), t = require("./eventBus.cjs"), n = o.defineStore("pageContextUtil", () => {
4
+ const o2 = e.ref({ systemCode: "", systemVersion: -1 }), n2 = e.ref(false), u = e.ref(false), a = e.ref(false), r = e.ref([]), i = e.ref(0), l = e.ref(0);
5
+ let s = null, c = -1, d = -1, v = 0;
6
+ function f() {
7
+ s && clearTimeout(s), s = setTimeout(() => {
8
+ e.nextTick(() => {
9
+ !function() {
10
+ const e2 = i.value, o3 = l.value;
11
+ if (v++, v >= 100) return void (e2 > 0 && e2 === o3 && m(true));
12
+ if (e2 > 0 && e2 === o3) {
13
+ if (e2 === c && o3 === d && !n2.value) return void m(true);
14
+ c = e2, d = o3, f();
15
+ } else c = -1, d = -1, f();
16
+ }();
17
+ });
18
+ }, 30);
19
+ }
20
+ function m(e2) {
21
+ n2.value = e2, p();
22
+ }
23
+ function p() {
24
+ n2.value && u.value && !a.value && (t.$emit("pageLoaded"), a.value = true);
25
+ }
26
+ return { pageContext: o2, setPageContext: function(e2) {
27
+ o2.value = e2;
28
+ }, countComponentsTotalNmber: function() {
29
+ i.value++, n2.value = false, a.value = false;
30
+ }, countComponentsLoadedNumber: function() {
31
+ l.value++, f();
32
+ }, componentsTotalNmber: i, componentsLoadedNumber: l, setPageComponentsLoaded: m, setFormPageDataLoadState: function(e2) {
33
+ u.value = e2, p();
34
+ }, formPageDataLoaded: u, pageComponentsLoaded: n2, restorePageLoadState: function() {
35
+ n2.value = false, u.value = false, a.value = false;
36
+ }, pageLoaded: a, getPageLoaded: function() {
37
+ return a.value;
38
+ }, setPageLoaded: function(e2) {
39
+ a.value = e2;
40
+ }, setAutoAnchorComponentConditions: function(e2, o3) {
41
+ r.value.push({ uuid: e2, conditions: o3 });
42
+ }, getAutoAnchorComponentConditions: function() {
43
+ return r.value;
44
+ }, resetAutoAnchorComponentConditions: function() {
45
+ r.value = [];
46
+ }, resetComponentCounters: function() {
47
+ i.value = 0, l.value = 0, n2.value = false, a.value = false, c = -1, d = -1, v = 0, s && (clearTimeout(s), s = null);
48
+ } };
49
+ });
50
+ exports.usePageContextStore = n;
@@ -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,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const e = require("./store.cjs");
4
+ function t(e2, t2) {
5
+ return e2 + ":" + t2;
6
+ }
7
+ exports.getPageStoreKey = t, exports.setStoreInfo = function(o, r, s, n) {
8
+ const c = t(o, r);
9
+ let u = e.get(c);
10
+ u || (u = {}, e.set(c, u)), u[s] = n;
11
+ };