super-page-runtime 1.0.17 → 1.3.13

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 (419) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
  3. package/dist/es/assets/chart-themes/theme1.js +4 -0
  4. package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
  5. package/dist/es/assets/chart-themes/theme2.js +4 -0
  6. package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
  7. package/dist/es/assets/chart-themes/theme3.js +4 -0
  8. package/dist/es/assets/file.png.js +4 -0
  9. package/dist/es/assets/folder.png.js +4 -0
  10. package/dist/es/components/runtime/index.d.ts +5 -0
  11. package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -0
  12. package/dist/es/components/runtime/utils/api/api-util.js +4 -0
  13. package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  14. package/dist/es/components/runtime/utils/api/page-expose-util.js +159 -0
  15. package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
  16. package/dist/es/components/runtime/utils/barcode-util.d.ts +8 -0
  17. package/dist/es/components/runtime/utils/barcode-util.js +12 -0
  18. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +140 -0
  19. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +37 -0
  20. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +81 -0
  21. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +55 -0
  22. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +46 -0
  23. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +113 -0
  24. package/dist/es/components/runtime/utils/charts/chart-util.js +274 -0
  25. package/dist/es/components/runtime/utils/common-util.d.ts +33 -0
  26. package/dist/es/components/runtime/utils/common-util.js +120 -0
  27. package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
  28. package/dist/es/components/runtime/utils/eventBus.js +5 -0
  29. package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +45 -1
  30. package/dist/es/components/runtime/utils/events/event-util.js +403 -0
  31. package/dist/es/components/runtime/utils/events/print-label.d.ts +5 -0
  32. package/dist/es/components/runtime/utils/events/print-label.js +100 -0
  33. package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +29 -3
  34. package/dist/es/components/runtime/utils/events/standard-event.js +971 -0
  35. package/dist/es/components/runtime/utils/events/validator-util.d.ts +25 -0
  36. package/dist/es/components/runtime/utils/events/validator-util.js +309 -0
  37. package/dist/es/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  38. package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
  39. package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
  40. package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +6 -0
  41. package/dist/es/components/runtime/utils/global-refs.js +57 -0
  42. package/dist/es/components/runtime/utils/i18n-util.d.ts +1 -0
  43. package/dist/es/components/runtime/utils/i18n-util.js +14 -0
  44. package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +32 -6
  45. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
  46. package/dist/es/components/runtime/utils/page-helper-util.d.ts +174 -0
  47. package/dist/es/components/runtime/utils/page-helper-util.js +386 -0
  48. package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +12 -2
  49. package/dist/es/components/runtime/utils/page-init-util.js +203 -0
  50. package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
  51. package/dist/es/components/runtime/utils/page-permission-util.js +30 -0
  52. package/dist/es/components/runtime/utils/page-store.d.ts +46 -0
  53. package/dist/es/components/runtime/utils/page-store.js +26 -0
  54. package/dist/es/components/runtime/utils/store-util.js +13 -0
  55. package/dist/es/components/runtime/utils/store.js +4 -0
  56. package/dist/es/components/runtime/utils/table-utils.d.ts +34 -0
  57. package/dist/es/components/runtime/utils/table-utils.js +80 -0
  58. package/dist/es/components/runtime/utils/tree-utils.js +73 -0
  59. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  60. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +27 -0
  61. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
  62. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +21 -0
  63. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  64. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -0
  65. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
  66. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +6 -0
  67. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  68. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +21 -0
  69. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
  70. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
  71. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
  72. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
  73. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
  74. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
  75. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
  76. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
  78. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +63 -0
  79. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
  80. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +35 -0
  81. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
  82. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +46 -0
  83. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
  84. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +35 -0
  85. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
  86. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +35 -0
  87. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  88. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +419 -0
  89. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
  90. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +4 -0
  91. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
  92. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +4 -0
  93. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +45 -0
  94. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +4 -0
  95. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +15 -0
  96. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +4 -0
  97. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
  98. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +255 -0
  99. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  100. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
  101. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
  102. package/{lib → dist/es}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +5 -5
  103. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +24 -0
  104. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
  105. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  106. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
  107. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +4 -0
  108. package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +5 -5
  109. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
  110. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
  111. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
  112. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +29 -0
  113. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  114. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +21 -0
  115. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
  116. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +18 -0
  117. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
  118. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +29 -0
  119. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  120. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
  121. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +81 -0
  122. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  123. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +25 -0
  124. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  125. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +20 -0
  126. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  127. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +14 -0
  128. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
  129. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +96 -0
  130. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
  131. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +35 -0
  132. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  133. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +69 -0
  134. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +378 -0
  135. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
  136. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +300 -0
  137. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
  138. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  139. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +82 -0
  140. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
  141. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +134 -0
  142. package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
  143. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
  144. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
  145. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  146. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +50 -0
  147. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
  148. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +4 -0
  149. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
  150. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +69 -0
  151. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  152. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +90 -0
  153. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  154. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +55 -0
  155. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  156. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +24 -0
  157. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  158. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
  159. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  160. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +28 -0
  161. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  162. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +82 -0
  163. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
  164. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +37 -0
  165. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  166. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +32 -0
  167. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
  168. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +16 -0
  169. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  170. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +73 -0
  171. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
  172. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +102 -0
  173. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
  174. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +97 -0
  175. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  176. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +16 -0
  177. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  178. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +36 -0
  179. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  180. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +44 -0
  181. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
  182. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +28 -0
  183. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  184. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
  185. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
  186. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  187. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +129 -0
  188. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
  189. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  190. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +20 -0
  191. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  192. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +23 -0
  193. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
  194. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +24 -0
  195. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
  196. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +18 -0
  197. package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
  198. package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
  199. package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
  200. package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +7 -3
  201. package/dist/es/components/runtime/views/super-page-dialog.vue.js +26 -0
  202. package/dist/es/components/runtime/views/super-page-dialog.vue3.js +5 -0
  203. package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +43 -10
  204. package/dist/es/components/runtime/views/super-page.vue.js +7 -0
  205. package/dist/es/components/runtime/views/super-page.vue2.js +262 -0
  206. package/dist/es/i18n/langs/cn.js +4 -0
  207. package/dist/es/i18n/langs/en.js +4 -0
  208. package/dist/es/index.d.ts +16 -0
  209. package/dist/es/index.js +30 -0
  210. package/dist/es/style.css +633 -0
  211. package/package.json +74 -71
  212. package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  213. package/lib/components/index.d.ts +0 -5
  214. package/lib/components/runtime/index.d.ts +0 -3
  215. package/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  216. package/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  217. package/lib/components/super-page-dialog/index.d.ts +0 -3
  218. package/lib/components/wf-editor/index.d.ts +0 -3
  219. package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  220. package/lib/index.js +0 -8
  221. package/lib/runtime/index.js +0 -3
  222. package/lib/runtime/utils/assemblys-config.js +0 -258
  223. package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  224. package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  225. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  226. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  227. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  228. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  229. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  230. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
  231. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  232. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
  233. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  234. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
  235. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  236. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
  237. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  238. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
  239. package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -141
  240. package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  241. package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  242. package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  243. package/lib/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  244. package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  245. package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  246. package/lib/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  247. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  248. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
  249. package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  250. package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
  251. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  252. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
  253. package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  254. package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
  255. package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  256. package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -29
  257. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  258. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
  259. package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  260. package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -74
  261. package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -640
  262. package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  263. package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -452
  264. package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  265. package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  266. package/lib/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -82
  267. package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
  268. package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
  269. package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  270. package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
  271. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  272. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  273. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  274. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
  275. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  276. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  277. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  278. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  279. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  280. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  281. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  282. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  283. package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  284. package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
  285. package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  286. package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  287. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  288. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  289. package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  290. package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
  291. package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  292. package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -174
  293. package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  294. package/lib/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
  295. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  296. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  297. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  298. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  299. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  300. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  301. package/lib/runtime/views/assemblys/object-render.vue.js +0 -142
  302. package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
  303. package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  304. package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
  305. package/lib/runtime/views/super-page.vue.js +0 -479
  306. package/lib/runtime/views/super-page.vue2.js +0 -3
  307. package/lib/src/assets/chart-themes/theme1.js +0 -7
  308. package/lib/src/assets/chart-themes/theme2.js +0 -7
  309. package/lib/src/assets/chart-themes/theme3.js +0 -7
  310. package/lib/src/utils/api/api-util.d.ts +0 -11
  311. package/lib/src/utils/api/api-util.js +0 -128
  312. package/lib/src/utils/charts/chart-util.js +0 -15
  313. package/lib/src/utils/common-util.d.ts +0 -11
  314. package/lib/src/utils/common-util.js +0 -81
  315. package/lib/src/utils/events/event-util.js +0 -525
  316. package/lib/src/utils/events/standard-event.js +0 -1623
  317. package/lib/src/utils/events/validator-util.d.ts +0 -4
  318. package/lib/src/utils/events/validator-util.js +0 -389
  319. package/lib/src/utils/global-refs.js +0 -65
  320. package/lib/src/utils/interfaces/page-design-types.js +0 -9
  321. package/lib/src/utils/page-helper-util.d.ts +0 -87
  322. package/lib/src/utils/page-helper-util.js +0 -503
  323. package/lib/src/utils/page-init-util.js +0 -200
  324. package/lib/src/utils/store-util.js +0 -17
  325. package/lib/src/utils/store.js +0 -3
  326. package/lib/src/utils/table-utils.js +0 -23
  327. package/lib/super-page-dialog/index.js +0 -3
  328. package/lib/super-page-dialog/super-page-dialog.vue.js +0 -73
  329. package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
  330. package/lib/wf-editor/index.js +0 -3
  331. package/lib/wf-editor/wf-editor.css +0 -4
  332. package/lib/wf-editor/wf-editor.vue.js +0 -15
  333. package/src/assets/base.css +0 -86
  334. package/src/assets/chart-themes/theme1.ts +0 -6
  335. package/src/assets/chart-themes/theme2.ts +0 -6
  336. package/src/assets/chart-themes/theme3.ts +0 -6
  337. package/src/assets/images/button/button-group.png +0 -0
  338. package/src/assets/images/button/button.png +0 -0
  339. package/src/assets/images/chart/chart-column.png +0 -0
  340. package/src/assets/images/chart/chart-gauge.png +0 -0
  341. package/src/assets/images/chart/chart-pie.png +0 -0
  342. package/src/assets/images/chart/chart-radar.png +0 -0
  343. package/src/assets/images/chart/chart-scatter.png +0 -0
  344. package/src/assets/images/container/container-card.png +0 -0
  345. package/src/assets/images/container/container-collapse.png +0 -0
  346. package/src/assets/images/container/container-container.png +0 -0
  347. package/src/assets/images/container/container-flex.png +0 -0
  348. package/src/assets/images/container/container-form.png +0 -0
  349. package/src/assets/images/container/container-iframe.png +0 -0
  350. package/src/assets/images/container/container-normal.png +0 -0
  351. package/src/assets/images/container/container-tabs.png +0 -0
  352. package/src/assets/images/container/container-tools.png +0 -0
  353. package/src/assets/images/data/data-process.png +0 -0
  354. package/src/assets/images/data/data-step.png +0 -0
  355. package/src/assets/images/data/data-table-column.png +0 -0
  356. package/src/assets/images/data/data-table.png +0 -0
  357. package/src/assets/images/data/data-timeline.png +0 -0
  358. package/src/assets/images/data/data-tree.png +0 -0
  359. package/src/assets/images/form/form-cascader.png +0 -0
  360. package/src/assets/images/form/form-check.png +0 -0
  361. package/src/assets/images/form/form-color.png +0 -0
  362. package/src/assets/images/form/form-count.png +0 -0
  363. package/src/assets/images/form/form-custom.png +0 -0
  364. package/src/assets/images/form/form-date.png +0 -0
  365. package/src/assets/images/form/form-dept.png +0 -0
  366. package/src/assets/images/form/form-divider.png +0 -0
  367. package/src/assets/images/form/form-file.png +0 -0
  368. package/src/assets/images/form/form-image-upload.png +0 -0
  369. package/src/assets/images/form/form-img.png +0 -0
  370. package/src/assets/images/form/form-input.png +0 -0
  371. package/src/assets/images/form/form-label.png +0 -0
  372. package/src/assets/images/form/form-link.png +0 -0
  373. package/src/assets/images/form/form-radio.png +0 -0
  374. package/src/assets/images/form/form-scan.png +0 -0
  375. package/src/assets/images/form/form-score.png +0 -0
  376. package/src/assets/images/form/form-select.png +0 -0
  377. package/src/assets/images/form/form-slider.png +0 -0
  378. package/src/assets/images/form/form-space.png +0 -0
  379. package/src/assets/images/form/form-switch.png +0 -0
  380. package/src/assets/images/form/form-text.png +0 -0
  381. package/src/assets/images/form/form-textarea.png +0 -0
  382. package/src/assets/images/form/form-transfer.png +0 -0
  383. package/src/assets/images/form/form-zoom.png +0 -0
  384. package/src/assets/images/group-button.png +0 -0
  385. package/src/assets/images/group-chart.png +0 -0
  386. package/src/assets/images/group-container.png +0 -0
  387. package/src/assets/images/group-data.png +0 -0
  388. package/src/assets/images/group-form.png +0 -0
  389. package/src/assets/images/group-workflow.png +0 -0
  390. package/src/assets/images/workflow/workflow-button.png +0 -0
  391. package/src/assets/images/workflow/workflow-history-texts.png +0 -0
  392. package/src/assets/images/workflow/workflow-history.png +0 -0
  393. package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
  394. package/src/assets/images/workflow/workflow-texthistory .png +0 -0
  395. package/src/assets/logo.svg +0 -1
  396. package/src/assets/main.css +0 -1
  397. package/src/i18n/langs/cn.js +0 -52
  398. package/src/i18n/langs/en.js +0 -52
  399. package/src/stores/counter.ts +0 -12
  400. package/src/utils/api/api-util.ts +0 -176
  401. package/src/utils/charts/chart-util.ts +0 -41
  402. package/src/utils/common-util.ts +0 -96
  403. package/src/utils/container-style-util.ts +0 -237
  404. package/src/utils/eventBus.ts +0 -14
  405. package/src/utils/events/event-util.ts +0 -790
  406. package/src/utils/events/jump-page-util.ts +0 -0
  407. package/src/utils/events/standard-event.ts +0 -2075
  408. package/src/utils/events/validator-util.ts +0 -474
  409. package/src/utils/global-refs.ts +0 -160
  410. package/src/utils/interfaces/page-design-types.ts +0 -259
  411. package/src/utils/page-helper-util.ts +0 -850
  412. package/src/utils/page-init-util.ts +0 -291
  413. package/src/utils/page-permission-util.ts +0 -521
  414. package/src/utils/store-util.ts +0 -41
  415. package/src/utils/store.ts +0 -3
  416. package/src/utils/table-utils.ts +0 -31
  417. /package/{lib/src → dist/es/components/runtime}/utils/store-util.d.ts +0 -0
  418. /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
  419. /package/{lib → dist/es}/favicon.ico +0 -0
@@ -0,0 +1,32 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as i, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as f, createVNode as c, createTextVNode as d, toDisplayString as m, createElementBlock as g, createCommentVNode as v } from "vue";
2
+ import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
+ import { getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/events/event-util.js";
5
+ import { $t as C } from "../../../../utils/i18n-util.js";
6
+ const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
+ const _2 = e2, h = y(_2.pageContext, _2.configure), R = _2.configure.runtime ? _2.configure.runtime : {}, j = R.style, w = R.class, I = R.headerStyle, S = t(R.props ? R.props : {});
8
+ S.value;
9
+ let $ = S.value.formatting;
10
+ const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
11
+ let e3 = b(D, h);
12
+ return e3 = null == e3 || null == e3 ? "" : e3, $ && (e3 = $.replace(/\${value}/g, e3)), e3;
13
+ });
14
+ let W = S.value.tooltip, q = null;
15
+ W && (q = l(() => {
16
+ let e3 = b(D, h);
17
+ return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
18
+ }));
19
+ const z = t(null), A = t(null), B = t(null);
20
+ return n(() => {
21
+ a(() => {
22
+ const e3 = V.value;
23
+ k(e3, _2.pageContext, _2.configure, { formItemRef: z.value, componentRef: A.value, titleRef: B.value, value: e3, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
24
+ });
25
+ }), (t2, l2) => {
26
+ const n2 = i("el-link"), a2 = i("el-tooltip"), y2 = i("el-form-item");
27
+ return o(), u(y2, { ref_key: "formItemRef", ref: z, class: s(p(w)), "label-width": S.value.labelWidth, style: r(p(j)) }, { label: f(() => [S.value.tittleShow ? (o(), g("div", { key: 0, ref_key: "titleRef", ref: B, style: r({ ...p(I) }) }, m(p(C)(S.value.title)), 5)) : v("", true)]), default: f(() => [c(a2, { disabled: !p(q), content: p(q) }, { default: f(() => [c(n2, { ref_key: "componentRef", ref: A, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: l2[0] || (l2[0] = (t3) => p(x)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: f(() => [d(m(V.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
28
+ };
29
+ } });
30
+ export {
31
+ _ as default
32
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./placeholder-runtime.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const o = r(e, [["__scopeId", "data-v-96fc65d8"]]);
5
+ export {
6
+ o as default
7
+ };
@@ -0,0 +1,16 @@
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as r, createBlock as l, openBlock as a, normalizeStyle as u, normalizeClass as f, unref as s, withCtx as i, createElementVNode as m } from "vue";
2
+ import { handleAfterInitEvent as p } from "../../../../utils/events/event-util.js";
3
+ const c = e({ __name: "placeholder-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
4
+ const c2 = e2, g = c2.configure.runtime ? c2.configure.runtime : {}, y = g.style, d = g.class, v = t(null), x = t(null);
5
+ return n(() => {
6
+ o(() => {
7
+ p(null, c2.pageContext, c2.configure, { formItemRef: v.value, componentRef: x.value, entity: c2.pageContext.entity.data, pageData: c2.pageContext.entity.page });
8
+ });
9
+ }), (e3, t2) => {
10
+ const n2 = r("el-form-item");
11
+ return a(), l(n2, { ref_key: "formItemRef", ref: v, class: f(s(d)), style: u(s(y)) }, { default: i(() => [m("div", { ref_key: "componentRef", ref: x, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
12
+ };
13
+ } });
14
+ export {
15
+ c as default
16
+ };
@@ -0,0 +1,4 @@
1
+ import r from "./radio-runtime.vue2.js";
2
+ export {
3
+ r as default
4
+ };
@@ -0,0 +1,73 @@
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as n, onMounted as a, nextTick as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as g, createVNode as d, createElementBlock as v, Fragment as m, renderList as h, createTextVNode as y, toDisplayString as C, createCommentVNode as b } from "vue";
2
+ import { setVariableValue as x, getVariableValue as k, getOptionDatasFromPage as _, autoSetAfterSelect as R, queryOptionDatasources as S } from "../../../../utils/page-helper-util.js";
3
+ import { getFormModelFields as j } from "../../../../utils/page-init-util.js";
4
+ import { handleFormEvent as T, handleAfterInitEvent as q } from "../../../../utils/events/event-util.js";
5
+ import { $t as I } from "../../../../utils/i18n-util.js";
6
+ import { addRequiredClassUtil as V } from "../../../../utils/common-util.js";
7
+ const w = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
8
+ const z = e2, O = t(null), D = z.pageContext.entity ? z.pageContext.entity : {};
9
+ let M = j(z.pageContext, z.configure);
10
+ const P = l({ get() {
11
+ let e3 = k(D, M);
12
+ return null != e3 && (e3 += ""), e3;
13
+ }, set(e3) {
14
+ x(D, M, e3), null != e3 && (O.value = "");
15
+ } }), W = z.configure.runtime ? z.configure.runtime : {}, E = W.style, F = W.class, U = W.headerStyle, $ = W.titleExceedStyle, A = t(W.props ? W.props : {}), B = t(A.value.options ? A.value.options : []), G = _(z.pageContext, z.configure);
16
+ G.length > 0 && (B.value = G);
17
+ const H = z.configure.props && z.configure.props.dataOrigin ? z.configure.props.dataOrigin : {}, J = H.optionValueSetType;
18
+ let K = [];
19
+ if (("dynamicData" == J || "dataTable" == J || "service" == J) && H.autoSets) for (let e3 of H.autoSets) e3.source && K.push(e3);
20
+ z.configure && z.configure.props && z.configure.props.base && z.configure.props.base.optionProp && K.push({ source: "label", target: z.configure.props.base.optionProp }), A.value.changeMethod = function(e3) {
21
+ if (K.length > 0) {
22
+ let t2 = null;
23
+ B.value && null != e3 && null != e3 && (t2 = B.value.filter((t3) => e3 === t3.value)), R(z.configure, z.pageContext, K, t2);
24
+ }
25
+ T(e3, z.pageContext, z.configure, "change");
26
+ };
27
+ const L = A.value.monitorFields, N = [];
28
+ if (L) {
29
+ const e3 = [];
30
+ for (let t2 of L) if (t2.startsWith("${")) {
31
+ t2 = t2.substring(2, t2.length - 1);
32
+ const l2 = t2.split(".");
33
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (N.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
34
+ }
35
+ for (let t2 of e3) o(D[t2], () => {
36
+ ee();
37
+ });
38
+ }
39
+ function Q() {
40
+ let e3 = "";
41
+ for (let t2 of N) e3 += "_" + k(D, t2);
42
+ return e3;
43
+ }
44
+ let X = Q(), Y = false;
45
+ const Z = A.value.optionconfigInfo ? A.value.optionconfigInfo : {};
46
+ function ee() {
47
+ Y && clearTimeout(Y), Y = setTimeout(function() {
48
+ const e3 = Q();
49
+ e3 != X && (X = e3, S(z.pageContext, Z, void 0).then((e4) => {
50
+ }));
51
+ }, 200);
52
+ }
53
+ n(() => {
54
+ Y && clearTimeout(Y);
55
+ });
56
+ const te = t(null), le = t(null), oe = t(null);
57
+ return a(() => {
58
+ u(() => {
59
+ const e3 = P.value;
60
+ q(e3, z.pageContext, z.configure, { formItemRef: te.value, componentRef: le.value, titleRef: oe.value, value: e3, entity: z.pageContext.entity.data, pageData: z.pageContext.entity.page });
61
+ });
62
+ }), w2({ updateOptions: function(e3) {
63
+ B.value = e3 || [];
64
+ }, addRequiredClass: function() {
65
+ O.value = V();
66
+ } }), (t2, l2) => {
67
+ const o2 = i("el-radio"), n2 = i("el-radio-group"), a2 = i("el-form-item");
68
+ return s(), r(a2, { ref_key: "formItemRef", ref: te, required: A.value.required, class: f(c(F) + (O.value ? " " + O.value : "")), "label-width": A.value.labelWidth, style: p(c(E)) }, { label: g(() => [A.value.tittleShow ? (s(), v("div", { key: 0, ref_key: "titleRef", ref: oe, style: p({ ...c(U), ...c($) }) }, C(c(I)(A.value.title)), 5)) : b("", true)]), default: g(() => [d(n2, { ref_key: "componentRef", ref: le, disabled: "disabled" === A.value.state, size: A.value.size, onChange: A.value.changeMethod, modelValue: P.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => P.value = e3) }, { default: g(() => [(s(true), v(m, null, h(B.value, (t3) => (s(), r(o2, { key: t3.value, label: t3.value, onClick: (l3) => c(T)(t3.value, e2.pageContext, e2.configure, "click", { values: P.value }) }, { default: g(() => [y(C(t3.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
69
+ };
70
+ } });
71
+ export {
72
+ w as default
73
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./richtext-runtime.vue2.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,102 @@
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as i, resolveComponent as r, createElementBlock as a, openBlock as u, Fragment as s, createBlock as c, createCommentVNode as p, normalizeStyle as d, normalizeClass as g, unref as m, withCtx as f, createElementVNode as v, toDisplayString as h } from "vue";
2
+ import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
+ import { formatVariableValue as y, setVariableValue as b, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
+ import w from "quill";
5
+ import "quill/dist/quill.snow.css";
6
+ import { handleAfterInitEvent as k, handleFormEvent as q } from "../../../../utils/events/event-util.js";
7
+ import T from "agilebuilder-ui/src/utils/request";
8
+ import { $t as E } from "../../../../utils/i18n-util.js";
9
+ import { getToken as L } from "agilebuilder-ui/src/utils/auth";
10
+ import { getBaseUrl as R, addRequiredClassUtil as j } from "../../../../utils/common-util.js";
11
+ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
12
+ const B = e2, H = t(null), M = B.pageContext.entity ? B.pageContext.entity : {}, N = x(B.pageContext, B.configure), A = B.configure.runtime ? B.configure.runtime : {}, D = A.style, F = A.class, U = A.headerStyle, W = A.titleExceedStyle, z = t(A.props ? A.props : {});
13
+ let I = z.value.value;
14
+ const O = y(B.pageContext, I), G = t(null);
15
+ let J = null;
16
+ t(null);
17
+ let K = z.value.state;
18
+ function P(e3) {
19
+ return "readonly" == e3 || "disabled" == e3;
20
+ }
21
+ const Q = P(K), V = t({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: Q ? "" : z.value.placeholder, readOnly: Q });
22
+ l(z.value, () => {
23
+ const e3 = z.value.state;
24
+ if (null != e3 && e3 !== K) {
25
+ K = e3;
26
+ const t2 = P(K);
27
+ J && (J.enable(!t2), J.root.dataset.placeholder = t2 ? "" : z.value.placeholder);
28
+ }
29
+ });
30
+ const X = t([]), Y = t(false), Z = t(null), $ = t(null), ee = t(null);
31
+ let te;
32
+ function le(e3) {
33
+ var _a;
34
+ null !== e3.relatedTarget && ((_a = G.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || q(J.root.innerHTML, B.pageContext, B.configure, "change", { entity: M });
35
+ }
36
+ function ne(e3) {
37
+ if ("img" === e3.target.localName) {
38
+ X.value = [];
39
+ let t2 = e3.target.src;
40
+ X.value.push(t2), Y.value = true;
41
+ }
42
+ }
43
+ function oe(e3) {
44
+ const t2 = new FormData();
45
+ t2.append("file", e3);
46
+ const l2 = B.pageContext.backendUrl, n2 = R(l2, B.pageContext.isTest);
47
+ return T.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
48
+ }
49
+ function ie(e3, t2) {
50
+ let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], o2 = atob(l2[1]), i2 = o2.length, r2 = new Uint8Array(i2);
51
+ for (; i2--; ) r2[i2] = o2.charCodeAt(i2);
52
+ return new File([r2], t2, { type: n2 });
53
+ }
54
+ return n(() => {
55
+ var _a;
56
+ J = new w(G.value, V.value);
57
+ const e3 = J.clipboard.convertHTML(O);
58
+ J.setContents(e3.ops), (_a = G.value) == null ? void 0 : _a.addEventListener("focusout", le), J.on("text-change", async function(e4, t2, l2) {
59
+ if (e4.ops && e4.ops.length > 0) for (let t3 = 0; t3 < e4.ops.length; t3++) {
60
+ const l3 = e4.ops[t3];
61
+ if (l3.insert && l3.insert.image) {
62
+ const e5 = l3.insert.image;
63
+ if (!e5.startsWith("data:image")) return;
64
+ const t4 = ie(e5, "image.png");
65
+ await oe(t4).then((t5) => {
66
+ if (!J) return;
67
+ const l4 = J.root.getElementsByTagName("img");
68
+ if (l4 && l4.length > 0) for (let n3 = 0; n3 < l4.length; n3++) {
69
+ const o2 = l4[n3];
70
+ o2.src === e5 && (o2.src = t5.url + "&jwt=" + L());
71
+ }
72
+ }).catch((e6) => {
73
+ console.error(e6, "上传图片失败");
74
+ });
75
+ }
76
+ }
77
+ const n2 = J.root.innerHTML;
78
+ b(M, N, n2), null != n2 && "" !== n2 && (H.value = "");
79
+ }), te = J.container, te.addEventListener("click", ne), function() {
80
+ if (J && J.container) {
81
+ const e4 = J.container.parentNode.getBoundingClientRect(), t2 = J.container.getBoundingClientRect();
82
+ let l2 = e4.height - (t2.top - e4.top);
83
+ l2 < 100 && (l2 = 100), J.container.style.height = l2 + "px";
84
+ }
85
+ }(), o(() => {
86
+ const e4 = C(M, N);
87
+ k(e4, B.pageContext, B.configure, { formItemRef: Z.value, componentRef: $.value, titleRef: ee.value, value: e4, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
88
+ });
89
+ }), i(() => {
90
+ G.value && G.value.removeEventListener("focusout", le), te && te.removeEventListener("click", ne);
91
+ }), _2({ addRequiredClass: function() {
92
+ H.value = j();
93
+ } }), (e3, t2) => {
94
+ const l2 = r("el-form-item"), n2 = r("el-image-viewer");
95
+ return u(), a(s, null, [z.value.tittleShow ? (u(), c(l2, { key: 0, required: z.value.required, class: g(m(F) + (H.value ? " " + H.value : "")), "label-width": z.value.labelWidth, style: d(m(D)) }, { label: f(() => [z.value.tittleShow ? (u(), a("div", { key: 0, style: d({ ...m(U), ...m(W) }) }, h(m(E)(z.value.title)), 5)) : p("", true)]), default: f(() => [v("div", S, [v("div", { ref_key: "quillEditorRef", ref: G, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Y.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
96
+ Y.value = false;
97
+ }), "url-list": X.value }, null, 8, ["url-list"])) : p("", true)], 64);
98
+ };
99
+ } });
100
+ export {
101
+ _ as default
102
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./select-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,97 @@
1
+ import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as u, nextTick as i, resolveComponent as r, createBlock as n, openBlock as s, normalizeStyle as p, normalizeClass as f, unref as c, withCtx as v, createVNode as g, createElementBlock as m, Fragment as d, renderList as h, createCommentVNode as y, createElementVNode as x, toDisplayString as b, createTextVNode as C } from "vue";
2
+ import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as w, autoSetAfterSelect as _, getVariableValue as T } from "../../../../utils/page-helper-util.js";
3
+ import { getFormModelFields as A } from "../../../../utils/page-init-util.js";
4
+ import { handleFormEvent as j, handleAfterInitEvent as R } from "../../../../utils/events/event-util.js";
5
+ import V from "../common/title-suffix-element.vue.js";
6
+ import { $t as q } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
8
+ const I = { style: { float: "left" } }, M = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, O = e({ __name: "select-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: O2 }) {
9
+ const P = e2, D = t(null), W = P.pageContext.entity ? P.pageContext.entity : {};
10
+ let E = A(P.pageContext, P.configure);
11
+ const F = P.configure.runtime ? P.configure.runtime : {}, U = F.style, $ = F.class, B = F.headerStyle, G = F.titleExceedStyle, H = t(F.props ? F.props : {});
12
+ let J = [];
13
+ function K() {
14
+ let e3 = T(W, E);
15
+ return null != e3 && (e3 = String(e3)), H.value.multiple && (e3 = e3 ? String(e3).split(",") : []), e3;
16
+ }
17
+ const L = l({ get: () => K(), set(e3) {
18
+ const t2 = K();
19
+ J = Array.isArray(t2) ? [...t2] : t2;
20
+ let l2 = e3;
21
+ if (H.value.multiple) {
22
+ l2 = !!H.value.arrayValue ? Array.isArray(e3) ? e3 : e3 ? String(e3).split(",") : [] : Array.isArray(e3) ? e3.length > 0 ? e3.join(",") : "" : e3 ?? "";
23
+ }
24
+ S(W, E, l2), null != l2 && (D.value = "");
25
+ } }), N = t(H.value.options ? H.value.options : []), Q = k(P.pageContext, P.configure);
26
+ Q.length > 0 && (N.value = Q);
27
+ const X = t(false), Y = P.configure.props && P.configure.props.dataOrigin ? P.configure.props.dataOrigin : {}, Z = Y.optionValueSetType;
28
+ let ee = [];
29
+ const te = H.value.optionconfigInfo ? H.value.optionconfigInfo : {};
30
+ if ("dynamicData" == Z || "dataTable" == Z || "service" == Z) {
31
+ if ("remote" == Y.filterType) {
32
+ let e3;
33
+ H.value.filterable = true, H.value.remote = true, H.value.remoteShowSuffix = true, H.value.remoteMethod = function(t2) {
34
+ e3 !== t2 && (e3 = t2, X.value = true, w(P.pageContext, te, t2).then((e4) => {
35
+ X.value = false;
36
+ }).then((e4) => {
37
+ X.value = false;
38
+ }));
39
+ };
40
+ }
41
+ if (Y.autoSets) for (let e3 of Y.autoSets) e3.source && ee.push(e3);
42
+ }
43
+ P.configure && P.configure.props && P.configure.props.base && P.configure.props.base.optionProp && ee.push({ source: "label", target: P.configure.props.base.optionProp }), H.value.changeMethod = function(e3) {
44
+ let t2, l2 = null;
45
+ N.value && null != e3 && null != e3 && (l2 = N.value.filter((t3) => Array.isArray(e3) ? e3.includes(t3.value) : e3 === t3.value));
46
+ ee.length > 0 && _(P.configure, P.pageContext, ee, l2, [H.value.prop]);
47
+ l2 && l2.length > 0 && (t2 = l2[0]);
48
+ let o2 = {};
49
+ t2 && (o2.extendParams = t2);
50
+ o2.options = N.value, o2.oldValue = J, j(e3, P.pageContext, P.configure, "change", o2);
51
+ };
52
+ const le = H.value.monitorFields, oe = [];
53
+ if (le) {
54
+ const e3 = [];
55
+ for (let t2 of le) if (t2.startsWith("${")) {
56
+ t2 = t2.substring(2, t2.length - 1);
57
+ const l2 = t2.split(".");
58
+ "page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (oe.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
59
+ }
60
+ for (let t2 of e3) o(W[t2], () => {
61
+ ie();
62
+ });
63
+ }
64
+ let ae = "", ue = false;
65
+ function ie() {
66
+ ue && clearTimeout(ue), ue = setTimeout(function() {
67
+ const e3 = function() {
68
+ let e4 = [];
69
+ for (let t2 of oe) e4.push(T(W, t2));
70
+ return e4.join(",");
71
+ }();
72
+ e3 != ae && (ae = e3, te.watchAttrValue = e3, w(P.pageContext, te, void 0).then((e4) => {
73
+ X.value = false;
74
+ }));
75
+ }, 200);
76
+ }
77
+ a(() => {
78
+ ue && clearTimeout(ue);
79
+ });
80
+ const re = t(null), ne = t(null), se = t(null);
81
+ return u(() => {
82
+ i(() => {
83
+ const e3 = L.value;
84
+ R(e3, P.pageContext, P.configure, { formItemRef: re.value, componentRef: ne.value, titleRef: se.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
85
+ });
86
+ }), O2({ updateOptions: function(e3) {
87
+ N.value = e3 || [];
88
+ }, addRequiredClass: function() {
89
+ D.value = z();
90
+ } }), (t2, l2) => {
91
+ const o2 = r("el-option"), a2 = r("el-select"), u2 = r("el-form-item");
92
+ return s(), n(u2, { ref_key: "formItemRef", ref: re, required: !!H.value.required, class: f(c($) + (D.value ? " " + D.value : "")), "label-width": H.value.labelWidth, style: p(c(U)) }, { label: v(() => [H.value.tittleShow ? (s(), m("div", { key: 0, ref_key: "titleRef", ref: se, style: p({ ...c(B), ...c(G) }) }, [H.value.prefixType ? (s(), n(V, { key: 0, pageContext: e2.pageContext, property: H.value }, null, 8, ["pageContext", "property"])) : (s(), m(d, { key: 1 }, [C(b(c(q)(H.value.title)), 1)], 64))], 4)) : y("", true)]), default: v(() => [g(a2, { ref_key: "componentRef", ref: ne, style: { width: "100%" }, disabled: "disabled" === H.value.state, size: H.value.size, clearable: H.value.clearable, multiple: H.value.multiple, "collapse-tags": H.value.collapseTags, "collapse-tags-tooltip": H.value.collapseTagsTooltip, filterable: H.value.filterable, "allow-create": H.value.allowCreate, placeholder: H.value.placeholder, "remote-show-suffix": H.value.remoteShowSuffix, remote: H.value.remote, "remote-method": H.value.remoteMethod, loading: X.value, onChange: H.value.changeMethod, modelValue: L.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => L.value = e3) }, { default: v(() => [(s(true), m(d, null, h(N.value, (t3) => (s(), n(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => c(j)(t3.value, e2.pageContext, e2.configure, "click", { values: L.value }) }, { default: v(() => [t3._description_ ? (s(), m(d, { key: 0 }, [x("span", I, b(t3.label), 1), x("span", M, b(t3._description_), 1)], 64)) : y("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
93
+ };
94
+ } });
95
+ export {
96
+ O as default
97
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./separatelabel-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,16 @@
1
+ import { defineComponent as e, ref as t, onMounted as i, nextTick as o, createElementBlock as n, openBlock as r, normalizeClass as a, normalizeStyle as p, unref as l, createElementVNode as s, createBlock as u, createCommentVNode as c, createTextVNode as g, toDisplayString as f } from "vue";
2
+ import { SuperIcon as m } from "agilebuilder-ui";
3
+ import { $t as y } from "../../../../utils/i18n-util.js";
4
+ import { handleAfterInitEvent as b } from "../../../../utils/events/event-util.js";
5
+ const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: d2 }) {
6
+ const v = e2, x = t(null), C = v.configure.runtime ? v.configure.runtime : {}, T = C.style, V = C.class, h = C.headerStyle;
7
+ return i(() => {
8
+ o(() => {
9
+ const e3 = y(v.configure.props.base.title);
10
+ b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
11
+ });
12
+ }), d2({}), (t2, i2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e2.configure.props.base.title)), 1)], 4)], 6));
13
+ } });
14
+ export {
15
+ d as default
16
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./switch-runtime.vue2.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as r, unref as c, withCtx as s, createVNode as f, createElementBlock as p, createCommentVNode as m, toDisplayString as d } from "vue";
2
+ import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
+ import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.js";
5
+ import { $t as C } from "../../../../utils/i18n-util.js";
6
+ import { addRequiredClassUtil as b } from "../../../../utils/common-util.js";
7
+ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
8
+ const R = e2, _ = t(null), j = R.pageContext.entity ? R.pageContext.entity : {};
9
+ let k = g(R.pageContext, R.configure);
10
+ const q = R.configure.runtime ? R.configure.runtime : {}, S = q.style, z = q.class, I = q.headerStyle, T = q.titleExceedStyle, W = t(q.props ? q.props : {});
11
+ let D = V(j, k);
12
+ function E(e3) {
13
+ return void 0 !== W.value[e3] && null !== W.value[e3] && "" !== W.value[e3];
14
+ }
15
+ null == D || "number" != typeof D || D + "" != "1" && D + "" != "0" || (E("activeValue") || (W.value.activeValue = 1), E("inactiveValue") || (W.value.inactiveValue = 0)), null != D && "boolean" == typeof D && (E("activeValue") || (W.value.activeValue = true), E("inactiveValue") || (W.value.inactiveValue = false)), E("activeValue") || (W.value.activeValue = true), E("inactiveValue") || (W.value.inactiveValue = false);
16
+ const O = q.switchStyle, U = l({ get() {
17
+ let e3 = V(j, k);
18
+ return null != e3 && (true === W.value.activeValue ? (e3 + "" == "1" && (e3 = true), e3 + "" == "0" && (e3 = false)) : 1 === W.value.activeValue ? (e3 + "" == "true" && (e3 = 1), e3 + "" == "false" && (e3 = 0)) : e3 += ""), e3;
19
+ }, set(e3) {
20
+ null != e3 && (true === W.value.activeValue ? (e3 + "" == "1" && (e3 = true), e3 + "" == "0" && (e3 = false)) : 1 === W.value.activeValue ? (e3 + "" == "true" && (e3 = 1), e3 + "" == "false" && (e3 = 0)) : e3 += ""), y(j, k, e3), null != e3 && (_.value = "");
21
+ } }), A = t(null), B = t(null), F = t(null);
22
+ return a(() => {
23
+ u(() => {
24
+ const e3 = U.value;
25
+ x(e3, R.pageContext, R.configure, { formItemRef: A.value, componentRef: B.value, titleRef: F.value, value: e3, entity: R.pageContext.entity.data, pageData: R.pageContext.entity.page });
26
+ });
27
+ }), w2({ addRequiredClass: function() {
28
+ _.value = b();
29
+ } }), (t2, l2) => {
30
+ const a2 = i("el-switch"), u2 = i("el-form-item");
31
+ return v(), n(u2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : m("", true)]), default: s(() => [f(a2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => U.value = e3), onChange: l2[1] || (l2[1] = (t3) => c(h)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
32
+ };
33
+ } });
34
+ export {
35
+ w as default
36
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./tag-runtime.vue2.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,44 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o, createBlock as n, openBlock as r, normalizeStyle as u, normalizeClass as s, unref as p, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createTextVNode as v, toDisplayString as y, createCommentVNode as d } from "vue";
2
+ import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
+ import { getVariableValue as C, setVariableValue as b } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as h, handleFormEvent as k } from "../../../../utils/events/event-util.js";
5
+ import { $t as _ } from "../../../../utils/i18n-util.js";
6
+ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
+ const j2 = e2, A = x(j2.pageContext, j2.configure), R = j2.configure.runtime ? j2.configure.runtime : {}, q = R.style, w = R.class, z = R.headerStyle, S = R.titleExceedStyle, I = t(R.props ? R.props : {});
8
+ let $ = I.value.formatting;
9
+ const D = j2.pageContext.entity ? j2.pageContext.entity : {}, E = l(() => {
10
+ let e3 = C(D, A);
11
+ null == e3 && (e3 = []), Array.isArray(e3) || (e3 = (e3 + "").split(","));
12
+ const t2 = [];
13
+ let l2 = 1;
14
+ for (const a2 of e3) {
15
+ if (null == a2 || "" === a2) continue;
16
+ const e4 = { value: a2, label: a2 };
17
+ $ && (e4.label = $.replace(/\${value}/g, e4.value).replace(/\${no}/g, l2)), t2.push(e4), l2++;
18
+ }
19
+ return t2;
20
+ });
21
+ const O = t(null), W = t(null);
22
+ return a(() => {
23
+ i(() => {
24
+ const e3 = E.value;
25
+ h(e3, j2.pageContext, j2.configure, { formItemRef: O.value, titleRef: W.value, value: e3, entity: j2.pageContext.entity.data, pageData: j2.pageContext.entity.page });
26
+ });
27
+ }), (t2, l2) => {
28
+ const a2 = o("el-tag"), i2 = o("el-form-item");
29
+ return r(), n(i2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (t3) => (r(), n(a2, { key: t3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, t4) {
30
+ if (I.value.closable) {
31
+ let e5 = C(D, A);
32
+ null == e5 && (e5 = []);
33
+ const l3 = Array.isArray(e5);
34
+ l3 || (e5 = (e5 + "").split(","));
35
+ const a3 = e5.indexOf(t4.value);
36
+ a3 > -1 && e5.splice(a3, 1), l3 || (e5 = e5.join(",")), b(D, A, e5);
37
+ }
38
+ k(e4, j2.pageContext, j2.configure, "remove");
39
+ }(e3, t3), onClick: l2[0] || (l2[0] = (t4) => p(k)(t4, e2.pageContext, e2.configure, "click")) }, { default: c(() => [v(y(t3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
40
+ };
41
+ } });
42
+ export {
43
+ j as default
44
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./textarea-runtime.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as u, createElementBlock as n, openBlock as r, createVNode as i, normalizeStyle as s, normalizeClass as p, unref as m, withCtx as f, createCommentVNode as c, createBlock as g, Fragment as d, createTextVNode as v, toDisplayString as x } from "vue";
2
+ import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
+ import { setVariableValue as C, getVariableValue as h } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as w, handleFormEvent as b } from "../../../../utils/events/event-util.js";
5
+ import k from "../common/title-suffix-element.vue.js";
6
+ import { $t as R } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as j } from "../../../../utils/common-util.js";
8
+ const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
9
+ const q = e2, I = t(null), z = q.pageContext.entity ? q.pageContext.entity : {};
10
+ let S = y(q.pageContext, q.configure);
11
+ const V = l({ get: () => h(z, S), set(e3) {
12
+ C(z, S, e3), null != e3 && "" !== e3 && (I.value = "");
13
+ } }), B = q.configure.runtime ? q.configure.runtime : {}, D = t(B.props ? B.props : {}), E = B.style, F = B.class, L = B.headerStyle, N = B.titleExceedStyle, T = t(null), U = t(null), W = t(null);
14
+ return a(() => {
15
+ o(() => {
16
+ const e3 = V.value;
17
+ w(e3, q.pageContext, q.configure, { formItemRef: T.value, componentRef: U.value, titleRef: W.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
18
+ });
19
+ }), _2({ addRequiredClass: function() {
20
+ I.value = j();
21
+ } }), (t2, l2) => {
22
+ const a2 = u("el-input"), o2 = u("el-form-item");
23
+ return r(), n("div", null, [i(o2, { ref_key: "formItemRef", ref: T, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), n("div", { key: 0, ref_key: "titleRef", ref: W, style: s({ ...m(L), ...m(N) }) }, [D.value.prefixType ? (r(), g(k, { key: 0, pageContext: e2.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), n(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : c("", true)]), default: f(() => [i(a2, { ref_key: "componentRef", ref: U, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => V.value = e3), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxLength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: l2[1] || (l2[1] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
24
+ };
25
+ } });
26
+ export {
27
+ _ as default
28
+ };
@@ -0,0 +1,17 @@
1
+ import { PageContext, Component } from '../../utils/interfaces/page-design-types.js';
2
+
3
+ interface MyProps {
4
+ pageContext: PageContext;
5
+ configure: Component;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -0,0 +1,83 @@
1
+ import { defineComponent as e, ref as o, markRaw as t, onMounted as n, resolveDirective as i, withDirectives as r, createCommentVNode as s, unref as u, createBlock as l, openBlock as c, resolveDynamicComponent as g, normalizeClass as f, normalizeStyle as a, vShow as p, nextTick as m } from "vue";
2
+ import v from "./error-render.vue.js";
3
+ import { getRuntimeComponentByName as d } from "../../utils/assemblys-config.js";
4
+ import { PageDimensions as y } from "../../utils/interfaces/page-design-types.js";
5
+ import { addComponentRef as C, addComponentRefByCode as x } from "../../utils/global-refs.js";
6
+ import { getPermissionCodes as h, controlObjectRenderState as b } from "../../utils/page-init-util.js";
7
+ import { getFormPropName as j, getSizeConfig as w } from "../../utils/page-helper-util.js";
8
+ import { getPropClassName as _, isNumber as O } from "../../utils/common-util.js";
9
+ import { isShowComponent as $ } from "../../utils/events/event-util.js";
10
+ const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure: {} }, setup(e2) {
11
+ const H2 = e2;
12
+ null == H2.configure.style && (H2.configure.style = {});
13
+ const N = h(H2.configure, H2.pageContext);
14
+ H2.configure && H2.configure.props && H2.configure.props.base && (H2.configure.props.base.functionCode = N);
15
+ let k = o(true), B = o(true);
16
+ const P = o({});
17
+ P.value = t(d(H2.configure.name));
18
+ const R = o(true);
19
+ null == P.value && (P.value = v, R.value = false);
20
+ const S = o(null), W = o({}), q = o(""), z = _(H2.configure);
21
+ z && (q.value = z);
22
+ const A = H2.configure.runtime && H2.configure.runtime.common ? H2.configure.runtime.common : {};
23
+ if (A.class && (q.value += " " + A.class), A.style) {
24
+ Object.assign(W.value, A.style);
25
+ const e3 = H2.pageContext && H2.pageContext.dimensions ? H2.pageContext.dimensions : y.PC, o2 = A.style[e3 + "_style"];
26
+ o2 && Object.assign(W.value, o2);
27
+ const t2 = A.style[e3 + "_class"];
28
+ t2 && (q.value += " " + t2);
29
+ }
30
+ function D(e3) {
31
+ if (S.value = e3, e3 && !e3.show && (e3.show = function() {
32
+ k.value = true;
33
+ }), e3 && !e3.hide && (e3.hide = function() {
34
+ k.value = false;
35
+ }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
36
+ return H2.configure;
37
+ }), H2.configure.uuid && C(H2.pageContext, H2.configure.uuid, S), H2.configure.code) x(H2.pageContext, H2.configure.code, S);
38
+ else if (H2.configure.props && H2.configure.props.base) {
39
+ const e4 = H2.configure.props.base;
40
+ if (e4.prop) {
41
+ let o3 = e4.prop;
42
+ o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(H2.pageContext, o3, S);
43
+ }
44
+ }
45
+ const o2 = H2.configure.props ? H2.configure.props.base : null;
46
+ if (o2 && o2.prop) {
47
+ let e4 = o2.prop;
48
+ e4 = j(e4), b(H2.pageContext, e4);
49
+ }
50
+ !function() {
51
+ if (!S.value) return;
52
+ const e4 = w(H2.pageContext, H2.configure);
53
+ "table" !== H2.configure.name && e4 && e4.isCalcHeight && m(() => {
54
+ let e5 = S.value.$el;
55
+ e5 || (e5 = S.value);
56
+ const o3 = e5.parentNode;
57
+ if (!e5 || !o3) return;
58
+ const t2 = e5.getBoundingClientRect();
59
+ let n2 = window.innerHeight - t2.y - 80, i2 = n2 + "";
60
+ O(n2) && (i2 = n2 + "px"), W.value.height = i2, W.value["overflow-y"] = "auto", W.value["overflow-x"] = "hidden", H2.configure.sytle || (H2.configure.sytle = {}), H2.configure.sytle._heightStyle = i2;
61
+ });
62
+ }();
63
+ }
64
+ n(() => {
65
+ E();
66
+ });
67
+ const E = () => {
68
+ if (!S.value) return;
69
+ let e3 = S.value.$el;
70
+ e3 || (e3 = S.value);
71
+ const o2 = e3.parentNode;
72
+ if (!e3 || !o2) return;
73
+ const t2 = H2.configure.props ? H2.configure.props : {}, n2 = H2.configure.style ? H2.configure.style : {}, i2 = t2.position;
74
+ "top" == i2 || "bottom" == i2 || n2.position;
75
+ };
76
+ return (o2, t2) => {
77
+ const n2 = i("permission");
78
+ return u($)(e2.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [n2, { codes: u(N) ? u(N) : "true", systemCode: e2.pageContext.systemCode }]]) : s("", true);
79
+ };
80
+ } });
81
+ export {
82
+ H as default
83
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./home-chart-render.vue.js";
2
+ export {
3
+ e as default
4
+ };