super-page-runtime 3.0.4 → 3.0.5-beta1

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 (614) hide show
  1. package/dist/es/_virtual/Barcode.js +4 -0
  2. package/dist/es/_virtual/CODE128.js +4 -0
  3. package/dist/es/_virtual/CODE128A.js +4 -0
  4. package/dist/es/_virtual/CODE128B.js +4 -0
  5. package/dist/es/_virtual/CODE128C.js +4 -0
  6. package/dist/es/_virtual/CODE128_AUTO.js +4 -0
  7. package/dist/es/_virtual/EAN.js +4 -0
  8. package/dist/es/_virtual/EAN13.js +4 -0
  9. package/dist/es/_virtual/EAN2.js +4 -0
  10. package/dist/es/_virtual/EAN5.js +4 -0
  11. package/dist/es/_virtual/EAN8.js +4 -0
  12. package/dist/es/_virtual/ErrorHandler.js +4 -0
  13. package/dist/es/_virtual/ITF.js +4 -0
  14. package/dist/es/_virtual/ITF14.js +4 -0
  15. package/dist/es/_virtual/JsBarcode.js +7 -0
  16. package/dist/es/_virtual/MSI.js +4 -0
  17. package/dist/es/_virtual/MSI10.js +4 -0
  18. package/dist/es/_virtual/MSI1010.js +4 -0
  19. package/dist/es/_virtual/MSI11.js +4 -0
  20. package/dist/es/_virtual/MSI1110.js +4 -0
  21. package/dist/es/_virtual/SVGPathData.js +4 -0
  22. package/dist/es/_virtual/SVGPathData2.js +5 -0
  23. package/dist/es/_virtual/UPC.js +4 -0
  24. package/dist/es/_virtual/UPCE.js +4 -0
  25. package/dist/es/_virtual/_commonjsHelpers.js +27 -0
  26. package/dist/es/_virtual/alignment-pattern.js +4 -0
  27. package/dist/es/_virtual/arrayLikeToArray.js +4 -0
  28. package/dist/es/_virtual/arrayWithHoles.js +4 -0
  29. package/dist/es/_virtual/arrayWithoutHoles.js +4 -0
  30. package/dist/es/_virtual/assertThisInitialized.js +4 -0
  31. package/dist/es/_virtual/asyncToGenerator.js +4 -0
  32. package/dist/es/_virtual/asyncToGenerator2.js +7 -0
  33. package/dist/es/_virtual/auto.js +4 -0
  34. package/dist/es/_virtual/backo2.js +4 -0
  35. package/dist/es/_virtual/base64-arraybuffer.js +4 -0
  36. package/dist/es/_virtual/binary.js +4 -0
  37. package/dist/es/_virtual/browser.js +4 -0
  38. package/dist/es/_virtual/browser2.js +4 -0
  39. package/dist/es/_virtual/canvas.js +4 -0
  40. package/dist/es/_virtual/canvas2.js +4 -0
  41. package/dist/es/_virtual/checksums.js +4 -0
  42. package/dist/es/_virtual/classCallCheck.js +4 -0
  43. package/dist/es/_virtual/commons.js +4 -0
  44. package/dist/es/_virtual/constants.js +4 -0
  45. package/dist/es/_virtual/constants2.js +4 -0
  46. package/dist/es/_virtual/constants3.js +4 -0
  47. package/dist/es/_virtual/createClass.js +4 -0
  48. package/dist/es/_virtual/decodePacket.browser.js +4 -0
  49. package/dist/es/_virtual/defaults.js +4 -0
  50. package/dist/es/_virtual/defineProperty.js +4 -0
  51. package/dist/es/_virtual/defineProperty2.js +7 -0
  52. package/dist/es/_virtual/dijkstra.js +4 -0
  53. package/dist/es/_virtual/encodePacket.browser.js +4 -0
  54. package/dist/es/_virtual/encoder.js +4 -0
  55. package/dist/es/_virtual/error-correction-code.js +4 -0
  56. package/dist/es/_virtual/error-correction-level.js +4 -0
  57. package/dist/es/_virtual/es.array.concat.js +4 -0
  58. package/dist/es/_virtual/es.array.every.js +4 -0
  59. package/dist/es/_virtual/es.array.fill.js +4 -0
  60. package/dist/es/_virtual/es.array.for-each.js +4 -0
  61. package/dist/es/_virtual/es.array.from.js +4 -0
  62. package/dist/es/_virtual/es.array.includes.js +4 -0
  63. package/dist/es/_virtual/es.array.index-of.js +4 -0
  64. package/dist/es/_virtual/es.array.index-of2.js +2 -0
  65. package/dist/es/_virtual/es.array.iterator.js +2 -0
  66. package/dist/es/_virtual/es.array.join.js +4 -0
  67. package/dist/es/_virtual/es.array.map.js +4 -0
  68. package/dist/es/_virtual/es.array.reduce.js +4 -0
  69. package/dist/es/_virtual/es.array.reduce2.js +2 -0
  70. package/dist/es/_virtual/es.array.reverse.js +4 -0
  71. package/dist/es/_virtual/es.array.reverse2.js +2 -0
  72. package/dist/es/_virtual/es.array.some.js +4 -0
  73. package/dist/es/_virtual/es.function.name.js +4 -0
  74. package/dist/es/_virtual/es.map.constructor.js +4 -0
  75. package/dist/es/_virtual/es.map.js +4 -0
  76. package/dist/es/_virtual/es.number.constructor.js +4 -0
  77. package/dist/es/_virtual/es.object.to-string.js +4 -0
  78. package/dist/es/_virtual/es.parse-float.js +4 -0
  79. package/dist/es/_virtual/es.promise.all.js +4 -0
  80. package/dist/es/_virtual/es.promise.catch.js +4 -0
  81. package/dist/es/_virtual/es.promise.constructor.js +4 -0
  82. package/dist/es/_virtual/es.promise.js +4 -0
  83. package/dist/es/_virtual/es.promise.race.js +4 -0
  84. package/dist/es/_virtual/es.promise.reject.js +4 -0
  85. package/dist/es/_virtual/es.promise.resolve.js +4 -0
  86. package/dist/es/_virtual/es.promise2.js +2 -0
  87. package/dist/es/_virtual/es.reflect.apply.js +4 -0
  88. package/dist/es/_virtual/es.reflect.delete-property.js +4 -0
  89. package/dist/es/_virtual/es.reflect.get-prototype-of.js +4 -0
  90. package/dist/es/_virtual/es.regexp.exec.js +4 -0
  91. package/dist/es/_virtual/es.regexp.to-string.js +4 -0
  92. package/dist/es/_virtual/es.regexp.to-string2.js +2 -0
  93. package/dist/es/_virtual/es.string.ends-with.js +4 -0
  94. package/dist/es/_virtual/es.string.ends-with2.js +2 -0
  95. package/dist/es/_virtual/es.string.includes.js +4 -0
  96. package/dist/es/_virtual/es.string.includes2.js +2 -0
  97. package/dist/es/_virtual/es.string.iterator.js +4 -0
  98. package/dist/es/_virtual/es.string.match.js +4 -0
  99. package/dist/es/_virtual/es.string.match2.js +2 -0
  100. package/dist/es/_virtual/es.string.replace.js +4 -0
  101. package/dist/es/_virtual/es.string.replace2.js +2 -0
  102. package/dist/es/_virtual/es.string.split.js +4 -0
  103. package/dist/es/_virtual/es.string.split2.js +2 -0
  104. package/dist/es/_virtual/es.string.starts-with.js +4 -0
  105. package/dist/es/_virtual/es.string.starts-with2.js +2 -0
  106. package/dist/es/_virtual/es.string.trim.js +4 -0
  107. package/dist/es/_virtual/es.string.trim2.js +2 -0
  108. package/dist/es/_virtual/exceptions.js +4 -0
  109. package/dist/es/_virtual/finder-pattern.js +4 -0
  110. package/dist/es/_virtual/fixOptions.js +4 -0
  111. package/dist/es/_virtual/format-info.js +4 -0
  112. package/dist/es/_virtual/galois-field.js +4 -0
  113. package/dist/es/_virtual/get.js +4 -0
  114. package/dist/es/_virtual/getOptionsFromElement.js +4 -0
  115. package/dist/es/_virtual/getPrototypeOf.js +4 -0
  116. package/dist/es/_virtual/getRenderProperties.js +4 -0
  117. package/dist/es/_virtual/globalThis.browser.js +4 -0
  118. package/dist/es/_virtual/has-cors.js +4 -0
  119. package/dist/es/_virtual/html2canvas.js +4 -0
  120. package/dist/es/_virtual/index.js +2 -2
  121. package/dist/es/_virtual/index10.js +4 -0
  122. package/dist/es/_virtual/index11.js +4 -0
  123. package/dist/es/_virtual/index12.js +4 -0
  124. package/dist/es/_virtual/index13.js +4 -0
  125. package/dist/es/_virtual/index14.js +4 -0
  126. package/dist/es/_virtual/index15.js +4 -0
  127. package/dist/es/_virtual/index16.js +4 -0
  128. package/dist/es/_virtual/index17.js +4 -0
  129. package/dist/es/_virtual/index18.js +4 -0
  130. package/dist/es/_virtual/index19.js +4 -0
  131. package/dist/es/_virtual/index2.js +2 -2
  132. package/dist/es/_virtual/index20.js +4 -0
  133. package/dist/es/_virtual/index21.js +4 -0
  134. package/dist/es/_virtual/index22.js +4 -0
  135. package/dist/es/_virtual/index23.js +4 -0
  136. package/dist/es/_virtual/index3.js +2 -2
  137. package/dist/es/_virtual/index4.js +6 -0
  138. package/dist/es/_virtual/index5.js +4 -0
  139. package/dist/es/_virtual/index6.js +4 -0
  140. package/dist/es/_virtual/index7.js +7 -0
  141. package/dist/es/_virtual/index8.js +7 -0
  142. package/dist/es/_virtual/index9.js +4 -0
  143. package/dist/es/_virtual/inherits.js +4 -0
  144. package/dist/es/_virtual/internal-metadata.js +4 -0
  145. package/dist/es/_virtual/is-binary.js +4 -0
  146. package/dist/es/_virtual/iterableToArray.js +4 -0
  147. package/dist/es/_virtual/iterableToArrayLimit.js +4 -0
  148. package/dist/es/_virtual/jquery.js +4 -0
  149. package/dist/es/_virtual/jspdf.es.min.js +6 -0
  150. package/dist/es/_virtual/linearizeEncodings.js +4 -0
  151. package/dist/es/_virtual/make-built-in.js +4 -0
  152. package/dist/es/_virtual/manager.js +4 -0
  153. package/dist/es/_virtual/mask-pattern.js +4 -0
  154. package/dist/es/_virtual/merge.js +4 -0
  155. package/dist/es/_virtual/mode.js +4 -0
  156. package/dist/es/_virtual/new-promise-capability.js +4 -0
  157. package/dist/es/_virtual/nonIterableRest.js +4 -0
  158. package/dist/es/_virtual/nonIterableSpread.js +4 -0
  159. package/dist/es/_virtual/object-define-properties.js +4 -0
  160. package/dist/es/_virtual/object-define-property.js +4 -0
  161. package/dist/es/_virtual/object-get-own-property-descriptor.js +4 -0
  162. package/dist/es/_virtual/object-get-own-property-names-external.js +4 -0
  163. package/dist/es/_virtual/object-get-own-property-names.js +4 -0
  164. package/dist/es/_virtual/object-get-own-property-symbols.js +4 -0
  165. package/dist/es/_virtual/object-property-is-enumerable.js +4 -0
  166. package/dist/es/_virtual/object.js +4 -0
  167. package/dist/es/_virtual/on.js +4 -0
  168. package/dist/es/_virtual/optionsFromStrings.js +4 -0
  169. package/dist/es/_virtual/parseqs.js +4 -0
  170. package/dist/es/_virtual/parseuri.js +4 -0
  171. package/dist/es/_virtual/performance-now.js +4 -0
  172. package/dist/es/_virtual/polling.js +4 -0
  173. package/dist/es/_virtual/polynomial.js +4 -0
  174. package/dist/es/_virtual/possibleConstructorReturn.js +4 -0
  175. package/dist/es/_virtual/qrcode.js +4 -0
  176. package/dist/es/_virtual/regeneratorRuntime.js +4 -0
  177. package/dist/es/_virtual/regex.js +4 -0
  178. package/dist/es/_virtual/segments.js +4 -0
  179. package/dist/es/_virtual/setPrototypeOf.js +4 -0
  180. package/dist/es/_virtual/shared-store.js +4 -0
  181. package/dist/es/_virtual/shared.js +4 -0
  182. package/dist/es/_virtual/slicedToArray.js +4 -0
  183. package/dist/es/_virtual/socket.js +4 -0
  184. package/dist/es/_virtual/socket2.js +4 -0
  185. package/dist/es/_virtual/stackblur-es.js +6 -0
  186. package/dist/es/_virtual/superPropBase.js +4 -0
  187. package/dist/es/_virtual/svg-tag.js +4 -0
  188. package/dist/es/_virtual/svg.js +4 -0
  189. package/dist/es/_virtual/toConsumableArray.js +4 -0
  190. package/dist/es/_virtual/toPrimitive.js +4 -0
  191. package/dist/es/_virtual/toPropertyKey.js +4 -0
  192. package/dist/es/_virtual/transport.js +4 -0
  193. package/dist/es/_virtual/typeof.js +4 -0
  194. package/dist/es/_virtual/unsupportedIterableToArray.js +4 -0
  195. package/dist/es/_virtual/url.js +4 -0
  196. package/dist/es/_virtual/util.js +4 -0
  197. package/dist/es/_virtual/utils.js +4 -0
  198. package/dist/es/_virtual/utils2.js +4 -0
  199. package/dist/es/_virtual/version-check.js +4 -0
  200. package/dist/es/_virtual/version.js +4 -0
  201. package/dist/es/_virtual/vue-plugin-hiprint.js +4 -0
  202. package/dist/es/_virtual/web.dom-collections.for-each.js +4 -0
  203. package/dist/es/_virtual/web.dom-collections.iterator.js +4 -0
  204. package/dist/es/_virtual/web.dom-collections.iterator2.js +2 -0
  205. package/dist/es/_virtual/websocket-constructor.browser.js +4 -0
  206. package/dist/es/_virtual/websocket.js +4 -0
  207. package/dist/es/_virtual/webtransport.js +4 -0
  208. package/dist/es/_virtual/xmlhttprequest.browser.js +4 -0
  209. package/dist/es/_virtual/yeast.js +4 -0
  210. package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
  211. package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
  212. package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
  213. package/dist/es/components/runtime/index.d.ts +3 -3
  214. package/dist/es/components/runtime/utils/api/api-util.d.ts +6 -1
  215. package/dist/es/components/runtime/utils/api/api-util.js +195 -25
  216. package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  217. package/dist/es/components/runtime/utils/api/page-expose-util.js +206 -0
  218. package/dist/es/components/runtime/utils/assemblys-config.js +51 -14
  219. package/dist/es/components/runtime/utils/barcode-util.d.ts +8 -0
  220. package/dist/es/components/runtime/utils/barcode-util.js +36 -0
  221. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +279 -0
  222. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +74 -0
  223. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +118 -0
  224. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +100 -0
  225. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +74 -0
  226. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +51 -0
  227. package/dist/es/components/runtime/utils/charts/chart-util.js +291 -4
  228. package/dist/es/components/runtime/utils/common-util.d.ts +8 -2
  229. package/dist/es/components/runtime/utils/common-util.js +37 -14
  230. package/dist/es/components/runtime/utils/events/event-util.d.ts +20 -0
  231. package/dist/es/components/runtime/utils/events/event-util.js +125 -31
  232. package/dist/es/components/runtime/utils/events/print-label.d.ts +5 -0
  233. package/dist/es/components/runtime/utils/events/print-label.js +153 -0
  234. package/dist/es/components/runtime/utils/events/standard-event.d.ts +6 -0
  235. package/dist/es/components/runtime/utils/events/standard-event.js +378 -186
  236. package/dist/es/components/runtime/utils/events/validator-util.d.ts +8 -0
  237. package/dist/es/components/runtime/utils/events/validator-util.js +88 -61
  238. package/dist/es/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  239. package/dist/es/components/runtime/utils/form/date-shortcuts.js +96 -0
  240. package/dist/es/components/runtime/utils/form/scan-util.js +195 -0
  241. package/dist/es/components/runtime/utils/global-refs.js +12 -0
  242. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +7 -4
  243. package/dist/es/components/runtime/utils/page-helper-util.d.ts +47 -0
  244. package/dist/es/components/runtime/utils/page-helper-util.js +219 -54
  245. package/dist/es/components/runtime/utils/page-init-util.d.ts +3 -1
  246. package/dist/es/components/runtime/utils/page-init-util.js +79 -33
  247. package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
  248. package/dist/es/components/runtime/utils/page-permission-util.js +525 -0
  249. package/dist/es/components/runtime/utils/table-utils.js +6 -14
  250. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +18 -18
  251. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +24 -19
  252. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
  253. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +96 -0
  254. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +90 -5
  255. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +44 -0
  256. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
  257. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +62 -0
  258. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
  259. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +128 -0
  260. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
  261. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +66 -12
  262. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +91 -4
  263. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +65 -4
  264. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +65 -4
  265. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
  266. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
  267. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +1 -1
  268. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +5 -5
  269. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +38 -11
  270. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +9 -3
  271. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +49 -9
  272. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
  273. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +184 -0
  274. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +104 -73
  275. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +19 -17
  276. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
  277. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +31 -67
  278. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +97 -30
  279. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +25 -17
  280. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +8 -6
  281. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +89 -28
  282. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +19 -15
  283. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +57 -34
  284. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +41 -38
  285. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +13 -12
  286. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +26 -23
  287. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +97 -25
  288. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +40 -37
  289. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
  290. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +42 -0
  291. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +16 -14
  292. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +13 -10
  293. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +21 -15
  294. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +14 -5
  295. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
  296. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +40 -0
  297. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
  298. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +40 -0
  299. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +6 -8
  300. package/dist/es/components/runtime/views/super-page-dialog.vue.js +11 -5
  301. package/dist/es/components/runtime/views/super-page.vue.d.ts +8 -0
  302. package/dist/es/components/runtime/views/super-page.vue.js +196 -153
  303. package/dist/es/i18n/langs/cn.js +54 -0
  304. package/dist/es/i18n/langs/en.js +54 -0
  305. package/dist/es/index.d.ts +12 -2
  306. package/dist/es/index.js +18 -2
  307. package/dist/lib/_virtual/Barcode.js +4 -0
  308. package/dist/lib/_virtual/CODE128.js +4 -0
  309. package/dist/lib/_virtual/CODE128A.js +4 -0
  310. package/dist/lib/_virtual/CODE128B.js +4 -0
  311. package/dist/lib/_virtual/CODE128C.js +4 -0
  312. package/dist/lib/_virtual/CODE128_AUTO.js +4 -0
  313. package/dist/lib/_virtual/EAN.js +4 -0
  314. package/dist/lib/_virtual/EAN13.js +4 -0
  315. package/dist/lib/_virtual/EAN2.js +4 -0
  316. package/dist/lib/_virtual/EAN5.js +4 -0
  317. package/dist/lib/_virtual/EAN8.js +4 -0
  318. package/dist/lib/_virtual/ErrorHandler.js +4 -0
  319. package/dist/lib/_virtual/ITF.js +4 -0
  320. package/dist/lib/_virtual/ITF14.js +4 -0
  321. package/dist/lib/_virtual/JsBarcode.js +6 -0
  322. package/dist/lib/_virtual/MSI.js +4 -0
  323. package/dist/lib/_virtual/MSI10.js +4 -0
  324. package/dist/lib/_virtual/MSI1010.js +4 -0
  325. package/dist/lib/_virtual/MSI11.js +4 -0
  326. package/dist/lib/_virtual/MSI1110.js +4 -0
  327. package/dist/lib/_virtual/SVGPathData.js +4 -0
  328. package/dist/lib/_virtual/SVGPathData2.js +5 -0
  329. package/dist/lib/_virtual/UPC.js +4 -0
  330. package/dist/lib/_virtual/UPCE.js +4 -0
  331. package/dist/lib/_virtual/_commonjsHelpers.js +27 -0
  332. package/dist/lib/_virtual/alignment-pattern.js +4 -0
  333. package/dist/lib/_virtual/arrayLikeToArray.js +4 -0
  334. package/dist/lib/_virtual/arrayWithHoles.js +4 -0
  335. package/dist/lib/_virtual/arrayWithoutHoles.js +4 -0
  336. package/dist/lib/_virtual/assertThisInitialized.js +4 -0
  337. package/dist/lib/_virtual/asyncToGenerator.js +4 -0
  338. package/dist/lib/_virtual/asyncToGenerator2.js +6 -0
  339. package/dist/lib/_virtual/auto.js +4 -0
  340. package/dist/lib/_virtual/backo2.js +4 -0
  341. package/dist/lib/_virtual/base64-arraybuffer.js +4 -0
  342. package/dist/lib/_virtual/binary.js +4 -0
  343. package/dist/lib/_virtual/browser.js +4 -0
  344. package/dist/lib/_virtual/browser2.js +4 -0
  345. package/dist/lib/_virtual/canvas.js +4 -0
  346. package/dist/lib/_virtual/canvas2.js +4 -0
  347. package/dist/lib/_virtual/checksums.js +4 -0
  348. package/dist/lib/_virtual/classCallCheck.js +4 -0
  349. package/dist/lib/_virtual/commons.js +4 -0
  350. package/dist/lib/_virtual/constants.js +4 -0
  351. package/dist/lib/_virtual/constants2.js +4 -0
  352. package/dist/lib/_virtual/constants3.js +4 -0
  353. package/dist/lib/_virtual/createClass.js +4 -0
  354. package/dist/lib/_virtual/decodePacket.browser.js +4 -0
  355. package/dist/lib/_virtual/defaults.js +4 -0
  356. package/dist/lib/_virtual/defineProperty.js +4 -0
  357. package/dist/lib/_virtual/defineProperty2.js +6 -0
  358. package/dist/lib/_virtual/dijkstra.js +4 -0
  359. package/dist/lib/_virtual/encodePacket.browser.js +4 -0
  360. package/dist/lib/_virtual/encoder.js +4 -0
  361. package/dist/lib/_virtual/error-correction-code.js +4 -0
  362. package/dist/lib/_virtual/error-correction-level.js +4 -0
  363. package/dist/lib/_virtual/es.array.concat.js +4 -0
  364. package/dist/lib/_virtual/es.array.every.js +4 -0
  365. package/dist/lib/_virtual/es.array.fill.js +4 -0
  366. package/dist/lib/_virtual/es.array.for-each.js +4 -0
  367. package/dist/lib/_virtual/es.array.from.js +4 -0
  368. package/dist/lib/_virtual/es.array.includes.js +4 -0
  369. package/dist/lib/_virtual/es.array.index-of.js +4 -0
  370. package/dist/lib/_virtual/es.array.index-of2.js +3 -0
  371. package/dist/lib/_virtual/es.array.iterator.js +3 -0
  372. package/dist/lib/_virtual/es.array.join.js +4 -0
  373. package/dist/lib/_virtual/es.array.map.js +4 -0
  374. package/dist/lib/_virtual/es.array.reduce.js +4 -0
  375. package/dist/lib/_virtual/es.array.reduce2.js +3 -0
  376. package/dist/lib/_virtual/es.array.reverse.js +4 -0
  377. package/dist/lib/_virtual/es.array.reverse2.js +3 -0
  378. package/dist/lib/_virtual/es.array.some.js +4 -0
  379. package/dist/lib/_virtual/es.function.name.js +4 -0
  380. package/dist/lib/_virtual/es.map.constructor.js +4 -0
  381. package/dist/lib/_virtual/es.map.js +4 -0
  382. package/dist/lib/_virtual/es.number.constructor.js +4 -0
  383. package/dist/lib/_virtual/es.object.to-string.js +4 -0
  384. package/dist/lib/_virtual/es.parse-float.js +4 -0
  385. package/dist/lib/_virtual/es.promise.all.js +4 -0
  386. package/dist/lib/_virtual/es.promise.catch.js +4 -0
  387. package/dist/lib/_virtual/es.promise.constructor.js +4 -0
  388. package/dist/lib/_virtual/es.promise.js +4 -0
  389. package/dist/lib/_virtual/es.promise.race.js +4 -0
  390. package/dist/lib/_virtual/es.promise.reject.js +4 -0
  391. package/dist/lib/_virtual/es.promise.resolve.js +4 -0
  392. package/dist/lib/_virtual/es.promise2.js +3 -0
  393. package/dist/lib/_virtual/es.reflect.apply.js +4 -0
  394. package/dist/lib/_virtual/es.reflect.delete-property.js +4 -0
  395. package/dist/lib/_virtual/es.reflect.get-prototype-of.js +4 -0
  396. package/dist/lib/_virtual/es.regexp.exec.js +4 -0
  397. package/dist/lib/_virtual/es.regexp.to-string.js +4 -0
  398. package/dist/lib/_virtual/es.regexp.to-string2.js +3 -0
  399. package/dist/lib/_virtual/es.string.ends-with.js +4 -0
  400. package/dist/lib/_virtual/es.string.ends-with2.js +3 -0
  401. package/dist/lib/_virtual/es.string.includes.js +4 -0
  402. package/dist/lib/_virtual/es.string.includes2.js +3 -0
  403. package/dist/lib/_virtual/es.string.iterator.js +4 -0
  404. package/dist/lib/_virtual/es.string.match.js +4 -0
  405. package/dist/lib/_virtual/es.string.match2.js +3 -0
  406. package/dist/lib/_virtual/es.string.replace.js +4 -0
  407. package/dist/lib/_virtual/es.string.replace2.js +3 -0
  408. package/dist/lib/_virtual/es.string.split.js +4 -0
  409. package/dist/lib/_virtual/es.string.split2.js +3 -0
  410. package/dist/lib/_virtual/es.string.starts-with.js +4 -0
  411. package/dist/lib/_virtual/es.string.starts-with2.js +3 -0
  412. package/dist/lib/_virtual/es.string.trim.js +4 -0
  413. package/dist/lib/_virtual/es.string.trim2.js +3 -0
  414. package/dist/lib/_virtual/exceptions.js +4 -0
  415. package/dist/lib/_virtual/finder-pattern.js +4 -0
  416. package/dist/lib/_virtual/fixOptions.js +4 -0
  417. package/dist/lib/_virtual/format-info.js +4 -0
  418. package/dist/lib/_virtual/galois-field.js +4 -0
  419. package/dist/lib/_virtual/get.js +4 -0
  420. package/dist/lib/_virtual/getOptionsFromElement.js +4 -0
  421. package/dist/lib/_virtual/getPrototypeOf.js +4 -0
  422. package/dist/lib/_virtual/getRenderProperties.js +4 -0
  423. package/dist/lib/_virtual/globalThis.browser.js +4 -0
  424. package/dist/lib/_virtual/has-cors.js +4 -0
  425. package/dist/lib/_virtual/html2canvas.js +4 -0
  426. package/dist/lib/_virtual/index.js +2 -2
  427. package/dist/lib/_virtual/index10.js +4 -0
  428. package/dist/lib/_virtual/index11.js +4 -0
  429. package/dist/lib/_virtual/index12.js +4 -0
  430. package/dist/lib/_virtual/index13.js +4 -0
  431. package/dist/lib/_virtual/index14.js +4 -0
  432. package/dist/lib/_virtual/index15.js +4 -0
  433. package/dist/lib/_virtual/index16.js +4 -0
  434. package/dist/lib/_virtual/index17.js +4 -0
  435. package/dist/lib/_virtual/index18.js +4 -0
  436. package/dist/lib/_virtual/index19.js +4 -0
  437. package/dist/lib/_virtual/index2.js +2 -2
  438. package/dist/lib/_virtual/index20.js +4 -0
  439. package/dist/lib/_virtual/index21.js +4 -0
  440. package/dist/lib/_virtual/index22.js +4 -0
  441. package/dist/lib/_virtual/index23.js +4 -0
  442. package/dist/lib/_virtual/index3.js +2 -2
  443. package/dist/lib/_virtual/index4.js +5 -0
  444. package/dist/lib/_virtual/index5.js +4 -0
  445. package/dist/lib/_virtual/index6.js +4 -0
  446. package/dist/lib/_virtual/index7.js +6 -0
  447. package/dist/lib/_virtual/index8.js +6 -0
  448. package/dist/lib/_virtual/index9.js +4 -0
  449. package/dist/lib/_virtual/inherits.js +4 -0
  450. package/dist/lib/_virtual/internal-metadata.js +4 -0
  451. package/dist/lib/_virtual/is-binary.js +4 -0
  452. package/dist/lib/_virtual/iterableToArray.js +4 -0
  453. package/dist/lib/_virtual/iterableToArrayLimit.js +4 -0
  454. package/dist/lib/_virtual/jquery.js +4 -0
  455. package/dist/lib/_virtual/jspdf.es.min.js +5 -0
  456. package/dist/lib/_virtual/linearizeEncodings.js +4 -0
  457. package/dist/lib/_virtual/make-built-in.js +4 -0
  458. package/dist/lib/_virtual/manager.js +4 -0
  459. package/dist/lib/_virtual/mask-pattern.js +4 -0
  460. package/dist/lib/_virtual/merge.js +4 -0
  461. package/dist/lib/_virtual/mode.js +4 -0
  462. package/dist/lib/_virtual/new-promise-capability.js +4 -0
  463. package/dist/lib/_virtual/nonIterableRest.js +4 -0
  464. package/dist/lib/_virtual/nonIterableSpread.js +4 -0
  465. package/dist/lib/_virtual/object-define-properties.js +4 -0
  466. package/dist/lib/_virtual/object-define-property.js +4 -0
  467. package/dist/lib/_virtual/object-get-own-property-descriptor.js +4 -0
  468. package/dist/lib/_virtual/object-get-own-property-names-external.js +4 -0
  469. package/dist/lib/_virtual/object-get-own-property-names.js +4 -0
  470. package/dist/lib/_virtual/object-get-own-property-symbols.js +4 -0
  471. package/dist/lib/_virtual/object-property-is-enumerable.js +4 -0
  472. package/dist/lib/_virtual/object.js +4 -0
  473. package/dist/lib/_virtual/on.js +4 -0
  474. package/dist/lib/_virtual/optionsFromStrings.js +4 -0
  475. package/dist/lib/_virtual/parseqs.js +4 -0
  476. package/dist/lib/_virtual/parseuri.js +4 -0
  477. package/dist/lib/_virtual/performance-now.js +4 -0
  478. package/dist/lib/_virtual/polling.js +4 -0
  479. package/dist/lib/_virtual/polynomial.js +4 -0
  480. package/dist/lib/_virtual/possibleConstructorReturn.js +4 -0
  481. package/dist/lib/_virtual/qrcode.js +4 -0
  482. package/dist/lib/_virtual/regeneratorRuntime.js +4 -0
  483. package/dist/lib/_virtual/regex.js +4 -0
  484. package/dist/lib/_virtual/segments.js +4 -0
  485. package/dist/lib/_virtual/setPrototypeOf.js +4 -0
  486. package/dist/lib/_virtual/shared-store.js +4 -0
  487. package/dist/lib/_virtual/shared.js +4 -0
  488. package/dist/lib/_virtual/slicedToArray.js +4 -0
  489. package/dist/lib/_virtual/socket.js +4 -0
  490. package/dist/lib/_virtual/socket2.js +4 -0
  491. package/dist/lib/_virtual/stackblur-es.js +5 -0
  492. package/dist/lib/_virtual/superPropBase.js +4 -0
  493. package/dist/lib/_virtual/svg-tag.js +4 -0
  494. package/dist/lib/_virtual/svg.js +4 -0
  495. package/dist/lib/_virtual/toConsumableArray.js +4 -0
  496. package/dist/lib/_virtual/toPrimitive.js +4 -0
  497. package/dist/lib/_virtual/toPropertyKey.js +4 -0
  498. package/dist/lib/_virtual/transport.js +4 -0
  499. package/dist/lib/_virtual/typeof.js +4 -0
  500. package/dist/lib/_virtual/unsupportedIterableToArray.js +4 -0
  501. package/dist/lib/_virtual/url.js +4 -0
  502. package/dist/lib/_virtual/util.js +4 -0
  503. package/dist/lib/_virtual/utils.js +4 -0
  504. package/dist/lib/_virtual/utils2.js +4 -0
  505. package/dist/lib/_virtual/version-check.js +4 -0
  506. package/dist/lib/_virtual/version.js +4 -0
  507. package/dist/lib/_virtual/vue-plugin-hiprint.js +4 -0
  508. package/dist/lib/_virtual/web.dom-collections.for-each.js +4 -0
  509. package/dist/lib/_virtual/web.dom-collections.iterator.js +4 -0
  510. package/dist/lib/_virtual/web.dom-collections.iterator2.js +3 -0
  511. package/dist/lib/_virtual/websocket-constructor.browser.js +4 -0
  512. package/dist/lib/_virtual/websocket.js +4 -0
  513. package/dist/lib/_virtual/webtransport.js +4 -0
  514. package/dist/lib/_virtual/xmlhttprequest.browser.js +4 -0
  515. package/dist/lib/_virtual/yeast.js +4 -0
  516. package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
  517. package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
  518. package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
  519. package/dist/lib/components/runtime/index.d.ts +3 -3
  520. package/dist/lib/components/runtime/utils/api/api-util.d.ts +6 -1
  521. package/dist/lib/components/runtime/utils/api/api-util.js +193 -23
  522. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  523. package/dist/lib/components/runtime/utils/api/page-expose-util.js +206 -0
  524. package/dist/lib/components/runtime/utils/assemblys-config.js +51 -14
  525. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  526. package/dist/lib/components/runtime/utils/barcode-util.js +36 -0
  527. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +279 -0
  528. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +74 -0
  529. package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +118 -0
  530. package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +100 -0
  531. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +74 -0
  532. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +51 -0
  533. package/dist/lib/components/runtime/utils/charts/chart-util.js +290 -3
  534. package/dist/lib/components/runtime/utils/common-util.d.ts +8 -2
  535. package/dist/lib/components/runtime/utils/common-util.js +37 -14
  536. package/dist/lib/components/runtime/utils/events/event-util.d.ts +20 -0
  537. package/dist/lib/components/runtime/utils/events/event-util.js +123 -29
  538. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  539. package/dist/lib/components/runtime/utils/events/print-label.js +153 -0
  540. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +6 -0
  541. package/dist/lib/components/runtime/utils/events/standard-event.js +375 -183
  542. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +8 -0
  543. package/dist/lib/components/runtime/utils/events/validator-util.js +88 -61
  544. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  545. package/dist/lib/components/runtime/utils/form/date-shortcuts.js +96 -0
  546. package/dist/lib/components/runtime/utils/form/scan-util.js +195 -0
  547. package/dist/lib/components/runtime/utils/global-refs.js +12 -0
  548. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +7 -4
  549. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +47 -0
  550. package/dist/lib/components/runtime/utils/page-helper-util.js +219 -54
  551. package/dist/lib/components/runtime/utils/page-init-util.d.ts +3 -1
  552. package/dist/lib/components/runtime/utils/page-init-util.js +78 -32
  553. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  554. package/dist/lib/components/runtime/utils/page-permission-util.js +525 -0
  555. package/dist/lib/components/runtime/utils/table-utils.js +6 -14
  556. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
  557. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +23 -18
  558. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
  559. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +95 -0
  560. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +88 -3
  561. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
  562. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
  563. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
  564. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
  565. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +127 -0
  566. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
  567. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +64 -10
  568. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +89 -2
  569. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +63 -2
  570. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +63 -2
  571. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
  572. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
  573. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +1 -1
  574. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +4 -4
  575. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +37 -10
  576. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +8 -2
  577. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +45 -5
  578. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
  579. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +183 -0
  580. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +101 -70
  581. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +18 -16
  582. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
  583. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +29 -65
  584. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +95 -28
  585. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +24 -16
  586. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
  587. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +88 -27
  588. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +18 -14
  589. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +56 -33
  590. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
  591. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +11 -10
  592. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +25 -22
  593. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +96 -24
  594. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +39 -36
  595. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
  596. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +41 -0
  597. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +15 -13
  598. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +12 -9
  599. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +20 -14
  600. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +13 -4
  601. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
  602. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +39 -0
  603. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
  604. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +39 -0
  605. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +6 -8
  606. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +11 -5
  607. package/dist/lib/components/runtime/views/super-page.vue.d.ts +8 -0
  608. package/dist/lib/components/runtime/views/super-page.vue.js +189 -146
  609. package/dist/lib/i18n/langs/cn.js +53 -0
  610. package/dist/lib/i18n/langs/en.js +53 -0
  611. package/dist/lib/index.d.ts +12 -2
  612. package/dist/lib/index.js +18 -2
  613. package/package.json +71 -69
  614. package/src/index.ts +21 -0
@@ -1,5 +1,8 @@
1
- import { defineComponent, watch, resolveComponent, unref, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
3
+ import { fileUploadBeforeUpload } from "../../../../utils/events/event-util.js";
4
+ import http from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js";
5
+ import index from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js";
3
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
7
  __name: "fileupload-runtime",
5
8
  props: {
@@ -9,25 +12,40 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
12
  setup(__props) {
10
13
  const props = __props;
11
14
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
12
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
15
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
13
16
  const runtimeStyle = runtimeInfo.style;
14
17
  const runtimeClass = runtimeInfo.class;
15
18
  const headerStyle = runtimeInfo.headerStyle;
16
19
  const entity = props.pageContext.entity ? props.pageContext.entity : {};
17
20
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
18
- propsBase.prop;
19
21
  const pathFields = getFieldsByVariable(propsBase.prop);
20
22
  const nameFields = getFieldsByVariable(propsBase.propName);
21
- const initNames = getVariableValue(entity, nameFields);
22
23
  const initPaths = getVariableValue(entity, pathFields);
23
- const fileInfo = ref({
24
- name: initNames ? initNames : "",
25
- serverPath: initPaths ? initPaths : ""
26
- });
27
- watch(fileInfo, () => {
28
- setVariableValue(entity, nameFields, fileInfo.name);
29
- setVariableValue(entity, pathFields, fileInfo.serverPath);
30
- });
24
+ const fileList = ref([]);
25
+ const fileInfo = ref({});
26
+ const baseURL = window.$vueApp.config.globalProperties.baseURL;
27
+ const baseAPI = window.$vueApp.config.globalProperties.baseAPI;
28
+ let url = baseURL;
29
+ if (!isPlateSys(props.pageContext.systemCode)) {
30
+ url = baseAPI;
31
+ }
32
+ if (initPaths) {
33
+ const uuids = initPaths.split(",");
34
+ if (uuids.length > 0) {
35
+ http.post(url + "/common/fs-upload/search-file-names").then((result) => {
36
+ const names = [];
37
+ for (let index2 = 0; index2 < uuids.length; index2++) {
38
+ const uuid = uuids[index2];
39
+ names.push(result[uuid]);
40
+ fileList.value.push({ showName: result[uuid], serverPath: uuid });
41
+ }
42
+ if (designProperty.value.displayType === "input") {
43
+ fileInfo.value.showName = names.join(",");
44
+ fileInfo.value.serverPath = uuids.join(",");
45
+ }
46
+ });
47
+ }
48
+ }
31
49
  function getFieldsByVariable(variableName) {
32
50
  if (!variableName) {
33
51
  return [];
@@ -37,36 +55,79 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
55
  }
38
56
  return variableName.split(".");
39
57
  }
58
+ function beforeUpload(params) {
59
+ return fileUploadBeforeUpload(params);
60
+ }
61
+ const onSuccess = (response, uploadFile, uploadFiles) => {
62
+ updateValue();
63
+ };
64
+ const onRemove = (file) => {
65
+ updateValue();
66
+ };
67
+ const updateValue = () => {
68
+ const names = [];
69
+ const uuids = [];
70
+ for (let index2 = 0; index2 < fileList.value.length; index2++) {
71
+ names.push(fileList.value[index2].showName);
72
+ uuids.push(fileList.value[index2].serverPath);
73
+ }
74
+ setVariableValue(props.pageContext.entity, pathFields, uuids.join(","));
75
+ setVariableValue(props.pageContext.entity, nameFields, names.join(","));
76
+ };
77
+ function isPlateSys(systemCode) {
78
+ if (systemCode && (systemCode === "agilebuilder" || systemCode === "portal" || systemCode === "mms" || systemCode === "task" || systemCode === "wf" || systemCode === "dc" || systemCode === "mc" || systemCode === "mobile" || systemCode === "acs" || systemCode === "bs" || systemCode === "pcm")) {
79
+ return true;
80
+ } else {
81
+ return false;
82
+ }
83
+ }
40
84
  return (_ctx, _cache) => {
41
- const _component_FsUploadList = resolveComponent("FsUploadList");
42
85
  const _component_el_form_item = resolveComponent("el-form-item");
43
- return unref(designProperty).tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
86
+ return designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
44
87
  key: 0,
45
- required: unref(designProperty).required,
88
+ required: designProperty.value.required,
46
89
  class: normalizeClass(unref(runtimeClass)),
47
- "label-width": unref(designProperty).labelWidth,
90
+ "label-width": designProperty.value.labelWidth,
48
91
  style: normalizeStyle(unref(runtimeStyle))
49
92
  }, {
50
93
  label: withCtx(() => [
51
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
94
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
52
95
  key: 0,
53
96
  style: normalizeStyle({ ...unref(headerStyle) })
54
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
97
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
55
98
  ]),
56
99
  default: withCtx(() => [
57
- createVNode(_component_FsUploadList, {
58
- disabled: unref(designProperty).state == "disabled",
59
- fileSetObj: unref(designProperty).fileSetObj,
60
- fileInfo: unref(fileInfo)
61
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"])
100
+ createVNode(unref(index), {
101
+ disabled: designProperty.value.state == "disabled",
102
+ displayType: designProperty.value.displayType,
103
+ accept: designProperty.value.accept,
104
+ multiple: designProperty.value.multiple,
105
+ placeholder: designProperty.value.placeholder,
106
+ limit: designProperty.value.limit,
107
+ "limit-file-size": designProperty.value.limitFileSize,
108
+ "file-info": fileInfo.value,
109
+ "file-list": fileList.value,
110
+ "on-success": onSuccess,
111
+ "on-remove": onRemove,
112
+ "before-upload": beforeUpload
113
+ }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list"])
62
114
  ]),
63
115
  _: 1
64
- }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createBlock(_component_FsUploadList, {
116
+ }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createBlock(unref(index), {
65
117
  key: 1,
66
- disabled: unref(designProperty).state == "disabled",
67
- fileSetObj: unref(designProperty).fileSetObj,
68
- fileInfo: unref(fileInfo)
69
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"]));
118
+ disabled: designProperty.value.state == "disabled",
119
+ displayType: designProperty.value.displayType,
120
+ accept: designProperty.value.accept,
121
+ multiple: designProperty.value.multiple,
122
+ placeholder: designProperty.value.placeholder,
123
+ limit: designProperty.value.limit,
124
+ "limit-file-size": designProperty.value.limitFileSize,
125
+ "file-info": fileInfo.value,
126
+ "file-list": fileList.value,
127
+ "on-success": onSuccess,
128
+ "on-remove": onRemove,
129
+ "before-upload": beforeUpload
130
+ }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list"]));
70
131
  };
71
132
  }
72
133
  });
@@ -1,6 +1,7 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
4
+ import { handleEvent } from "../../../../utils/events/event-util.js";
4
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
6
  __name: "input-number-runtime",
6
7
  props: {
@@ -23,35 +24,38 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
24
  const runtimeStyle = runtimeInfo.style;
24
25
  const runtimeClass = runtimeInfo.class;
25
26
  const headerStyle = runtimeInfo.headerStyle;
26
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
27
28
  return (_ctx, _cache) => {
28
29
  const _component_el_input_number = resolveComponent("el-input-number");
29
30
  const _component_el_form_item = resolveComponent("el-form-item");
30
31
  return openBlock(), createBlock(_component_el_form_item, {
31
- required: unref(designProperty).required,
32
+ required: designProperty.value.required,
32
33
  class: normalizeClass(unref(runtimeClass)),
33
- "label-width": unref(designProperty).labelWidth,
34
+ "label-width": designProperty.value.labelWidth,
34
35
  style: normalizeStyle(unref(runtimeStyle))
35
36
  }, {
36
37
  label: withCtx(() => [
37
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
38
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
38
39
  key: 0,
39
40
  style: normalizeStyle({ ...unref(headerStyle) })
40
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
41
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
41
42
  ]),
42
43
  default: withCtx(() => [
43
44
  createVNode(_component_el_input_number, {
44
- disabled: unref(designProperty).state === "disabled",
45
- readonly: unref(designProperty).state === "readonly",
46
- controls: unref(designProperty).showButton,
47
- size: unref(designProperty).size,
48
- placeholder: unref(designProperty).placeholder,
45
+ disabled: designProperty.value.state === "disabled",
46
+ readonly: designProperty.value.state === "readonly",
47
+ controls: designProperty.value.showButton,
48
+ size: designProperty.value.size,
49
+ placeholder: designProperty.value.placeholder,
49
50
  modelValue: dynamicModelMethod.value,
50
51
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
51
- precision: unref(designProperty).precision,
52
- step: unref(designProperty).step,
53
- min: unref(designProperty).min,
54
- max: unref(designProperty).max
52
+ precision: designProperty.value.precision,
53
+ step: designProperty.value.step,
54
+ min: designProperty.value.min,
55
+ max: designProperty.value.max,
56
+ onChange: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
57
+ onBlur: _cache[2] || (_cache[2] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
58
+ onFocus: _cache[3] || (_cache[3] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus"))
55
59
  }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
56
60
  ]),
57
61
  _: 1
@@ -1,8 +1,9 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createSlots, createTextVNode } from "vue";
2
- import { SuperIcon as _sfc_main$1 } from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js";
1
+ import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createSlots, createTextVNode } from "vue";
2
+ import { SuperIcon as _sfc_main$4 } from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
4
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
5
5
  import { handleEvent } from "../../../../utils/events/event-util.js";
6
+ import { formatScanRuleSets, analysisScanValue, setScanAnalysisValue } from "../../../../utils/form/scan-util.js";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "inputtext-runtime",
8
9
  props: {
@@ -10,6 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  configure: {}
11
12
  },
12
13
  setup(__props, { expose: __expose }) {
14
+ var _a, _b;
13
15
  const props = __props;
14
16
  const entity = props.pageContext.entity ? props.pageContext.entity : {};
15
17
  let dynamicFields = getFormModelFields(props.pageContext, props.configure);
@@ -22,7 +24,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
24
  }
23
25
  });
24
26
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
25
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
28
+ let scanRuleSets = {};
29
+ if (((_a = designProperty.value.scan) == null ? void 0 : _a.enable) && ((_b = designProperty.value.scan.ruleList) == null ? void 0 : _b.length) > 0) {
30
+ setScanRuleSets();
31
+ watchScanValueChange();
32
+ }
26
33
  const runtimeStyle = runtimeInfo.style;
27
34
  const runtimeClass = runtimeInfo.class;
28
35
  const headerStyle = runtimeInfo.headerStyle;
@@ -32,6 +39,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
39
  function setValue(value) {
33
40
  return setVariableValue(entity, dynamicFields, value);
34
41
  }
42
+ function setScanRuleSets() {
43
+ formatScanRuleSets(designProperty.value.scan.ruleList).then((res) => {
44
+ scanRuleSets = res;
45
+ });
46
+ }
47
+ function watchScanValueChange() {
48
+ watch(
49
+ () => dynamicModelMethod.value,
50
+ (newValue) => {
51
+ const valueSet = analysisScanValue(newValue, scanRuleSets);
52
+ if (valueSet) {
53
+ setScanAnalysisValue(props.pageContext, valueSet.scanSet, valueSet.params);
54
+ }
55
+ }
56
+ );
57
+ }
35
58
  __expose({
36
59
  getValue,
37
60
  setValue
@@ -40,26 +63,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
63
  const _component_el_input = resolveComponent("el-input");
41
64
  const _component_el_form_item = resolveComponent("el-form-item");
42
65
  return openBlock(), createBlock(_component_el_form_item, {
43
- required: unref(designProperty).required ? true : false,
66
+ required: designProperty.value.required ? true : false,
44
67
  class: normalizeClass(unref(runtimeClass)),
45
- "label-width": unref(designProperty).labelWidth,
68
+ "label-width": designProperty.value.labelWidth,
46
69
  style: normalizeStyle(unref(runtimeStyle))
47
70
  }, {
48
71
  label: withCtx(() => [
49
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
72
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
50
73
  key: 0,
51
74
  style: normalizeStyle({ ...unref(headerStyle) })
52
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
75
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
53
76
  ]),
54
77
  default: withCtx(() => [
55
78
  createVNode(_component_el_input, {
56
- disabled: unref(designProperty).state === "disabled",
57
- readonly: unref(designProperty).state === "readonly",
58
- size: unref(designProperty).size,
59
- clearable: unref(designProperty).clearable,
60
- placeholder: unref(designProperty).placeholder,
61
- maxlength: unref(designProperty).maxLength,
62
- "show-word-limit": unref(designProperty).showInputNum,
79
+ disabled: designProperty.value.state === "disabled",
80
+ readonly: designProperty.value.state === "readonly",
81
+ size: designProperty.value.size,
82
+ clearable: designProperty.value.clearable,
83
+ placeholder: designProperty.value.placeholder,
84
+ maxlength: designProperty.value.maxLength,
85
+ "show-word-limit": designProperty.value.showInputNum,
63
86
  modelValue: dynamicModelMethod.value,
64
87
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
65
88
  onInput: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
@@ -68,51 +91,51 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
68
91
  onFocus: _cache[4] || (_cache[4] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
69
92
  onClick: _cache[5] || (_cache[5] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
70
93
  }, createSlots({ _: 2 }, [
71
- unref(designProperty).iconPosition != "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
94
+ designProperty.value.iconPosition != "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
72
95
  name: "prefix",
73
96
  fn: withCtx(() => [
74
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(_sfc_main$1), {
97
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
75
98
  key: 0,
76
- iconType: unref(designProperty).preIconType,
77
- iconValue: unref(designProperty).preIconValue
99
+ iconType: designProperty.value.preIconType,
100
+ iconValue: designProperty.value.preIconValue
78
101
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
79
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
102
+ createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
80
103
  ]),
81
104
  key: "0"
82
105
  } : void 0,
83
- unref(designProperty).iconPosition == "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
106
+ designProperty.value.iconPosition == "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
84
107
  name: "prepend",
85
108
  fn: withCtx(() => [
86
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(_sfc_main$1), {
109
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
87
110
  key: 0,
88
- iconType: unref(designProperty).preIconType,
89
- iconValue: unref(designProperty).preIconValue
111
+ iconType: designProperty.value.preIconType,
112
+ iconValue: designProperty.value.preIconValue
90
113
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
91
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
114
+ createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
92
115
  ]),
93
116
  key: "1"
94
117
  } : void 0,
95
- unref(designProperty).iconPosition != "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
118
+ designProperty.value.iconPosition != "outer" && (designProperty.value.sufIconType && designProperty.value.sufIconValue || designProperty.value.sufText) ? {
96
119
  name: "suffix",
97
120
  fn: withCtx(() => [
98
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(_sfc_main$1), {
121
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
99
122
  key: 0,
100
- iconType: unref(designProperty).sufIconType,
101
- iconValue: unref(designProperty).sufIconValue
123
+ iconType: designProperty.value.sufIconType,
124
+ iconValue: designProperty.value.sufIconValue
102
125
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
103
- createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
126
+ createTextVNode(" " + toDisplayString(designProperty.value.sufText), 1)
104
127
  ]),
105
128
  key: "2"
106
129
  } : void 0,
107
- unref(designProperty).iconPosition == "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
130
+ designProperty.value.iconPosition == "outer" && (designProperty.value.sufIconType && designProperty.value.sufIconValue || designProperty.value.sufText) ? {
108
131
  name: "append",
109
132
  fn: withCtx(() => [
110
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(_sfc_main$1), {
133
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
111
134
  key: 0,
112
- iconType: unref(designProperty).sufIconType,
113
- iconValue: unref(designProperty).sufIconValue
135
+ iconType: designProperty.value.sufIconType,
136
+ iconValue: designProperty.value.sufIconValue
114
137
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
115
- createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
138
+ createTextVNode(" " + toDisplayString(designProperty.value.sufText), 1)
116
139
  ]),
117
140
  key: "3"
118
141
  } : void 0
@@ -1,14 +1,10 @@
1
- import { defineComponent, computed, resolveComponent, unref, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, createTextVNode } from "vue";
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, createTextVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { queryOptions, formatVariableValue, formatValueByType } from "../../../../utils/page-helper-util.js";
4
- import { SuperIcon as _sfc_main$1 } from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js";
5
- const _hoisted_1 = { style: { "display": "flex", "width": "100%", "justify-content": "space-between" } };
6
- const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
7
- const _hoisted_3 = {
8
- key: 1,
9
- style: { "display": "flex", "justify-content": "space-between" }
10
- };
11
- const _hoisted_4 = ["title"];
4
+ import { SuperIcon as _sfc_main$4 } from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js";
5
+ import { handleEvent } from "../../../../utils/events/event-util.js";
6
+ const _hoisted_1 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
7
+ const _hoisted_2 = ["title"];
12
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
9
  __name: "label-runtime",
14
10
  props: {
@@ -24,8 +20,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
20
  const headerStyle = runtimeInfo.headerStyle;
25
21
  const appendClass = runtimeInfo.appendClass;
26
22
  const appendStyle = runtimeInfo.appendStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
- const listOptions = designProperty.options ? designProperty.options : [];
23
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
24
+ const listOptions = designProperty.value.options ? designProperty.value.options : [];
29
25
  const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
30
26
  const valueType = dataOrigin.optionValueSetType;
31
27
  if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
@@ -35,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
31
  console.log("lable组件查询数据源失败!", error);
36
32
  });
37
33
  }
38
- let contentVariable = designProperty.formatting;
34
+ let contentVariable = designProperty.value.formatting;
39
35
  if (!contentVariable) {
40
36
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
41
37
  contentVariable = propsBase.prop;
@@ -43,12 +39,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
39
  if (!contentVariable) {
44
40
  contentVariable = "${page." + props.configure.uuid + "}";
45
41
  }
46
- const formatType = designProperty.formatType;
42
+ const formatType = designProperty.value.formatType;
47
43
  const dynamicValue = computed(() => {
48
44
  let resultValue = formatVariableValue(props.pageContext, contentVariable);
49
45
  console.log("formatType", formatType);
50
46
  if (formatType) {
51
- if (designProperty.hasOptions) {
47
+ if (designProperty.value.hasOptions) {
52
48
  let selItems = null;
53
49
  if (listOptions.value) {
54
50
  selItems = listOptions.value.filter((item) => item.value == resultValue);
@@ -57,68 +53,75 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
53
  resultValue = selItems[0].label;
58
54
  }
59
55
  } else {
60
- resultValue = formatValueByType(resultValue, formatType, designProperty);
56
+ resultValue = formatValueByType(resultValue, formatType, designProperty.value);
61
57
  }
62
58
  }
63
59
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
64
60
  });
65
61
  return (_ctx, _cache) => {
66
62
  const _component_el_form_item = resolveComponent("el-form-item");
67
- return unref(designProperty).tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
63
+ return designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
68
64
  key: 0,
69
- required: unref(designProperty).required ? true : false,
65
+ required: designProperty.value.required ? true : false,
70
66
  class: normalizeClass(unref(runtimeClass)),
71
- "label-width": unref(designProperty).labelWidth,
67
+ "label-width": designProperty.value.labelWidth,
72
68
  style: normalizeStyle(unref(runtimeStyle))
73
69
  }, {
74
70
  label: withCtx(() => [
75
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
71
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
76
72
  key: 0,
77
73
  style: normalizeStyle({ ...unref(headerStyle) })
78
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
74
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
79
75
  ]),
80
76
  default: withCtx(() => [
81
- createElementVNode("div", _hoisted_1, [
82
- createElementVNode("span", _hoisted_2, [
83
- unref(designProperty).preIconValue || unref(designProperty).preText ? (openBlock(), createElementBlock("span", {
77
+ createElementVNode("div", {
78
+ style: { "display": "flex", "width": "100%", "justify-content": "space-between" },
79
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
80
+ }, [
81
+ createElementVNode("span", _hoisted_1, [
82
+ designProperty.value.preIconValue || designProperty.value.preText ? (openBlock(), createElementBlock("span", {
84
83
  key: 0,
85
- class: normalizeClass({ "el-input__suffix": unref(designProperty).iconPosition != "outer", "el-input-group__append": unref(designProperty).iconPosition == "outer" }),
84
+ class: normalizeClass({ "el-input__suffix": designProperty.value.iconPosition != "outer", "el-input-group__append": designProperty.value.iconPosition == "outer" }),
86
85
  style: normalizeStyle(unref(appendStyle))
87
86
  }, [
88
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(_sfc_main$1), {
87
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
89
88
  key: 0,
90
- iconType: unref(designProperty).preIconType,
91
- iconValue: unref(designProperty).preIconValue
89
+ iconType: designProperty.value.preIconType,
90
+ iconValue: designProperty.value.preIconValue
92
91
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
93
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
92
+ createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
94
93
  ], 6)) : createCommentVNode("", true),
95
94
  createTextVNode("  " + toDisplayString(dynamicValue.value), 1)
96
95
  ]),
97
- unref(designProperty).sufIconValue || unref(designProperty).sufText ? (openBlock(), createElementBlock("span", {
96
+ designProperty.value.sufIconValue || designProperty.value.sufText ? (openBlock(), createElementBlock("span", {
98
97
  key: 0,
99
- class: normalizeClass({ "el-input__suffix": unref(designProperty).iconPosition != "outer", "el-input-group__append": unref(designProperty).iconPosition == "outer" })
98
+ class: normalizeClass({ "el-input__suffix": designProperty.value.iconPosition != "outer", "el-input-group__append": designProperty.value.iconPosition == "outer" })
100
99
  }, [
101
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(_sfc_main$1), {
100
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
102
101
  key: 0,
103
102
  style: {},
104
- iconType: unref(designProperty).sufIconType,
105
- iconValue: unref(designProperty).sufIconValue
103
+ iconType: designProperty.value.sufIconType,
104
+ iconValue: designProperty.value.sufIconValue
106
105
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
107
- createElementVNode("span", null, " " + toDisplayString(unref(designProperty).sufText), 1)
106
+ createElementVNode("span", null, " " + toDisplayString(designProperty.value.sufText), 1)
108
107
  ], 2)) : createCommentVNode("", true)
109
108
  ])
110
109
  ]),
111
110
  _: 1
112
- }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", _hoisted_3, [
111
+ }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", {
112
+ key: 1,
113
+ style: { "display": "flex", "justify-content": "space-between" },
114
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
115
+ }, [
113
116
  createElementVNode("span", {
114
117
  style: { "overflow": "hidden", "white-space": "nowrap" },
115
118
  title: dynamicValue.value
116
- }, toDisplayString(unref(designProperty).prefixIcon) + " " + toDisplayString(dynamicValue.value), 9, _hoisted_4),
117
- unref(designProperty).suffixTxt ? (openBlock(), createElementBlock("span", {
119
+ }, toDisplayString(designProperty.value.prefixIcon) + " " + toDisplayString(dynamicValue.value) + "222", 9, _hoisted_2),
120
+ designProperty.value.suffixTxt ? (openBlock(), createElementBlock("span", {
118
121
  key: 0,
119
122
  class: normalizeClass(unref(appendClass)),
120
123
  style: normalizeStyle(unref(appendStyle))
121
- }, toDisplayString(unref(designProperty).suffixTxt), 7)) : createCommentVNode("", true)
124
+ }, toDisplayString(designProperty.value.suffixTxt) + "222", 7)) : createCommentVNode("", true)
122
125
  ]));
123
126
  };
124
127
  }
@@ -1,6 +1,7 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
- import { formatVariableValue, openLink } from "../../../../utils/page-helper-util.js";
3
+ import { formatVariableValue } from "../../../../utils/page-helper-util.js";
4
+ import { handleEvent } from "../../../../utils/events/event-util.js";
4
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
6
  __name: "link-runtime",
6
7
  props: {
@@ -14,8 +15,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
15
  const runtimeStyle = runtimeInfo.style;
15
16
  const runtimeClass = runtimeInfo.class;
16
17
  const headerStyle = runtimeInfo.headerStyle;
17
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
18
- let contentVariable = designProperty.formatting;
18
+ const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
19
+ let contentVariable = designProperty.value.formatting;
19
20
  if (!contentVariable) {
20
21
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
21
22
  contentVariable = propsBase.prop;
@@ -27,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
28
  const resultValue = formatVariableValue(props.pageContext, contentVariable);
28
29
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
29
30
  });
30
- let tooltipVariable = designProperty.tooltip;
31
+ let tooltipVariable = designProperty.value.tooltip;
31
32
  const tooltipValue = computed(() => {
32
33
  const resultValue = formatVariableValue(props.pageContext, tooltipVariable);
33
34
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
@@ -38,14 +39,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
39
  const _component_el_form_item = resolveComponent("el-form-item");
39
40
  return openBlock(), createBlock(_component_el_form_item, {
40
41
  class: normalizeClass(unref(runtimeClass)),
41
- "label-width": unref(designProperty).labelWidth,
42
+ "label-width": designProperty.value.labelWidth,
42
43
  style: normalizeStyle(unref(runtimeStyle))
43
44
  }, {
44
45
  label: withCtx(() => [
45
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
46
+ designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
46
47
  key: 0,
47
48
  style: normalizeStyle({ ...unref(headerStyle) })
48
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
49
+ }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
49
50
  ]),
50
51
  default: withCtx(() => [
51
52
  createVNode(_component_el_tooltip, {
@@ -54,10 +55,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
55
  }, {
55
56
  default: withCtx(() => [
56
57
  createVNode(_component_el_link, {
57
- disabled: unref(designProperty).state === "disabled",
58
- type: unref(designProperty).type,
59
- underline: unref(designProperty).underline,
60
- onClick: _cache[0] || (_cache[0] = ($event) => unref(openLink)(_ctx.configure, _ctx.pageContext))
58
+ disabled: designProperty.value.state === "disabled",
59
+ type: designProperty.value.type,
60
+ underline: designProperty.value.underline,
61
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
61
62
  }, {
62
63
  default: withCtx(() => [
63
64
  createTextVNode(toDisplayString(dynamicValue.value), 1)