super-page-runtime 2.0.43 → 2.0.47

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 (426) hide show
  1. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +77 -39
  2. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +54 -8
  3. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +39 -7
  4. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +44 -10
  5. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +28 -2
  6. package/dist/es/components/runtime/utils/charts/chart-util.js +242 -46
  7. package/dist/es/components/runtime/utils/common-util.js +5 -5
  8. package/dist/es/components/runtime/utils/events/event-util.d.ts +15 -0
  9. package/dist/es/components/runtime/utils/events/event-util.js +71 -47
  10. package/dist/es/components/runtime/utils/events/standard-event.d.ts +3 -1
  11. package/dist/es/components/runtime/utils/events/standard-event.js +19 -12
  12. package/dist/es/components/runtime/utils/events/validator-util.js +8 -7
  13. package/dist/es/components/runtime/utils/page-helper-util.d.ts +6 -0
  14. package/dist/es/components/runtime/utils/page-helper-util.js +11 -1
  15. package/dist/es/components/runtime/utils/page-init-util.js +6 -4
  16. package/dist/es/components/runtime/utils/page-permission-util.js +3 -3
  17. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +35 -14
  18. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +48 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +33 -14
  20. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +16 -22
  21. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +16 -10
  22. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  23. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -2
  24. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +57 -40
  25. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +14 -5
  26. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +2 -2
  27. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +15 -6
  28. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +15 -11
  29. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  31. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  32. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +30 -20
  33. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +14 -5
  34. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +17 -8
  37. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +23 -9
  38. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +5 -4
  39. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +5 -4
  40. package/dist/es/components/runtime/views/super-page.vue.js +36 -37
  41. package/dist/es/i18n/langs/cn.js +2 -1
  42. package/dist/es/i18n/langs/en.js +2 -1
  43. package/package.json +2 -2
  44. package/dist/lib/_virtual/AttributeMap.js +0 -4
  45. package/dist/lib/_virtual/Barcode.js +0 -4
  46. package/dist/lib/_virtual/CODE128.js +0 -4
  47. package/dist/lib/_virtual/CODE128A.js +0 -4
  48. package/dist/lib/_virtual/CODE128B.js +0 -4
  49. package/dist/lib/_virtual/CODE128C.js +0 -4
  50. package/dist/lib/_virtual/CODE128_AUTO.js +0 -4
  51. package/dist/lib/_virtual/Delta.js +0 -4
  52. package/dist/lib/_virtual/EAN.js +0 -4
  53. package/dist/lib/_virtual/EAN13.js +0 -4
  54. package/dist/lib/_virtual/EAN2.js +0 -4
  55. package/dist/lib/_virtual/EAN5.js +0 -4
  56. package/dist/lib/_virtual/EAN8.js +0 -4
  57. package/dist/lib/_virtual/ErrorHandler.js +0 -4
  58. package/dist/lib/_virtual/ITF.js +0 -4
  59. package/dist/lib/_virtual/ITF14.js +0 -4
  60. package/dist/lib/_virtual/JsBarcode.js +0 -6
  61. package/dist/lib/_virtual/MSI.js +0 -4
  62. package/dist/lib/_virtual/MSI10.js +0 -4
  63. package/dist/lib/_virtual/MSI1010.js +0 -4
  64. package/dist/lib/_virtual/MSI11.js +0 -4
  65. package/dist/lib/_virtual/MSI1110.js +0 -4
  66. package/dist/lib/_virtual/Op.js +0 -4
  67. package/dist/lib/_virtual/OpIterator.js +0 -4
  68. package/dist/lib/_virtual/SVGPathData.js +0 -4
  69. package/dist/lib/_virtual/SVGPathData2.js +0 -5
  70. package/dist/lib/_virtual/UPC.js +0 -4
  71. package/dist/lib/_virtual/UPCE.js +0 -4
  72. package/dist/lib/_virtual/__vite-browser-external.js +0 -3
  73. package/dist/lib/_virtual/_commonjsHelpers.js +0 -35
  74. package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  75. package/dist/lib/_virtual/alignment-pattern.js +0 -4
  76. package/dist/lib/_virtual/arrayLikeToArray.js +0 -4
  77. package/dist/lib/_virtual/arrayWithHoles.js +0 -4
  78. package/dist/lib/_virtual/arrayWithoutHoles.js +0 -4
  79. package/dist/lib/_virtual/assertThisInitialized.js +0 -4
  80. package/dist/lib/_virtual/asyncToGenerator.js +0 -4
  81. package/dist/lib/_virtual/asyncToGenerator2.js +0 -6
  82. package/dist/lib/_virtual/auto.js +0 -4
  83. package/dist/lib/_virtual/backo2.js +0 -4
  84. package/dist/lib/_virtual/base64-arraybuffer.js +0 -4
  85. package/dist/lib/_virtual/binary.js +0 -4
  86. package/dist/lib/_virtual/browser.js +0 -4
  87. package/dist/lib/_virtual/browser2.js +0 -4
  88. package/dist/lib/_virtual/canvas.js +0 -4
  89. package/dist/lib/_virtual/canvas2.js +0 -4
  90. package/dist/lib/_virtual/checksums.js +0 -4
  91. package/dist/lib/_virtual/classCallCheck.js +0 -4
  92. package/dist/lib/_virtual/commons.js +0 -4
  93. package/dist/lib/_virtual/constants.js +0 -4
  94. package/dist/lib/_virtual/constants2.js +0 -4
  95. package/dist/lib/_virtual/constants3.js +0 -4
  96. package/dist/lib/_virtual/createClass.js +0 -4
  97. package/dist/lib/_virtual/dayjs.min.js +0 -4
  98. package/dist/lib/_virtual/decodePacket.browser.js +0 -4
  99. package/dist/lib/_virtual/defaults.js +0 -4
  100. package/dist/lib/_virtual/defineProperty.js +0 -4
  101. package/dist/lib/_virtual/defineProperty2.js +0 -6
  102. package/dist/lib/_virtual/dijkstra.js +0 -4
  103. package/dist/lib/_virtual/encodePacket.browser.js +0 -4
  104. package/dist/lib/_virtual/encoder.js +0 -4
  105. package/dist/lib/_virtual/error-correction-code.js +0 -4
  106. package/dist/lib/_virtual/error-correction-level.js +0 -4
  107. package/dist/lib/_virtual/es.array.concat.js +0 -4
  108. package/dist/lib/_virtual/es.array.every.js +0 -4
  109. package/dist/lib/_virtual/es.array.fill.js +0 -4
  110. package/dist/lib/_virtual/es.array.for-each.js +0 -4
  111. package/dist/lib/_virtual/es.array.from.js +0 -4
  112. package/dist/lib/_virtual/es.array.includes.js +0 -4
  113. package/dist/lib/_virtual/es.array.index-of.js +0 -4
  114. package/dist/lib/_virtual/es.array.index-of2.js +0 -3
  115. package/dist/lib/_virtual/es.array.iterator.js +0 -3
  116. package/dist/lib/_virtual/es.array.join.js +0 -4
  117. package/dist/lib/_virtual/es.array.map.js +0 -4
  118. package/dist/lib/_virtual/es.array.reduce.js +0 -4
  119. package/dist/lib/_virtual/es.array.reduce2.js +0 -3
  120. package/dist/lib/_virtual/es.array.reverse.js +0 -4
  121. package/dist/lib/_virtual/es.array.reverse2.js +0 -3
  122. package/dist/lib/_virtual/es.array.some.js +0 -4
  123. package/dist/lib/_virtual/es.function.name.js +0 -4
  124. package/dist/lib/_virtual/es.map.constructor.js +0 -4
  125. package/dist/lib/_virtual/es.map.js +0 -4
  126. package/dist/lib/_virtual/es.number.constructor.js +0 -4
  127. package/dist/lib/_virtual/es.object.to-string.js +0 -4
  128. package/dist/lib/_virtual/es.parse-float.js +0 -4
  129. package/dist/lib/_virtual/es.promise.all.js +0 -4
  130. package/dist/lib/_virtual/es.promise.catch.js +0 -4
  131. package/dist/lib/_virtual/es.promise.constructor.js +0 -4
  132. package/dist/lib/_virtual/es.promise.js +0 -4
  133. package/dist/lib/_virtual/es.promise.race.js +0 -4
  134. package/dist/lib/_virtual/es.promise.reject.js +0 -4
  135. package/dist/lib/_virtual/es.promise.resolve.js +0 -4
  136. package/dist/lib/_virtual/es.promise2.js +0 -3
  137. package/dist/lib/_virtual/es.reflect.apply.js +0 -4
  138. package/dist/lib/_virtual/es.reflect.delete-property.js +0 -4
  139. package/dist/lib/_virtual/es.reflect.get-prototype-of.js +0 -4
  140. package/dist/lib/_virtual/es.regexp.exec.js +0 -4
  141. package/dist/lib/_virtual/es.regexp.to-string.js +0 -4
  142. package/dist/lib/_virtual/es.regexp.to-string2.js +0 -3
  143. package/dist/lib/_virtual/es.string.ends-with.js +0 -4
  144. package/dist/lib/_virtual/es.string.ends-with2.js +0 -3
  145. package/dist/lib/_virtual/es.string.includes.js +0 -4
  146. package/dist/lib/_virtual/es.string.includes2.js +0 -3
  147. package/dist/lib/_virtual/es.string.iterator.js +0 -4
  148. package/dist/lib/_virtual/es.string.match.js +0 -4
  149. package/dist/lib/_virtual/es.string.match2.js +0 -3
  150. package/dist/lib/_virtual/es.string.replace.js +0 -4
  151. package/dist/lib/_virtual/es.string.replace2.js +0 -3
  152. package/dist/lib/_virtual/es.string.split.js +0 -4
  153. package/dist/lib/_virtual/es.string.split2.js +0 -3
  154. package/dist/lib/_virtual/es.string.starts-with.js +0 -4
  155. package/dist/lib/_virtual/es.string.starts-with2.js +0 -3
  156. package/dist/lib/_virtual/es.string.trim.js +0 -4
  157. package/dist/lib/_virtual/es.string.trim2.js +0 -3
  158. package/dist/lib/_virtual/exceptions.js +0 -4
  159. package/dist/lib/_virtual/finder-pattern.js +0 -4
  160. package/dist/lib/_virtual/fixOptions.js +0 -4
  161. package/dist/lib/_virtual/format-info.js +0 -4
  162. package/dist/lib/_virtual/galois-field.js +0 -4
  163. package/dist/lib/_virtual/get.js +0 -4
  164. package/dist/lib/_virtual/getOptionsFromElement.js +0 -4
  165. package/dist/lib/_virtual/getPrototypeOf.js +0 -4
  166. package/dist/lib/_virtual/getRenderProperties.js +0 -4
  167. package/dist/lib/_virtual/globalThis.browser.js +0 -4
  168. package/dist/lib/_virtual/has-cors.js +0 -4
  169. package/dist/lib/_virtual/html2canvas.js +0 -4
  170. package/dist/lib/_virtual/index.js +0 -4
  171. package/dist/lib/_virtual/index10.js +0 -4
  172. package/dist/lib/_virtual/index11.js +0 -4
  173. package/dist/lib/_virtual/index12.js +0 -4
  174. package/dist/lib/_virtual/index13.js +0 -4
  175. package/dist/lib/_virtual/index14.js +0 -4
  176. package/dist/lib/_virtual/index15.js +0 -4
  177. package/dist/lib/_virtual/index16.js +0 -4
  178. package/dist/lib/_virtual/index17.js +0 -4
  179. package/dist/lib/_virtual/index18.js +0 -4
  180. package/dist/lib/_virtual/index19.js +0 -4
  181. package/dist/lib/_virtual/index2.js +0 -4
  182. package/dist/lib/_virtual/index20.js +0 -4
  183. package/dist/lib/_virtual/index21.js +0 -4
  184. package/dist/lib/_virtual/index22.js +0 -4
  185. package/dist/lib/_virtual/index23.js +0 -4
  186. package/dist/lib/_virtual/index3.js +0 -4
  187. package/dist/lib/_virtual/index4.js +0 -5
  188. package/dist/lib/_virtual/index5.js +0 -4
  189. package/dist/lib/_virtual/index6.js +0 -4
  190. package/dist/lib/_virtual/index7.js +0 -6
  191. package/dist/lib/_virtual/index8.js +0 -6
  192. package/dist/lib/_virtual/index9.js +0 -4
  193. package/dist/lib/_virtual/inherits.js +0 -4
  194. package/dist/lib/_virtual/internal-metadata.js +0 -4
  195. package/dist/lib/_virtual/is-binary.js +0 -4
  196. package/dist/lib/_virtual/iterableToArray.js +0 -4
  197. package/dist/lib/_virtual/iterableToArrayLimit.js +0 -4
  198. package/dist/lib/_virtual/jquery.js +0 -4
  199. package/dist/lib/_virtual/jspdf.es.min.js +0 -5
  200. package/dist/lib/_virtual/linearizeEncodings.js +0 -4
  201. package/dist/lib/_virtual/make-built-in.js +0 -4
  202. package/dist/lib/_virtual/manager.js +0 -4
  203. package/dist/lib/_virtual/mask-pattern.js +0 -4
  204. package/dist/lib/_virtual/merge.js +0 -4
  205. package/dist/lib/_virtual/mode.js +0 -4
  206. package/dist/lib/_virtual/new-promise-capability.js +0 -4
  207. package/dist/lib/_virtual/nonIterableRest.js +0 -4
  208. package/dist/lib/_virtual/nonIterableSpread.js +0 -4
  209. package/dist/lib/_virtual/object-define-properties.js +0 -4
  210. package/dist/lib/_virtual/object-define-property.js +0 -4
  211. package/dist/lib/_virtual/object-get-own-property-descriptor.js +0 -4
  212. package/dist/lib/_virtual/object-get-own-property-names-external.js +0 -4
  213. package/dist/lib/_virtual/object-get-own-property-names.js +0 -4
  214. package/dist/lib/_virtual/object-get-own-property-symbols.js +0 -4
  215. package/dist/lib/_virtual/object-property-is-enumerable.js +0 -4
  216. package/dist/lib/_virtual/object.js +0 -4
  217. package/dist/lib/_virtual/on.js +0 -4
  218. package/dist/lib/_virtual/optionsFromStrings.js +0 -4
  219. package/dist/lib/_virtual/parseqs.js +0 -4
  220. package/dist/lib/_virtual/parseuri.js +0 -4
  221. package/dist/lib/_virtual/performance-now.js +0 -4
  222. package/dist/lib/_virtual/polling.js +0 -4
  223. package/dist/lib/_virtual/polynomial.js +0 -4
  224. package/dist/lib/_virtual/possibleConstructorReturn.js +0 -4
  225. package/dist/lib/_virtual/qrcode.js +0 -4
  226. package/dist/lib/_virtual/regeneratorRuntime.js +0 -4
  227. package/dist/lib/_virtual/regex.js +0 -4
  228. package/dist/lib/_virtual/segments.js +0 -4
  229. package/dist/lib/_virtual/setPrototypeOf.js +0 -4
  230. package/dist/lib/_virtual/shared-store.js +0 -4
  231. package/dist/lib/_virtual/shared.js +0 -4
  232. package/dist/lib/_virtual/slicedToArray.js +0 -4
  233. package/dist/lib/_virtual/socket.js +0 -4
  234. package/dist/lib/_virtual/socket2.js +0 -4
  235. package/dist/lib/_virtual/stackblur-es.js +0 -5
  236. package/dist/lib/_virtual/superPropBase.js +0 -4
  237. package/dist/lib/_virtual/svg-tag.js +0 -4
  238. package/dist/lib/_virtual/svg.js +0 -4
  239. package/dist/lib/_virtual/toConsumableArray.js +0 -4
  240. package/dist/lib/_virtual/toPrimitive.js +0 -4
  241. package/dist/lib/_virtual/toPropertyKey.js +0 -4
  242. package/dist/lib/_virtual/transport.js +0 -4
  243. package/dist/lib/_virtual/typeof.js +0 -4
  244. package/dist/lib/_virtual/unsupportedIterableToArray.js +0 -4
  245. package/dist/lib/_virtual/url.js +0 -4
  246. package/dist/lib/_virtual/util.js +0 -4
  247. package/dist/lib/_virtual/utils.js +0 -4
  248. package/dist/lib/_virtual/utils2.js +0 -4
  249. package/dist/lib/_virtual/version-check.js +0 -4
  250. package/dist/lib/_virtual/version.js +0 -4
  251. package/dist/lib/_virtual/vue-plugin-hiprint.js +0 -4
  252. package/dist/lib/_virtual/web.dom-collections.for-each.js +0 -4
  253. package/dist/lib/_virtual/web.dom-collections.iterator.js +0 -4
  254. package/dist/lib/_virtual/web.dom-collections.iterator2.js +0 -3
  255. package/dist/lib/_virtual/websocket-constructor.browser.js +0 -4
  256. package/dist/lib/_virtual/websocket.js +0 -4
  257. package/dist/lib/_virtual/webtransport.js +0 -4
  258. package/dist/lib/_virtual/xmlhttprequest.browser.js +0 -4
  259. package/dist/lib/_virtual/yeast.js +0 -4
  260. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  261. package/dist/lib/assets/chart-themes/theme1.js +0 -7
  262. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  263. package/dist/lib/assets/chart-themes/theme2.js +0 -7
  264. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  265. package/dist/lib/assets/chart-themes/theme3.js +0 -7
  266. package/dist/lib/components/runtime/index.d.ts +0 -4
  267. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -18
  268. package/dist/lib/components/runtime/utils/api/api-util.js +0 -298
  269. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +0 -1
  270. package/dist/lib/components/runtime/utils/api/page-expose-util.js +0 -206
  271. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -295
  272. package/dist/lib/components/runtime/utils/barcode-util.d.ts +0 -8
  273. package/dist/lib/components/runtime/utils/barcode-util.js +0 -36
  274. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +0 -279
  275. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +0 -74
  276. package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +0 -118
  277. package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +0 -100
  278. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +0 -74
  279. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -51
  280. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -302
  281. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -17
  282. package/dist/lib/components/runtime/utils/common-util.js +0 -108
  283. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  284. package/dist/lib/components/runtime/utils/eventBus.js +0 -10
  285. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -68
  286. package/dist/lib/components/runtime/utils/events/event-util.js +0 -616
  287. package/dist/lib/components/runtime/utils/events/print-label.d.ts +0 -5
  288. package/dist/lib/components/runtime/utils/events/print-label.js +0 -153
  289. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -67
  290. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1817
  291. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -12
  292. package/dist/lib/components/runtime/utils/events/validator-util.js +0 -416
  293. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +0 -7
  294. package/dist/lib/components/runtime/utils/form/date-shortcuts.js +0 -96
  295. package/dist/lib/components/runtime/utils/form/scan-util.js +0 -194
  296. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  297. package/dist/lib/components/runtime/utils/global-refs.js +0 -77
  298. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -224
  299. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
  300. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -134
  301. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -668
  302. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -40
  303. package/dist/lib/components/runtime/utils/page-init-util.js +0 -266
  304. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  305. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  306. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  307. package/dist/lib/components/runtime/utils/store-util.js +0 -17
  308. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  309. package/dist/lib/components/runtime/utils/store.js +0 -3
  310. package/dist/lib/components/runtime/utils/table-utils.js +0 -16
  311. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  312. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  313. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  314. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  315. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  316. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -115
  317. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -3
  318. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -95
  319. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  320. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -144
  321. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  322. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  323. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  324. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  325. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -127
  326. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  327. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  328. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -106
  329. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  330. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -141
  331. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  332. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -115
  333. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  334. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -117
  335. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  336. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -147
  337. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  338. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  339. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  340. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  341. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  342. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  343. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  344. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  345. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  346. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  347. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
  348. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  349. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
  350. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  351. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -70
  352. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  353. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -50
  354. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  355. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
  356. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  357. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -109
  358. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  359. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
  360. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -3
  361. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -183
  362. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -673
  363. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  364. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -455
  365. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  366. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  367. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  368. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  369. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
  370. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  371. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  372. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -120
  373. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -65
  374. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -3
  375. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  376. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -149
  377. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  378. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -72
  379. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  380. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -42
  381. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  382. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -135
  383. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  384. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -67
  385. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  386. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -159
  387. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  388. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -130
  389. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  390. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
  391. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  392. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  393. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  394. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -160
  395. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  396. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -236
  397. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  398. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -204
  399. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -3
  400. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -41
  401. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  402. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -65
  403. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  404. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -66
  405. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  406. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -71
  407. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  408. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -154
  409. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  410. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -3
  411. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -39
  412. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -3
  413. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -39
  414. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  415. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -59
  416. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
  417. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -79
  418. package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
  419. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -99
  420. package/dist/lib/components/runtime/views/super-page.vue.js +0 -525
  421. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
  422. package/dist/lib/favicon.ico +0 -0
  423. package/dist/lib/i18n/langs/cn.js +0 -53
  424. package/dist/lib/i18n/langs/en.js +0 -53
  425. package/dist/lib/index.d.ts +0 -13
  426. package/dist/lib/index.js +0 -22
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
2
2
  import { getVariableValue, setVariableValue, getOptionDatasFromPage, monitorFieldChange, autoSetAfterSelect, queryOptionDatasources } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
- import { handleEvent } from "../../../../utils/events/event-util.js";
4
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "checkbox-runtime",
7
7
  props: {
@@ -104,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
104
  key: item.value,
105
105
  value: item.value,
106
106
  label: item.label,
107
- onClick: ($event) => unref(handleEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
107
+ onClick: ($event) => unref(handleFormEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
108
108
  }, null, 8, ["value", "label", "onClick"]);
109
109
  }), 128))
110
110
  ]),
@@ -28,14 +28,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  setVariableValue(entity, fields, defaultValue);
29
29
  }
30
30
  }
31
+ const prefixType = props.property.prefixType;
32
+ let prefixValue = props.property.prefixValue;
33
+ prefixValue = prefixValue == void 0 || prefixValue == null ? "" : prefixValue;
31
34
  let dynamicModelMethod = null;
32
35
  if (fields.length > 0) {
33
36
  dynamicModelMethod = computed({
34
37
  get() {
35
- return getVariableValue(entity, fields);
38
+ const value = getVariableValue(entity, fields);
39
+ if (prefixType === "checkbox") {
40
+ if (value === null || value === void 0) {
41
+ return false;
42
+ }
43
+ if (Array.isArray(value)) {
44
+ return value.includes(prefixValue);
45
+ } else {
46
+ return value === prefixValue;
47
+ }
48
+ } else {
49
+ return value;
50
+ }
36
51
  },
37
52
  set(value) {
38
- setVariableValue(entity, fields, value);
53
+ if (prefixType === "checkbox") {
54
+ let newValues = getVariableValue(entity, fields);
55
+ if (!newValues) {
56
+ newValues = [];
57
+ }
58
+ if (!Array.isArray(newValues)) {
59
+ newValues = [newValues];
60
+ }
61
+ const index = newValues.indexOf(prefixValue);
62
+ if (value) {
63
+ if (index == -1) {
64
+ newValues.push(prefixValue);
65
+ }
66
+ } else {
67
+ if (index > -1) {
68
+ newValues.splice(index, 1);
69
+ }
70
+ }
71
+ setVariableValue(entity, fields, newValues);
72
+ } else {
73
+ setVariableValue(entity, fields, value);
74
+ }
39
75
  }
40
76
  });
41
77
  }
@@ -1,8 +1,9 @@
1
- import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode } from "vue";
1
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { getDateShortCuts } from "../../../../utils/form/date-shortcuts.js";
4
- import { getVariableValue, setVariableValue, getValueFromVariable } from "../../../../utils/page-helper-util.js";
5
- import { getCustomFunc, handleEvent } from "../../../../utils/events/event-util.js";
4
+ import { getValueFromVariable, setVariableValue, getVariableValue } from "../../../../utils/page-helper-util.js";
5
+ import { getCustomFunc, handleFormEvent } from "../../../../utils/events/event-util.js";
6
+ import _sfc_main$1 from "../common/title-suffix-element.vue.js";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "datepicker-runtime",
8
9
  props: {
@@ -12,41 +13,52 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
13
  setup(__props) {
13
14
  const props = __props;
14
15
  const entity = props.pageContext.entity ? props.pageContext.entity : {};
15
- let dynamicFields = getFormModelFields(props.pageContext, props.configure);
16
- const dynamicModelMethod = computed({
17
- get() {
18
- return getVariableValue(entity, dynamicFields);
19
- },
20
- set(value) {
21
- setVariableValue(entity, dynamicFields, value);
22
- }
23
- });
24
16
  const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
25
17
  const runtimeStyle = runtimeInfo.style;
26
18
  const runtimeClass = runtimeInfo.class;
27
19
  const headerStyle = runtimeInfo.headerStyle;
28
20
  const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
21
+ let dynamicFields = getFormModelFields(props.pageContext, props.configure);
22
+ let dynamicFields2 = null;
23
+ let isRange = false;
29
24
  if (designProperty.value.dateType && designProperty.value.dateType.includes("range")) {
30
- let hisValue = getVariableValue(entity, dynamicFields);
31
- if (hisValue && !Array.isArray(hisValue)) {
32
- hisValue = [hisValue];
25
+ isRange = true;
26
+ let propName = designProperty.value.prop2;
27
+ if (!propName || !propName.startsWith("${")) {
28
+ propName = "${page." + props.configure.uuid + "-2}";
33
29
  }
30
+ propName = propName.substring(2, propName.length - 1);
31
+ dynamicFields2 = propName.split(".");
34
32
  if (!entity.data || !entity.data.id && !entity.data.ID) {
35
33
  if (designProperty.value.defaultValue2) {
36
34
  const defaultValue2 = getValueFromVariable(entity, designProperty.value.defaultValue2);
37
- hisValue = !hisValue ? [] : hisValue;
38
- if (hisValue.length == 0) {
39
- hisValue.push(void 0);
40
- }
41
- if (hisValue.length > 1) {
42
- hisValue[1] = defaultValue2;
43
- } else {
44
- hisValue.push(defaultValue2);
45
- }
35
+ setVariableValue(entity, dynamicFields2, defaultValue2);
46
36
  }
47
37
  }
48
- setVariableValue(entity, dynamicFields, hisValue);
49
38
  }
39
+ const dynamicModelMethod = computed({
40
+ get() {
41
+ if (isRange) {
42
+ const values = [];
43
+ values.push(getVariableValue(entity, dynamicFields));
44
+ values.push(getVariableValue(entity, dynamicFields2));
45
+ return values;
46
+ } else {
47
+ return getVariableValue(entity, dynamicFields);
48
+ }
49
+ },
50
+ set(value) {
51
+ if (isRange) {
52
+ if (Array.isArray(value)) {
53
+ setVariableValue(entity, dynamicFields, value[0]);
54
+ setVariableValue(entity, dynamicFields2, value[1]);
55
+ }
56
+ } else {
57
+ setVariableValue(entity, dynamicFields, value);
58
+ }
59
+ console.log("entity", entity);
60
+ }
61
+ });
50
62
  const shortcuts = ref(
51
63
  getDateShortCuts(
52
64
  designProperty.value.dateScopeDetails,
@@ -76,7 +88,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
88
  }
77
89
  }
78
90
  }
79
- console.log("shortcuts", shortcuts.value);
80
91
  }
81
92
  }
82
93
  return (_ctx, _cache) => {
@@ -93,7 +104,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
104
  designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
94
105
  key: 0,
95
106
  style: normalizeStyle({ ...unref(headerStyle) })
96
- }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
107
+ }, [
108
+ designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
109
+ key: 0,
110
+ pageContext: _ctx.pageContext,
111
+ property: designProperty.value
112
+ }, null, 8, ["pageContext", "property"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
113
+ createTextVNode(toDisplayString(designProperty.value.title), 1)
114
+ ], 64))
115
+ ], 4)) : createCommentVNode("", true)
97
116
  ]),
98
117
  default: withCtx(() => [
99
118
  designProperty.value.dateType == "time" || designProperty.value.dateType == "timerange" ? (openBlock(), createBlock(_component_el_time_picker, {
@@ -112,12 +131,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
112
131
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
113
132
  shortcuts: shortcuts.value,
114
133
  type: designProperty.value.dateType,
115
- onChange: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
116
- onBlur: _cache[2] || (_cache[2] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
117
- onFocus: _cache[3] || (_cache[3] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
118
- onCalendarChange: _cache[4] || (_cache[4] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "calendar-change")),
119
- onVisibleChange: _cache[5] || (_cache[5] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "visible-change")),
120
- onPanelChange: _cache[6] || (_cache[6] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "panel-change"))
134
+ onChange: _cache[1] || (_cache[1] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
135
+ onBlur: _cache[2] || (_cache[2] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
136
+ onFocus: _cache[3] || (_cache[3] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
137
+ onVisibleChange: _cache[4] || (_cache[4] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "visible-change")),
138
+ onPanelChange: _cache[5] || (_cache[5] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "panel-change"))
121
139
  }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
122
140
  key: 1,
123
141
  clearable: designProperty.value.clearable,
@@ -129,15 +147,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
129
147
  "end-placeholder": designProperty.value.endPlaceholder,
130
148
  format: designProperty.value.format,
131
149
  modelValue: dynamicModelMethod.value,
132
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => dynamicModelMethod.value = $event),
150
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => dynamicModelMethod.value = $event),
133
151
  shortcuts: shortcuts.value,
134
152
  type: designProperty.value.dateType,
135
- onChange: _cache[8] || (_cache[8] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
136
- onBlur: _cache[9] || (_cache[9] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
137
- onFocus: _cache[10] || (_cache[10] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
138
- onCalendarChange: _cache[11] || (_cache[11] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "calendar-change")),
139
- onVisibleChange: _cache[12] || (_cache[12] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "visible-change")),
140
- onPanelChange: _cache[13] || (_cache[13] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "panel-change"))
153
+ onChange: _cache[7] || (_cache[7] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
154
+ onBlur: _cache[8] || (_cache[8] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
155
+ onFocus: _cache[9] || (_cache[9] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
156
+ onVisibleChange: _cache[10] || (_cache[10] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "visible-change")),
157
+ onPanelChange: _cache[11] || (_cache[11] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "panel-change"))
141
158
  }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
142
159
  ]),
143
160
  _: 1
@@ -1,10 +1,11 @@
1
- import { defineComponent, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import "agilebuilder-ui/src/utils/request";
4
4
  import "dayjs";
5
5
  import "agilebuilder-ui/src/utils/calculator/calculator-util";
6
6
  import "../../../../utils/global-refs.js";
7
- import { handleEvent } from "../../../../utils/events/event-util.js";
7
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
8
+ import _sfc_main$1 from "../common/title-suffix-element.vue.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "depttree-runtime",
10
11
  props: {
@@ -27,10 +28,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
28
  const headerStyle = runtimeInfo.headerStyle;
28
29
  const autoSetFields = designProperty.value.autoSetFields ? designProperty.value.autoSetFields : [];
29
30
  function changeValue(value) {
30
- handleEvent(value, props.pageContext, props.configure, "change");
31
+ handleFormEvent(value, props.pageContext, props.configure, "change");
31
32
  }
32
33
  function showTree() {
33
- handleEvent(null, props.pageContext, props.configure, "click");
34
+ handleFormEvent(null, props.pageContext, props.configure, "click");
34
35
  }
35
36
  return (_ctx, _cache) => {
36
37
  const _component_OrganizationInput = resolveComponent("OrganizationInput");
@@ -45,7 +46,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
46
  designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
46
47
  key: 0,
47
48
  style: normalizeStyle({ ...unref(headerStyle) })
48
- }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
49
+ }, [
50
+ designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
51
+ key: 0,
52
+ pageContext: _ctx.pageContext,
53
+ property: designProperty.value
54
+ }, null, 8, ["pageContext", "property"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
55
+ createTextVNode(toDisplayString(designProperty.value.title), 1)
56
+ ], 64))
57
+ ], 4)) : createCommentVNode("", true)
49
58
  ]),
50
59
  default: withCtx(() => [
51
60
  createVNode(_component_OrganizationInput, {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeStyle, toDisplayString } from "vue";
2
2
  import { formatVariableValue } from "../../../../utils/page-helper-util.js";
3
- import { handleEvent } from "../../../../utils/events/event-util.js";
3
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "divider-runtime",
6
6
  props: {
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  direction: designProperty.value.direction,
27
27
  "border-style": designProperty.value.borderType,
28
28
  "content-position": designProperty.value.titlePosition,
29
- onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
29
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
30
30
  }, {
31
31
  default: withCtx(() => [
32
32
  createElementVNode("div", {
@@ -1,7 +1,8 @@
1
- import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
1
+ import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, 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
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
5
+ import _sfc_main$1 from "../common/title-suffix-element.vue.js";
5
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
7
  __name: "input-number-runtime",
7
8
  props: {
@@ -38,7 +39,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
39
  designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
39
40
  key: 0,
40
41
  style: normalizeStyle({ ...unref(headerStyle) })
41
- }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
42
+ }, [
43
+ designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
44
+ key: 0,
45
+ pageContext: _ctx.pageContext,
46
+ property: designProperty.value
47
+ }, null, 8, ["pageContext", "property"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
48
+ createTextVNode(toDisplayString(designProperty.value.title), 1)
49
+ ], 64))
50
+ ], 4)) : createCommentVNode("", true)
42
51
  ]),
43
52
  default: withCtx(() => [
44
53
  createVNode(_component_el_input_number, {
@@ -53,9 +62,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
62
  step: designProperty.value.step,
54
63
  min: designProperty.value.min,
55
64
  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"))
65
+ onChange: _cache[1] || (_cache[1] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
66
+ onBlur: _cache[2] || (_cache[2] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
67
+ onFocus: _cache[3] || (_cache[3] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "focus"))
59
68
  }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
60
69
  ]),
61
70
  _: 1
@@ -2,7 +2,7 @@ import { defineComponent, computed, ref, watch, resolveComponent, openBlock, cre
2
2
  import { SuperIcon } from "agilebuilder-ui";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
4
  import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
5
- import { handleEvent } from "../../../../utils/events/event-util.js";
5
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
6
6
  import { formatScanRuleSets, analysisScanValue, setScanAnalysisValue } from "../../../../utils/form/scan-util.js";
7
7
  import _sfc_main$1 from "../common/title-suffix-element.vue.js";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -93,12 +93,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
93
  maxlength: designProperty.value.maxLength,
94
94
  "show-word-limit": designProperty.value.showInputNum,
95
95
  modelValue: dynamicModelMethod.value,
96
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
97
- onInput: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
98
- onChange: _cache[2] || (_cache[2] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
99
- onBlur: _cache[3] || (_cache[3] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
100
- onFocus: _cache[4] || (_cache[4] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
101
- onClick: _cache[5] || (_cache[5] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
96
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => dynamicModelMethod.value = $event),
97
+ onInput: _cache[5] || (_cache[5] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
98
+ onChange: _cache[6] || (_cache[6] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
99
+ onBlur: _cache[7] || (_cache[7] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
100
+ onFocus: _cache[8] || (_cache[8] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
101
+ onClick: _cache[9] || (_cache[9] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
102
102
  }, createSlots({ _: 2 }, [
103
103
  designProperty.value.iconPosition != "outer" && (designProperty.value.preIconType && designProperty.value.preIconValue || designProperty.value.preText) ? {
104
104
  name: "prefix",
@@ -106,7 +106,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
106
  designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
107
107
  key: 0,
108
108
  iconType: designProperty.value.preIconType,
109
- iconValue: designProperty.value.preIconValue
109
+ iconValue: designProperty.value.preIconValue,
110
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleFormEvent)(dynamicModelMethod.value, _ctx.pageContext, _ctx.configure, "prefixClick"))
110
111
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
111
112
  createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
112
113
  ]),
@@ -118,7 +119,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
118
119
  designProperty.value.preIconType && designProperty.value.preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
119
120
  key: 0,
120
121
  iconType: designProperty.value.preIconType,
121
- iconValue: designProperty.value.preIconValue
122
+ iconValue: designProperty.value.preIconValue,
123
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(handleFormEvent)(dynamicModelMethod.value, _ctx.pageContext, _ctx.configure, "prefixClick"))
122
124
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
123
125
  createTextVNode(" " + toDisplayString(designProperty.value.preText), 1)
124
126
  ]),
@@ -130,7 +132,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
130
132
  designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
131
133
  key: 0,
132
134
  iconType: designProperty.value.sufIconType,
133
- iconValue: designProperty.value.sufIconValue
135
+ iconValue: designProperty.value.sufIconValue,
136
+ onClick: _cache[2] || (_cache[2] = ($event) => unref(handleFormEvent)(dynamicModelMethod.value, _ctx.pageContext, _ctx.configure, "suffixClick"))
134
137
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
135
138
  createTextVNode(" " + toDisplayString(designProperty.value.sufText), 1)
136
139
  ]),
@@ -142,7 +145,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
142
145
  designProperty.value.sufIconType && designProperty.value.sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
143
146
  key: 0,
144
147
  iconType: designProperty.value.sufIconType,
145
- iconValue: designProperty.value.sufIconValue
148
+ iconValue: designProperty.value.sufIconValue,
149
+ onClick: _cache[3] || (_cache[3] = ($event) => unref(handleFormEvent)(dynamicModelMethod.value, _ctx.pageContext, _ctx.configure, "suffixClick"))
146
150
  }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
147
151
  createTextVNode(" " + toDisplayString(designProperty.value.sufText), 1)
148
152
  ]),
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, resolveComponent, openBlock, createBloc
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { queryOptions, formatVariableValue, formatValueByType } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon } from "agilebuilder-ui";
5
- import { handleEvent } from "../../../../utils/events/event-util.js";
5
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
6
6
  const _hoisted_1 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
7
7
  const _hoisted_2 = ["title"];
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -76,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  default: withCtx(() => [
77
77
  createElementVNode("div", {
78
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"))
79
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
80
80
  }, [
81
81
  createElementVNode("span", _hoisted_1, [
82
82
  designProperty.value.preIconValue || designProperty.value.preText ? (openBlock(), createElementBlock("span", {
@@ -111,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
111
111
  }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", {
112
112
  key: 1,
113
113
  style: { "display": "flex", "justify-content": "space-between" },
114
- onClick: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
114
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
115
115
  }, [
116
116
  createElementVNode("span", {
117
117
  style: { "overflow": "hidden", "white-space": "nowrap" },
@@ -1,7 +1,7 @@
1
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
3
  import { formatVariableValue } from "../../../../utils/page-helper-util.js";
4
- import { handleEvent } from "../../../../utils/events/event-util.js";
4
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "link-runtime",
7
7
  props: {
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  disabled: designProperty.value.state === "disabled",
59
59
  type: designProperty.value.type,
60
60
  underline: designProperty.value.underline,
61
- onClick: _cache[0] || (_cache[0] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
61
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
62
62
  }, {
63
63
  default: withCtx(() => [
64
64
  createTextVNode(toDisplayString(dynamicValue.value), 1)
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
2
2
  import { getVariableValue, setVariableValue, getOptionDatasFromPage, autoSetAfterSelect, queryOptionDatasources } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
- import { handleEvent } from "../../../../utils/events/event-util.js";
4
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "radio-runtime",
7
7
  props: {
@@ -106,7 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
106
106
  }
107
107
  autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems);
108
108
  }
109
- handleEvent(value, props.pageContext, props.configure, "change");
109
+ handleFormEvent(value, props.pageContext, props.configure, "change");
110
110
  }
111
111
  function updateOptions(newOptions) {
112
112
  listOptions.value = newOptions ? newOptions : [];
@@ -144,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
144
144
  key: item.value,
145
145
  value: item.value,
146
146
  label: item.label,
147
- onClick: ($event) => unref(handleEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
147
+ onClick: ($event) => unref(handleFormEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
148
148
  }, null, 8, ["value", "label", "onClick"]);
149
149
  }), 128))
150
150
  ]),
@@ -1,9 +1,9 @@
1
- import { defineComponent, ref, onMounted, onBeforeUnmount, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode } from "vue";
1
+ import { defineComponent, ref, watch, onMounted, onBeforeUnmount, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode } from "vue";
2
2
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
3
3
  import { formatVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
4
4
  import Quill from "quill";
5
5
  import "quill/dist/quill.snow.css";
6
- import { handleEvent } from "../../../../utils/events/event-util.js";
6
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
7
7
  import http from "agilebuilder-ui/src/utils/request";
8
8
  const _hoisted_1 = { style: { "width": "100%", "height": "100%" } };
9
9
  const _hoisted_2 = {
@@ -44,6 +44,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  "32px",
45
45
  "36px"
46
46
  ];
47
+ let hisState = designProperty.value.state;
48
+ function checkReadonly(state) {
49
+ return state == "readonly" || state == "disabled";
50
+ }
51
+ const initReadonly = checkReadonly(hisState);
47
52
  const option = ref({
48
53
  modules: {
49
54
  toolbar: [
@@ -76,21 +81,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
81
  ]
77
82
  },
78
83
  theme: "snow",
79
- placeholder: designProperty.value.placeholder,
80
- readOnly: designProperty.value.state == "readonly"
84
+ placeholder: initReadonly ? "" : designProperty.value.placeholder,
85
+ readOnly: initReadonly
86
+ });
87
+ watch(designProperty.value, () => {
88
+ const newState = designProperty.value.state;
89
+ if (newState != void 0 && newState !== hisState) {
90
+ hisState = newState;
91
+ const isReadonly = checkReadonly(hisState);
92
+ if (quill.value) {
93
+ quill.value.enable(!isReadonly);
94
+ quill.value.root.dataset.placeholder = isReadonly ? "" : designProperty.value.placeholder;
95
+ }
96
+ }
81
97
  });
82
98
  function updateEditorHeight() {
83
- if (quill.value && quill.value) {
84
- if (quill.value.container) {
85
- const parentNode = quill.value.container.parentNode;
86
- const parentRect = parentNode.getBoundingClientRect();
87
- const thisRect = quill.value.container.getBoundingClientRect();
88
- let newHeight = parentRect.height - (thisRect.top - parentRect.top);
89
- if (newHeight < 100) {
90
- newHeight = 100;
91
- }
92
- quill.value.container.style.height = newHeight + "px";
99
+ if (quill.value && quill.value.container) {
100
+ const parentNode = quill.value.container.parentNode;
101
+ const parentRect = parentNode.getBoundingClientRect();
102
+ const thisRect = quill.value.container.getBoundingClientRect();
103
+ let newHeight = parentRect.height - (thisRect.top - parentRect.top);
104
+ if (newHeight < 100) {
105
+ newHeight = 100;
93
106
  }
107
+ quill.value.container.style.height = newHeight + "px";
94
108
  }
95
109
  }
96
110
  const handleUpload = (e) => {
@@ -147,7 +161,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
147
161
  function handleFocusOut(event) {
148
162
  var _a;
149
163
  if (event.relatedTarget === null || !((_a = quillEditorRef.value) == null ? void 0 : _a.contains(event.relatedTarget))) {
150
- handleEvent(quill.value.root.innerHTML, props.pageContext, props.configure, "change", {
164
+ handleFormEvent(quill.value.root.innerHTML, props.pageContext, props.configure, "change", {
151
165
  entity
152
166
  });
153
167
  }
@@ -164,11 +178,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
164
178
  if (!baseUrl) {
165
179
  baseUrl = window["$vueApp"].config.globalProperties.baseURL;
166
180
  }
167
- return http.post(
168
- baseUrl + "/common/fs-upload/rich-editor-image",
169
- params,
170
- config
171
- );
181
+ return http.post(baseUrl + "/common/fs-upload/rich-editor-image", params, config);
172
182
  }
173
183
  function dataURLtoFile(dataurl, filename) {
174
184
  let arr = dataurl.split(",");
@@ -1,7 +1,8 @@
1
- import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList, createElementVNode } from "vue";
1
+ import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderList, createElementVNode } from "vue";
2
2
  import { getVariableValue, setVariableValue, getOptionDatasFromPage, queryOptionDatasources, autoSetAfterSelect } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields } from "../../../../utils/page-init-util.js";
4
- import { handleEvent } from "../../../../utils/events/event-util.js";
4
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
5
+ import _sfc_main$1 from "../common/title-suffix-element.vue.js";
5
6
  const _hoisted_1 = { style: { "float": "left" } };
6
7
  const _hoisted_2 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -130,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
130
131
  }
131
132
  autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems);
132
133
  }
133
- handleEvent(value, props.pageContext, props.configure, "change");
134
+ handleFormEvent(value, props.pageContext, props.configure, "change");
134
135
  }
135
136
  function updateOptions(newOptions) {
136
137
  listOptions.value = newOptions ? newOptions : [];
@@ -153,7 +154,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
153
154
  designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
154
155
  key: 0,
155
156
  style: normalizeStyle({ ...unref(headerStyle) })
156
- }, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
157
+ }, [
158
+ designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
159
+ key: 0,
160
+ pageContext: _ctx.pageContext,
161
+ property: designProperty.value
162
+ }, null, 8, ["pageContext", "property"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
163
+ createTextVNode(toDisplayString(designProperty.value.title), 1)
164
+ ], 64))
165
+ ], 4)) : createCommentVNode("", true)
157
166
  ]),
158
167
  default: withCtx(() => [
159
168
  createVNode(_component_el_select, {
@@ -180,7 +189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
180
189
  key: item.value,
181
190
  label: item.label,
182
191
  value: item.value,
183
- onClick: ($event) => unref(handleEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
192
+ onClick: ($event) => unref(handleFormEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
184
193
  }, {
185
194
  default: withCtx(() => [
186
195
  item._description_ ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -1,7 +1,7 @@
1
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
+ import { handleFormEvent } from "../../../../utils/events/event-util.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "switch-runtime",
7
7
  props: {
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  style: normalizeStyle(unref(switchStyle)),
54
54
  modelValue: dynamicModelMethod.value,
55
55
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
56
- onChange: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change"))
56
+ onChange: _cache[1] || (_cache[1] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "change"))
57
57
  }, null, 8, ["disabled", "active-value:", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])
58
58
  ]),
59
59
  _: 1