super-page-runtime 2.0.39 → 2.0.40-beta1
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/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/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/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/__vite-browser-external.js +3 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +35 -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/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/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/globalThis.browser.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/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 +6 -0
- package/dist/lib/_virtual/index8.js +6 -0
- package/dist/lib/_virtual/index9.js +4 -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.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/regeneratorRuntime.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-constructor.browser.js +4 -0
- package/dist/lib/_virtual/websocket.js +4 -0
- package/dist/lib/_virtual/webtransport.js +4 -0
- package/dist/lib/_virtual/xmlhttprequest.browser.js +4 -0
- package/dist/lib/_virtual/yeast.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/components/runtime/index.d.ts +4 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +18 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +298 -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 +206 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +295 -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 +279 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +74 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +118 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +100 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +74 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +51 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +302 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +17 -0
- package/dist/lib/components/runtime/utils/common-util.js +108 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +10 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +68 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +616 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/print-label.js +153 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +67 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +1817 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +12 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +416 -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 +59 -0
- package/dist/lib/components/runtime/utils/global-refs.js +77 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +224 -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 +134 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +668 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +40 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +266 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +525 -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.js +16 -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 +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -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 +115 -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 +95 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +144 -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 +127 -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/gauge/gauge-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +106 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +141 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +115 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +117 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -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 +127 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-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 +104 -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 +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -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 +74 -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 +79 -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 +70 -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 +50 -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 +30 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +109 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -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 +183 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +673 -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 +455 -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 +88 -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 +120 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +65 -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/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +149 -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 +72 -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 +42 -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 +135 -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 +67 -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 +159 -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 +130 -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 +78 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -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 +160 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +236 -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 +204 -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 +41 -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 +65 -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 +66 -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 +71 -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 +154 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -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 +39 -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 +39 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +59 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +79 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +99 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +525 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.js +53 -0
- package/dist/lib/i18n/langs/en.js +53 -0
- package/dist/lib/index.d.ts +13 -0
- package/dist/lib/index.js +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const chartGaugeUtil = require("../../../../utils/charts/chart-gauge-util.js");
|
|
6
|
+
const commonChartHeader_vue_vue_type_script_setup_true_lang = require("../common/common-chart-header.vue.js");
|
|
7
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
8
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/gauge/install.js");
|
|
9
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
10
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
11
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
12
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
13
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
14
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
16
|
+
__name: "gauge-runtime",
|
|
17
|
+
props: {
|
|
18
|
+
pageContext: {},
|
|
19
|
+
configure: {}
|
|
20
|
+
},
|
|
21
|
+
setup(__props, { expose: __expose }) {
|
|
22
|
+
extension.use([installCanvasRenderer.install, install.install, install$1.install, install$2.install, install$3.install, install$4.install]);
|
|
23
|
+
const props = __props;
|
|
24
|
+
const thisRef = Vue.ref(null);
|
|
25
|
+
const chartRef = Vue.ref(null);
|
|
26
|
+
const headerRef = Vue.ref(null);
|
|
27
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
|
+
const runtimeStyle = runtimeInfo.style;
|
|
29
|
+
const runtimeClass = runtimeInfo.class;
|
|
30
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
31
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
32
|
+
const chartOption = runtimeInfo.chartOption;
|
|
33
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
34
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
35
|
+
chartUtil.initChartOption(props.configure, chartOption);
|
|
36
|
+
Vue.onMounted(() => {
|
|
37
|
+
const resultData = pageHelperUtil.getChartDatasFromPage(props.pageContext, props.configure);
|
|
38
|
+
if (resultData) {
|
|
39
|
+
updateChartDatas(resultData);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
43
|
+
Vue.watch(headerInfo, () => {
|
|
44
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
hisGroupValue = headerInfo.groupValue;
|
|
48
|
+
refresh();
|
|
49
|
+
});
|
|
50
|
+
function refresh() {
|
|
51
|
+
if (!dataConfig) {
|
|
52
|
+
console.log("无数据源配置,不需要查询!");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
56
|
+
pageHelperUtil.updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
57
|
+
}
|
|
58
|
+
const monitorFields = headerInfo.monitorFields;
|
|
59
|
+
pageHelperUtil.monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
60
|
+
function updateChartDatas(resultData) {
|
|
61
|
+
if (!resultData) {
|
|
62
|
+
resultData = [];
|
|
63
|
+
}
|
|
64
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
65
|
+
if (!resultData) {
|
|
66
|
+
resultData = {};
|
|
67
|
+
}
|
|
68
|
+
if (resultData.hasRender) {
|
|
69
|
+
resultData.hasRender = true;
|
|
70
|
+
console.log("重复更新!", resultData);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
resultData.hasRender = true;
|
|
74
|
+
console.log("gauge resultData", resultData);
|
|
75
|
+
chartGaugeUtil.updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
76
|
+
console.log("chartOption", chartOption);
|
|
77
|
+
}
|
|
78
|
+
__expose({
|
|
79
|
+
updateChartDatas
|
|
80
|
+
});
|
|
81
|
+
return (_ctx, _cache) => {
|
|
82
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
83
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
84
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
85
|
+
ref_key: "thisRef",
|
|
86
|
+
ref: thisRef
|
|
87
|
+
}, [
|
|
88
|
+
Vue.withDirectives(Vue.createVNode(commonChartHeader_vue_vue_type_script_setup_true_lang, {
|
|
89
|
+
ref_key: "headerRef",
|
|
90
|
+
ref: headerRef,
|
|
91
|
+
headerInfo: Vue.unref(headerInfo)
|
|
92
|
+
}, null, 8, ["headerInfo"]), [
|
|
93
|
+
[Vue.vShow, Vue.unref(headerInfo).showHeader]
|
|
94
|
+
]),
|
|
95
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
96
|
+
ref_key: "chartRef",
|
|
97
|
+
ref: chartRef,
|
|
98
|
+
theme: Vue.unref(customTheme),
|
|
99
|
+
option: Vue.unref(chartOption),
|
|
100
|
+
autoresize: ""
|
|
101
|
+
}, null, 8, ["theme", "option"])
|
|
102
|
+
], 6);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const chartPieUtil = require("../../../../utils/charts/chart-pie-util.js");
|
|
5
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
6
|
+
const commonChartHeader_vue_vue_type_script_setup_true_lang = require("../common/common-chart-header.vue.js");
|
|
7
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
8
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/pie/install.js");
|
|
9
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
10
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
11
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
12
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
|
|
13
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
14
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
15
|
+
const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
|
+
__name: "pie-runtime",
|
|
18
|
+
props: {
|
|
19
|
+
pageContext: {},
|
|
20
|
+
configure: {}
|
|
21
|
+
},
|
|
22
|
+
setup(__props, { expose: __expose }) {
|
|
23
|
+
extension.use([
|
|
24
|
+
installCanvasRenderer.install,
|
|
25
|
+
install.install,
|
|
26
|
+
install$1.install,
|
|
27
|
+
install$2.install,
|
|
28
|
+
install$3.install,
|
|
29
|
+
install$4.install,
|
|
30
|
+
install$5.install
|
|
31
|
+
]);
|
|
32
|
+
const props = __props;
|
|
33
|
+
const thisRef = Vue.ref(null);
|
|
34
|
+
const chartRef = Vue.ref(null);
|
|
35
|
+
const headerRef = Vue.ref(null);
|
|
36
|
+
const enableDrill = props.configure.props ? props.configure.props.enableDrill : null;
|
|
37
|
+
const drillEndTrigger = props.configure.props ? props.configure.props.drillEndTrigger : null;
|
|
38
|
+
const selGroupVariable = props.configure.props ? props.configure.props.selGroupVariable : null;
|
|
39
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
40
|
+
const runtimeStyle = runtimeInfo.style;
|
|
41
|
+
const runtimeClass = runtimeInfo.class;
|
|
42
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
43
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
44
|
+
const chartOption = runtimeInfo.chartOption;
|
|
45
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
46
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
47
|
+
chartUtil.initChartOption(props.configure, chartOption);
|
|
48
|
+
Vue.onMounted(() => {
|
|
49
|
+
const resultData = pageHelperUtil.getChartDatasFromPage(props.pageContext, props.configure);
|
|
50
|
+
if (resultData) {
|
|
51
|
+
updateChartDatas(resultData);
|
|
52
|
+
}
|
|
53
|
+
if (enableDrill && chartRef.value) {
|
|
54
|
+
chartRef.value.chart.on("click", function(params) {
|
|
55
|
+
if (headerRef.value && headerRef.value.drill) {
|
|
56
|
+
headerRef.value.drill(params, props.configure.cacheDatas);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
if (!enableDrill && selGroupVariable && chartRef.value) {
|
|
61
|
+
chartUtil.monitorChartClickToVariable(
|
|
62
|
+
props.pageContext,
|
|
63
|
+
props.configure,
|
|
64
|
+
chartRef.value.chart,
|
|
65
|
+
selGroupVariable
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
function onDrillEnd(params) {
|
|
70
|
+
if (drillEndTrigger == "clearDrill") {
|
|
71
|
+
if (headerRef.value && headerRef.value.closeDrill) {
|
|
72
|
+
headerRef.value.closeDrill(0);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
77
|
+
Vue.watch(headerInfo, () => {
|
|
78
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
hisGroupValue = headerInfo.groupValue;
|
|
82
|
+
refresh();
|
|
83
|
+
});
|
|
84
|
+
function refresh() {
|
|
85
|
+
if (!dataConfig) {
|
|
86
|
+
console.log("无数据源配置,不需要查询!");
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
90
|
+
pageHelperUtil.updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
91
|
+
}
|
|
92
|
+
const monitorFields = headerInfo.monitorFields;
|
|
93
|
+
pageHelperUtil.monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
94
|
+
function updateChartDatas(resultData) {
|
|
95
|
+
if (!resultData) {
|
|
96
|
+
resultData = [];
|
|
97
|
+
}
|
|
98
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
99
|
+
if (!resultData) {
|
|
100
|
+
resultData = {};
|
|
101
|
+
}
|
|
102
|
+
if (resultData.hasRender) {
|
|
103
|
+
resultData.hasRender = true;
|
|
104
|
+
console.log("重复更新!", resultData);
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
resultData.hasRender = true;
|
|
108
|
+
console.log("pie resultData", resultData);
|
|
109
|
+
chartPieUtil.updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
110
|
+
console.log("chartOption", chartOption);
|
|
111
|
+
}
|
|
112
|
+
__expose({
|
|
113
|
+
updateChartDatas
|
|
114
|
+
});
|
|
115
|
+
return (_ctx, _cache) => {
|
|
116
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
117
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
118
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
119
|
+
ref_key: "thisRef",
|
|
120
|
+
ref: thisRef
|
|
121
|
+
}, [
|
|
122
|
+
Vue.withDirectives(Vue.createVNode(commonChartHeader_vue_vue_type_script_setup_true_lang, {
|
|
123
|
+
ref_key: "headerRef",
|
|
124
|
+
ref: headerRef,
|
|
125
|
+
headerInfo: Vue.unref(headerInfo),
|
|
126
|
+
onDrillEnd
|
|
127
|
+
}, null, 8, ["headerInfo"]), [
|
|
128
|
+
[Vue.vShow, Vue.unref(headerInfo).showHeader]
|
|
129
|
+
]),
|
|
130
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
131
|
+
ref_key: "chartRef",
|
|
132
|
+
ref: chartRef,
|
|
133
|
+
theme: Vue.unref(customTheme),
|
|
134
|
+
option: Vue.unref(chartOption),
|
|
135
|
+
autoresize: ""
|
|
136
|
+
}, null, 8, ["theme", "option"])
|
|
137
|
+
], 6);
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const chartRadarUtil = require("../../../../utils/charts/chart-radar-util.js");
|
|
6
|
+
const commonChartHeader_vue_vue_type_script_setup_true_lang = require("../common/common-chart-header.vue.js");
|
|
7
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
8
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/radar/install.js");
|
|
9
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
10
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
11
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
12
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
13
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
14
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
15
|
+
const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
|
+
__name: "radar-runtime",
|
|
18
|
+
props: {
|
|
19
|
+
pageContext: {},
|
|
20
|
+
configure: {}
|
|
21
|
+
},
|
|
22
|
+
setup(__props, { expose: __expose }) {
|
|
23
|
+
extension.use([
|
|
24
|
+
installCanvasRenderer.install,
|
|
25
|
+
install.install,
|
|
26
|
+
install$1.install,
|
|
27
|
+
install$2.install,
|
|
28
|
+
install$3.install,
|
|
29
|
+
install$4.install,
|
|
30
|
+
install$5.install
|
|
31
|
+
]);
|
|
32
|
+
const props = __props;
|
|
33
|
+
const thisRef = Vue.ref(null);
|
|
34
|
+
const chartRef = Vue.ref(null);
|
|
35
|
+
const headerRef = Vue.ref(null);
|
|
36
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
37
|
+
const runtimeStyle = runtimeInfo.style;
|
|
38
|
+
const runtimeClass = runtimeInfo.class;
|
|
39
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
40
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
41
|
+
const chartOption = runtimeInfo.chartOption;
|
|
42
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
43
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
44
|
+
chartUtil.initChartOption(props.configure, chartOption);
|
|
45
|
+
console.log("chartOption", chartOption);
|
|
46
|
+
Vue.onMounted(() => {
|
|
47
|
+
const resultData = pageHelperUtil.getChartDatasFromPage(props.pageContext, props.configure);
|
|
48
|
+
if (resultData) {
|
|
49
|
+
updateChartDatas(resultData);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
53
|
+
Vue.watch(headerInfo, () => {
|
|
54
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
hisGroupValue = headerInfo.groupValue;
|
|
58
|
+
refresh();
|
|
59
|
+
});
|
|
60
|
+
function refresh() {
|
|
61
|
+
if (!dataConfig) {
|
|
62
|
+
console.log("无数据源配置,不需要查询!");
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
66
|
+
pageHelperUtil.updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
67
|
+
}
|
|
68
|
+
const monitorFields = headerInfo.monitorFields;
|
|
69
|
+
pageHelperUtil.monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
70
|
+
function updateChartDatas(resultData) {
|
|
71
|
+
if (!resultData) {
|
|
72
|
+
resultData = [];
|
|
73
|
+
}
|
|
74
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
75
|
+
if (!resultData) {
|
|
76
|
+
resultData = {};
|
|
77
|
+
}
|
|
78
|
+
if (resultData.hasRender) {
|
|
79
|
+
resultData.hasRender = true;
|
|
80
|
+
console.log("重复更新!", resultData);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
resultData.hasRender = true;
|
|
84
|
+
chartRadarUtil.updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
85
|
+
console.log("chartOption", chartOption);
|
|
86
|
+
}
|
|
87
|
+
__expose({
|
|
88
|
+
updateChartDatas
|
|
89
|
+
});
|
|
90
|
+
return (_ctx, _cache) => {
|
|
91
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
92
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
93
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
94
|
+
ref_key: "thisRef",
|
|
95
|
+
ref: thisRef
|
|
96
|
+
}, [
|
|
97
|
+
Vue.withDirectives(Vue.createVNode(commonChartHeader_vue_vue_type_script_setup_true_lang, {
|
|
98
|
+
ref_key: "headerRef",
|
|
99
|
+
ref: headerRef,
|
|
100
|
+
headerInfo: Vue.unref(headerInfo)
|
|
101
|
+
}, null, 8, ["headerInfo"]), [
|
|
102
|
+
[Vue.vShow, Vue.unref(headerInfo).showHeader]
|
|
103
|
+
]),
|
|
104
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
105
|
+
ref_key: "chartRef",
|
|
106
|
+
ref: chartRef,
|
|
107
|
+
theme: Vue.unref(customTheme),
|
|
108
|
+
option: Vue.unref(chartOption),
|
|
109
|
+
autoresize: ""
|
|
110
|
+
}, null, 8, ["theme", "option"])
|
|
111
|
+
], 6);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
+
const chartScatterUtil = require("../../../../utils/charts/chart-scatter-util.js");
|
|
6
|
+
const commonChartHeader_vue_vue_type_script_setup_true_lang = require("../common/common-chart-header.vue.js");
|
|
7
|
+
const index_esm_min = require("../../../../../../node_modules/.pnpm/vue-echarts@6.6.9_echarts@5.5.0_vue@3.4.21/node_modules/vue-echarts/dist/index.esm.min.js");
|
|
8
|
+
const install = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/scatter/install.js");
|
|
9
|
+
const extension = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js");
|
|
10
|
+
const installCanvasRenderer = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/renderer/installCanvasRenderer.js");
|
|
11
|
+
const install$1 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/grid/install.js");
|
|
12
|
+
const install$2 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/legend/install.js");
|
|
13
|
+
const install$3 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/title/install.js");
|
|
14
|
+
const install$4 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/tooltip/install.js");
|
|
15
|
+
const install$5 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/toolbox/install.js");
|
|
16
|
+
const install$6 = require("../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/component/dataZoom/install.js");
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
18
|
+
__name: "scatter-runtime",
|
|
19
|
+
props: {
|
|
20
|
+
pageContext: {},
|
|
21
|
+
configure: {}
|
|
22
|
+
},
|
|
23
|
+
setup(__props, { expose: __expose }) {
|
|
24
|
+
extension.use([
|
|
25
|
+
installCanvasRenderer.install,
|
|
26
|
+
install.install,
|
|
27
|
+
install$1.install,
|
|
28
|
+
install$2.install,
|
|
29
|
+
install$3.install,
|
|
30
|
+
install$4.install,
|
|
31
|
+
install$5.install,
|
|
32
|
+
install$6.install
|
|
33
|
+
]);
|
|
34
|
+
const props = __props;
|
|
35
|
+
const thisRef = Vue.ref(null);
|
|
36
|
+
const chartRef = Vue.ref(null);
|
|
37
|
+
const headerRef = Vue.ref(null);
|
|
38
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
39
|
+
const runtimeStyle = runtimeInfo.style;
|
|
40
|
+
const runtimeClass = runtimeInfo.class;
|
|
41
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
42
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
43
|
+
const chartOption = runtimeInfo.chartOption;
|
|
44
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
45
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
46
|
+
chartUtil.initChartOption(props.configure, chartOption);
|
|
47
|
+
console.log("chartOption", chartOption);
|
|
48
|
+
Vue.onMounted(() => {
|
|
49
|
+
const resultData = pageHelperUtil.getChartDatasFromPage(props.pageContext, props.configure);
|
|
50
|
+
if (resultData) {
|
|
51
|
+
updateChartDatas(resultData);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
55
|
+
Vue.watch(headerInfo, () => {
|
|
56
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
hisGroupValue = headerInfo.groupValue;
|
|
60
|
+
refresh();
|
|
61
|
+
});
|
|
62
|
+
function refresh() {
|
|
63
|
+
if (!dataConfig) {
|
|
64
|
+
console.log("无数据源配置,不需要查询!");
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
68
|
+
pageHelperUtil.updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
69
|
+
}
|
|
70
|
+
const monitorFields = headerInfo.monitorFields;
|
|
71
|
+
pageHelperUtil.monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
72
|
+
function updateChartDatas(resultData) {
|
|
73
|
+
if (!resultData) {
|
|
74
|
+
resultData = [];
|
|
75
|
+
}
|
|
76
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
77
|
+
if (!resultData) {
|
|
78
|
+
resultData = {};
|
|
79
|
+
}
|
|
80
|
+
if (resultData.hasRender) {
|
|
81
|
+
resultData.hasRender = true;
|
|
82
|
+
console.log("重复更新!", resultData);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
resultData.hasRender = true;
|
|
86
|
+
chartScatterUtil.updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
87
|
+
console.log("chartOption scatter", chartOption);
|
|
88
|
+
}
|
|
89
|
+
__expose({
|
|
90
|
+
updateChartDatas
|
|
91
|
+
});
|
|
92
|
+
return (_ctx, _cache) => {
|
|
93
|
+
return Vue.openBlock(), Vue.createElementBlock("div", {
|
|
94
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
95
|
+
class: Vue.normalizeClass([Vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
96
|
+
ref_key: "thisRef",
|
|
97
|
+
ref: thisRef
|
|
98
|
+
}, [
|
|
99
|
+
Vue.withDirectives(Vue.createVNode(commonChartHeader_vue_vue_type_script_setup_true_lang, {
|
|
100
|
+
ref_key: "headerRef",
|
|
101
|
+
ref: headerRef,
|
|
102
|
+
headerInfo: Vue.unref(headerInfo)
|
|
103
|
+
}, null, 8, ["headerInfo"]), [
|
|
104
|
+
[Vue.vShow, Vue.unref(headerInfo).showHeader]
|
|
105
|
+
]),
|
|
106
|
+
Vue.createVNode(Vue.unref(index_esm_min.default), {
|
|
107
|
+
ref_key: "chartRef",
|
|
108
|
+
ref: chartRef,
|
|
109
|
+
theme: Vue.unref(customTheme),
|
|
110
|
+
option: Vue.unref(chartOption),
|
|
111
|
+
autoresize: ""
|
|
112
|
+
}, null, 8, ["theme", "option"])
|
|
113
|
+
], 6);
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
configure: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
pageContext: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
close: (...args: any[]) => void;
|
|
11
|
+
export: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
configure: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
pageContext: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
onClose?: (...args: any[]) => any;
|
|
22
|
+
onExport?: (...args: any[]) => any;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const commonUtil = require("../../../utils/common-util.js");
|
|
4
|
+
const prefix = "${";
|
|
5
|
+
const suffix = "}";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "export-form-report-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
configure: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
pageContext: {
|
|
14
|
+
type: Object
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["export", "close"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
21
|
+
const templateFiles = Vue.ref([]);
|
|
22
|
+
const fields = Vue.ref([]);
|
|
23
|
+
const configureBase = props.configure.props.base;
|
|
24
|
+
const dataModel = props.pageContext.entity.data;
|
|
25
|
+
Vue.onMounted(() => {
|
|
26
|
+
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
27
|
+
templateFiles.value = commonUtil.packageTemplateFiles(configureBase.templateFiles);
|
|
28
|
+
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
29
|
+
templateFiles.value.push({
|
|
30
|
+
templateUUID: configureBase.templateUUID,
|
|
31
|
+
templateShowPath: configureBase.templateShowPath
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
templateFiles.value.forEach((item) => {
|
|
35
|
+
if (item && item.templateShowPath) {
|
|
36
|
+
item.templateShowPath = formatTemplateShowPath(item.templateShowPath);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
function getFileds(templateShowPath) {
|
|
41
|
+
console.log("templateShowPath", templateShowPath);
|
|
42
|
+
let field;
|
|
43
|
+
let formatStr;
|
|
44
|
+
let newValue = templateShowPath;
|
|
45
|
+
const prefixIndex = newValue.indexOf(prefix);
|
|
46
|
+
const suffixIndex = newValue.indexOf(suffix);
|
|
47
|
+
console.log("prefixIndex", prefixIndex);
|
|
48
|
+
console.log("suffixIndex", suffixIndex);
|
|
49
|
+
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
50
|
+
if (prefixIndex > suffixIndex) {
|
|
51
|
+
newValue = newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length);
|
|
52
|
+
console.log("non replacement value === newValue", newValue);
|
|
53
|
+
} else {
|
|
54
|
+
field = newValue.substring(
|
|
55
|
+
prefixIndex + prefix.length,
|
|
56
|
+
suffixIndex
|
|
57
|
+
);
|
|
58
|
+
formatStr = newValue.substring(
|
|
59
|
+
prefixIndex,
|
|
60
|
+
suffixIndex + suffix.length
|
|
61
|
+
);
|
|
62
|
+
console.log("field", field);
|
|
63
|
+
console.log("formatStr", formatStr);
|
|
64
|
+
fields.value.push(field);
|
|
65
|
+
console.log("fields", fields.value);
|
|
66
|
+
newValue = newValue.replace(formatStr, "");
|
|
67
|
+
console.log("newValue", newValue);
|
|
68
|
+
}
|
|
69
|
+
return getFileds(newValue);
|
|
70
|
+
}
|
|
71
|
+
return fields.value;
|
|
72
|
+
}
|
|
73
|
+
function formatTemplateShowPath(templateShowPath) {
|
|
74
|
+
const fields2 = getFileds(templateShowPath);
|
|
75
|
+
console.log("fields", fields2);
|
|
76
|
+
fields2.forEach((field) => {
|
|
77
|
+
const formatStr = prefix + field + suffix;
|
|
78
|
+
let formatValue;
|
|
79
|
+
if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
|
|
80
|
+
formatValue = dataModel[field] ? dataModel[field] : "";
|
|
81
|
+
templateShowPath = templateShowPath.replace(formatStr, formatValue);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
return templateShowPath;
|
|
85
|
+
}
|
|
86
|
+
function exportForm(row) {
|
|
87
|
+
emits("export", row);
|
|
88
|
+
}
|
|
89
|
+
function closeExportForm() {
|
|
90
|
+
emits("close");
|
|
91
|
+
}
|
|
92
|
+
return (_ctx, _cache) => {
|
|
93
|
+
const _component_el_table_column = Vue.resolveComponent("el-table-column");
|
|
94
|
+
const _component_el_button = Vue.resolveComponent("el-button");
|
|
95
|
+
const _component_el_table = Vue.resolveComponent("el-table");
|
|
96
|
+
const _component_el_dialog = Vue.resolveComponent("el-dialog");
|
|
97
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
|
|
98
|
+
"show-close": true,
|
|
99
|
+
"append-to-body": true,
|
|
100
|
+
title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
|
|
101
|
+
"model-value": "",
|
|
102
|
+
onClose: closeExportForm
|
|
103
|
+
}, {
|
|
104
|
+
default: Vue.withCtx(() => [
|
|
105
|
+
Vue.createVNode(_component_el_table, {
|
|
106
|
+
data: templateFiles.value,
|
|
107
|
+
style: { "width": "100%" }
|
|
108
|
+
}, {
|
|
109
|
+
default: Vue.withCtx(() => [
|
|
110
|
+
Vue.createVNode(_component_el_table_column, {
|
|
111
|
+
label: _ctx.$t("superPageRuntimeMessage.temlpate"),
|
|
112
|
+
prop: "templateShowPath"
|
|
113
|
+
}, {
|
|
114
|
+
default: Vue.withCtx((scope) => [
|
|
115
|
+
Vue.createTextVNode(Vue.toDisplayString(scope.row.templateShowPath), 1)
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["label"]),
|
|
119
|
+
Vue.createVNode(_component_el_table_column, {
|
|
120
|
+
label: _ctx.$t("superPageRuntimeMessage.operating"),
|
|
121
|
+
width: "200",
|
|
122
|
+
fixed: "right"
|
|
123
|
+
}, {
|
|
124
|
+
default: Vue.withCtx((scope) => [
|
|
125
|
+
Vue.createVNode(_component_el_button, {
|
|
126
|
+
type: "text",
|
|
127
|
+
size: "small",
|
|
128
|
+
onClick: ($event) => exportForm(scope.row)
|
|
129
|
+
}, {
|
|
130
|
+
default: Vue.withCtx(() => [
|
|
131
|
+
Vue.createTextVNode(Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 2
|
|
134
|
+
}, 1032, ["onClick"])
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}, 8, ["label"])
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["data"])
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["title"]);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
module.exports = _sfc_main;
|