super-page-runtime 2.3.48-cdnTmp1 → 2.3.48-tmp1

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 (393) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
  3. package/dist/es/components/runtime/utils/anchor-util.js +84 -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.js +7 -0
  6. package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
  7. package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
  8. package/dist/es/components/runtime/utils/barcode-util.js +12 -0
  9. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +168 -0
  10. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +38 -0
  11. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +82 -0
  12. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +56 -0
  13. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +47 -0
  14. package/dist/es/components/runtime/utils/charts/chart-util.js +288 -0
  15. package/dist/es/components/runtime/utils/common-util.js +120 -0
  16. package/dist/es/components/runtime/utils/eventBus.js +8 -0
  17. package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
  18. package/dist/es/components/runtime/utils/events/event-util.js +447 -0
  19. package/dist/es/components/runtime/utils/events/print-label.js +100 -0
  20. package/dist/es/components/runtime/utils/events/standard-event.js +1226 -0
  21. package/dist/es/components/runtime/utils/events/validator-util.js +485 -0
  22. package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
  23. package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
  24. package/dist/es/components/runtime/utils/global-refs.js +57 -0
  25. package/dist/es/components/runtime/utils/i18n-util.js +18 -0
  26. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
  27. package/dist/es/components/runtime/utils/page-helper-util.js +391 -0
  28. package/dist/es/components/runtime/utils/page-init-util.js +297 -0
  29. package/dist/es/components/runtime/utils/{page-permission-util.mjs → page-permission-util.js} +21 -20
  30. package/dist/es/components/runtime/utils/page-store.js +53 -0
  31. package/dist/es/components/runtime/utils/store-util.js +13 -0
  32. package/dist/es/components/runtime/utils/table-utils.js +89 -0
  33. package/dist/es/components/runtime/utils/tree-utils.js +73 -0
  34. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
  36. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.js +21 -0
  38. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.js +41 -0
  40. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
  41. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.js +6 -0
  42. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  43. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.js +21 -0
  44. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
  45. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.js +53 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.js +4 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.js +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
  51. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.js +4 -0
  52. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
  53. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.js +64 -0
  54. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +94 -0
  55. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +4 -0
  56. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
  57. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.js +35 -0
  58. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
  59. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.js +46 -0
  60. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
  61. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.js +35 -0
  62. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
  63. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.js +35 -0
  64. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +430 -0
  65. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
  66. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.js +4 -0
  67. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
  68. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.js +4 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +46 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +4 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +17 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.js +268 -0
  75. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +20 -0
  76. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
  78. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.js +4 -0
  79. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  80. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +4 -0
  81. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  82. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +4 -0
  83. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +17 -0
  84. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +4 -0
  85. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
  86. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +4 -0
  87. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
  88. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +4 -0
  89. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
  90. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.js +4 -0
  91. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
  92. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.js +4 -0
  93. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
  94. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.js +35 -0
  95. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  96. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.js +21 -0
  97. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +7 -0
  98. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
  99. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
  100. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +29 -0
  101. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
  102. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.js +81 -0
  103. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  104. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.js +25 -0
  105. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  106. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.js +25 -0
  107. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  108. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.js +46 -0
  109. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
  110. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
  111. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.js +47 -0
  113. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  114. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.js +69 -0
  115. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +383 -0
  116. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +4 -0
  117. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +339 -0
  118. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.js +4 -0
  119. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  120. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.js +90 -0
  121. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
  122. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
  123. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
  124. package/dist/es/components/runtime/views/assemblys/error-render2.vue.js +4 -0
  125. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  126. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.js +66 -0
  127. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
  128. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.js +4 -0
  129. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
  130. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.js +69 -0
  131. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  132. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
  133. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  134. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.js +55 -0
  135. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  136. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.js +24 -0
  137. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  138. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.js +115 -0
  139. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
  140. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +91 -0
  141. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  142. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.js +28 -0
  143. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  144. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +81 -0
  145. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +7 -0
  146. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +38 -0
  147. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  148. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.js +43 -0
  149. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
  150. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.js +16 -0
  151. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.js +84 -0
  153. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +8 -0
  154. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
  155. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +7 -0
  156. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +156 -0
  157. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.js +16 -0
  159. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.js +36 -0
  161. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.js +44 -0
  163. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +7 -0
  164. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
  165. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
  166. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +4 -0
  167. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +166 -0
  168. package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +4 -0
  169. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +9 -0
  170. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +4 -0
  171. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +7 -0
  172. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
  173. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +7 -0
  174. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
  175. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
  176. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
  177. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  178. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js +20 -0
  179. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  180. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js +23 -0
  181. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
  182. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.js +32 -0
  183. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
  184. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.js +27 -0
  185. package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
  186. package/dist/es/components/runtime/views/home-chart2.vue.js +4 -0
  187. package/dist/es/components/runtime/views/super-page-dialog.vue.js +30 -0
  188. package/dist/es/components/runtime/views/super-page-dialog3.vue.js +5 -0
  189. package/dist/es/components/runtime/views/super-page.vue.js +7 -0
  190. package/dist/es/components/runtime/views/super-page2.vue.js +311 -0
  191. package/dist/es/index.js +32 -0
  192. package/dist/es/style.css +1052 -1
  193. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -1
  194. package/package.json +11 -13
  195. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -8
  196. package/dist/es/components/runtime/utils/ai-chat-util.mjs +0 -16
  197. package/dist/es/components/runtime/utils/anchor-util.mjs +0 -83
  198. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -12
  199. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +0 -196
  200. package/dist/es/components/runtime/utils/assemblys-config.mjs +0 -19
  201. package/dist/es/components/runtime/utils/barcode-util.mjs +0 -12
  202. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +0 -169
  203. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +0 -38
  204. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +0 -83
  205. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +0 -56
  206. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +0 -47
  207. package/dist/es/components/runtime/utils/charts/chart-util.mjs +0 -285
  208. package/dist/es/components/runtime/utils/common-util.mjs +0 -116
  209. package/dist/es/components/runtime/utils/eventBus.mjs +0 -8
  210. package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +0 -38
  211. package/dist/es/components/runtime/utils/events/event-util.mjs +0 -429
  212. package/dist/es/components/runtime/utils/events/print-label.mjs +0 -100
  213. package/dist/es/components/runtime/utils/events/standard-event.mjs +0 -1170
  214. package/dist/es/components/runtime/utils/events/validator-util.mjs +0 -462
  215. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +0 -36
  216. package/dist/es/components/runtime/utils/form/scan-util.mjs +0 -88
  217. package/dist/es/components/runtime/utils/global-refs.mjs +0 -57
  218. package/dist/es/components/runtime/utils/i18n-util.mjs +0 -14
  219. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +0 -4
  220. package/dist/es/components/runtime/utils/page-helper-util.mjs +0 -381
  221. package/dist/es/components/runtime/utils/page-init-util.mjs +0 -281
  222. package/dist/es/components/runtime/utils/page-store.mjs +0 -53
  223. package/dist/es/components/runtime/utils/store-util.mjs +0 -13
  224. package/dist/es/components/runtime/utils/table-utils.mjs +0 -84
  225. package/dist/es/components/runtime/utils/tree-utils.mjs +0 -68
  226. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +0 -4
  227. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +0 -29
  228. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +0 -7
  229. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +0 -21
  230. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +0 -4
  231. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +0 -41
  232. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +0 -4
  233. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +0 -6
  234. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +0 -4
  235. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +0 -21
  236. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +0 -7
  237. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +0 -53
  238. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +0 -14
  239. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +0 -4
  240. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +0 -13
  241. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +0 -4
  242. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +0 -59
  243. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +0 -4
  244. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +0 -7
  245. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +0 -59
  246. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +0 -93
  247. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +0 -4
  248. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +0 -7
  249. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +0 -35
  250. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +0 -7
  251. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +0 -46
  252. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +0 -7
  253. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +0 -35
  254. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +0 -7
  255. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +0 -35
  256. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +0 -425
  257. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +0 -6
  258. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +0 -4
  259. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +0 -10
  260. package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +0 -4
  261. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +0 -42
  262. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +0 -4
  263. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +0 -17
  264. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +0 -4
  265. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +0 -4
  266. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +0 -261
  267. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +0 -20
  268. package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +0 -4
  269. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +0 -35
  270. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +0 -4
  271. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +0 -34
  272. package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +0 -4
  273. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +0 -27
  274. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +0 -4
  275. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +0 -17
  276. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +0 -4
  277. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +0 -22
  278. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +0 -4
  279. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +0 -18
  280. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +0 -4
  281. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +0 -35
  282. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +0 -4
  283. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +0 -19
  284. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +0 -4
  285. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +0 -7
  286. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +0 -35
  287. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +0 -4
  288. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +0 -21
  289. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +0 -7
  290. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +0 -27
  291. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +0 -7
  292. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +0 -29
  293. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +0 -7
  294. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +0 -81
  295. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +0 -4
  296. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +0 -25
  297. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +0 -4
  298. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +0 -25
  299. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +0 -4
  300. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +0 -43
  301. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +0 -7
  302. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +0 -96
  303. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +0 -7
  304. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +0 -47
  305. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +0 -4
  306. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +0 -69
  307. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +0 -362
  308. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +0 -4
  309. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +0 -329
  310. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +0 -4
  311. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +0 -4
  312. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +0 -90
  313. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +0 -7
  314. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +0 -133
  315. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +0 -5
  316. package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +0 -4
  317. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +0 -4
  318. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +0 -65
  319. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +0 -36
  320. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +0 -4
  321. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +0 -4
  322. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +0 -69
  323. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +0 -4
  324. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +0 -102
  325. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +0 -4
  326. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +0 -55
  327. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +0 -4
  328. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +0 -24
  329. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +0 -4
  330. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +0 -111
  331. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +0 -4
  332. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +0 -88
  333. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +0 -4
  334. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +0 -28
  335. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +0 -4
  336. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +0 -79
  337. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +0 -7
  338. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +0 -37
  339. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +0 -4
  340. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +0 -42
  341. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +0 -7
  342. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +0 -16
  343. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +0 -4
  344. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +0 -84
  345. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +0 -8
  346. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +0 -215
  347. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +0 -7
  348. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +0 -150
  349. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +0 -4
  350. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +0 -16
  351. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +0 -4
  352. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +0 -36
  353. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +0 -4
  354. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +0 -43
  355. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +0 -7
  356. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +0 -28
  357. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +0 -83
  358. package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +0 -4
  359. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +0 -163
  360. package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +0 -4
  361. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +0 -9
  362. package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +0 -4
  363. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +0 -7
  364. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +0 -56
  365. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +0 -7
  366. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +0 -29
  367. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +0 -7
  368. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +0 -45
  369. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +0 -4
  370. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +0 -20
  371. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +0 -4
  372. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +0 -23
  373. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +0 -7
  374. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +0 -30
  375. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +0 -4
  376. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +0 -27
  377. package/dist/es/components/runtime/views/home-chart.vue.mjs +0 -46
  378. package/dist/es/components/runtime/views/home-chart2.vue.mjs +0 -4
  379. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +0 -30
  380. package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +0 -5
  381. package/dist/es/components/runtime/views/super-page.vue.mjs +0 -7
  382. package/dist/es/components/runtime/views/super-page2.vue.mjs +0 -307
  383. package/dist/es/index.mjs +0 -32
  384. /package/dist/es/assets/chart-themes/{bar-theme.mjs → bar-theme.js} +0 -0
  385. /package/dist/es/assets/chart-themes/{gauge-theme.mjs → gauge-theme.js} +0 -0
  386. /package/dist/es/assets/chart-themes/{pie-theme.mjs → pie-theme.js} +0 -0
  387. /package/dist/es/assets/chart-themes/{radar-theme.mjs → radar-theme.js} +0 -0
  388. /package/dist/es/assets/chart-themes/{scatter-theme.mjs → scatter-theme.js} +0 -0
  389. /package/dist/es/assets/{file.png.mjs → file.png.js} +0 -0
  390. /package/dist/es/assets/{folder.png.mjs → folder.png.js} +0 -0
  391. /package/dist/es/components/runtime/utils/{store.mjs → store.js} +0 -0
  392. /package/dist/es/i18n/langs/{cn.mjs → cn.js} +0 -0
  393. /package/dist/es/i18n/langs/{en.mjs → en.js} +0 -0
@@ -1,4 +0,0 @@
1
- import o from "./collapse-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,21 +0,0 @@
1
- import { defineComponent as S, ref as R, onMounted as B, nextTick as E, resolveComponent as i, openBlock as o, createBlock as a, normalizeClass as N, unref as t, normalizeStyle as f, isRef as O, withCtx as c, createElementBlock as d, Fragment as g, renderList as y, createElementVNode as x, createCommentVNode as b, createTextVNode as j, toDisplayString as w } from "vue";
2
- import z from "../../object-render.vue.mjs";
3
- import "../../../../utils/global-refs.mjs";
4
- import { $t as D } from "../../../../utils/i18n-util.mjs";
5
- import { handleAfterInitEvent as I } from "../../../../utils/events/event-util.mjs";
6
- const H = S({ __name: "collapse-runtime", props: { pageContext: {}, configure: {} }, setup(l) {
7
- const e = l;
8
- e.configure.props || (e.configure.props = {});
9
- const r = e.configure.props.defaultOpens ? e.configure.props.defaultOpens : [1], C = !!e.configure.props.accordion, p = R(null), s = e.configure.runtime ? e.configure.runtime : {}, V = s.style, k = s.class, _ = s.headerStyle;
10
- return B(() => {
11
- E(() => {
12
- I(null, e.pageContext, e.configure, { componentRef: p.value, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
13
- });
14
- }), (A, u) => {
15
- const h = i("SuperIcon"), v = i("el-collapse-item"), T = i("el-collapse");
16
- return o(), a(T, { ref_key: "thisRef", ref: p, modelValue: t(r), "onUpdate:modelValue": u[0] || (u[0] = (n) => O(r) ? r.value = n : null), style: f(t(V)), accordion: t(C), class: N(t(k)) }, { default: c(() => [(o(!0), d(g, null, y(l.configure.items, (n, F) => (o(), a(v, { name: n.index }, { title: c(() => [x("div", { style: f([t(_), { width: "100%" }]) }, [n.iconType && n.iconValue ? (o(), a(h, { key: 0, iconType: n.iconType, iconValue: n.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : b("", !0), j(" " + w(t(D)(n.label)), 1)], 4)]), default: c(() => [x("div", null, [(o(!0), d(g, null, y(n.items, (m, L) => (o(), a(z, { key: m.uuid, configure: m, pageContext: l.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
17
- };
18
- } });
19
- export {
20
- H as default
21
- };
@@ -1,7 +0,0 @@
1
- import o from "./container-runtime2.vue.mjs";
2
- /* empty css */
3
- import t from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const a = t(o, [["__scopeId", "data-v-545108f6"]]);
5
- export {
6
- a as default
7
- };
@@ -1,27 +0,0 @@
1
- import { defineComponent as E, ref as p, onMounted as N, nextTick as V, resolveComponent as r, openBlock as e, createBlock as o, withCtx as i, withDirectives as A, normalizeStyle as g, unref as s, createElementBlock as f, Fragment as d, renderList as m, vShow as _, createCommentVNode as y, createVNode as L, normalizeClass as j } from "vue";
2
- import { ArrowLeft as F, ArrowRight as M } from "@element-plus/icons-vue";
3
- import C from "../../object-render.vue.mjs";
4
- import "../../../../utils/global-refs.mjs";
5
- import { handleAfterInitEvent as T } from "../../../../utils/events/event-util.mjs";
6
- const P = E({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(t, { expose: w }) {
7
- const a = t, x = p(null), u = a.configure.runtime ? a.configure.runtime : {}, R = u.leftStyle, S = u.rightStyle, D = u.style, b = u.class, l = p(!0), c = p(!0);
8
- return a.configure.props.leftAsideDefaultClose === !0 && (l.value = !1), N(() => {
9
- V(() => {
10
- T(null, a.pageContext, a.configure, { componentRef: x.value, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
11
- });
12
- }), w({ closeLeftAside: function() {
13
- l.value = !1;
14
- }, openLeftAside: function() {
15
- l.value = !0;
16
- }, closeRightAside: function() {
17
- c.value = !1;
18
- }, openRightAside: function() {
19
- c.value = !0;
20
- } }), (q, v) => {
21
- const k = r("el-aside"), B = r("el-icon"), I = r("el-main"), z = r("el-container");
22
- return e(), o(z, { ref_key: "thisRef", ref: x }, { default: i(() => [t.configure.props.useLeft ? A((e(), o(k, { key: 0, style: g(s(R)) }, { default: i(() => [(e(!0), f(d, null, m(t.configure.leftAslides, (n, h) => (e(), o(C, { key: n.uuid, pageContext: t.pageContext, configure: n }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[_, l.value]]) : y("", !0), t.configure.props.useLeft && t.configure.props.showLeftAsideCollapseIcon ? (e(), f("div", { key: 1, class: "aside-collapse-btn aside-collapse-btn--left", onClick: v[0] || (v[0] = (n) => l.value = !l.value) }, [L(B, null, { default: i(() => [l.value ? (e(), o(s(F), { key: 0 })) : (e(), o(s(M), { key: 1 }))]), _: 1 })])) : y("", !0), L(I, { style: g(s(D)), class: j(s(b)) }, { default: i(() => [(e(!0), f(d, null, m(t.configure.items, (n, h) => (e(), o(C, { key: n.uuid, pageContext: t.pageContext, configure: n }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), t.configure.props.useRight ? A((e(), o(k, { key: 2, style: g(s(S)) }, { default: i(() => [(e(!0), f(d, null, m(t.configure.rightAslides, (n, h) => (e(), o(C, { key: n.uuid, pageContext: t.pageContext, configure: n }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[_, c.value]]) : y("", !0)]), _: 1 }, 512);
23
- };
24
- } });
25
- export {
26
- P as default
27
- };
@@ -1,7 +0,0 @@
1
- import o from "./FixedBox2.vue.mjs";
2
- /* empty css */
3
- import r from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const a = r(o, [["__scopeId", "data-v-9b488f43"]]);
5
- export {
6
- a as default
7
- };
@@ -1,29 +0,0 @@
1
- import { defineComponent as v, ref as l, onMounted as h, nextTick as m, onUnmounted as w, watch as y, openBlock as g, createElementBlock as E, normalizeStyle as p, normalizeClass as z, createElementVNode as B, renderSlot as F } from "vue";
2
- const b = v({ __name: "FixedBox", props: { isFixed: { type: Boolean, default: !0 }, position: { type: String, default: "top" }, offset: { type: Number, default: 0 } }, setup(x) {
3
- const i = x, c = l(null), n = l(null), d = l({}), f = l({}), o = [], a = () => {
4
- (() => {
5
- var t, e;
6
- if (n.value) {
7
- const s = (e = (t = c.value) == null ? void 0 : t.getBoundingClientRect) == null ? void 0 : e.call(t), u = n.value.getBoundingClientRect();
8
- d.value = { width: "100%", height: `${u.height}px` }, f.value = { width: `${(s == null ? void 0 : s.width) ?? u.width}px`, position: i.isFixed ? "fixed" : "static", [i.position]: `${i.offset}px`, left: `${(s == null ? void 0 : s.left) ?? u.left}px`, zIndex: 100, pointerEvents: "auto" };
9
- } else d.value = {}, f.value = {};
10
- })();
11
- }, r = (t) => {
12
- t ? ((() => {
13
- if (o.forEach((e) => e.disconnect()), o.length = 0, n.value) {
14
- const e = new ResizeObserver(a);
15
- e.observe(n.value), o.push(e);
16
- }
17
- })(), window.addEventListener("resize", a)) : (window.removeEventListener("resize", a), o.forEach((e) => e.disconnect())), a();
18
- };
19
- return h(() => {
20
- m(() => {
21
- r(i.isFixed);
22
- });
23
- }), w(() => {
24
- r(!1);
25
- }), y(() => i.isFixed, r), (t, e) => (g(), E("div", { ref_key: "fixedMaxRef", ref: c, class: z(["yx-fixed-box-main", { [`is-${x.position}`]: !0, "is-fixed": i.isFixed }]), style: p(d.value) }, [B("div", { ref_key: "fixedRef", ref: n, class: "yx-fixed-box-container", style: p(f.value) }, [F(t.$slots, "default", {}, void 0, !0)], 4)], 6));
26
- } });
27
- export {
28
- b as default
29
- };
@@ -1,7 +0,0 @@
1
- import o from "./YxAffix2.vue.mjs";
2
- /* empty css */
3
- import r from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = r(o, [["__scopeId", "data-v-a994b02d"]]);
5
- export {
6
- p as default
7
- };
@@ -1,81 +0,0 @@
1
- import { defineComponent as U, ref as i, onMounted as q, nextTick as C, onUnmounted as A, watchEffect as O, computed as P, resolveDirective as W, openBlock as R, createElementBlock as k, normalizeStyle as L, withDirectives as Y, normalizeClass as j, renderSlot as G } from "vue";
2
- const K = U({ __name: "YxAffix", props: { offset: { type: Number, default: 0 }, position: { type: String, default: "top", validator: (d) => ["top", "bottom"].includes(d) }, target: { type: [String, HTMLElement], default: () => window }, autoDetectParentScroll: { type: Boolean, default: !0 }, stickyInScrollContainer: { type: Boolean, default: !0 }, zIndex: { type: Number, default: 100 }, enableIntervalUpdate: { type: Boolean, default: !0 }, enableIntervalTime: { type: Number, default: 2e3 } }, emits: ["change"], setup(d, { emit: F }) {
3
- const o = d, $ = F, v = i(null), a = i(null), l = i(!1), r = i({}), p = i([]), m = i(window), h = i(0), g = i(null), D = (e) => {
4
- e.contentRect.height && (r.value.height = e.contentRect.height);
5
- }, w = () => {
6
- try {
7
- if (!a.value) return;
8
- const e = a.value.getBoundingClientRect(), t = m.value;
9
- if (t === window) {
10
- const n = o.position === "top" ? e.top <= o.offset : e.bottom >= window.innerHeight - o.offset;
11
- h.value = 0, T(n, e);
12
- } else if (o.stickyInScrollContainer) {
13
- const n = t.getBoundingClientRect(), { isFixTop: y, isFixBottom: H, containerOffset: M } = ((s) => {
14
- const f = ["top"].includes(o.position), c = ["bottom"].includes(o.position);
15
- if (!v.value) return { isTop: f, isBottom: c };
16
- const b = v.value.getBoundingClientRect(), B = b.top - s.top, N = b.left - s.left, I = s.height - b.height - B, S = s.top, z = window.innerHeight - s.bottom;
17
- return { isTop: f, isBottom: c, containerTop: S, containerBottom: z, containerOffset: f ? S : c ? z : 0, offsetTop: B, offsetLeft: N, offsetBottom: I, isFixTop: f && B < 0, isFixBottom: c && I < 0 };
18
- })(n);
19
- h.value = M ?? 0, T(y || H || !1, e);
20
- }
21
- } catch (e) {
22
- console.error(e);
23
- }
24
- }, T = (e, t) => {
25
- var n;
26
- t.height && (e === l.value && ((n = r.value) == null ? void 0 : n.height) === `${t.height}px` || (l.value = e, $("change", e), r.value = e ? { width: "100%", height: `${t.height}px` } : {}));
27
- }, u = () => {
28
- requestAnimationFrame(w);
29
- };
30
- let x;
31
- const E = () => {
32
- l.value = !1, clearTimeout(x), x = window.setTimeout(() => {
33
- w();
34
- }, 100);
35
- };
36
- q(() => {
37
- setTimeout(() => {
38
- C(() => {
39
- try {
40
- o.enableIntervalUpdate && (g.value = setInterval(u, o.enableIntervalTime));
41
- const e = (() => {
42
- if (o.autoDetectParentScroll && a.value) {
43
- const t = [];
44
- let n = a.value.parentElement;
45
- for (; n && n !== document.body; ) {
46
- const { overflowY: y } = window.getComputedStyle(n);
47
- /(auto|scroll)/.test(y) && t.push(n), n = n.parentElement;
48
- }
49
- return [...t, window];
50
- }
51
- if (typeof o.target == "string") {
52
- const t = document.querySelector(o.target);
53
- return [...t ? [t] : [], window];
54
- }
55
- return [window];
56
- })();
57
- p.value = e, m.value = e[0], p.value.forEach((t) => t.addEventListener("scroll", u)), window.addEventListener("resize", E), w();
58
- } catch (e) {
59
- console.error(e);
60
- }
61
- });
62
- }, 100);
63
- }), A(() => {
64
- m.value && p.value.forEach((e) => e.removeEventListener("scroll", u)), window.removeEventListener("resize", E), clearTimeout(x), g.value && clearInterval(g.value);
65
- }), O(() => {
66
- C(() => {
67
- u();
68
- });
69
- });
70
- const _ = P(() => {
71
- var e, t;
72
- return l.value && ((e = a.value) != null && e.offsetWidth) ? { position: "fixed", width: `${(t = a.value) == null ? void 0 : t.offsetWidth}px`, zIndex: o.zIndex, [o.position]: `${o.offset + h.value}px` } : { position: "relative" };
73
- });
74
- return (e, t) => {
75
- const n = W("resize");
76
- return R(), k("div", { ref_key: "affixMainRef", ref: v, class: "yx-affix", style: L({ height: l.value ? r.value.height : void 0 }) }, [Y((R(), k("div", { ref_key: "affixRef", ref: a, style: L(_.value), class: j([{ "is-fixed": l.value, "is-top": o.position === "top", "is-bottom": o.position === "bottom" }, "yx-affix-content"]) }, [G(e.$slots, "default", {}, void 0, !0)], 6)), [[n, D]])], 4);
77
- };
78
- } });
79
- export {
80
- K as default
81
- };
@@ -1,4 +0,0 @@
1
- import o from "./flex-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent as h, ref as m, onMounted as v, nextTick as S, resolveComponent as p, openBlock as u, createBlock as c, normalizeClass as _, unref as g, normalizeStyle as y, withCtx as x, createElementBlock as w, Fragment as k, renderList as j, withDirectives as B, createVNode as D, vShow as b } from "vue";
2
- import z from "../../object-render.vue.mjs";
3
- import { PageDimensions as E } from "../../../../utils/interfaces/page-design-types.mjs";
4
- import { handleAfterInitEvent as F } from "../../../../utils/events/event-util.mjs";
5
- const J = h({ __name: "flex-runtime", props: { pageContext: {}, configure: {} }, setup(l) {
6
- const e = l, f = m(null), o = e.configure.runtime ? e.configure.runtime : {}, d = o.style, C = o.class, i = m(o.props ? o.props : {});
7
- if (e.configure.items) {
8
- const r = e.pageContext && e.pageContext.dimensions ? e.pageContext.dimensions : E.PC;
9
- for (let s of e.configure.items) {
10
- const a = s.runtime && s.runtime.common ? s.runtime.common : {}, n = a.style ? a.style[r + "_style"] : void 0, t = {};
11
- n && (s.flexSpan = n.flexSpan ? n.flexSpan : -2, Object.assign(t, n), delete t.height, delete n.width), s.itemStyle = t, a.style && (a.style[r + "_class"] = "");
12
- }
13
- }
14
- return v(() => {
15
- S(() => {
16
- F(null, e.pageContext, e.configure, { componentRef: f.value, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
17
- });
18
- }), (r, s) => {
19
- const a = p("el-col"), n = p("el-row");
20
- return u(), c(n, { ref_key: "thisRef", ref: f, justify: i.value.flexJustify, gutter: i.value.flexGutter, align: i.value.alignItems, style: y([{ display: "flex" }, g(d)]), class: _(g(C)) }, { default: x(() => [(u(!0), w(k, null, j(l.configure.items, (t, I) => B((u(), c(a, { key: t.uuid, style: y(t.itemStyle), span: t.flexSpan }, { default: x(() => [D(z, { pageContext: l.pageContext, configure: t }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[b, t._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
21
- };
22
- } });
23
- export {
24
- J as default
25
- };
@@ -1,4 +0,0 @@
1
- import o from "./form-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,25 +0,0 @@
1
- import { defineComponent as b, ref as a, onMounted as h, nextTick as P, resolveComponent as S, openBlock as n, createElementBlock as l, createVNode as z, normalizeClass as q, unref as i, normalizeStyle as C, withCtx as w, toDisplayString as _, createCommentVNode as B, Fragment as F, renderList as N, createBlock as O } from "vue";
2
- import R from "../../object-render.vue.mjs";
3
- import { PageDimensions as d } from "../../../../utils/interfaces/page-design-types.mjs";
4
- import { handleFormEvent as T } from "../../../../utils/events/event-util.mjs";
5
- import { getClobalComponentSettingByType as A, globalComponentCacheKeyMap as D } from "agilebuilder-ui";
6
- const K = b({ __name: "form-runtime", props: { pageContext: {}, configure: {} }, setup(s) {
7
- const e = s, p = a("left"), m = A(D.FORM);
8
- if (m) {
9
- const r = JSON.parse(m);
10
- r.requireAsteriskPosition && (p.value = r.requireAsteriskPosition);
11
- }
12
- e.configure.items || (e.configure.items = []);
13
- const t = e.configure.runtime ? e.configure.runtime : {}, o = t.props ? t.props : {}, y = a(t.style ? t.style : {}), x = t.class, k = a(t.titleStyle ? t.titleStyle : {}), u = a(o.labelPosition), f = a(null), c = e.pageContext && e.pageContext.dimensions ? e.pageContext.dimensions : d.PC;
14
- return c && c === d.PHONE && (u.value = "top"), h(() => {
15
- P(() => {
16
- T(null, e.pageContext, e.configure, "afterFormLoad", { componentRef: f.value, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
17
- });
18
- }), (r, E) => {
19
- const v = S("el-form");
20
- return n(), l("div", null, [z(v, { ref_key: "thisRef", ref: f, "label-width": i(o).labelWidth, "label-position": u.value, size: i(o).componentSize, "require-asterisk-position": p.value, style: C(y.value), class: q(i(x)) }, { default: w(() => [i(o).formTitle ? (n(), l("div", { key: 0, class: "amb-widget-form-title", style: C(k.value) }, _(i(o).formTitle), 5)) : B("", !0), (n(!0), l(F, null, N(s.configure.items, (g, M) => (n(), O(R, { key: g.uuid, pageContext: s.pageContext, configure: g }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "require-asterisk-position", "style", "class"])]);
21
- };
22
- } });
23
- export {
24
- K as default
25
- };
@@ -1,4 +0,0 @@
1
- import o from "./iframe-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as P, ref as p, onMounted as v, nextTick as b, openBlock as k, createElementBlock as x, normalizeStyle as C, unref as u, normalizeClass as S } from "vue";
2
- import { handleAfterInitEvent as I } from "../../../../utils/events/event-util.mjs";
3
- import { getSystemFrontendUrl as A } from "agilebuilder-ui";
4
- const B = ["src"], E = P({ __name: "iframe-runtime", props: { pageContext: {}, configure: {}, indexObj: {}, selectWidget: {} }, setup(m, { expose: d }) {
5
- const a = m, s = p(null), t = a.configure.runtime ? a.configure.runtime : {}, y = t.style, w = t.class, l = p();
6
- t.linkType === "address" ? l.value = t.src : t.linkType === "page" && c(t.linkPage.code, t.linkPage.systemCode);
7
- function c(e, n) {
8
- f(e).then((o) => {
9
- if (n && typeof n == "object" && Object.keys(n).length > 0) {
10
- o.indexOf("?") === -1 && (o += "?");
11
- const i = e + "_" + Date.now();
12
- window.sessionStorage.setItem(i, JSON.stringify(n)), o += "&paramStoreId=" + i;
13
- }
14
- g(o);
15
- });
16
- }
17
- function f(e) {
18
- return new Promise((n, o) => {
19
- const i = window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/with-page-codes/" + e + "?isNewPage=true";
20
- window.$vueApp.config.globalProperties.$http.get(i).then((r) => {
21
- if (r) {
22
- let h = A(r.frontendUrl) + "/#/dsc-full-screen/page?isNewPage=true&customSystem=" + r.code + "&pageCode=" + e;
23
- n(h);
24
- } else o(new Error("System not found"));
25
- }).catch((r) => {
26
- console.error("Failed to load page for iframe:", r), o(r);
27
- });
28
- });
29
- }
30
- function g(e) {
31
- l.value = e;
32
- }
33
- return v(() => {
34
- b(() => {
35
- I(null, a.pageContext, a.configure, { componentRef: s.value, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
36
- });
37
- }), d({ changeIframeSrc: g, changeIframeSrcByPage: c, getPagePathByCode: f, refreshIframe: function() {
38
- s.value && s.value.contentWindow.location.reload();
39
- } }), (e, n) => (k(), x("iframe", { ref_key: "thisRef", ref: s, src: l.value, class: S(["amb-widget-container-iframe", u(w)]), style: C(u(y)) }, null, 14, B));
40
- } });
41
- export {
42
- E as default
43
- };
@@ -1,7 +0,0 @@
1
- import o from "./tabs-runtime2.vue.mjs";
2
- /* empty css */
3
- import t from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = t(o, [["__scopeId", "data-v-5141e37d"]]);
5
- export {
6
- p as default
7
- };
@@ -1,96 +0,0 @@
1
- import { defineComponent as F, ref as b, watch as L, onMounted as U, nextTick as j, resolveComponent as q, openBlock as r, createBlock as p, unref as c, normalizeClass as G, normalizeStyle as x, withCtx as f, createElementBlock as C, Fragment as T, renderList as E, createCommentVNode as d, createElementVNode as $, toDisplayString as k, withModifiers as H, createTextVNode as J } from "vue";
2
- import { ElTabs as K, ElTabPane as w } from "element-plus";
3
- import Q from "../../object-render.vue.mjs";
4
- import { SuperIcon as W } from "agilebuilder-ui";
5
- import { handleAfterInitEvent as X, handleEvent as u } from "../../../../utils/events/event-util.mjs";
6
- import { $t as N } from "../../../../utils/i18n-util.mjs";
7
- import { isPromise as V } from "../../../../utils/page-helper-util.mjs";
8
- const ie = F({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} }, setup(s, { expose: O }) {
9
- const n = s, l = b(""), i = b([]);
10
- n.configure.items.forEach((e) => {
11
- e.code || (e.code = e.index);
12
- }), l.value = n.configure.props.defaultOpen ? n.configure.props.defaultOpen : 1;
13
- const g = b(null), m = n.configure.runtime ? n.configure.runtime : {}, P = m.style, I = m.class, A = m.headerStyle;
14
- function B(e, o) {
15
- return u(e, n.pageContext, n.configure, "before-leave", { activeName: e, oldActiveName: o }) ?? !0;
16
- }
17
- function _(e, o) {
18
- const t = { pane: e, ev: o }, a = e.paneName;
19
- return n.pageContext.activeTab = a, n.pageContext.activeLabel = t.label, n.pageContext.workflowOpinion && n.pageContext.workflowOpinion.boxInstance && (a === n.configure.items[0].code ? n.pageContext.workflowOpinion.boxInstance.show() : n.pageContext.workflowOpinion.boxInstance.hide()), u(a, n.pageContext, n.configure, "tab-click", t);
20
- }
21
- function R(e) {
22
- const o = { paneName: e };
23
- return n.pageContext.activeTab = e, u(e, n.pageContext, n.configure, "tab-change", o);
24
- }
25
- function S(e) {
26
- const o = { paneName: e }, t = u(e, n.pageContext, n.configure, "tab-remove", o);
27
- V(t) ? t.then((a) => {
28
- a !== !1 && y(e);
29
- }) : t !== !1 && y(e);
30
- }
31
- function y(e) {
32
- l.value === e && n.configure.items.forEach((o, t) => {
33
- if (o.code === e) {
34
- const a = n.configure.items[t + 1] || n.configure.items[t - 1];
35
- a && a.code !== void 0 && (l.value = a.code);
36
- }
37
- }), i.value.includes(e) || i.value.push(e);
38
- }
39
- function z() {
40
- return u(null, n.pageContext, n.configure, "tab-add");
41
- }
42
- function D(e, o) {
43
- const t = { paneName: e, action: o };
44
- return u(e, n.pageContext, n.configure, "edit", t);
45
- }
46
- function h() {
47
- const e = u(n.configure.items, n.pageContext, n.configure, "tab-reset");
48
- V(e) ? e.then((o) => {
49
- i.value = [];
50
- }) : e !== !1 && (i.value = []);
51
- }
52
- return L(i, (e) => {
53
- e && e.length > 0 ? e.forEach((o) => {
54
- const t = document.getElementById("tab-" + o);
55
- t && (t.style.display = "none");
56
- }) : n.configure.items.forEach((o) => {
57
- const t = document.getElementById("tab-" + o.code);
58
- t && (t.style.display = "");
59
- });
60
- }, { deep: !0 }), U(() => {
61
- j(() => {
62
- let e = [];
63
- n.configure.items.forEach((o) => {
64
- o.code && e.push(document.getElementById("tab-" + o.code));
65
- }), X(null, n.pageContext, n.configure, { componentRef: g.value, tabsDom: e, entity: n.pageContext.entity.data, pageData: n.pageContext.entity.page });
66
- });
67
- }), O({ thisRef: g, activeName: l, hiddenPanes: i, resetTab: h, hiddenTabPanes: function(e) {
68
- if (Array.isArray(e)) {
69
- const o = [];
70
- e.forEach((t) => {
71
- i.value.includes(t) || o.push(t);
72
- }), o.length > 0 && i.value.push(...o);
73
- }
74
- }, showTabPanes: function(e) {
75
- Array.isArray(e) && e.forEach((o) => {
76
- const t = i.value.indexOf(o);
77
- t > -1 && i.value.splice(t, 1);
78
- });
79
- }, showTabPanesOnly: function(e) {
80
- const o = [];
81
- n.configure.items.forEach((t) => {
82
- e.includes(t.code) || o.push(t.code);
83
- }), i.value = [...new Set(o)];
84
- }, hiddenTabPanesOnly: function(e) {
85
- const o = [];
86
- n.configure.items.forEach((t) => {
87
- e.includes(t.code) && o.push(t.code);
88
- }), i.value = [...new Set(o)];
89
- } }), (e, o) => {
90
- const t = q("el-button");
91
- return r(), p(c(K), { ref_key: "thisRef", ref: g, modelValue: l.value, "onUpdate:modelValue": o[0] || (o[0] = (a) => l.value = a), type: s.configure.props.cardType, "tab-position": s.configure.props.tabPosition, style: x(c(P)), class: G([c(I), "runtime-page-container-tabs-view"]), closable: s.configure.props.closable, "before-leave": B, onTabClick: _, onTabChange: R, onTabRemove: S, onTabAdd: z, onEdit: D }, { default: f(() => [(r(!0), C(T, null, E(n.configure.items, (a, M) => (r(), p(c(w), { key: M, label: a.label, name: a.code, lazy: !!s.configure.props.lazy }, { label: f(() => [a.iconType && a.iconValue ? (r(), p(c(W), { key: 0, iconType: a.iconType, iconValue: a.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", !0), $("span", { style: x(c(A)) }, k(c(N)(a.label)), 5)]), default: f(() => [(s.configure.props.isFullyRendered ?? !0) || a.code === l.value ? (r(!0), C(T, { key: 0 }, E(a.items, (v) => (r(), p(Q, { key: v.uuid, pageContext: s.pageContext, configure: v }, null, 8, ["pageContext", "configure"]))), 128)) : d("", !0)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), s.configure.props.resetable ? (r(), p(c(w), { key: 0, disabled: "", name: "-1" }, { label: f(() => [s.configure.props.resetable ? (r(), p(t, { key: 0, type: "text", circle: "", onClick: H(h, ["stop"]) }, { default: f(() => [J(k(s.configure.props.resetButtonName || c(N)("superPageRuntimeMessage.reset")), 1)]), _: 1 })) : d("", !0)]), _: 1 })) : d("", !0)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
92
- };
93
- } });
94
- export {
95
- ie as default
96
- };
@@ -1,7 +0,0 @@
1
- import o from "./tools-runtime2.vue.mjs";
2
- /* empty css */
3
- import t from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = t(o, [["__scopeId", "data-v-a9801c3f"]]);
5
- export {
6
- p as default
7
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as D, ref as C, computed as s, onMounted as N, nextTick as O, onUnmounted as V, resolveComponent as $, openBlock as a, createElementBlock as f, createElementVNode as u, createBlock as c, withCtx as z, normalizeStyle as y, normalizeClass as b, unref as k, Fragment as w, renderList as R, createCommentVNode as j } from "vue";
2
- import _ from "../../object-render.vue.mjs";
3
- import { handleAfterInitEvent as q } from "../../../../utils/events/event-util.mjs";
4
- /* empty css */
5
- import I from "../fixed/FixedBox.vue.mjs";
6
- const L = { "data-v": "1.0.0", class: "amb-widget-tools-parent" }, M = { ref: "affixRef", "data-v": "1.0.0", class: "amb-widget-tools-parent" }, S = { key: 2, "data-v": "1.0.0", class: "amb-widget-tools-parent" }, J = D({ __name: "tools-runtime", props: { pageContext: {}, configure: {} }, setup(A) {
7
- const t = A, v = C(null), h = t.configure.runtime ?? {}, d = h.class, i = C(null), g = C(0);
8
- let r = null;
9
- const l = s(() => t.configure.props), m = s(() => {
10
- var e, n;
11
- return !!((n = (e = t.configure) == null ? void 0 : e.items) != null && n.length);
12
- }), x = s(() => {
13
- const { gap: e } = l.value ?? {};
14
- return { backgroundColor: "#fff", ...e ? { gap: `${e}px` } : {}, ...h.style ?? {} };
15
- }), E = s(() => {
16
- var e, n, p;
17
- return !![(e = l.value) == null ? void 0 : e.isAffix, (n = l.value) == null ? void 0 : n.isFixed].every((o) => o === void 0) || ((p = l.value) == null ? void 0 : p.isAffix);
18
- }), F = s(() => {
19
- var e;
20
- return (e = l.value) == null ? void 0 : e.isFixed;
21
- }), B = s(() => {
22
- var e, n;
23
- return ["top"].includes((e = l.value) == null ? void 0 : e.position) ? "top" : ["bottom"].includes((n = l.value) == null ? void 0 : n.position) ? "bottom" : void 0;
24
- });
25
- return N(() => {
26
- if (O(() => {
27
- q(null, t.pageContext, t.configure, { componentRef: v.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
28
- }), r = new ResizeObserver(() => {
29
- if (i.value) {
30
- const e = i.value.getBoundingClientRect();
31
- g.value = e.top;
32
- }
33
- }), i.value) {
34
- r.observe(i.value);
35
- const e = i.value.getBoundingClientRect();
36
- g.value = e.top;
37
- }
38
- }), V(() => {
39
- r && i.value && (r.unobserve(i.value), r.disconnect());
40
- }), (e, n) => {
41
- const p = $("el-affix");
42
- return a(), f("div", null, [u("div", { ref_key: "referenceDivRef", ref: i, style: { height: "0" } }, null, 512), F.value && m.value ? (a(), c(I, { key: 0, position: B.value, offset: g.value }, { default: z(() => [u("div", L, [u("div", { class: b(["amb-widget-container-tool amb-widget-tools", k(d)]), style: y(x.value), ref_key: "thisRef", ref: v }, [(a(!0), f(w, null, R(t.configure.items, (o) => (a(), c(_, { pageContext: t.pageContext, configure: o, key: o.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : E.value && m.value ? (a(), c(p, { key: 1, position: B.value, offset: g.value }, { default: z(() => [u("div", M, [u("div", { class: b(["amb-widget-container-tool amb-widget-tools", k(d)]), style: y(x.value), ref_key: "thisRef", ref: v }, [(a(!0), f(w, null, R(t.configure.items, (o) => (a(), c(_, { pageContext: t.pageContext, configure: o, key: o.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : m.value ? (a(), f("div", S, [u("div", { class: b(["amb-widget-container-tool amb-widget-tools", k(d)]), style: y(x.value), ref_key: "thisRef", ref: v }, [(a(!0), f(w, null, R(t.configure.items, (o) => (a(), c(_, { pageContext: t.pageContext, configure: o, key: o.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : j("", !0)]);
43
- };
44
- } });
45
- export {
46
- J as default
47
- };
@@ -1,4 +0,0 @@
1
- import o from "./barcode-runtime2.vue.mjs";
2
- export {
3
- o as default
4
- };
@@ -1,69 +0,0 @@
1
- import { defineComponent as O, computed as P, ref as i, onMounted as I, watch as R, resolveComponent as M, openBlock as f, createBlock as Q, normalizeStyle as k, unref as d, normalizeClass as z, withCtx as D, createElementBlock as g, toDisplayString as J, createCommentVNode as L } from "vue";
2
- import j from "qrcode";
3
- import T from "jsbarcode";
4
- import { getFormModelFields as U } from "../../../../utils/page-init-util.mjs";
5
- import { generateCodeByRule as W } from "../../../../utils/barcode-util.mjs";
6
- import { setVariableValue as V, getVariableValue as E } from "../../../../utils/page-helper-util.mjs";
7
- import { handleEvent as G } from "../../../../utils/events/event-util.mjs";
8
- import { http as H } from "agilebuilder-ui";
9
- import { $t as K } from "../../../../utils/i18n-util.mjs";
10
- const X = ["src"], ue = O({ __name: "barcode-runtime", props: { pageContext: {}, configure: {} }, setup(N, { expose: S }) {
11
- const t = N, l = t.pageContext.entity ? t.pageContext.entity : {};
12
- let c = U(t.pageContext, t.configure);
13
- const v = P({ get: () => E(l, c), set(e) {
14
- V(l, c, e);
15
- } }), u = t.configure.runtime ? t.configure.runtime : {}, a = i(u.props ? u.props : {}), A = u.style, _ = u.class, $ = u.headerStyle, y = i(""), h = i(null), q = i(a.value.brCodeFormat ?? "CODE128"), p = i([]);
16
- function b(e) {
17
- return V(l, c, e);
18
- }
19
- function C(e) {
20
- x(e), b(e), G(e, t.pageContext, t.configure, "change", { entity: l });
21
- }
22
- function x(e) {
23
- var r;
24
- a.value.type === "QR-code" ? (r = e, j.toDataURL(r, (o, n) => {
25
- o ? console.error(o) : y.value = n;
26
- })) : function(o) {
27
- try {
28
- T(h.value, o, { format: q.value });
29
- } catch (n) {
30
- console.error("生成条形码时发生错误:", n);
31
- }
32
- }(e);
33
- }
34
- return I(() => {
35
- a.value.generateRule && (a.value.generateRuleType === "fixed" ? (p.value = Array.from(a.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e) => e[1]), p.value.forEach((e) => {
36
- R(() => t.pageContext.entity.data[e], (r, o) => {
37
- r != null && function() {
38
- let n = !0;
39
- p.value.forEach((m) => {
40
- t.pageContext.entity.data[m] || (n = !1);
41
- }), n && C(function(m, s) {
42
- const B = /\$\{(\w+)\}/g;
43
- return m.replace(B, (F, w) => s.hasOwnProperty(w) ? s[w] : F);
44
- }(a.value.generateRule, t.pageContext.entity.data));
45
- }();
46
- });
47
- })) : H.get(window.$vueApp.config.globalProperties.baseAPI + "/component/setting-barcode-models/by-code/" + a.value.generateRule).then((e) => {
48
- const r = JSON.parse(e.barcodeModelItems);
49
- r.forEach((o) => {
50
- o.propDbName !== "-1" && o.propDbName !== -1 && (p.value.push(o.propDbName), R(() => t.pageContext.entity.data[o.propDbName], (n, m) => {
51
- if (n != null) {
52
- const s = W(r, t.pageContext.entity.data);
53
- s && C(s);
54
- }
55
- }));
56
- });
57
- }).catch((e) => {
58
- console.error("获取条码规则失败:", e);
59
- })), v.value && x(v.value);
60
- }), S({ getValue: function() {
61
- return E(l, c);
62
- }, setValue: b }), (e, r) => {
63
- const o = M("el-form-item");
64
- return f(), Q(o, { required: !!a.value.required, class: z(d(_)), "label-width": a.value.labelWidth, style: k(d(A)) }, { label: D(() => [a.value.tittleShow ? (f(), g("div", { key: 0, style: k({ ...d($) }) }, J(d(K)(a.value.title)), 5)) : L("", !0)]), default: D(() => [a.value.type === "QR-code" ? (f(), g("img", { key: 0, src: y.value }, null, 8, X)) : (f(), g("canvas", { key: 1, ref_key: "barcode", ref: h }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
65
- };
66
- } });
67
- export {
68
- ue as default
69
- };