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,6 +1,9 @@
1
1
  "use strict";
2
2
  const Vue = require("vue");
3
3
  const pageHelperUtil = require("../../../../utils/page-helper-util.js");
4
+ const eventUtil = require("../../../../utils/events/event-util.js");
5
+ const request = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js");
6
+ const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
4
7
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
5
8
  __name: "fileupload-runtime",
6
9
  props: {
@@ -10,25 +13,40 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
10
13
  setup(__props) {
11
14
  const props = __props;
12
15
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
13
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
16
+ const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
14
17
  const runtimeStyle = runtimeInfo.style;
15
18
  const runtimeClass = runtimeInfo.class;
16
19
  const headerStyle = runtimeInfo.headerStyle;
17
20
  const entity = props.pageContext.entity ? props.pageContext.entity : {};
18
21
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
19
- propsBase.prop;
20
22
  const pathFields = getFieldsByVariable(propsBase.prop);
21
23
  const nameFields = getFieldsByVariable(propsBase.propName);
22
- const initNames = pageHelperUtil.getVariableValue(entity, nameFields);
23
24
  const initPaths = pageHelperUtil.getVariableValue(entity, pathFields);
24
- const fileInfo = ref({
25
- name: initNames ? initNames : "",
26
- serverPath: initPaths ? initPaths : ""
27
- });
28
- Vue.watch(fileInfo, () => {
29
- pageHelperUtil.setVariableValue(entity, nameFields, fileInfo.name);
30
- pageHelperUtil.setVariableValue(entity, pathFields, fileInfo.serverPath);
31
- });
25
+ const fileList = Vue.ref([]);
26
+ const fileInfo = Vue.ref({});
27
+ const baseURL = window.$vueApp.config.globalProperties.baseURL;
28
+ const baseAPI = window.$vueApp.config.globalProperties.baseAPI;
29
+ let url = baseURL;
30
+ if (!isPlateSys(props.pageContext.systemCode)) {
31
+ url = baseAPI;
32
+ }
33
+ if (initPaths) {
34
+ const uuids = initPaths.split(",");
35
+ if (uuids.length > 0) {
36
+ request.post(url + "/common/fs-upload/search-file-names").then((result) => {
37
+ const names = [];
38
+ for (let index = 0; index < uuids.length; index++) {
39
+ const uuid = uuids[index];
40
+ names.push(result[uuid]);
41
+ fileList.value.push({ showName: result[uuid], serverPath: uuid });
42
+ }
43
+ if (designProperty.value.displayType === "input") {
44
+ fileInfo.value.showName = names.join(",");
45
+ fileInfo.value.serverPath = uuids.join(",");
46
+ }
47
+ });
48
+ }
49
+ }
32
50
  function getFieldsByVariable(variableName) {
33
51
  if (!variableName) {
34
52
  return [];
@@ -38,36 +56,79 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
38
56
  }
39
57
  return variableName.split(".");
40
58
  }
59
+ function beforeUpload(params) {
60
+ return eventUtil.fileUploadBeforeUpload(params);
61
+ }
62
+ const onSuccess = (response, uploadFile, uploadFiles) => {
63
+ updateValue();
64
+ };
65
+ const onRemove = (file) => {
66
+ updateValue();
67
+ };
68
+ const updateValue = () => {
69
+ const names = [];
70
+ const uuids = [];
71
+ for (let index = 0; index < fileList.value.length; index++) {
72
+ names.push(fileList.value[index].showName);
73
+ uuids.push(fileList.value[index].serverPath);
74
+ }
75
+ pageHelperUtil.setVariableValue(props.pageContext.entity, pathFields, uuids.join(","));
76
+ pageHelperUtil.setVariableValue(props.pageContext.entity, nameFields, names.join(","));
77
+ };
78
+ function isPlateSys(systemCode) {
79
+ if (systemCode && (systemCode === "agilebuilder" || systemCode === "portal" || systemCode === "mms" || systemCode === "task" || systemCode === "wf" || systemCode === "dc" || systemCode === "mc" || systemCode === "mobile" || systemCode === "acs" || systemCode === "bs" || systemCode === "pcm")) {
80
+ return true;
81
+ } else {
82
+ return false;
83
+ }
84
+ }
41
85
  return (_ctx, _cache) => {
42
- const _component_FsUploadList = Vue.resolveComponent("FsUploadList");
43
86
  const _component_el_form_item = Vue.resolveComponent("el-form-item");
44
- return Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
87
+ return designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
45
88
  key: 0,
46
- required: Vue.unref(designProperty).required,
89
+ required: designProperty.value.required,
47
90
  class: Vue.normalizeClass(Vue.unref(runtimeClass)),
48
- "label-width": Vue.unref(designProperty).labelWidth,
91
+ "label-width": designProperty.value.labelWidth,
49
92
  style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
50
93
  }, {
51
94
  label: Vue.withCtx(() => [
52
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
95
+ designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
53
96
  key: 0,
54
97
  style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
55
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
98
+ }, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
56
99
  ]),
57
100
  default: Vue.withCtx(() => [
58
- Vue.createVNode(_component_FsUploadList, {
59
- disabled: Vue.unref(designProperty).state == "disabled",
60
- fileSetObj: Vue.unref(designProperty).fileSetObj,
61
- fileInfo: Vue.unref(fileInfo)
62
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"])
101
+ Vue.createVNode(Vue.unref(superUi.default), {
102
+ disabled: designProperty.value.state == "disabled",
103
+ displayType: designProperty.value.displayType,
104
+ accept: designProperty.value.accept,
105
+ multiple: designProperty.value.multiple,
106
+ placeholder: designProperty.value.placeholder,
107
+ limit: designProperty.value.limit,
108
+ "limit-file-size": designProperty.value.limitFileSize,
109
+ "file-info": fileInfo.value,
110
+ "file-list": fileList.value,
111
+ "on-success": onSuccess,
112
+ "on-remove": onRemove,
113
+ "before-upload": beforeUpload
114
+ }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list"])
63
115
  ]),
64
116
  _: 1
65
- }, 8, ["required", "class", "label-width", "style"])) : (Vue.openBlock(), Vue.createBlock(_component_FsUploadList, {
117
+ }, 8, ["required", "class", "label-width", "style"])) : (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.default), {
66
118
  key: 1,
67
- disabled: Vue.unref(designProperty).state == "disabled",
68
- fileSetObj: Vue.unref(designProperty).fileSetObj,
69
- fileInfo: Vue.unref(fileInfo)
70
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"]));
119
+ disabled: designProperty.value.state == "disabled",
120
+ displayType: designProperty.value.displayType,
121
+ accept: designProperty.value.accept,
122
+ multiple: designProperty.value.multiple,
123
+ placeholder: designProperty.value.placeholder,
124
+ limit: designProperty.value.limit,
125
+ "limit-file-size": designProperty.value.limitFileSize,
126
+ "file-info": fileInfo.value,
127
+ "file-list": fileList.value,
128
+ "on-success": onSuccess,
129
+ "on-remove": onRemove,
130
+ "before-upload": beforeUpload
131
+ }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list"]));
71
132
  };
72
133
  }
73
134
  });
@@ -2,6 +2,7 @@
2
2
  const Vue = require("vue");
3
3
  const pageInitUtil = require("../../../../utils/page-init-util.js");
4
4
  const pageHelperUtil = require("../../../../utils/page-helper-util.js");
5
+ const eventUtil = require("../../../../utils/events/event-util.js");
5
6
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
6
7
  __name: "input-number-runtime",
7
8
  props: {
@@ -24,35 +25,38 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
24
25
  const runtimeStyle = runtimeInfo.style;
25
26
  const runtimeClass = runtimeInfo.class;
26
27
  const headerStyle = runtimeInfo.headerStyle;
27
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
+ const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
28
29
  return (_ctx, _cache) => {
29
30
  const _component_el_input_number = Vue.resolveComponent("el-input-number");
30
31
  const _component_el_form_item = Vue.resolveComponent("el-form-item");
31
32
  return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
32
- required: Vue.unref(designProperty).required,
33
+ required: designProperty.value.required,
33
34
  class: Vue.normalizeClass(Vue.unref(runtimeClass)),
34
- "label-width": Vue.unref(designProperty).labelWidth,
35
+ "label-width": designProperty.value.labelWidth,
35
36
  style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
36
37
  }, {
37
38
  label: Vue.withCtx(() => [
38
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
39
+ designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
39
40
  key: 0,
40
41
  style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
41
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
42
+ }, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
42
43
  ]),
43
44
  default: Vue.withCtx(() => [
44
45
  Vue.createVNode(_component_el_input_number, {
45
- disabled: Vue.unref(designProperty).state === "disabled",
46
- readonly: Vue.unref(designProperty).state === "readonly",
47
- controls: Vue.unref(designProperty).showButton,
48
- size: Vue.unref(designProperty).size,
49
- placeholder: Vue.unref(designProperty).placeholder,
46
+ disabled: designProperty.value.state === "disabled",
47
+ readonly: designProperty.value.state === "readonly",
48
+ controls: designProperty.value.showButton,
49
+ size: designProperty.value.size,
50
+ placeholder: designProperty.value.placeholder,
50
51
  modelValue: dynamicModelMethod.value,
51
52
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
52
- precision: Vue.unref(designProperty).precision,
53
- step: Vue.unref(designProperty).step,
54
- min: Vue.unref(designProperty).min,
55
- max: Vue.unref(designProperty).max
53
+ precision: designProperty.value.precision,
54
+ step: designProperty.value.step,
55
+ min: designProperty.value.min,
56
+ max: designProperty.value.max,
57
+ onChange: _cache[1] || (_cache[1] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
58
+ onBlur: _cache[2] || (_cache[2] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
59
+ onFocus: _cache[3] || (_cache[3] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus"))
56
60
  }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
57
61
  ]),
58
62
  _: 1
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  const Vue = require("vue");
3
- const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
3
+ const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
4
4
  const pageInitUtil = require("../../../../utils/page-init-util.js");
5
5
  const pageHelperUtil = require("../../../../utils/page-helper-util.js");
6
6
  const eventUtil = require("../../../../utils/events/event-util.js");
7
+ const scanUtil = require("../../../../utils/form/scan-util.js");
7
8
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
8
9
  __name: "inputtext-runtime",
9
10
  props: {
@@ -11,6 +12,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
11
12
  configure: {}
12
13
  },
13
14
  setup(__props, { expose: __expose }) {
15
+ var _a, _b;
14
16
  const props = __props;
15
17
  const entity = props.pageContext.entity ? props.pageContext.entity : {};
16
18
  let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
@@ -23,7 +25,12 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
23
25
  }
24
26
  });
25
27
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
26
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
28
+ const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
29
+ let scanRuleSets = {};
30
+ if (((_a = designProperty.value.scan) == null ? void 0 : _a.enable) && ((_b = designProperty.value.scan.ruleList) == null ? void 0 : _b.length) > 0) {
31
+ setScanRuleSets();
32
+ watchScanValueChange();
33
+ }
27
34
  const runtimeStyle = runtimeInfo.style;
28
35
  const runtimeClass = runtimeInfo.class;
29
36
  const headerStyle = runtimeInfo.headerStyle;
@@ -33,6 +40,22 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
33
40
  function setValue(value) {
34
41
  return pageHelperUtil.setVariableValue(entity, dynamicFields, value);
35
42
  }
43
+ function setScanRuleSets() {
44
+ scanUtil.formatScanRuleSets(designProperty.value.scan.ruleList).then((res) => {
45
+ scanRuleSets = res;
46
+ });
47
+ }
48
+ function watchScanValueChange() {
49
+ Vue.watch(
50
+ () => dynamicModelMethod.value,
51
+ (newValue) => {
52
+ const valueSet = scanUtil.analysisScanValue(newValue, scanRuleSets);
53
+ if (valueSet) {
54
+ scanUtil.setScanAnalysisValue(props.pageContext, valueSet.scanSet, valueSet.params);
55
+ }
56
+ }
57
+ );
58
+ }
36
59
  __expose({
37
60
  getValue,
38
61
  setValue
@@ -41,26 +64,26 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
41
64
  const _component_el_input = Vue.resolveComponent("el-input");
42
65
  const _component_el_form_item = Vue.resolveComponent("el-form-item");
43
66
  return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
44
- required: Vue.unref(designProperty).required ? true : false,
67
+ required: designProperty.value.required ? true : false,
45
68
  class: Vue.normalizeClass(Vue.unref(runtimeClass)),
46
- "label-width": Vue.unref(designProperty).labelWidth,
69
+ "label-width": designProperty.value.labelWidth,
47
70
  style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
48
71
  }, {
49
72
  label: Vue.withCtx(() => [
50
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
73
+ designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
51
74
  key: 0,
52
75
  style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
53
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
76
+ }, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
54
77
  ]),
55
78
  default: Vue.withCtx(() => [
56
79
  Vue.createVNode(_component_el_input, {
57
- disabled: Vue.unref(designProperty).state === "disabled",
58
- readonly: Vue.unref(designProperty).state === "readonly",
59
- size: Vue.unref(designProperty).size,
60
- clearable: Vue.unref(designProperty).clearable,
61
- placeholder: Vue.unref(designProperty).placeholder,
62
- maxlength: Vue.unref(designProperty).maxLength,
63
- "show-word-limit": Vue.unref(designProperty).showInputNum,
80
+ disabled: designProperty.value.state === "disabled",
81
+ readonly: designProperty.value.state === "readonly",
82
+ size: designProperty.value.size,
83
+ clearable: designProperty.value.clearable,
84
+ placeholder: designProperty.value.placeholder,
85
+ maxlength: designProperty.value.maxLength,
86
+ "show-word-limit": designProperty.value.showInputNum,
64
87
  modelValue: dynamicModelMethod.value,
65
88
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
66
89
  onInput: _cache[1] || (_cache[1] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
@@ -69,51 +92,51 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
69
92
  onFocus: _cache[4] || (_cache[4] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
70
93
  onClick: _cache[5] || (_cache[5] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
71
94
  }, Vue.createSlots({ _: 2 }, [
72
- Vue.unref(designProperty).iconPosition != "outer" && (Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue || Vue.unref(designProperty).preText) ? {
95
+ designProperty.value.iconPosition != "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
73
96
  name: "prefix",
74
97
  fn: Vue.withCtx(() => [
75
- Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
98
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
76
99
  key: 0,
77
- iconType: Vue.unref(designProperty).preIconType,
78
- iconValue: Vue.unref(designProperty).preIconValue
100
+ iconType: designProperty.value.preIconType,
101
+ iconValue: designProperty.value.preIconValue
79
102
  }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
80
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).preText), 1)
103
+ Vue.createTextVNode(" " + Vue.toDisplayString(designProperty.value.preText), 1)
81
104
  ]),
82
105
  key: "0"
83
106
  } : void 0,
84
- Vue.unref(designProperty).iconPosition == "outer" && (Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue || Vue.unref(designProperty).preText) ? {
107
+ designProperty.value.iconPosition == "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
85
108
  name: "prepend",
86
109
  fn: Vue.withCtx(() => [
87
- Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
110
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
88
111
  key: 0,
89
- iconType: Vue.unref(designProperty).preIconType,
90
- iconValue: Vue.unref(designProperty).preIconValue
112
+ iconType: designProperty.value.preIconType,
113
+ iconValue: designProperty.value.preIconValue
91
114
  }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
92
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).preText), 1)
115
+ Vue.createTextVNode(" " + Vue.toDisplayString(designProperty.value.preText), 1)
93
116
  ]),
94
117
  key: "1"
95
118
  } : void 0,
96
- Vue.unref(designProperty).iconPosition != "outer" && (Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue || Vue.unref(designProperty).sufText) ? {
119
+ designProperty.value.iconPosition != "outer" && (designProperty.value.sufIconType && designProperty.value.sufIconValue || designProperty.value.sufText) ? {
97
120
  name: "suffix",
98
121
  fn: Vue.withCtx(() => [
99
- Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
122
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
100
123
  key: 0,
101
- iconType: Vue.unref(designProperty).sufIconType,
102
- iconValue: Vue.unref(designProperty).sufIconValue
124
+ iconType: designProperty.value.sufIconType,
125
+ iconValue: designProperty.value.sufIconValue
103
126
  }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
104
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).sufText), 1)
127
+ Vue.createTextVNode(" " + Vue.toDisplayString(designProperty.value.sufText), 1)
105
128
  ]),
106
129
  key: "2"
107
130
  } : void 0,
108
- Vue.unref(designProperty).iconPosition == "outer" && (Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue || Vue.unref(designProperty).sufText) ? {
131
+ designProperty.value.iconPosition == "outer" && (designProperty.value.sufIconType && designProperty.value.sufIconValue || designProperty.value.sufText) ? {
109
132
  name: "append",
110
133
  fn: Vue.withCtx(() => [
111
- Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
134
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
112
135
  key: 0,
113
- iconType: Vue.unref(designProperty).sufIconType,
114
- iconValue: Vue.unref(designProperty).sufIconValue
136
+ iconType: designProperty.value.sufIconType,
137
+ iconValue: designProperty.value.sufIconValue
115
138
  }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
116
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).sufText), 1)
139
+ Vue.createTextVNode(" " + Vue.toDisplayString(designProperty.value.sufText), 1)
117
140
  ]),
118
141
  key: "3"
119
142
  } : void 0
@@ -2,14 +2,10 @@
2
2
  const Vue = require("vue");
3
3
  const pageInitUtil = require("../../../../utils/page-init-util.js");
4
4
  const pageHelperUtil = require("../../../../utils/page-helper-util.js");
5
- const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
6
- const _hoisted_1 = { style: { "display": "flex", "width": "100%", "justify-content": "space-between" } };
7
- const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
8
- const _hoisted_3 = {
9
- key: 1,
10
- style: { "display": "flex", "justify-content": "space-between" }
11
- };
12
- const _hoisted_4 = ["title"];
5
+ const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
6
+ const eventUtil = require("../../../../utils/events/event-util.js");
7
+ const _hoisted_1 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
8
+ const _hoisted_2 = ["title"];
13
9
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
14
10
  __name: "label-runtime",
15
11
  props: {
@@ -25,8 +21,8 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
25
21
  const headerStyle = runtimeInfo.headerStyle;
26
22
  const appendClass = runtimeInfo.appendClass;
27
23
  const appendStyle = runtimeInfo.appendStyle;
28
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
29
- const listOptions = designProperty.options ? designProperty.options : [];
24
+ const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
25
+ const listOptions = designProperty.value.options ? designProperty.value.options : [];
30
26
  const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
31
27
  const valueType = dataOrigin.optionValueSetType;
32
28
  if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
@@ -36,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
36
32
  console.log("lable组件查询数据源失败!", error);
37
33
  });
38
34
  }
39
- let contentVariable = designProperty.formatting;
35
+ let contentVariable = designProperty.value.formatting;
40
36
  if (!contentVariable) {
41
37
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
42
38
  contentVariable = propsBase.prop;
@@ -44,12 +40,12 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
44
40
  if (!contentVariable) {
45
41
  contentVariable = "${page." + props.configure.uuid + "}";
46
42
  }
47
- const formatType = designProperty.formatType;
43
+ const formatType = designProperty.value.formatType;
48
44
  const dynamicValue = Vue.computed(() => {
49
45
  let resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
50
46
  console.log("formatType", formatType);
51
47
  if (formatType) {
52
- if (designProperty.hasOptions) {
48
+ if (designProperty.value.hasOptions) {
53
49
  let selItems = null;
54
50
  if (listOptions.value) {
55
51
  selItems = listOptions.value.filter((item) => item.value == resultValue);
@@ -58,68 +54,75 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
58
54
  resultValue = selItems[0].label;
59
55
  }
60
56
  } else {
61
- resultValue = pageHelperUtil.formatValueByType(resultValue, formatType, designProperty);
57
+ resultValue = pageHelperUtil.formatValueByType(resultValue, formatType, designProperty.value);
62
58
  }
63
59
  }
64
60
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
65
61
  });
66
62
  return (_ctx, _cache) => {
67
63
  const _component_el_form_item = Vue.resolveComponent("el-form-item");
68
- return Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
64
+ return designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
69
65
  key: 0,
70
- required: Vue.unref(designProperty).required ? true : false,
66
+ required: designProperty.value.required ? true : false,
71
67
  class: Vue.normalizeClass(Vue.unref(runtimeClass)),
72
- "label-width": Vue.unref(designProperty).labelWidth,
68
+ "label-width": designProperty.value.labelWidth,
73
69
  style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
74
70
  }, {
75
71
  label: Vue.withCtx(() => [
76
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
72
+ designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
77
73
  key: 0,
78
74
  style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
79
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
75
+ }, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
80
76
  ]),
81
77
  default: Vue.withCtx(() => [
82
- Vue.createElementVNode("div", _hoisted_1, [
83
- Vue.createElementVNode("span", _hoisted_2, [
84
- Vue.unref(designProperty).preIconValue || Vue.unref(designProperty).preText ? (Vue.openBlock(), Vue.createElementBlock("span", {
78
+ Vue.createElementVNode("div", {
79
+ style: { "display": "flex", "width": "100%", "justify-content": "space-between" },
80
+ onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
81
+ }, [
82
+ Vue.createElementVNode("span", _hoisted_1, [
83
+ designProperty.value.preIconValue || designProperty.value.preText ? (Vue.openBlock(), Vue.createElementBlock("span", {
85
84
  key: 0,
86
- class: Vue.normalizeClass({ "el-input__suffix": Vue.unref(designProperty).iconPosition != "outer", "el-input-group__append": Vue.unref(designProperty).iconPosition == "outer" }),
85
+ class: Vue.normalizeClass({ "el-input__suffix": designProperty.value.iconPosition != "outer", "el-input-group__append": designProperty.value.iconPosition == "outer" }),
87
86
  style: Vue.normalizeStyle(Vue.unref(appendStyle))
88
87
  }, [
89
- Vue.unref(designProperty).preIconType && Vue.unref(designProperty).preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
88
+ designProperty.value.preIconType && designProperty.value.preIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
90
89
  key: 0,
91
- iconType: Vue.unref(designProperty).preIconType,
92
- iconValue: Vue.unref(designProperty).preIconValue
90
+ iconType: designProperty.value.preIconType,
91
+ iconValue: designProperty.value.preIconValue
93
92
  }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
94
- Vue.createTextVNode(" " + Vue.toDisplayString(Vue.unref(designProperty).preText), 1)
93
+ Vue.createTextVNode(" " + Vue.toDisplayString(designProperty.value.preText), 1)
95
94
  ], 6)) : Vue.createCommentVNode("", true),
96
95
  Vue.createTextVNode("  " + Vue.toDisplayString(dynamicValue.value), 1)
97
96
  ]),
98
- Vue.unref(designProperty).sufIconValue || Vue.unref(designProperty).sufText ? (Vue.openBlock(), Vue.createElementBlock("span", {
97
+ designProperty.value.sufIconValue || designProperty.value.sufText ? (Vue.openBlock(), Vue.createElementBlock("span", {
99
98
  key: 0,
100
- class: Vue.normalizeClass({ "el-input__suffix": Vue.unref(designProperty).iconPosition != "outer", "el-input-group__append": Vue.unref(designProperty).iconPosition == "outer" })
99
+ class: Vue.normalizeClass({ "el-input__suffix": designProperty.value.iconPosition != "outer", "el-input-group__append": designProperty.value.iconPosition == "outer" })
101
100
  }, [
102
- Vue.unref(designProperty).sufIconType && Vue.unref(designProperty).sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
101
+ designProperty.value.sufIconType && designProperty.value.sufIconValue ? (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.SuperIcon), {
103
102
  key: 0,
104
103
  style: {},
105
- iconType: Vue.unref(designProperty).sufIconType,
106
- iconValue: Vue.unref(designProperty).sufIconValue
104
+ iconType: designProperty.value.sufIconType,
105
+ iconValue: designProperty.value.sufIconValue
107
106
  }, null, 8, ["iconType", "iconValue"])) : Vue.createCommentVNode("", true),
108
- Vue.createElementVNode("span", null, " " + Vue.toDisplayString(Vue.unref(designProperty).sufText), 1)
107
+ Vue.createElementVNode("span", null, " " + Vue.toDisplayString(designProperty.value.sufText), 1)
109
108
  ], 2)) : Vue.createCommentVNode("", true)
110
109
  ])
111
110
  ]),
112
111
  _: 1
113
- }, 8, ["required", "class", "label-width", "style"])) : (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3, [
112
+ }, 8, ["required", "class", "label-width", "style"])) : (Vue.openBlock(), Vue.createElementBlock("span", {
113
+ key: 1,
114
+ style: { "display": "flex", "justify-content": "space-between" },
115
+ onClick: _cache[1] || (_cache[1] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
116
+ }, [
114
117
  Vue.createElementVNode("span", {
115
118
  style: { "overflow": "hidden", "white-space": "nowrap" },
116
119
  title: dynamicValue.value
117
- }, Vue.toDisplayString(Vue.unref(designProperty).prefixIcon) + " " + Vue.toDisplayString(dynamicValue.value), 9, _hoisted_4),
118
- Vue.unref(designProperty).suffixTxt ? (Vue.openBlock(), Vue.createElementBlock("span", {
120
+ }, Vue.toDisplayString(designProperty.value.prefixIcon) + " " + Vue.toDisplayString(dynamicValue.value) + "222", 9, _hoisted_2),
121
+ designProperty.value.suffixTxt ? (Vue.openBlock(), Vue.createElementBlock("span", {
119
122
  key: 0,
120
123
  class: Vue.normalizeClass(Vue.unref(appendClass)),
121
124
  style: Vue.normalizeStyle(Vue.unref(appendStyle))
122
- }, Vue.toDisplayString(Vue.unref(designProperty).suffixTxt), 7)) : Vue.createCommentVNode("", true)
125
+ }, Vue.toDisplayString(designProperty.value.suffixTxt) + "222", 7)) : Vue.createCommentVNode("", true)
123
126
  ]));
124
127
  };
125
128
  }
@@ -2,6 +2,7 @@
2
2
  const Vue = require("vue");
3
3
  const pageInitUtil = require("../../../../utils/page-init-util.js");
4
4
  const pageHelperUtil = require("../../../../utils/page-helper-util.js");
5
+ const eventUtil = require("../../../../utils/events/event-util.js");
5
6
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
6
7
  __name: "link-runtime",
7
8
  props: {
@@ -15,8 +16,8 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
15
16
  const runtimeStyle = runtimeInfo.style;
16
17
  const runtimeClass = runtimeInfo.class;
17
18
  const headerStyle = runtimeInfo.headerStyle;
18
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
19
- let contentVariable = designProperty.formatting;
19
+ const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
20
+ let contentVariable = designProperty.value.formatting;
20
21
  if (!contentVariable) {
21
22
  const propsBase = props.configure.props.base ? props.configure.props.base : {};
22
23
  contentVariable = propsBase.prop;
@@ -28,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
28
29
  const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
29
30
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
30
31
  });
31
- let tooltipVariable = designProperty.tooltip;
32
+ let tooltipVariable = designProperty.value.tooltip;
32
33
  const tooltipValue = Vue.computed(() => {
33
34
  const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, tooltipVariable);
34
35
  return resultValue == void 0 || resultValue == null ? "" : resultValue;
@@ -39,14 +40,14 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
39
40
  const _component_el_form_item = Vue.resolveComponent("el-form-item");
40
41
  return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
41
42
  class: Vue.normalizeClass(Vue.unref(runtimeClass)),
42
- "label-width": Vue.unref(designProperty).labelWidth,
43
+ "label-width": designProperty.value.labelWidth,
43
44
  style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
44
45
  }, {
45
46
  label: Vue.withCtx(() => [
46
- Vue.unref(designProperty).tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
47
+ designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
47
48
  key: 0,
48
49
  style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
49
- }, Vue.toDisplayString(Vue.unref(designProperty).title), 5)) : Vue.createCommentVNode("", true)
50
+ }, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
50
51
  ]),
51
52
  default: Vue.withCtx(() => [
52
53
  Vue.createVNode(_component_el_tooltip, {
@@ -55,10 +56,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
55
56
  }, {
56
57
  default: Vue.withCtx(() => [
57
58
  Vue.createVNode(_component_el_link, {
58
- disabled: Vue.unref(designProperty).state === "disabled",
59
- type: Vue.unref(designProperty).type,
60
- underline: Vue.unref(designProperty).underline,
61
- onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(pageHelperUtil.openLink)(_ctx.configure, _ctx.pageContext))
59
+ disabled: designProperty.value.state === "disabled",
60
+ type: designProperty.value.type,
61
+ underline: designProperty.value.underline,
62
+ onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
62
63
  }, {
63
64
  default: Vue.withCtx(() => [
64
65
  Vue.createTextVNode(Vue.toDisplayString(dynamicValue.value), 1)