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,8 +2,8 @@ import e from "agilebuilder-ui/src/utils/request";
2
2
  import { getAdditionalParamMap as t } from "./events/standard-event.js";
3
3
  import { PageDimensions as i } from "./interfaces/page-design-types.js";
4
4
  import { getFormPropName as n, getVariableValue as s, setVariableValue as o, formatVariableValue as r } from "./page-helper-util.js";
5
- import { getSessionCache as l } from "agilebuilder-ui/src/utils/auth";
6
- import { functions as a } from "./api/page-expose-util.js";
5
+ import { getSessionCache as a } from "agilebuilder-ui/src/utils/auth";
6
+ import { functions as l } from "./api/page-expose-util.js";
7
7
  import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
8
8
  import { packageCustomValidator as d } from "./events/validator-util.js";
9
9
  import { isMobileBrowser as c } from "agilebuilder-ui/src/utils/common-util";
@@ -11,23 +11,41 @@ function f(t2) {
11
11
  return new Promise((i2, n2) => {
12
12
  (function(t3) {
13
13
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
14
- })(t2).then((t3) => {
15
- t3 ? e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param").then((n3) => {
16
- n3 && (t3.systemParam = g(n3)), function(t4, i3) {
17
- let n4 = "";
18
- t4 && i3 && (n4 = "?listViewTableName=" + t4 + "&listViewTablePublishVersion=" + i3);
19
- return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + n4);
20
- }(t3.listViewTableName, t3.listViewTablePublishVersion).then((e2) => {
21
- e2 ? (t3.contextParam = g(e2.contextParam), t3.branchFieldAuth = e2.branchFieldAuth, t3.isWorkflowEntity = e2.isWorkflowEntity, t3.dataTypeMaps = e2.dataTypeMaps, i2(t3)) : i2(null);
14
+ })(t2).then((e2) => {
15
+ e2 ? b().then((t3) => {
16
+ t3 && (e2.systemParam = h(t3)), g(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
17
+ t4 ? (e2.contextParam = h(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, i2(e2)) : i2(null);
22
18
  });
23
19
  }) : i2(null);
24
20
  });
25
21
  });
26
22
  }
27
- function m(e2) {
23
+ function m(e2, t2) {
24
+ return new Promise((i2, n2) => {
25
+ e2 ? b().then((s2) => {
26
+ s2 && (e2.systemParam = h(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? j(e2, t2, e2.systemVersion).then((t3) => {
27
+ e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, i2(e2);
28
+ }).catch((e3) => {
29
+ n2(e3);
30
+ }) : g("", "").then((t3) => {
31
+ t3 ? (e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, i2(e2)) : i2(null);
32
+ }).catch((e3) => {
33
+ n2(e3);
34
+ });
35
+ }) : i2(null);
36
+ });
37
+ }
38
+ function g(t2, i2) {
39
+ let n2 = "";
40
+ return t2 && i2 && (n2 = "?listViewTableName=" + t2 + "&listViewTablePublishVersion=" + i2), e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + n2);
41
+ }
42
+ function b() {
43
+ return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
44
+ }
45
+ function y(e2) {
28
46
  var _a, _b, _c;
29
47
  if (null == e2) return null;
30
- const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: b(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
48
+ const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
31
49
  if (e2.props && e2.props.notIdInitializationList) {
32
50
  let i2 = e2.props.notIdInitializationList;
33
51
  "string" == typeof i2 && (i2 = JSON.parse(i2)), i2.length > 0 && (t2.notIdInitializationList = i2);
@@ -48,7 +66,7 @@ function m(e2) {
48
66
  return e3 > 768 ? i.PC : e3 > 414 ? i.IPAD : i.PHONE;
49
67
  }(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
50
68
  }
51
- function g(e2) {
69
+ function h(e2) {
52
70
  try {
53
71
  const t2 = function(e3) {
54
72
  if (!e3) return e3;
@@ -65,15 +83,16 @@ function g(e2) {
65
83
  return e2;
66
84
  }
67
85
  }
68
- function b(e2) {
86
+ function w(e2) {
69
87
  try {
70
88
  return e2.props && e2.props.judgeHeavyList.length > 0 ? (e2.props.judgeHeavyList.forEach((e3) => {
71
89
  e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
72
90
  }), e2.props.judgeHeavyList) : null;
73
91
  } catch (e3) {
92
+ console.error("getJudgeHeavyList error:", e3);
74
93
  }
75
94
  }
76
- function w(e2) {
95
+ function P(e2) {
77
96
  let t2 = decodeURI(window.location.href);
78
97
  try {
79
98
  window.top && !Array.isArray(window.top) && (t2 = decodeURI(window.top.location.href));
@@ -93,49 +112,49 @@ function w(e2) {
93
112
  }
94
113
  e2._t_;
95
114
  }
96
- function y(e2, t2) {
115
+ function E(e2, t2) {
97
116
  if (e2) {
98
117
  Object.assign(t2, e2);
99
- P(e2.paramStoreId, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
118
+ C(e2.paramStoreId, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
100
119
  }
101
120
  }
102
- function h(e2, t2) {
103
- if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
121
+ function v(e2, t2) {
122
+ if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
104
123
  Object.assign(t2, e2.query);
105
- P(e2.query.paramStoreId, t2);
124
+ C(e2.query.paramStoreId, t2);
106
125
  }
107
126
  }
108
- function P(e2, t2) {
127
+ function C(e2, t2) {
109
128
  if (e2) {
110
- const i2 = l(e2);
129
+ const i2 = a(e2);
111
130
  if (i2) {
112
131
  const e3 = JSON.parse(i2);
113
132
  Object.assign(t2, e3);
114
133
  }
115
134
  }
116
135
  }
117
- function E(e2, t2) {
136
+ function k(e2, t2) {
118
137
  let i2, n2 = t2;
119
138
  t2 || (i2 = e2.props.base ? e2.props.base : {}, n2 = i2.prop);
120
139
  let s2 = null;
121
140
  return t2 && !t2.startsWith("${") ? s2 = ["data", t2] : !e2 || n2 && n2.startsWith("${") ? n2.startsWith("${") ? (n2 = n2.substring(2, n2.length - 1), s2 = n2.split("."), e2 && s2.length < 2 && (s2 = [e2.uuid])) : e2 && (s2 = ["page", e2.uuid]) : s2 = ["page", e2.uuid], s2 || e2 ? s2 : ["temp"];
122
141
  }
123
- function v(e2, t2, i2) {
142
+ function M(e2, t2, i2) {
124
143
  var _a;
125
- const n2 = E(t2, i2), r2 = e2.entity;
144
+ const n2 = k(t2, i2), r2 = e2.entity;
126
145
  if (null == r2.data.ID && null == r2.data.id) {
127
- let i3, l2, a2 = false;
128
- t2 && (i3 = t2.props.base ? t2.props.base : {}, l2 = t2.name, a2 = i3.multiple);
146
+ let i3, a2, l2 = false;
147
+ t2 && (i3 = t2.props.base ? t2.props.base : {}, a2 = t2.name, l2 = i3.multiple);
129
148
  const p2 = s(r2, n2);
130
149
  if (null == p2) {
131
150
  const t3 = i3 ? i3.defaultValue : null;
132
151
  if (t3) try {
133
- const s2 = C(e2, t3, l2, a2);
152
+ const s2 = A(e2, t3, a2, l2);
134
153
  if (null != s2 && "" !== s2) o(r2, n2, s2);
135
154
  else if (((_a = i3.moreDefaultValue) == null ? void 0 : _a.length) > 0) {
136
155
  const t4 = i3.moreDefaultValue;
137
156
  for (let i4 = 0; i4 < t4.length; i4++) {
138
- const s3 = C(e2, t4[i4], l2, a2);
157
+ const s3 = A(e2, t4[i4], a2, l2);
139
158
  if (null != s3 && "" !== s3) {
140
159
  o(r2, n2, s3);
141
160
  break;
@@ -143,12 +162,13 @@ function v(e2, t2, i2) {
143
162
  }
144
163
  }
145
164
  } catch (e3) {
165
+ console.error("设置默认值出错:", n2, e3);
146
166
  }
147
167
  }
148
168
  }
149
169
  return n2;
150
170
  }
151
- function C(e2, t2, i2, n2) {
171
+ function A(e2, t2, i2, n2) {
152
172
  let s2;
153
173
  if (t2 && (s2 = r(e2, t2), null != s2 && null != s2 && i2)) {
154
174
  let e3 = false;
@@ -156,7 +176,7 @@ function C(e2, t2, i2, n2) {
156
176
  }
157
177
  return s2;
158
178
  }
159
- function M(e2, t2) {
179
+ function I(e2, t2) {
160
180
  var _a, _b;
161
181
  if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
162
182
  const i2 = [];
@@ -165,48 +185,48 @@ function M(e2, t2) {
165
185
  const n2 = e2.sourceTypes ? e2.sourceTypes : [], s2 = e2.functionCodes;
166
186
  for (let e3 = 0; e3 < s2.length; e3++) {
167
187
  const o2 = s2[e3], r2 = e3 < n2.length ? n2[e3] : "";
168
- let l2 = "";
169
- if ("service" == r2) l2 = o2;
170
- else if ("standard" === r2) l2 = t2.code + "." + o2;
188
+ let a2 = "";
189
+ if ("service" == r2) a2 = o2;
190
+ else if ("standard" === r2) a2 = t2.code + "." + o2;
171
191
  else {
172
- l2 = "custom" === k(o2, t2).type ? o2 : t2.code + "." + o2;
192
+ a2 = "custom" === T(o2, t2).type ? o2 : t2.code + "." + o2;
173
193
  }
174
- i2.includes(l2) || i2.push(l2);
194
+ i2.includes(a2) || i2.push(a2);
175
195
  }
176
196
  }
177
197
  return i2.join(",");
178
198
  }
179
- function k(e2, t2) {
199
+ function T(e2, t2) {
180
200
  const i2 = t2.pagePermissions;
181
201
  if (i2 && i2.length > 0) {
182
202
  for (let t3 = 0; t3 < i2.length; t3++) if (i2[t3].simpleCode === e2) return i2[t3];
183
203
  }
184
204
  return null;
185
205
  }
186
- function I(i2, n2, s2) {
206
+ function j(i2, n2, s2) {
187
207
  const o2 = i2.tableRuntimes, r2 = t(n2);
188
- let l2;
189
- const a2 = n2.code;
190
- return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: l2, pageCode: a2, publishVersion: s2, pageType: i2.pageType });
208
+ let a2;
209
+ const l2 = i2.code;
210
+ return r2 && Object.keys(r2) > 0 && (a2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: a2, pageCode: l2, publishVersion: s2, pageType: i2.pageType });
191
211
  }
192
- const A = ["button-detail", "print-label"];
193
- function j(e2, t2, i2) {
212
+ const O = ["button-detail", "print-label"];
213
+ function x(e2, t2, i2) {
194
214
  var _a, _b;
195
215
  const s2 = t2.props && t2.props.base ? t2.props.base.prop : null, o2 = p(e2);
196
216
  let r2 = false;
197
- if (o2 && A.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
217
+ if (o2 && O.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
198
218
  const i3 = e2.fieldPermissionMap.get("all_fields");
199
219
  false === (i3 == null ? void 0 : i3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
200
220
  }
201
221
  if (s2) {
202
- const l2 = n(s2);
203
- if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[l2] || (e2.rules[l2] = []), t2.props.rules.forEach((e3) => {
222
+ const a2 = n(s2);
223
+ if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[a2] || (e2.rules[a2] = []), t2.props.rules.forEach((e3) => {
204
224
  d(e3), !i2 && e3 && e3.required && (e3.required = false);
205
- }), e2.rules[l2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
206
- const n2 = e2.fieldPermissionMap.get(l2);
207
- if (!i2 && e2.workflowRules && (e2.workflowRules[l2] || e2.workflowRules.rules && e2.workflowRules.rules[l2])) {
208
- let t3 = e2.workflowRules[l2];
209
- if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[l2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
225
+ }), e2.rules[a2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
226
+ const n2 = e2.fieldPermissionMap.get(a2);
227
+ if (!i2 && e2.workflowRules && (e2.workflowRules[a2] || e2.workflowRules.rules && e2.workflowRules.rules[a2])) {
228
+ let t3 = e2.workflowRules[a2];
229
+ if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[a2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
210
230
  const i3 = t3[e3];
211
231
  if (i3 && i3.required) {
212
232
  i3.required = false;
@@ -217,10 +237,10 @@ function j(e2, t2, i2) {
217
237
  }
218
238
  t2.runtime.props || (t2.runtime.props = {}), n2 ? (!i2 && n2.canEdit && (n2.canEdit = false), false === n2.canEdit ? t2.runtime.props.state = "disabled" : n2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
219
239
  }
220
- ((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: l2, events: t2.props.customRuleEvents }));
240
+ ((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: a2, events: t2.props.customRuleEvents }));
221
241
  }
222
242
  }
223
- function O(e2, t2) {
243
+ function R(e2, t2) {
224
244
  if (e2.initInfo) {
225
245
  ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((i2) => {
226
246
  const n2 = e2.initInfo[i2];
@@ -230,22 +250,23 @@ function O(e2, t2) {
230
250
  const e3 = u(i3[0]);
231
251
  e3.name = t2, i3 = [e3];
232
252
  }
233
- a.dynamicControlFormEdit(e2, i3, false);
234
- } else "disableElement" === i2 ? n2.indexOf(t2) >= 0 && a.disableElement(e2, [t2], false) : "enableElement" === i2 ? n2.indexOf(t2) >= 0 && a.enableElement(e2, [t2], false) : "hideElement" === i2 ? n2.indexOf(t2) >= 0 && a.hideElement(e2, [t2], false) : "showElement" === i2 && n2.indexOf(t2) >= 0 && a.showElement(e2, [t2], false);
253
+ l.dynamicControlFormEdit(e2, i3, false);
254
+ } else "disableElement" === i2 ? n2.indexOf(t2) >= 0 && l.disableElement(e2, [t2], false) : "enableElement" === i2 ? n2.indexOf(t2) >= 0 && l.enableElement(e2, [t2], false) : "hideElement" === i2 ? n2.indexOf(t2) >= 0 && l.hideElement(e2, [t2], false) : "showElement" === i2 && n2.indexOf(t2) >= 0 && l.showElement(e2, [t2], false);
235
255
  });
236
256
  }
237
257
  }
238
258
  export {
239
- O as controlObjectRenderState,
240
- m as convertToPageContext,
241
- C as getDefaultValue,
242
- v as getFormModelFields,
243
- E as getModelFields,
244
- M as getPermissionCodes,
245
- w as packageAdditionalMapWithLocationSearch,
246
- y as packageAdditionalMapWithPageRequest,
247
- h as packageAdditionalMapWithRoute,
248
- j as packageFormRules,
259
+ R as controlObjectRenderState,
260
+ y as convertToPageContext,
261
+ A as getDefaultValue,
262
+ M as getFormModelFields,
263
+ k as getModelFields,
264
+ I as getPermissionCodes,
265
+ P as packageAdditionalMapWithLocationSearch,
266
+ E as packageAdditionalMapWithPageRequest,
267
+ v as packageAdditionalMapWithRoute,
268
+ x as packageFormRules,
249
269
  f as queryPageDesignByCode,
250
- I as queryPageSuperGrids
270
+ m as queryPageDesignWhenPreview,
271
+ j as queryPageSuperGrids
251
272
  };
@@ -1,18 +1,18 @@
1
1
  import { ref as e } from "vue";
2
- import { defineStore as o } from "pinia";
3
- import a from "./eventBus.js";
4
- const t = o("pageContextUtil", () => {
5
- const o2 = e({ systemCode: "", systemVersion: -1 }), t2 = e(false), n = e(false), u = e(false), l = e(0), d = e(0);
6
- return { pageContext: o2, setPageContext: function(e2) {
7
- o2.value = e2;
2
+ import { defineStore as a } from "pinia";
3
+ import o from "./eventBus.js";
4
+ const t = a("pageContextUtil", () => {
5
+ const a2 = e({ systemCode: "", systemVersion: -1 }), t2 = e(false), n = e(false), u = e(false), l = e(0), v = e(0);
6
+ return { pageContext: a2, setPageContext: function(e2) {
7
+ a2.value = e2;
8
8
  }, countComponentsTotalNmber: function() {
9
9
  l.value++, t2.value = false, u.value = false;
10
10
  }, countComponentsLoadedNumber: function() {
11
- d.value++, u.value = false;
12
- }, componentsTotalNmber: l, componentsLoadedNumber: d, setPageComponentsLoaded: function(e2) {
13
- t2.value = e2, t2.value && n.value && (a.$emit("pageLoaded"), u.value = true);
11
+ v.value++, u.value = false;
12
+ }, componentsTotalNmber: l, componentsLoadedNumber: v, setPageComponentsLoaded: function(e2) {
13
+ t2.value = e2, t2.value && n.value && (o.$emit("pageLoaded"), u.value = true);
14
14
  }, setFormPageDataLoadState: function(e2) {
15
- n.value = e2, t2.value && n.value && (u.value = true);
15
+ n.value = e2, t2.value && n.value && (t2.value, n.value, u.value = true);
16
16
  }, formPageDataLoaded: n, pageComponentsLoaded: t2, restorePageLoadState: function() {
17
17
  t2.value = false, n.value = false, u.value = false;
18
18
  }, pageLoaded: u, getPageLoaded: function() {
@@ -19,7 +19,7 @@ function u(t2, e2) {
19
19
  }
20
20
  function l(t2, e2, i2, s2) {
21
21
  const r2 = !(!e2.props || !e2.props.base) && e2.props.base.showOperation, u2 = e2.btnList;
22
- r2 && u2 && u2.forEach((e3) => {
22
+ e2.btnList, r2 && u2 && u2.forEach((e3) => {
23
23
  const r3 = {}, u3 = Object.assign({}, e3.props.base);
24
24
  if ("custom" === e3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === e3.isPermission || e3.isPermission + "" == "true") {
25
25
  const i3 = o(e3, t2);
@@ -1,9 +1,13 @@
1
- import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as d, Fragment as n, renderList as p } from "vue";
2
- const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup: (e2) => (l(e2.headerInfo, () => {
3
- }), (l2, t2) => {
4
- const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
5
- return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[0] || (t2[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: d(() => [(r(true), u(n, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(n, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[1] || (t2[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[2] || (t2[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: d(() => [(r(true), u(n, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
6
- }) });
1
+ import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as n, Fragment as d, renderList as p } from "vue";
2
+ const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup(e2) {
3
+ const t2 = e2;
4
+ return l(t2.headerInfo, () => {
5
+ t2.headerInfo;
6
+ }), (l2, t3) => {
7
+ const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
8
+ return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[0] || (t3[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(d, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[1] || (t3[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[2] || (t3[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
9
+ };
10
+ } });
7
11
  export {
8
12
  t as default
9
13
  };
@@ -3,12 +3,13 @@ import { Search as p } from "@element-plus/icons-vue";
3
3
  import g from "./common-chart-header-group.vue.js";
4
4
  import m from "./common-chart-header-breadcrumb.vue.js";
5
5
  import b from "./common-homepage-search.vue.js";
6
- import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as w } from "../../../../utils/page-helper-util.js";
7
- const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
6
+ import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as O } from "../../../../utils/page-helper-util.js";
7
+ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
8
8
  const N = e2, D = o(null), A = o(), R = _;
9
9
  function S(e3) {
10
10
  const o2 = N.headerInfo.drillOptions.length;
11
- if (!(e3 >= o2)) {
11
+ if (e3 >= o2) N.headerInfo.drillOptions;
12
+ else {
12
13
  for (let r2 = o2 - 1; r2 >= e3; r2--) N.headerInfo.drillOptions.splice(r2, 1);
13
14
  q(e3);
14
15
  }
@@ -34,7 +35,7 @@ const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-h
34
35
  for (let e4 of o2.variables) {
35
36
  if (!e4.fieldName || !e4.variable) continue;
36
37
  const o3 = y(r2, e4.fieldName, void 0);
37
- w(N.pageContext.entity, e4.variable, o3);
38
+ O(N.pageContext.entity, e4.variable, o3);
38
39
  }
39
40
  }
40
41
  N.headerInfo.drillOptions || (N.headerInfo.drillOptions = []);
@@ -46,11 +47,12 @@ const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-h
46
47
  if (r2 + 1 >= N.headerInfo.options.length) {
47
48
  return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0), void R("drill-end", e3);
48
49
  }
50
+ N.headerInfo.options;
49
51
  const n2 = N.headerInfo.options[r2], t2 = o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : null, a2 = { fieldName: n2.target ? n2.target.replace(".", "_") : "", rawFieldName: n2.target ? n2.target : "", label: e3.name, value: e3.name, data: t2 };
50
52
  N.headerInfo.drillOptions.push(a2), q(r2 + 1);
51
53
  }, closeDrill: S }), (o2, v2) => {
52
- const y2 = r("el-icon"), w2 = r("el-tooltip");
53
- return t(), n("div", x, [a("div", O, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(w2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
54
+ const y2 = r("el-icon"), O2 = r("el-tooltip");
55
+ return t(), n("div", w, [a("div", x, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + "  ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(O2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
54
56
  };
55
57
  } });
56
58
  export {
@@ -16,50 +16,50 @@ import "agilebuilder-ui/src/utils/auth";
16
16
  import "axios";
17
17
  import "../../../../utils/events/print-label.js";
18
18
  import "dayjs";
19
- const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, O = { class: "dialog-footer" }, x = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
20
- } } }, setup(e2, { expose: x2 }) {
21
- const N = e2, _ = t(false), j = t({}), J = t(0);
19
+ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, _ = { class: "dialog-footer" }, O = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
20
+ } } }, setup(e2, { expose: O2 }) {
21
+ const x = e2, N = t(false), j = t({}), J = t(0);
22
22
  let I;
23
23
  i(() => {
24
24
  I = setTimeout(() => {
25
- j.value = JSON.parse(JSON.stringify(N.pageContext.entity));
25
+ j.value = JSON.parse(JSON.stringify(x.pageContext.entity));
26
26
  }, 200);
27
27
  }), o(() => {
28
28
  I && clearTimeout(I);
29
29
  });
30
30
  const k = t([]), w = () => {
31
- _.value = false;
31
+ N.value = false;
32
32
  }, T = () => {
33
33
  const e3 = h.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
34
- v(N.pageContext, N.pageContext.initChartServiceConfigs, null, false).then(() => {
35
- _.value = false;
34
+ v(x.pageContext, x.pageContext.initChartServiceConfigs, null, false).then(() => {
35
+ N.value = false;
36
36
  }).finally(() => {
37
- _.value = false, e3.close();
37
+ N.value = false, e3.close();
38
38
  });
39
39
  };
40
40
  function H() {
41
- N.pageContext.entity = JSON.parse(JSON.stringify(j.value)), J.value++;
41
+ x.pageContext.entity = JSON.parse(JSON.stringify(j.value)), J.value++;
42
42
  }
43
43
  function A() {
44
44
  const e3 = {};
45
- N.pageContext.variables.forEach((t3) => {
45
+ x.pageContext.variables.forEach((t3) => {
46
46
  const i3 = "${page." + t3.name + "}";
47
- e3[i3] = y(N.pageContext.entity, i3, null);
47
+ e3[i3] = y(x.pageContext.entity, i3, null);
48
48
  });
49
49
  let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), i2 = {};
50
- t2 && (i2 = JSON.parse(t2)), i2[N.configure.homeChartSettingUserId] = e3;
50
+ t2 && (i2 = JSON.parse(t2)), i2[x.configure.homeChartSettingUserId] = e3;
51
51
  const o2 = JSON.stringify(e3);
52
- window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), j.value = JSON.parse(JSON.stringify(N.pageContext.entity)), b.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: N.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
52
+ window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), j.value = JSON.parse(JSON.stringify(x.pageContext.entity)), b.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: x.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
53
53
  C.success("保存成功"), T();
54
54
  });
55
55
  }
56
- return x2({ openSearch: () => {
57
- _.value = true, k.value = N.configure.pushHomepage.searchConditions;
56
+ return O2({ openSearch: () => {
57
+ N.value = true, k.value = x.configure.pushHomepage.searchConditions;
58
58
  } }), (t2, i2) => {
59
59
  const o2 = l("el-empty"), v2 = l("el-form"), y2 = l("el-button"), h2 = l("el-dialog");
60
- return r(), a(h2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: J.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(y2, { type: "primary", onClick: T }, { default: n(() => i2[1] || (i2[1] = [p(" 确定 ")])), _: 1 }), s(y2, { type: "default", onClick: H }, { default: n(() => i2[2] || (i2[2] = [p("重置")])), _: 1 }), s(y2, { type: "primary", onClick: A }, { default: n(() => i2[3] || (i2[3] = [p(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
60
+ return r(), a(h2, { modelValue: N.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => N.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: J.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", _, [s(y2, { type: "primary", onClick: T }, { default: n(() => i2[1] || (i2[1] = [p(" 确定 ", -1)])), _: 1, __: [1] }), s(y2, { type: "default", onClick: H }, { default: n(() => i2[2] || (i2[2] = [p("重置", -1)])), _: 1, __: [2] }), s(y2, { type: "primary", onClick: A }, { default: n(() => i2[3] || (i2[3] = [p(" 保存为默认条件 ", -1)])), _: 1, __: [3] })])]), _: 1 }, 8, ["modelValue"]);
61
61
  };
62
62
  } });
63
63
  export {
64
- x as default
64
+ O as default
65
65
  };