super-page-runtime 2.3.17-sit4 → 2.3.18-tmp1

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 (484) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -70
  2. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  3. package/dist/es/components/runtime/utils/events/print-label.js +26 -25
  4. package/dist/es/components/runtime/utils/events/standard-event.js +10 -10
  5. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  6. package/dist/es/components/runtime/utils/page-init-util.d.ts +2 -1
  7. package/dist/es/components/runtime/utils/page-init-util.js +87 -66
  8. package/dist/es/components/runtime/utils/page-store.js +10 -10
  9. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  11. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
  12. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
  13. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
  14. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  15. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
  16. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
  17. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  18. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
  19. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
  20. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
  21. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +35 -35
  22. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +35 -34
  24. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -3
  25. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -0
  26. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -0
  28. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +13 -11
  29. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
  30. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  31. package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
  32. package/dist/es/components/runtime/views/super-page.vue.d.ts +9 -0
  33. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  34. package/dist/es/components/runtime/views/super-page.vue2.js +141 -132
  35. package/dist/es/style.css +76 -76
  36. package/dist/lib/_virtual/AttributeMap.js +4 -0
  37. package/dist/lib/_virtual/Barcode.js +4 -0
  38. package/dist/lib/_virtual/CODE128.js +4 -0
  39. package/dist/lib/_virtual/CODE128A.js +4 -0
  40. package/dist/lib/_virtual/CODE128B.js +4 -0
  41. package/dist/lib/_virtual/CODE128C.js +4 -0
  42. package/dist/lib/_virtual/CODE128_AUTO.js +4 -0
  43. package/dist/lib/_virtual/CODE93.js +4 -0
  44. package/dist/lib/_virtual/CODE93FullASCII.js +4 -0
  45. package/dist/lib/_virtual/Delta.js +4 -0
  46. package/dist/lib/_virtual/EAN.js +4 -0
  47. package/dist/lib/_virtual/EAN13.js +4 -0
  48. package/dist/lib/_virtual/EAN2.js +4 -0
  49. package/dist/lib/_virtual/EAN5.js +4 -0
  50. package/dist/lib/_virtual/EAN8.js +4 -0
  51. package/dist/lib/_virtual/ErrorHandler.js +4 -0
  52. package/dist/lib/_virtual/ITF.js +4 -0
  53. package/dist/lib/_virtual/ITF14.js +4 -0
  54. package/dist/lib/_virtual/JsBarcode.js +6 -0
  55. package/dist/lib/_virtual/MSI.js +4 -0
  56. package/dist/lib/_virtual/MSI10.js +4 -0
  57. package/dist/lib/_virtual/MSI1010.js +4 -0
  58. package/dist/lib/_virtual/MSI11.js +4 -0
  59. package/dist/lib/_virtual/MSI1110.js +4 -0
  60. package/dist/lib/_virtual/Op.js +4 -0
  61. package/dist/lib/_virtual/OpIterator.js +4 -0
  62. package/dist/lib/_virtual/OverloadYield.js +4 -0
  63. package/dist/lib/_virtual/SVGPathData.js +4 -0
  64. package/dist/lib/_virtual/SVGPathData2.js +5 -0
  65. package/dist/lib/_virtual/UPC.js +4 -0
  66. package/dist/lib/_virtual/UPCE.js +4 -0
  67. package/dist/lib/_virtual/_commonjsHelpers.js +33 -0
  68. package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
  69. package/dist/lib/_virtual/alignment-pattern.js +4 -0
  70. package/dist/lib/_virtual/arrayLikeToArray.js +4 -0
  71. package/dist/lib/_virtual/arrayWithHoles.js +4 -0
  72. package/dist/lib/_virtual/arrayWithoutHoles.js +4 -0
  73. package/dist/lib/_virtual/assertThisInitialized.js +4 -0
  74. package/dist/lib/_virtual/asyncToGenerator.js +4 -0
  75. package/dist/lib/_virtual/asyncToGenerator2.js +6 -0
  76. package/dist/lib/_virtual/auto.js +4 -0
  77. package/dist/lib/_virtual/backo2.js +4 -0
  78. package/dist/lib/_virtual/base64-arraybuffer.js +4 -0
  79. package/dist/lib/_virtual/binary.js +4 -0
  80. package/dist/lib/_virtual/browser.js +4 -0
  81. package/dist/lib/_virtual/browser2.js +4 -0
  82. package/dist/lib/_virtual/canvas.js +4 -0
  83. package/dist/lib/_virtual/canvas2.js +4 -0
  84. package/dist/lib/_virtual/checksums.js +4 -0
  85. package/dist/lib/_virtual/classCallCheck.js +4 -0
  86. package/dist/lib/_virtual/clipboard.js +4 -0
  87. package/dist/lib/_virtual/commons.js +4 -0
  88. package/dist/lib/_virtual/constants.js +4 -0
  89. package/dist/lib/_virtual/constants2.js +4 -0
  90. package/dist/lib/_virtual/constants3.js +4 -0
  91. package/dist/lib/_virtual/constants4.js +4 -0
  92. package/dist/lib/_virtual/createClass.js +4 -0
  93. package/dist/lib/_virtual/dayjs.min.js +4 -0
  94. package/dist/lib/_virtual/decodePacket.browser.js +4 -0
  95. package/dist/lib/_virtual/defaults.js +4 -0
  96. package/dist/lib/_virtual/defineProperty.js +4 -0
  97. package/dist/lib/_virtual/defineProperty2.js +6 -0
  98. package/dist/lib/_virtual/dijkstra.js +4 -0
  99. package/dist/lib/_virtual/encodePacket.browser.js +4 -0
  100. package/dist/lib/_virtual/encoder.js +4 -0
  101. package/dist/lib/_virtual/error-correction-code.js +4 -0
  102. package/dist/lib/_virtual/error-correction-level.js +4 -0
  103. package/dist/lib/_virtual/es.array.concat.js +4 -0
  104. package/dist/lib/_virtual/es.array.every.js +4 -0
  105. package/dist/lib/_virtual/es.array.fill.js +4 -0
  106. package/dist/lib/_virtual/es.array.for-each.js +4 -0
  107. package/dist/lib/_virtual/es.array.from.js +4 -0
  108. package/dist/lib/_virtual/es.array.includes.js +4 -0
  109. package/dist/lib/_virtual/es.array.index-of.js +4 -0
  110. package/dist/lib/_virtual/es.array.index-of2.js +3 -0
  111. package/dist/lib/_virtual/es.array.iterator.js +3 -0
  112. package/dist/lib/_virtual/es.array.join.js +4 -0
  113. package/dist/lib/_virtual/es.array.map.js +4 -0
  114. package/dist/lib/_virtual/es.array.reduce.js +4 -0
  115. package/dist/lib/_virtual/es.array.reduce2.js +3 -0
  116. package/dist/lib/_virtual/es.array.reverse.js +4 -0
  117. package/dist/lib/_virtual/es.array.reverse2.js +3 -0
  118. package/dist/lib/_virtual/es.array.some.js +4 -0
  119. package/dist/lib/_virtual/es.function.name.js +4 -0
  120. package/dist/lib/_virtual/es.map.constructor.js +4 -0
  121. package/dist/lib/_virtual/es.map.js +4 -0
  122. package/dist/lib/_virtual/es.number.constructor.js +4 -0
  123. package/dist/lib/_virtual/es.object.to-string.js +4 -0
  124. package/dist/lib/_virtual/es.parse-float.js +4 -0
  125. package/dist/lib/_virtual/es.promise.all.js +4 -0
  126. package/dist/lib/_virtual/es.promise.catch.js +4 -0
  127. package/dist/lib/_virtual/es.promise.constructor.js +4 -0
  128. package/dist/lib/_virtual/es.promise.js +4 -0
  129. package/dist/lib/_virtual/es.promise.race.js +4 -0
  130. package/dist/lib/_virtual/es.promise.reject.js +4 -0
  131. package/dist/lib/_virtual/es.promise.resolve.js +4 -0
  132. package/dist/lib/_virtual/es.promise2.js +3 -0
  133. package/dist/lib/_virtual/es.reflect.apply.js +4 -0
  134. package/dist/lib/_virtual/es.reflect.delete-property.js +4 -0
  135. package/dist/lib/_virtual/es.reflect.get-prototype-of.js +4 -0
  136. package/dist/lib/_virtual/es.regexp.exec.js +4 -0
  137. package/dist/lib/_virtual/es.regexp.to-string.js +4 -0
  138. package/dist/lib/_virtual/es.regexp.to-string2.js +3 -0
  139. package/dist/lib/_virtual/es.string.ends-with.js +4 -0
  140. package/dist/lib/_virtual/es.string.ends-with2.js +3 -0
  141. package/dist/lib/_virtual/es.string.includes.js +4 -0
  142. package/dist/lib/_virtual/es.string.includes2.js +3 -0
  143. package/dist/lib/_virtual/es.string.iterator.js +4 -0
  144. package/dist/lib/_virtual/es.string.match.js +4 -0
  145. package/dist/lib/_virtual/es.string.match2.js +3 -0
  146. package/dist/lib/_virtual/es.string.replace.js +4 -0
  147. package/dist/lib/_virtual/es.string.replace2.js +3 -0
  148. package/dist/lib/_virtual/es.string.split.js +4 -0
  149. package/dist/lib/_virtual/es.string.split2.js +3 -0
  150. package/dist/lib/_virtual/es.string.starts-with.js +4 -0
  151. package/dist/lib/_virtual/es.string.starts-with2.js +3 -0
  152. package/dist/lib/_virtual/es.string.trim.js +4 -0
  153. package/dist/lib/_virtual/es.string.trim2.js +3 -0
  154. package/dist/lib/_virtual/exceptions.js +4 -0
  155. package/dist/lib/_virtual/finder-pattern.js +4 -0
  156. package/dist/lib/_virtual/fixOptions.js +4 -0
  157. package/dist/lib/_virtual/format-info.js +4 -0
  158. package/dist/lib/_virtual/galois-field.js +4 -0
  159. package/dist/lib/_virtual/get.js +4 -0
  160. package/dist/lib/_virtual/getOptionsFromElement.js +4 -0
  161. package/dist/lib/_virtual/getPrototypeOf.js +4 -0
  162. package/dist/lib/_virtual/getRenderProperties.js +4 -0
  163. package/dist/lib/_virtual/globals.js +4 -0
  164. package/dist/lib/_virtual/has-cors.js +4 -0
  165. package/dist/lib/_virtual/html2canvas.js +4 -0
  166. package/dist/lib/_virtual/index.js +4 -0
  167. package/dist/lib/_virtual/index10.js +4 -0
  168. package/dist/lib/_virtual/index11.js +4 -0
  169. package/dist/lib/_virtual/index12.js +4 -0
  170. package/dist/lib/_virtual/index13.js +4 -0
  171. package/dist/lib/_virtual/index14.js +4 -0
  172. package/dist/lib/_virtual/index15.js +4 -0
  173. package/dist/lib/_virtual/index16.js +4 -0
  174. package/dist/lib/_virtual/index17.js +4 -0
  175. package/dist/lib/_virtual/index18.js +4 -0
  176. package/dist/lib/_virtual/index19.js +4 -0
  177. package/dist/lib/_virtual/index2.js +4 -0
  178. package/dist/lib/_virtual/index20.js +4 -0
  179. package/dist/lib/_virtual/index21.js +4 -0
  180. package/dist/lib/_virtual/index22.js +4 -0
  181. package/dist/lib/_virtual/index23.js +4 -0
  182. package/dist/lib/_virtual/index24.js +4 -0
  183. package/dist/lib/_virtual/index3.js +4 -0
  184. package/dist/lib/_virtual/index4.js +5 -0
  185. package/dist/lib/_virtual/index5.js +4 -0
  186. package/dist/lib/_virtual/index6.js +4 -0
  187. package/dist/lib/_virtual/index7.js +4 -0
  188. package/dist/lib/_virtual/index8.js +6 -0
  189. package/dist/lib/_virtual/index9.js +6 -0
  190. package/dist/lib/_virtual/inherits.js +4 -0
  191. package/dist/lib/_virtual/internal-metadata.js +4 -0
  192. package/dist/lib/_virtual/is-binary.js +4 -0
  193. package/dist/lib/_virtual/iterableToArray.js +4 -0
  194. package/dist/lib/_virtual/iterableToArrayLimit.js +4 -0
  195. package/dist/lib/_virtual/jquery.js +4 -0
  196. package/dist/lib/_virtual/jspdf.es.min.js +5 -0
  197. package/dist/lib/_virtual/linearizeEncodings.js +4 -0
  198. package/dist/lib/_virtual/make-built-in.js +4 -0
  199. package/dist/lib/_virtual/manager.js +4 -0
  200. package/dist/lib/_virtual/mask-pattern.js +4 -0
  201. package/dist/lib/_virtual/merge.js +4 -0
  202. package/dist/lib/_virtual/mode.js +4 -0
  203. package/dist/lib/_virtual/new-promise-capability.js +4 -0
  204. package/dist/lib/_virtual/nonIterableRest.js +4 -0
  205. package/dist/lib/_virtual/nonIterableSpread.js +4 -0
  206. package/dist/lib/_virtual/object-define-properties.js +4 -0
  207. package/dist/lib/_virtual/object-define-property.js +4 -0
  208. package/dist/lib/_virtual/object-get-own-property-descriptor.js +4 -0
  209. package/dist/lib/_virtual/object-get-own-property-names-external.js +4 -0
  210. package/dist/lib/_virtual/object-get-own-property-names.js +4 -0
  211. package/dist/lib/_virtual/object-get-own-property-symbols.js +4 -0
  212. package/dist/lib/_virtual/object-property-is-enumerable.js +4 -0
  213. package/dist/lib/_virtual/object.js +4 -0
  214. package/dist/lib/_virtual/on.js +4 -0
  215. package/dist/lib/_virtual/optionsFromStrings.js +4 -0
  216. package/dist/lib/_virtual/parseqs.js +4 -0
  217. package/dist/lib/_virtual/parseuri.js +4 -0
  218. package/dist/lib/_virtual/performance-now.js +4 -0
  219. package/dist/lib/_virtual/polling-fetch.js +4 -0
  220. package/dist/lib/_virtual/polling-xhr.js +4 -0
  221. package/dist/lib/_virtual/polling.js +4 -0
  222. package/dist/lib/_virtual/polynomial.js +4 -0
  223. package/dist/lib/_virtual/possibleConstructorReturn.js +4 -0
  224. package/dist/lib/_virtual/qrcode.js +4 -0
  225. package/dist/lib/_virtual/regenerator.js +4 -0
  226. package/dist/lib/_virtual/regeneratorAsync.js +4 -0
  227. package/dist/lib/_virtual/regeneratorAsyncGen.js +4 -0
  228. package/dist/lib/_virtual/regeneratorAsyncIterator.js +4 -0
  229. package/dist/lib/_virtual/regeneratorDefine.js +4 -0
  230. package/dist/lib/_virtual/regeneratorKeys.js +4 -0
  231. package/dist/lib/_virtual/regeneratorRuntime.js +4 -0
  232. package/dist/lib/_virtual/regeneratorValues.js +4 -0
  233. package/dist/lib/_virtual/regex.js +4 -0
  234. package/dist/lib/_virtual/segments.js +4 -0
  235. package/dist/lib/_virtual/setPrototypeOf.js +4 -0
  236. package/dist/lib/_virtual/shared-store.js +4 -0
  237. package/dist/lib/_virtual/shared.js +4 -0
  238. package/dist/lib/_virtual/slicedToArray.js +4 -0
  239. package/dist/lib/_virtual/socket.js +4 -0
  240. package/dist/lib/_virtual/socket2.js +4 -0
  241. package/dist/lib/_virtual/stackblur-es.js +5 -0
  242. package/dist/lib/_virtual/superPropBase.js +4 -0
  243. package/dist/lib/_virtual/svg-tag.js +4 -0
  244. package/dist/lib/_virtual/svg.js +4 -0
  245. package/dist/lib/_virtual/toConsumableArray.js +4 -0
  246. package/dist/lib/_virtual/toPrimitive.js +4 -0
  247. package/dist/lib/_virtual/toPropertyKey.js +4 -0
  248. package/dist/lib/_virtual/transport.js +4 -0
  249. package/dist/lib/_virtual/typeof.js +4 -0
  250. package/dist/lib/_virtual/unsupportedIterableToArray.js +4 -0
  251. package/dist/lib/_virtual/url.js +4 -0
  252. package/dist/lib/_virtual/util.js +4 -0
  253. package/dist/lib/_virtual/utils.js +4 -0
  254. package/dist/lib/_virtual/utils2.js +4 -0
  255. package/dist/lib/_virtual/version-check.js +4 -0
  256. package/dist/lib/_virtual/version.js +4 -0
  257. package/dist/lib/_virtual/vue-plugin-hiprint.js +4 -0
  258. package/dist/lib/_virtual/web.dom-collections.for-each.js +4 -0
  259. package/dist/lib/_virtual/web.dom-collections.iterator.js +4 -0
  260. package/dist/lib/_virtual/web.dom-collections.iterator2.js +3 -0
  261. package/dist/lib/_virtual/websocket.js +4 -0
  262. package/dist/lib/_virtual/webtransport.js +4 -0
  263. package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
  264. package/dist/lib/assets/chart-themes/theme1.js +7 -0
  265. package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
  266. package/dist/lib/assets/chart-themes/theme2.js +7 -0
  267. package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
  268. package/dist/lib/assets/chart-themes/theme3.js +7 -0
  269. package/dist/lib/assets/file.png.js +3 -0
  270. package/dist/lib/assets/folder.png.js +3 -0
  271. package/dist/lib/components/runtime/index.d.ts +5 -0
  272. package/dist/lib/components/runtime/utils/ai-chat-util.js +38 -0
  273. package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
  274. package/dist/lib/components/runtime/utils/api/api-util.js +9 -0
  275. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  276. package/dist/lib/components/runtime/utils/api/page-expose-util.js +494 -0
  277. package/dist/lib/components/runtime/utils/assemblys-config.js +384 -0
  278. package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
  279. package/dist/lib/components/runtime/utils/barcode-util.js +36 -0
  280. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +327 -0
  281. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +77 -0
  282. package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +162 -0
  283. package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +130 -0
  284. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +106 -0
  285. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +113 -0
  286. package/dist/lib/components/runtime/utils/charts/chart-util.js +550 -0
  287. package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
  288. package/dist/lib/components/runtime/utils/common-util.js +219 -0
  289. package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
  290. package/dist/lib/components/runtime/utils/eventBus.js +9 -0
  291. package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
  292. package/dist/lib/components/runtime/utils/events/event-util.js +752 -0
  293. package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
  294. package/dist/lib/components/runtime/utils/events/print-label.js +174 -0
  295. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +96 -0
  296. package/dist/lib/components/runtime/utils/events/standard-event.js +2837 -0
  297. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
  298. package/dist/lib/components/runtime/utils/events/validator-util.js +730 -0
  299. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
  300. package/dist/lib/components/runtime/utils/form/date-shortcuts.js +96 -0
  301. package/dist/lib/components/runtime/utils/form/scan-util.js +194 -0
  302. package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
  303. package/dist/lib/components/runtime/utils/global-refs.js +88 -0
  304. package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
  305. package/dist/lib/components/runtime/utils/i18n-util.js +23 -0
  306. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
  307. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
  308. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
  309. package/dist/lib/components/runtime/utils/page-helper-util.js +767 -0
  310. package/dist/lib/components/runtime/utils/page-init-util.d.ts +48 -0
  311. package/dist/lib/components/runtime/utils/page-init-util.js +502 -0
  312. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
  313. package/dist/lib/components/runtime/utils/page-permission-util.js +717 -0
  314. package/dist/lib/components/runtime/utils/page-store.d.ts +46 -0
  315. package/dist/lib/components/runtime/utils/page-store.js +71 -0
  316. package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
  317. package/dist/lib/components/runtime/utils/store-util.js +17 -0
  318. package/dist/lib/components/runtime/utils/store.d.ts +2 -0
  319. package/dist/lib/components/runtime/utils/store.js +3 -0
  320. package/dist/lib/components/runtime/utils/table-utils.d.ts +34 -0
  321. package/dist/lib/components/runtime/utils/table-utils.js +126 -0
  322. package/dist/lib/components/runtime/utils/tree-utils.js +121 -0
  323. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
  324. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +118 -0
  325. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +6 -0
  326. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +55 -0
  327. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
  328. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +135 -0
  329. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +3 -0
  330. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +19 -0
  331. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
  332. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +110 -0
  333. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +6 -0
  334. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +213 -0
  335. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
  336. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
  337. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
  338. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
  339. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +208 -0
  340. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
  341. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +6 -0
  342. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +179 -0
  343. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +6 -0
  344. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +121 -0
  345. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +6 -0
  346. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +171 -0
  347. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +6 -0
  348. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +122 -0
  349. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +6 -0
  350. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +132 -0
  351. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
  352. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.js +786 -0
  353. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +43 -0
  354. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +3 -0
  355. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.js +63 -0
  356. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +3 -0
  357. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +169 -0
  358. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +3 -0
  359. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +63 -0
  360. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +3 -0
  361. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +3 -0
  362. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +631 -0
  363. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
  364. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +163 -0
  365. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
  366. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
  367. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +90 -0
  368. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
  369. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
  370. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.js +76 -0
  371. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +3 -0
  372. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
  373. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +114 -0
  374. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +3 -0
  375. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
  376. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +181 -0
  377. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +3 -0
  378. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
  379. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +122 -0
  380. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
  381. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +6 -0
  382. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +106 -0
  383. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
  384. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +85 -0
  385. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
  386. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +89 -0
  387. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +6 -0
  388. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +99 -0
  389. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
  390. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +6 -0
  391. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +224 -0
  392. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
  393. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +82 -0
  394. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
  395. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +69 -0
  396. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
  397. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +40 -0
  398. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +6 -0
  399. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +272 -0
  400. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +6 -0
  401. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +144 -0
  402. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
  403. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +184 -0
  404. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +943 -0
  405. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
  406. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +718 -0
  407. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
  408. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
  409. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +187 -0
  410. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +6 -0
  411. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +531 -0
  412. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
  413. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
  414. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
  415. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
  416. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +163 -0
  417. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +101 -0
  418. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +3 -0
  419. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +3 -0
  420. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +212 -0
  421. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
  422. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +290 -0
  423. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
  424. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +176 -0
  425. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
  426. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +61 -0
  427. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
  428. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +225 -0
  429. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
  430. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +116 -0
  431. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
  432. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +310 -0
  433. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
  434. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +176 -0
  435. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
  436. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +109 -0
  437. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +6 -0
  438. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +52 -0
  439. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
  440. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +208 -0
  441. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +6 -0
  442. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +287 -0
  443. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
  444. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +364 -0
  445. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
  446. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +54 -0
  447. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
  448. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +168 -0
  449. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
  450. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +132 -0
  451. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
  452. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +116 -0
  453. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  454. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.js +169 -0
  455. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +3 -0
  456. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
  457. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +265 -0
  458. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
  459. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +6 -0
  460. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +209 -0
  461. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
  462. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +47 -0
  463. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
  464. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +50 -0
  465. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +6 -0
  466. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +64 -0
  467. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +3 -0
  468. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +58 -0
  469. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
  470. package/dist/lib/components/runtime/views/home-chart.vue.js +168 -0
  471. package/dist/lib/components/runtime/views/home-chart.vue2.js +3 -0
  472. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
  473. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +154 -0
  474. package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +4 -0
  475. package/dist/lib/components/runtime/views/super-page.vue.d.ts +126 -0
  476. package/dist/lib/components/runtime/views/super-page.vue.js +6 -0
  477. package/dist/lib/components/runtime/views/super-page.vue2.js +856 -0
  478. package/dist/lib/favicon.ico +0 -0
  479. package/dist/lib/i18n/langs/cn.js +78 -0
  480. package/dist/lib/i18n/langs/en.js +78 -0
  481. package/dist/lib/index.d.ts +16 -0
  482. package/dist/lib/index.js +30 -0
  483. package/dist/lib/style.css +1169 -0
  484. package/package.json +2 -2
@@ -2,9 +2,9 @@ import { defineComponent as e, ref as t, computed as a, onMounted as n, nextTick
2
2
  import T from "../../../../../../assets/folder.png.js";
3
3
  import I from "../../../../../../assets/file.png.js";
4
4
  import { getFormModelFields as V } from "../../../../utils/page-init-util.js";
5
- import { setVariableValue as b, getVariableValue as L } from "../../../../utils/page-helper-util.js";
6
- import { getMenuTreeData as M, createTreeNode as w, updateTreeNode as E, deleteNode as K } from "../../../../utils/tree-utils.js";
7
- import { handleAfterInitEvent as _, handleFormEvent as j } from "../../../../utils/events/event-util.js";
5
+ import { setVariableValue as b, getVariableValue as _ } from "../../../../utils/page-helper-util.js";
6
+ import { getMenuTreeData as L, createTreeNode as M, updateTreeNode as w, deleteNode as E } from "../../../../utils/tree-utils.js";
7
+ import { handleAfterInitEvent as K, handleFormEvent as j } from "../../../../utils/events/event-util.js";
8
8
  import { ElMessageBox as S, ElMessage as z } from "element-plus";
9
9
  import { checkPermission as B } from "agilebuilder-ui/src/utils/permission";
10
10
  const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, class: "item-row" }, D = { class: "item-side" }, H = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, O = ["onClick"], U = e({ __name: "tree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: U2 }) {
@@ -18,15 +18,15 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
18
18
  else q.value.push(e3);
19
19
  }) : q.value = X.configure.props.contextMenus);
20
20
  let F = V(X.pageContext, X.configure);
21
- const G = a({ get: () => L(Y, F), set(e3) {
21
+ const G = a({ get: () => _(Y, F), set(e3) {
22
22
  b(Y, F, e3);
23
23
  } }), J = t(!!((_c = (_b = X.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), Q = X.configure.runtime ? X.configure.runtime : {}, Z = Q.style, ee = Q.class, te = t(), ae = t(Q.props ? Q.props : {}), ne = t({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), le = t(false), oe = t([]), de = t(null), ue = t(""), ie = t(false), se = t(""), re = t(""), ce = t("");
24
24
  n(() => {
25
25
  l(() => {
26
26
  const e3 = G.value;
27
- _(e3, X.pageContext, X.configure, { componentRef: te.value, value: e3, entity: X.pageContext.entity.data, pageData: X.pageContext.entity.page });
27
+ K(e3, X.pageContext, X.configure, { componentRef: te.value, value: e3, entity: X.pageContext.entity.data, pageData: X.pageContext.entity.page });
28
28
  });
29
- }), J.value ? le.value = true : M(X.pageContext, X.configure).then((e3) => {
29
+ }), J.value ? le.value = true : L(X.pageContext, X.configure).then((e3) => {
30
30
  oe.value = e3, le.value = true;
31
31
  }), o(ue, (e3) => {
32
32
  ie.value = true, te.value.filter(e3);
@@ -39,11 +39,11 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
39
39
  let a2 = "0";
40
40
  a2 = 0 === e3.level ? "0" : e3.data.nodeId, function(e4, t3, a3) {
41
41
  const n2 = { parentNodeId: e4, data: t3.data, searchValue: ue, isSearch: ie.value };
42
- M(X.pageContext, X.configure, e4, t3, n2).then((n3) => {
42
+ L(X.pageContext, X.configure, e4, t3, n2).then((n3) => {
43
43
  if (ie.value = false, a3(n3), "0" === e4) {
44
44
  !function(e5, t4) {
45
45
  const a4 = { parentNodeId: e5, data: t4.data, searchValue: ue, isSearch: ie.value };
46
- M(X.pageContext, X.configure, e5, t4, a4).then((t5) => {
46
+ L(X.pageContext, X.configure, e5, t4, a4).then((t5) => {
47
47
  ie.value = false, te.value.updateKeyChildren(e5, t5), te.value.store.nodesMap[e5] && (te.value.store.nodesMap[e5].expanded = true);
48
48
  });
49
49
  }(n3[0].nodeId, t3);
@@ -75,12 +75,12 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
75
75
  }, xe = () => ({ nodeId: "primary" + (/* @__PURE__ */ new Date()).getTime(), name: "新增节点", disabled: false, iconType: "custom", isLeaf: true });
76
76
  function ke(e3) {
77
77
  e3.tipMessage ? S.confirm(e3.tipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
78
- K(ge.value, X.configure, X.pageContext).then(() => {
78
+ E(ge.value, X.configure, X.pageContext).then(() => {
79
79
  z.success("删除成功!"), Ne(), ge.value = null;
80
80
  });
81
81
  }).catch(() => {
82
82
  ge.value = null;
83
- }) : K(ge.value, X.configure, X.pageContext).then(() => {
83
+ }) : E(ge.value, X.configure, X.pageContext).then(() => {
84
84
  z.success("删除成功!"), Ne(), ge.value = null;
85
85
  });
86
86
  }
@@ -93,7 +93,7 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
93
93
  }, expandNode: function(e3) {
94
94
  e3.loaded = false, e3.expand();
95
95
  }, loadTreeNodes: function() {
96
- M(X.pageContext, X.configure).then((e3) => {
96
+ L(X.pageContext, X.configure).then((e3) => {
97
97
  ie.value = false, oe.value = e3;
98
98
  });
99
99
  }, getNode: function(e3) {
@@ -108,14 +108,14 @@ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, cl
108
108
  var _a2;
109
109
  const a2 = d("el-input"), n2 = d("el-button"), l2 = d("SuperIcon"), o2 = d("el-tree");
110
110
  return i(), u("div", { class: s(["amb-tree-runtime-main", r(ee)]) }, [ae.value.filter ? (i(), c(a2, { key: 0, modelValue: ue.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => ue.value = e4), style: { width: "100%" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : p("", true), le.value ? (i(), c(o2, { key: 1, ref_key: "menuTreeRef", ref: te, style: f(r(Z)), load: fe, data: oe.value, "node-key": "nodeId", props: ne.value, "default-expand-all": ae.value.defaultExpandAll, "expand-on-click-node": ae.value.expandOnClickNode, indent: ae.value.retractWidth ? ae.value.retractWidth : 18, accordion: ae.value.accordion, "show-checkbox": !!ae.value.showCheckbox, "highlight-current": "", lazy: J.value, "filter-node-method": pe, onNodeClick: ve, onNodeContextmenu: me }, { default: g(({ node: o3, data: d2 }) => [d2.nodeId === se.value ? (i(), u("div", P, [m(a2, { modelValue: ce.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ce.value = e4), size: "small" }, null, 8, ["modelValue"]), h("div", null, [m(n2, { type: "primary", link: "", onClick: (e4) => ((e5) => {
111
- "" !== ce.value ? (e5.data.name = ce.value, re.value && e5.data.nodeId === re.value ? w(e5, X.configure, X.pageContext).then((t3) => {
111
+ "" !== ce.value ? (e5.data.name = ce.value, re.value && e5.data.nodeId === re.value ? M(e5, X.configure, X.pageContext).then((t3) => {
112
112
  ye(e5, t3.currentNode), Ce(), z.success("保存成功!");
113
- }) : E(e5, X.configure, X.pageContext).then((t3) => {
113
+ }) : w(e5, X.configure, X.pageContext).then((t3) => {
114
114
  ye(e5, t3.currentNode), Ce(), z.success("保存成功!");
115
115
  })) : z.warning("请输入节点名称");
116
- })(o3) }, { default: g(() => t2[2] || (t2[2] = [y(" 保存 ")])), _: 2 }, 1032, ["onClick"]), m(n2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e4) => {
116
+ })(o3) }, { default: g(() => t2[2] || (t2[2] = [y(" 保存 ", -1)])), _: 2, __: [2] }, 1032, ["onClick"]), m(n2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (t3) => ((e4) => {
117
117
  re.value && e4.data.nodeId === re.value && te.value.remove(e4), Ce();
118
- })(o3, e3.configure, e3.pageContext) }, { default: g(() => t2[3] || (t2[3] = [y(" 撤销 ")])), _: 2 }, 1032, ["onClick"])])])) : (i(), u("span", { key: 1, title: o3.label, class: "ellipsis" }, [d2.iconValue ? (i(), c(l2, { key: 0, iconType: d2.iconType, iconValue: d2.iconValue }, null, 8, ["iconType", "iconValue"])) : ae.value.iconValue ? (i(), c(l2, { key: 1, iconType: ae.value.iconType, iconValue: ae.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (i(), u(C, { key: 2 }, [d2.isLeaf ? (i(), u("div", H, [t2[5] || (t2[5] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, x(d2.name), 1)])) : (i(), u("div", R, [h("div", D, [t2[4] || (t2[4] = h("img", { src: T, class: "file" }, null, -1)), h("span", null, x(d2.name), 1)])]))], 64))], 8, W))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: $, class: "context-menu" }, [(i(true), u(C, null, k(q.value, (e4, t3) => (i(), u("li", { key: t3, tabindex: "-1", class: "menu__item", onClick: (t4) => ((e5) => {
118
+ })(o3, e3.configure, e3.pageContext) }, { default: g(() => t2[3] || (t2[3] = [y(" 撤销 ", -1)])), _: 2, __: [3] }, 1032, ["onClick"])])])) : (i(), u("span", { key: 1, title: o3.label, class: "ellipsis" }, [d2.iconValue ? (i(), c(l2, { key: 0, iconType: d2.iconType, iconValue: d2.iconValue }, null, 8, ["iconType", "iconValue"])) : ae.value.iconValue ? (i(), c(l2, { key: 1, iconType: ae.value.iconType, iconValue: ae.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (i(), u(C, { key: 2 }, [d2.isLeaf ? (i(), u("div", H, [t2[5] || (t2[5] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, x(d2.name), 1)])) : (i(), u("div", R, [h("div", D, [t2[4] || (t2[4] = h("img", { src: T, class: "file" }, null, -1)), h("span", null, x(d2.name), 1)])]))], 64))], 8, W))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: $, class: "context-menu" }, [(i(true), u(C, null, k(q.value, (e4, t3) => (i(), u("li", { key: t3, tabindex: "-1", class: "menu__item", onClick: (t4) => ((e5) => {
119
119
  if (ge.value && "standard" === e5.type && e5.standardEvent) if ("edit" === e5.standardEvent) se.value = ge.value.data.nodeId, ce.value = ge.value.data.name;
120
120
  else if ("delete" === e5.standardEvent) ge.value.childNodes && ge.value.childNodes.length > 0 && e5.deleteParentNodeTip ? (e5.deleteParentNodeTipMessage || (e5.deleteParentNodeTipMessage = "当前节点下有子节点,确认删除?"), S.confirm(e5.deleteParentNodeTipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
121
121
  ke(e5);
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as o, onMounted as n, nextTick as a, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as f, unref as m, withCtx as d, resolveDynamicComponent as g, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, computed as t, ref as o, onMounted as n, nextTick as a, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as f, unref as d, withCtx as m, resolveDynamicComponent as g, toDisplayString as v } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
3
  import { setVariableValue as x, getVariableValue as y, formatVariableValue as b, getFormPropName as h, setVariableValueWithProp as j } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as R, handleEvent as k } from "../../../../utils/events/event-util.js";
@@ -24,7 +24,7 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, q = { key: 1, st
24
24
  j(z, e3, t2);
25
25
  }
26
26
  function N(e3) {
27
- S.isHasFieldAuthPermission(O.configure) && V(O.pageContext, e3);
27
+ S.isHasFieldAuthPermission(O.configure) ? V(O.pageContext, e3) : console.error("没有该字段的权限,dynamicFields=", G ? G.join(".") : "");
28
28
  }
29
29
  function Q() {
30
30
  const e3 = O.pageContext.tableUuids;
@@ -43,7 +43,7 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, q = { key: 1, st
43
43
  const t2 = e3.result;
44
44
  x(z, G, t2);
45
45
  }), F.$on(X.value + "-pickFileDone", (e3) => {
46
- Y.value.pickFileDone(e3);
46
+ X.value, Y.value.pickFileDone(e3);
47
47
  }), a(() => {
48
48
  const e3 = H.value;
49
49
  R(e3, O.pageContext, O.configure, { formItemRef: Z.value, componentRef: Y.value, titleRef: ee.value, value: e3, entity: O.pageContext.entity.data, pageData: O.pageContext.entity.page });
@@ -61,7 +61,7 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, q = { key: 1, st
61
61
  requiredClass.value = addRequiredClassUtil();
62
62
  } }), (e3, t2) => {
63
63
  const o2 = u("el-form-item");
64
- return W.value.tittleShow ? (p(), l(o2, { key: 0, ref_key: "formItemRef", ref: Z, required: W.value.required, class: f(m(A)), "label-width": W.value.labelWidth, style: c(m(I)) }, { label: d(() => [W.value.tittleShow ? (p(), r("div", { key: 0, ref_key: "titleRef", ref: ee, style: c({ ...m(B) }) }, v(m(E)(W.value.title)), 5)) : s("", true)]), default: d(() => [L.value ? (p(), r("div", U, [(p(), l(g(L.value), { ref_key: "customRef", ref: Y, size: W.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(J), modelValue: H.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => H.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": m(K), "component-id": X.value, onSetEntityValue: M, onSetCustomRules: N, onRestoreGridEdit: Q, onHandleEvent: te, onChange: t2[1] || (t2[1] = (t3) => m(k)(H.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : L.value ? (p(), r("div", q, [(p(), l(g(L.value), { ref_key: "customRef", ref: Y, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(J), modelValue: H.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => H.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": m(K), "component-id": X.value, onSetEntityValue: M, onSetCustomRules: N, onRestoreGridEdit: Q, onHandleEvent: te, onChange: t2[3] || (t2[3] = (t3) => m(k)(H.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
64
+ return W.value.tittleShow ? (p(), l(o2, { key: 0, ref_key: "formItemRef", ref: Z, required: W.value.required, class: f(d(A)), "label-width": W.value.labelWidth, style: c(d(I)) }, { label: m(() => [W.value.tittleShow ? (p(), r("div", { key: 0, ref_key: "titleRef", ref: ee, style: c({ ...d(B) }) }, v(d(E)(W.value.title)), 5)) : s("", true)]), default: m(() => [L.value ? (p(), r("div", U, [(p(), l(g(L.value), { ref_key: "customRef", ref: Y, size: W.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: d(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": d(J), modelValue: H.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => H.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": d(K), "component-id": X.value, onSetEntityValue: M, onSetCustomRules: N, onRestoreGridEdit: Q, onHandleEvent: te, onChange: t2[1] || (t2[1] = (t3) => d(k)(H.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : L.value ? (p(), r("div", q, [(p(), l(g(L.value), { ref_key: "customRef", ref: Y, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: d(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": d(J), modelValue: H.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => H.value = e4), disabled: "disabled" === W.value.state, "additional-param-map": d(K), "component-id": X.value, onSetEntityValue: M, onSetCustomRules: N, onRestoreGridEdit: Q, onHandleEvent: te, onChange: t2[3] || (t2[3] = (t3) => d(k)(H.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
65
65
  };
66
66
  } });
67
67
  export {
@@ -1,7 +1,7 @@
1
- import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as u, createBlock as r, openBlock as n, normalizeStyle as i, normalizeClass as p, unref as s, withCtx as c, createElementBlock as d, createCommentVNode as v, Fragment as f, createTextVNode as g, toDisplayString as m } from "vue";
1
+ import { defineComponent as e, ref as a, onMounted as l, nextTick as t, computed as o, resolveComponent as u, createBlock as r, openBlock as n, normalizeStyle as i, normalizeClass as s, unref as p, withCtx as c, createElementBlock as v, createCommentVNode as d, Fragment as f, createTextVNode as g, toDisplayString as m } from "vue";
2
2
  import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
3
  import { getDateShortCuts as y } from "../../../../utils/form/date-shortcuts.js";
4
- import { getModelFieldFromPageContext as C, getValueFromVariable as x, setVariableValue as b, getVariableValue as k, isDateDataType as F } from "../../../../utils/page-helper-util.js";
4
+ import { getModelFieldFromPageContext as C, getValueFromVariable as x, setVariableValue as b, getVariableValue as F, isDateDataType as k } from "../../../../utils/page-helper-util.js";
5
5
  import { handleAfterInitEvent as T, getCustomFunc as V, handleFormEvent as j } from "../../../../utils/events/event-util.js";
6
6
  import R from "../common/title-suffix-element.vue.js";
7
7
  import Y from "dayjs";
@@ -9,30 +9,30 @@ import { $t as _ } from "../../../../utils/i18n-util.js";
9
9
  import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
10
10
  const D = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: D2 }) {
11
11
  var _a;
12
- const P = e2, S = a(null), w = P.pageContext.entity ? P.pageContext.entity : {}, q = P.configure.runtime ? P.configure.runtime : {}, A = q.style, I = q.class, M = q.headerStyle, B = q.titleExceedStyle, N = a(q.props ? q.props : {});
13
- let U = h(P.pageContext, P.configure, N.value.prop);
14
- if (P.pageContext.modelFieldsMap && U && U.length > 0 && "data" === U[0]) {
15
- const e3 = C(U, P.pageContext);
12
+ const P = e2, S = a(null), w = P.pageContext.entity ? P.pageContext.entity : {}, q = P.configure.runtime ? P.configure.runtime : {}, A = q.style, $ = q.class, I = q.headerStyle, M = q.titleExceedStyle, B = a(q.props ? q.props : {});
13
+ let N = h(P.pageContext, P.configure, B.value.prop);
14
+ if (P.pageContext.modelFieldsMap && N && N.length > 0 && "data" === N[0]) {
15
+ const e3 = C(N, P.pageContext);
16
16
  e3 && function(e4) {
17
17
  const a2 = e4.dataType;
18
- F(a2) && ("year" === N.value.dateType && "YYYY" === N.value.valueFormat || "month" === N.value.dateType && "YYYY-MM" === N.value.valueFormat) && (N.value.valueFormat = "x");
18
+ k(a2) && ("year" === B.value.dateType && "YYYY" === B.value.valueFormat || "month" === B.value.dateType && "YYYY-MM" === B.value.valueFormat) && (B.value.valueFormat = "x");
19
19
  }(e3);
20
20
  }
21
- let W = null, $ = false;
22
- if (N.value.dateType && N.value.dateType.includes("range")) {
23
- $ = true;
24
- let e3 = N.value.prop2;
21
+ let U = null, W = false;
22
+ if (B.value.dateType && B.value.dateType.includes("range")) {
23
+ W = true;
24
+ let e3 = B.value.prop2;
25
25
  e3 && e3.startsWith("${") || (e3 = "${page." + P.configure.uuid + "-2}");
26
26
  const a2 = x(w, e3, null);
27
- if (e3 = e3.substring(2, e3.length - 1), W = e3.split("."), !(a2 || w.data && (w.data.id || w.data.ID)) && N.value.defaultValue2) {
28
- const e4 = x(w, N.value.defaultValue2);
29
- if (null != e4 && "" !== e4) b(w, W, e4);
30
- else if (((_a = N.value.moreDefaultValue2) == null ? void 0 : _a.length) > 0) {
31
- const e5 = N.value.moreDefaultValue2;
27
+ if (e3 = e3.substring(2, e3.length - 1), U = e3.split("."), !(a2 || w.data && (w.data.id || w.data.ID)) && B.value.defaultValue2) {
28
+ const e4 = x(w, B.value.defaultValue2);
29
+ if (null != e4 && "" !== e4) b(w, U, e4);
30
+ else if (((_a = B.value.moreDefaultValue2) == null ? void 0 : _a.length) > 0) {
31
+ const e5 = B.value.moreDefaultValue2;
32
32
  for (let a3 = 0; a3 < e5.length; a3++) {
33
33
  const l2 = x(w, e5[a3]);
34
34
  if (null != l2 && "" !== l2) {
35
- b(w, W, l2);
35
+ b(w, U, l2);
36
36
  break;
37
37
  }
38
38
  }
@@ -49,7 +49,7 @@ const D = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
49
49
  let t2 = null;
50
50
  return t2 = "x" === a2 ? l2.toDate().getTime() : Y(e3).format(a2), t2;
51
51
  } catch (a3) {
52
- return e3;
52
+ return console.error("日期值格式化错误", a3), console.error(`value: ${e3} ,valueFormat: ${B.value.valueFormat}`), e3;
53
53
  }
54
54
  }
55
55
  return e3;
@@ -59,28 +59,28 @@ const D = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
59
59
  const e3 = J.value;
60
60
  T(e3, P.pageContext, P.configure, { formItemRef: E.value, componentRef: O.value, titleRef: G.value, value: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
61
61
  });
62
- }), U) {
63
- const e3 = k(w, U), a2 = H(e3, N.value.valueFormat);
64
- e3 !== a2 && b(w, U, a2);
62
+ }), N) {
63
+ const e3 = F(w, N), a2 = H(e3, B.value.valueFormat);
64
+ e3 !== a2 && b(w, N, a2);
65
65
  }
66
- if (W) {
67
- const e3 = k(w, W), a2 = H(e3, N.value.valueFormat);
68
- e3 !== a2 && b(w, W, a2);
66
+ if (U) {
67
+ const e3 = F(w, U), a2 = H(e3, B.value.valueFormat);
68
+ e3 !== a2 && b(w, U, a2);
69
69
  }
70
70
  const J = o({ get() {
71
- if ($) {
71
+ if (W) {
72
72
  const e3 = [];
73
- let a2 = k(w, U);
74
- e3.push(H(a2, N.value.valueFormat));
75
- let l2 = k(w, W);
76
- return e3.push(H(l2, N.value.valueFormat)), e3;
73
+ let a2 = F(w, N);
74
+ e3.push(H(a2, B.value.valueFormat));
75
+ let l2 = F(w, U);
76
+ return e3.push(H(l2, B.value.valueFormat)), e3;
77
77
  }
78
- return H(k(w, U), N.value.valueFormat);
78
+ return H(F(w, N), B.value.valueFormat);
79
79
  }, set(e3) {
80
- $ ? Array.isArray(e3) ? (b(w, U, e3[0]), b(w, W, e3[1]), S.value = "") : null === e3 && (b(w, U, null), b(w, W, null)) : (b(w, U, e3), null != e3 && (S.value = ""));
81
- } }), K = a(y(N.value.dateScopeDetails, N.value.sourceType, N.value.dateType));
82
- if (N.value.shortcutsFunc) {
83
- const e3 = V(P.pageContext, N.value.shortcutsFunc);
80
+ W ? Array.isArray(e3) ? (b(w, N, e3[0]), b(w, U, e3[1]), S.value = "") : null === e3 && (b(w, N, null), b(w, U, null)) : (b(w, N, e3), null != e3 && (S.value = ""));
81
+ } }), K = a(y(B.value.dateScopeDetails, B.value.sourceType, B.value.dateType));
82
+ if (B.value.shortcutsFunc) {
83
+ const e3 = V(P.pageContext, B.value.shortcutsFunc);
84
84
  if (e3) {
85
85
  let a2 = e3.apply(e3, [{ pageContext: P.pageContext, configureObj: P.configure }]);
86
86
  if (a2) {
@@ -93,7 +93,7 @@ const D = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
93
93
  S.value = z();
94
94
  } }), (e3, a2) => {
95
95
  const l2 = u("el-time-picker"), t2 = u("el-date-picker"), o2 = u("el-form-item");
96
- return n(), r(o2, { ref_key: "formItemRef", ref: E, required: N.value.required, class: p(s(I) + (S.value ? " " + S.value : "")), "label-width": N.value.labelWidth, style: i(s(A)) }, { label: c(() => [N.value.tittleShow ? (n(), d("div", { key: 0, ref_key: "titleRef", ref: G, style: i({ ...s(M), ...s(B) }) }, [N.value.prefixType ? (n(), r(R, { key: 0, pageContext: e3.pageContext, property: N.value }, null, 8, ["pageContext", "property"])) : (n(), d(f, { key: 1 }, [g(m(s(_)(N.value.title)), 1)], 64))], 4)) : v("", true)]), default: c(() => ["time" == N.value.dateType || "timerange" == N.value.dateType ? (n(), r(l2, { key: 0, ref_key: "componentRef", ref: O, "is-range": "timerange" == N.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: N.value.clearable, disabled: "disabled" === N.value.state, readonly: "readonly" === N.value.state, size: N.value.size, placeholder: N.value.placeholder, "start-placeholder": N.value.placeholder, "end-placeholder": N.value.endPlaceholder ? N.value.endPlaceholder : N.value.placeholder, "unlink-panels": true, format: N.value.format, "value-format": N.value.valueFormat, modelValue: J.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => J.value = e4), shortcuts: K.value, type: N.value.dateType, onChange: a2[1] || (a2[1] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[2] || (a2[2] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[3] || (a2[3] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[4] || (a2[4] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[5] || (a2[5] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[6] || (a2[6] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (n(), r(t2, { key: 1, ref_key: "componentRef", ref: O, clearable: N.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === N.value.state, readonly: "readonly" === N.value.state, size: N.value.size, placeholder: N.value.placeholder, "start-placeholder": N.value.placeholder, "end-placeholder": N.value.endPlaceholder ? N.value.endPlaceholder : N.value.placeholder, format: N.value.format, "value-format": N.value.valueFormat, modelValue: J.value, "onUpdate:modelValue": a2[7] || (a2[7] = (e4) => J.value = e4), shortcuts: K.value, type: N.value.dateType, onChange: a2[8] || (a2[8] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[9] || (a2[9] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[10] || (a2[10] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[11] || (a2[11] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[12] || (a2[12] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[13] || (a2[13] = (a3) => s(j)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
96
+ return n(), r(o2, { ref_key: "formItemRef", ref: E, required: B.value.required, class: s(p($) + (S.value ? " " + S.value : "")), "label-width": B.value.labelWidth, style: i(p(A)) }, { label: c(() => [B.value.tittleShow ? (n(), v("div", { key: 0, ref_key: "titleRef", ref: G, style: i({ ...p(I), ...p(M) }) }, [B.value.prefixType ? (n(), r(R, { key: 0, pageContext: e3.pageContext, property: B.value }, null, 8, ["pageContext", "property"])) : (n(), v(f, { key: 1 }, [g(m(p(_)(B.value.title)), 1)], 64))], 4)) : d("", true)]), default: c(() => ["time" == B.value.dateType || "timerange" == B.value.dateType ? (n(), r(l2, { key: 0, ref_key: "componentRef", ref: O, "is-range": "timerange" == B.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: B.value.clearable, disabled: "disabled" === B.value.state, readonly: "readonly" === B.value.state, size: B.value.size, placeholder: B.value.placeholder, "start-placeholder": B.value.placeholder, "end-placeholder": B.value.endPlaceholder ? B.value.endPlaceholder : B.value.placeholder, "unlink-panels": true, format: B.value.format, "value-format": B.value.valueFormat, modelValue: J.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => J.value = e4), shortcuts: K.value, type: B.value.dateType, onChange: a2[1] || (a2[1] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[2] || (a2[2] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[3] || (a2[3] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[4] || (a2[4] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[5] || (a2[5] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[6] || (a2[6] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : (n(), r(t2, { key: 1, ref_key: "componentRef", ref: O, clearable: B.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === B.value.state, readonly: "readonly" === B.value.state, size: B.value.size, placeholder: B.value.placeholder, "start-placeholder": B.value.placeholder, "end-placeholder": B.value.endPlaceholder ? B.value.endPlaceholder : B.value.placeholder, format: B.value.format, "value-format": B.value.valueFormat, modelValue: J.value, "onUpdate:modelValue": a2[7] || (a2[7] = (e4) => J.value = e4), shortcuts: K.value, type: B.value.dateType, onChange: a2[8] || (a2[8] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "change")), onBlur: a2[9] || (a2[9] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "blur")), onFocus: a2[10] || (a2[10] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "focus")), onVisibleChange: a2[11] || (a2[11] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "visible-change")), onPanelChange: a2[12] || (a2[12] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "panel-change")), onClear: a2[13] || (a2[13] = (a3) => p(j)(a3, e3.pageContext, e3.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
97
97
  };
98
98
  } });
99
99
  export {
@@ -56,7 +56,7 @@ const j = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure:
56
56
  }, Z = l(null), ee = l(null);
57
57
  return a(() => {
58
58
  k.$on(E.value + "-pickFileDone", (e3) => {
59
- G.value.pickFileDone(e3);
59
+ E.value, G.value.pickFileDone(e3);
60
60
  }), o(() => {
61
61
  const e3 = h(q, W), l2 = { showName: h(q, U), serverPath: e3 };
62
62
  g(l2, N.pageContext, N.configure, { formItemRef: Z.value, componentRef: G.value, titleRef: ee.value, value: l2, entity: N.pageContext.entity.data, pageData: N.pageContext.entity.page });
@@ -3,13 +3,13 @@ import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
4
  import { getModelFieldFromPageContext as w, isNumberDataType as V, setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
5
5
  import { handleFormEvent as _, handleAfterInitEvent as S, doSuffixOrPrefixClickEvent as j } from "../../../../utils/events/event-util.js";
6
- import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as q } from "../../../../utils/form/scan-util.js";
7
- import D from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as M } from "agilebuilder-ui/src/utils/common-util";
9
- import N from "../../../../utils/eventBus.js";
10
- import { $t as P } from "../../../../utils/i18n-util.js";
11
- import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
12
- const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: J2 }) {
6
+ import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as N } from "../../../../utils/form/scan-util.js";
7
+ import q from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
9
+ import J from "../../../../utils/eventBus.js";
10
+ import { $t as M } from "../../../../utils/i18n-util.js";
11
+ import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
12
+ const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
13
13
  var _a, _b, _c;
14
14
  const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {}, F = t("text");
15
15
  let $ = k(L.pageContext, L.configure);
@@ -17,65 +17,66 @@ const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
17
17
  const e3 = w($, L.pageContext);
18
18
  e3 && (F.value = V(e3.dataType) ? "number" : "text");
19
19
  }
20
- const A = t(M()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
20
+ const A = t(D()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
21
21
  h(B, $, e3), null != e3 && "" !== e3 && (W.value = "");
22
22
  } }), H = t(null), K = t(null), Q = t(null), X = L.configure.runtime ? L.configure.runtime : {}, Y = t(X.props ? X.props : {}), Z = t(!!((_a = Y.value.scan) == null ? void 0 : _a.enable));
23
23
  let ee = false;
24
24
  const te = window.localStorage.getItem("auth_source");
25
25
  te && "dingtalk" === te && (ee = true);
26
26
  let le = "";
27
- le = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
28
- const ne = !(!A.value || !le || "app" !== le), oe = t(!!((ne || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
29
- let ae = {};
27
+ const ne = navigator.userAgent;
28
+ le = ne.indexOf(" uni-app ") > 0 ? "app" : "browser";
29
+ const oe = !(!A.value || !le || "app" !== le), ae = t(!!((oe || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
30
+ let ue = {};
30
31
  ((_b = Y.value.scan) == null ? void 0 : _b.enable) && ((_c = Y.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Y.value.scan.ruleList).then((e3) => {
31
- ae = e3;
32
+ ue = e3;
32
33
  }), u(() => G.value, (e3) => {
33
34
  e3 = e3.trim();
34
- const t2 = O(e3, ae);
35
- t2 && q(L.pageContext, t2.scanSet, t2.params);
35
+ const t2 = O(e3, ue);
36
+ t2 && N(L.pageContext, t2.scanSet, t2.params);
36
37
  }));
37
- const ue = X.style, ie = X.class, re = X.headerStyle, pe = X.titleExceedStyle;
38
- function se(e3) {
38
+ const ie = X.style, re = X.class, pe = X.headerStyle, se = X.titleExceedStyle;
39
+ function ce(e3) {
39
40
  return h(B, $, e3);
40
41
  }
41
42
  n(() => {
42
- N.$on(U.value + "-scanDone", (e3) => {
43
- se(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
43
+ J.$on(U.value + "-scanDone", (e3) => {
44
+ U.value, JSON.stringify(e3), ce(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
44
45
  }), o(() => {
45
46
  var _a2;
46
47
  const e3 = G.value;
47
- S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), oe.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && ve();
48
+ S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), ae.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && fe();
48
49
  });
49
50
  }), a(() => {
50
- N.$off(U.value + "-scanDone");
51
+ J.$off(U.value + "-scanDone");
51
52
  });
52
- const ce = t(false);
53
- function ve() {
54
- if (ne || ee) {
53
+ const ve = t(false);
54
+ function fe() {
55
+ if (oe || ee) {
55
56
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
56
- ee && (e3.type = "dingTalkScan"), window.parent.parent ? window.parent.parent.postMessage(JSON.stringify(e3), "*") : window.parent && window.parent.postMessage(JSON.stringify(e3), "*");
57
- } else if (A.value) if ("https:" === window.location.protocol) ce.value = true;
57
+ ee && (e3.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e3), "*"));
58
+ } else if (A.value) if ("https:" === window.location.protocol) ve.value = true;
58
59
  else {
59
60
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
60
61
  window.parent.postMessage(JSON.stringify(e3), "*");
61
62
  }
62
- else ce.value = true;
63
+ else ve.value = true;
63
64
  }
64
- function fe(e3) {
65
- ce.value = false, se(e3);
65
+ function ye(e3) {
66
+ ve.value = false, ce(e3);
66
67
  }
67
- return J2({ getValue: function() {
68
+ return z2({ getValue: function() {
68
69
  return b(B, $);
69
- }, setValue: se, scanClick: ve, addRequiredClass: function() {
70
- W.value = z();
70
+ }, setValue: ce, scanClick: fe, addRequiredClass: function() {
71
+ W.value = P();
71
72
  } }), (e3, t2) => {
72
73
  const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
73
- return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(ie) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ue)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(re), ...v(pe) }) }, [Y.value.prefixType ? (p(), r(D, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(P)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
74
+ return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ie)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(pe), ...v(se) }) }, [Y.value.prefixType ? (p(), r(q, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(M)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
74
75
  let t3 = b(B, $);
75
76
  null != t3 && (t3 = t3.trim()), h(B, $, t3), _(e5, L.pageContext, L.configure, "blur");
76
- }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => ve()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ce.value ? (p(), r(n2, { key: 0, onClose: fe })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
77
+ }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [ae.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => fe()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (p(), r(n2, { key: 0, onClose: ye })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
77
78
  };
78
79
  } });
79
80
  export {
80
- J as default
81
+ z as default
81
82
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as m } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as o, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as m } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as d, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
@@ -8,7 +8,9 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
8
8
  const R = e2, S = R.pageContext.entity ? R.pageContext.entity : {};
9
9
  let P = x(R.pageContext, R.configure);
10
10
  const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, A = q.class, z = q.headerStyle, D = q.appendClass, E = q.appendStyle, F = q.titleExceedStyle, N = t(q.props ? q.props : {});
11
- const W = t(N.value.options ? N.value.options : []), B = N.value.formatType, G = l(() => {
11
+ const W = t(N.value.options ? N.value.options : []), B = N.value.formatType;
12
+ N.value;
13
+ const G = l(() => {
12
14
  let e3 = d(S, P);
13
15
  if (B) if (N.value.hasOptions) {
14
16
  let t2 = null;
@@ -28,7 +30,7 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
28
30
  W.value = e3 || [];
29
31
  } }), (e3, t2) => {
30
32
  const l2 = u("el-form-item");
31
- return N.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), o(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m("  " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), o(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
33
+ return N.value.whetherTittle ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), i(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), i(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m("  " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), i(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), o("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), o("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
32
34
  };
33
35
  } });
34
36
  export {
@@ -5,6 +5,7 @@ import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/e
5
5
  import { $t as C } from "../../../../utils/i18n-util.js";
6
6
  const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
7
  const _2 = e2, h = y(_2.pageContext, _2.configure), R = _2.configure.runtime ? _2.configure.runtime : {}, j = R.style, w = R.class, I = R.headerStyle, S = t(R.props ? R.props : {});
8
+ S.value;
8
9
  let $ = S.value.formatting;
9
10
  const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
10
11
  let e3 = b(D, h);
@@ -157,7 +157,7 @@ const N = { class: "toolbar-right-btns" }, R = ["title"], _ = { class: "richtext
157
157
  const n2 = ne.root.getElementsByTagName("img");
158
158
  for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = l2.url, e6.setAttribute("data-uuid", l2.uuid));
159
159
  } catch (e5) {
160
- Ee();
160
+ console.error("上传图片失败", e5), Ee();
161
161
  } finally {
162
162
  ae.value = false;
163
163
  }
@@ -103,6 +103,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
103
103
  e3.on("success", () => {
104
104
  P({ showClose: true, type: "success", message: $("superPageRuntimeMessage.copySuccess") });
105
105
  }), e3.on("error", (e4) => {
106
+ console.error("复制失败", e4);
106
107
  }), u(() => {
107
108
  const e4 = ae.value;
108
109
  I(e4, G.pageContext, G.configure, { formItemRef: he.value, componentRef: ye.value, titleRef: xe.value, value: e4, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
@@ -3,12 +3,12 @@ import C from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
4
4
  import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
5
5
  import { addComponentRef as x, addComponentRefByCode as h } from "../../utils/global-refs.js";
6
- import { getPermissionCodes as y, packageFormRules as j, controlObjectRenderState as w } from "../../utils/page-init-util.js";
6
+ import { getPermissionCodes as y, packageFormRules as w, controlObjectRenderState as j } from "../../utils/page-init-util.js";
7
7
  import { caculateShowCondition as T, getFormPropName as M, getSizeConfig as N } from "../../utils/page-helper-util.js";
8
8
  import { isWorkflowPage as _, getPropClassName as P, isNumber as $ } from "../../utils/common-util.js";
9
- import { isShowMobileEvent as L, isShowComponent as O } from "../../utils/events/event-util.js";
10
- import { usePageContextStore as S } from "../../utils/page-store.js";
11
- import { isHasFieldAuth as H } from "../../utils/table-utils.js";
9
+ import { isShowMobileEvent as H, isShowComponent as L } from "../../utils/events/event-util.js";
10
+ import { usePageContextStore as O } from "../../utils/page-store.js";
11
+ import { isHasFieldAuth as S } from "../../utils/table-utils.js";
12
12
  import { checkPermission as B } from "agilebuilder-ui/src/utils/permission.js";
13
13
  const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
14
14
  var _a, _b;
@@ -16,8 +16,8 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
16
16
  null == F2.configure.style && (F2.configure.style = {});
17
17
  const R = y(F2.configure, F2.pageContext);
18
18
  F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode = R);
19
- const k = B(R || "true", F2.pageContext.systemCode), A = H(F2.pageContext, F2.configure), E = k && A;
20
- F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = E), j(F2.pageContext, F2.configure, E);
19
+ const k = B(R || "true", F2.pageContext.systemCode), A = S(F2.pageContext, F2.configure), E = k && A;
20
+ F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = E), w(F2.pageContext, F2.configure, E);
21
21
  let J = o(null), W = o(true), q = o("");
22
22
  if (F2.configure && F2.configure.props) {
23
23
  let e3 = [];
@@ -25,7 +25,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
25
25
  var _a2;
26
26
  let o2 = true;
27
27
  if (E) if (J.value && null !== J.value) o2 = "show" === J.value;
28
- else if (L(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = T(F2.pageContext, e3);
28
+ else if (H(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = T(F2.pageContext, e3);
29
29
  else {
30
30
  const e4 = (_a2 = F2.configure.props.base) == null ? void 0 : _a2.state;
31
31
  e4 && "hidden" === e4 && (o2 = false);
@@ -69,7 +69,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
69
69
  const t2 = U.style[e3 + "_class"];
70
70
  t2 && (K.value += " " + t2);
71
71
  }
72
- const V = S();
72
+ const V = O();
73
73
  function X(e3) {
74
74
  if (G.value = e3, e3 && !e3.show && (e3.show = function() {
75
75
  J.value = "show";
@@ -89,7 +89,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
89
89
  const o2 = F2.configure.props ? F2.configure.props.base : null;
90
90
  if (o2 && o2.prop) {
91
91
  let e4 = o2.prop;
92
- e4 = M(e4), w(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
92
+ e4 = M(e4), j(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
93
93
  }
94
94
  !function() {
95
95
  if (!G.value) return;
@@ -118,7 +118,9 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
118
118
  const o2 = e3.parentNode;
119
119
  if (!e3 || !o2) return;
120
120
  const t2 = e3.getBoundingClientRect();
121
- let n2 = window.innerHeight - t2.y - 30, i2 = n2 + "";
121
+ let n2 = window.innerHeight - t2.y - 30;
122
+ window.innerHeight, t2.y;
123
+ let i2 = n2 + "";
122
124
  $(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
123
125
  }
124
126
  i(() => {
@@ -138,7 +140,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
138
140
  const t2 = F2.configure.props ? F2.configure.props : {}, n2 = F2.configure.style ? F2.configure.style : {}, i2 = t2.position;
139
141
  "top" == i2 || "bottom" == i2 || n2.position;
140
142
  };
141
- return (e3, o2) => l(E) && l(O)(e3.configure) ? r((p(), a(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
143
+ return (e3, o2) => l(E) && l(L)(e3.configure) ? r((p(), a(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
142
144
  } });
143
145
  export {
144
146
  F as default