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
@@ -11,24 +11,24 @@ class ExpressionEvaluator {
11
11
  return this.evaluateExpression(o);
12
12
  }
13
13
  static createExpression(e, t, r) {
14
- const { propName: o, operator: a, propValue: n, leftBracket: s, rightBracket: l, joinSign: i, dataType: c } = t;
14
+ const { propName: o, operator: n, propValue: a, leftBracket: s, rightBracket: l, joinSign: i, dataType: c } = t;
15
15
  if (!o || "" === o) return "";
16
16
  const u = getValueFromVariable(e.entity, o, r);
17
- let p = `${s} ${this.getComparisonExpression(u, t, getValueFromVariable(e.entity, n, r))} ${l}`;
17
+ let p = `${s} ${this.getComparisonExpression(u, t, getValueFromVariable(e.entity, a, r))} ${l}`;
18
18
  return i && ("and" === i || "AND" === i ? p += "&&" : "or" !== i && "OR" !== i || (p += "||")), p.trim();
19
19
  }
20
20
  static getComparisonExpression(e, t, r) {
21
- const { dataType: o, variableIsNull: a } = t;
22
- let n = t.operator;
23
- n || (n = "EQ");
21
+ const { dataType: o, variableIsNull: n } = t;
22
+ let a = t.operator;
23
+ a || (a = "EQ");
24
24
  let s = this.parseValue(e, o);
25
25
  const l = this.parseValue(r, o);
26
- if (null == l && a) {
27
- if (null == s && (s = "null"), "null" === a) return `${s} === null`;
28
- if ("ignore" === a) return "1=1";
29
- if ("notequal" === a) return "1!=1";
26
+ if (null == l && n) {
27
+ if (null == s && (s = "null"), "null" === n) return `${s} === null`;
28
+ if ("ignore" === n) return "1=1";
29
+ if ("notequal" === n) return "1!=1";
30
30
  }
31
- switch (n) {
31
+ switch (a) {
32
32
  case "EQ":
33
33
  return `${s} === ${l}`;
34
34
  case "GT":
@@ -55,7 +55,7 @@ class ExpressionEvaluator {
55
55
  }
56
56
  return `[${l}].includes(${s})`;
57
57
  default:
58
- throw new Error(`比较符号不匹配: ${n}`);
58
+ throw new Error(`比较符号不匹配: ${a}`);
59
59
  }
60
60
  }
61
61
  static changeDataType(e) {
@@ -86,7 +86,7 @@ class ExpressionEvaluator {
86
86
  try {
87
87
  return eval(expression);
88
88
  } catch (e) {
89
- return false;
89
+ return console.error("表达式错误:", expression, e), false;
90
90
  }
91
91
  }
92
92
  }
@@ -114,39 +114,40 @@ function getSummaryDataColumn(e, t) {
114
114
  const r = {};
115
115
  return ((_a = e.props.summaries) == null ? void 0 : _a.dataColumn) && e.props.summaries.dataColumn.length > 0 && e.props.summaries.dataColumn.forEach((o) => {
116
116
  var _a2;
117
- const a = (_a2 = e.items) == null ? void 0 : _a2.find((e2) => o.prop === e2.props.base.prop);
118
- a && ("table" === t && a.props.base.tableSummary || "group" === t && a.props.base.groupSummary) && (r[o.prop] = o);
117
+ const n = (_a2 = e.items) == null ? void 0 : _a2.find((e2) => o.prop === e2.props.base.prop);
118
+ n && ("table" === t && n.props.base.tableSummary || "group" === t && n.props.base.groupSummary) && (r[o.prop] = o);
119
119
  }), r;
120
120
  }
121
121
  function summaryStatistics(e, t, r, o) {
122
- let a = "";
123
- const n = e.summaryMode, s = t.map((e2) => Number(e2[r])).filter((e2) => !Number.isNaN(e2));
124
- if (s.length > 0) if ("custom" === n) {
125
- const n2 = getCustomFunc(o, e.customFunc);
126
- if (n2) try {
127
- const e2 = n2.apply(n2, [{ data: t, prop: r }]);
128
- a = e2 ? ` ${e2}` : " N/A";
122
+ let n = "";
123
+ const a = e.summaryMode, s = t.map((e2) => Number(e2[r])).filter((e2) => !Number.isNaN(e2));
124
+ if (s.length > 0) if ("custom" === a) {
125
+ const a2 = getCustomFunc(o, e.customFunc);
126
+ if (a2) try {
127
+ const e2 = a2.apply(a2, [{ data: t, prop: r }]);
128
+ n = e2 ? ` ${e2}` : " N/A";
129
129
  } catch (e2) {
130
+ console.error("自定义函数脚本错误:", t, e2);
130
131
  }
131
- else a = " N/A";
132
- } else switch (n) {
132
+ else n = " N/A";
133
+ } else switch (a) {
133
134
  case "sum":
134
- a = ` ${s.reduce((e2, t2) => e2 + t2, 0)}`;
135
+ n = ` ${s.reduce((e2, t2) => e2 + t2, 0)}`;
135
136
  break;
136
137
  case "avg":
137
- a = " " + s.reduce((e2, t2) => e2 + t2, 0) / s.length;
138
+ n = " " + s.reduce((e2, t2) => e2 + t2, 0) / s.length;
138
139
  break;
139
140
  case "min":
140
- a = ` ${Math.min(...s)}`;
141
+ n = ` ${Math.min(...s)}`;
141
142
  break;
142
143
  case "max":
143
- a = ` ${Math.max(...s)}`;
144
+ n = ` ${Math.max(...s)}`;
144
145
  break;
145
146
  default:
146
- a = " N/A";
147
+ n = " N/A";
147
148
  }
148
- else a = " N/A";
149
- return a;
149
+ else n = " N/A";
150
+ return n;
150
151
  }
151
152
  function replacePlaceholders(e, t) {
152
153
  if (e) return e.replace(/\$\{row\.(\w+)\}/g, (e2, r) => Object.prototype.hasOwnProperty.call(t, r) ? t[r] : "");
@@ -156,31 +157,33 @@ function getHeaderCellStyleUtil(e, t, r) {
156
157
  const o = {};
157
158
  e.column.property && ((_a = t.titleStyle) == null ? void 0 : _a.forEach((t2) => {
158
159
  if (t2.field && t2.field.includes(e.column.property)) if (t2.scopeFunc) {
159
- const a2 = getCustomFunc(r.pageContext, t2.scopeFunc);
160
- if (a2) try {
161
- false !== a2.apply(a2, [{ item: t2, data: e }]) && copyStyle(o, t2);
162
- } catch (e2) {
160
+ const n2 = getCustomFunc(r.pageContext, t2.scopeFunc);
161
+ if (n2) try {
162
+ false !== n2.apply(n2, [{ item: t2, data: e }]) && copyStyle(o, t2);
163
+ } catch (r2) {
164
+ console.error("自定义函数脚本错误:", t2, e, r2);
163
165
  }
164
166
  } else copyStyle(o, t2);
165
167
  }));
166
- const a = getCellStyleUtil(e, t.cellTitleStyle, r);
167
- return a && Object.assign(o, a), o;
168
+ const n = getCellStyleUtil(e, t.cellTitleStyle, r);
169
+ return n && Object.assign(o, n), o;
168
170
  }
169
171
  function getRowStyleUtil(e, t, r) {
170
172
  const o = {};
171
173
  if (r.configure.style.rowStyle) for (let t2 = 0; t2 < r.configure.style.rowStyle.length; t2++) {
172
- const a = r.configure.style.rowStyle[t2];
173
- if (a.scopeFunc) {
174
- const t3 = getCustomFunc(r.pageContext, a.scopeFunc);
174
+ const n = r.configure.style.rowStyle[t2];
175
+ if (n.scopeFunc) {
176
+ const t3 = getCustomFunc(r.pageContext, n.scopeFunc);
175
177
  if (t3) try {
176
178
  const r2 = t3.apply(t3, [{ data: e }]);
177
- null != r2 && false !== r2 && copyStyle(o, a);
178
- } catch (e2) {
179
+ null != r2 && false !== r2 && copyStyle(o, n);
180
+ } catch (t4) {
181
+ console.error("自定义函数脚本错误:", e, t4);
179
182
  }
180
- } else if (a.matchingCondition) {
181
- const t3 = ExpressionEvaluator.evaluate(r.pageContext, a.matchingCondition, e.row);
182
- (t3 || void 0 === t3) && copyStyle(o, a);
183
- } else copyStyle(o, a);
183
+ } else if (n.matchingCondition) {
184
+ const t3 = ExpressionEvaluator.evaluate(r.pageContext, n.matchingCondition, e.row);
185
+ (t3 || void 0 === t3) && copyStyle(o, n);
186
+ } else copyStyle(o, n);
184
187
  }
185
188
  if (t && t.length > 0 && -1 !== t.indexOf(e.rowIndex)) {
186
189
  const e2 = {};
@@ -193,18 +196,19 @@ function getRowStyleUtil(e, t, r) {
193
196
  }
194
197
  function getCellStyleUtil(e, t, r) {
195
198
  const o = {};
196
- if (t) for (let a = 0; a < t.length; a++) {
197
- const n = t[a];
198
- if (isSetStyle(n)) if (n.scopeFunc) {
199
- const t2 = getCustomFunc(r.pageContext, n.scopeFunc);
199
+ if (t) for (let n = 0; n < t.length; n++) {
200
+ const a = t[n];
201
+ if (isSetStyle(a)) if (a.scopeFunc) {
202
+ const t2 = getCustomFunc(r.pageContext, a.scopeFunc);
200
203
  if (t2) try {
201
- false !== t2.apply(t2, [{ data: e }]) && copyStyle(o, n);
202
- } catch (e2) {
204
+ false !== t2.apply(t2, [{ data: e }]) && copyStyle(o, a);
205
+ } catch (t3) {
206
+ console.error("自定义函数脚本错误:", e, t3);
203
207
  }
204
- } else if (n.matchingCondition) {
205
- const t2 = ExpressionEvaluator.evaluate(r.pageContext, n.matchingCondition, e.row);
206
- (t2 || void 0 === t2) && copyStyle(o, n);
207
- } else copyStyle(o, n);
208
+ } else if (a.matchingCondition) {
209
+ const t2 = ExpressionEvaluator.evaluate(r.pageContext, a.matchingCondition, e.row);
210
+ (t2 || void 0 === t2) && copyStyle(o, a);
211
+ } else copyStyle(o, a);
208
212
  }
209
213
  return o;
210
214
  }
@@ -216,33 +220,33 @@ function copyStyle(e, t) {
216
220
  Object.assign(e, t.style), t.customStyle && Object.assign(e, JSON.parse(t.customStyle));
217
221
  }
218
222
  function rowDataToColumn(e, t, r) {
219
- const o = t.props.dataOrigin.groupField, a = t.props.dataOrigin.rowToColumn.titleColumns, n = t.props.dataOrigin.rowToColumn.dataColumns, s = [], l = {};
223
+ const o = t.props.dataOrigin.groupField, n = t.props.dataOrigin.rowToColumn.titleColumns, a = t.props.dataOrigin.rowToColumn.dataColumns, s = [], l = {};
220
224
  if (o && o.length > 0) e.forEach((e2) => {
221
225
  const t2 = o.map((t3) => e2[t3]).join("|");
222
226
  if (!l[t2]) {
223
227
  const r2 = {};
224
228
  o.forEach((t3) => r2[t3] = e2[t3]), l[t2] = r2, s.push(r2);
225
229
  }
226
- n.forEach((r2) => {
227
- const o2 = `${a.map((t3) => e2[t3]).join("")}${r2}`;
230
+ a.forEach((r2) => {
231
+ const o2 = `${n.map((t3) => e2[t3]).join("")}${r2}`;
228
232
  l[t2][o2] = e2[r2];
229
233
  });
230
234
  });
231
235
  else {
232
236
  const t2 = [];
233
237
  e.forEach((e2) => {
234
- a.forEach((r2) => {
238
+ n.forEach((r2) => {
235
239
  e2[r2] && t2.push(e2[r2]);
236
240
  });
237
- }), n.forEach((t3) => {
238
- const o2 = {}, n2 = r.find((e2) => {
241
+ }), a.forEach((t3) => {
242
+ const o2 = {}, a2 = r.find((e2) => {
239
243
  var _a, _b;
240
244
  return ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop) === t3;
241
245
  });
242
- n2 && (o2.$GroupColumn = n2.props.base.name), e.forEach((e2) => {
243
- a.forEach((r2) => {
244
- const a2 = e2[r2], n3 = e2[t3];
245
- o2[a2] = n3;
246
+ a2 && (o2.$GroupColumn = a2.props.base.name), e.forEach((e2) => {
247
+ n.forEach((r2) => {
248
+ const n2 = e2[r2], a3 = e2[t3];
249
+ o2[n2] = a3;
246
250
  });
247
251
  }), s.push(o2);
248
252
  });
@@ -250,9 +254,9 @@ function rowDataToColumn(e, t, r) {
250
254
  return s;
251
255
  }
252
256
  function colDataToRow(e, t) {
253
- const r = t.props.dataOrigin.groupField, o = t.props.dataOrigin.columnToRow.titleColumns, a = t.props.dataOrigin.columnToRow.dataColumns, n = t.props.dataOrigin.columnToRow.transColumns, s = t.props.dataOrigin.columnToRow.dataColumnsMapping;
257
+ const r = t.props.dataOrigin.groupField, o = t.props.dataOrigin.columnToRow.titleColumns, n = t.props.dataOrigin.columnToRow.dataColumns, a = t.props.dataOrigin.columnToRow.transColumns, s = t.props.dataOrigin.columnToRow.dataColumnsMapping;
254
258
  if (0 === e.length) return e;
255
- const l = [], i = groupBy(e, r), c = a.reduce((e2, t2) => t2.columns.length > e2.columns.length ? t2 : e2, a[0]), u = a.reduce((e2, t2) => (t2.columns.forEach((r2) => {
259
+ const l = [], i = groupBy(e, r), c = n.reduce((e2, t2) => t2.columns.length > e2.columns.length ? t2 : e2, n[0]), u = n.reduce((e2, t2) => (t2.columns.forEach((r2) => {
256
260
  e2[r2] = t2.prop;
257
261
  }), e2), {});
258
262
  return i.forEach((e2) => {
@@ -260,14 +264,14 @@ function colDataToRow(e, t) {
260
264
  const i2 = c.prop, p = {};
261
265
  if (r.forEach((t3) => {
262
266
  p[t3] = e2[t3];
263
- }), p[i2] = e2[t2], a.length > 1) {
267
+ }), p[i2] = e2[t2], n.length > 1) {
264
268
  const r2 = s.find((e3) => e3.props.includes(t2));
265
269
  r2 && r2.props.length > 1 && r2.props.forEach((r3) => {
266
270
  r3 !== t2 && u[r3] && (p[u[r3]] = e2[r3]);
267
271
  });
268
272
  }
269
273
  o.forEach((e3) => {
270
- const r2 = n.filter((t3) => t3.relatedTitle === e3.prop);
274
+ const r2 = a.filter((t3) => t3.relatedTitle === e3.prop);
271
275
  let o2 = false;
272
276
  r2 && r2.length > 0 && r2.forEach((r3) => {
273
277
  if (r3.columns.includes(t2)) return p[e3.prop] = r3.label, void (o2 = true);
@@ -277,25 +281,25 @@ function colDataToRow(e, t) {
277
281
  }), l;
278
282
  }
279
283
  function getColumnToRowTableConfig(e) {
280
- const t = e.items, r = e.props.dataOrigin.groupField, o = e.props.dataOrigin.columnToRow.titleColumns, a = e.props.dataOrigin.columnToRow.dataColumns, n = [];
284
+ const t = e.items, r = e.props.dataOrigin.groupField, o = e.props.dataOrigin.columnToRow.titleColumns, n = e.props.dataOrigin.columnToRow.dataColumns, a = [];
281
285
  r && r.length > 0 && r.forEach((e2) => {
282
286
  if (t) {
283
287
  const r2 = t.find((t2) => t2.props.base.prop === e2);
284
- r2 && n.push(r2);
288
+ r2 && a.push(r2);
285
289
  }
286
290
  });
287
- return [...o, ...a].forEach((e2) => {
291
+ return [...o, ...n].forEach((e2) => {
288
292
  if (t) {
289
293
  const r2 = t.find((t2) => t2.props.base.prop === e2);
290
- r2 ? n.push(r2) : n.push({ uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: e2.prop, name: e2.title, sortable: true, headerAlign: "center", align: "center", fixed: false, visible: true, dataType: "string" }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } });
294
+ r2 ? a.push(r2) : a.push({ uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: e2.prop, name: e2.title, sortable: true, headerAlign: "center", align: "center", fixed: false, visible: true, dataType: "string" }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } });
291
295
  }
292
- }), n;
296
+ }), a;
293
297
  }
294
298
  function groupBy(e, t) {
295
299
  const r = {};
296
300
  return e.forEach((e2) => {
297
301
  const o = t.map((t2) => e2[t2]).join("|");
298
- r[o] || (r[o] = { ...e2, records: [] }, t.forEach((t2, a) => {
302
+ r[o] || (r[o] = { ...e2, records: [] }, t.forEach((t2, n) => {
299
303
  r[o][t2] = e2[t2];
300
304
  })), r[o].records.push(e2);
301
305
  }), Object.values(r).map((e2) => ({ ...e2, records: void 0 }));
@@ -323,7 +327,7 @@ function computeFormula(itemConfs, datas, entity) {
323
327
  r += Number(e2[t]);
324
328
  });
325
329
  } catch (e2) {
326
- r = 0;
330
+ console.error("计算错误:", e2), r = 0;
327
331
  }
328
332
  totalValueMap[e] = r;
329
333
  } else (e.startsWith("${page.") || e.startsWith("${data.") || e.startsWith("${row.") || e.startsWith("${request.") || e.startsWith("${context.") || e.startsWith("${system.") || e.startsWith("${fixed.")) && (totalValueMap[e] = getValueFromVariable(entity, e, data));
@@ -335,7 +339,7 @@ function computeFormula(itemConfs, datas, entity) {
335
339
  try {
336
340
  data[key] = eval(expr);
337
341
  } catch (e) {
338
- data[key] = 0;
342
+ console.error(itemConfs[key] + " 计算错误, 替换后表达式为:" + expr, e), data[key] = 0;
339
343
  }
340
344
  });
341
345
  });
@@ -343,19 +347,19 @@ function computeFormula(itemConfs, datas, entity) {
343
347
  function getFieldName(e) {
344
348
  return e.substring(6, e.length - 1);
345
349
  }
346
- function formatColContent(e, t, r, o, a) {
347
- const n = e[r.props.base.prop];
350
+ function formatColContent(e, t, r, o, n) {
351
+ const a = e[r.props.base.prop];
348
352
  switch (t.type) {
349
353
  case "number":
350
- return formatNumber(n, t);
354
+ return formatNumber(a, t);
351
355
  case "currency":
352
- return formatCurrency(n, t);
356
+ return formatCurrency(a, t);
353
357
  case "percent":
354
- return formatPercent(n, t);
358
+ return formatPercent(a, t);
355
359
  case "custom":
356
- return formatCustomFunc(e, t, r, o, a);
360
+ return formatCustomFunc(e, t, r, o, n);
357
361
  default:
358
- return n;
362
+ return a;
359
363
  }
360
364
  }
361
365
  function formatNumber(e, t) {
@@ -370,28 +374,29 @@ function formatPercent(e, t) {
370
374
  let r = e;
371
375
  return r || (r = 0), t.decimalDigit && (r = Number(e).toFixed(t.decimalDigit)), r + " %";
372
376
  }
373
- function formatCustomFunc(e, t, r, o, a) {
374
- const n = getCustomFunc(o, t.customFunc);
375
- if (n) {
377
+ function formatCustomFunc(e, t, r, o, n) {
378
+ const a = getCustomFunc(o, t.customFunc);
379
+ if (a) {
376
380
  try {
377
- return n.apply(n, [{ pageContext: o, configureObj: a, row: e, prop: r.props.base.prop }]);
378
- } catch (e2) {
381
+ return a.apply(a, [{ pageContext: o, configureObj: n, row: e, prop: r.props.base.prop }]);
382
+ } catch (t2) {
383
+ console.error("自定义函数脚本错误:", e, t2);
379
384
  }
380
385
  return "";
381
386
  }
382
387
  }
383
- function mergeRowByProperty(e, t, r, o, a) {
384
- const n = e[o];
388
+ function mergeRowByProperty(e, t, r, o, n) {
389
+ const a = e[o];
385
390
  let s = 1, l = true;
386
391
  for (let e2 = r - 1; e2 >= 0; e2--) {
387
- if (a[e2][o] === n) {
392
+ if (n[e2][o] === a) {
388
393
  l = false;
389
394
  break;
390
395
  }
391
396
  break;
392
397
  }
393
398
  if (!l) return [0, 0];
394
- for (let e2 = r + 1; e2 < a.length && a[e2][o] === n; e2++) s++;
399
+ for (let e2 = r + 1; e2 < n.length && n[e2][o] === a; e2++) s++;
395
400
  return [s, 1];
396
401
  }
397
402
  export {
@@ -178,8 +178,9 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
178
178
  return o2.forEach((e4, o3) => {
179
179
  if (pe.value[e4.property]) {
180
180
  const t2 = pe.value[e4.property].label;
181
- n2[o3] = C("div", {}, [P(t2, r2)]);
182
- } else if (le.value[e4.property]) {
181
+ return void (n2[o3] = C("div", {}, [P(t2, r2)]));
182
+ }
183
+ if (le.value[e4.property]) {
183
184
  const t2 = r2.filter((e5, o4) => !ce.includes(o4));
184
185
  n2[o3] = J(le.value[e4.property], t2, e4.property, Q.pageContext);
185
186
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as o, openBlock as u, withCtx as i, createVNode as n, createTextVNode as p, toDisplayString as r } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as o, openBlock as u, withCtx as n, createVNode as i, createTextVNode as p, toDisplayString as r } from "vue";
2
2
  import { packageTemplateFiles as s } from "../../../utils/common-util.js";
3
3
  import { ElMessage as m } from "element-plus";
4
4
  const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["export", "close"], setup(e2, { emit: g2 }) {
@@ -7,7 +7,7 @@ const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { c
7
7
  function w(e3) {
8
8
  let t2, a2, l2 = e3;
9
9
  const o2 = l2.indexOf(c), u2 = l2.indexOf(d);
10
- return -1 !== o2 && -1 !== u2 ? (o2 > u2 ? l2 = l2.substring(0, u2) + l2.substring(u2 + 1) : (t2 = l2.substring(o2 + 2, u2), a2 = l2.substring(o2, u2 + 1), h.value.push(t2), l2 = l2.replace(a2, "")), w(l2)) : h.value;
10
+ return -1 !== o2 && -1 !== u2 ? (o2 > u2 ? l2 = l2.substring(0, u2) + l2.substring(u2 + 1) : (t2 = l2.substring(o2 + 2, u2), a2 = l2.substring(o2, u2 + 1), h.value.push(t2), h.value, l2 = l2.replace(a2, "")), w(l2)) : h.value;
11
11
  }
12
12
  function N(e3) {
13
13
  x("export", f.configure, e3);
@@ -17,16 +17,18 @@ const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { c
17
17
  }
18
18
  return a(() => {
19
19
  C.templateFiles && C.templateFiles.length > 0 ? b.value = s(C.templateFiles, f.pageContext, f.configure) : C.templateUuid && C.templateName && b.value.push({ templateUuid: C.templateUuid, templateName: C.templateName }), b.value.forEach((e3) => {
20
- var t2;
21
- e3 && e3.templateName && (e3.templateName = (w(t2 = e3.templateName).forEach((e4) => {
22
- const a2 = c + e4 + d;
23
- let l2;
24
- -1 !== t2.indexOf(a2) && Object.prototype.hasOwnProperty.call(y, e4) && (l2 = y[e4] ? y[e4] : "", t2 = t2.replace(a2, l2));
25
- }), t2));
20
+ e3 && e3.templateName && (e3.templateName = function(e4) {
21
+ const t2 = w(e4);
22
+ return t2.forEach((t3) => {
23
+ const a2 = c + t3 + d;
24
+ let l2;
25
+ -1 !== e4.indexOf(a2) && Object.prototype.hasOwnProperty.call(y, t3) && (l2 = y[t3] ? y[t3] : "", e4 = e4.replace(a2, l2));
26
+ }), e4;
27
+ }(e3.templateName));
26
28
  }), b.value && 0 !== b.value.length || (m({ message: "无符合条件可导出的模板!", type: "warning" }), x("close")), 1 === (b == null ? void 0 : b.value.length) ? (N(b.value[0]), x("close")) : v.value = true;
27
29
  }), (e3, t2) => {
28
30
  const a2 = l("el-table-column"), s2 = l("el-button"), m2 = l("el-table"), c2 = l("el-dialog");
29
- return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: i(() => [n(m2, { data: b.value, style: { width: "100%" } }, { default: i(() => [n(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: i((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), n(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: i((t3) => [n(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: i(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
31
+ return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: n(() => [i(m2, { data: b.value, style: { width: "100%" } }, { default: n(() => [i(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: n((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), i(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: n((t3) => [i(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: n(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
30
32
  };
31
33
  } });
32
34
  export {
@@ -19,6 +19,7 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
19
19
  B.value = l2 ?? 0, R(n2 || i2 || false, e3);
20
20
  }
21
21
  } catch (e3) {
22
+ console.error(e3);
22
23
  }
23
24
  }, R = (e3, t2) => {
24
25
  var _a;
@@ -55,6 +56,7 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
55
56
  })();
56
57
  b.value = e3, T.value = e3[0], b.value.forEach((e4) => e4.addEventListener("scroll", z)), window.addEventListener("resize", L), S();
57
58
  } catch (e3) {
59
+ console.error(e3);
58
60
  }
59
61
  });
60
62
  }, 100);
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as a, onMounted as r, watch as l, resolveComponent as o, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as s, unref as p, withCtx as c, createElementBlock as m, createCommentVNode as f, toDisplayString as g } from "vue";
1
+ import { defineComponent as e, computed as t, ref as r, onMounted as a, watch as o, resolveComponent as l, createBlock as n, openBlock as u, normalizeStyle as i, normalizeClass as s, unref as c, withCtx as p, createElementBlock as m, createCommentVNode as f, toDisplayString as g } from "vue";
2
2
  import d from "qrcode";
3
3
  import v from "jsbarcode";
4
4
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
@@ -12,7 +12,7 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
12
12
  let k = y(q.pageContext, q.configure);
13
13
  const A = t({ get: () => x(N, k), set(e3) {
14
14
  h(N, k, e3);
15
- } }), E = q.configure.runtime ? q.configure.runtime : {}, _ = a(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = a(""), I = a(null), Q = a(_.value.brCodeFormat ?? "CODE128"), V = a([]);
15
+ } }), E = q.configure.runtime ? q.configure.runtime : {}, _ = r(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = r(""), I = r(null), Q = r(_.value.brCodeFormat ?? "CODE128"), V = r([]);
16
16
  function F(e3) {
17
17
  return h(N, k, e3);
18
18
  }
@@ -22,31 +22,32 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
22
22
  function L(e3) {
23
23
  var t2;
24
24
  "QR-code" === _.value.type ? (t2 = e3, d.toDataURL(t2, (e4, t3) => {
25
- e4 || ($.value = t3);
25
+ e4 ? console.error(e4) : $.value = t3;
26
26
  })) : function(e4) {
27
27
  try {
28
28
  v(I.value, e4, { format: Q.value });
29
29
  } catch (e5) {
30
+ console.error("生成条形码时发生错误:", e5);
30
31
  }
31
32
  }(e3);
32
33
  }
33
- return r(() => {
34
+ return a(() => {
34
35
  _.value.generateRule && ("fixed" === _.value.generateRuleType ? (V.value = Array.from(_.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e3) => e3[1]), V.value.forEach((e3) => {
35
- l(() => q.pageContext.entity.data[e3], (e4, t2) => {
36
+ o(() => q.pageContext.entity.data[e3], (e4, t2) => {
36
37
  null != e4 && function() {
37
38
  let e5 = true;
38
39
  V.value.forEach((t3) => {
39
40
  q.pageContext.entity.data[t3] || (e5 = false);
40
41
  }), e5 && J(function(e6, t3) {
41
- const a2 = /\$\{(\w+)\}/g;
42
- return e6.replace(a2, (e7, a3) => t3.hasOwnProperty(a3) ? t3[a3] : e7);
42
+ const r2 = /\$\{(\w+)\}/g;
43
+ return e6.replace(r2, (e7, r3) => t3.hasOwnProperty(r3) ? t3[r3] : e7);
43
44
  }(_.value.generateRule, q.pageContext.entity.data));
44
45
  }();
45
46
  });
46
47
  })) : w.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-models/by-code/" + _.value.generateRule).then((e3) => {
47
48
  const t2 = JSON.parse(e3.barcodeModelItems);
48
49
  t2.forEach((e4) => {
49
- "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), l(() => q.pageContext.entity.data[e4.propDbName], (e5, a2) => {
50
+ "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, r2) => {
50
51
  if (null != e5) {
51
52
  const e6 = b(t2, q.pageContext.entity.data);
52
53
  e6 && J(e6);
@@ -54,12 +55,13 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
54
55
  }));
55
56
  });
56
57
  }).catch((e3) => {
58
+ console.error("获取条码规则失败:", e3);
57
59
  })), A.value && L(A.value);
58
60
  }), D2({ getValue: function() {
59
61
  return x(N, k);
60
62
  }, setValue: F }), (e3, t2) => {
61
- const a2 = o("el-form-item");
62
- return n(), u(a2, { required: !!_.value.required, class: s(p(P)), "label-width": _.value.labelWidth, style: i(p(O)) }, { label: c(() => [_.value.tittleShow ? (n(), m("div", { key: 0, style: i({ ...p(S) }) }, g(p(R)(_.value.title)), 5)) : f("", true)]), default: c(() => ["QR-code" === _.value.type ? (n(), m("img", { key: 0, src: $.value }, null, 8, j)) : (n(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
63
+ const r2 = l("el-form-item");
64
+ return u(), n(r2, { required: !!_.value.required, class: s(c(P)), "label-width": _.value.labelWidth, style: i(c(O)) }, { label: p(() => [_.value.tittleShow ? (u(), m("div", { key: 0, style: i({ ...c(S) }) }, g(c(R)(_.value.title)), 5)) : f("", true)]), default: p(() => ["QR-code" === _.value.type ? (u(), m("img", { key: 0, src: $.value }, null, 8, j)) : (u(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
63
65
  };
64
66
  } });
65
67
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
2
- import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as S, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
2
+ import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as S, rowDblClick as w, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
3
3
  import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
5
5
  import { isPromise as N } from "agilebuilder-ui/src/utils/common-util";
@@ -23,7 +23,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
23
23
  const e3 = Y.systemCode, t2 = Y.code;
24
24
  let n2 = J.props && J.props.dataOrigin && "[]" !== J.props.dataOrigin.sqlFilterCondition ? J.props.dataOrigin.sqlFilterCondition : null;
25
25
  null == n2 && (n2 = []);
26
- const o2 = (_a = J.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: Y.beanName, functionCode: t2 + ".listData", tableName: ne, systemCode: e3, pageCode: Y.code, pageVersion: Y.version }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Se, esc: Ee }, indexContinuous: !(!J.props || !J.props.otherSettings) && J.props.otherSettings.serialNumberContinuous, initSearch: !J.props || false !== J.props.dataOrigin.initializationQuery, resizeHeight: je, pageCode: Y.code, pageVersion: Y.version, additionalParamMap: I(Y), showOverflowTooltip: !(!J.props || !J.props.otherSettings || void 0 !== J.props.otherSettings.isBreakLine && false !== J.props.otherSettings.isBreakLine), isEnableEnterEvent: J.props && J.props.otherSettings && J.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(J.props && J.props.otherSettings && J.props.otherSettings.isWithDataPermission) && J.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(Y), tableClass: Z, tableStyle: X, pageContext: Y, configureObj: J, backendUrl: oe, cellStyleRender: qe, rowStyleRender: We, titleStyleRender: Qe, validateEitConditions: Xe };
26
+ const o2 = (_a = J.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: Y.beanName, functionCode: t2 + ".listData", tableName: ne, systemCode: e3, pageCode: Y.code, pageVersion: Y.version }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: we, esc: Ee }, indexContinuous: !(!J.props || !J.props.otherSettings) && J.props.otherSettings.serialNumberContinuous, initSearch: !J.props || false !== J.props.dataOrigin.initializationQuery, resizeHeight: je, pageCode: Y.code, pageVersion: Y.version, additionalParamMap: I(Y), showOverflowTooltip: !(!J.props || !J.props.otherSettings || void 0 !== J.props.otherSettings.isBreakLine && false !== J.props.otherSettings.isBreakLine), isEnableEnterEvent: J.props && J.props.otherSettings && J.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(J.props && J.props.otherSettings && J.props.otherSettings.isWithDataPermission) && J.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(Y), tableClass: Z, tableStyle: X, pageContext: Y, configureObj: J, backendUrl: oe, cellStyleRender: qe, rowStyleRender: We, titleStyleRender: Qe, validateEitConditions: Xe };
27
27
  return function(e4) {
28
28
  var _a2;
29
29
  ((_a2 = J.props.highOrder) == null ? void 0 : _a2.mergeFields) && J.props.highOrder.mergeFields.length > 0 && (e4.mergeFields = J.props.highOrder.mergeFields.join(","));
@@ -60,7 +60,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
60
60
  e3 && (e3 = O(e3, ee, te, Y.isTest));
61
61
  return e3;
62
62
  }(), ce = T(Y.code, Y.version, J.uuid), pe = Y.code + "_" + ce, de = t([]), fe = Y.entity.page, ge = t({ data: [] }), me = Y.superGridItems, ve = me ? me[J.uuid] : null, he = t(false), be = q;
63
- function we() {
63
+ function Se() {
64
64
  J.props.linkages && J.props.linkages.length > 0 && (J.props.linkages.forEach((e3) => {
65
65
  const t2 = M(e3.fieldName);
66
66
  t2 && t2.length > 1 && ae.push(t2[1]);
@@ -84,7 +84,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
84
84
  }
85
85
  }());
86
86
  }
87
- function Se({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
87
+ function we({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
88
88
  Ce(null, null, n2, t2, e3);
89
89
  }
90
90
  function Ce(e3, t2, n2, o2, i2) {
@@ -244,10 +244,10 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
244
244
  b(Y, J, { row: e3, column: t2, cell: n2, event: o2 });
245
245
  }
246
246
  function $e(e3, t2, n2) {
247
- w(Y, J, { row: e3, column: t2, event: n2 });
247
+ S(Y, J, { row: e3, column: t2, event: n2 });
248
248
  }
249
249
  function _e(e3, t2, n2) {
250
- S(Y, J, { row: e3, column: t2, event: n2 });
250
+ w(Y, J, { row: e3, column: t2, event: n2 });
251
251
  }
252
252
  function Ae(e3, t2) {
253
253
  C(Y, J, { column: e3, event: t2 });
@@ -283,7 +283,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
283
283
  }
284
284
  n(() => {
285
285
  const e3 = Ke();
286
- ue.value && e3 && e3.distanceToBottom && (ue.value.tableHeight = e3.distanceToBottom - 110), Q.pageContext.pageRuntimeStyle, window.addEventListener("message", Pe), F.$on(pe + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
286
+ ue.value && e3 && e3.distanceToBottom && (ue.value.tableHeight = e3.distanceToBottom - 110), Q.pageContext.pageRuntimeStyle && Q.pageContext.pageRuntimeStyle.height, window.addEventListener("message", Pe), F.$on(pe + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
287
287
  ue.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
288
288
  }), F.$on(pe + "_close-dialog-get-entity", () => {
289
289
  F.$emit(pe + "_close-super-dialog");
@@ -373,7 +373,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
373
373
  return (_a = ue.value) == null ? void 0 : _a.getColumns();
374
374
  } }), (e3, t2) => {
375
375
  const n2 = a("super-grid");
376
- return r(), l("div", { ref_key: "tableDivRef", ref: re, id: u(ce) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: ue, url: u(se), options: le.value, code: u(ce), settings: u(ve), "search-form-info": ge.value, "list-toolbar-form-data": u(fe), isDialog: u(Y).isDialog, onSelect: Fe, onSelectAll: He, onSelectionChange: Ue, onCellClick: Le, onCellDblclick: Me, onRowClick: $e, onRowDblclick: _e, onHeaderClick: Ae, onRefresh: Ge, onNewOpenGridDialog: u(P), onCanShowMobileSearch: ze, onGridOnmounted: we }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, z);
376
+ return r(), l("div", { ref_key: "tableDivRef", ref: re, id: u(ce) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: ue, url: u(se), options: le.value, code: u(ce), settings: u(ve), "search-form-info": ge.value, "list-toolbar-form-data": u(fe), isDialog: u(Y).isDialog, onSelect: Fe, onSelectAll: He, onSelectionChange: Ue, onCellClick: Le, onCellDblclick: Me, onRowClick: $e, onRowDblclick: _e, onHeaderClick: Ae, onRefresh: Ge, onNewOpenGridDialog: u(P), onCanShowMobileSearch: ze, onGridOnmounted: Se }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, z);
377
377
  };
378
378
  } });
379
379
  export {