super-page-runtime 2.0.42 → 2.0.43-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/components/runtime/utils/events/standard-event.js +2 -34
- package/dist/es/components/runtime/utils/events/validator-util.js +9 -39
- package/dist/es/components/runtime/utils/page-helper-util.js +1 -2
- package/dist/es/components/runtime/utils/page-init-util.js +1 -2
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +13 -9
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +45 -26
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +11 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +11 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +28 -18
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +11 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +11 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +23 -9
- package/dist/es/components/runtime/views/super-page.vue.js +37 -42
- package/package.json +1 -1
- package/dist/lib/_virtual/AttributeMap.js +0 -4
- package/dist/lib/_virtual/Barcode.js +0 -4
- package/dist/lib/_virtual/CODE128.js +0 -4
- package/dist/lib/_virtual/CODE128A.js +0 -4
- package/dist/lib/_virtual/CODE128B.js +0 -4
- package/dist/lib/_virtual/CODE128C.js +0 -4
- package/dist/lib/_virtual/CODE128_AUTO.js +0 -4
- package/dist/lib/_virtual/Delta.js +0 -4
- package/dist/lib/_virtual/EAN.js +0 -4
- package/dist/lib/_virtual/EAN13.js +0 -4
- package/dist/lib/_virtual/EAN2.js +0 -4
- package/dist/lib/_virtual/EAN5.js +0 -4
- package/dist/lib/_virtual/EAN8.js +0 -4
- package/dist/lib/_virtual/ErrorHandler.js +0 -4
- package/dist/lib/_virtual/ITF.js +0 -4
- package/dist/lib/_virtual/ITF14.js +0 -4
- package/dist/lib/_virtual/JsBarcode.js +0 -6
- package/dist/lib/_virtual/MSI.js +0 -4
- package/dist/lib/_virtual/MSI10.js +0 -4
- package/dist/lib/_virtual/MSI1010.js +0 -4
- package/dist/lib/_virtual/MSI11.js +0 -4
- package/dist/lib/_virtual/MSI1110.js +0 -4
- package/dist/lib/_virtual/Op.js +0 -4
- package/dist/lib/_virtual/OpIterator.js +0 -4
- package/dist/lib/_virtual/SVGPathData.js +0 -4
- package/dist/lib/_virtual/SVGPathData2.js +0 -5
- package/dist/lib/_virtual/UPC.js +0 -4
- package/dist/lib/_virtual/UPCE.js +0 -4
- package/dist/lib/_virtual/__vite-browser-external.js +0 -3
- package/dist/lib/_virtual/_commonjsHelpers.js +0 -35
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/lib/_virtual/alignment-pattern.js +0 -4
- package/dist/lib/_virtual/arrayLikeToArray.js +0 -4
- package/dist/lib/_virtual/arrayWithHoles.js +0 -4
- package/dist/lib/_virtual/arrayWithoutHoles.js +0 -4
- package/dist/lib/_virtual/assertThisInitialized.js +0 -4
- package/dist/lib/_virtual/asyncToGenerator.js +0 -4
- package/dist/lib/_virtual/asyncToGenerator2.js +0 -6
- package/dist/lib/_virtual/auto.js +0 -4
- package/dist/lib/_virtual/backo2.js +0 -4
- package/dist/lib/_virtual/base64-arraybuffer.js +0 -4
- package/dist/lib/_virtual/binary.js +0 -4
- package/dist/lib/_virtual/browser.js +0 -4
- package/dist/lib/_virtual/browser2.js +0 -4
- package/dist/lib/_virtual/canvas.js +0 -4
- package/dist/lib/_virtual/canvas2.js +0 -4
- package/dist/lib/_virtual/checksums.js +0 -4
- package/dist/lib/_virtual/classCallCheck.js +0 -4
- package/dist/lib/_virtual/commons.js +0 -4
- package/dist/lib/_virtual/constants.js +0 -4
- package/dist/lib/_virtual/constants2.js +0 -4
- package/dist/lib/_virtual/constants3.js +0 -4
- package/dist/lib/_virtual/createClass.js +0 -4
- package/dist/lib/_virtual/dayjs.min.js +0 -4
- package/dist/lib/_virtual/decodePacket.browser.js +0 -4
- package/dist/lib/_virtual/defaults.js +0 -4
- package/dist/lib/_virtual/defineProperty.js +0 -4
- package/dist/lib/_virtual/defineProperty2.js +0 -6
- package/dist/lib/_virtual/dijkstra.js +0 -4
- package/dist/lib/_virtual/encodePacket.browser.js +0 -4
- package/dist/lib/_virtual/encoder.js +0 -4
- package/dist/lib/_virtual/error-correction-code.js +0 -4
- package/dist/lib/_virtual/error-correction-level.js +0 -4
- package/dist/lib/_virtual/es.array.concat.js +0 -4
- package/dist/lib/_virtual/es.array.every.js +0 -4
- package/dist/lib/_virtual/es.array.fill.js +0 -4
- package/dist/lib/_virtual/es.array.for-each.js +0 -4
- package/dist/lib/_virtual/es.array.from.js +0 -4
- package/dist/lib/_virtual/es.array.includes.js +0 -4
- package/dist/lib/_virtual/es.array.index-of.js +0 -4
- package/dist/lib/_virtual/es.array.index-of2.js +0 -3
- package/dist/lib/_virtual/es.array.iterator.js +0 -3
- package/dist/lib/_virtual/es.array.join.js +0 -4
- package/dist/lib/_virtual/es.array.map.js +0 -4
- package/dist/lib/_virtual/es.array.reduce.js +0 -4
- package/dist/lib/_virtual/es.array.reduce2.js +0 -3
- package/dist/lib/_virtual/es.array.reverse.js +0 -4
- package/dist/lib/_virtual/es.array.reverse2.js +0 -3
- package/dist/lib/_virtual/es.array.some.js +0 -4
- package/dist/lib/_virtual/es.function.name.js +0 -4
- package/dist/lib/_virtual/es.map.constructor.js +0 -4
- package/dist/lib/_virtual/es.map.js +0 -4
- package/dist/lib/_virtual/es.number.constructor.js +0 -4
- package/dist/lib/_virtual/es.object.to-string.js +0 -4
- package/dist/lib/_virtual/es.parse-float.js +0 -4
- package/dist/lib/_virtual/es.promise.all.js +0 -4
- package/dist/lib/_virtual/es.promise.catch.js +0 -4
- package/dist/lib/_virtual/es.promise.constructor.js +0 -4
- package/dist/lib/_virtual/es.promise.js +0 -4
- package/dist/lib/_virtual/es.promise.race.js +0 -4
- package/dist/lib/_virtual/es.promise.reject.js +0 -4
- package/dist/lib/_virtual/es.promise.resolve.js +0 -4
- package/dist/lib/_virtual/es.promise2.js +0 -3
- package/dist/lib/_virtual/es.reflect.apply.js +0 -4
- package/dist/lib/_virtual/es.reflect.delete-property.js +0 -4
- package/dist/lib/_virtual/es.reflect.get-prototype-of.js +0 -4
- package/dist/lib/_virtual/es.regexp.exec.js +0 -4
- package/dist/lib/_virtual/es.regexp.to-string.js +0 -4
- package/dist/lib/_virtual/es.regexp.to-string2.js +0 -3
- package/dist/lib/_virtual/es.string.ends-with.js +0 -4
- package/dist/lib/_virtual/es.string.ends-with2.js +0 -3
- package/dist/lib/_virtual/es.string.includes.js +0 -4
- package/dist/lib/_virtual/es.string.includes2.js +0 -3
- package/dist/lib/_virtual/es.string.iterator.js +0 -4
- package/dist/lib/_virtual/es.string.match.js +0 -4
- package/dist/lib/_virtual/es.string.match2.js +0 -3
- package/dist/lib/_virtual/es.string.replace.js +0 -4
- package/dist/lib/_virtual/es.string.replace2.js +0 -3
- package/dist/lib/_virtual/es.string.split.js +0 -4
- package/dist/lib/_virtual/es.string.split2.js +0 -3
- package/dist/lib/_virtual/es.string.starts-with.js +0 -4
- package/dist/lib/_virtual/es.string.starts-with2.js +0 -3
- package/dist/lib/_virtual/es.string.trim.js +0 -4
- package/dist/lib/_virtual/es.string.trim2.js +0 -3
- package/dist/lib/_virtual/exceptions.js +0 -4
- package/dist/lib/_virtual/finder-pattern.js +0 -4
- package/dist/lib/_virtual/fixOptions.js +0 -4
- package/dist/lib/_virtual/format-info.js +0 -4
- package/dist/lib/_virtual/galois-field.js +0 -4
- package/dist/lib/_virtual/get.js +0 -4
- package/dist/lib/_virtual/getOptionsFromElement.js +0 -4
- package/dist/lib/_virtual/getPrototypeOf.js +0 -4
- package/dist/lib/_virtual/getRenderProperties.js +0 -4
- package/dist/lib/_virtual/globalThis.browser.js +0 -4
- package/dist/lib/_virtual/has-cors.js +0 -4
- package/dist/lib/_virtual/html2canvas.js +0 -4
- package/dist/lib/_virtual/index.js +0 -4
- package/dist/lib/_virtual/index10.js +0 -4
- package/dist/lib/_virtual/index11.js +0 -4
- package/dist/lib/_virtual/index12.js +0 -4
- package/dist/lib/_virtual/index13.js +0 -4
- package/dist/lib/_virtual/index14.js +0 -4
- package/dist/lib/_virtual/index15.js +0 -4
- package/dist/lib/_virtual/index16.js +0 -4
- package/dist/lib/_virtual/index17.js +0 -4
- package/dist/lib/_virtual/index18.js +0 -4
- package/dist/lib/_virtual/index19.js +0 -4
- package/dist/lib/_virtual/index2.js +0 -4
- package/dist/lib/_virtual/index20.js +0 -4
- package/dist/lib/_virtual/index21.js +0 -4
- package/dist/lib/_virtual/index22.js +0 -4
- package/dist/lib/_virtual/index23.js +0 -4
- package/dist/lib/_virtual/index3.js +0 -4
- package/dist/lib/_virtual/index4.js +0 -5
- package/dist/lib/_virtual/index5.js +0 -4
- package/dist/lib/_virtual/index6.js +0 -4
- package/dist/lib/_virtual/index7.js +0 -6
- package/dist/lib/_virtual/index8.js +0 -6
- package/dist/lib/_virtual/index9.js +0 -4
- package/dist/lib/_virtual/inherits.js +0 -4
- package/dist/lib/_virtual/internal-metadata.js +0 -4
- package/dist/lib/_virtual/is-binary.js +0 -4
- package/dist/lib/_virtual/iterableToArray.js +0 -4
- package/dist/lib/_virtual/iterableToArrayLimit.js +0 -4
- package/dist/lib/_virtual/jquery.js +0 -4
- package/dist/lib/_virtual/jspdf.es.min.js +0 -5
- package/dist/lib/_virtual/linearizeEncodings.js +0 -4
- package/dist/lib/_virtual/make-built-in.js +0 -4
- package/dist/lib/_virtual/manager.js +0 -4
- package/dist/lib/_virtual/mask-pattern.js +0 -4
- package/dist/lib/_virtual/merge.js +0 -4
- package/dist/lib/_virtual/mode.js +0 -4
- package/dist/lib/_virtual/new-promise-capability.js +0 -4
- package/dist/lib/_virtual/nonIterableRest.js +0 -4
- package/dist/lib/_virtual/nonIterableSpread.js +0 -4
- package/dist/lib/_virtual/object-define-properties.js +0 -4
- package/dist/lib/_virtual/object-define-property.js +0 -4
- package/dist/lib/_virtual/object-get-own-property-descriptor.js +0 -4
- package/dist/lib/_virtual/object-get-own-property-names-external.js +0 -4
- package/dist/lib/_virtual/object-get-own-property-names.js +0 -4
- package/dist/lib/_virtual/object-get-own-property-symbols.js +0 -4
- package/dist/lib/_virtual/object-property-is-enumerable.js +0 -4
- package/dist/lib/_virtual/object.js +0 -4
- package/dist/lib/_virtual/on.js +0 -4
- package/dist/lib/_virtual/optionsFromStrings.js +0 -4
- package/dist/lib/_virtual/parseqs.js +0 -4
- package/dist/lib/_virtual/parseuri.js +0 -4
- package/dist/lib/_virtual/performance-now.js +0 -4
- package/dist/lib/_virtual/polling.js +0 -4
- package/dist/lib/_virtual/polynomial.js +0 -4
- package/dist/lib/_virtual/possibleConstructorReturn.js +0 -4
- package/dist/lib/_virtual/qrcode.js +0 -4
- package/dist/lib/_virtual/regeneratorRuntime.js +0 -4
- package/dist/lib/_virtual/regex.js +0 -4
- package/dist/lib/_virtual/segments.js +0 -4
- package/dist/lib/_virtual/setPrototypeOf.js +0 -4
- package/dist/lib/_virtual/shared-store.js +0 -4
- package/dist/lib/_virtual/shared.js +0 -4
- package/dist/lib/_virtual/slicedToArray.js +0 -4
- package/dist/lib/_virtual/socket.js +0 -4
- package/dist/lib/_virtual/socket2.js +0 -4
- package/dist/lib/_virtual/stackblur-es.js +0 -5
- package/dist/lib/_virtual/superPropBase.js +0 -4
- package/dist/lib/_virtual/svg-tag.js +0 -4
- package/dist/lib/_virtual/svg.js +0 -4
- package/dist/lib/_virtual/toConsumableArray.js +0 -4
- package/dist/lib/_virtual/toPrimitive.js +0 -4
- package/dist/lib/_virtual/toPropertyKey.js +0 -4
- package/dist/lib/_virtual/transport.js +0 -4
- package/dist/lib/_virtual/typeof.js +0 -4
- package/dist/lib/_virtual/unsupportedIterableToArray.js +0 -4
- package/dist/lib/_virtual/url.js +0 -4
- package/dist/lib/_virtual/util.js +0 -4
- package/dist/lib/_virtual/utils.js +0 -4
- package/dist/lib/_virtual/utils2.js +0 -4
- package/dist/lib/_virtual/version-check.js +0 -4
- package/dist/lib/_virtual/version.js +0 -4
- package/dist/lib/_virtual/vue-plugin-hiprint.js +0 -4
- package/dist/lib/_virtual/web.dom-collections.for-each.js +0 -4
- package/dist/lib/_virtual/web.dom-collections.iterator.js +0 -4
- package/dist/lib/_virtual/web.dom-collections.iterator2.js +0 -3
- package/dist/lib/_virtual/websocket-constructor.browser.js +0 -4
- package/dist/lib/_virtual/websocket.js +0 -4
- package/dist/lib/_virtual/webtransport.js +0 -4
- package/dist/lib/_virtual/xmlhttprequest.browser.js +0 -4
- package/dist/lib/_virtual/yeast.js +0 -4
- package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
- package/dist/lib/assets/chart-themes/theme1.js +0 -7
- package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
- package/dist/lib/assets/chart-themes/theme2.js +0 -7
- package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
- package/dist/lib/assets/chart-themes/theme3.js +0 -7
- package/dist/lib/components/runtime/index.d.ts +0 -4
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -18
- package/dist/lib/components/runtime/utils/api/api-util.js +0 -298
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/api/page-expose-util.js +0 -206
- package/dist/lib/components/runtime/utils/assemblys-config.js +0 -295
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +0 -8
- package/dist/lib/components/runtime/utils/barcode-util.js +0 -36
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +0 -279
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +0 -74
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +0 -118
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +0 -100
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +0 -74
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -51
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -302
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -17
- package/dist/lib/components/runtime/utils/common-util.js +0 -108
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/lib/components/runtime/utils/eventBus.js +0 -10
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -68
- package/dist/lib/components/runtime/utils/events/event-util.js +0 -616
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +0 -5
- package/dist/lib/components/runtime/utils/events/print-label.js +0 -153
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -67
- package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1817
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -12
- package/dist/lib/components/runtime/utils/events/validator-util.js +0 -416
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +0 -7
- package/dist/lib/components/runtime/utils/form/date-shortcuts.js +0 -96
- package/dist/lib/components/runtime/utils/form/scan-util.js +0 -194
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/global-refs.js +0 -77
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -224
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -134
- package/dist/lib/components/runtime/utils/page-helper-util.js +0 -668
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -40
- package/dist/lib/components/runtime/utils/page-init-util.js +0 -266
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store-util.js +0 -17
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/utils/store.js +0 -3
- package/dist/lib/components/runtime/utils/table-utils.js +0 -16
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -115
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -95
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -144
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -127
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -106
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -141
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -115
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -117
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -147
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -70
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -50
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -109
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -183
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -673
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -455
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -120
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -65
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -149
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -72
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -42
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -135
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -67
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -159
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -130
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -160
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -236
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -204
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -41
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -65
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -66
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -71
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -154
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -39
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -39
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -59
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -79
- package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -99
- package/dist/lib/components/runtime/views/super-page.vue.js +0 -525
- package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.js +0 -53
- package/dist/lib/i18n/langs/en.js +0 -53
- package/dist/lib/index.d.ts +0 -13
- package/dist/lib/index.js +0 -22
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const request = require("../../../../node_modules/.pnpm/agilebuilder-ui@1.0.28_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js");
|
|
4
|
-
const pageHelperUtil = require("../page-helper-util.js");
|
|
5
|
-
function formatScanRuleSets(ruleList) {
|
|
6
|
-
const scanRuleSets2 = {};
|
|
7
|
-
ruleList.forEach((ruleSet) => {
|
|
8
|
-
if (ruleSet.type === "group") {
|
|
9
|
-
ruleSet.outs.forEach((valueSet) => {
|
|
10
|
-
if (!scanRuleSets2[valueSet.ruleCode]) {
|
|
11
|
-
scanRuleSets2[valueSet.ruleCode] = { outs: [], adaptations: [] };
|
|
12
|
-
}
|
|
13
|
-
scanRuleSets2[valueSet.ruleCode].outs.push(valueSet);
|
|
14
|
-
});
|
|
15
|
-
} else {
|
|
16
|
-
scanRuleSets2[ruleSet.code] = { outs: ruleSet.outs, adaptations: [] };
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
return packageScanRuleSets(scanRuleSets2);
|
|
20
|
-
}
|
|
21
|
-
function packageScanRuleSets(scanRuleSets2) {
|
|
22
|
-
return new Promise((resolve, reject) => {
|
|
23
|
-
if (Object.keys(scanRuleSets2).length > 0) {
|
|
24
|
-
request.post(
|
|
25
|
-
window["$vueApp"].config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes",
|
|
26
|
-
Object.keys(scanRuleSets2)
|
|
27
|
-
).then((res2) => {
|
|
28
|
-
res2.forEach((rule) => {
|
|
29
|
-
const ruleOuts = JSON.parse(rule.barcodeAnalysisOuts);
|
|
30
|
-
const needOutsFields = /* @__PURE__ */ new Set();
|
|
31
|
-
const outsFiledsSet = {};
|
|
32
|
-
scanRuleSets2[rule.code].outs.forEach((valueSet) => {
|
|
33
|
-
needOutsFields.add(valueSet.returnedValue);
|
|
34
|
-
outsFiledsSet[valueSet.returnedValue] = valueSet.pageVariable;
|
|
35
|
-
});
|
|
36
|
-
const filteredOutsField = [];
|
|
37
|
-
ruleOuts.forEach((outFiled) => {
|
|
38
|
-
if (needOutsFields.has(outFiled.code)) {
|
|
39
|
-
outFiled.pageVariable = outsFiledsSet[outFiled.code];
|
|
40
|
-
filteredOutsField.push(outFiled);
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
scanRuleSets2[rule.code].outs = filteredOutsField;
|
|
44
|
-
scanRuleSets2[rule.code].adaptations = JSON.parse(rule.barcodeAnalysisAdaptations);
|
|
45
|
-
resolve(scanRuleSets2);
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
} else {
|
|
49
|
-
resolve(null);
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function analysisScanValue(scanValue, scanRuleSets) {
|
|
54
|
-
if (!scanValue) {
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
const scanSets = Object.values(scanRuleSets);
|
|
58
|
-
for (let i = 0; i < scanSets.length; i++) {
|
|
59
|
-
const scanSet = scanSets[i];
|
|
60
|
-
const adaptations = scanSet.adaptations;
|
|
61
|
-
let validStr = "";
|
|
62
|
-
for (let k = 0; k < adaptations.length; k++) {
|
|
63
|
-
const adap = adaptations[k];
|
|
64
|
-
const indexs = _getScanIndexs(scanValue, adap.startIndex, adap.endIndex);
|
|
65
|
-
const startIndex = indexs[0];
|
|
66
|
-
const endIndex = indexs[1];
|
|
67
|
-
let paramValue = scanValue.substring(startIndex, endIndex);
|
|
68
|
-
let compareValue = adap.value;
|
|
69
|
-
let operate = adap.operate;
|
|
70
|
-
if (operate == "times") {
|
|
71
|
-
const realValue = paramValue.split(compareValue == void 0 ? "" : compareValue).length - 1;
|
|
72
|
-
compareValue = realValue;
|
|
73
|
-
paramValue = adap.times;
|
|
74
|
-
operate = "=";
|
|
75
|
-
}
|
|
76
|
-
if (isNaN(paramValue) || isNaN(compareValue)) {
|
|
77
|
-
paramValue = "'" + paramValue + "'";
|
|
78
|
-
compareValue = "'" + compareValue + "'";
|
|
79
|
-
}
|
|
80
|
-
if (adap.leftBracket) {
|
|
81
|
-
validStr += adap.leftBracket;
|
|
82
|
-
}
|
|
83
|
-
if (operate == "<>") {
|
|
84
|
-
operate = "!=";
|
|
85
|
-
} else if (operate == "=") {
|
|
86
|
-
operate = "==";
|
|
87
|
-
}
|
|
88
|
-
if (operate == "include" || operate == "notinclude") {
|
|
89
|
-
validStr += paramValue + ".indexOf(" + compareValue + ")";
|
|
90
|
-
if (operate == "include") {
|
|
91
|
-
validStr += ">-1";
|
|
92
|
-
} else {
|
|
93
|
-
validStr += "<0";
|
|
94
|
-
}
|
|
95
|
-
} else {
|
|
96
|
-
validStr += paramValue + operate + compareValue;
|
|
97
|
-
}
|
|
98
|
-
if (adap.rightBracket) {
|
|
99
|
-
validStr += adap.rightBracket;
|
|
100
|
-
}
|
|
101
|
-
if (adap.joinStr && k + 1 < adaptations.length) {
|
|
102
|
-
const joinStr = adap.joinStr == "and" ? "&&" : "||";
|
|
103
|
-
validStr += joinStr;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
let res = false;
|
|
107
|
-
if (validStr) {
|
|
108
|
-
try {
|
|
109
|
-
console.log("validStr", validStr);
|
|
110
|
-
res = eval("(" + validStr + ")");
|
|
111
|
-
console.log("res", res);
|
|
112
|
-
} catch (e) {
|
|
113
|
-
console.log(e);
|
|
114
|
-
}
|
|
115
|
-
} else {
|
|
116
|
-
res = true;
|
|
117
|
-
}
|
|
118
|
-
if (res) {
|
|
119
|
-
return executeAnalysisForScan(scanValue, scanSet);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
return null;
|
|
123
|
-
}
|
|
124
|
-
function executeAnalysisForScan(scanValue2, scanSet2) {
|
|
125
|
-
if (!scanSet2 || !scanValue2) {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const outs = scanSet2.outs;
|
|
129
|
-
const params = {};
|
|
130
|
-
outs.forEach((outJson) => {
|
|
131
|
-
const fieldName = outJson.fieldName;
|
|
132
|
-
if (outJson.fixedValue != void 0) {
|
|
133
|
-
params[fieldName] = outJson.fixedValue;
|
|
134
|
-
} else {
|
|
135
|
-
let pValue = scanValue2;
|
|
136
|
-
if (outJson.splitChar && outJson.splitNum) {
|
|
137
|
-
const splitChar = outJson.splitChar == "|" ? outJson.splitChar : outJson.splitChar;
|
|
138
|
-
const strs = scanValue2.split(splitChar);
|
|
139
|
-
const splitNum = outJson.splitNum < 1 ? 1 : outJson.splitNum;
|
|
140
|
-
console.log(pValue, splitChar, strs, splitNum);
|
|
141
|
-
if (splitNum <= strs.length) {
|
|
142
|
-
pValue = strs[splitNum - 1];
|
|
143
|
-
} else {
|
|
144
|
-
pValue = "";
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (outJson.splitChar2 && outJson.splitNum2) {
|
|
148
|
-
const splitChar2 = outJson.splitChar2 == "|" ? outJson.splitChar2 : outJson.splitChar2;
|
|
149
|
-
const strs = pValue.split(splitChar2);
|
|
150
|
-
const splitNum2 = outJson.splitNum2 < 1 ? 1 : outJson.splitNum2;
|
|
151
|
-
console.log(pValue, splitChar2, strs, splitNum2);
|
|
152
|
-
if (splitNum2 <= strs.length) {
|
|
153
|
-
pValue = strs[splitNum2 - 1];
|
|
154
|
-
} else {
|
|
155
|
-
pValue = "";
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
if (pValue.length > 0) {
|
|
159
|
-
const indexs = _getScanIndexs(pValue, outJson.startIndex, outJson.endIndex);
|
|
160
|
-
const startIndex = indexs[0];
|
|
161
|
-
const endIndex = indexs[1];
|
|
162
|
-
pValue = pValue.substring(startIndex, endIndex);
|
|
163
|
-
}
|
|
164
|
-
params[fieldName] = pValue;
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
return { value: scanValue2, params, scanSet: scanSet2 };
|
|
168
|
-
}
|
|
169
|
-
function _getScanIndexs(value, startIndex, endIndex) {
|
|
170
|
-
startIndex = startIndex == void 0 ? 0 : startIndex - 1;
|
|
171
|
-
startIndex = startIndex < 0 ? 0 : startIndex;
|
|
172
|
-
startIndex = startIndex > value.length - 1 ? value.length - 1 : startIndex;
|
|
173
|
-
endIndex = endIndex == void 0 ? value.length : endIndex;
|
|
174
|
-
endIndex = endIndex > value.length ? value.length : endIndex;
|
|
175
|
-
endIndex = endIndex < 1 ? 1 : endIndex;
|
|
176
|
-
if (endIndex < startIndex) {
|
|
177
|
-
endIndex = startIndex;
|
|
178
|
-
}
|
|
179
|
-
return [startIndex, endIndex];
|
|
180
|
-
}
|
|
181
|
-
function setScanAnalysisValue(pageContext, scanSet2, params) {
|
|
182
|
-
if (!scanSet2) {
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
const outs = scanSet2.outs;
|
|
186
|
-
outs.forEach((outField) => {
|
|
187
|
-
const fieldName = outField.fieldName;
|
|
188
|
-
const value = params[fieldName];
|
|
189
|
-
pageHelperUtil.setValueForVariableName(pageContext.entity, outField.pageVariable, value);
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
exports.analysisScanValue = analysisScanValue;
|
|
193
|
-
exports.formatScanRuleSets = formatScanRuleSets;
|
|
194
|
-
exports.setScanAnalysisValue = setScanAnalysisValue;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { PageContext } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
globalRefs: any;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 添加组件引用对象
|
|
10
|
-
* @param pageContext 页面运行时对象
|
|
11
|
-
* @param componentIndex 对象ID
|
|
12
|
-
* @param refObj 引用对象
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function addComponentRef(pageContext: PageContext, componentUuid: string, refObj: any): any;
|
|
16
|
-
/**
|
|
17
|
-
* 添加组件引用对象
|
|
18
|
-
* @param pageContext 页面运行时对象
|
|
19
|
-
* @param componentIndex 对象ID
|
|
20
|
-
* @param refObj 引用对象
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare function addComponentRefByCode(pageContext: PageContext, componentCode: string, refObj: any): any;
|
|
24
|
-
/**
|
|
25
|
-
* 获取组件引用对象
|
|
26
|
-
* @param pageDesign 页面设计对象
|
|
27
|
-
* @param componentIndex 对象ID
|
|
28
|
-
* @returns
|
|
29
|
-
*/
|
|
30
|
-
export declare function getComponentRef(pageContext: PageContext, componentUuid: string): any;
|
|
31
|
-
/**
|
|
32
|
-
* 根据编码获取组件引用对象
|
|
33
|
-
* @param pageDesign 页面设计对象
|
|
34
|
-
* @param componentCode 对象code
|
|
35
|
-
* @returns
|
|
36
|
-
*/
|
|
37
|
-
export declare function getComponentRefByCode(pageContext: PageContext, componentCode: string): any;
|
|
38
|
-
/**
|
|
39
|
-
* 移除组件引用对象
|
|
40
|
-
* @param pageDesign 页面设计对象
|
|
41
|
-
* @param componentIndex 对象ID
|
|
42
|
-
* @param refObj 引用对象
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
export declare function removeComponentRef(pageContext: PageContext, componentUuid: string): any;
|
|
46
|
-
/**
|
|
47
|
-
* 移除页面所有引用
|
|
48
|
-
* @param pageDesign 页面设计对象
|
|
49
|
-
* @param componentIndex 对象ID
|
|
50
|
-
* @param refObj 引用对象
|
|
51
|
-
* @returns
|
|
52
|
-
*/
|
|
53
|
-
export declare function removePageAllRef(pageContext: PageContext): void;
|
|
54
|
-
/**
|
|
55
|
-
* 初始化页面引用对象
|
|
56
|
-
* @param pageCode
|
|
57
|
-
* @param pageVersion
|
|
58
|
-
*/
|
|
59
|
-
export declare function initComponentRefState(pageContext: PageContext): void;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
require("vue");
|
|
4
|
-
if (!window["globalRefs"]) {
|
|
5
|
-
window["globalRefs"] = {};
|
|
6
|
-
}
|
|
7
|
-
const globalRefs = window["globalRefs"];
|
|
8
|
-
function addComponentRef(pageContext, componentUuid, refObj) {
|
|
9
|
-
if (!pageContext) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
13
|
-
if (!globalRefs[cacheKey]) {
|
|
14
|
-
globalRefs[cacheKey] = {};
|
|
15
|
-
}
|
|
16
|
-
globalRefs[cacheKey][componentUuid] = refObj;
|
|
17
|
-
return globalRefs[cacheKey];
|
|
18
|
-
}
|
|
19
|
-
function addComponentRefByCode(pageContext, componentCode, refObj) {
|
|
20
|
-
if (!pageContext) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
const cacheKey = getPageRefKeyByCode(pageContext.code, pageContext.version);
|
|
24
|
-
if (!globalRefs[cacheKey]) {
|
|
25
|
-
globalRefs[cacheKey] = {};
|
|
26
|
-
}
|
|
27
|
-
globalRefs[cacheKey][componentCode] = refObj;
|
|
28
|
-
return globalRefs[cacheKey];
|
|
29
|
-
}
|
|
30
|
-
function getComponentRef(pageContext, componentUuid) {
|
|
31
|
-
if (!pageContext || !componentUuid) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
35
|
-
if (!globalRefs[cacheKey]) {
|
|
36
|
-
globalRefs[cacheKey] = {};
|
|
37
|
-
}
|
|
38
|
-
const objRef = globalRefs[cacheKey][componentUuid];
|
|
39
|
-
return objRef ? objRef.value : objRef;
|
|
40
|
-
}
|
|
41
|
-
function getComponentRefByCode(pageContext, componentCode) {
|
|
42
|
-
if (!pageContext) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
const cacheKey = getPageRefKeyByCode(pageContext.code, pageContext.version);
|
|
46
|
-
if (!globalRefs[cacheKey]) {
|
|
47
|
-
globalRefs[cacheKey] = {};
|
|
48
|
-
}
|
|
49
|
-
const objRef = globalRefs[cacheKey][componentCode];
|
|
50
|
-
return objRef ? objRef.value : objRef;
|
|
51
|
-
}
|
|
52
|
-
function removePageAllRef(pageContext) {
|
|
53
|
-
if (!pageContext) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
57
|
-
globalRefs[cacheKey] = {};
|
|
58
|
-
}
|
|
59
|
-
function initComponentRefState(pageContext) {
|
|
60
|
-
if (!pageContext) {
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
64
|
-
globalRefs[cacheKey] = {};
|
|
65
|
-
}
|
|
66
|
-
function getPageRefKey(pageCode, pageVersion) {
|
|
67
|
-
return "pageRuntimeRef-" + pageCode + "-" + (pageVersion ? pageVersion : 1);
|
|
68
|
-
}
|
|
69
|
-
function getPageRefKeyByCode(pageCode, pageVersion) {
|
|
70
|
-
return getPageRefKey(pageCode, pageVersion) + "-code";
|
|
71
|
-
}
|
|
72
|
-
exports.addComponentRef = addComponentRef;
|
|
73
|
-
exports.addComponentRefByCode = addComponentRefByCode;
|
|
74
|
-
exports.getComponentRef = getComponentRef;
|
|
75
|
-
exports.getComponentRefByCode = getComponentRefByCode;
|
|
76
|
-
exports.initComponentRefState = initComponentRefState;
|
|
77
|
-
exports.removePageAllRef = removePageAllRef;
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 状态
|
|
3
|
-
*/
|
|
4
|
-
export declare enum EnableStates {
|
|
5
|
-
ENABLE = "ENABLE",
|
|
6
|
-
DISABLE = "DISABLE"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 屏幕尺寸
|
|
10
|
-
*/
|
|
11
|
-
export declare enum PageDimensions {
|
|
12
|
-
PC = "pc",
|
|
13
|
-
IPAD = "ipad",
|
|
14
|
-
PHONE = "phone"
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 组件对象
|
|
18
|
-
*/
|
|
19
|
-
export interface Component extends Object {
|
|
20
|
-
uuid: string;
|
|
21
|
-
name: string;
|
|
22
|
-
label: string;
|
|
23
|
-
desc?: string;
|
|
24
|
-
icon?: string;
|
|
25
|
-
version?: number;
|
|
26
|
-
releaseDate?: string;
|
|
27
|
-
creator?: string;
|
|
28
|
-
auditor?: string;
|
|
29
|
-
snapshot?: string;
|
|
30
|
-
docHref?: string;
|
|
31
|
-
parent?: Component;
|
|
32
|
-
items?: Component[];
|
|
33
|
-
props?: any;
|
|
34
|
-
style?: any;
|
|
35
|
-
events?: ComponentEvent[];
|
|
36
|
-
methods?: ComponentMethod[];
|
|
37
|
-
advance?: any;
|
|
38
|
-
[otherProp: string]: any;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* 页面对象
|
|
42
|
-
*/
|
|
43
|
-
export interface PageDesign extends Component {
|
|
44
|
-
systemCode: string;
|
|
45
|
-
systemVersion: number;
|
|
46
|
-
code: string;
|
|
47
|
-
version: number;
|
|
48
|
-
tableSysCode?: string;
|
|
49
|
-
tableSysVersion?: number;
|
|
50
|
-
tableName?: string;
|
|
51
|
-
tableAlias?: string;
|
|
52
|
-
workflowCode: string;
|
|
53
|
-
workflowVersion: number;
|
|
54
|
-
variables?: CustomVariable[];
|
|
55
|
-
logicDesigns?: object[];
|
|
56
|
-
modelFields?: ModelField[];
|
|
57
|
-
initChartServiceConfigs?: Array<any>;
|
|
58
|
-
rules?: object;
|
|
59
|
-
tableUuids?: Array<any>;
|
|
60
|
-
listCodes?: Array<any>;
|
|
61
|
-
formNoRuleCode?: string;
|
|
62
|
-
judgeHeavyList?: Array<any>;
|
|
63
|
-
conversionCodes?: Array<any>;
|
|
64
|
-
pageType?: string;
|
|
65
|
-
beanName?: string;
|
|
66
|
-
importBeanName?: string;
|
|
67
|
-
name: string;
|
|
68
|
-
notIdInitializationList?: Array<any>;
|
|
69
|
-
subTablePageInfo?: object;
|
|
70
|
-
customEvents?: Array<any>;
|
|
71
|
-
contextParam?: object;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* 运行时页面对象
|
|
75
|
-
*/
|
|
76
|
-
export interface PageContext extends Component {
|
|
77
|
-
isTest?: boolean;
|
|
78
|
-
systemCode?: string;
|
|
79
|
-
systemVersion?: number;
|
|
80
|
-
backendUrl?: string;
|
|
81
|
-
code: string;
|
|
82
|
-
version: number;
|
|
83
|
-
dimensions: string;
|
|
84
|
-
tableSysCode?: string;
|
|
85
|
-
tableSysVersion?: number;
|
|
86
|
-
tableName?: string;
|
|
87
|
-
tableAlias?: string;
|
|
88
|
-
workflowCode?: string;
|
|
89
|
-
workflowVersion?: number;
|
|
90
|
-
rules?: object;
|
|
91
|
-
tableUuids?: Array<any>;
|
|
92
|
-
listCodes?: Array<any>;
|
|
93
|
-
formNoRuleCode?: string;
|
|
94
|
-
judgeHeavyList?: Array<any>;
|
|
95
|
-
conversionCodes?: Array<any>;
|
|
96
|
-
pageType?: string;
|
|
97
|
-
beanName?: string;
|
|
98
|
-
importBeanName?: string;
|
|
99
|
-
name: string;
|
|
100
|
-
notIdInitializationList?: Array<any>;
|
|
101
|
-
subTablePageInfo?: object;
|
|
102
|
-
customValidatorUuids?: Array<string>;
|
|
103
|
-
entity: {
|
|
104
|
-
data: {
|
|
105
|
-
[otherProp: string]: any;
|
|
106
|
-
};
|
|
107
|
-
task: {
|
|
108
|
-
[otherProp: string]: any;
|
|
109
|
-
};
|
|
110
|
-
request: {
|
|
111
|
-
[otherProp: string]: any;
|
|
112
|
-
};
|
|
113
|
-
page: {
|
|
114
|
-
[otherProp: string]: any;
|
|
115
|
-
};
|
|
116
|
-
context: {
|
|
117
|
-
[otherProp: string]: any;
|
|
118
|
-
};
|
|
119
|
-
system: {
|
|
120
|
-
[otherProp: string]: any;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
superGridItems?: object;
|
|
124
|
-
emailTemplateCode?: string;
|
|
125
|
-
fieldPermissions?: Array<any>;
|
|
126
|
-
fieldPermissionMap?: Map<string, any>;
|
|
127
|
-
actionPermissions?: Array<any>;
|
|
128
|
-
actionPermissionMap?: Map<string, any>;
|
|
129
|
-
workflowButtonComponent?: object;
|
|
130
|
-
completeTaskParam?: object;
|
|
131
|
-
customRules?: Record<string, any>;
|
|
132
|
-
initFormNo?: string;
|
|
133
|
-
definitionId?: number;
|
|
134
|
-
dataTypeMaps?: Object;
|
|
135
|
-
editData?: object;
|
|
136
|
-
searchFormData?: Array<object>;
|
|
137
|
-
selectOptions?: object;
|
|
138
|
-
chartDataSourceMap?: any;
|
|
139
|
-
[otherProp: string]: any;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* 事件对象
|
|
143
|
-
*/
|
|
144
|
-
export interface ComponentEvent extends Object {
|
|
145
|
-
name: string;
|
|
146
|
-
label: string;
|
|
147
|
-
params?: ComponentEventParam[];
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* 事件对象
|
|
151
|
-
*/
|
|
152
|
-
export interface ComponentEventParam extends Object {
|
|
153
|
-
name: string;
|
|
154
|
-
label: string;
|
|
155
|
-
type: string;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* 方法对象
|
|
159
|
-
*/
|
|
160
|
-
export interface ComponentMethod extends Object {
|
|
161
|
-
name: string;
|
|
162
|
-
label: string;
|
|
163
|
-
inParams: ComponentEventParam[];
|
|
164
|
-
outParams: ComponentEventParam[];
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* 方法参数描述
|
|
168
|
-
*/
|
|
169
|
-
export interface ComponentMethodParam extends Object {
|
|
170
|
-
name: string;
|
|
171
|
-
type: string;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* 自定义变量对象
|
|
175
|
-
*/
|
|
176
|
-
export interface CustomVariable extends Object {
|
|
177
|
-
name: string;
|
|
178
|
-
alias: string;
|
|
179
|
-
defaultValue?: string;
|
|
180
|
-
isArrayElement?: boolean;
|
|
181
|
-
items?: CustomVariable[];
|
|
182
|
-
[otherProp: string]: any;
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* 自定义变量对象
|
|
186
|
-
*/
|
|
187
|
-
export interface ModelField extends Object {
|
|
188
|
-
name: string;
|
|
189
|
-
alias: string;
|
|
190
|
-
dataType: string;
|
|
191
|
-
displayOrder: number;
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* 前端逻辑对象
|
|
195
|
-
*/
|
|
196
|
-
export interface LogicDesign extends Object {
|
|
197
|
-
code: string;
|
|
198
|
-
name: string;
|
|
199
|
-
props?: any;
|
|
200
|
-
variables?: CustomVariable[];
|
|
201
|
-
flow: {
|
|
202
|
-
nodes?: LogicNode[];
|
|
203
|
-
};
|
|
204
|
-
triggerSource?: LogicTriggerSource[];
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* 前端逻辑节点对象
|
|
208
|
-
*/
|
|
209
|
-
export interface LogicNode extends Object {
|
|
210
|
-
id: string;
|
|
211
|
-
type: string;
|
|
212
|
-
x: number;
|
|
213
|
-
y: number;
|
|
214
|
-
properties?: any;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* 前端逻辑节点触发来源
|
|
218
|
-
*/
|
|
219
|
-
export interface LogicTriggerSource extends Object {
|
|
220
|
-
assemblyIndex: number;
|
|
221
|
-
assemblyType: string;
|
|
222
|
-
triggerType: string;
|
|
223
|
-
triggerName: string;
|
|
224
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var PageDimensions = /* @__PURE__ */ ((PageDimensions2) => {
|
|
4
|
-
PageDimensions2["PC"] = "pc";
|
|
5
|
-
PageDimensions2["IPAD"] = "ipad";
|
|
6
|
-
PageDimensions2["PHONE"] = "phone";
|
|
7
|
-
return PageDimensions2;
|
|
8
|
-
})(PageDimensions || {});
|
|
9
|
-
exports.PageDimensions = PageDimensions;
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取选项组类需要查询的配置信息
|
|
5
|
-
* @param component
|
|
6
|
-
* @param pageContext
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext): any;
|
|
10
|
-
/**
|
|
11
|
-
* 初始化需要查询数据的信息
|
|
12
|
-
* @param component
|
|
13
|
-
* @param pageDesign
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
|
|
17
|
-
/**
|
|
18
|
-
* 初始化统计图的数据源
|
|
19
|
-
* @param pageContext 页面上下文
|
|
20
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
21
|
-
*/
|
|
22
|
-
export declare function updateChartDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, appendParams: any): Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* 初始化数据源
|
|
25
|
-
* @param pageContext 页面上下文
|
|
26
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
27
|
-
*/
|
|
28
|
-
export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
|
|
29
|
-
/**
|
|
30
|
-
* 从页面缓存中获取查询到的选项组数据
|
|
31
|
-
* @param pageContext
|
|
32
|
-
* @param configure
|
|
33
|
-
*/
|
|
34
|
-
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
35
|
-
/**
|
|
36
|
-
* 从页面缓存中获取查询到的统计图数据
|
|
37
|
-
* @param pageContext
|
|
38
|
-
* @param configure
|
|
39
|
-
*/
|
|
40
|
-
export declare function getChartDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
41
|
-
/**
|
|
42
|
-
* 初始化数据源
|
|
43
|
-
* @param pageContext 页面上下文
|
|
44
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
45
|
-
* @param query 查询条件
|
|
46
|
-
*/
|
|
47
|
-
export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
|
|
48
|
-
/**
|
|
49
|
-
* 根据查询条件远程查询
|
|
50
|
-
* @param component
|
|
51
|
-
* @param query 模糊查询内容
|
|
52
|
-
*/
|
|
53
|
-
export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
|
|
54
|
-
/**
|
|
55
|
-
* 根据查询条件远程查询
|
|
56
|
-
* @param component
|
|
57
|
-
* @param query 模糊查询内容
|
|
58
|
-
*/
|
|
59
|
-
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[]): void;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @param entity
|
|
63
|
-
* @param fields
|
|
64
|
-
* @returns
|
|
65
|
-
*/
|
|
66
|
-
export declare function getVariableValue(entity: any, fields: string[]): any;
|
|
67
|
-
/**
|
|
68
|
-
* 设置参数值
|
|
69
|
-
* @param entity
|
|
70
|
-
* @param fields
|
|
71
|
-
* @param newValue 新的值
|
|
72
|
-
*/
|
|
73
|
-
export declare function setValueForVariableName(entity: any, variableName: string, newValue: any): void;
|
|
74
|
-
/**
|
|
75
|
-
* 设置参数值
|
|
76
|
-
* @param entity
|
|
77
|
-
* @param fields
|
|
78
|
-
* @param newValue 新的值
|
|
79
|
-
*/
|
|
80
|
-
export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
|
|
81
|
-
/**
|
|
82
|
-
* 设置参数值
|
|
83
|
-
* @param entity
|
|
84
|
-
* @param fields
|
|
85
|
-
* @param newValue 新的值
|
|
86
|
-
*/
|
|
87
|
-
export declare function setVariableValueWithProp(entity: any, prop: string, newValue: any): void;
|
|
88
|
-
/**
|
|
89
|
-
* 格式化变量值
|
|
90
|
-
* @param pageContext
|
|
91
|
-
* @param variable
|
|
92
|
-
*/
|
|
93
|
-
export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
|
|
94
|
-
/**
|
|
95
|
-
* 根据类型格式化对象
|
|
96
|
-
* @param value
|
|
97
|
-
* @param formatInfo
|
|
98
|
-
* @returns
|
|
99
|
-
*/
|
|
100
|
-
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
101
|
-
/**
|
|
102
|
-
* 根据变量获取值
|
|
103
|
-
* @param entity
|
|
104
|
-
* @param variable
|
|
105
|
-
*/
|
|
106
|
-
export declare function getValueFromVariable(entity: any, variable: string): any;
|
|
107
|
-
/**
|
|
108
|
-
* 从对象中获取值
|
|
109
|
-
* @param valueSource 源对象
|
|
110
|
-
* @param paramName 变量值
|
|
111
|
-
* @param paramType 类型
|
|
112
|
-
*/
|
|
113
|
-
export declare function getValueFromSource(valueSource: any, paramName: string, paramType: any): any;
|
|
114
|
-
/**
|
|
115
|
-
* 打开链接
|
|
116
|
-
* @param component
|
|
117
|
-
* @param pageContext
|
|
118
|
-
*/
|
|
119
|
-
export declare function openLink(component: Component, pageContext: PageContext): void;
|
|
120
|
-
/**
|
|
121
|
-
* 计算组件是否显示
|
|
122
|
-
* @param pageContext 页面对象
|
|
123
|
-
* @param configure 组件配置参数
|
|
124
|
-
* @param showConditions 显示条件
|
|
125
|
-
*/
|
|
126
|
-
export declare function caculateShowCondition(pageContext: PageContext, configure: Component, showConditions: Array<any>): any;
|
|
127
|
-
/**
|
|
128
|
-
* 监控变化的字段
|
|
129
|
-
* @param pageContext
|
|
130
|
-
* @param targetFields
|
|
131
|
-
* @param triggerFunc
|
|
132
|
-
*/
|
|
133
|
-
export declare function monitorFieldChange(pageContext: PageContext, monitorFields: Array<string>, triggerFunc: Function): void;
|
|
134
|
-
export declare function getFormPropName(prop: any): any;
|