super-page-runtime 2.3.17 → 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/page-init-util.d.ts +2 -1
- package/dist/es/components/runtime/utils/page-init-util.js +84 -65
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +27 -27
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
- 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 +4 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- 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 +136 -128
- 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,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
+
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
5
|
+
const standardEvent = require("../../../../utils/events/standard-event.js");
|
|
6
|
+
const _hoisted_1 = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" };
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
8
|
+
__name: "workflowbutton-runtime",
|
|
9
|
+
props: {
|
|
10
|
+
pageContext: {},
|
|
11
|
+
configure: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
var _a;
|
|
15
|
+
const props = __props;
|
|
16
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
17
|
+
Vue.ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
18
|
+
runtimeInfo.class;
|
|
19
|
+
const buttonInfo = props.pageContext.workflowButtonComponent;
|
|
20
|
+
const completeTaskParam = props.pageContext.completeTaskParam;
|
|
21
|
+
const data = (_a = props.pageContext.entity) == null ? void 0 : _a.data;
|
|
22
|
+
const visibleBtns = Vue.ref([]);
|
|
23
|
+
props.configure.items.forEach((item) => {
|
|
24
|
+
if (isVisibleBtn(item)) {
|
|
25
|
+
visibleBtns.value.push(item);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
function getStandardClickEvent(events) {
|
|
29
|
+
const clickEventFunObj = eventUtil.getClickEventFuncByType(props.pageContext, events, "click");
|
|
30
|
+
if (clickEventFunObj) {
|
|
31
|
+
const isStandardEvent = clickEventFunObj.isStandard;
|
|
32
|
+
if (isStandardEvent) {
|
|
33
|
+
return clickEventFunObj.event.eventName;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function isVisibleBtn(btnConfigure) {
|
|
38
|
+
const events = btnConfigure.runtime && btnConfigure.runtime.events ? btnConfigure.runtime.events : [];
|
|
39
|
+
const workflowStandardEventName = getStandardClickEvent(events);
|
|
40
|
+
const isVisible = standardEvent.isVisibleWorkflowButton(
|
|
41
|
+
workflowStandardEventName,
|
|
42
|
+
buttonInfo,
|
|
43
|
+
completeTaskParam,
|
|
44
|
+
btnConfigure,
|
|
45
|
+
data
|
|
46
|
+
);
|
|
47
|
+
return isVisible;
|
|
48
|
+
}
|
|
49
|
+
return (_ctx, _cache) => {
|
|
50
|
+
return Vue.openBlock(), Vue.createElementBlock("span", _hoisted_1, [
|
|
51
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(visibleBtns.value, (element, itemIndex) => {
|
|
52
|
+
return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
|
|
53
|
+
element.check ? (Vue.openBlock(), Vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
54
|
+
key: itemIndex,
|
|
55
|
+
pageContext: _ctx.pageContext,
|
|
56
|
+
configure: element
|
|
57
|
+
}, null, 8, ["pageContext", "configure"])) : Vue.createCommentVNode("", true)
|
|
58
|
+
], 64);
|
|
59
|
+
}), 256))
|
|
60
|
+
]);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "workflownode-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props, { expose: __expose }) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const showTaskName = Vue.ref(false);
|
|
14
|
+
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
15
|
+
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
16
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
17
|
+
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
18
|
+
const runtimeClass = runtimeInfo.class;
|
|
19
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
20
|
+
let taskName = Vue.ref("");
|
|
21
|
+
if (props.pageContext.pageType === "form") {
|
|
22
|
+
if (props.pageContext.entity && props.pageContext.entity.data) {
|
|
23
|
+
if (props.pageContext.entity.data["PROCESS_STATE"] === "EXTRACT" || props.pageContext.entity.data["process_state"] === "EXTRACT") {
|
|
24
|
+
taskName.value = "抽单办理中";
|
|
25
|
+
} else {
|
|
26
|
+
taskName.value = props.pageContext.entity.data["CURRENT_ACTIVITY_NAME"] || props.pageContext.entity.data["current_activity_name"];
|
|
27
|
+
}
|
|
28
|
+
showTaskName.value = props.pageContext.entity.data["WORKFLOW_ID"] ? true : false;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
Vue.onMounted(() => {
|
|
32
|
+
});
|
|
33
|
+
function getValue() {
|
|
34
|
+
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
35
|
+
}
|
|
36
|
+
function setValue(value) {
|
|
37
|
+
return pageHelperUtil.setVariableValue(entity, dynamicFields, value);
|
|
38
|
+
}
|
|
39
|
+
__expose({
|
|
40
|
+
getValue,
|
|
41
|
+
setValue
|
|
42
|
+
});
|
|
43
|
+
return (_ctx, _cache) => {
|
|
44
|
+
return showTaskName.value ? (Vue.openBlock(), Vue.createElementBlock("span", {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: Vue.normalizeClass(Vue.unref(runtimeClass))
|
|
47
|
+
}, [
|
|
48
|
+
Vue.createElementVNode("span", {
|
|
49
|
+
style: Vue.normalizeStyle(Vue.unref(headerStyle))
|
|
50
|
+
}, [
|
|
51
|
+
Vue.createElementVNode("span", null, Vue.toDisplayString(designProperty.value.title), 1),
|
|
52
|
+
Vue.createElementVNode("span", null, Vue.toDisplayString(Vue.unref(taskName)), 1)
|
|
53
|
+
], 4)
|
|
54
|
+
], 2)) : Vue.createCommentVNode("", true);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
chartUuid: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
homeChartSettingUserId: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
chartUuid: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
homeChartSettingUserId: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
chartUuid: string;
|
|
21
|
+
homeChartSettingUserId: number;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const commonUtil = require("../utils/common-util.js");
|
|
4
|
+
const homeChartRender_vue_vue_type_script_setup_true_lang = require("./assemblys/home-chart-render.vue.js");
|
|
5
|
+
const request = require("../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/src/utils/request.js");
|
|
6
|
+
const pageHelperUtil = require("../utils/page-helper-util.js");
|
|
7
|
+
const eventUtil = require("../utils/events/event-util.js");
|
|
8
|
+
const chartUtil = require("../utils/charts/chart-util.js");
|
|
9
|
+
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");
|
|
10
|
+
const _hoisted_1 = { "element-loading-text": "加载中..." };
|
|
11
|
+
const _hoisted_2 = { key: 1 };
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
13
|
+
...{
|
|
14
|
+
name: "HomeChart",
|
|
15
|
+
inheritAttrs: false
|
|
16
|
+
},
|
|
17
|
+
__name: "home-chart",
|
|
18
|
+
props: {
|
|
19
|
+
// 图表组件授权实体中的uuid
|
|
20
|
+
chartUuid: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: ""
|
|
23
|
+
},
|
|
24
|
+
homeChartSettingUserId: {
|
|
25
|
+
type: Number,
|
|
26
|
+
default: 0
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(__props) {
|
|
30
|
+
const { t } = vueI18n.useI18n();
|
|
31
|
+
const props = __props;
|
|
32
|
+
const loading = Vue.ref(true);
|
|
33
|
+
const chartNotExists = Vue.ref(false);
|
|
34
|
+
const homeChartConfig = Vue.ref(null);
|
|
35
|
+
let pageContext = Vue.ref(null);
|
|
36
|
+
let timer;
|
|
37
|
+
if (props.chartUuid) {
|
|
38
|
+
request.get(
|
|
39
|
+
window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + props.chartUuid
|
|
40
|
+
).then((homeChartLayout) => {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
if (homeChartLayout && homeChartLayout.designJson) {
|
|
43
|
+
homeChartConfig.value = {};
|
|
44
|
+
const homeChartLayoutDesignJson = JSON.parse(homeChartLayout.designJson);
|
|
45
|
+
let homeMyChartsAlias = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
|
|
46
|
+
if (homeMyChartsAlias) {
|
|
47
|
+
const homeMyChartsAliasJson = JSON.parse(homeMyChartsAlias);
|
|
48
|
+
if (homeMyChartsAliasJson[props.homeChartSettingUserId]) {
|
|
49
|
+
if (homeChartLayoutDesignJson.chartJson.runtime.headerInfo) {
|
|
50
|
+
homeChartLayoutDesignJson.chartJson.runtime.headerInfo.title = homeMyChartsAliasJson[props.homeChartSettingUserId];
|
|
51
|
+
} else {
|
|
52
|
+
homeChartLayoutDesignJson.chartJson.runtime.headerInfo = {
|
|
53
|
+
textAlign: "center",
|
|
54
|
+
title: homeMyChartsAliasJson[props.homeChartSettingUserId]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
const iframeElement = window.frameElement;
|
|
60
|
+
homeChartConfig.value = homeChartLayoutDesignJson.chartJson;
|
|
61
|
+
homeChartConfig.value.homeChartSettingUserId = props.homeChartSettingUserId;
|
|
62
|
+
if (iframeElement) {
|
|
63
|
+
console.log(iframeElement.clientHeight + "iframeElement.clientHeight");
|
|
64
|
+
homeChartConfig.value.runtime.common.style.pc_style.height = iframeElement.clientHeight + "px";
|
|
65
|
+
}
|
|
66
|
+
const tempContext = {
|
|
67
|
+
showHomepageSearch: false,
|
|
68
|
+
name: homeChartLayout.pageName,
|
|
69
|
+
code: homeChartLayout.pageCode,
|
|
70
|
+
label: "",
|
|
71
|
+
dimensions: "",
|
|
72
|
+
version: 1,
|
|
73
|
+
isWorkflowEntity: false,
|
|
74
|
+
variables: homeChartLayoutDesignJson.variables,
|
|
75
|
+
systemCode: homeChartLayout.systemCode,
|
|
76
|
+
uuid: homeChartLayout.uuid,
|
|
77
|
+
allChartUuids: [],
|
|
78
|
+
backendUrl: homeChartLayout.backendUrl,
|
|
79
|
+
rules: {},
|
|
80
|
+
pageType: "chart",
|
|
81
|
+
// 页面类型:form、list、chart
|
|
82
|
+
beanName: homeChartLayoutDesignJson.beanName,
|
|
83
|
+
// 业务处理类,继承CommonBaseService接口的类
|
|
84
|
+
initChartServiceConfigs: [homeChartLayoutDesignJson.initChartServiceConfigs],
|
|
85
|
+
entity: {
|
|
86
|
+
data: {},
|
|
87
|
+
task: {},
|
|
88
|
+
request: {},
|
|
89
|
+
//初始化request对象
|
|
90
|
+
page: {},
|
|
91
|
+
context: homeChartLayout.contextParam,
|
|
92
|
+
system: homeChartLayout.systemParam
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
if (((_a = homeChartConfig.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = homeChartConfig.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0) {
|
|
96
|
+
tempContext.showHomepageSearch = true;
|
|
97
|
+
}
|
|
98
|
+
if (homeChartLayoutDesignJson.variables) {
|
|
99
|
+
const pageObj = tempContext.entity.page;
|
|
100
|
+
for (const variable of homeChartLayoutDesignJson.variables) {
|
|
101
|
+
if (variable.name) {
|
|
102
|
+
if (variable.isArrayElement) {
|
|
103
|
+
pageObj[variable.name] = [];
|
|
104
|
+
} else if (variable.defaultValue) {
|
|
105
|
+
pageObj[variable.name] = variable.defaultValue;
|
|
106
|
+
} else {
|
|
107
|
+
pageObj[variable.name] = void 0;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
if (homeChartLayoutDesignJson.initOptionConfigs && homeChartLayoutDesignJson.initOptionConfigs.length > 0) {
|
|
113
|
+
pageHelperUtil.updateOptionDatasources(
|
|
114
|
+
tempContext,
|
|
115
|
+
homeChartLayoutDesignJson.initOptionConfigs,
|
|
116
|
+
void 0
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
chartUtil.setHomeChartInitConfigValue(
|
|
120
|
+
homeChartConfig.value.pushHomepage.initConfig,
|
|
121
|
+
tempContext,
|
|
122
|
+
props.homeChartSettingUserId
|
|
123
|
+
);
|
|
124
|
+
eventUtil.initPageEvents(homeChartLayoutDesignJson, tempContext);
|
|
125
|
+
pageContext.value = tempContext;
|
|
126
|
+
timer = setTimeout(() => {
|
|
127
|
+
initChartDatas(pageContext.value, [homeChartLayoutDesignJson.initChartServiceConfigs]);
|
|
128
|
+
}, 200);
|
|
129
|
+
} else {
|
|
130
|
+
chartNotExists.value = true;
|
|
131
|
+
loading.value = false;
|
|
132
|
+
}
|
|
133
|
+
}).finally(() => {
|
|
134
|
+
loading.value = false;
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
function initChartDatas(pageContext2, initChartServiceConfigs) {
|
|
138
|
+
if (!initChartServiceConfigs || initChartServiceConfigs.length == 0) {
|
|
139
|
+
console.log("无需要初始化时统计的统计图数据");
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
pageContext2.initChartData = {};
|
|
143
|
+
pageContext2.initChartData.data = commonUtil.deepCopy(pageContext2.entity.data);
|
|
144
|
+
pageContext2.initChartData.page = commonUtil.deepCopy(pageContext2.entity.page);
|
|
145
|
+
if (initChartServiceConfigs && initChartServiceConfigs.length > 0) {
|
|
146
|
+
pageHelperUtil.updateChartDatasources(pageContext2, initChartServiceConfigs, null, true);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
Vue.onUnmounted(() => {
|
|
150
|
+
if (timer) {
|
|
151
|
+
clearTimeout(timer);
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
return (_ctx, _cache) => {
|
|
155
|
+
const _directive_loading = Vue.resolveDirective("loading");
|
|
156
|
+
return Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
157
|
+
!loading.value && homeChartConfig.value ? (Vue.openBlock(), Vue.createBlock(homeChartRender_vue_vue_type_script_setup_true_lang, {
|
|
158
|
+
key: 0,
|
|
159
|
+
configure: homeChartConfig.value,
|
|
160
|
+
pageContext: Vue.unref(pageContext)
|
|
161
|
+
}, null, 8, ["configure", "pageContext"])) : !loading.value && !homeChartConfig.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, Vue.toDisplayString(Vue.unref(t)("superPageRuntimeMessage.noChartSetting")), 1)) : Vue.createCommentVNode("", true)
|
|
162
|
+
])), [
|
|
163
|
+
[_directive_loading, loading.value]
|
|
164
|
+
]);
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
interface MyProps {
|
|
2
|
+
parentPageContext: {
|
|
3
|
+
type: Object;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
parentPageEventParams: {
|
|
7
|
+
type: Object;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
jumpPageSetting: {
|
|
11
|
+
type: Object;
|
|
12
|
+
default: null;
|
|
13
|
+
};
|
|
14
|
+
isTest?: boolean;
|
|
15
|
+
customParams: {
|
|
16
|
+
type: Object;
|
|
17
|
+
default: null;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
close: (...args: any[]) => void;
|
|
22
|
+
open: (...args: any[]) => void;
|
|
23
|
+
closed: (...args: any[]) => void;
|
|
24
|
+
opened: (...args: any[]) => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{
|
|
26
|
+
onClose?: (...args: any[]) => any;
|
|
27
|
+
onOpen?: (...args: any[]) => any;
|
|
28
|
+
onClosed?: (...args: any[]) => any;
|
|
29
|
+
onOpened?: (...args: any[]) => any;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const superPage = require("./super-page.vue.js");
|
|
4
|
+
const _hoisted_1 = ["src"];
|
|
5
|
+
const _hoisted_2 = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "amb-super-page-runtime-dialog-iframe",
|
|
8
|
+
frameborder: "0",
|
|
9
|
+
marginwidth: "0",
|
|
10
|
+
marginheight: "0",
|
|
11
|
+
width: "100%",
|
|
12
|
+
allowtransparency: "no"
|
|
13
|
+
};
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
15
|
+
__name: "super-page-dialog",
|
|
16
|
+
props: {
|
|
17
|
+
parentPageContext: {},
|
|
18
|
+
parentPageEventParams: {},
|
|
19
|
+
jumpPageSetting: {},
|
|
20
|
+
isTest: { type: Boolean },
|
|
21
|
+
customParams: {}
|
|
22
|
+
},
|
|
23
|
+
emits: ["open", "opened", "close", "closed"],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emits = __emit;
|
|
27
|
+
const showContent = Vue.ref(true);
|
|
28
|
+
const myJumpPageSetting = props.jumpPageSetting ? props.jumpPageSetting : null;
|
|
29
|
+
const width = Vue.ref(null);
|
|
30
|
+
const title = Vue.ref(null);
|
|
31
|
+
const pageCode = Vue.ref(null);
|
|
32
|
+
const dataId = Vue.ref(null);
|
|
33
|
+
const taskId = Vue.ref(null);
|
|
34
|
+
const dialogType = Vue.ref(null);
|
|
35
|
+
const pageRequest = Vue.ref({});
|
|
36
|
+
const draggable = Vue.ref(false);
|
|
37
|
+
const overflow = Vue.ref(false);
|
|
38
|
+
const showPosition = Vue.ref("rtl");
|
|
39
|
+
const contentHeight = Vue.ref(null);
|
|
40
|
+
const isIframe = Vue.ref(false);
|
|
41
|
+
const pageUrl = Vue.ref(null);
|
|
42
|
+
const alignCenter = Vue.ref(true);
|
|
43
|
+
const fullscreen = Vue.ref(false);
|
|
44
|
+
if (myJumpPageSetting) {
|
|
45
|
+
alignCenter.value = (myJumpPageSetting == null ? void 0 : myJumpPageSetting.alignCenter) ?? true;
|
|
46
|
+
fullscreen.value = (myJumpPageSetting == null ? void 0 : myJumpPageSetting.fullscreen) ?? false;
|
|
47
|
+
console.log("弹出页面myJumpPageSetting=", myJumpPageSetting);
|
|
48
|
+
isIframe.value = myJumpPageSetting && myJumpPageSetting["_isIframe"] !== void 0 ? myJumpPageSetting["_isIframe"] : false;
|
|
49
|
+
pageUrl.value = myJumpPageSetting && myJumpPageSetting["_path"] ? myJumpPageSetting["_path"] : null;
|
|
50
|
+
dialogType.value = myJumpPageSetting && myJumpPageSetting["dialogType"] ? myJumpPageSetting["dialogType"] : "dialog";
|
|
51
|
+
draggable.value = myJumpPageSetting && myJumpPageSetting["draggable"] ? myJumpPageSetting["draggable"] : false;
|
|
52
|
+
overflow.value = myJumpPageSetting && myJumpPageSetting["overflow"] ? myJumpPageSetting["overflow"] : false;
|
|
53
|
+
showPosition.value = myJumpPageSetting && myJumpPageSetting["showPosition"] ? myJumpPageSetting["showPosition"] : "rtl";
|
|
54
|
+
title.value = myJumpPageSetting && myJumpPageSetting["jumpPageTitle"] ? myJumpPageSetting["jumpPageTitle"] : null;
|
|
55
|
+
width.value = myJumpPageSetting && myJumpPageSetting["jumpPageWidth"] ? myJumpPageSetting["jumpPageWidth"] : dialogType.value === "dialog" ? "calc(100% - 30px)" : "100%";
|
|
56
|
+
contentHeight.value = myJumpPageSetting && myJumpPageSetting["jumpPageHeight"] ? myJumpPageSetting["jumpPageHeight"] : null;
|
|
57
|
+
pageCode.value = myJumpPageSetting && myJumpPageSetting["pageCode"];
|
|
58
|
+
dataId.value = myJumpPageSetting && myJumpPageSetting["dataId"] ? myJumpPageSetting["dataId"] : null;
|
|
59
|
+
taskId.value = myJumpPageSetting && myJumpPageSetting["taskId"] ? myJumpPageSetting["taskId"] : null;
|
|
60
|
+
const isNeedId = myJumpPageSetting["isNeedId"] ? true : false;
|
|
61
|
+
if (props.parentPageEventParams) {
|
|
62
|
+
try {
|
|
63
|
+
const pageParams = JSON.parse(JSON.stringify(props.parentPageEventParams));
|
|
64
|
+
if (pageParams["pageContext"]) {
|
|
65
|
+
delete pageParams["pageContext"];
|
|
66
|
+
}
|
|
67
|
+
if (pageParams["configureObj"]) {
|
|
68
|
+
delete pageParams["configureObj"];
|
|
69
|
+
}
|
|
70
|
+
Object.assign(pageRequest.value, pageParams);
|
|
71
|
+
} catch (error) {
|
|
72
|
+
console.error(error);
|
|
73
|
+
}
|
|
74
|
+
if (dataId.value === null || dataId.value === void 0) {
|
|
75
|
+
dataId.value = props.parentPageEventParams["id"];
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
pageRequest.value["parentPageCode"] = myJumpPageSetting && myJumpPageSetting["parentPageCode"] ? myJumpPageSetting["parentPageCode"] : null;
|
|
79
|
+
pageRequest.value["parentPageVersion"] = myJumpPageSetting && myJumpPageSetting["parentPageVersion"] ? myJumpPageSetting["parentPageVersion"] : null;
|
|
80
|
+
pageRequest.value["jumpMode"] = myJumpPageSetting ? myJumpPageSetting["jumpMode"] : null;
|
|
81
|
+
pageRequest.value["id"] = dataId.value;
|
|
82
|
+
pageRequest.value["isNeedId"] = isNeedId;
|
|
83
|
+
pageRequest.value["taskId"] = taskId.value;
|
|
84
|
+
if (props.customParams) {
|
|
85
|
+
Object.assign(pageRequest.value, props.customParams);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return (_ctx, _cache) => {
|
|
89
|
+
const _component_el_drawer = Vue.resolveComponent("el-drawer");
|
|
90
|
+
const _component_el_dialog = Vue.resolveComponent("el-dialog");
|
|
91
|
+
return dialogType.value && dialogType.value === "drawer" ? (Vue.openBlock(), Vue.createBlock(_component_el_drawer, {
|
|
92
|
+
key: 0,
|
|
93
|
+
modelValue: showContent.value,
|
|
94
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showContent.value = $event),
|
|
95
|
+
title: title.value,
|
|
96
|
+
direction: showPosition.value,
|
|
97
|
+
size: width.value,
|
|
98
|
+
class: "content-drawer amb-super-page-runtime-drawer-view",
|
|
99
|
+
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
100
|
+
onOpened: _cache[2] || (_cache[2] = ($event) => emits("opened")),
|
|
101
|
+
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
102
|
+
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
103
|
+
}, {
|
|
104
|
+
default: Vue.withCtx(() => [
|
|
105
|
+
!isIframe.value && pageCode.value ? (Vue.openBlock(), Vue.createBlock(superPage, {
|
|
106
|
+
key: 0,
|
|
107
|
+
pageCode: pageCode.value,
|
|
108
|
+
pageRequest: pageRequest.value,
|
|
109
|
+
isDialog: true
|
|
110
|
+
}, null, 8, ["pageCode", "pageRequest"])) : isIframe.value ? (Vue.openBlock(), Vue.createElementBlock("iframe", {
|
|
111
|
+
key: 1,
|
|
112
|
+
src: pageUrl.value,
|
|
113
|
+
class: "amb-super-page-runtime-drawer-iframe",
|
|
114
|
+
frameborder: "0",
|
|
115
|
+
marginwidth: "0",
|
|
116
|
+
marginheight: "0",
|
|
117
|
+
width: "100%",
|
|
118
|
+
allowtransparency: "no"
|
|
119
|
+
}, null, 8, _hoisted_1)) : Vue.createCommentVNode("", true)
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["modelValue", "title", "direction", "size"])) : (Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
|
|
123
|
+
key: 1,
|
|
124
|
+
"model-value": "",
|
|
125
|
+
title: title.value,
|
|
126
|
+
"close-on-click-modal": false,
|
|
127
|
+
"append-to-body": "",
|
|
128
|
+
width: width.value,
|
|
129
|
+
fullscreen: fullscreen.value,
|
|
130
|
+
alignCenter: alignCenter.value,
|
|
131
|
+
draggable: draggable.value,
|
|
132
|
+
overflow: overflow.value,
|
|
133
|
+
class: "amb-super-page-runtime-dialog-view",
|
|
134
|
+
onOpen: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("open")),
|
|
135
|
+
onOpend: _cache[6] || (_cache[6] = ($event) => _ctx.$emit("opend")),
|
|
136
|
+
onClose: _cache[7] || (_cache[7] = ($event) => emits("close")),
|
|
137
|
+
onClosed: _cache[8] || (_cache[8] = ($event) => _ctx.$emit("closed"))
|
|
138
|
+
}, {
|
|
139
|
+
default: Vue.withCtx(() => [
|
|
140
|
+
!isIframe.value && pageCode.value ? (Vue.openBlock(), Vue.createBlock(superPage, {
|
|
141
|
+
key: 0,
|
|
142
|
+
style: { "min-height": "100px" },
|
|
143
|
+
pageCode: pageCode.value,
|
|
144
|
+
pageRequest: pageRequest.value,
|
|
145
|
+
contentHeight: contentHeight.value,
|
|
146
|
+
isDialog: true
|
|
147
|
+
}, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : isIframe.value ? (Vue.openBlock(), Vue.createElementBlock("iframe", _hoisted_2)) : Vue.createCommentVNode("", true)
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PageDesign } from '../utils/interfaces/page-design-types';
|
|
3
|
+
|
|
4
|
+
declare function pickFileDone(data: any): void;
|
|
5
|
+
declare function uploadFileDone(data: any): void;
|
|
6
|
+
declare function scanDone(data: any): void;
|
|
7
|
+
declare function getFormFormatData(): any;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
pageCode: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
pageVersion: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
pageId: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
dataId: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
pageDesign: {
|
|
26
|
+
type: PropType<PageDesign>;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
isTest: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
dimensions: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
publishVersion: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
taskId: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
pageRequest: {
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
contentHeight: {
|
|
50
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
isDialog: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
}>, {
|
|
58
|
+
pickFileDone: typeof pickFileDone;
|
|
59
|
+
uploadFileDone: typeof uploadFileDone;
|
|
60
|
+
scanDone: typeof scanDone;
|
|
61
|
+
getFormFormatData: typeof getFormFormatData;
|
|
62
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
+
close: (...args: any[]) => void;
|
|
64
|
+
open: (...args: any[]) => void;
|
|
65
|
+
closed: (...args: any[]) => void;
|
|
66
|
+
opened: (...args: any[]) => void;
|
|
67
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
+
pageCode: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
required: false;
|
|
71
|
+
};
|
|
72
|
+
pageVersion: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
required: false;
|
|
75
|
+
};
|
|
76
|
+
pageId: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
dataId: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
pageDesign: {
|
|
85
|
+
type: PropType<PageDesign>;
|
|
86
|
+
required: false;
|
|
87
|
+
};
|
|
88
|
+
isTest: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
required: false;
|
|
91
|
+
};
|
|
92
|
+
dimensions: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
publishVersion: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
};
|
|
100
|
+
taskId: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
required: false;
|
|
103
|
+
};
|
|
104
|
+
pageRequest: {
|
|
105
|
+
type: ObjectConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
contentHeight: {
|
|
109
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
110
|
+
default: any;
|
|
111
|
+
};
|
|
112
|
+
isDialog: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
required: false;
|
|
115
|
+
};
|
|
116
|
+
}>> & Readonly<{
|
|
117
|
+
onClose?: (...args: any[]) => any;
|
|
118
|
+
onOpen?: (...args: any[]) => any;
|
|
119
|
+
onClosed?: (...args: any[]) => any;
|
|
120
|
+
onOpened?: (...args: any[]) => any;
|
|
121
|
+
}>, {
|
|
122
|
+
isTest: boolean;
|
|
123
|
+
contentHeight: string | number;
|
|
124
|
+
isDialog: boolean;
|
|
125
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const superPage_vue_vue_type_script_setup_true_lang = require("./super-page.vue2.js");
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
5
|
+
const SuperPageNew = /* @__PURE__ */ _pluginVue_exportHelper(superPage_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-53387915"]]);
|
|
6
|
+
module.exports = SuperPageNew;
|