super-page-runtime 2.3.48-tmp1 → 2.3.49-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 (397) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
  4. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
  5. package/dist/es/components/runtime/utils/api/api-util.mjs +12 -0
  6. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +196 -0
  7. package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
  8. package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
  14. package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
  15. package/dist/es/components/runtime/utils/common-util.mjs +116 -0
  16. package/dist/es/components/runtime/utils/eventBus.mjs +8 -0
  17. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
  18. package/dist/es/components/runtime/utils/events/event-util.mjs +429 -0
  19. package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
  20. package/dist/es/components/runtime/utils/events/standard-event.mjs +1170 -0
  21. package/dist/es/components/runtime/utils/events/validator-util.mjs +462 -0
  22. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
  23. package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
  24. package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
  25. package/dist/es/components/runtime/utils/i18n-util.mjs +15 -0
  26. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
  27. package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
  28. package/dist/es/components/runtime/utils/page-init-util.mjs +281 -0
  29. package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
  30. package/dist/es/components/runtime/utils/page-store.mjs +53 -0
  31. package/dist/es/components/runtime/utils/store-util.mjs +13 -0
  32. package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
  33. package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
  55. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +425 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +17 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +261 -0
  75. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
  76. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
  77. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
  78. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
  79. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
  80. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
  81. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
  82. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
  83. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
  84. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
  85. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
  89. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
  90. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
  91. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
  92. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
  93. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
  94. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +35 -0
  95. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
  97. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +7 -0
  98. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +27 -0
  99. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
  100. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
  101. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
  103. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
  104. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
  105. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
  106. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
  107. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
  108. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
  109. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
  110. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
  111. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
  113. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
  114. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
  115. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +362 -0
  116. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +329 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +90 -0
  121. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
  122. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +140 -0
  123. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
  124. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
  125. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
  126. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
  127. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
  128. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
  130. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
  131. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
  133. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
  134. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
  135. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
  136. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
  137. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
  138. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +111 -0
  139. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
  140. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
  141. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
  142. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
  143. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
  145. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
  146. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
  147. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
  148. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
  149. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
  150. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
  151. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
  153. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
  154. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +215 -0
  155. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
  156. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
  157. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
  159. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
  161. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
  163. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
  164. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
  165. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
  166. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
  167. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +163 -0
  168. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
  169. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
  170. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
  171. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
  172. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +56 -0
  173. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +29 -0
  175. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
  185. package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
  186. package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
  187. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +30 -0
  188. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
  189. package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
  190. package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
  191. package/dist/es/index.mjs +32 -0
  192. package/dist/es/style.css +1 -1052
  193. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -1
  194. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -1
  195. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -1
  196. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -1
  197. package/dist/lib/style.css +1 -1
  198. package/package.json +13 -11
  199. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
  200. package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
  201. package/dist/es/components/runtime/utils/anchor-util.js +0 -84
  202. package/dist/es/components/runtime/utils/api/api-util.js +0 -7
  203. package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -202
  204. package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
  205. package/dist/es/components/runtime/utils/barcode-util.js +0 -12
  206. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
  207. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
  208. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
  209. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
  210. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
  211. package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
  212. package/dist/es/components/runtime/utils/common-util.js +0 -120
  213. package/dist/es/components/runtime/utils/eventBus.js +0 -8
  214. package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
  215. package/dist/es/components/runtime/utils/events/event-util.js +0 -447
  216. package/dist/es/components/runtime/utils/events/print-label.js +0 -100
  217. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1226
  218. package/dist/es/components/runtime/utils/events/validator-util.js +0 -485
  219. package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
  220. package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
  221. package/dist/es/components/runtime/utils/global-refs.js +0 -57
  222. package/dist/es/components/runtime/utils/i18n-util.js +0 -18
  223. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
  224. package/dist/es/components/runtime/utils/page-helper-util.js +0 -391
  225. package/dist/es/components/runtime/utils/page-init-util.js +0 -297
  226. package/dist/es/components/runtime/utils/page-store.js +0 -53
  227. package/dist/es/components/runtime/utils/store-util.js +0 -13
  228. package/dist/es/components/runtime/utils/table-utils.js +0 -89
  229. package/dist/es/components/runtime/utils/tree-utils.js +0 -73
  230. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  231. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +0 -29
  232. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
  233. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.js +0 -21
  234. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  235. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.js +0 -41
  236. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
  237. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +0 -6
  238. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
  239. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +0 -21
  240. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
  241. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.js +0 -53
  242. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
  243. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.js +0 -4
  244. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
  245. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.js +0 -4
  246. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
  247. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.js +0 -4
  248. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
  249. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.js +0 -64
  250. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +0 -94
  251. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +0 -4
  252. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
  253. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.js +0 -35
  254. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
  255. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.js +0 -46
  256. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
  257. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.js +0 -35
  258. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
  259. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.js +0 -35
  260. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -430
  261. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
  262. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.js +0 -4
  263. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
  264. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.js +0 -4
  265. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
  266. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +0 -4
  267. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -17
  268. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.js +0 -4
  269. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
  270. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.js +0 -268
  271. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
  272. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +0 -4
  273. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
  274. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.js +0 -4
  275. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
  276. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +0 -4
  277. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
  278. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +0 -4
  279. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
  280. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +0 -4
  281. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
  282. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +0 -4
  283. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
  284. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +0 -4
  285. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
  286. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.js +0 -4
  287. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
  288. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.js +0 -4
  289. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
  290. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.js +0 -35
  291. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  292. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.js +0 -21
  293. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -7
  294. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +0 -27
  295. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
  296. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +0 -29
  297. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
  298. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.js +0 -81
  299. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  300. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.js +0 -25
  301. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  302. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.js +0 -25
  303. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  304. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.js +0 -46
  305. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
  306. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +0 -96
  307. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
  308. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.js +0 -47
  309. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
  310. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.js +0 -69
  311. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -383
  312. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +0 -4
  313. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -339
  314. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.js +0 -4
  315. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  316. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.js +0 -90
  317. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
  318. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +0 -135
  319. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
  320. package/dist/es/components/runtime/views/assemblys/error-render2.vue.js +0 -4
  321. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  322. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.js +0 -66
  323. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
  324. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.js +0 -4
  325. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
  326. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.js +0 -69
  327. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  328. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +0 -102
  329. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  330. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.js +0 -55
  331. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  332. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.js +0 -24
  333. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  334. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.js +0 -115
  335. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +0 -4
  336. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +0 -91
  337. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  338. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.js +0 -28
  339. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  340. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +0 -81
  341. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
  342. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +0 -38
  343. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  344. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.js +0 -43
  345. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
  346. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.js +0 -16
  347. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  348. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.js +0 -84
  349. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
  350. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +0 -218
  351. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
  352. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +0 -156
  353. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
  354. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.js +0 -16
  355. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  356. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.js +0 -36
  357. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  358. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.js +0 -44
  359. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
  360. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +0 -28
  361. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
  362. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +0 -4
  363. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
  364. package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +0 -4
  365. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
  366. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +0 -4
  367. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
  368. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +0 -56
  369. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
  370. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +0 -29
  371. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
  372. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +0 -45
  373. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
  374. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js +0 -20
  375. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
  376. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js +0 -23
  377. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
  378. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.js +0 -32
  379. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
  380. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.js +0 -27
  381. package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
  382. package/dist/es/components/runtime/views/home-chart2.vue.js +0 -4
  383. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -30
  384. package/dist/es/components/runtime/views/super-page-dialog3.vue.js +0 -5
  385. package/dist/es/components/runtime/views/super-page.vue.js +0 -7
  386. package/dist/es/components/runtime/views/super-page2.vue.js +0 -311
  387. package/dist/es/index.js +0 -32
  388. /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
  389. /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
  390. /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
  391. /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
  392. /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
  393. /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
  394. /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
  395. /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
  396. /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
  397. /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
@@ -0,0 +1,462 @@
1
+ import te from "async-validator";
2
+ import { ElMessage as T } from "element-plus";
3
+ import { getComponentRefByCode as E, getComponentRef as J, getAllComponentRefs as be } from "../global-refs.mjs";
4
+ import { getI18n as y, isPromise as L, parseSubTablePermissionCondition as he } from "agilebuilder-ui";
5
+ import { getAdditionalParamMap as se } from "./standard-event.mjs";
6
+ import { isWorkflowPage as S, getListCode as ne } from "../common-util.mjs";
7
+ import { scrollIntoComponentWithCode as $, scrollIntoComponentWithUuid as Q } from "../anchor-util.mjs";
8
+ const ye = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"];
9
+ function P(e, t = /* @__PURE__ */ new WeakMap()) {
10
+ if (typeof structuredClone == "function") try {
11
+ return structuredClone(e);
12
+ } catch {
13
+ }
14
+ if (e === null || typeof e != "object") return e;
15
+ const s = e;
16
+ if (t.has(s)) return t.get(s);
17
+ if (Array.isArray(e)) {
18
+ const n = [];
19
+ return t.set(s, n), e.forEach((i, o) => {
20
+ n[o] = P(i, t);
21
+ }), n;
22
+ }
23
+ if (e instanceof Date) return new Date(e.getTime());
24
+ if (e instanceof RegExp) return new RegExp(e.source, e.flags);
25
+ if (e instanceof Map) {
26
+ const n = /* @__PURE__ */ new Map();
27
+ return t.set(s, n), e.forEach((i, o) => {
28
+ n.set(P(o, t), P(i, t));
29
+ }), n;
30
+ }
31
+ if (e instanceof Set) {
32
+ const n = /* @__PURE__ */ new Set();
33
+ return t.set(s, n), e.forEach((i) => {
34
+ n.add(P(i, t));
35
+ }), n;
36
+ }
37
+ const r = {};
38
+ return t.set(s, r), Object.keys(e).forEach((n) => {
39
+ r[n] = P(e[n], t);
40
+ }), r;
41
+ }
42
+ function Re(e, t, s) {
43
+ const r = {};
44
+ t || (t = {});
45
+ let n = 0;
46
+ const i = e.split(".");
47
+ return i.forEach((o) => {
48
+ let l;
49
+ if (n === i.length - 1) l = function(u, a, d) {
50
+ let p;
51
+ for (let c = 0; c < a.length && (p = c === 0 ? u[a[c]] : p.fields[a[c]], !(c !== a.length - 1 && a[c + 1] === d)); c++) ;
52
+ return p;
53
+ }(r, i, o), l.fields[o] = s;
54
+ else {
55
+ let u;
56
+ n === 0 ? l = t : (u = function(a, d, p) {
57
+ let c;
58
+ for (let f = 0; f < d.length; f++) {
59
+ const g = d[f];
60
+ if (c = f === 0 ? a[g] : c.fields[d[f]], g === p) break;
61
+ }
62
+ return c;
63
+ }(r, i, i[n - 1]), l = u.fields), l[o] || (l[o] = { type: "object", required: !0, fields: {} }), n === 0 ? r[o] = l[o] : u.fields[o] = l[o];
64
+ }
65
+ n++;
66
+ }), r;
67
+ }
68
+ function we(e, t, s, r, n, i) {
69
+ return D(e, t, s, r, !0, n, i);
70
+ }
71
+ function oe(e) {
72
+ if (e) return Object.keys(e).forEach((t) => {
73
+ if (t.indexOf(".") >= 0) {
74
+ let s = [];
75
+ s = t.split("."), e[s[0]] ? e[s[0]].fields[s[1]] = e[t][0] : (e[s[0]] = new Object(), e[s[0]].fields = new Object(), e[s[0]].fields[s[1]] = e[t][0], e[s[0]].type = "object"), delete e[t];
76
+ }
77
+ }), e;
78
+ }
79
+ function D(e, t, s, r, n, i, o) {
80
+ var d;
81
+ let l = oe(t);
82
+ if (t && t !== null || !s || (l = {}), !l || Object.keys(l).length === 0) return e.validateErrorField = "", !0;
83
+ const u = ((d = o.props) == null ? void 0 : d.highlightAllRequiredField) || !1;
84
+ let a;
85
+ return new te(l).validate(e, { first: !u }, (p, c) => {
86
+ if (u) {
87
+ if (a = p || !0, a === !0 && n === !0 && l) {
88
+ const f = /[A-Z]+/, g = Object.keys(l);
89
+ if (g.some((b) => f.test(b) && e[b.toLowerCase()] !== void 0)) {
90
+ const b = JSON.parse(JSON.stringify(e));
91
+ g.forEach((w) => {
92
+ f.test(w) && e[w.toLowerCase()] !== void 0 && (b[w.toUpperCase()] = e[w.toLowerCase()], delete b[w.toLowerCase()]);
93
+ }), a = D(b, t, s, r, !1, i, o);
94
+ }
95
+ }
96
+ a !== !0 && T({ showClose: !0, message: y().t("superPageRuntimeMessage.pleaseInputRequiredInfo"), type: "warning" });
97
+ } else {
98
+ let f;
99
+ if (p) {
100
+ a = p[0].message, f = p[0].field, T({ message: a, showClose: !0, type: "warning", duration: 3e3 });
101
+ const g = E(o, f);
102
+ if (g && g.addRequiredClass) {
103
+ g.addRequiredClass();
104
+ try {
105
+ $(o, f);
106
+ } catch (b) {
107
+ console.error("滚动失败", b);
108
+ }
109
+ }
110
+ } else a = !0;
111
+ if (f && n === !0 && /[A-Z]+/.test(f) && e[f.toLowerCase()] !== void 0) {
112
+ const g = JSON.parse(JSON.stringify(e));
113
+ g[f.toUpperCase()] = e[f.toLowerCase()], delete g[f.toLowerCase()], a = D(g, t, s, r, !1, i, o);
114
+ }
115
+ }
116
+ }), a;
117
+ }
118
+ function qe(e, t, s, r) {
119
+ if (s && Pe(s.isStandard, s.event))
120
+ return new Promise((u, a) => {
121
+ u(!0);
122
+ });
123
+ const n = e.entity.data, i = { ...e.entity.page, ...n }, o = e.rules, l = t.props.base ? t.props.base.isEnableRequired : null;
124
+ return l != null && (r = l), r == null && (r = !1), function(u, a, d, p) {
125
+ return u ? S(p) ? function(c, f, g) {
126
+ return new Promise((b, w) => {
127
+ var W;
128
+ const N = se(f), O = f.entity.context, de = f.entity.task, pe = !0, me = f.subTablePageInfo, ge = ((W = f.props) == null ? void 0 : W.highlightAllRequiredField) || !1;
129
+ X(c, f, g).then((A) => {
130
+ if (A) {
131
+ let x = A;
132
+ const z = f.workflowRules;
133
+ let F = null, m = null;
134
+ if (z) {
135
+ if (!function(R, C) {
136
+ var k, B, Z, G;
137
+ if (!R.actionPermissions) return !0;
138
+ const h = Object.keys(R.actionPermissions);
139
+ for (let V = 0; V < h.length; V++) {
140
+ const v = h[V], j = R.actionPermissions[v];
141
+ if (j && j.notEmpty) {
142
+ if ((k = R.hiddenNotValidatorCodes) != null && k.has(v)) continue;
143
+ let I = !1;
144
+ if (C[v] ? Array.isArray(C[v]) && C[v].length === 0 && (I = !0) : I = !0, I) {
145
+ const H = E(R, v);
146
+ if (!H) return !0;
147
+ const K = H.getConfigure();
148
+ return (B = j.notEmptyCondition) != null && B.parentCondition && he(j.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), R.dataTypeMaps, C, {}, (Z = R.entity) == null ? void 0 : Z.request, (G = R.entity) == null ? void 0 : G.task, R.contextParam) === !1 ? !0 : (T({ showClose: !0, message: y().t("superPageRuntimeMessage.xxxNotEmpty", { label: K.title ? K.title : v }), type: "warning" }), !1);
149
+ }
150
+ }
151
+ }
152
+ return !0;
153
+ }(f, c)) return void b(!1);
154
+ F = function(R, C) {
155
+ const h = P(R);
156
+ return C && C.size > 0 && C.forEach((k) => {
157
+ delete h[k], h.subRules && delete h.subRules[k], h.rules && delete h.rules[k];
158
+ }), h.subRules && (Object.keys(h.subRules).length > 0 ? h.totalSubRules || (h.totalSubRules = {}) : delete h.subRules), h;
159
+ }(z, f.hiddenNotValidatorCodes), m = window.$vueApp.config.globalProperties.$formValidator(c, F, pe, N, de, O, me, !0, { returnAllErrors: ge }), x = m && Array.isArray(m) ? m.length === 1 && m[0].message ? m[0].message : m.length === 0 || y().t("superPageRuntimeMessage.pleaseInputRequiredInfo") : !m || m.msg;
160
+ } else x = !0;
161
+ x !== !0 ? (console.error("流程表单验证失败", F, c), T({ showClose: !0, message: x + "", type: "warning" }), m && Array.isArray(m) && m.length > 0 ? (re(f, m), ue(f, ae(f, m))) : m.listCode ? (U(f, m), ie(f, m)) : (U(f, m), le(f, m.field)), b(!1)) : (Object.keys(c).indexOf("validateErrorField") >= 0 && delete c.validateErrorField, b(c));
162
+ } else w(new Error(y().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
163
+ }).catch((A) => {
164
+ w(A);
165
+ });
166
+ });
167
+ }(a, p, d) : function(c, f, g) {
168
+ return new Promise((b, w) => {
169
+ X(c, f, g).then((N) => {
170
+ if (N) {
171
+ const O = JSON.parse(JSON.stringify(c));
172
+ Object.keys(O).indexOf("validateErrorField") >= 0 && delete O.validateErrorField, b(O);
173
+ } else b(!1);
174
+ }).catch((N) => {
175
+ w(N);
176
+ });
177
+ });
178
+ }(a, p, d) : new Promise((c, f) => {
179
+ c(!0);
180
+ });
181
+ }(r, i, o, e);
182
+ }
183
+ function U(e, t) {
184
+ if (t.listCode) {
185
+ const s = E(e, t.listCode);
186
+ s != null && s.addRequiredClass && s.addRequiredClass(t.field, t.rowIndex, t.pageNum);
187
+ } else if (t.field) {
188
+ const s = E(e, t.field);
189
+ s != null && s.addRequiredClass && s.addRequiredClass();
190
+ }
191
+ }
192
+ function re(e, t) {
193
+ t.forEach((s) => U(e, s));
194
+ }
195
+ function ie(e, t) {
196
+ try {
197
+ $(e, t.listCode);
198
+ const s = E(e, t.listCode);
199
+ s != null && s.scrollToCell && s.scrollToCell({ fieldName: t.field, rowIndex: t.rowIndex, pageNum: t.pageNum });
200
+ } catch (s) {
201
+ console.error("滚动到验证失败的子表字段失败,可能是表格组件版本较低没有scrollToCell方法", s);
202
+ }
203
+ }
204
+ function le(e, t) {
205
+ try {
206
+ $(e, t);
207
+ } catch (s) {
208
+ console.error("滚动失败", s);
209
+ }
210
+ }
211
+ function ae(e, t) {
212
+ let s = null, r = 1 / 0;
213
+ return t.forEach((n) => {
214
+ const i = n.listCode || n.field;
215
+ if (!i) return;
216
+ const o = E(e, i), l = (o == null ? void 0 : o.$el) || o;
217
+ if (l != null && l.getBoundingClientRect) {
218
+ const u = l.getBoundingClientRect();
219
+ u.top < r && (r = u.top, s = n);
220
+ }
221
+ }), s;
222
+ }
223
+ function ue(e, t) {
224
+ t && (t.listCode ? ie(e, t) : t.field && le(e, t.field));
225
+ }
226
+ function q(e) {
227
+ return new Promise((t, s) => {
228
+ const r = [], n = e.customValidatorUuids;
229
+ n && n.forEach((i) => {
230
+ const o = J(e, i);
231
+ o && o.validator && r.push(o.validator());
232
+ }), r && r.length > 0 ? Promise.all(r).then((i) => {
233
+ i.includes(!1) ? t(!1) : t(!0);
234
+ }) : t(!0);
235
+ });
236
+ }
237
+ function X(e, t, s) {
238
+ return new Promise((r, n) => {
239
+ var u;
240
+ const i = JSON.parse(JSON.stringify(e)), o = P(s), l = t.hiddenNotValidatorCodes;
241
+ if (o && l && l.size > 0 && l.forEach((a) => {
242
+ delete o[a];
243
+ }), o && Object.keys(o).length !== 0) {
244
+ const a = we(i, o, null, null, !0, t);
245
+ if ((u = t.props) != null && u.highlightAllRequiredField && a && Array.isArray(a) && a.length > 0 && (re(t, a), ue(t, ae(t, a)), r(!1)), a === !0)
246
+ if (Y(t) === !0) {
247
+ const d = ee(t);
248
+ d && L(d) ? d.then((p) => {
249
+ p ? q(t).then((c) => {
250
+ r(c);
251
+ }) : r(!1);
252
+ }) : q(t).then((p) => {
253
+ r(p);
254
+ });
255
+ } else n(new Error(y().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
256
+ else n(new Error(y().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
257
+ } else if (Y(t) === !0) {
258
+ const a = ee(t);
259
+ a && L(a) ? a.then((d) => {
260
+ d ? q(t).then((p) => {
261
+ r(p);
262
+ }) : r(!1);
263
+ }) : q(t).then((d) => {
264
+ r(d);
265
+ });
266
+ } else n(new Error(y().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
267
+ });
268
+ }
269
+ function _(e, t, s) {
270
+ if (!t) return s;
271
+ s || (s = {});
272
+ const r = S(e), n = Object.keys(t), i = t;
273
+ return n.forEach((o) => {
274
+ if (o === "__subRules") {
275
+ const l = i.__subRules;
276
+ Object.keys(l).forEach((u) => {
277
+ s.subRules || (s.subRules = {}), s.subRules[u] ? Object.assign(s.subRules[u], l[u]) : s.subRules[u] = l[u];
278
+ });
279
+ } else Ee(i[o]), r ? (s.rules[o] = i[o], s[o] && (s[o] = i[o])) : s[o] = i[o];
280
+ }), oe(s);
281
+ }
282
+ function Y(e) {
283
+ var s;
284
+ if (!e || S(e)) return !0;
285
+ const t = e.tableUuids;
286
+ if (!t) return !0;
287
+ for (let r = 0; r < t.length; r++) {
288
+ const n = t[r], i = e.hiddenNotValidatorCodes;
289
+ if (i && i.size > 0 && i.has(n)) continue;
290
+ const o = J(e, n);
291
+ if (o) {
292
+ if (o.getConfigure()) {
293
+ const l = o.getConfigure();
294
+ if ((s = l == null ? void 0 : l.verification) != null && s.notEmpty) {
295
+ const u = o.getTableData();
296
+ if (!u || !Array.isArray(u) || u.length === 0) {
297
+ try {
298
+ Q(e, n);
299
+ } catch {
300
+ }
301
+ return T({ showClose: !0, message: y().t("superPageRuntimeMessage.xxxNotEmpty", { label: l.title ? l.title : l.code }), type: "warning" }), !1;
302
+ }
303
+ }
304
+ }
305
+ if (o.validatorSunTableListData() === !1) {
306
+ try {
307
+ Q(e, n);
308
+ } catch {
309
+ }
310
+ return !1;
311
+ }
312
+ }
313
+ }
314
+ return !0;
315
+ }
316
+ function Se(e) {
317
+ if (!e || Object.keys(e).length === 0) return;
318
+ const t = {}, s = Object.keys(e);
319
+ for (let r = 0; r < s.length; r++) {
320
+ const n = s[r], i = e[n];
321
+ Ce(i), n.indexOf(".") > 0 ? Re(n, t, i) : i && i.length > 0 && (t[n] = [...i]);
322
+ }
323
+ return t;
324
+ }
325
+ function Ce(e, t) {
326
+ e.forEach((s) => {
327
+ s.message;
328
+ const r = s.label, n = y().t(r);
329
+ s.required && (s.message = y().t("superPageRuntimeMessage.required", { label: n })), s.myType && (s.message = y().t("superPageRuntimeMessage.formatMismatch", { label: n })), s.patternType && (s.message = y().t("superPageRuntimeMessage.formatMismatch", { label: n })), s.max !== void 0 && s.max !== null && (s.message = y().t("superPageRuntimeMessage.overMaxLength", { label: n, value: s.max })), s.min !== void 0 && s.min !== null && (s.message = y().t("superPageRuntimeMessage.limitMinLength", { label: n, value: s.min }));
330
+ });
331
+ }
332
+ function Fe(e) {
333
+ const t = e.entity.data, s = { ...e.entity.page, ...t }, r = se(e), n = e.entity.context, i = e.entity.task;
334
+ e.formPropTiltleMap && Object.keys(e.formPropTiltleMap).length > 0 && e.completeTaskParam.fieldPermissions && e.completeTaskParam.fieldPermissions.length > 0 && e.completeTaskParam.fieldPermissions.forEach((u) => {
335
+ u.name && e.formPropTiltleMap[u.name] && (u.label = e.formPropTiltleMap[u.name]);
336
+ });
337
+ let o = window.$vueApp.config.globalProperties.$getValidator(e.completeTaskParam.fieldPermissions, s, !0, r, i, n);
338
+ const l = e.customRules;
339
+ return o = _(e, l, o), o && (o.rules || (o.rules = {}), o.subRules || (o.subRules = {})), o;
340
+ }
341
+ function ee(e) {
342
+ const t = [];
343
+ return e.customRuleEvents && e.customRuleEvents.length > 0 && e.customRuleEvents.forEach((s) => {
344
+ s.events.forEach((r) => {
345
+ const n = e.customEvents[r];
346
+ t.push(n.apply(n, [{ prop: s.prop, pageContext: e }]));
347
+ });
348
+ }), t && t.length > 0 ? new Promise((s, r) => {
349
+ const n = [], i = [];
350
+ t.forEach((o) => {
351
+ L(o) ? n.push(o) : i.push(o);
352
+ }), i.includes(!1) && s(!1), n.length > 0 ? Promise.all(n).then((o) => {
353
+ o.includes(!1) ? s(!1) : s(!0);
354
+ }).catch((o) => {
355
+ console.error(o), s(!1);
356
+ }) : s(!0);
357
+ }) : null;
358
+ }
359
+ function Ve(e, t) {
360
+ if (!t) return;
361
+ const s = {};
362
+ if (t.forEach((n) => {
363
+ const { name: i, rules: o } = n;
364
+ o ? s[i] = o : n.required === !1 && (s[i] = []);
365
+ }), S(e)) {
366
+ let n = e.workflowRules ? e.workflowRules : { rules: {}, subRules: {} };
367
+ n = _(e, s, n), e.workflowRules = n;
368
+ } else {
369
+ let n = e.rules ? e.rules : {};
370
+ n = _(e, s, n), e.rules = n;
371
+ }
372
+ const r = t.filter((n) => n.name === "_all_fields");
373
+ r && r.length > 0 && fe(e, r[0]), t.forEach((n) => {
374
+ if (n.name !== "_all_fields") {
375
+ const i = E(e, n.name);
376
+ ce(e, i, n);
377
+ }
378
+ });
379
+ }
380
+ function Ie(e) {
381
+ fe(e, { disabled: !0 });
382
+ }
383
+ function fe(e, t) {
384
+ const s = be(e);
385
+ if (s) for (const r in s) {
386
+ const n = s[r];
387
+ ce(e, n && n.value, t);
388
+ }
389
+ }
390
+ function Le(e, t, s) {
391
+ var u;
392
+ let r, n;
393
+ if (s ? (r = E(e, s), n = r ? r.getTableUuid() : null) : (n = e.tableUuids && e.tableUuids.length > 0 ? e.tableUuids[0] : null, r = n ? J(e, n) : null), !r) return;
394
+ const i = e.code, o = e.version, l = ne(i, o, n);
395
+ if (e.workflowRules || (e.workflowRules = { rules: {}, subRules: {} }), e.workflowRules.subRules || (e.workflowRules.subRules = {}), e.workflowRules.subRules[s] || (e.workflowRules.subRules[s] = {}), ((u = e.workflowRules) == null ? void 0 : u.subRules) && e.workflowRules.subRules[s]) {
396
+ const a = e.workflowRules.subRules[s];
397
+ t.forEach((d) => {
398
+ a[d.name] = d;
399
+ });
400
+ }
401
+ r.dynamicControlTableEdit(e, t, l);
402
+ }
403
+ function ce(e, t, s) {
404
+ var r, n, i;
405
+ if (t) {
406
+ const o = t.getConfigure();
407
+ if (s.show !== void 0 && (s.show ? t.show() : t.hide()), s.required !== void 0 && ((r = o == null ? void 0 : o.runtime) != null && r.props) && (o.runtime.props.required = s.required), s.readonly !== void 0 && ((n = o == null ? void 0 : o.runtime) != null && n.props) && (s.readonly ? o.runtime.props.state = "readonly" : o.runtime.props.state = "enabled"), s.disabled !== void 0 && o && ((i = o == null ? void 0 : o.runtime) != null && i.props && (s.disabled ? o.runtime.props.state = "disabled" : o.runtime.props.state = "enabled"), o.name === "table")) {
408
+ t.changeOperationAddState(!1);
409
+ const l = t ? t.getTableUuid() : null, u = e.code, a = e.version, d = ne(u, a, l), p = [{ name: "_all_fields", disabled: !0 }];
410
+ t.dynamicControlTableEdit(e, p, d);
411
+ }
412
+ }
413
+ }
414
+ function Ee(e) {
415
+ if (e != null && e.pattern && typeof e.pattern == "object" && Object.keys(e.pattern).length === 0 && delete e.pattern, !e) return;
416
+ if (!e.type) return void function(s) {
417
+ var n;
418
+ const r = (n = te.validators) == null ? void 0 : n.string;
419
+ typeof r == "function" && (s.validator = function(i, o, l, u, a) {
420
+ if (o == null || typeof o == "string") return r(i, o, l, u, a);
421
+ if (Array.isArray(o) && o.length === 0) return !i.required;
422
+ const d = i.type;
423
+ i.type = void 0;
424
+ const p = r(i, o, l, u, a);
425
+ return i.type = d, p;
426
+ });
427
+ }(e);
428
+ const t = ve[e.type];
429
+ t && (e.validator = t.validator);
430
+ }
431
+ const ve = { boolean: { validator: function(e, t, s) {
432
+ return M(e, t) === !0 && (typeof t == "number" && (t === 1 || t === 0) || typeof t == "boolean" && (t === !0 || t === !1));
433
+ } }, date: { validator: function(e, t, s) {
434
+ if (M(e, t) !== !0) return !1;
435
+ const r = new Date(t);
436
+ return !isNaN(r.getTime());
437
+ } }, number: { validator: function(e, t, s) {
438
+ return M(e, t) === !0 && (typeof t != "string" || t.trim() !== "") && (typeof t == "number" || !isNaN(Number(t)));
439
+ } }, float: { validator: function(e, t, s) {
440
+ return M(e, t) === !0 && function(r) {
441
+ return typeof r == "number" ? !isNaN(r) : typeof r == "string" && r.trim() !== "" ? !isNaN(Number(r)) : !1;
442
+ }(t);
443
+ } }, integer: { validator: function(e, t, s) {
444
+ return M(e, t) === !0 && (typeof t == "number" ? Number.isInteger(t) : typeof t == "string" && t.trim() !== "" && /^-?\d+$/.test(t.trim()));
445
+ } } }, M = (e, t) => t != null && t !== "" || !e.required;
446
+ function Pe(e, t) {
447
+ return e && ye.includes(t.eventName);
448
+ }
449
+ export {
450
+ Ie as disabledAllFields,
451
+ Le as dynamicControlTableEdit,
452
+ Fe as getWorkflowRules,
453
+ Ce as i18nValidatePropRulesMessage,
454
+ Se as i18nValidateRulesMessage,
455
+ Pe as isNotNeedValidateRequired,
456
+ _ as packageCustomRules,
457
+ Ee as packageCustomValidator,
458
+ Re as setObjectPropRule,
459
+ Ve as updateFormItemEditState,
460
+ qe as validateDataModelFunc,
461
+ we as validator
462
+ };
@@ -0,0 +1,36 @@
1
+ function l(n, u, s) {
2
+ if (!n) return;
3
+ const a = [];
4
+ if (n.includes("today") && !["week", "month", "year"].includes(u)) {
5
+ const e = { text: "今天", value: () => /* @__PURE__ */ new Date() };
6
+ s.endsWith("range") && (e.value = () => [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]), a.push(e);
7
+ }
8
+ if (n.includes("yesterday") && !["week", "month", "year"].includes(u)) {
9
+ const e = /* @__PURE__ */ new Date();
10
+ e.setTime(e.getTime() - 864e5);
11
+ const t = { text: "昨天", value: () => e };
12
+ s.endsWith("range") && (t.value = () => [e, /* @__PURE__ */ new Date()]), a.push(t);
13
+ }
14
+ if (n.includes("oneWeek") && !["month", "year"].includes(u)) {
15
+ const e = /* @__PURE__ */ new Date();
16
+ e.setTime(e.getTime() - 6048e5);
17
+ const t = { text: "一周前", value: () => e };
18
+ s.endsWith("range") && (t.text = "一周", t.value = () => [e, /* @__PURE__ */ new Date()]), a.push(t);
19
+ }
20
+ if (n.includes("oneMonth") && !["year"].includes(u)) {
21
+ const e = /* @__PURE__ */ new Date();
22
+ e.getMonth() > 0 ? e.setMonth(e.getMonth() - 1) : (e.setMonth(12), e.setFullYear(e.getFullYear() - 1));
23
+ const t = { text: "一月前", value: () => e };
24
+ s.endsWith("range") && (t.text = "一月", t.value = () => [e, /* @__PURE__ */ new Date()]), a.push(t);
25
+ }
26
+ if (n.includes("oneYear")) {
27
+ const e = /* @__PURE__ */ new Date();
28
+ e.setFullYear(e.getFullYear() - 1);
29
+ const t = { text: "一年前", value: () => e };
30
+ s.endsWith("range") && (t.text = "一年", t.value = () => [e, /* @__PURE__ */ new Date()]), a.push(t);
31
+ }
32
+ return a;
33
+ }
34
+ export {
35
+ l as getDateShortCuts
36
+ };
@@ -0,0 +1,88 @@
1
+ import { http } from "agilebuilder-ui";
2
+ import { setValueForVariableName } from "../page-helper-util.mjs";
3
+ function formatScanRuleSets(a) {
4
+ const e = {};
5
+ return a.forEach((n) => {
6
+ n.type === "group" ? n.outs.forEach((c) => {
7
+ e[c.ruleCode] || (e[c.ruleCode] = { outs: [], adaptations: [] }), e[c.ruleCode].outs.push(c);
8
+ }) : e[n.code] = { outs: n.outs, adaptations: [] };
9
+ }), packageScanRuleSets(e);
10
+ }
11
+ function packageScanRuleSets(a) {
12
+ return new Promise((e, n) => {
13
+ Object.keys(a).length > 0 ? http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(a)).then((c) => {
14
+ c.forEach((t) => {
15
+ const o = JSON.parse(t.barcodeAnalysisOuts), s = /* @__PURE__ */ new Set(), l = {};
16
+ a[t.code].outs.forEach((r) => {
17
+ s.add(r.returnedValue), l[r.returnedValue] = r.pageVariable;
18
+ });
19
+ const u = [];
20
+ o.forEach((r) => {
21
+ s.has(r.code) && (r.pageVariable = l[r.code], u.push(r));
22
+ }), a[t.code].outs = u, a[t.code].adaptations = JSON.parse(t.barcodeAnalysisAdaptations), e(a);
23
+ });
24
+ }) : e(null);
25
+ });
26
+ }
27
+ function analysisScanValue(scanValue, scanRuleSets) {
28
+ if (!scanValue) return null;
29
+ const scanSets = Object.values(scanRuleSets);
30
+ for (let i = 0; i < scanSets.length; i++) {
31
+ const scanSet = scanSets[i], adaptations = scanSet.adaptations;
32
+ let validStr = "";
33
+ for (let a = 0; a < adaptations.length; a++) {
34
+ const e = adaptations[a], n = _getScanIndexs(scanValue, e.startIndex, e.endIndex), c = n[0], t = n[1];
35
+ let o = scanValue.substring(c, t), s = e.value, l = e.operate;
36
+ if (l == "times" && (s = o.split(s ?? "").length - 1, o = e.times, l = "="), (isNaN(o) || isNaN(s)) && (o = "'" + o + "'", s = "'" + s + "'"), e.leftBracket && (validStr += e.leftBracket), l == "<>" ? l = "!=" : l == "=" && (l = "=="), l == "include" || l == "notinclude" ? (validStr += o + ".indexOf(" + s + ")", validStr += l == "include" ? ">-1" : "<0") : validStr += o + l + s, e.rightBracket && (validStr += e.rightBracket), e.joinStr && a + 1 < adaptations.length) {
37
+ const u = e.joinStr == "and" ? "&&" : "||";
38
+ validStr += u;
39
+ }
40
+ }
41
+ let res = !1;
42
+ if (validStr) try {
43
+ res = eval("(" + validStr + ")");
44
+ } catch (a) {
45
+ }
46
+ else res = !0;
47
+ if (res) return executeAnalysisForScan(scanValue, scanSet);
48
+ }
49
+ return null;
50
+ }
51
+ function executeAnalysisForScan(a, e) {
52
+ if (!e || !a) return;
53
+ const n = e.outs, c = {};
54
+ return n.forEach((t) => {
55
+ const o = t.fieldName;
56
+ if (t.fixedValue != null) c[o] = t.fixedValue;
57
+ else {
58
+ let s = a;
59
+ if (t.splitChar && t.splitNum) {
60
+ const l = (t.splitChar, t.splitChar), u = a.split(l), r = t.splitNum < 1 ? 1 : t.splitNum;
61
+ s = r <= u.length ? u[r - 1] : "";
62
+ }
63
+ if (t.splitChar2 && t.splitNum2) {
64
+ const l = (t.splitChar2, t.splitChar2), u = s.split(l), r = t.splitNum2 < 1 ? 1 : t.splitNum2;
65
+ s = r <= u.length ? u[r - 1] : "";
66
+ }
67
+ if (s.length > 0) {
68
+ const l = _getScanIndexs(s, t.startIndex, t.endIndex), u = l[0], r = l[1];
69
+ s = s.substring(u, r);
70
+ }
71
+ c[o] = s;
72
+ }
73
+ }), { value: a, params: c, scanSet: e };
74
+ }
75
+ function _getScanIndexs(a, e, n) {
76
+ return e = (e = (e = e == null ? 0 : e - 1) < 0 ? 0 : e) > a.length - 1 ? a.length - 1 : e, (n = (n = (n = n ?? a.length) > a.length ? a.length : n) < 1 ? 1 : n) < e && (n = e), [e, n];
77
+ }
78
+ function setScanAnalysisValue(a, e, n) {
79
+ e && e.outs.forEach((c) => {
80
+ const t = c.fieldName, o = n[t];
81
+ setValueForVariableName(a.entity, c.pageVariable, o);
82
+ });
83
+ }
84
+ export {
85
+ analysisScanValue,
86
+ formatScanRuleSets,
87
+ setScanAnalysisValue
88
+ };
@@ -0,0 +1,57 @@
1
+ import "vue";
2
+ window.globalRefs || (window.globalRefs = {});
3
+ const t = window.globalRefs;
4
+ function f(n, e, r) {
5
+ if (!n) return;
6
+ const o = i(n.code, n.version);
7
+ return t[o] || (t[o] = {}), t[o][e] = r, t[o];
8
+ }
9
+ function u(n, e, r) {
10
+ if (!n) return;
11
+ const o = s(n.code, n.version);
12
+ return t[o] || (t[o] = {}), t[o][e] = r, t[o];
13
+ }
14
+ function a(n, e) {
15
+ if (!n || !e) return;
16
+ const r = i(n.code, n.version);
17
+ t[r] || (t[r] = {});
18
+ const o = t[r][e];
19
+ return o && o.value;
20
+ }
21
+ function d(n, e) {
22
+ if (!n) return;
23
+ const r = s(n.code, n.version);
24
+ t[r] || (t[r] = {});
25
+ const o = t[r][e];
26
+ return o && o.value;
27
+ }
28
+ function l(n) {
29
+ if (!n) return;
30
+ const e = i(n.code, n.version);
31
+ t[e] = {};
32
+ }
33
+ function R(n) {
34
+ if (!n) return;
35
+ const e = i(n.code, n.version);
36
+ t[e] = {};
37
+ }
38
+ function i(n, e) {
39
+ return "pageRuntimeRef-" + n + "-" + (e || 1);
40
+ }
41
+ function s(n, e) {
42
+ return i(n, e) + "-code";
43
+ }
44
+ function v(n) {
45
+ if (!n) return;
46
+ const e = s(n.code, n.version);
47
+ return t[e] || (t[e] = {}), t[e];
48
+ }
49
+ export {
50
+ f as addComponentRef,
51
+ u as addComponentRefByCode,
52
+ v as getAllComponentRefs,
53
+ a as getComponentRef,
54
+ d as getComponentRefByCode,
55
+ R as initComponentRefState,
56
+ l as removePageAllRef
57
+ };
@@ -0,0 +1,15 @@
1
+ import { usePageContextStore as m } from "./page-store.mjs";
2
+ import { i18nUtil as u } from "agilebuilder-ui";
3
+ import { useI18n as a } from "vue-i18n";
4
+ let s = null, t = null;
5
+ const i = (e, ...n) => {
6
+ if (!e) return "";
7
+ t || (t = a());
8
+ const o = m().pageContext;
9
+ s === null && (s = !!u.getEnableI18nState(o.systemCode));
10
+ const r = `${o.systemCode}.${e}`;
11
+ return t.te(r) ? t.t(r, n || []) : t.te(e) ? t.t(e, n || []) : t.t(e, n || []) || e;
12
+ };
13
+ export {
14
+ i as $t
15
+ };
@@ -0,0 +1,4 @@
1
+ var e = ((a) => (a.PC = "pc", a.IPAD = "ipad", a.PHONE = "phone", a))(e || {});
2
+ export {
3
+ e as PageDimensions
4
+ };