super-page-runtime 2.3.22-tmp2 → 2.3.22-tmp3

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 (385) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +4 -4
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
  4. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
  6. package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
  7. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
  8. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
  9. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
  10. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
  11. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
  12. package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
  13. package/dist/es/components/runtime/utils/common-util.mjs +91 -94
  14. package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
  15. package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
  16. package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
  17. package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
  18. package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
  20. package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
  21. package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
  22. package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
  24. package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
  25. package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
  26. package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
  27. package/dist/es/components/runtime/utils/page-store.mjs +38 -38
  28. package/dist/es/components/runtime/utils/store-util.mjs +9 -9
  29. package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
  30. package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
  37. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
  38. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
  39. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
  40. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
  43. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
  44. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
  51. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
  53. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
  55. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
  57. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
  59. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
  60. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
  64. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
  66. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
  70. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
  71. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
  74. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
  75. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
  76. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
  77. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
  79. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
  80. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
  81. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
  82. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
  83. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
  84. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
  85. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
  86. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
  87. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
  89. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
  90. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
  91. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
  92. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
  93. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
  94. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
  95. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
  96. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
  97. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
  98. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
  99. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
  100. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
  101. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
  102. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
  103. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
  104. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
  105. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
  106. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
  107. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
  108. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
  109. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
  110. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
  111. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
  112. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
  113. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
  114. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
  115. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
  116. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
  117. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
  118. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
  119. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
  121. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
  122. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
  123. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
  125. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
  126. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
  127. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
  128. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
  129. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
  130. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
  132. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
  134. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
  136. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
  138. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
  139. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
  140. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
  142. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
  143. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
  144. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
  145. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
  146. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
  147. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
  148. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  149. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
  150. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
  151. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
  152. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
  153. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
  154. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
  155. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
  156. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
  157. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
  158. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
  159. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
  160. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
  161. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
  162. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
  163. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
  164. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  165. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
  166. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
  167. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
  168. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
  169. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
  170. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
  171. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
  172. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
  173. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
  174. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
  175. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
  176. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
  177. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
  178. package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
  179. package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
  180. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
  181. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
  182. package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
  183. package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
  184. package/dist/es/index.mjs +27 -27
  185. package/dist/es/style.css +1 -996
  186. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
  187. package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
  188. package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
  189. package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
  190. package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
  191. package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
  192. package/dist/lib/assets/file.png.cjs +1 -2
  193. package/dist/lib/assets/folder.png.cjs +1 -2
  194. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
  195. package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
  196. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
  197. package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
  198. package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
  199. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
  200. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
  201. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
  202. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
  203. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
  204. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
  205. package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
  206. package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
  207. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
  208. package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
  209. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
  210. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
  211. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
  212. package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
  213. package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
  214. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
  215. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
  216. package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
  217. package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
  218. package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
  219. package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
  220. package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
  221. package/dist/lib/components/runtime/utils/store.cjs +1 -3
  222. package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
  223. package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
  224. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
  225. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
  226. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
  227. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
  228. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
  229. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
  230. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
  231. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
  232. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
  233. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
  234. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
  235. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
  236. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
  237. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
  238. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
  239. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
  240. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
  241. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
  242. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
  243. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
  244. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
  245. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
  246. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
  247. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
  248. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
  249. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
  250. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
  251. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
  252. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
  253. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
  254. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
  255. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
  256. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
  257. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
  258. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
  259. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
  260. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
  261. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
  262. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
  263. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
  264. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
  265. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
  266. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
  267. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
  268. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
  269. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
  270. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
  271. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
  272. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
  273. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
  274. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
  275. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
  276. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
  277. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
  278. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
  279. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
  280. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
  281. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
  282. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
  283. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
  284. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
  285. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
  286. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
  287. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
  288. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
  289. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
  290. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
  291. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
  292. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
  293. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
  294. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
  295. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
  296. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
  297. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
  298. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
  299. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
  300. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
  301. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
  302. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
  303. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
  304. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
  305. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
  306. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
  307. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
  308. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
  309. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
  310. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
  311. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
  312. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
  313. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
  314. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
  315. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
  316. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
  317. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
  318. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
  319. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
  320. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
  321. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
  322. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
  323. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
  324. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
  325. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
  326. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
  327. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
  328. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
  329. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
  330. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
  331. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
  332. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
  333. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
  334. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
  335. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
  336. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
  337. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
  338. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
  339. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
  340. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
  341. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
  342. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
  343. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
  344. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
  345. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
  346. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
  347. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
  348. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
  349. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
  350. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
  351. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
  352. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
  353. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
  354. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
  355. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
  356. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
  357. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
  358. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
  359. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
  360. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
  361. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
  362. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
  363. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
  364. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
  365. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
  366. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
  367. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
  368. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
  369. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
  370. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
  371. package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
  372. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
  373. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
  374. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
  375. package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
  376. package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
  377. package/dist/lib/i18n/langs/cn.cjs +1 -2
  378. package/dist/lib/i18n/langs/en.cjs +1 -2
  379. package/dist/lib/index.cjs +1 -6
  380. package/dist/lib/style.css +1 -996
  381. package/dist/umd/index.full.min.js +3 -7429
  382. package/dist/umd/style.css +1 -996
  383. package/package.json +77 -76
  384. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
  385. package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
@@ -1,102 +1,102 @@
1
- import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as r, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as c, unref as p, withCtx as s, createElementBlock as d, createCommentVNode as v, Fragment as f, createTextVNode as g, toDisplayString as m } from "vue";
2
- import { getFormModelFields as h } from "../../../../utils/page-init-util.mjs";
3
- import { getDateShortCuts as y } from "../../../../utils/form/date-shortcuts.mjs";
4
- import { getModelFieldFromPageContext as C, getValueFromVariable as x, setVariableValue as b, getVariableValue as F, isDateDataType as k } from "../../../../utils/page-helper-util.mjs";
5
- import { handleAfterInitEvent as T, getCustomFunc as V, handleFormEvent as P } from "../../../../utils/events/event-util.mjs";
6
- import j from "../common/title-suffix-element.vue.mjs";
7
- import z from "dayjs";
8
- import { $t as R } from "../../../../utils/i18n-util.mjs";
9
- import { addRequiredClassUtil as Y } from "../../../../utils/common-util.mjs";
10
- import { DatePickerRange as _ } from "agilebuilder-ui";
11
- const D = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: D2 }) {
12
- var _a;
13
- const S = e2, w = a(null), q = S.pageContext.entity ? S.pageContext.entity : {}, A = S.configure.runtime ? S.configure.runtime : {}, M = A.style, $ = A.class, B = A.headerStyle, I = A.titleExceedStyle, U = a(A.props ? A.props : {});
14
- let N = h(S.pageContext, S.configure, U.value.prop);
15
- if (S.pageContext.modelFieldsMap && N && N.length > 0 && "data" === N[0]) {
16
- const e3 = C(N, S.pageContext);
17
- e3 && function(e4) {
18
- const a2 = e4.dataType;
19
- k(a2) && ("year" === U.value.dateType && "YYYY" === U.value.valueFormat || "month" === U.value.dateType && "YYYY-MM" === U.value.valueFormat) && (U.value.valueFormat = "x");
20
- }(e3);
1
+ import { defineComponent as I, ref as h, onMounted as N, nextTick as U, computed as W, resolveComponent as T, createBlock as b, openBlock as g, normalizeStyle as S, normalizeClass as j, unref as o, withCtx as Y, createElementBlock as M, createCommentVNode as O, Fragment as G, createTextVNode as H, toDisplayString as J } from "vue";
2
+ import { getFormModelFields as K } from "../../../../utils/page-init-util.mjs";
3
+ import { getDateShortCuts as L } from "../../../../utils/form/date-shortcuts.mjs";
4
+ import { getValueFromVariable as P, setVariableValue as c, isDateDataType as Q, getModelFieldFromPageContext as X, getVariableValue as F } from "../../../../utils/page-helper-util.mjs";
5
+ import { handleAfterInitEvent as Z, getCustomFunc as ee, handleFormEvent as n } from "../../../../utils/events/event-util.mjs";
6
+ import ae from "../common/title-suffix-element.vue.mjs";
7
+ import _ from "dayjs";
8
+ import { $t as le } from "../../../../utils/i18n-util.mjs";
9
+ import { addRequiredClassUtil as te } from "../../../../utils/common-util.mjs";
10
+ import { DatePickerRange as oe } from "agilebuilder-ui";
11
+ const fe = I({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(w, { expose: B }) {
12
+ var R;
13
+ const s = w, y = h(null), r = s.pageContext.entity ? s.pageContext.entity : {}, f = s.configure.runtime ? s.configure.runtime : {}, q = f.style, A = f.class, $ = f.headerStyle, E = f.titleExceedStyle, a = h(f.props ? f.props : {});
14
+ let i = K(s.pageContext, s.configure, a.value.prop);
15
+ if (s.pageContext.modelFieldsMap && i && i.length > 0 && i[0] === "data") {
16
+ const e = X(i, s.pageContext);
17
+ e && function(l) {
18
+ const u = l.dataType;
19
+ Q(u) && (a.value.dateType === "year" && a.value.valueFormat === "YYYY" || a.value.dateType === "month" && a.value.valueFormat === "YYYY-MM") && (a.value.valueFormat = "x");
20
+ }(e);
21
21
  }
22
- let W = null, E = false;
23
- if (U.value.dateType && U.value.dateType.includes("range")) {
24
- E = true;
25
- let e3 = U.value.prop2;
26
- e3 && e3.startsWith("${") || (e3 = "${page." + S.configure.uuid + "-2}");
27
- const a2 = x(q, e3, null);
28
- if (e3 = e3.substring(2, e3.length - 1), W = e3.split("."), !(a2 || q.data && (q.data.id || q.data.ID)) && U.value.defaultValue2) {
29
- const e4 = x(q, U.value.defaultValue2);
30
- if (null != e4 && "" !== e4) b(q, W, e4);
31
- else if (((_a = U.value.moreDefaultValue2) == null ? void 0 : _a.length) > 0) {
32
- const e5 = U.value.moreDefaultValue2;
33
- for (let a3 = 0; a3 < e5.length; a3++) {
34
- const l2 = x(q, e5[a3]);
35
- if (null != l2 && "" !== l2) {
36
- b(q, W, l2);
22
+ let d = null, V = !1;
23
+ if (a.value.dateType && a.value.dateType.includes("range")) {
24
+ V = !0;
25
+ let e = a.value.prop2;
26
+ e && e.startsWith("${") || (e = "${page." + s.configure.uuid + "-2}");
27
+ const l = P(r, e, null);
28
+ if (e = e.substring(2, e.length - 1), d = e.split("."), !(l || r.data && (r.data.id || r.data.ID)) && a.value.defaultValue2) {
29
+ const u = P(r, a.value.defaultValue2);
30
+ if (u != null && u !== "") c(r, d, u);
31
+ else if (((R = a.value.moreDefaultValue2) == null ? void 0 : R.length) > 0) {
32
+ const v = a.value.moreDefaultValue2;
33
+ for (let x = 0; x < v.length; x++) {
34
+ const t = P(r, v[x]);
35
+ if (t != null && t !== "") {
36
+ c(r, d, t);
37
37
  break;
38
38
  }
39
39
  }
40
40
  }
41
41
  }
42
42
  }
43
- const O = a(null), G = a(null), H = a(null);
44
- function J(e3, a2) {
45
- if (!e3) return e3;
46
- if (a2) {
47
- "number" != typeof e3 || isNaN(e3) || 4 !== e3.toString().length || (e3 = e3.toString());
43
+ const z = h(null), k = h(null), D = h(null);
44
+ function C(e, l) {
45
+ if (!e) return e;
46
+ if (l) {
47
+ typeof e != "number" || isNaN(e) || e.toString().length !== 4 || (e = e.toString());
48
48
  try {
49
- const l2 = z(e3);
50
- let t2 = null;
51
- return t2 = "x" === a2 ? l2.toDate().getTime() : z(e3).format(a2), t2;
52
- } catch (a3) {
53
- return console.error("日期值格式化错误", a3), console.error(`value: ${e3} ,valueFormat: ${U.value.valueFormat}`), e3;
49
+ const u = _(e);
50
+ let v = null;
51
+ return v = l === "x" ? u.toDate().getTime() : _(e).format(l), v;
52
+ } catch (u) {
53
+ return console.error("日期值格式化错误", u), console.error(`value: ${e} ,valueFormat: ${a.value.valueFormat}`), e;
54
54
  }
55
55
  }
56
- return e3;
56
+ return e;
57
57
  }
58
- if (l(() => {
59
- t(() => {
60
- const e3 = K.value;
61
- T(e3, S.pageContext, S.configure, { formItemRef: O.value, componentRef: G.value, titleRef: H.value, value: e3, entity: S.pageContext.entity.data, pageData: S.pageContext.entity.page });
58
+ if (N(() => {
59
+ U(() => {
60
+ const e = p.value;
61
+ Z(e, s.pageContext, s.configure, { formItemRef: z.value, componentRef: k.value, titleRef: D.value, value: e, entity: s.pageContext.entity.data, pageData: s.pageContext.entity.page });
62
62
  });
63
- }), N) {
64
- const e3 = F(q, N), a2 = J(e3, U.value.valueFormat);
65
- e3 !== a2 && b(q, N, a2);
63
+ }), i) {
64
+ const e = F(r, i), l = C(e, a.value.valueFormat);
65
+ e !== l && c(r, i, l);
66
66
  }
67
- if (W) {
68
- const e3 = F(q, W), a2 = J(e3, U.value.valueFormat);
69
- e3 !== a2 && b(q, W, a2);
67
+ if (d) {
68
+ const e = F(r, d), l = C(e, a.value.valueFormat);
69
+ e !== l && c(r, d, l);
70
70
  }
71
- const K = o({ get() {
72
- if (E) {
73
- const e3 = [];
74
- let a2 = F(q, N);
75
- e3.push(J(a2, U.value.valueFormat));
76
- let l2 = F(q, W);
77
- return e3.push(J(l2, U.value.valueFormat)), e3;
71
+ const p = W({ get() {
72
+ if (V) {
73
+ const e = [];
74
+ let l = F(r, i);
75
+ e.push(C(l, a.value.valueFormat));
76
+ let u = F(r, d);
77
+ return e.push(C(u, a.value.valueFormat)), e;
78
78
  }
79
- return J(F(q, N), U.value.valueFormat);
80
- }, set(e3) {
81
- E ? Array.isArray(e3) ? (b(q, N, e3[0]), b(q, W, e3[1]), w.value = "") : null === e3 && (b(q, N, null), b(q, W, null)) : (b(q, N, e3), null != e3 && (w.value = ""));
82
- } }), L = a(y(U.value.dateScopeDetails, U.value.sourceType, U.value.dateType));
83
- if (U.value.shortcutsFunc) {
84
- const e3 = V(S.pageContext, U.value.shortcutsFunc);
85
- if (e3) {
86
- let a2 = e3.apply(e3, [{ pageContext: S.pageContext, configureObj: S.configure }]);
87
- if (a2) {
88
- Array.isArray(a2) || (a2 = [a2]), L.value || (L.value = []);
89
- for (let e4 of a2) e4.text && e4.value && L.value.push(e4);
79
+ return C(F(r, i), a.value.valueFormat);
80
+ }, set(e) {
81
+ V ? Array.isArray(e) ? (c(r, i, e[0]), c(r, d, e[1]), y.value = "") : e === null && (c(r, i, null), c(r, d, null)) : (c(r, i, e), e != null && (y.value = ""));
82
+ } }), m = h(L(a.value.dateScopeDetails, a.value.sourceType, a.value.dateType));
83
+ if (a.value.shortcutsFunc) {
84
+ const e = ee(s.pageContext, a.value.shortcutsFunc);
85
+ if (e) {
86
+ let l = e.apply(e, [{ pageContext: s.pageContext, configureObj: s.configure }]);
87
+ if (l) {
88
+ Array.isArray(l) || (l = [l]), m.value || (m.value = []);
89
+ for (let u of l) u.text && u.value && m.value.push(u);
90
90
  }
91
91
  }
92
92
  }
93
- return D2({ addRequiredClass: function() {
94
- w.value = Y();
95
- } }), (e3, a2) => {
96
- const l2 = r("el-time-picker"), t2 = r("el-date-picker"), o2 = r("el-form-item");
97
- return n(), u(o2, { ref_key: "formItemRef", ref: O, required: U.value.required, class: c(p($) + (w.value ? " " + w.value : "")), "label-width": U.value.labelWidth, style: i(p(M)) }, { label: s(() => [U.value.tittleShow ? (n(), d("div", { key: 0, ref_key: "titleRef", ref: H, style: i({ ...p(B), ...p(I) }) }, [U.value.prefixType ? (n(), u(j, { key: 0, pageContext: e3.pageContext, property: U.value }, null, 8, ["pageContext", "property"])) : (n(), d(f, { key: 1 }, [g(m(p(R)(U.value.title)), 1)], 64))], 4)) : v("", true)]), default: s(() => ["time" == U.value.dateType || "timerange" == U.value.dateType ? (n(), u(l2, { key: 0, ref_key: "componentRef", ref: G, "is-range": "timerange" == U.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: U.value.clearable, disabled: "disabled" === U.value.state, readonly: "readonly" === U.value.state, size: U.value.size, placeholder: U.value.placeholder, "start-placeholder": U.value.placeholder, "end-placeholder": U.value.endPlaceholder ? U.value.endPlaceholder : U.value.placeholder, "unlink-panels": true, format: U.value.format, "value-format": U.value.valueFormat, modelValue: K.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => K.value = e4), shortcuts: L.value, type: U.value.dateType, onChange: a2[1] || (a2[1] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[2] || (a2[2] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[3] || (a2[3] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[4] || (a2[4] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[5] || (a2[5] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[6] || (a2[6] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : "combined" !== U.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(U.value.dateType) ? (n(), u(p(_), { key: 1, modelValue: K.value, "onUpdate:modelValue": a2[7] || (a2[7] = (e4) => K.value = e4), type: U.value.dateType, disabled: "disabled" === U.value.state, readonly: "readonly" === U.value.state, clearable: U.value.clearable, format: U.value.format, "value-format": U.value.valueFormat, placeholder: U.value.placeholder, "start-placeholder": U.value.placeholder, "end-placeholder": U.value.endPlaceholder ? U.value.endPlaceholder : U.value.placeholder, size: U.value.size, shortcuts: L.value, onChange: a2[8] || (a2[8] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[9] || (a2[9] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[10] || (a2[10] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[11] || (a2[11] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[12] || (a2[12] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[13] || (a2[13] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : (n(), u(t2, { key: 2, ref_key: "componentRef", ref: G, clearable: U.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === U.value.state, readonly: "readonly" === U.value.state, size: U.value.size, placeholder: U.value.placeholder, "start-placeholder": U.value.placeholder, "end-placeholder": U.value.endPlaceholder ? U.value.endPlaceholder : U.value.placeholder, format: U.value.format, "value-format": U.value.valueFormat, modelValue: K.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e4) => K.value = e4), shortcuts: L.value, type: U.value.dateType, onChange: a2[15] || (a2[15] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[16] || (a2[16] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[17] || (a2[17] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[18] || (a2[18] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[19] || (a2[19] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[20] || (a2[20] = (a3) => p(P)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
93
+ return B({ addRequiredClass: function() {
94
+ y.value = te();
95
+ } }), (e, l) => {
96
+ const u = T("el-time-picker"), v = T("el-date-picker"), x = T("el-form-item");
97
+ return g(), b(x, { ref_key: "formItemRef", ref: z, required: a.value.required, class: j(o(A) + (y.value ? " " + y.value : "")), "label-width": a.value.labelWidth, style: S(o(q)) }, { label: Y(() => [a.value.tittleShow ? (g(), M("div", { key: 0, ref_key: "titleRef", ref: D, style: S({ ...o($), ...o(E) }) }, [a.value.prefixType ? (g(), b(ae, { key: 0, pageContext: e.pageContext, property: a.value }, null, 8, ["pageContext", "property"])) : (g(), M(G, { key: 1 }, [H(J(o(le)(a.value.title)), 1)], 64))], 4)) : O("", !0)]), default: Y(() => [a.value.dateType == "time" || a.value.dateType == "timerange" ? (g(), b(u, { key: 0, ref_key: "componentRef", ref: k, "is-range": a.value.dateType == "timerange", style: { width: "100%" }, "range-separator": "-", clearable: a.value.clearable, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", size: a.value.size, placeholder: a.value.placeholder, "start-placeholder": a.value.placeholder, "end-placeholder": a.value.endPlaceholder ? a.value.endPlaceholder : a.value.placeholder, "unlink-panels": !0, format: a.value.format, "value-format": a.value.valueFormat, modelValue: p.value, "onUpdate:modelValue": l[0] || (l[0] = (t) => p.value = t), shortcuts: m.value, type: a.value.dateType, onChange: l[1] || (l[1] = (t) => o(n)(t, e.pageContext, e.configure, "change")), onBlur: l[2] || (l[2] = (t) => o(n)(t, e.pageContext, e.configure, "blur")), onFocus: l[3] || (l[3] = (t) => o(n)(t, e.pageContext, e.configure, "focus")), onVisibleChange: l[4] || (l[4] = (t) => o(n)(t, e.pageContext, e.configure, "visible-change")), onPanelChange: l[5] || (l[5] = (t) => o(n)(t, e.pageContext, e.configure, "panel-change")), onClear: l[6] || (l[6] = (t) => o(n)(t, e.pageContext, e.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : a.value.dateRangePickerMode !== "combined" && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(a.value.dateType) ? (g(), b(o(oe), { key: 1, modelValue: p.value, "onUpdate:modelValue": l[7] || (l[7] = (t) => p.value = t), type: a.value.dateType, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", clearable: a.value.clearable, format: a.value.format, "value-format": a.value.valueFormat, placeholder: a.value.placeholder, "start-placeholder": a.value.placeholder, "end-placeholder": a.value.endPlaceholder ? a.value.endPlaceholder : a.value.placeholder, size: a.value.size, shortcuts: m.value, onChange: l[8] || (l[8] = (t) => o(n)(t, e.pageContext, e.configure, "change")), onBlur: l[9] || (l[9] = (t) => o(n)(t, e.pageContext, e.configure, "blur")), onFocus: l[10] || (l[10] = (t) => o(n)(t, e.pageContext, e.configure, "focus")), onVisibleChange: l[11] || (l[11] = (t) => o(n)(t, e.pageContext, e.configure, "visible-change")), onPanelChange: l[12] || (l[12] = (t) => o(n)(t, e.pageContext, e.configure, "panel-change")), onClear: l[13] || (l[13] = (t) => o(n)(t, e.pageContext, e.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : (g(), b(v, { key: 2, ref_key: "componentRef", ref: k, clearable: a.value.clearable, style: { width: "100%" }, "unlink-panels": !0, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", size: a.value.size, placeholder: a.value.placeholder, "start-placeholder": a.value.placeholder, "end-placeholder": a.value.endPlaceholder ? a.value.endPlaceholder : a.value.placeholder, format: a.value.format, "value-format": a.value.valueFormat, modelValue: p.value, "onUpdate:modelValue": l[14] || (l[14] = (t) => p.value = t), shortcuts: m.value, type: a.value.dateType, onChange: l[15] || (l[15] = (t) => o(n)(t, e.pageContext, e.configure, "change")), onBlur: l[16] || (l[16] = (t) => o(n)(t, e.pageContext, e.configure, "blur")), onFocus: l[17] || (l[17] = (t) => o(n)(t, e.pageContext, e.configure, "focus")), onVisibleChange: l[18] || (l[18] = (t) => o(n)(t, e.pageContext, e.configure, "visible-change")), onPanelChange: l[19] || (l[19] = (t) => o(n)(t, e.pageContext, e.configure, "panel-change")), onClear: l[20] || (l[20] = (t) => o(n)(t, e.pageContext, e.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
98
98
  };
99
99
  } });
100
100
  export {
101
- D as default
101
+ fe as default
102
102
  };
@@ -1,4 +1,4 @@
1
- import e from "./depttree-runtime.vue2.mjs";
1
+ import o from "./depttree-runtime.vue2.mjs";
2
2
  export {
3
- e as default
3
+ o as default
4
4
  };
@@ -1,55 +1,55 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as p, createBlock as a, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as m, createVNode as f, createElementBlock as c, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
2
- import { getFormModelFields as C } from "../../../../utils/page-init-util.mjs";
3
- import { handleAfterInitEvent as h, handleFormEvent as S } from "../../../../utils/events/event-util.mjs";
4
- import F from "../common/title-suffix-element.vue.mjs";
5
- import { $t as b } from "../../../../utils/i18n-util.mjs";
6
- import { setVariableValue as k, getVariableValue as R, getFormPropName as j, getValueFromVariable as _ } from "../../../../utils/page-helper-util.mjs";
7
- import { addRequiredClassUtil as I } from "../../../../utils/common-util.mjs";
8
- const T = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
9
- const q = e2, w = t(null), z = t([]), M = q.pageContext.entity ? q.pageContext.entity : {};
10
- M.data || (M.data = {});
11
- const O = M.data, $ = M.page;
12
- let D = C(q.pageContext, q.configure);
13
- const E = D.length > 0 ? D[D.length - 1] : q.configure.uuid, V = q.configure.runtime ? q.configure.runtime : {}, W = t(V.props ? V.props : {}), A = V.style, B = V.class, G = V.headerStyle, H = V.titleExceedStyle;
14
- V.props.deptScope && ("field" == V.props.deptScope && V.props.deptScopeField ? (Y(), function(e3, t2) {
15
- if (0 === e3.indexOf("${fixed.")) return;
16
- const l2 = e3.match(/\${(.*?)}/);
17
- if (!l2) return;
18
- const o2 = l2 ? l2[1].split(".") : [];
19
- o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3], q.pageContext.entity), (e4, l3) => {
20
- t2(e4, l3);
1
+ import { defineComponent as P, ref as s, onMounted as U, nextTick as W, computed as j, watch as G, resolveComponent as V, createBlock as R, openBlock as m, normalizeStyle as T, normalizeClass as H, unref as n, withCtx as w, createVNode as J, createElementBlock as z, createCommentVNode as K, Fragment as L, createTextVNode as Q, toDisplayString as X } from "vue";
2
+ import { getFormModelFields as Y } from "../../../../utils/page-init-util.mjs";
3
+ import { handleAfterInitEvent as Z, handleFormEvent as f } from "../../../../utils/events/event-util.mjs";
4
+ import ee from "../common/title-suffix-element.vue.mjs";
5
+ import { $t as te } from "../../../../utils/i18n-util.mjs";
6
+ import { setVariableValue as ae, getVariableValue as I, getFormPropName as le, getValueFromVariable as oe } from "../../../../utils/page-helper-util.mjs";
7
+ import { addRequiredClassUtil as ne } from "../../../../utils/common-util.mjs";
8
+ const me = P({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(_, { expose: q }) {
9
+ const e = _, c = s(null), g = s([]), r = e.pageContext.entity ? e.pageContext.entity : {};
10
+ r.data || (r.data = {});
11
+ const v = r.data, E = r.page;
12
+ let p = Y(e.pageContext, e.configure);
13
+ const h = p.length > 0 ? p[p.length - 1] : e.configure.uuid, a = e.configure.runtime ? e.configure.runtime : {}, l = s(a.props ? a.props : {}), M = a.style, N = a.class, B = a.headerStyle, $ = a.titleExceedStyle;
14
+ a.props.deptScope && (a.props.deptScope == "field" && a.props.deptScopeField ? (b(), function(t, i) {
15
+ if (t.indexOf("${fixed.") === 0) return;
16
+ const u = t.match(/\${(.*?)}/);
17
+ if (!u) return;
18
+ const d = u ? u[1].split(".") : [];
19
+ d && d.length > 0 && G(() => d.reduce((y, x) => y[x], e.pageContext.entity), (y, x) => {
20
+ i(y, x);
21
21
  });
22
- }(V.props.deptScopeField, (e3, t2) => {
23
- Y();
24
- })) : "depts" == V.props.deptScope && V.props.deptScopeCodes && (z.value = V.props.deptScopeCodes.split(",")));
25
- const J = t(null), K = t(null), L = t(null);
26
- l(() => {
27
- o(() => {
28
- const e3 = O ? O[E] : null;
29
- h(e3, q.pageContext, q.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
22
+ }(a.props.deptScopeField, (t, i) => {
23
+ b();
24
+ })) : a.props.deptScope == "depts" && a.props.deptScopeCodes && (g.value = a.props.deptScopeCodes.split(",")));
25
+ const S = s(null), F = s(null), k = s(null);
26
+ U(() => {
27
+ W(() => {
28
+ const t = v ? v[h] : null;
29
+ Z(t, e.pageContext, e.configure, { formItemRef: S.value, componentRef: F.value, titleRef: k.value, value: t, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
30
30
  });
31
31
  });
32
- const N = n({ get: () => R(M, D), set(e3) {
33
- k(M, D, e3), null != e3 && (w.value = "");
34
- } }), P = W.value.autoSetFields ? W.value.autoSetFields : [];
35
- let Q = null;
36
- function U(e3, t2) {
37
- Q ? Q === e3 && (D.length > 0 ? S(R(M, D), q.pageContext, q.configure, "change") : S(t2, q.pageContext, q.configure, "change")) : e3 === E && S(t2, q.pageContext, q.configure, "change");
32
+ const D = j({ get: () => I(r, p), set(t) {
33
+ ae(r, p, t), t != null && (c.value = "");
34
+ } }), o = l.value.autoSetFields ? l.value.autoSetFields : [];
35
+ let C = null;
36
+ function O(t, i) {
37
+ C ? C === t && (p.length > 0 ? f(I(r, p), e.pageContext, e.configure, "change") : f(i, e.pageContext, e.configure, "change")) : t === h && f(i, e.pageContext, e.configure, "change");
38
38
  }
39
- function X() {
40
- S(null, q.pageContext, q.configure, "click");
39
+ function A() {
40
+ f(null, e.pageContext, e.configure, "click");
41
41
  }
42
- function Y() {
43
- const e3 = _(q.pageContext.entity, V.props.deptScopeField);
44
- z.value = e3 ? e3.split(",") : [];
42
+ function b() {
43
+ const t = oe(e.pageContext.entity, a.props.deptScopeField);
44
+ g.value = t ? t.split(",") : [];
45
45
  }
46
- return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q = j(P[P.length - 1].model)), T2({ addRequiredClass: function() {
47
- w.value = I();
48
- } }), (e3, t2) => {
49
- const l2 = p("OrganizationInput"), o2 = p("el-form-item");
50
- return u(), a(o2, { ref_key: "formItemRef", ref: J, required: W.value.required, class: s(d(B) + (w.value ? " " + w.value : "")), "label-width": W.value.labelWidth, style: r(d(A)) }, { label: m(() => [W.value.tittleShow ? (u(), c("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...d(G), ...d(H) }) }, [W.value.prefixType ? (u(), a(F, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (u(), c(v, { key: 1 }, [y(x(d(b)(W.value.title)), 1)], 64))], 4)) : g("", true)]), default: m(() => [f(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" == W.value.state, multiple: W.value.multiple, treeType: W.value.treeType, value: N.value, models: d(O), departmentInfo: z.value, limitFilterColumn: W.value.limitFilterColumn, pageModels: d($), fields: d(P), size: W.value.size, separator: W.value.separator, onSetValue: U, onShowTree: X }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
46
+ return o.length - 1 > 0 && o[o.length - 1] && o[o.length - 1].model && (C = le(o[o.length - 1].model)), q({ addRequiredClass: function() {
47
+ c.value = ne();
48
+ } }), (t, i) => {
49
+ const u = V("OrganizationInput"), d = V("el-form-item");
50
+ return m(), R(d, { ref_key: "formItemRef", ref: S, required: l.value.required, class: H(n(N) + (c.value ? " " + c.value : "")), "label-width": l.value.labelWidth, style: T(n(M)) }, { label: w(() => [l.value.tittleShow ? (m(), z("div", { key: 0, ref_key: "titleRef", ref: k, style: T({ ...n(B), ...n($) }) }, [l.value.prefixType ? (m(), R(ee, { key: 0, pageContext: t.pageContext, property: l.value }, null, 8, ["pageContext", "property"])) : (m(), z(L, { key: 1 }, [Q(X(n(te)(l.value.title)), 1)], 64))], 4)) : K("", !0)]), default: w(() => [J(u, { ref_key: "componentRef", ref: F, disabled: l.value.state == "disabled", multiple: l.value.multiple, treeType: l.value.treeType, value: D.value, models: n(v), departmentInfo: g.value, limitFilterColumn: l.value.limitFilterColumn, pageModels: n(E), fields: n(o), size: l.value.size, separator: l.value.separator, onSetValue: O, onShowTree: A }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
51
51
  };
52
52
  } });
53
53
  export {
54
- T as default
54
+ me as default
55
55
  };
@@ -1,4 +1,4 @@
1
- import e from "./divider-runtime.vue2.mjs";
1
+ import o from "./divider-runtime.vue2.mjs";
2
2
  export {
3
- e as default
3
+ o as default
4
4
  };
@@ -1,24 +1,24 @@
1
- import { defineComponent as e, ref as t, computed as n, onMounted as o, nextTick as r, resolveComponent as i, createBlock as u, openBlock as l, unref as a, withCtx as p, createElementVNode as s, normalizeStyle as c, toDisplayString as d } from "vue";
2
- import { formatVariableValue as f } from "../../../../utils/page-helper-util.mjs";
3
- import { handleAfterInitEvent as v, handleFormEvent as g } from "../../../../utils/events/event-util.mjs";
4
- const m = e({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
5
- const m2 = e2, y = m2.configure.runtime ? m2.configure.runtime : {}, x = y.headerStyle, C = t(y.props ? y.props : {});
6
- let _ = C.value.value;
7
- const b = n(() => {
8
- if (!_) return "";
9
- const e3 = f(m2.pageContext, _);
10
- return null == e3 || null == e3 ? "" : e3;
11
- }), k = t(null);
12
- return o(() => {
13
- r(() => {
14
- const e3 = b.value;
15
- v(e3, m2.pageContext, m2.configure, { componentRef: k.value, value: e3, entity: m2.pageContext.entity.data, pageData: m2.pageContext.entity.page });
1
+ import { defineComponent as m, ref as s, computed as v, onMounted as g, nextTick as y, resolveComponent as C, createBlock as x, openBlock as k, unref as u, withCtx as b, createElementVNode as _, normalizeStyle as h, toDisplayString as E } from "vue";
2
+ import { formatVariableValue as S } from "../../../../utils/page-helper-util.mjs";
3
+ import { handleAfterInitEvent as V, handleFormEvent as B } from "../../../../utils/events/event-util.mjs";
4
+ const w = m({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(p) {
5
+ const t = p, o = t.configure.runtime ? t.configure.runtime : {}, c = o.headerStyle, n = s(o.props ? o.props : {});
6
+ let a = n.value.value;
7
+ const r = v(() => {
8
+ if (!a) return "";
9
+ const e = S(t.pageContext, a);
10
+ return e == null || e == null ? "" : e;
11
+ }), i = s(null);
12
+ return g(() => {
13
+ y(() => {
14
+ const e = r.value;
15
+ V(e, t.pageContext, t.configure, { componentRef: i.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
16
16
  });
17
- }), (e3, t2) => {
18
- const n2 = i("el-divider");
19
- return l(), u(n2, { ref_key: "componentRef", ref: k, direction: C.value.direction, "border-style": C.value.borderType, "content-position": C.value.titlePosition, onClick: t2[0] || (t2[0] = (t3) => a(g)(t3, e3.pageContext, e3.configure, "click")) }, { default: p(() => [s("div", { style: c(a(x)) }, d(b.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
17
+ }), (e, l) => {
18
+ const d = C("el-divider");
19
+ return k(), x(d, { ref_key: "componentRef", ref: i, direction: n.value.direction, "border-style": n.value.borderType, "content-position": n.value.titlePosition, onClick: l[0] || (l[0] = (f) => u(B)(f, e.pageContext, e.configure, "click")) }, { default: b(() => [_("div", { style: h(u(c)) }, E(r.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
20
20
  };
21
21
  } });
22
22
  export {
23
- m as default
23
+ w as default
24
24
  };
@@ -1,4 +1,4 @@
1
- import e from "./fileupload-runtime.vue2.mjs";
1
+ import o from "./fileupload-runtime.vue2.mjs";
2
2
  export {
3
- e as default
3
+ o as default
4
4
  };
@@ -1,73 +1,73 @@
1
- import { defineComponent as e, ref as l, watch as t, onMounted as a, nextTick as o, onUnmounted as i, resolveComponent as n, createBlock as s, createCommentVNode as r, openBlock as u, normalizeStyle as p, normalizeClass as d, unref as m, withCtx as v, createElementBlock as f, toDisplayString as c } from "vue";
2
- import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.mjs";
3
- import { handleAfterInitEvent as g, fileUploadBeforeUpload as C } from "../../../../utils/events/event-util.mjs";
4
- import { getRelativeBaseUrl as w, http as b, FsUploadNew as k } from "agilebuilder-ui";
5
- import x from "../../../../utils/eventBus.mjs";
6
- import { $t as P } from "../../../../utils/i18n-util.mjs";
7
- import { addRequiredClassUtil as _ } from "../../../../utils/common-util.mjs";
8
- const j = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
9
- var _a, _b, _c, _d, _e, _f, _g;
10
- const N = e2, S = l(null), R = N.configure.runtime ? N.configure.runtime : {}, T = l(R.props ? R.props : {}), z = R.style, D = R.class, I = R.headerStyle, O = R.titleExceedStyle, F = N.pageContext.entity ? N.pageContext.entity : {}, W = N.configure.props.base ? N.configure.props.base : {}, q = M(W.prop), U = M(W.propName);
11
- let $ = l({});
12
- $.value.isShowWatermark = void 0 === ((_b = (_a = N.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = N.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", $.value.content = ((_e = (_d = N.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = N.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", q && q.length > 1 && t(() => N.pageContext.entity[q[0]][q[1]], (e3) => {
13
- L(h(F, q));
1
+ import { defineComponent as ae, ref as s, watch as te, onMounted as oe, nextTick as ie, onUnmounted as ne, resolveComponent as se, createBlock as k, createCommentVNode as x, openBlock as g, normalizeStyle as A, normalizeClass as re, unref as r, withCtx as M, createElementBlock as ue, toDisplayString as pe } from "vue";
2
+ import { getVariableValue as C, setVariableValue as G } from "../../../../utils/page-helper-util.mjs";
3
+ import { handleAfterInitEvent as de, fileUploadBeforeUpload as me } from "../../../../utils/events/event-util.mjs";
4
+ import { getRelativeBaseUrl as ve, http as fe, FsUploadNew as H } from "agilebuilder-ui";
5
+ import J from "../../../../utils/eventBus.mjs";
6
+ import { $t as ce } from "../../../../utils/i18n-util.mjs";
7
+ import { addRequiredClassUtil as he } from "../../../../utils/common-util.mjs";
8
+ const Pe = ae({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(K, { expose: L }) {
9
+ var F, O, j, q, B, V, W;
10
+ const a = K, v = s(null), u = a.configure.runtime ? a.configure.runtime : {}, e = s(u.props ? u.props : {}), Q = u.style, X = u.class, Y = u.headerStyle, Z = u.titleExceedStyle, f = a.pageContext.entity ? a.pageContext.entity : {}, P = a.configure.props.base ? a.configure.props.base : {}, n = _(P.prop), N = _(P.propName);
11
+ let c = s({});
12
+ c.value.isShowWatermark = ((O = (F = a.configure.props) == null ? void 0 : F.watermark) == null ? void 0 : O.isShowWatermark) === void 0 ? "true" : ((j = a.configure.props) == null ? void 0 : j.watermark.isShowWatermark) + "", c.value.content = (B = (q = a.configure.props) == null ? void 0 : q.watermark) != null && B.content ? (W = (V = a.configure.props) == null ? void 0 : V.watermark) == null ? void 0 : W.content : "", n && n.length > 1 && te(() => a.pageContext.entity[n[0]][n[1]], (l) => {
13
+ S(C(f, n));
14
14
  });
15
- const B = N.pageContext.code, E = l(q ? B + "__" + q.join("__") : null), A = h(F, q), G = l(null), H = l(false), J = l([]), K = l({});
16
- function L(e3) {
17
- if (e3) {
18
- const l2 = e3.split(",");
19
- if (l2.length > 0) {
20
- const e4 = N.pageContext.backendUrl, t2 = w(e4 + "/common/fs-upload/search-file-names");
21
- b.post(t2, l2).then((e5) => {
22
- J.value = [];
23
- const t3 = [];
24
- for (let a2 = 0; a2 < l2.length; a2++) {
25
- const o2 = l2[a2];
26
- t3.push(e5[o2]), J.value.push({ showName: e5[o2], serverPath: o2 });
15
+ const ee = a.pageContext.code, p = s(n ? ee + "__" + n.join("__") : null), le = C(f, n), h = s(null), d = s(!1), o = s([]), m = s({});
16
+ function S(l) {
17
+ if (l) {
18
+ const t = l.split(",");
19
+ if (t.length > 0) {
20
+ const i = a.pageContext.backendUrl, y = ve(i + "/common/fs-upload/search-file-names");
21
+ fe.post(y, t).then(($) => {
22
+ o.value = [];
23
+ const E = [];
24
+ for (let w = 0; w < t.length; w++) {
25
+ const b = t[w];
26
+ E.push($[b]), o.value.push({ showName: $[b], serverPath: b });
27
27
  }
28
- "input" === T.value.displayType && (K.value.showName = t3.join(","), K.value.serverPath = l2.join(","));
28
+ e.value.displayType === "input" && (m.value.showName = E.join(","), m.value.serverPath = t.join(","));
29
29
  }).finally(() => {
30
- H.value = true;
30
+ d.value = !0;
31
31
  });
32
- } else H.value = true;
33
- } else J.value = [], K.value = {}, H.value = true;
32
+ } else d.value = !0;
33
+ } else o.value = [], m.value = {}, d.value = !0;
34
34
  }
35
- function M(e3) {
36
- return e3 ? (e3.startsWith("${") && (e3 = e3.substring(2, e3.length - 1)), e3.split(".")) : [];
35
+ function _(l) {
36
+ return l ? (l.startsWith("${") && (l = l.substring(2, l.length - 1)), l.split(".")) : [];
37
37
  }
38
- function Q(e3) {
39
- return C(e3);
38
+ function R(l) {
39
+ return me(l);
40
40
  }
41
- L(A);
42
- const V = (e3, l2, t2) => {
43
- Y();
44
- }, X = (e3) => {
45
- Y();
46
- }, Y = () => {
47
- const e3 = [], l2 = [];
48
- if (T.value.limit && J.value.length > T.value.limit) {
49
- const e4 = J.value.length - T.value.limit;
50
- for (let l3 = 0; l3 < e4; l3++) J.value.shift();
41
+ S(le);
42
+ const U = (l, t, i) => {
43
+ T();
44
+ }, z = (l) => {
45
+ T();
46
+ }, T = () => {
47
+ const l = [], t = [];
48
+ if (e.value.limit && o.value.length > e.value.limit) {
49
+ const i = o.value.length - e.value.limit;
50
+ for (let y = 0; y < i; y++) o.value.shift();
51
51
  }
52
- for (let t2 = 0; t2 < J.value.length; t2++) e3.push(J.value[t2].showName), l2.push(J.value[t2].serverPath);
53
- y(N.pageContext.entity, q, l2.join(",")), y(N.pageContext.entity, U, e3.join(",")), l2.length > 0 && (S.value = "");
54
- }, Z = l(null), ee = l(null);
55
- return a(() => {
56
- x.$on(E.value + "-pickFileDone", (e3) => {
57
- E.value, G.value.pickFileDone(e3);
58
- }), o(() => {
59
- const e3 = h(F, q), l2 = { showName: h(F, U), serverPath: e3 };
60
- g(l2, N.pageContext, N.configure, { formItemRef: Z.value, componentRef: G.value, titleRef: ee.value, value: l2, entity: N.pageContext.entity.data, pageData: N.pageContext.entity.page });
52
+ for (let i = 0; i < o.value.length; i++) l.push(o.value[i].showName), t.push(o.value[i].serverPath);
53
+ G(a.pageContext.entity, n, t.join(",")), G(a.pageContext.entity, N, l.join(",")), t.length > 0 && (v.value = "");
54
+ }, D = s(null), I = s(null);
55
+ return oe(() => {
56
+ J.$on(p.value + "-pickFileDone", (l) => {
57
+ p.value, h.value.pickFileDone(l);
58
+ }), ie(() => {
59
+ const l = C(f, n), t = { showName: C(f, N), serverPath: l };
60
+ de(t, a.pageContext, a.configure, { formItemRef: D.value, componentRef: h.value, titleRef: I.value, value: t, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
61
61
  });
62
- }), i(() => {
63
- x.$off(E.value + "-pickFileDone");
64
- }), j2({ addRequiredClass: function() {
65
- S.value = _();
66
- } }), (e3, l2) => {
67
- const t2 = n("el-form-item");
68
- return T.value.tittleShow ? (u(), s(t2, { key: 0, ref_key: "formItemRef", ref: Z, required: T.value.required, class: d(m(D) + (S.value ? " " + S.value : "")), "label-width": T.value.labelWidth, style: p(m(z)) }, { label: v(() => [T.value.tittleShow ? (u(), f("div", { key: 0, ref_key: "titleRef", ref: ee, style: p({ ...m(I), ...m(O) }) }, c(m(P)(T.value.title)), 5)) : r("", true)]), default: v(() => [H.value ? (u(), s(m(k), { key: 0, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === T.value.state, displayType: T.value.displayType, accept: T.value.accept, multiple: T.value.multiple, placeholder: T.value.placeholder, limit: T.value.limit, "limit-file-size": T.value.limitFileSize, "disabled-no-preview": T.value.disabledNoPreview, "disabled-no-download": T.value.disabledNoDownload, openCameraOrChoosePhoto: T.value.openCameraOrChoosePhoto, "file-info": K.value, "file-list": J.value, "system-code": e3.pageContext.systemCode, componentId: E.value, watermark: m($), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : H.value ? (u(), s(m(k), { key: 1, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === T.value.state, displayType: T.value.displayType, accept: T.value.accept, multiple: T.value.multiple, placeholder: T.value.placeholder, limit: T.value.limit, "limit-file-size": T.value.limitFileSize, "disabled-no-preview": T.value.disabledNoPreview, "disabled-no-download": T.value.disabledNoDownload, openCameraOrChoosePhoto: T.value.openCameraOrChoosePhoto, "file-info": K.value, "file-list": J.value, "system-code": e3.pageContext.systemCode, componentId: E.value, watermark: m($), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true);
62
+ }), ne(() => {
63
+ J.$off(p.value + "-pickFileDone");
64
+ }), L({ addRequiredClass: function() {
65
+ v.value = he();
66
+ } }), (l, t) => {
67
+ const i = se("el-form-item");
68
+ return e.value.tittleShow ? (g(), k(i, { key: 0, ref_key: "formItemRef", ref: D, required: e.value.required, class: re(r(X) + (v.value ? " " + v.value : "")), "label-width": e.value.labelWidth, style: A(r(Q)) }, { label: M(() => [e.value.tittleShow ? (g(), ue("div", { key: 0, ref_key: "titleRef", ref: I, style: A({ ...r(Y), ...r(Z) }) }, pe(r(ce)(e.value.title)), 5)) : x("", !0)]), default: M(() => [d.value ? (g(), k(r(H), { key: 0, ref_key: "fileUploadRef", ref: h, style: { width: "100%" }, disabled: e.value.state === "disabled", displayType: e.value.displayType, accept: e.value.accept, multiple: e.value.multiple, placeholder: e.value.placeholder, limit: e.value.limit, "limit-file-size": e.value.limitFileSize, "disabled-no-preview": e.value.disabledNoPreview, "disabled-no-download": e.value.disabledNoDownload, openCameraOrChoosePhoto: e.value.openCameraOrChoosePhoto, "file-info": m.value, "file-list": o.value, "system-code": l.pageContext.systemCode, componentId: p.value, watermark: r(c), "on-success": U, "on-remove": z, "before-upload": R, pageContext: l.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : x("", !0)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : d.value ? (g(), k(r(H), { key: 1, ref_key: "fileUploadRef", ref: h, style: { width: "100%" }, disabled: e.value.state === "disabled", displayType: e.value.displayType, accept: e.value.accept, multiple: e.value.multiple, placeholder: e.value.placeholder, limit: e.value.limit, "limit-file-size": e.value.limitFileSize, "disabled-no-preview": e.value.disabledNoPreview, "disabled-no-download": e.value.disabledNoDownload, openCameraOrChoosePhoto: e.value.openCameraOrChoosePhoto, "file-info": m.value, "file-list": o.value, "system-code": l.pageContext.systemCode, componentId: p.value, watermark: r(c), "on-success": U, "on-remove": z, "before-upload": R, pageContext: l.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : x("", !0);
69
69
  };
70
70
  } });
71
71
  export {
72
- j as default
72
+ Pe as default
73
73
  };
@@ -1,4 +1,4 @@
1
- import e from "./input-number-runtime.vue2.mjs";
1
+ import o from "./input-number-runtime.vue2.mjs";
2
2
  export {
3
- e as default
3
+ o as default
4
4
  };