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.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -70
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +26 -25
- package/dist/es/components/runtime/utils/events/standard-event.js +10 -10
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.d.ts +2 -1
- package/dist/es/components/runtime/utils/page-init-util.js +87 -66
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +35 -35
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +35 -34
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -3
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +13 -11
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +9 -0
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +141 -132
- package/dist/es/style.css +76 -76
- package/dist/lib/_virtual/AttributeMap.js +4 -0
- package/dist/lib/_virtual/Barcode.js +4 -0
- package/dist/lib/_virtual/CODE128.js +4 -0
- package/dist/lib/_virtual/CODE128A.js +4 -0
- package/dist/lib/_virtual/CODE128B.js +4 -0
- package/dist/lib/_virtual/CODE128C.js +4 -0
- package/dist/lib/_virtual/CODE128_AUTO.js +4 -0
- package/dist/lib/_virtual/CODE93.js +4 -0
- package/dist/lib/_virtual/CODE93FullASCII.js +4 -0
- package/dist/lib/_virtual/Delta.js +4 -0
- package/dist/lib/_virtual/EAN.js +4 -0
- package/dist/lib/_virtual/EAN13.js +4 -0
- package/dist/lib/_virtual/EAN2.js +4 -0
- package/dist/lib/_virtual/EAN5.js +4 -0
- package/dist/lib/_virtual/EAN8.js +4 -0
- package/dist/lib/_virtual/ErrorHandler.js +4 -0
- package/dist/lib/_virtual/ITF.js +4 -0
- package/dist/lib/_virtual/ITF14.js +4 -0
- package/dist/lib/_virtual/JsBarcode.js +6 -0
- package/dist/lib/_virtual/MSI.js +4 -0
- package/dist/lib/_virtual/MSI10.js +4 -0
- package/dist/lib/_virtual/MSI1010.js +4 -0
- package/dist/lib/_virtual/MSI11.js +4 -0
- package/dist/lib/_virtual/MSI1110.js +4 -0
- package/dist/lib/_virtual/Op.js +4 -0
- package/dist/lib/_virtual/OpIterator.js +4 -0
- package/dist/lib/_virtual/OverloadYield.js +4 -0
- package/dist/lib/_virtual/SVGPathData.js +4 -0
- package/dist/lib/_virtual/SVGPathData2.js +5 -0
- package/dist/lib/_virtual/UPC.js +4 -0
- package/dist/lib/_virtual/UPCE.js +4 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +33 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/_virtual/alignment-pattern.js +4 -0
- package/dist/lib/_virtual/arrayLikeToArray.js +4 -0
- package/dist/lib/_virtual/arrayWithHoles.js +4 -0
- package/dist/lib/_virtual/arrayWithoutHoles.js +4 -0
- package/dist/lib/_virtual/assertThisInitialized.js +4 -0
- package/dist/lib/_virtual/asyncToGenerator.js +4 -0
- package/dist/lib/_virtual/asyncToGenerator2.js +6 -0
- package/dist/lib/_virtual/auto.js +4 -0
- package/dist/lib/_virtual/backo2.js +4 -0
- package/dist/lib/_virtual/base64-arraybuffer.js +4 -0
- package/dist/lib/_virtual/binary.js +4 -0
- package/dist/lib/_virtual/browser.js +4 -0
- package/dist/lib/_virtual/browser2.js +4 -0
- package/dist/lib/_virtual/canvas.js +4 -0
- package/dist/lib/_virtual/canvas2.js +4 -0
- package/dist/lib/_virtual/checksums.js +4 -0
- package/dist/lib/_virtual/classCallCheck.js +4 -0
- package/dist/lib/_virtual/clipboard.js +4 -0
- package/dist/lib/_virtual/commons.js +4 -0
- package/dist/lib/_virtual/constants.js +4 -0
- package/dist/lib/_virtual/constants2.js +4 -0
- package/dist/lib/_virtual/constants3.js +4 -0
- package/dist/lib/_virtual/constants4.js +4 -0
- package/dist/lib/_virtual/createClass.js +4 -0
- package/dist/lib/_virtual/dayjs.min.js +4 -0
- package/dist/lib/_virtual/decodePacket.browser.js +4 -0
- package/dist/lib/_virtual/defaults.js +4 -0
- package/dist/lib/_virtual/defineProperty.js +4 -0
- package/dist/lib/_virtual/defineProperty2.js +6 -0
- package/dist/lib/_virtual/dijkstra.js +4 -0
- package/dist/lib/_virtual/encodePacket.browser.js +4 -0
- package/dist/lib/_virtual/encoder.js +4 -0
- package/dist/lib/_virtual/error-correction-code.js +4 -0
- package/dist/lib/_virtual/error-correction-level.js +4 -0
- package/dist/lib/_virtual/es.array.concat.js +4 -0
- package/dist/lib/_virtual/es.array.every.js +4 -0
- package/dist/lib/_virtual/es.array.fill.js +4 -0
- package/dist/lib/_virtual/es.array.for-each.js +4 -0
- package/dist/lib/_virtual/es.array.from.js +4 -0
- package/dist/lib/_virtual/es.array.includes.js +4 -0
- package/dist/lib/_virtual/es.array.index-of.js +4 -0
- package/dist/lib/_virtual/es.array.index-of2.js +3 -0
- package/dist/lib/_virtual/es.array.iterator.js +3 -0
- package/dist/lib/_virtual/es.array.join.js +4 -0
- package/dist/lib/_virtual/es.array.map.js +4 -0
- package/dist/lib/_virtual/es.array.reduce.js +4 -0
- package/dist/lib/_virtual/es.array.reduce2.js +3 -0
- package/dist/lib/_virtual/es.array.reverse.js +4 -0
- package/dist/lib/_virtual/es.array.reverse2.js +3 -0
- package/dist/lib/_virtual/es.array.some.js +4 -0
- package/dist/lib/_virtual/es.function.name.js +4 -0
- package/dist/lib/_virtual/es.map.constructor.js +4 -0
- package/dist/lib/_virtual/es.map.js +4 -0
- package/dist/lib/_virtual/es.number.constructor.js +4 -0
- package/dist/lib/_virtual/es.object.to-string.js +4 -0
- package/dist/lib/_virtual/es.parse-float.js +4 -0
- package/dist/lib/_virtual/es.promise.all.js +4 -0
- package/dist/lib/_virtual/es.promise.catch.js +4 -0
- package/dist/lib/_virtual/es.promise.constructor.js +4 -0
- package/dist/lib/_virtual/es.promise.js +4 -0
- package/dist/lib/_virtual/es.promise.race.js +4 -0
- package/dist/lib/_virtual/es.promise.reject.js +4 -0
- package/dist/lib/_virtual/es.promise.resolve.js +4 -0
- package/dist/lib/_virtual/es.promise2.js +3 -0
- package/dist/lib/_virtual/es.reflect.apply.js +4 -0
- package/dist/lib/_virtual/es.reflect.delete-property.js +4 -0
- package/dist/lib/_virtual/es.reflect.get-prototype-of.js +4 -0
- package/dist/lib/_virtual/es.regexp.exec.js +4 -0
- package/dist/lib/_virtual/es.regexp.to-string.js +4 -0
- package/dist/lib/_virtual/es.regexp.to-string2.js +3 -0
- package/dist/lib/_virtual/es.string.ends-with.js +4 -0
- package/dist/lib/_virtual/es.string.ends-with2.js +3 -0
- package/dist/lib/_virtual/es.string.includes.js +4 -0
- package/dist/lib/_virtual/es.string.includes2.js +3 -0
- package/dist/lib/_virtual/es.string.iterator.js +4 -0
- package/dist/lib/_virtual/es.string.match.js +4 -0
- package/dist/lib/_virtual/es.string.match2.js +3 -0
- package/dist/lib/_virtual/es.string.replace.js +4 -0
- package/dist/lib/_virtual/es.string.replace2.js +3 -0
- package/dist/lib/_virtual/es.string.split.js +4 -0
- package/dist/lib/_virtual/es.string.split2.js +3 -0
- package/dist/lib/_virtual/es.string.starts-with.js +4 -0
- package/dist/lib/_virtual/es.string.starts-with2.js +3 -0
- package/dist/lib/_virtual/es.string.trim.js +4 -0
- package/dist/lib/_virtual/es.string.trim2.js +3 -0
- package/dist/lib/_virtual/exceptions.js +4 -0
- package/dist/lib/_virtual/finder-pattern.js +4 -0
- package/dist/lib/_virtual/fixOptions.js +4 -0
- package/dist/lib/_virtual/format-info.js +4 -0
- package/dist/lib/_virtual/galois-field.js +4 -0
- package/dist/lib/_virtual/get.js +4 -0
- package/dist/lib/_virtual/getOptionsFromElement.js +4 -0
- package/dist/lib/_virtual/getPrototypeOf.js +4 -0
- package/dist/lib/_virtual/getRenderProperties.js +4 -0
- package/dist/lib/_virtual/globals.js +4 -0
- package/dist/lib/_virtual/has-cors.js +4 -0
- package/dist/lib/_virtual/html2canvas.js +4 -0
- package/dist/lib/_virtual/index.js +4 -0
- package/dist/lib/_virtual/index10.js +4 -0
- package/dist/lib/_virtual/index11.js +4 -0
- package/dist/lib/_virtual/index12.js +4 -0
- package/dist/lib/_virtual/index13.js +4 -0
- package/dist/lib/_virtual/index14.js +4 -0
- package/dist/lib/_virtual/index15.js +4 -0
- package/dist/lib/_virtual/index16.js +4 -0
- package/dist/lib/_virtual/index17.js +4 -0
- package/dist/lib/_virtual/index18.js +4 -0
- package/dist/lib/_virtual/index19.js +4 -0
- package/dist/lib/_virtual/index2.js +4 -0
- package/dist/lib/_virtual/index20.js +4 -0
- package/dist/lib/_virtual/index21.js +4 -0
- package/dist/lib/_virtual/index22.js +4 -0
- package/dist/lib/_virtual/index23.js +4 -0
- package/dist/lib/_virtual/index24.js +4 -0
- package/dist/lib/_virtual/index3.js +4 -0
- package/dist/lib/_virtual/index4.js +5 -0
- package/dist/lib/_virtual/index5.js +4 -0
- package/dist/lib/_virtual/index6.js +4 -0
- package/dist/lib/_virtual/index7.js +4 -0
- package/dist/lib/_virtual/index8.js +6 -0
- package/dist/lib/_virtual/index9.js +6 -0
- package/dist/lib/_virtual/inherits.js +4 -0
- package/dist/lib/_virtual/internal-metadata.js +4 -0
- package/dist/lib/_virtual/is-binary.js +4 -0
- package/dist/lib/_virtual/iterableToArray.js +4 -0
- package/dist/lib/_virtual/iterableToArrayLimit.js +4 -0
- package/dist/lib/_virtual/jquery.js +4 -0
- package/dist/lib/_virtual/jspdf.es.min.js +5 -0
- package/dist/lib/_virtual/linearizeEncodings.js +4 -0
- package/dist/lib/_virtual/make-built-in.js +4 -0
- package/dist/lib/_virtual/manager.js +4 -0
- package/dist/lib/_virtual/mask-pattern.js +4 -0
- package/dist/lib/_virtual/merge.js +4 -0
- package/dist/lib/_virtual/mode.js +4 -0
- package/dist/lib/_virtual/new-promise-capability.js +4 -0
- package/dist/lib/_virtual/nonIterableRest.js +4 -0
- package/dist/lib/_virtual/nonIterableSpread.js +4 -0
- package/dist/lib/_virtual/object-define-properties.js +4 -0
- package/dist/lib/_virtual/object-define-property.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-descriptor.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-names-external.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-names.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-symbols.js +4 -0
- package/dist/lib/_virtual/object-property-is-enumerable.js +4 -0
- package/dist/lib/_virtual/object.js +4 -0
- package/dist/lib/_virtual/on.js +4 -0
- package/dist/lib/_virtual/optionsFromStrings.js +4 -0
- package/dist/lib/_virtual/parseqs.js +4 -0
- package/dist/lib/_virtual/parseuri.js +4 -0
- package/dist/lib/_virtual/performance-now.js +4 -0
- package/dist/lib/_virtual/polling-fetch.js +4 -0
- package/dist/lib/_virtual/polling-xhr.js +4 -0
- package/dist/lib/_virtual/polling.js +4 -0
- package/dist/lib/_virtual/polynomial.js +4 -0
- package/dist/lib/_virtual/possibleConstructorReturn.js +4 -0
- package/dist/lib/_virtual/qrcode.js +4 -0
- package/dist/lib/_virtual/regenerator.js +4 -0
- package/dist/lib/_virtual/regeneratorAsync.js +4 -0
- package/dist/lib/_virtual/regeneratorAsyncGen.js +4 -0
- package/dist/lib/_virtual/regeneratorAsyncIterator.js +4 -0
- package/dist/lib/_virtual/regeneratorDefine.js +4 -0
- package/dist/lib/_virtual/regeneratorKeys.js +4 -0
- package/dist/lib/_virtual/regeneratorRuntime.js +4 -0
- package/dist/lib/_virtual/regeneratorValues.js +4 -0
- package/dist/lib/_virtual/regex.js +4 -0
- package/dist/lib/_virtual/segments.js +4 -0
- package/dist/lib/_virtual/setPrototypeOf.js +4 -0
- package/dist/lib/_virtual/shared-store.js +4 -0
- package/dist/lib/_virtual/shared.js +4 -0
- package/dist/lib/_virtual/slicedToArray.js +4 -0
- package/dist/lib/_virtual/socket.js +4 -0
- package/dist/lib/_virtual/socket2.js +4 -0
- package/dist/lib/_virtual/stackblur-es.js +5 -0
- package/dist/lib/_virtual/superPropBase.js +4 -0
- package/dist/lib/_virtual/svg-tag.js +4 -0
- package/dist/lib/_virtual/svg.js +4 -0
- package/dist/lib/_virtual/toConsumableArray.js +4 -0
- package/dist/lib/_virtual/toPrimitive.js +4 -0
- package/dist/lib/_virtual/toPropertyKey.js +4 -0
- package/dist/lib/_virtual/transport.js +4 -0
- package/dist/lib/_virtual/typeof.js +4 -0
- package/dist/lib/_virtual/unsupportedIterableToArray.js +4 -0
- package/dist/lib/_virtual/url.js +4 -0
- package/dist/lib/_virtual/util.js +4 -0
- package/dist/lib/_virtual/utils.js +4 -0
- package/dist/lib/_virtual/utils2.js +4 -0
- package/dist/lib/_virtual/version-check.js +4 -0
- package/dist/lib/_virtual/version.js +4 -0
- package/dist/lib/_virtual/vue-plugin-hiprint.js +4 -0
- package/dist/lib/_virtual/web.dom-collections.for-each.js +4 -0
- package/dist/lib/_virtual/web.dom-collections.iterator.js +4 -0
- package/dist/lib/_virtual/web.dom-collections.iterator2.js +3 -0
- package/dist/lib/_virtual/websocket.js +4 -0
- package/dist/lib/_virtual/webtransport.js +4 -0
- package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/assets/file.png.js +3 -0
- package/dist/lib/assets/folder.png.js +3 -0
- package/dist/lib/components/runtime/index.d.ts +5 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.js +38 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +9 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.js +494 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +384 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/barcode-util.js +36 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +327 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +77 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +162 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +130 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +106 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +113 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +550 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/common-util.js +219 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +9 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +752 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/print-label.js +174 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +96 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +2837 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +730 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.js +96 -0
- package/dist/lib/components/runtime/utils/form/scan-util.js +194 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/global-refs.js +88 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.js +23 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +767 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +48 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +502 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +717 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +46 -0
- package/dist/lib/components/runtime/utils/page-store.js +71 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store-util.js +17 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +34 -0
- package/dist/lib/components/runtime/utils/table-utils.js +126 -0
- package/dist/lib/components/runtime/utils/tree-utils.js +121 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +118 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +55 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +135 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +19 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +213 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +208 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +179 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +171 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +122 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +132 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.js +786 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +169 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +631 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +163 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +90 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.js +76 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +114 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +181 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +122 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +106 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +85 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +89 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +99 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +224 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +69 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +272 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +144 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +184 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +943 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +718 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +187 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +531 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +163 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +101 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +212 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +290 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +176 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +225 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +116 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +310 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +176 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +109 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +52 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +208 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +287 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +364 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +168 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +132 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +116 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.js +169 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +265 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +209 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +47 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +50 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +64 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +58 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart.vue.js +168 -0
- package/dist/lib/components/runtime/views/home-chart.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +154 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +4 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +126 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +6 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +856 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.js +78 -0
- package/dist/lib/i18n/langs/en.js +78 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/index.js +30 -0
- package/dist/lib/style.css +1169 -0
- package/package.json +2 -2
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("./assemblys/object-render.vue.js");
|
|
4
|
+
const pageHelperUtil = require("../utils/page-helper-util.js");
|
|
5
|
+
const pageInitUtil = require("../utils/page-init-util.js");
|
|
6
|
+
const globalRefs = require("../utils/global-refs.js");
|
|
7
|
+
const eventUtil = require("../utils/events/event-util.js");
|
|
8
|
+
const exportFormReportDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/export-form-report-dialog.vue.js");
|
|
9
|
+
const taskInformitionDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/task-informition-dialog.vue.js");
|
|
10
|
+
const removeSignerDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/remove-signer-dialog.vue.js");
|
|
11
|
+
const removeTransactorDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/remove-transactor-dialog.vue.js");
|
|
12
|
+
const eventBus = require("../utils/eventBus.js");
|
|
13
|
+
const standardEvent = require("../utils/events/standard-event.js");
|
|
14
|
+
require("../utils/api/api-util.js");
|
|
15
|
+
const vueI18n = require("../../../node_modules/.pnpm/vue-i18n@9.14.5_vue@3.5.18_typescript@5.4.5_/node_modules/vue-i18n/dist/vue-i18n.js");
|
|
16
|
+
const index39f4c2e9 = require("../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/lib/index-39f4c2e9.js");
|
|
17
|
+
const validatorUtil = require("../utils/events/validator-util.js");
|
|
18
|
+
const superPageDialog_vue_vue_type_script_setup_true_lang = require("./super-page-dialog.vue.js");
|
|
19
|
+
;/* empty css */
|
|
20
|
+
const vueRouter = require("../../../node_modules/.pnpm/vue-router@4.5.1_vue@3.5.18_typescript@5.4.5_/node_modules/vue-router/dist/vue-router.js");
|
|
21
|
+
const jumpPageUtils = require("../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/src/utils/jump-page-utils.js");
|
|
22
|
+
const auth = require("../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/src/utils/auth.js");
|
|
23
|
+
const commonUtil = require("../utils/common-util.js");
|
|
24
|
+
const commonUtil$1 = require("../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/src/utils/common-util.js");
|
|
25
|
+
const pageStore = require("../utils/page-store.js");
|
|
26
|
+
const index$1 = require("../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/src/store/index.js");
|
|
27
|
+
const saveChartConditionDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/save-chart-condition-dialog.vue.js");
|
|
28
|
+
const aiChatUtil = require("../utils/ai-chat-util.js");
|
|
29
|
+
const index = require("../../../node_modules/.pnpm/element-plus@2.10.5_vue@3.5.18_typescript@5.4.5_/node_modules/element-plus/es/components/message/index.js");
|
|
30
|
+
const _hoisted_1 = {
|
|
31
|
+
class: "app-container runtime-page-container",
|
|
32
|
+
"element-loading-text": "拼命加载中"
|
|
33
|
+
};
|
|
34
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
35
|
+
__name: "super-page",
|
|
36
|
+
props: {
|
|
37
|
+
//页面编码
|
|
38
|
+
pageCode: {
|
|
39
|
+
type: String,
|
|
40
|
+
required: false
|
|
41
|
+
},
|
|
42
|
+
//页面版本
|
|
43
|
+
pageVersion: {
|
|
44
|
+
type: Number,
|
|
45
|
+
required: false
|
|
46
|
+
},
|
|
47
|
+
//页面ID
|
|
48
|
+
pageId: {
|
|
49
|
+
type: Number,
|
|
50
|
+
required: false
|
|
51
|
+
},
|
|
52
|
+
//表单数据ID
|
|
53
|
+
dataId: {
|
|
54
|
+
type: Number,
|
|
55
|
+
required: false
|
|
56
|
+
},
|
|
57
|
+
//测试对象
|
|
58
|
+
pageDesign: {
|
|
59
|
+
type: Object,
|
|
60
|
+
required: false
|
|
61
|
+
},
|
|
62
|
+
//是否测试
|
|
63
|
+
isTest: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
required: false
|
|
66
|
+
},
|
|
67
|
+
dimensions: {
|
|
68
|
+
type: String,
|
|
69
|
+
required: false
|
|
70
|
+
},
|
|
71
|
+
// 系统版本号
|
|
72
|
+
publishVersion: {
|
|
73
|
+
type: Number,
|
|
74
|
+
required: false
|
|
75
|
+
},
|
|
76
|
+
// 任务id。流程表单页面办理任务时任务id
|
|
77
|
+
taskId: {
|
|
78
|
+
type: Number,
|
|
79
|
+
required: false
|
|
80
|
+
},
|
|
81
|
+
// 页面跳转request参数
|
|
82
|
+
pageRequest: {
|
|
83
|
+
type: Object,
|
|
84
|
+
required: false
|
|
85
|
+
},
|
|
86
|
+
// 页面高度
|
|
87
|
+
contentHeight: {
|
|
88
|
+
type: [String, Number],
|
|
89
|
+
default: null
|
|
90
|
+
},
|
|
91
|
+
// 是否是弹框中打开页面
|
|
92
|
+
isDialog: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
required: false
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
emits: ["open", "opened", "close", "closed"],
|
|
98
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
99
|
+
const pageContextUtil = pageStore.usePageContextStore();
|
|
100
|
+
const { t } = vueI18n.useI18n();
|
|
101
|
+
const props = __props;
|
|
102
|
+
const pageOnloading = Vue.ref(false);
|
|
103
|
+
const thisRef = Vue.ref(null);
|
|
104
|
+
const pageItems = Vue.ref([]);
|
|
105
|
+
const pageClass = Vue.ref("");
|
|
106
|
+
const pageStyle = Vue.ref({});
|
|
107
|
+
const pageDesignResult = Vue.ref(null);
|
|
108
|
+
const buttonParams = Vue.ref(null);
|
|
109
|
+
const showExportForm = Vue.ref(false);
|
|
110
|
+
const selectAddSignerUser = Vue.ref(false);
|
|
111
|
+
const selectAddTransactorUser = Vue.ref(false);
|
|
112
|
+
const selectCopyUser = Vue.ref(false);
|
|
113
|
+
const selectAssignUser = Vue.ref(false);
|
|
114
|
+
const isMulti = Vue.ref(false);
|
|
115
|
+
const eventPageInfo = Vue.ref(null);
|
|
116
|
+
const showTaskInformitions = Vue.ref(false);
|
|
117
|
+
const taskInformitions = Vue.ref([]);
|
|
118
|
+
const activeTasks = Vue.ref([]);
|
|
119
|
+
const transactorInfo = Vue.ref([]);
|
|
120
|
+
const showRemoveSigner = Vue.ref(false);
|
|
121
|
+
const showRemoveTransactor = Vue.ref(false);
|
|
122
|
+
const taskIdVal = Vue.ref(null);
|
|
123
|
+
const isShowPage = Vue.ref(false);
|
|
124
|
+
const isShowDialog = Vue.ref(false);
|
|
125
|
+
const jumpPageSetting = Vue.ref(null);
|
|
126
|
+
const parentPageContext = Vue.ref(null);
|
|
127
|
+
const parentConfigureObj = Vue.ref(null);
|
|
128
|
+
const parentEventParams = Vue.ref(null);
|
|
129
|
+
let pageContext = Vue.ref(null);
|
|
130
|
+
const buttonConfigure = Vue.ref(null);
|
|
131
|
+
const buttonPageContext = Vue.ref(null);
|
|
132
|
+
const route = vueRouter.useRoute();
|
|
133
|
+
const pageKey = Vue.ref(0);
|
|
134
|
+
const isMobile = commonUtil$1.isMobileBrowser();
|
|
135
|
+
let initOptionDatasTimer;
|
|
136
|
+
let initChartDatasTimer;
|
|
137
|
+
let initPageTimer;
|
|
138
|
+
const showChartCondition = Vue.ref(false);
|
|
139
|
+
const chartCondtionRef = Vue.ref(null);
|
|
140
|
+
const isExportPdf = Vue.ref(false);
|
|
141
|
+
function initPageDesign(pageDesign) {
|
|
142
|
+
var _a;
|
|
143
|
+
const tempContext = pageInitUtil.convertToPageContext(pageDesign);
|
|
144
|
+
tempContext.isTest = props.isTest;
|
|
145
|
+
if (tempContext.isTest && props.dimensions) {
|
|
146
|
+
tempContext.dimensions = props.dimensions;
|
|
147
|
+
}
|
|
148
|
+
if (!props.isDialog) {
|
|
149
|
+
pageInitUtil.packageAdditionalMapWithLocationSearch(tempContext.entity.request);
|
|
150
|
+
pageInitUtil.packageAdditionalMapWithRoute(route, tempContext.entity.request);
|
|
151
|
+
}
|
|
152
|
+
pageInitUtil.packageAdditionalMapWithPageRequest(props.pageRequest, tempContext.entity.request);
|
|
153
|
+
pageContext.value = tempContext;
|
|
154
|
+
if (pageContext.value == null) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
initOptionDatasTimer = setTimeout(() => {
|
|
158
|
+
initOptionDatas(pageContext.value, pageDesign.initOptionConfigs);
|
|
159
|
+
}, 0);
|
|
160
|
+
initChartDatasTimer = setTimeout(() => {
|
|
161
|
+
console.log("pageDesign.initChartServiceConfigs", pageDesign.initChartServiceConfigs);
|
|
162
|
+
initChartDatas(pageContext.value, pageDesign.initChartServiceConfigs);
|
|
163
|
+
}, 200);
|
|
164
|
+
pageContext.value.initDataSources = [];
|
|
165
|
+
globalRefs.initComponentRefState(pageContext.value);
|
|
166
|
+
pageItems.value = pageContext.value.items ? pageContext.value.items : [];
|
|
167
|
+
const runtime = pageContext.value.runtime ? pageContext.value.runtime : {};
|
|
168
|
+
pageClass.value = runtime.class;
|
|
169
|
+
pageStyle.value = runtime.style;
|
|
170
|
+
eventUtil.initPageEvents(pageDesign, pageContext.value);
|
|
171
|
+
validatorUtil.i18nValidateRulesMessage(pageContext.value.rules);
|
|
172
|
+
eventUtil.handleEvent(null, pageContext.value, pageDesign, "beforeload");
|
|
173
|
+
const myPageCode = pageContext.value.code;
|
|
174
|
+
pageContextUtil.setPageContext(pageContext.value);
|
|
175
|
+
eventPageInfo.value = myPageCode + "_";
|
|
176
|
+
eventBus.$on(eventPageInfo.value + "export-form-report", (params) => {
|
|
177
|
+
buttonParams.value = params;
|
|
178
|
+
buttonConfigure.value = params.configureObj;
|
|
179
|
+
buttonPageContext.value = params.pageContext;
|
|
180
|
+
isExportPdf.value = false;
|
|
181
|
+
showExportForm.value = true;
|
|
182
|
+
});
|
|
183
|
+
eventBus.$on(eventPageInfo.value + "export-pdf-report", (params) => {
|
|
184
|
+
buttonParams.value = params;
|
|
185
|
+
buttonConfigure.value = params.configureObj;
|
|
186
|
+
buttonPageContext.value = params.pageContext;
|
|
187
|
+
isExportPdf.value = true;
|
|
188
|
+
showExportForm.value = true;
|
|
189
|
+
});
|
|
190
|
+
eventBus.$on(eventPageInfo.value + "import-file", (params) => {
|
|
191
|
+
buttonParams.value = params;
|
|
192
|
+
clickImport();
|
|
193
|
+
});
|
|
194
|
+
eventBus.$on(eventPageInfo.value + "assign-task", (params) => {
|
|
195
|
+
buttonParams.value = params;
|
|
196
|
+
selectAssignUser.value = true;
|
|
197
|
+
isMulti.value = false;
|
|
198
|
+
});
|
|
199
|
+
eventBus.$on(eventPageInfo.value + "copy-task", (params) => {
|
|
200
|
+
buttonParams.value = params;
|
|
201
|
+
selectCopyUser.value = true;
|
|
202
|
+
isMulti.value = true;
|
|
203
|
+
});
|
|
204
|
+
eventBus.$on(eventPageInfo.value + "add-signer", (params) => {
|
|
205
|
+
buttonParams.value = params;
|
|
206
|
+
selectAddSignerUser.value = true;
|
|
207
|
+
isMulti.value = true;
|
|
208
|
+
});
|
|
209
|
+
eventBus.$on(eventPageInfo.value + "choose-return-node", (params) => {
|
|
210
|
+
buttonParams.value = params;
|
|
211
|
+
standardEvent.getTaskInformitions(params).then((result) => {
|
|
212
|
+
taskInformitions.value = result;
|
|
213
|
+
showTaskInformitions.value = true;
|
|
214
|
+
}).catch((e) => {
|
|
215
|
+
console.log("显示可选的退回的环节集合异常", e);
|
|
216
|
+
showTaskInformitions.value = false;
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
eventBus.$on(eventPageInfo.value + "remove-signer", (params) => {
|
|
220
|
+
buttonParams.value = params;
|
|
221
|
+
standardEvent.getRemoveSigner(params).then((result) => {
|
|
222
|
+
taskIdVal.value = params.pageContext.completeTaskParam.taskId;
|
|
223
|
+
activeTasks.value = result;
|
|
224
|
+
showRemoveSigner.value = true;
|
|
225
|
+
}).catch((e) => {
|
|
226
|
+
console.log("显示可减签的环节集合异常", e);
|
|
227
|
+
showRemoveSigner.value = false;
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
eventBus.$on(eventPageInfo.value + "add-transactor", (params) => {
|
|
231
|
+
buttonParams.value = params;
|
|
232
|
+
selectAddTransactorUser.value = true;
|
|
233
|
+
isMulti.value = true;
|
|
234
|
+
});
|
|
235
|
+
eventBus.$on(eventPageInfo.value + "remove-transactor", (params) => {
|
|
236
|
+
buttonParams.value = params;
|
|
237
|
+
standardEvent.getRemoveTransactor(params).then((result) => {
|
|
238
|
+
taskIdVal.value = params.pageContext.completeTaskParam.taskId;
|
|
239
|
+
transactorInfo.value = result;
|
|
240
|
+
showRemoveTransactor.value = true;
|
|
241
|
+
}).catch((e) => {
|
|
242
|
+
console.log("显示可减少办理人集合异常", e);
|
|
243
|
+
showRemoveTransactor.value = false;
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
eventBus.$on(eventPageInfo.value + "prohibit-edit", (data) => {
|
|
247
|
+
});
|
|
248
|
+
eventBus.$on(eventPageInfo.value + "open-dialog", (params) => {
|
|
249
|
+
parentPageContext.value = params.pageContext;
|
|
250
|
+
parentConfigureObj.value = params.configureObj;
|
|
251
|
+
parentEventParams.value = params.eventParams;
|
|
252
|
+
openDialog(parentConfigureObj.value, parentEventParams.value, params.jumpPageSetting);
|
|
253
|
+
});
|
|
254
|
+
eventBus.$on(eventPageInfo.value + "save-chart-condition", (params) => {
|
|
255
|
+
showChartCondition.value = true;
|
|
256
|
+
});
|
|
257
|
+
eventBus.$on("pageLoaded", () => {
|
|
258
|
+
const pageDesign2 = {
|
|
259
|
+
runtime: { events: pageContext.value.events },
|
|
260
|
+
systemCode: "",
|
|
261
|
+
systemVersion: 0,
|
|
262
|
+
code: "",
|
|
263
|
+
version: 0,
|
|
264
|
+
workflowCode: "",
|
|
265
|
+
workflowVersion: 0,
|
|
266
|
+
name: "",
|
|
267
|
+
uuid: "",
|
|
268
|
+
label: ""
|
|
269
|
+
};
|
|
270
|
+
eventUtil.handleEvent(null, pageContext.value, pageDesign2, "load");
|
|
271
|
+
});
|
|
272
|
+
Vue.watch(
|
|
273
|
+
() => pageContext.value.isRefresh,
|
|
274
|
+
(newValue) => {
|
|
275
|
+
if (newValue) {
|
|
276
|
+
pageKey.value++;
|
|
277
|
+
pageContext.value.isRefresh = false;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
);
|
|
281
|
+
return standardEvent.getFormData(pageContext.value, null, (_a = props.pageRequest) == null ? void 0 : _a.isNeedId);
|
|
282
|
+
}
|
|
283
|
+
function initOptionDatas(pageContext2, optionConfigs) {
|
|
284
|
+
if (!optionConfigs || optionConfigs.length == 0) {
|
|
285
|
+
console.log("无需要初始化的选项组数据");
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
const initOptionConfigs = optionConfigs.filter((item) => {
|
|
289
|
+
return item.filterType != "remote";
|
|
290
|
+
});
|
|
291
|
+
console.log("pageContext.initOptionConfigs:", initOptionConfigs);
|
|
292
|
+
if (initOptionConfigs && initOptionConfigs.length > 0) {
|
|
293
|
+
pageHelperUtil.updateOptionDatasources(pageContext2, initOptionConfigs, void 0);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
function initChartDatas(pageContext2, chartConfigs) {
|
|
297
|
+
if (!chartConfigs || chartConfigs.length == 0) {
|
|
298
|
+
console.log("无需要初始化时统计的统计图数据");
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
pageContext2.initChartData = {};
|
|
302
|
+
pageContext2.initChartData.data = commonUtil.deepCopy(pageContext2.entity.data);
|
|
303
|
+
pageContext2.initChartData.page = commonUtil.deepCopy(pageContext2.entity.page);
|
|
304
|
+
if (chartConfigs && chartConfigs.length > 0) {
|
|
305
|
+
const initChartConfigs = chartConfigs.filter((item) => {
|
|
306
|
+
return item.initializationQuery !== false;
|
|
307
|
+
});
|
|
308
|
+
pageHelperUtil.updateChartDatasources(pageContext2, initChartConfigs, null, true);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
const instanceRef = Vue.getCurrentInstance();
|
|
312
|
+
Vue.onMounted(() => {
|
|
313
|
+
initPage();
|
|
314
|
+
});
|
|
315
|
+
function setContextStyle() {
|
|
316
|
+
Vue.nextTick(() => {
|
|
317
|
+
var _a, _b;
|
|
318
|
+
const parentNode = thisRef.value.parentNode ? thisRef.value.parentNode : thisRef.value;
|
|
319
|
+
if (pageContext.value) {
|
|
320
|
+
if (!pageContext.value.pageRuntimeStyle) {
|
|
321
|
+
pageContext.value.pageRuntimeStyle = {};
|
|
322
|
+
}
|
|
323
|
+
pageContext.value.pageRuntimeStyle.height = props.contentHeight ?? ((_b = (_a = parentNode == null ? void 0 : parentNode.getBoundingClientRect) == null ? void 0 : _a.call(parentNode)) == null ? void 0 : _b.height) ?? 0;
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
function initPage() {
|
|
328
|
+
if (props.pageDesign != null) {
|
|
329
|
+
pageDesignResult.value = props.pageDesign;
|
|
330
|
+
initPageTimer = setTimeout(() => {
|
|
331
|
+
initPageDesign(props.pageDesign).then(() => {
|
|
332
|
+
if (props.pageDesign.tableRuntimes && Object.keys(props.pageDesign.tableRuntimes).length > 0) {
|
|
333
|
+
pageInitUtil.queryPageSuperGrids(props.pageDesign, pageContext.value, props.publishVersion).then((result) => {
|
|
334
|
+
pageContext.value.isWorkflowEntity = result.isWorkflowEntity;
|
|
335
|
+
pageContext.value.dataTypeMaps = result.dataTypeMaps;
|
|
336
|
+
pageContext.value.superGridItems = result.superGrids;
|
|
337
|
+
}).catch((error) => {
|
|
338
|
+
console.log("queryPageSuperGrids error", error);
|
|
339
|
+
}).finally(() => {
|
|
340
|
+
isShowPage.value = true;
|
|
341
|
+
setContextStyle();
|
|
342
|
+
});
|
|
343
|
+
} else {
|
|
344
|
+
isShowPage.value = true;
|
|
345
|
+
setContextStyle();
|
|
346
|
+
}
|
|
347
|
+
sessionCacheDataId();
|
|
348
|
+
});
|
|
349
|
+
}, 0);
|
|
350
|
+
} else if (props.pageCode) {
|
|
351
|
+
pageOnloading.value = true;
|
|
352
|
+
pageInitUtil.queryPageDesignByCode(props.pageCode).then((appPageDesign) => {
|
|
353
|
+
if (appPageDesign && appPageDesign.designJson) {
|
|
354
|
+
const designJson = appPageDesign.designJson;
|
|
355
|
+
const pageConf = JSON.parse(designJson);
|
|
356
|
+
pageDesignResult.value = pageConf;
|
|
357
|
+
initPageDesign(pageConf).then(() => {
|
|
358
|
+
sessionCacheDataId();
|
|
359
|
+
isShowPage.value = true;
|
|
360
|
+
setContextStyle();
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
}).catch((error) => {
|
|
364
|
+
pageOnloading.value = false;
|
|
365
|
+
console.log("queryPageDesignByCode error", error);
|
|
366
|
+
}).finally(() => {
|
|
367
|
+
pageOnloading.value = false;
|
|
368
|
+
if (pageContext.value.pageType === "form") {
|
|
369
|
+
aiChatUtil.default.setPageToChatStore(instanceRef, pageContext.value);
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
function sessionCacheDataId() {
|
|
375
|
+
const dataModel = pageContext.value.entity.data;
|
|
376
|
+
const dataIdSessio = dataModel.ID == null ? dataModel.id : dataModel.ID;
|
|
377
|
+
if (route.query && route.query._t_ && dataIdSessio) {
|
|
378
|
+
auth.setSessionCache(route.query._t_ + "_id", dataIdSessio);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
Vue.onUpdated(() => {
|
|
382
|
+
Vue.nextTick(() => {
|
|
383
|
+
if (pageContext.value && thisRef.value) {
|
|
384
|
+
globalRefs.addComponentRef(pageContext.value, "-1", thisRef);
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
});
|
|
388
|
+
Vue.onUnmounted(() => {
|
|
389
|
+
globalRefs.removePageAllRef(pageContext.value);
|
|
390
|
+
if (pageDesignResult.value) {
|
|
391
|
+
eventUtil.removeCustomFuncFromWindow(pageDesignResult.value);
|
|
392
|
+
}
|
|
393
|
+
eventBus.$off(eventPageInfo.value + "export-form-report");
|
|
394
|
+
eventBus.$off(eventPageInfo.value + "export-pdf-report");
|
|
395
|
+
eventBus.$off(eventPageInfo.value + "import-file");
|
|
396
|
+
eventBus.$off(eventPageInfo.value + "assign-task");
|
|
397
|
+
eventBus.$off(eventPageInfo.value + "copy-task");
|
|
398
|
+
eventBus.$off(eventPageInfo.value + "add-signer");
|
|
399
|
+
eventBus.$off(eventPageInfo.value + "choose-return-node");
|
|
400
|
+
eventBus.$off(eventPageInfo.value + "remove-signer");
|
|
401
|
+
eventBus.$off(eventPageInfo.value + "prohibit-edit");
|
|
402
|
+
eventBus.$off(eventPageInfo.value + "open-dialog");
|
|
403
|
+
eventBus.$off(eventPageInfo.value + "save-chart-condition");
|
|
404
|
+
eventBus.$off("pageLoaded");
|
|
405
|
+
if (pageContext.value) {
|
|
406
|
+
eventUtil.handleEvent(null, pageContext.value, pageContext.value, "onUnmounted");
|
|
407
|
+
}
|
|
408
|
+
if (initOptionDatasTimer) {
|
|
409
|
+
clearTimeout(initOptionDatasTimer);
|
|
410
|
+
}
|
|
411
|
+
if (initChartDatasTimer) {
|
|
412
|
+
clearTimeout(initChartDatasTimer);
|
|
413
|
+
}
|
|
414
|
+
if (initPageTimer) {
|
|
415
|
+
clearTimeout(initPageTimer);
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
function closeExportFormDialog() {
|
|
419
|
+
showExportForm.value = false;
|
|
420
|
+
buttonParams.value = null;
|
|
421
|
+
}
|
|
422
|
+
function doExportFormReport(buttonConfigure2, templateFile) {
|
|
423
|
+
standardEvent.exportFormReport(buttonParams.value.pageContext, buttonParams.value.configureObj, templateFile, isExportPdf.value);
|
|
424
|
+
}
|
|
425
|
+
const _selectFile_ = Vue.ref(null);
|
|
426
|
+
function clickImport() {
|
|
427
|
+
_selectFile_.value.click();
|
|
428
|
+
}
|
|
429
|
+
function doImport() {
|
|
430
|
+
if (buttonParams.value) {
|
|
431
|
+
if (!_selectFile_.value) {
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
if (_selectFile_.value.value === "" || _selectFile_.value.value === null) return;
|
|
435
|
+
const fileObj = _selectFile_.value.files[0];
|
|
436
|
+
if (fileObj) {
|
|
437
|
+
_selectFile_.value.value = null;
|
|
438
|
+
standardEvent.doImportFinally(buttonParams.value, fileObj);
|
|
439
|
+
} else {
|
|
440
|
+
index.ElMessage({
|
|
441
|
+
showClose: true,
|
|
442
|
+
type: "warning",
|
|
443
|
+
message: t("superPageRuntimeMessage.noFileSelected")
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
function closeDeptUserTree(selectNodeInfo) {
|
|
449
|
+
if (selectAddSignerUser.value === true) {
|
|
450
|
+
selectAddSignerUser.value = false;
|
|
451
|
+
standardEvent.doAddSigner(buttonParams.value, selectNodeInfo);
|
|
452
|
+
}
|
|
453
|
+
if (selectCopyUser.value === true) {
|
|
454
|
+
selectCopyUser.value = false;
|
|
455
|
+
standardEvent.doCreateCopyTask(buttonParams.value, selectNodeInfo);
|
|
456
|
+
}
|
|
457
|
+
if (selectAssignUser.value === true) {
|
|
458
|
+
selectAssignUser.value = false;
|
|
459
|
+
standardEvent.doAssign(buttonParams.value, selectNodeInfo);
|
|
460
|
+
}
|
|
461
|
+
if (selectAddTransactorUser.value === true) {
|
|
462
|
+
selectAddTransactorUser.value = false;
|
|
463
|
+
standardEvent.doAddTransactor(buttonParams.value, selectNodeInfo);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
function myReturnTaskTo(selectTaskNode) {
|
|
467
|
+
taskInformitions.value = [];
|
|
468
|
+
showTaskInformitions.value = false;
|
|
469
|
+
standardEvent.doReturnTaskTo(buttonParams.value, selectTaskNode);
|
|
470
|
+
}
|
|
471
|
+
function myDoRemoveSigners(selectRemoveTasks) {
|
|
472
|
+
activeTasks.value = [];
|
|
473
|
+
showRemoveSigner.value = false;
|
|
474
|
+
standardEvent.doRemoveSigners(buttonParams.value, selectRemoveTasks);
|
|
475
|
+
}
|
|
476
|
+
function myDoRemoveTransactors(selectRemoveTasks) {
|
|
477
|
+
transactorInfo.value = [];
|
|
478
|
+
showRemoveTransactor.value = false;
|
|
479
|
+
standardEvent.doRemoveTransactors(buttonParams.value, selectRemoveTasks);
|
|
480
|
+
}
|
|
481
|
+
function getPopPageSetting(configureObj, eventParams, jumpPageSetting2) {
|
|
482
|
+
return new Promise((resolve, reject) => {
|
|
483
|
+
var _a;
|
|
484
|
+
if (jumpPageSetting2) {
|
|
485
|
+
resolve(jumpPageSetting2);
|
|
486
|
+
} else {
|
|
487
|
+
const myJumpPageSetting = configureObj && configureObj["props"] && configureObj["props"].linkPage ? configureObj["props"].linkPage : null;
|
|
488
|
+
if (myJumpPageSetting && myJumpPageSetting.jumpPageUrl) {
|
|
489
|
+
if (myJumpPageSetting.isNewPage !== false && myJumpPageSetting.isNewPage !== true) {
|
|
490
|
+
myJumpPageSetting.isNewPage = true;
|
|
491
|
+
}
|
|
492
|
+
const additionalParamMap = standardEvent.getAdditionalParamMap(pageContext);
|
|
493
|
+
const isNeedId = ((_a = parentConfigureObj.value.props.linkPage) == null ? void 0 : _a.isNeedId) ? true : false;
|
|
494
|
+
console.log("getPopPageSetting---isNeedId=", isNeedId, "parentConfigureObj.value=", parentConfigureObj.value);
|
|
495
|
+
let dataId = isNeedId && eventParams ? eventParams.id : null;
|
|
496
|
+
let ids = isNeedId && eventParams ? eventParams.ids : null;
|
|
497
|
+
let selections = eventParams ? eventParams.selections : [];
|
|
498
|
+
let entity = eventParams ? eventParams.row : null;
|
|
499
|
+
if (!entity) {
|
|
500
|
+
entity = {};
|
|
501
|
+
if (selections && selections.length > 0) {
|
|
502
|
+
entity = selections[0];
|
|
503
|
+
} else {
|
|
504
|
+
const dataModel = parentPageContext.value.entity.data;
|
|
505
|
+
const pageModel = parentPageContext.value.entity.page;
|
|
506
|
+
if (pageModel) {
|
|
507
|
+
Object.assign(entity, pageModel);
|
|
508
|
+
}
|
|
509
|
+
if (dataModel) {
|
|
510
|
+
Object.assign(entity, dataModel);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
const copyPageData = commonUtil.deepCopy(parentPageContext.value.entity.page);
|
|
515
|
+
myJumpPageSetting._pageData = copyPageData;
|
|
516
|
+
jumpPageUtils.jumpToPage(myJumpPageSetting, null, dataId, entity, additionalParamMap, ids).then((openPageParams) => {
|
|
517
|
+
openPageParams.isNeedId = isNeedId;
|
|
518
|
+
resolve(openPageParams);
|
|
519
|
+
});
|
|
520
|
+
} else {
|
|
521
|
+
resolve(false);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
function getCurrentUserPermissionsWhenPopPageDiff(popPageSetting, jumpMode) {
|
|
527
|
+
const loginName = auth.getUsername();
|
|
528
|
+
return new Promise((resolve, reject) => {
|
|
529
|
+
if (loginName) {
|
|
530
|
+
if ((jumpMode === "popup" || isMobile) && parentPageContext.value.systemCode !== popPageSetting.customSystem) {
|
|
531
|
+
if (!popPageSetting.customSystem) {
|
|
532
|
+
index.ElMessage({
|
|
533
|
+
showClose: true,
|
|
534
|
+
type: "error",
|
|
535
|
+
message: t("superPageRuntimeMessage.popMsg")
|
|
536
|
+
});
|
|
537
|
+
console.error(
|
|
538
|
+
"弹框参数缺少customSystem参数,parentPageContext.value.systemCode={}",
|
|
539
|
+
parentPageContext.value.systemCode
|
|
540
|
+
);
|
|
541
|
+
resolve(false);
|
|
542
|
+
} else {
|
|
543
|
+
const systemCode = popPageSetting.customSystem;
|
|
544
|
+
index$1.dispatch("getCurrentUserPermissions", { loginName, systemCode }).then(() => {
|
|
545
|
+
resolve(true);
|
|
546
|
+
}).catch(() => {
|
|
547
|
+
console.log("获得用户权限失败");
|
|
548
|
+
resolve(true);
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
} else {
|
|
552
|
+
resolve(true);
|
|
553
|
+
}
|
|
554
|
+
} else {
|
|
555
|
+
resolve(true);
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
const router = vueRouter.useRouter();
|
|
560
|
+
function openDialog(configureObj, eventParams, myJumpPageSetting) {
|
|
561
|
+
getPopPageSetting(configureObj, eventParams, myJumpPageSetting).then((openPageParams) => {
|
|
562
|
+
if (openPageParams) {
|
|
563
|
+
let openPageParamsResult = {};
|
|
564
|
+
const myJumpPageSettingOrg = configureObj && configureObj["props"] && configureObj["props"].linkPage ? configureObj["props"].linkPage : null;
|
|
565
|
+
if (myJumpPageSettingOrg) {
|
|
566
|
+
Object.assign(openPageParamsResult, commonUtil.deepCopy(myJumpPageSettingOrg));
|
|
567
|
+
}
|
|
568
|
+
Object.assign(openPageParamsResult, openPageParams);
|
|
569
|
+
commonUtil.refreshMobileDialogType(openPageParamsResult, isMobile);
|
|
570
|
+
console.log("getPopPageSetting33-----openPageParams=", openPageParamsResult, "configureObj=", configureObj);
|
|
571
|
+
const jumpMode = openPageParamsResult.jumpMode;
|
|
572
|
+
const popPageSetting = openPageParamsResult;
|
|
573
|
+
if (!parentEventParams.value) {
|
|
574
|
+
parentEventParams.value = {};
|
|
575
|
+
}
|
|
576
|
+
parentEventParams.value.paramStoreId = openPageParamsResult.paramStoreId;
|
|
577
|
+
popPageSetting.parentPageCode = parentPageContext.value.code;
|
|
578
|
+
popPageSetting.parentPageVersion = parentPageContext.value.version;
|
|
579
|
+
popPageSetting.isNewPage = true;
|
|
580
|
+
if (jumpMode === "popup" || jumpMode === "refresh") {
|
|
581
|
+
const linkType = popPageSetting.linkType;
|
|
582
|
+
getCurrentUserPermissionsWhenPopPageDiff(popPageSetting, jumpMode).then((result) => {
|
|
583
|
+
if (result) {
|
|
584
|
+
if (isMobile && (parentPageContext.value.systemCode !== popPageSetting.customSystem || linkType && linkType === "url")) {
|
|
585
|
+
popPageSetting._isIframe = true;
|
|
586
|
+
if (jumpMode === "refresh") {
|
|
587
|
+
popPageSetting.dialogType = "drawer";
|
|
588
|
+
popPageSetting.jumpPageWidth = "100%";
|
|
589
|
+
}
|
|
590
|
+
jumpPageSetting.value = popPageSetting;
|
|
591
|
+
isShowDialog.value = true;
|
|
592
|
+
} else {
|
|
593
|
+
popPageSetting._isIframe = false;
|
|
594
|
+
if (jumpMode === "popup") {
|
|
595
|
+
jumpPageSetting.value = popPageSetting;
|
|
596
|
+
isShowDialog.value = true;
|
|
597
|
+
} else if (jumpMode === "refresh") {
|
|
598
|
+
router.push({
|
|
599
|
+
path: "/dsc/page",
|
|
600
|
+
query: popPageSetting
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
});
|
|
606
|
+
eventBus.$on(eventPageInfo.value + "close-dialog", (params) => {
|
|
607
|
+
closeFunc(params);
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
} else {
|
|
611
|
+
console.error("页面配置信息不存在");
|
|
612
|
+
}
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
function closeFunc(params) {
|
|
616
|
+
const jumpMode = params.jumpMode;
|
|
617
|
+
if (jumpMode && jumpMode === "popup") {
|
|
618
|
+
closeDialog(params);
|
|
619
|
+
} else {
|
|
620
|
+
router.go(-1);
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
function closeDialog(params) {
|
|
624
|
+
var _a, _b;
|
|
625
|
+
const closeEventName = jumpPageSetting.value.closeEvent;
|
|
626
|
+
const isRefreshWhenClosePopup = jumpPageSetting.value.isRefreshWhenClosePopup;
|
|
627
|
+
let dataModel;
|
|
628
|
+
let sourceTableName;
|
|
629
|
+
const targetTableName = parentPageContext.value.tableName;
|
|
630
|
+
let currentParentConfigureObj;
|
|
631
|
+
const columnProp = parentEventParams.value.columnProp ? parentEventParams.value.columnProp : null;
|
|
632
|
+
if (columnProp) {
|
|
633
|
+
const columnConfigures = (_b = (_a = parentConfigureObj.value) == null ? void 0 : _a.items) == null ? void 0 : _b.filter(
|
|
634
|
+
(column) => {
|
|
635
|
+
var _a2, _b2, _c, _d;
|
|
636
|
+
return ((_b2 = (_a2 = column.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.prop) && ((_d = (_c = column.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop) === columnProp;
|
|
637
|
+
}
|
|
638
|
+
);
|
|
639
|
+
currentParentConfigureObj = columnConfigures && columnConfigures.length > 0 ? columnConfigures[0] : null;
|
|
640
|
+
} else {
|
|
641
|
+
currentParentConfigureObj = parentConfigureObj.value;
|
|
642
|
+
}
|
|
643
|
+
if (params) {
|
|
644
|
+
const isNeedValueMapping = params.isNeedValueMapping;
|
|
645
|
+
dataModel = params.dataModel;
|
|
646
|
+
sourceTableName = params.sourceTableName;
|
|
647
|
+
if (isNeedValueMapping) {
|
|
648
|
+
standardEvent.updateValuesWhenCloseDialog(
|
|
649
|
+
parentPageContext.value,
|
|
650
|
+
currentParentConfigureObj,
|
|
651
|
+
dataModel,
|
|
652
|
+
sourceTableName,
|
|
653
|
+
jumpPageSetting.value ? jumpPageSetting.value.valueMappings : null
|
|
654
|
+
);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
eventUtil.handleEvent(null, parentPageContext.value, currentParentConfigureObj, "closePopup", {
|
|
658
|
+
sourceModel: dataModel,
|
|
659
|
+
sourceTableName,
|
|
660
|
+
jumpPageSetting: jumpPageSetting.value,
|
|
661
|
+
entity: parentPageContext.value.entity.data,
|
|
662
|
+
targetTableName,
|
|
663
|
+
pageContext: pageContext.value,
|
|
664
|
+
parentPageContext: parentPageContext.value,
|
|
665
|
+
parentConfigureObj: currentParentConfigureObj,
|
|
666
|
+
columnProp
|
|
667
|
+
});
|
|
668
|
+
handleCloseDialogEvent(closeEventName, columnProp, currentParentConfigureObj);
|
|
669
|
+
standardEvent.refreshFormOrListPage(
|
|
670
|
+
parentPageContext.value,
|
|
671
|
+
parentConfigureObj.value,
|
|
672
|
+
isRefreshWhenClosePopup,
|
|
673
|
+
isRefreshWhenClosePopup !== void 0 && isRefreshWhenClosePopup === false ? "noOperation" : null
|
|
674
|
+
);
|
|
675
|
+
parentPageContext.value = null;
|
|
676
|
+
parentConfigureObj.value = null;
|
|
677
|
+
parentEventParams.value = null;
|
|
678
|
+
eventBus.$off(eventPageInfo.value + "close-dialog");
|
|
679
|
+
isShowDialog.value = false;
|
|
680
|
+
}
|
|
681
|
+
function handleCloseDialogEvent(closeEventName, columnProp, currentParentConfigureObj) {
|
|
682
|
+
if (closeEventName) {
|
|
683
|
+
const func = eventUtil.getCustomFunc(parentPageContext.value, closeEventName);
|
|
684
|
+
if (func) {
|
|
685
|
+
func.apply(func, [
|
|
686
|
+
{
|
|
687
|
+
pageContext: pageContext.value,
|
|
688
|
+
parentPageContext: parentPageContext.value,
|
|
689
|
+
parentConfigureObj: currentParentConfigureObj,
|
|
690
|
+
jumpPageSetting: jumpPageSetting.value,
|
|
691
|
+
columnProp
|
|
692
|
+
}
|
|
693
|
+
]);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
function pickFileDone(data) {
|
|
698
|
+
let componentId = data.componentId;
|
|
699
|
+
let listCode = data.listCode;
|
|
700
|
+
console.log("superPage1111---pickFileDone--componentId=", componentId, "data=", data);
|
|
701
|
+
if (!componentId && !listCode) {
|
|
702
|
+
console.log("superPage2222---pickFileDone--componentId=", componentId, "data=", data);
|
|
703
|
+
return;
|
|
704
|
+
}
|
|
705
|
+
console.log("superPage333---pickFileDone--componentId=", componentId, "data=", data);
|
|
706
|
+
if (listCode) {
|
|
707
|
+
eventBus.$emit(listCode + "-pickFileDone", data);
|
|
708
|
+
} else {
|
|
709
|
+
eventBus.$emit(componentId + "-pickFileDone", data);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
function uploadFileDone(data) {
|
|
713
|
+
let componentId = data.componentId;
|
|
714
|
+
let listCode = data.listCode;
|
|
715
|
+
console.log("superPage1111---uploadFileDone--componentId=", componentId, "data=", data);
|
|
716
|
+
if (!componentId && !listCode) {
|
|
717
|
+
console.log("superPage2222---uploadFileDone--componentId=", componentId, "data=", data);
|
|
718
|
+
return;
|
|
719
|
+
}
|
|
720
|
+
console.log("superPage333---uploadFileDone--componentId=", componentId, "data=", data);
|
|
721
|
+
if (listCode) {
|
|
722
|
+
eventBus.$emit(listCode + "-uploadFileDone", data);
|
|
723
|
+
} else {
|
|
724
|
+
eventBus.$emit(componentId + "-uploadFileDone", data);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
function scanDone(data) {
|
|
728
|
+
let componentId = data.componentId;
|
|
729
|
+
let listCode = data.listCode;
|
|
730
|
+
console.log("superPage1111---scanDone--componentId=", componentId, "data=", data);
|
|
731
|
+
if (!componentId && !listCode) {
|
|
732
|
+
console.log("superPage2222---scanDone--componentId=", componentId, "data=", data);
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
console.log("superPage3333---scanDone--componentId=", componentId, "data=", data);
|
|
736
|
+
if (listCode) {
|
|
737
|
+
eventBus.$emit(listCode + "-scanDone", data);
|
|
738
|
+
} else {
|
|
739
|
+
eventBus.$emit(componentId + "-scanDone", data);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
function saveChartCondition(conditionName) {
|
|
743
|
+
standardEvent.saveChartConditionBase(pageContext.value, conditionName).then((result) => {
|
|
744
|
+
index.ElMessage({
|
|
745
|
+
showClose: true,
|
|
746
|
+
type: "success",
|
|
747
|
+
message: t("superPageRuntimeMessage.successfulSave")
|
|
748
|
+
});
|
|
749
|
+
chartCondtionRef.value.refreshConditionList();
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
function selectChartCondition(conditionObj) {
|
|
753
|
+
const queryConditionStr = conditionObj.queryCondition;
|
|
754
|
+
let queryCondition = {};
|
|
755
|
+
if (queryConditionStr) {
|
|
756
|
+
queryCondition = JSON.parse(queryConditionStr);
|
|
757
|
+
}
|
|
758
|
+
if (queryCondition && queryCondition.data) {
|
|
759
|
+
Object.assign(pageContext.value.entity.data, queryCondition.data);
|
|
760
|
+
}
|
|
761
|
+
if (queryCondition && queryCondition.page) {
|
|
762
|
+
Object.assign(pageContext.value.entity.page, queryCondition.page);
|
|
763
|
+
}
|
|
764
|
+
showChartCondition.value = false;
|
|
765
|
+
}
|
|
766
|
+
function getFormFormatData() {
|
|
767
|
+
return aiChatUtil.default.getFormFormatDataUtil(pageContext.value);
|
|
768
|
+
}
|
|
769
|
+
__expose({
|
|
770
|
+
pickFileDone,
|
|
771
|
+
uploadFileDone,
|
|
772
|
+
scanDone,
|
|
773
|
+
getFormFormatData
|
|
774
|
+
});
|
|
775
|
+
return (_ctx, _cache) => {
|
|
776
|
+
const _directive_loading = Vue.resolveDirective("loading");
|
|
777
|
+
return Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
778
|
+
isShowPage.value ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
779
|
+
ref_key: "thisRef",
|
|
780
|
+
ref: thisRef,
|
|
781
|
+
key: pageKey.value,
|
|
782
|
+
class: Vue.normalizeClass(["runtime-page-container-view", pageClass.value]),
|
|
783
|
+
style: Vue.normalizeStyle(pageStyle.value)
|
|
784
|
+
}, [
|
|
785
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(pageItems.value, (element, itemIndex) => {
|
|
786
|
+
return Vue.openBlock(), Vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
787
|
+
key: element.uuid,
|
|
788
|
+
configure: element,
|
|
789
|
+
pageContext: Vue.unref(pageContext)
|
|
790
|
+
}, null, 8, ["configure", "pageContext"]);
|
|
791
|
+
}), 128)),
|
|
792
|
+
showExportForm.value ? (Vue.openBlock(), Vue.createBlock(exportFormReportDialog_vue_vue_type_script_setup_true_lang, {
|
|
793
|
+
key: 0,
|
|
794
|
+
configure: buttonConfigure.value,
|
|
795
|
+
pageContext: buttonPageContext.value,
|
|
796
|
+
onClose: closeExportFormDialog,
|
|
797
|
+
onExport: doExportFormReport
|
|
798
|
+
}, null, 8, ["configure", "pageContext"])) : Vue.createCommentVNode("", true),
|
|
799
|
+
Vue.createElementVNode("input", {
|
|
800
|
+
ref_key: "_selectFile_",
|
|
801
|
+
ref: _selectFile_,
|
|
802
|
+
type: "file",
|
|
803
|
+
name: "_selectFile_",
|
|
804
|
+
style: { "display": "none" },
|
|
805
|
+
onChange: _cache[0] || (_cache[0] = ($event) => doImport())
|
|
806
|
+
}, null, 544),
|
|
807
|
+
selectAddSignerUser.value || selectCopyUser.value || selectAssignUser.value || selectAddTransactorUser.value ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index39f4c2e9.am), {
|
|
808
|
+
key: 1,
|
|
809
|
+
width: "60%",
|
|
810
|
+
multiple: isMulti.value,
|
|
811
|
+
onClose: closeDeptUserTree
|
|
812
|
+
}, null, 8, ["multiple"])) : Vue.createCommentVNode("", true),
|
|
813
|
+
showTaskInformitions.value ? (Vue.openBlock(), Vue.createBlock(taskInformitionDialog_vue_vue_type_script_setup_true_lang, {
|
|
814
|
+
key: 2,
|
|
815
|
+
"task-informitions": taskInformitions.value,
|
|
816
|
+
onClose: _cache[1] || (_cache[1] = ($event) => showTaskInformitions.value = false),
|
|
817
|
+
onResult: myReturnTaskTo
|
|
818
|
+
}, null, 8, ["task-informitions"])) : Vue.createCommentVNode("", true),
|
|
819
|
+
showRemoveSigner.value ? (Vue.openBlock(), Vue.createBlock(removeSignerDialog_vue_vue_type_script_setup_true_lang, {
|
|
820
|
+
key: 3,
|
|
821
|
+
"task-id": taskIdVal.value,
|
|
822
|
+
"active-tasks": activeTasks.value,
|
|
823
|
+
onClose: _cache[2] || (_cache[2] = ($event) => showRemoveSigner.value = false),
|
|
824
|
+
onResult: myDoRemoveSigners
|
|
825
|
+
}, null, 8, ["task-id", "active-tasks"])) : Vue.createCommentVNode("", true),
|
|
826
|
+
showRemoveTransactor.value ? (Vue.openBlock(), Vue.createBlock(removeTransactorDialog_vue_vue_type_script_setup_true_lang, {
|
|
827
|
+
key: 4,
|
|
828
|
+
"task-id": taskIdVal.value,
|
|
829
|
+
"transactor-info": transactorInfo.value,
|
|
830
|
+
onClose: _cache[3] || (_cache[3] = ($event) => showRemoveTransactor.value = false),
|
|
831
|
+
onResult: myDoRemoveTransactors
|
|
832
|
+
}, null, 8, ["task-id", "transactor-info"])) : Vue.createCommentVNode("", true),
|
|
833
|
+
isShowDialog.value ? (Vue.openBlock(), Vue.createBlock(superPageDialog_vue_vue_type_script_setup_true_lang, {
|
|
834
|
+
key: 5,
|
|
835
|
+
parentPageContext: parentPageContext.value,
|
|
836
|
+
parentPageEventParams: parentEventParams.value,
|
|
837
|
+
jumpPageSetting: jumpPageSetting.value,
|
|
838
|
+
onClose: _cache[4] || (_cache[4] = ($event) => closeDialog())
|
|
839
|
+
}, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : Vue.createCommentVNode("", true),
|
|
840
|
+
showChartCondition.value ? (Vue.openBlock(), Vue.createBlock(saveChartConditionDialog_vue_vue_type_script_setup_true_lang, {
|
|
841
|
+
key: 6,
|
|
842
|
+
ref_key: "chartCondtionRef",
|
|
843
|
+
ref: chartCondtionRef,
|
|
844
|
+
pageContext: Vue.unref(pageContext),
|
|
845
|
+
onClose: _cache[5] || (_cache[5] = ($event) => showChartCondition.value = false),
|
|
846
|
+
onSave: saveChartCondition,
|
|
847
|
+
onConfirm: selectChartCondition
|
|
848
|
+
}, null, 8, ["pageContext"])) : Vue.createCommentVNode("", true)
|
|
849
|
+
], 6)) : Vue.createCommentVNode("", true)
|
|
850
|
+
])), [
|
|
851
|
+
[_directive_loading, pageOnloading.value]
|
|
852
|
+
]);
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
});
|
|
856
|
+
module.exports = _sfc_main;
|