super-page-runtime 3.0.3 → 3.0.5-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/es/_virtual/Barcode.js +4 -0
- package/dist/es/_virtual/CODE128.js +4 -0
- package/dist/es/_virtual/CODE128A.js +4 -0
- package/dist/es/_virtual/CODE128B.js +4 -0
- package/dist/es/_virtual/CODE128C.js +4 -0
- package/dist/es/_virtual/CODE128_AUTO.js +4 -0
- package/dist/es/_virtual/EAN.js +4 -0
- package/dist/es/_virtual/EAN13.js +4 -0
- package/dist/es/_virtual/EAN2.js +4 -0
- package/dist/es/_virtual/EAN5.js +4 -0
- package/dist/es/_virtual/EAN8.js +4 -0
- package/dist/es/_virtual/ErrorHandler.js +4 -0
- package/dist/es/_virtual/ITF.js +4 -0
- package/dist/es/_virtual/ITF14.js +4 -0
- package/dist/es/_virtual/JsBarcode.js +7 -0
- package/dist/es/_virtual/MSI.js +4 -0
- package/dist/es/_virtual/MSI10.js +4 -0
- package/dist/es/_virtual/MSI1010.js +4 -0
- package/dist/es/_virtual/MSI11.js +4 -0
- package/dist/es/_virtual/MSI1110.js +4 -0
- package/dist/es/_virtual/SVGPathData.js +4 -0
- package/dist/es/_virtual/SVGPathData2.js +5 -0
- package/dist/es/_virtual/UPC.js +4 -0
- package/dist/es/_virtual/UPCE.js +4 -0
- package/dist/es/_virtual/_commonjsHelpers.js +27 -0
- package/dist/es/_virtual/alignment-pattern.js +4 -0
- package/dist/es/_virtual/arrayLikeToArray.js +4 -0
- package/dist/es/_virtual/arrayWithHoles.js +4 -0
- package/dist/es/_virtual/arrayWithoutHoles.js +4 -0
- package/dist/es/_virtual/assertThisInitialized.js +4 -0
- package/dist/es/_virtual/asyncToGenerator.js +4 -0
- package/dist/es/_virtual/asyncToGenerator2.js +7 -0
- package/dist/es/_virtual/auto.js +4 -0
- package/dist/es/_virtual/backo2.js +4 -0
- package/dist/es/_virtual/base64-arraybuffer.js +4 -0
- package/dist/es/_virtual/binary.js +4 -0
- package/dist/es/_virtual/browser.js +4 -0
- package/dist/es/_virtual/browser2.js +4 -0
- package/dist/es/_virtual/canvas.js +4 -0
- package/dist/es/_virtual/canvas2.js +4 -0
- package/dist/es/_virtual/checksums.js +4 -0
- package/dist/es/_virtual/classCallCheck.js +4 -0
- package/dist/es/_virtual/commons.js +4 -0
- package/dist/es/_virtual/constants.js +4 -0
- package/dist/es/_virtual/constants2.js +4 -0
- package/dist/es/_virtual/constants3.js +4 -0
- package/dist/es/_virtual/createClass.js +4 -0
- package/dist/es/_virtual/decodePacket.browser.js +4 -0
- package/dist/es/_virtual/defaults.js +4 -0
- package/dist/es/_virtual/defineProperty.js +4 -0
- package/dist/es/_virtual/defineProperty2.js +7 -0
- package/dist/es/_virtual/dijkstra.js +4 -0
- package/dist/es/_virtual/encodePacket.browser.js +4 -0
- package/dist/es/_virtual/encoder.js +4 -0
- package/dist/es/_virtual/error-correction-code.js +4 -0
- package/dist/es/_virtual/error-correction-level.js +4 -0
- package/dist/es/_virtual/es.array.concat.js +4 -0
- package/dist/es/_virtual/es.array.every.js +4 -0
- package/dist/es/_virtual/es.array.fill.js +4 -0
- package/dist/es/_virtual/es.array.for-each.js +4 -0
- package/dist/es/_virtual/es.array.from.js +4 -0
- package/dist/es/_virtual/es.array.includes.js +4 -0
- package/dist/es/_virtual/es.array.index-of.js +4 -0
- package/dist/es/_virtual/es.array.index-of2.js +2 -0
- package/dist/es/_virtual/es.array.iterator.js +2 -0
- package/dist/es/_virtual/es.array.join.js +4 -0
- package/dist/es/_virtual/es.array.map.js +4 -0
- package/dist/es/_virtual/es.array.reduce.js +4 -0
- package/dist/es/_virtual/es.array.reduce2.js +2 -0
- package/dist/es/_virtual/es.array.reverse.js +4 -0
- package/dist/es/_virtual/es.array.reverse2.js +2 -0
- package/dist/es/_virtual/es.array.some.js +4 -0
- package/dist/es/_virtual/es.function.name.js +4 -0
- package/dist/es/_virtual/es.map.constructor.js +4 -0
- package/dist/es/_virtual/es.map.js +4 -0
- package/dist/es/_virtual/es.number.constructor.js +4 -0
- package/dist/es/_virtual/es.object.to-string.js +4 -0
- package/dist/es/_virtual/es.parse-float.js +4 -0
- package/dist/es/_virtual/es.promise.all.js +4 -0
- package/dist/es/_virtual/es.promise.catch.js +4 -0
- package/dist/es/_virtual/es.promise.constructor.js +4 -0
- package/dist/es/_virtual/es.promise.js +4 -0
- package/dist/es/_virtual/es.promise.race.js +4 -0
- package/dist/es/_virtual/es.promise.reject.js +4 -0
- package/dist/es/_virtual/es.promise.resolve.js +4 -0
- package/dist/es/_virtual/es.promise2.js +2 -0
- package/dist/es/_virtual/es.reflect.apply.js +4 -0
- package/dist/es/_virtual/es.reflect.delete-property.js +4 -0
- package/dist/es/_virtual/es.reflect.get-prototype-of.js +4 -0
- package/dist/es/_virtual/es.regexp.exec.js +4 -0
- package/dist/es/_virtual/es.regexp.to-string.js +4 -0
- package/dist/es/_virtual/es.regexp.to-string2.js +2 -0
- package/dist/es/_virtual/es.string.ends-with.js +4 -0
- package/dist/es/_virtual/es.string.ends-with2.js +2 -0
- package/dist/es/_virtual/es.string.includes.js +4 -0
- package/dist/es/_virtual/es.string.includes2.js +2 -0
- package/dist/es/_virtual/es.string.iterator.js +4 -0
- package/dist/es/_virtual/es.string.match.js +4 -0
- package/dist/es/_virtual/es.string.match2.js +2 -0
- package/dist/es/_virtual/es.string.replace.js +4 -0
- package/dist/es/_virtual/es.string.replace2.js +2 -0
- package/dist/es/_virtual/es.string.split.js +4 -0
- package/dist/es/_virtual/es.string.split2.js +2 -0
- package/dist/es/_virtual/es.string.starts-with.js +4 -0
- package/dist/es/_virtual/es.string.starts-with2.js +2 -0
- package/dist/es/_virtual/es.string.trim.js +4 -0
- package/dist/es/_virtual/es.string.trim2.js +2 -0
- package/dist/es/_virtual/exceptions.js +4 -0
- package/dist/es/_virtual/finder-pattern.js +4 -0
- package/dist/es/_virtual/fixOptions.js +4 -0
- package/dist/es/_virtual/format-info.js +4 -0
- package/dist/es/_virtual/galois-field.js +4 -0
- package/dist/es/_virtual/get.js +4 -0
- package/dist/es/_virtual/getOptionsFromElement.js +4 -0
- package/dist/es/_virtual/getPrototypeOf.js +4 -0
- package/dist/es/_virtual/getRenderProperties.js +4 -0
- package/dist/es/_virtual/globalThis.browser.js +4 -0
- package/dist/es/_virtual/has-cors.js +4 -0
- package/dist/es/_virtual/html2canvas.js +4 -0
- package/dist/es/_virtual/index.js +2 -2
- package/dist/es/_virtual/index10.js +4 -0
- package/dist/es/_virtual/index11.js +4 -0
- package/dist/es/_virtual/index12.js +4 -0
- package/dist/es/_virtual/index13.js +4 -0
- package/dist/es/_virtual/index14.js +4 -0
- package/dist/es/_virtual/index15.js +4 -0
- package/dist/es/_virtual/index16.js +4 -0
- package/dist/es/_virtual/index17.js +4 -0
- package/dist/es/_virtual/index18.js +4 -0
- package/dist/es/_virtual/index19.js +4 -0
- package/dist/es/_virtual/index2.js +2 -2
- package/dist/es/_virtual/index20.js +4 -0
- package/dist/es/_virtual/index21.js +4 -0
- package/dist/es/_virtual/index22.js +4 -0
- package/dist/es/_virtual/index23.js +4 -0
- package/dist/es/_virtual/index3.js +2 -2
- package/dist/es/_virtual/index4.js +6 -0
- package/dist/es/_virtual/index5.js +4 -0
- package/dist/es/_virtual/index6.js +4 -0
- package/dist/es/_virtual/index7.js +7 -0
- package/dist/es/_virtual/index8.js +7 -0
- package/dist/es/_virtual/index9.js +4 -0
- package/dist/es/_virtual/inherits.js +4 -0
- package/dist/es/_virtual/internal-metadata.js +4 -0
- package/dist/es/_virtual/is-binary.js +4 -0
- package/dist/es/_virtual/iterableToArray.js +4 -0
- package/dist/es/_virtual/iterableToArrayLimit.js +4 -0
- package/dist/es/_virtual/jquery.js +4 -0
- package/dist/es/_virtual/jspdf.es.min.js +6 -0
- package/dist/es/_virtual/linearizeEncodings.js +4 -0
- package/dist/es/_virtual/make-built-in.js +4 -0
- package/dist/es/_virtual/manager.js +4 -0
- package/dist/es/_virtual/mask-pattern.js +4 -0
- package/dist/es/_virtual/merge.js +4 -0
- package/dist/es/_virtual/mode.js +4 -0
- package/dist/es/_virtual/new-promise-capability.js +4 -0
- package/dist/es/_virtual/nonIterableRest.js +4 -0
- package/dist/es/_virtual/nonIterableSpread.js +4 -0
- package/dist/es/_virtual/object-define-properties.js +4 -0
- package/dist/es/_virtual/object-define-property.js +4 -0
- package/dist/es/_virtual/object-get-own-property-descriptor.js +4 -0
- package/dist/es/_virtual/object-get-own-property-names-external.js +4 -0
- package/dist/es/_virtual/object-get-own-property-names.js +4 -0
- package/dist/es/_virtual/object-get-own-property-symbols.js +4 -0
- package/dist/es/_virtual/object-property-is-enumerable.js +4 -0
- package/dist/es/_virtual/object.js +4 -0
- package/dist/es/_virtual/on.js +4 -0
- package/dist/es/_virtual/optionsFromStrings.js +4 -0
- package/dist/es/_virtual/parseqs.js +4 -0
- package/dist/es/_virtual/parseuri.js +4 -0
- package/dist/es/_virtual/performance-now.js +4 -0
- package/dist/es/_virtual/polling.js +4 -0
- package/dist/es/_virtual/polynomial.js +4 -0
- package/dist/es/_virtual/possibleConstructorReturn.js +4 -0
- package/dist/es/_virtual/qrcode.js +4 -0
- package/dist/es/_virtual/regeneratorRuntime.js +4 -0
- package/dist/es/_virtual/regex.js +4 -0
- package/dist/es/_virtual/segments.js +4 -0
- package/dist/es/_virtual/setPrototypeOf.js +4 -0
- package/dist/es/_virtual/shared-store.js +4 -0
- package/dist/es/_virtual/shared.js +4 -0
- package/dist/es/_virtual/slicedToArray.js +4 -0
- package/dist/es/_virtual/socket.js +4 -0
- package/dist/es/_virtual/socket2.js +4 -0
- package/dist/es/_virtual/stackblur-es.js +6 -0
- package/dist/es/_virtual/superPropBase.js +4 -0
- package/dist/es/_virtual/svg-tag.js +4 -0
- package/dist/es/_virtual/svg.js +4 -0
- package/dist/es/_virtual/toConsumableArray.js +4 -0
- package/dist/es/_virtual/toPrimitive.js +4 -0
- package/dist/es/_virtual/toPropertyKey.js +4 -0
- package/dist/es/_virtual/transport.js +4 -0
- package/dist/es/_virtual/typeof.js +4 -0
- package/dist/es/_virtual/unsupportedIterableToArray.js +4 -0
- package/dist/es/_virtual/url.js +4 -0
- package/dist/es/_virtual/util.js +4 -0
- package/dist/es/_virtual/utils.js +4 -0
- package/dist/es/_virtual/utils2.js +4 -0
- package/dist/es/_virtual/version-check.js +4 -0
- package/dist/es/_virtual/version.js +4 -0
- package/dist/es/_virtual/vue-plugin-hiprint.js +4 -0
- package/dist/es/_virtual/web.dom-collections.for-each.js +4 -0
- package/dist/es/_virtual/web.dom-collections.iterator.js +4 -0
- package/dist/es/_virtual/web.dom-collections.iterator2.js +2 -0
- package/dist/es/_virtual/websocket-constructor.browser.js +4 -0
- package/dist/es/_virtual/websocket.js +4 -0
- package/dist/es/_virtual/webtransport.js +4 -0
- package/dist/es/_virtual/xmlhttprequest.browser.js +4 -0
- package/dist/es/_virtual/yeast.js +4 -0
- package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/es/components/runtime/index.d.ts +3 -3
- package/dist/es/components/runtime/utils/api/api-util.d.ts +6 -1
- package/dist/es/components/runtime/utils/api/api-util.js +195 -25
- package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.js +206 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +51 -14
- package/dist/es/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/es/components/runtime/utils/barcode-util.js +36 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +279 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +74 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +118 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +100 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +74 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +51 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +291 -4
- package/dist/es/components/runtime/utils/common-util.d.ts +8 -2
- package/dist/es/components/runtime/utils/common-util.js +37 -14
- package/dist/es/components/runtime/utils/events/event-util.d.ts +20 -0
- package/dist/es/components/runtime/utils/events/event-util.js +125 -31
- package/dist/es/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/es/components/runtime/utils/events/print-label.js +153 -0
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +6 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +378 -186
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +8 -0
- package/dist/es/components/runtime/utils/events/validator-util.js +88 -61
- package/dist/es/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +96 -0
- package/dist/es/components/runtime/utils/form/scan-util.js +195 -0
- package/dist/es/components/runtime/utils/global-refs.js +12 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +7 -4
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +47 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +219 -54
- package/dist/es/components/runtime/utils/page-init-util.d.ts +3 -1
- package/dist/es/components/runtime/utils/page-init-util.js +79 -33
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/es/components/runtime/utils/page-permission-util.js +525 -0
- package/dist/es/components/runtime/utils/table-utils.js +6 -14
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +18 -18
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +24 -19
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +96 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +90 -5
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +62 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +128 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +66 -12
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +91 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +65 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +65 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +38 -11
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +9 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +49 -9
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +184 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +104 -73
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +19 -17
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +31 -67
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +97 -30
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +25 -17
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +8 -6
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +89 -28
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +19 -15
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +57 -34
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +41 -38
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +13 -12
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +26 -23
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +97 -25
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +40 -37
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +42 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +16 -14
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +13 -10
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +21 -15
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +14 -5
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +40 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +40 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +6 -8
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +11 -5
- package/dist/es/components/runtime/views/super-page.vue.d.ts +8 -0
- package/dist/es/components/runtime/views/super-page.vue.js +196 -153
- package/dist/es/i18n/langs/cn.js +54 -0
- package/dist/es/i18n/langs/en.js +54 -0
- package/dist/es/index.d.ts +12 -2
- package/dist/es/index.js +18 -2
- 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/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/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 +27 -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/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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/theme2.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/lib/components/runtime/index.d.ts +3 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +6 -1
- package/dist/lib/components/runtime/utils/api/api-util.js +193 -23
- 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 +51 -14
- 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 +290 -3
- package/dist/lib/components/runtime/utils/common-util.d.ts +8 -2
- package/dist/lib/components/runtime/utils/common-util.js +37 -14
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +20 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +123 -29
- 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 +6 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +375 -183
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +88 -61
- 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 +195 -0
- package/dist/lib/components/runtime/utils/global-refs.js +12 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +7 -4
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +47 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +219 -54
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +3 -1
- package/dist/lib/components/runtime/utils/page-init-util.js +78 -32
- 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/table-utils.js +6 -14
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +23 -18
- 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.vue2.js +88 -3
- 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.vue2.js +64 -10
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +89 -2
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +63 -2
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +63 -2
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +1 -1
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +4 -4
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +37 -10
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +8 -2
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +45 -5
- 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 +101 -70
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +18 -16
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +29 -65
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +95 -28
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +24 -16
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +88 -27
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +18 -14
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +56 -33
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +11 -10
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +25 -22
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +96 -24
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +39 -36
- 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.vue2.js +15 -13
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +12 -9
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +20 -14
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +13 -4
- 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.vue2.js +6 -8
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +11 -5
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +8 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +189 -146
- package/dist/lib/i18n/langs/cn.js +53 -0
- package/dist/lib/i18n/langs/en.js +53 -0
- package/dist/lib/index.d.ts +12 -2
- package/dist/lib/index.js +18 -2
- package/package.json +71 -69
- package/src/index.ts +21 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
|
-
import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
|
|
1
|
+
import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
|
|
2
|
+
import { getCustomTheme, initChartOption } from "../../../../utils/charts/chart-util.js";
|
|
3
|
+
import { getChartDatasFromPage, updateChartDatasources, monitorFieldChange } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { updateChartOption } from "../../../../utils/charts/chart-gauge-util.js";
|
|
5
|
+
import _sfc_main$1 from "../common/common-chart-header.vue.js";
|
|
3
6
|
import B from "../../../../../../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";
|
|
4
7
|
import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/gauge/install.js";
|
|
5
8
|
import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
|
|
@@ -14,23 +17,66 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
17
|
pageContext: {},
|
|
15
18
|
configure: {}
|
|
16
19
|
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
use([
|
|
19
|
-
install,
|
|
20
|
-
install$1,
|
|
21
|
-
install$2,
|
|
22
|
-
install$3,
|
|
23
|
-
install$4,
|
|
24
|
-
install$5
|
|
25
|
-
]);
|
|
20
|
+
setup(__props, { expose: __expose }) {
|
|
21
|
+
use([install, install$1, install$2, install$3, install$4, install$5]);
|
|
26
22
|
const props = __props;
|
|
27
23
|
const thisRef = ref(null);
|
|
24
|
+
const chartRef = ref(null);
|
|
25
|
+
const headerRef = ref(null);
|
|
28
26
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
29
27
|
const runtimeStyle = runtimeInfo.style;
|
|
30
28
|
const runtimeClass = runtimeInfo.class;
|
|
29
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
30
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
31
31
|
const chartOption = runtimeInfo.chartOption;
|
|
32
32
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
33
33
|
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
34
|
+
initChartOption(props.configure, chartOption);
|
|
35
|
+
onMounted(() => {
|
|
36
|
+
const resultData = getChartDatasFromPage(props.pageContext, props.configure);
|
|
37
|
+
if (resultData) {
|
|
38
|
+
updateChartDatas(resultData);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
42
|
+
watch(headerInfo, () => {
|
|
43
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
hisGroupValue = headerInfo.groupValue;
|
|
47
|
+
refresh();
|
|
48
|
+
});
|
|
49
|
+
function refresh() {
|
|
50
|
+
if (!dataConfig) {
|
|
51
|
+
console.log("无数据源配置,不需要查询!");
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
55
|
+
updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
56
|
+
}
|
|
57
|
+
const monitorFields = headerInfo.monitorFields;
|
|
58
|
+
monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
59
|
+
function updateChartDatas(resultData) {
|
|
60
|
+
if (!resultData) {
|
|
61
|
+
resultData = [];
|
|
62
|
+
}
|
|
63
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
64
|
+
if (!resultData) {
|
|
65
|
+
resultData = {};
|
|
66
|
+
}
|
|
67
|
+
if (resultData.hasRender) {
|
|
68
|
+
resultData.hasRender = true;
|
|
69
|
+
console.log("重复更新!", resultData);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
resultData.hasRender = true;
|
|
73
|
+
console.log("gauge resultData", resultData);
|
|
74
|
+
updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
75
|
+
console.log("chartOption", chartOption);
|
|
76
|
+
}
|
|
77
|
+
__expose({
|
|
78
|
+
updateChartDatas
|
|
79
|
+
});
|
|
34
80
|
return (_ctx, _cache) => {
|
|
35
81
|
return openBlock(), createElementBlock("div", {
|
|
36
82
|
style: normalizeStyle(unref(runtimeStyle)),
|
|
@@ -38,8 +84,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
84
|
ref_key: "thisRef",
|
|
39
85
|
ref: thisRef
|
|
40
86
|
}, [
|
|
87
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
88
|
+
ref_key: "headerRef",
|
|
89
|
+
ref: headerRef,
|
|
90
|
+
headerInfo: unref(headerInfo)
|
|
91
|
+
}, null, 8, ["headerInfo"]), [
|
|
92
|
+
[vShow, unref(headerInfo).showHeader]
|
|
93
|
+
]),
|
|
41
94
|
createVNode(unref(B), {
|
|
42
|
-
|
|
95
|
+
ref_key: "chartRef",
|
|
96
|
+
ref: chartRef,
|
|
43
97
|
theme: unref(customTheme),
|
|
44
98
|
option: unref(chartOption),
|
|
45
99
|
autoresize: ""
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
|
-
import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
|
|
1
|
+
import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
|
|
2
|
+
import { getCustomTheme, initChartOption, monitorChartClickToVariable } from "../../../../utils/charts/chart-util.js";
|
|
3
|
+
import { updateChartOption } from "../../../../utils/charts/chart-pie-util.js";
|
|
4
|
+
import { getChartDatasFromPage, updateChartDatasources, monitorFieldChange } from "../../../../utils/page-helper-util.js";
|
|
5
|
+
import _sfc_main$1 from "../common/common-chart-header.vue.js";
|
|
3
6
|
import B from "../../../../../../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";
|
|
4
7
|
import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/pie/install.js";
|
|
5
8
|
import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
|
|
@@ -15,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
18
|
pageContext: {},
|
|
16
19
|
configure: {}
|
|
17
20
|
},
|
|
18
|
-
setup(__props) {
|
|
21
|
+
setup(__props, { expose: __expose }) {
|
|
19
22
|
use([
|
|
20
23
|
install,
|
|
21
24
|
install$1,
|
|
@@ -27,12 +30,87 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
30
|
]);
|
|
28
31
|
const props = __props;
|
|
29
32
|
const thisRef = ref(null);
|
|
33
|
+
const chartRef = ref(null);
|
|
34
|
+
const headerRef = ref(null);
|
|
35
|
+
const enableDrill = props.configure.props ? props.configure.props.enableDrill : null;
|
|
36
|
+
const drillEndTrigger = props.configure.props ? props.configure.props.drillEndTrigger : null;
|
|
37
|
+
const selGroupVariable = props.configure.props ? props.configure.props.selGroupVariable : null;
|
|
30
38
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
31
39
|
const runtimeStyle = runtimeInfo.style;
|
|
32
40
|
const runtimeClass = runtimeInfo.class;
|
|
41
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
42
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
33
43
|
const chartOption = runtimeInfo.chartOption;
|
|
34
44
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
35
45
|
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
46
|
+
initChartOption(props.configure, chartOption);
|
|
47
|
+
onMounted(() => {
|
|
48
|
+
const resultData = getChartDatasFromPage(props.pageContext, props.configure);
|
|
49
|
+
if (resultData) {
|
|
50
|
+
updateChartDatas(resultData);
|
|
51
|
+
}
|
|
52
|
+
if (enableDrill && chartRef.value) {
|
|
53
|
+
chartRef.value.chart.on("click", function(params) {
|
|
54
|
+
if (headerRef.value && headerRef.value.drill) {
|
|
55
|
+
headerRef.value.drill(params, props.configure.cacheDatas);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
if (!enableDrill && selGroupVariable && chartRef.value) {
|
|
60
|
+
monitorChartClickToVariable(
|
|
61
|
+
props.pageContext,
|
|
62
|
+
props.configure,
|
|
63
|
+
chartRef.value.chart,
|
|
64
|
+
selGroupVariable
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
function onDrillEnd(params) {
|
|
69
|
+
if (drillEndTrigger == "clearDrill") {
|
|
70
|
+
if (headerRef.value && headerRef.value.closeDrill) {
|
|
71
|
+
headerRef.value.closeDrill(0);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
76
|
+
watch(headerInfo, () => {
|
|
77
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
hisGroupValue = headerInfo.groupValue;
|
|
81
|
+
refresh();
|
|
82
|
+
});
|
|
83
|
+
function refresh() {
|
|
84
|
+
if (!dataConfig) {
|
|
85
|
+
console.log("无数据源配置,不需要查询!");
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
89
|
+
updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
90
|
+
}
|
|
91
|
+
const monitorFields = headerInfo.monitorFields;
|
|
92
|
+
monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
93
|
+
function updateChartDatas(resultData) {
|
|
94
|
+
if (!resultData) {
|
|
95
|
+
resultData = [];
|
|
96
|
+
}
|
|
97
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
98
|
+
if (!resultData) {
|
|
99
|
+
resultData = {};
|
|
100
|
+
}
|
|
101
|
+
if (resultData.hasRender) {
|
|
102
|
+
resultData.hasRender = true;
|
|
103
|
+
console.log("重复更新!", resultData);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
resultData.hasRender = true;
|
|
107
|
+
console.log("pie resultData", resultData);
|
|
108
|
+
updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
109
|
+
console.log("chartOption", chartOption);
|
|
110
|
+
}
|
|
111
|
+
__expose({
|
|
112
|
+
updateChartDatas
|
|
113
|
+
});
|
|
36
114
|
return (_ctx, _cache) => {
|
|
37
115
|
return openBlock(), createElementBlock("div", {
|
|
38
116
|
style: normalizeStyle(unref(runtimeStyle)),
|
|
@@ -40,8 +118,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
118
|
ref_key: "thisRef",
|
|
41
119
|
ref: thisRef
|
|
42
120
|
}, [
|
|
121
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
122
|
+
ref_key: "headerRef",
|
|
123
|
+
ref: headerRef,
|
|
124
|
+
headerInfo: unref(headerInfo),
|
|
125
|
+
onDrillEnd
|
|
126
|
+
}, null, 8, ["headerInfo"]), [
|
|
127
|
+
[vShow, unref(headerInfo).showHeader]
|
|
128
|
+
]),
|
|
43
129
|
createVNode(unref(B), {
|
|
44
|
-
|
|
130
|
+
ref_key: "chartRef",
|
|
131
|
+
ref: chartRef,
|
|
45
132
|
theme: unref(customTheme),
|
|
46
133
|
option: unref(chartOption),
|
|
47
134
|
autoresize: ""
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
|
-
import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
|
|
1
|
+
import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
|
|
2
|
+
import { getCustomTheme, initChartOption } from "../../../../utils/charts/chart-util.js";
|
|
3
|
+
import { getChartDatasFromPage, updateChartDatasources, monitorFieldChange } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { updateChartOption } from "../../../../utils/charts/chart-radar-util.js";
|
|
5
|
+
import _sfc_main$1 from "../common/common-chart-header.vue.js";
|
|
3
6
|
import B from "../../../../../../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";
|
|
4
7
|
import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/radar/install.js";
|
|
5
8
|
import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
|
|
@@ -15,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
18
|
pageContext: {},
|
|
16
19
|
configure: {}
|
|
17
20
|
},
|
|
18
|
-
setup(__props) {
|
|
21
|
+
setup(__props, { expose: __expose }) {
|
|
19
22
|
use([
|
|
20
23
|
install,
|
|
21
24
|
install$1,
|
|
@@ -27,12 +30,62 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
30
|
]);
|
|
28
31
|
const props = __props;
|
|
29
32
|
const thisRef = ref(null);
|
|
33
|
+
const chartRef = ref(null);
|
|
34
|
+
const headerRef = ref(null);
|
|
30
35
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
31
36
|
const runtimeStyle = runtimeInfo.style;
|
|
32
37
|
const runtimeClass = runtimeInfo.class;
|
|
38
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
39
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
33
40
|
const chartOption = runtimeInfo.chartOption;
|
|
34
41
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
35
42
|
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
43
|
+
initChartOption(props.configure, chartOption);
|
|
44
|
+
console.log("chartOption", chartOption);
|
|
45
|
+
onMounted(() => {
|
|
46
|
+
const resultData = getChartDatasFromPage(props.pageContext, props.configure);
|
|
47
|
+
if (resultData) {
|
|
48
|
+
updateChartDatas(resultData);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
52
|
+
watch(headerInfo, () => {
|
|
53
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
hisGroupValue = headerInfo.groupValue;
|
|
57
|
+
refresh();
|
|
58
|
+
});
|
|
59
|
+
function refresh() {
|
|
60
|
+
if (!dataConfig) {
|
|
61
|
+
console.log("无数据源配置,不需要查询!");
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
65
|
+
updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
66
|
+
}
|
|
67
|
+
const monitorFields = headerInfo.monitorFields;
|
|
68
|
+
monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
69
|
+
function updateChartDatas(resultData) {
|
|
70
|
+
if (!resultData) {
|
|
71
|
+
resultData = [];
|
|
72
|
+
}
|
|
73
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
74
|
+
if (!resultData) {
|
|
75
|
+
resultData = {};
|
|
76
|
+
}
|
|
77
|
+
if (resultData.hasRender) {
|
|
78
|
+
resultData.hasRender = true;
|
|
79
|
+
console.log("重复更新!", resultData);
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
resultData.hasRender = true;
|
|
83
|
+
updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
84
|
+
console.log("chartOption", chartOption);
|
|
85
|
+
}
|
|
86
|
+
__expose({
|
|
87
|
+
updateChartDatas
|
|
88
|
+
});
|
|
36
89
|
return (_ctx, _cache) => {
|
|
37
90
|
return openBlock(), createElementBlock("div", {
|
|
38
91
|
style: normalizeStyle(unref(runtimeStyle)),
|
|
@@ -40,8 +93,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
93
|
ref_key: "thisRef",
|
|
41
94
|
ref: thisRef
|
|
42
95
|
}, [
|
|
96
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
97
|
+
ref_key: "headerRef",
|
|
98
|
+
ref: headerRef,
|
|
99
|
+
headerInfo: unref(headerInfo)
|
|
100
|
+
}, null, 8, ["headerInfo"]), [
|
|
101
|
+
[vShow, unref(headerInfo).showHeader]
|
|
102
|
+
]),
|
|
43
103
|
createVNode(unref(B), {
|
|
44
|
-
|
|
104
|
+
ref_key: "chartRef",
|
|
105
|
+
ref: chartRef,
|
|
45
106
|
theme: unref(customTheme),
|
|
46
107
|
option: unref(chartOption),
|
|
47
108
|
autoresize: ""
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
|
-
import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
|
|
1
|
+
import { defineComponent, ref, onMounted, watch, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, withDirectives, createVNode, vShow } from "vue";
|
|
2
|
+
import { getCustomTheme, initChartOption } from "../../../../utils/charts/chart-util.js";
|
|
3
|
+
import { getChartDatasFromPage, updateChartDatasources, monitorFieldChange } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { updateChartOption } from "../../../../utils/charts/chart-scatter-util.js";
|
|
5
|
+
import _sfc_main$1 from "../common/common-chart-header.vue.js";
|
|
3
6
|
import B from "../../../../../../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";
|
|
4
7
|
import { install as install$1 } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/chart/scatter/install.js";
|
|
5
8
|
import { use } from "../../../../../../node_modules/.pnpm/echarts@5.5.0/node_modules/echarts/lib/extension.js";
|
|
@@ -16,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
19
|
pageContext: {},
|
|
17
20
|
configure: {}
|
|
18
21
|
},
|
|
19
|
-
setup(__props) {
|
|
22
|
+
setup(__props, { expose: __expose }) {
|
|
20
23
|
use([
|
|
21
24
|
install,
|
|
22
25
|
install$1,
|
|
@@ -29,12 +32,62 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
32
|
]);
|
|
30
33
|
const props = __props;
|
|
31
34
|
const thisRef = ref(null);
|
|
35
|
+
const chartRef = ref(null);
|
|
36
|
+
const headerRef = ref(null);
|
|
32
37
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
33
38
|
const runtimeStyle = runtimeInfo.style;
|
|
34
39
|
const runtimeClass = runtimeInfo.class;
|
|
40
|
+
const dataConfig = runtimeInfo.dataConfig;
|
|
41
|
+
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
35
42
|
const chartOption = runtimeInfo.chartOption;
|
|
36
43
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
37
44
|
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
45
|
+
initChartOption(props.configure, chartOption);
|
|
46
|
+
console.log("chartOption", chartOption);
|
|
47
|
+
onMounted(() => {
|
|
48
|
+
const resultData = getChartDatasFromPage(props.pageContext, props.configure);
|
|
49
|
+
if (resultData) {
|
|
50
|
+
updateChartDatas(resultData);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
let hisGroupValue = headerInfo.groupValue;
|
|
54
|
+
watch(headerInfo, () => {
|
|
55
|
+
if (hisGroupValue == headerInfo.groupValue) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
hisGroupValue = headerInfo.groupValue;
|
|
59
|
+
refresh();
|
|
60
|
+
});
|
|
61
|
+
function refresh() {
|
|
62
|
+
if (!dataConfig) {
|
|
63
|
+
console.log("无数据源配置,不需要查询!");
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
dataConfig.services[0].groupValue = headerInfo.groupValue;
|
|
67
|
+
updateChartDatasources(props.pageContext, [dataConfig], headerInfo.drillParams);
|
|
68
|
+
}
|
|
69
|
+
const monitorFields = headerInfo.monitorFields;
|
|
70
|
+
monitorFieldChange(props.pageContext, monitorFields, refresh);
|
|
71
|
+
function updateChartDatas(resultData) {
|
|
72
|
+
if (!resultData) {
|
|
73
|
+
resultData = [];
|
|
74
|
+
}
|
|
75
|
+
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
76
|
+
if (!resultData) {
|
|
77
|
+
resultData = {};
|
|
78
|
+
}
|
|
79
|
+
if (resultData.hasRender) {
|
|
80
|
+
resultData.hasRender = true;
|
|
81
|
+
console.log("重复更新!", resultData);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
resultData.hasRender = true;
|
|
85
|
+
updateChartOption(props.pageContext, props.configure, chartOption, resultData);
|
|
86
|
+
console.log("chartOption scatter", chartOption);
|
|
87
|
+
}
|
|
88
|
+
__expose({
|
|
89
|
+
updateChartDatas
|
|
90
|
+
});
|
|
38
91
|
return (_ctx, _cache) => {
|
|
39
92
|
return openBlock(), createElementBlock("div", {
|
|
40
93
|
style: normalizeStyle(unref(runtimeStyle)),
|
|
@@ -42,8 +95,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
95
|
ref_key: "thisRef",
|
|
43
96
|
ref: thisRef
|
|
44
97
|
}, [
|
|
98
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
99
|
+
ref_key: "headerRef",
|
|
100
|
+
ref: headerRef,
|
|
101
|
+
headerInfo: unref(headerInfo)
|
|
102
|
+
}, null, 8, ["headerInfo"]), [
|
|
103
|
+
[vShow, unref(headerInfo).showHeader]
|
|
104
|
+
]),
|
|
45
105
|
createVNode(unref(B), {
|
|
46
|
-
|
|
106
|
+
ref_key: "chartRef",
|
|
107
|
+
ref: chartRef,
|
|
47
108
|
theme: unref(customTheme),
|
|
48
109
|
option: unref(chartOption),
|
|
49
110
|
autoresize: ""
|
|
@@ -8,8 +8,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
default: any;
|
|
9
9
|
};
|
|
10
10
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
close: (...args: any[]) => void;
|
|
12
11
|
result: (...args: any[]) => void;
|
|
12
|
+
close: (...args: any[]) => void;
|
|
13
13
|
open: (...args: any[]) => void;
|
|
14
14
|
opend: (...args: any[]) => void;
|
|
15
15
|
closed: (...args: any[]) => void;
|
|
@@ -4,8 +4,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
4
4
|
default: any;
|
|
5
5
|
};
|
|
6
6
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
close: (...args: any[]) => void;
|
|
8
7
|
result: (...args: any[]) => void;
|
|
8
|
+
close: (...args: any[]) => void;
|
|
9
9
|
open: (...args: any[]) => void;
|
|
10
10
|
opend: (...args: any[]) => void;
|
|
11
11
|
closed: (...args: any[]) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createBlock, unref, normalizeStyle, normalizeClass, createSlots, withCtx, createElementVNode, createElementBlock, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { SuperIcon as _sfc_main$
|
|
2
|
+
import { SuperIcon as _sfc_main$4 } from "../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.26_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js";
|
|
3
3
|
import _sfc_main$1 from "../../object-render.vue.js";
|
|
4
4
|
import { ElCard } from "../../../../../../node_modules/.pnpm/element-plus@2.6.2_vue@3.4.21/node_modules/element-plus/es/components/card/index.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const runtimeStyle = runtimeInfo.style;
|
|
19
19
|
const runtimeClass = runtimeInfo.class;
|
|
20
20
|
const headerStyle = runtimeInfo.headerStyle;
|
|
21
|
-
const
|
|
21
|
+
const contentStyle = runtimeInfo.contentStyle;
|
|
22
22
|
function test() {
|
|
23
23
|
props.configure.props.title = "teee";
|
|
24
24
|
}
|
|
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
}, createSlots({
|
|
35
35
|
default: withCtx(() => [
|
|
36
36
|
createElementVNode("div", {
|
|
37
|
-
|
|
37
|
+
style: normalizeStyle(unref(contentStyle))
|
|
38
38
|
}, [
|
|
39
39
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
40
40
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
configure: element
|
|
44
44
|
}, null, 8, ["pageContext", "configure"]);
|
|
45
45
|
}), 128))
|
|
46
|
-
],
|
|
46
|
+
], 4)
|
|
47
47
|
]),
|
|
48
48
|
_: 2
|
|
49
49
|
}, [
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
createElementVNode("div", {
|
|
54
54
|
style: normalizeStyle(unref(headerStyle))
|
|
55
55
|
}, [
|
|
56
|
-
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (openBlock(), createBlock(unref(_sfc_main$
|
|
56
|
+
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
57
57
|
key: 0,
|
|
58
58
|
iconType: _ctx.configure.props.iconType,
|
|
59
59
|
iconValue: _ctx.configure.props.iconValue,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock,
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, normalizeStyle, unref, normalizeClass, withCtx, createElementBlock, Fragment, renderList, createVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../object-render.vue.js";
|
|
3
|
-
import "../../../../utils/
|
|
3
|
+
import { PageDimensions } from "../../../../utils/interfaces/page-design-types.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "flex-runtime",
|
|
6
6
|
props: {
|
|
@@ -13,25 +13,52 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
14
14
|
const runtimeStyle = runtimeInfo.style;
|
|
15
15
|
const runtimeClass = runtimeInfo.class;
|
|
16
|
-
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
16
|
+
const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
17
|
+
if (props.configure.items) {
|
|
18
|
+
const pageDimensions = props.pageContext && props.pageContext.dimensions ? props.pageContext.dimensions : PageDimensions.PC;
|
|
19
|
+
for (let item of props.configure.items) {
|
|
20
|
+
const itemCommon = item.runtime && item.runtime.common ? item.runtime.common : {};
|
|
21
|
+
const sizeStyle = itemCommon.style ? itemCommon.style[pageDimensions + "_style"] : void 0;
|
|
22
|
+
const itemStyle = {};
|
|
23
|
+
if (sizeStyle) {
|
|
24
|
+
item.flexSpan = sizeStyle.flexSpan ? sizeStyle.flexSpan : -2;
|
|
25
|
+
Object.assign(itemStyle, sizeStyle);
|
|
26
|
+
delete itemStyle.height;
|
|
27
|
+
delete sizeStyle.width;
|
|
28
|
+
}
|
|
29
|
+
item.itemStyle = itemStyle;
|
|
30
|
+
if (itemCommon.style) {
|
|
31
|
+
itemCommon.style[pageDimensions + "_class"] = "";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
17
35
|
return (_ctx, _cache) => {
|
|
36
|
+
const _component_el_col = resolveComponent("el-col");
|
|
18
37
|
const _component_el_row = resolveComponent("el-row");
|
|
19
38
|
return openBlock(), createBlock(_component_el_row, {
|
|
20
39
|
ref_key: "thisRef",
|
|
21
40
|
ref: thisRef,
|
|
22
|
-
justify:
|
|
23
|
-
gutter:
|
|
24
|
-
align:
|
|
25
|
-
style: normalizeStyle(unref(runtimeStyle)),
|
|
41
|
+
justify: designProperty.value.flexJustify,
|
|
42
|
+
gutter: designProperty.value.flexGutter,
|
|
43
|
+
align: designProperty.value.alignItems,
|
|
44
|
+
style: normalizeStyle([{ "display": "flex" }, unref(runtimeStyle)]),
|
|
26
45
|
class: normalizeClass(unref(runtimeClass))
|
|
27
46
|
}, {
|
|
28
47
|
default: withCtx(() => [
|
|
29
48
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
30
|
-
return openBlock(), createBlock(
|
|
49
|
+
return openBlock(), createBlock(_component_el_col, {
|
|
31
50
|
key: element.uuid,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
51
|
+
style: normalizeStyle(element.itemStyle),
|
|
52
|
+
span: element.flexSpan
|
|
53
|
+
}, {
|
|
54
|
+
default: withCtx(() => [
|
|
55
|
+
createVNode(_sfc_main$1, {
|
|
56
|
+
pageContext: _ctx.pageContext,
|
|
57
|
+
configure: element
|
|
58
|
+
}, null, 8, ["pageContext", "configure"])
|
|
59
|
+
]),
|
|
60
|
+
_: 2
|
|
61
|
+
}, 1032, ["style", "span"]);
|
|
35
62
|
}), 128))
|
|
36
63
|
]),
|
|
37
64
|
_: 1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createElementBlock, Fragment, renderList } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, unref, normalizeStyle, normalizeClass, withCtx, createElementBlock, toDisplayString, createCommentVNode, Fragment, renderList } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../object-render.vue.js";
|
|
3
3
|
import "../../../../utils/global-refs.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -14,8 +14,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
}
|
|
15
15
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
16
16
|
const runtimeProps = runtimeInfo.props ? runtimeInfo.props : {};
|
|
17
|
-
const runtimeStyle = runtimeInfo.style;
|
|
17
|
+
const runtimeStyle = ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
18
18
|
const runtimeClass = runtimeInfo.class;
|
|
19
|
+
const titleStyle = ref(runtimeInfo.titleStyle ? runtimeInfo.titleStyle : {});
|
|
19
20
|
return (_ctx, _cache) => {
|
|
20
21
|
const _component_el_form = resolveComponent("el-form");
|
|
21
22
|
return openBlock(), createBlock(_component_el_form, {
|
|
@@ -23,10 +24,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
24
|
"label-width": unref(runtimeProps).labelWidth,
|
|
24
25
|
"label-position": unref(runtimeProps).labelPosition,
|
|
25
26
|
size: unref(runtimeProps).componentSize,
|
|
26
|
-
style: normalizeStyle(
|
|
27
|
+
style: normalizeStyle(runtimeStyle.value),
|
|
27
28
|
class: normalizeClass(unref(runtimeClass))
|
|
28
29
|
}, {
|
|
29
30
|
default: withCtx(() => [
|
|
31
|
+
unref(runtimeProps).formTitle ? (openBlock(), createElementBlock("div", {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "amb-widget-form-title",
|
|
34
|
+
style: normalizeStyle(titleStyle.value)
|
|
35
|
+
}, toDisplayString(unref(runtimeProps).formTitle), 5)) : createCommentVNode("", true),
|
|
30
36
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
31
37
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
32
38
|
key: element.uuid,
|