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,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
-
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
-
__name: "textarea-runtime",
|
|
8
|
-
props: {
|
|
9
|
-
pageContext: {},
|
|
10
|
-
configure: {}
|
|
11
|
-
},
|
|
12
|
-
setup(__props) {
|
|
13
|
-
const props = __props;
|
|
14
|
-
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
15
|
-
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
16
|
-
const dynamicModelMethod = Vue.computed({
|
|
17
|
-
get() {
|
|
18
|
-
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
19
|
-
},
|
|
20
|
-
set(value) {
|
|
21
|
-
pageHelperUtil.setVariableValue(entity, dynamicFields, value);
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
25
|
-
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
26
|
-
const runtimeStyle = runtimeInfo.style;
|
|
27
|
-
const runtimeClass = runtimeInfo.class;
|
|
28
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
29
|
-
return (_ctx, _cache) => {
|
|
30
|
-
const _component_el_input = Vue.resolveComponent("el-input");
|
|
31
|
-
const _component_el_form_item = Vue.resolveComponent("el-form-item");
|
|
32
|
-
return Vue.openBlock(), Vue.createElementBlock("div", null, [
|
|
33
|
-
Vue.createVNode(_component_el_form_item, {
|
|
34
|
-
required: designProperty.value.required ? true : false,
|
|
35
|
-
class: Vue.normalizeClass(Vue.unref(runtimeClass)),
|
|
36
|
-
"label-width": designProperty.value.labelWidth,
|
|
37
|
-
style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
|
|
38
|
-
}, {
|
|
39
|
-
label: Vue.withCtx(() => [
|
|
40
|
-
designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
41
|
-
key: 0,
|
|
42
|
-
style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
|
|
43
|
-
}, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
|
|
44
|
-
]),
|
|
45
|
-
default: Vue.withCtx(() => [
|
|
46
|
-
Vue.createVNode(_component_el_input, {
|
|
47
|
-
disabled: designProperty.value.state === "disabled",
|
|
48
|
-
readonly: designProperty.value.state === "readonly",
|
|
49
|
-
size: designProperty.value.size,
|
|
50
|
-
clearable: designProperty.value.clearable,
|
|
51
|
-
placeholder: designProperty.value.placeholder,
|
|
52
|
-
modelValue: dynamicModelMethod.value,
|
|
53
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
54
|
-
rows: designProperty.value.rows ? designProperty.value.rows : 2,
|
|
55
|
-
maxlength: designProperty.value.maxLength,
|
|
56
|
-
"show-word-limit": designProperty.value.showInputNum,
|
|
57
|
-
type: "textarea",
|
|
58
|
-
onInput: _cache[1] || (_cache[1] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
|
|
59
|
-
onChange: _cache[2] || (_cache[2] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
|
|
60
|
-
onBlur: _cache[3] || (_cache[3] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
|
|
61
|
-
onFocus: _cache[4] || (_cache[4] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
|
|
62
|
-
onClick: _cache[5] || (_cache[5] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
63
|
-
}, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 8, ["required", "class", "label-width", "style"])
|
|
67
|
-
]);
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
module.exports = _sfc_main;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from '../../utils/interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
interface MyProps {
|
|
4
|
-
pageContext: PageContext;
|
|
5
|
-
configure: Component;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MyProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>>, {}, {}>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const errorRender_vue_vue_type_script_setup_true_lang = require("./error-render.vue.js");
|
|
4
|
-
const assemblysConfig = require("../../utils/assemblys-config.js");
|
|
5
|
-
const pageDesignTypes = require("../../utils/interfaces/page-design-types.js");
|
|
6
|
-
const globalRefs = require("../../utils/global-refs.js");
|
|
7
|
-
const pageInitUtil = require("../../utils/page-init-util.js");
|
|
8
|
-
const pageHelperUtil = require("../../utils/page-helper-util.js");
|
|
9
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
10
|
-
__name: "object-render",
|
|
11
|
-
props: {
|
|
12
|
-
pageContext: {},
|
|
13
|
-
configure: {}
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
if (props.configure.style == void 0) {
|
|
18
|
-
props.configure.style = {};
|
|
19
|
-
}
|
|
20
|
-
const permissionCodes = pageInitUtil.getPermissionCodes(props.configure, props.pageContext);
|
|
21
|
-
if (props.configure && props.configure.props && props.configure.props.base) {
|
|
22
|
-
props.configure.props.base.functionCode = permissionCodes;
|
|
23
|
-
}
|
|
24
|
-
pageInitUtil.packageFormRules(props.pageContext, props.configure);
|
|
25
|
-
let handleShowFlag = Vue.ref(true);
|
|
26
|
-
let showFlag = Vue.ref(true);
|
|
27
|
-
if (props.configure && props.configure.props && props.configure.props.showConditions) {
|
|
28
|
-
const showConditions = props.configure.props.showConditions;
|
|
29
|
-
if (showConditions.length > 0) {
|
|
30
|
-
showFlag = Vue.computed(() => {
|
|
31
|
-
if (!handleShowFlag.value) {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
return pageHelperUtil.caculateShowCondition(props.pageContext, props.configure, showConditions);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
const dynamicComponent = Vue.ref({});
|
|
39
|
-
dynamicComponent.value = Vue.markRaw(assemblysConfig.getRuntimeComponentByName(props.configure.name));
|
|
40
|
-
const showCopy = Vue.ref(true);
|
|
41
|
-
if (dynamicComponent.value == null) {
|
|
42
|
-
dynamicComponent.value = errorRender_vue_vue_type_script_setup_true_lang;
|
|
43
|
-
showCopy.value = false;
|
|
44
|
-
}
|
|
45
|
-
const thisRef = Vue.ref(null);
|
|
46
|
-
const runtimeStyle = Vue.ref({});
|
|
47
|
-
const runtimeClass = Vue.ref("");
|
|
48
|
-
const commonRuntime = props.configure.runtime && props.configure.runtime.common ? props.configure.runtime.common : {};
|
|
49
|
-
if (commonRuntime.class) {
|
|
50
|
-
runtimeClass.value = commonRuntime.class;
|
|
51
|
-
}
|
|
52
|
-
if (commonRuntime.style) {
|
|
53
|
-
Object.assign(runtimeStyle.value, commonRuntime.style);
|
|
54
|
-
const pageDimensions = props.pageContext && props.pageContext.dimensions ? props.pageContext.dimensions : pageDesignTypes.PageDimensions.PC;
|
|
55
|
-
const sizeStyle = commonRuntime.style[pageDimensions + "_style"];
|
|
56
|
-
if (sizeStyle) {
|
|
57
|
-
Object.assign(runtimeStyle.value, sizeStyle);
|
|
58
|
-
}
|
|
59
|
-
const sizeClass = commonRuntime.style[pageDimensions + "_class"];
|
|
60
|
-
if (sizeClass) {
|
|
61
|
-
runtimeClass.value += " " + sizeClass;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function setComponentRef(el) {
|
|
65
|
-
thisRef.value = el;
|
|
66
|
-
if (el && !el.show) {
|
|
67
|
-
el.show = function() {
|
|
68
|
-
showFlag.value = true;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
if (el && !el.hide) {
|
|
72
|
-
el.hide = function() {
|
|
73
|
-
showFlag.value = false;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
if (el && !el.getConfigure) {
|
|
77
|
-
el.getConfigure = function() {
|
|
78
|
-
return props.configure;
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
if (props.configure.uuid) {
|
|
82
|
-
globalRefs.addComponentRef(props.pageContext, props.configure.uuid, thisRef);
|
|
83
|
-
}
|
|
84
|
-
if (props.configure.code) {
|
|
85
|
-
globalRefs.addComponentRefByCode(props.pageContext, props.configure.code, thisRef);
|
|
86
|
-
} else if (props.configure.props && props.configure.props.base) {
|
|
87
|
-
const propsBase = props.configure.props.base;
|
|
88
|
-
if (propsBase.prop) {
|
|
89
|
-
let propName = propsBase.prop;
|
|
90
|
-
if (propName.startsWith("${")) {
|
|
91
|
-
propName = propName.substring(2, propName.length - 1);
|
|
92
|
-
}
|
|
93
|
-
if (propName.includes(".")) {
|
|
94
|
-
propName = propName.substring(propName.indexOf(".") + 1);
|
|
95
|
-
}
|
|
96
|
-
globalRefs.addComponentRefByCode(props.pageContext, propName, thisRef);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
Vue.onMounted(() => {
|
|
101
|
-
if (!thisRef.value || !thisRef.value.parentNode) {
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
dynamicallyCalculatePosition();
|
|
105
|
-
});
|
|
106
|
-
const dynamicallyCalculatePosition = () => {
|
|
107
|
-
const thisProps = props.configure.props ? props.configure.props : {};
|
|
108
|
-
const thisStyle = props.configure.style ? props.configure.style : {};
|
|
109
|
-
const position = thisProps.position;
|
|
110
|
-
if (position == "top" || position == "bottom") {
|
|
111
|
-
const contentObj = [thisRef.value.parentNode];
|
|
112
|
-
if (contentObj && contentObj.length > 0) {
|
|
113
|
-
const contentRec = contentObj[0].getBoundingClientRect();
|
|
114
|
-
if (position == "top") {
|
|
115
|
-
runtimeStyle.value["top"] = contentRec.top + "px";
|
|
116
|
-
}
|
|
117
|
-
if (position == "bottom") {
|
|
118
|
-
runtimeStyle.value["bottom"] = "10px";
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
const thisRec = thisRef.value.getBoundingClientRect();
|
|
122
|
-
runtimeStyle.value["width"] = thisRec.width + "px";
|
|
123
|
-
} else if (thisStyle.position) {
|
|
124
|
-
runtimeStyle.value["position"] = thisStyle.position;
|
|
125
|
-
if (runtimeStyle.value.position != "relative") {
|
|
126
|
-
if (!runtimeStyle.value["width"]) {
|
|
127
|
-
const thisRec = thisRef.value.getBoundingClientRect();
|
|
128
|
-
runtimeStyle.value["width"] = thisRec.width + "px";
|
|
129
|
-
}
|
|
130
|
-
if (thisStyle.left) {
|
|
131
|
-
runtimeStyle.value["left"] = thisStyle.left + "px";
|
|
132
|
-
}
|
|
133
|
-
if (thisStyle.top) {
|
|
134
|
-
runtimeStyle.value["top"] = thisStyle.top + "px";
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
return (_ctx, _cache) => {
|
|
140
|
-
const _directive_permission = Vue.resolveDirective("permission");
|
|
141
|
-
return Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(dynamicComponent.value), {
|
|
142
|
-
ref: setComponentRef,
|
|
143
|
-
style: Vue.normalizeStyle(runtimeStyle.value),
|
|
144
|
-
class: Vue.normalizeClass(runtimeClass.value),
|
|
145
|
-
configure: _ctx.configure,
|
|
146
|
-
pageContext: _ctx.pageContext
|
|
147
|
-
}, null, 8, ["style", "class", "configure", "pageContext"])), [
|
|
148
|
-
[Vue.vShow, Vue.unref(showFlag)],
|
|
149
|
-
[_directive_permission, Vue.unref(permissionCodes) ? Vue.unref(permissionCodes) : "true"]
|
|
150
|
-
]);
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
module.exports = _sfc_main;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
require("../../../../utils/eventBus.js");
|
|
4
|
-
const commonUtil = require("../../../../utils/common-util.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
-
__name: "pictureflow-runtime",
|
|
7
|
-
props: {
|
|
8
|
-
pageContext: {},
|
|
9
|
-
configure: {}
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const maxHeight = Vue.ref(null);
|
|
14
|
-
maxHeight.value = window.innerHeight - 120;
|
|
15
|
-
const historyGraphRef = Vue.ref(null);
|
|
16
|
-
const workflowId = commonUtil.getWorkflowId(props.pageContext);
|
|
17
|
-
if (props.pageContext.entity && props.pageContext.entity.task) {
|
|
18
|
-
Vue.watch(
|
|
19
|
-
props.pageContext.entity.task.id,
|
|
20
|
-
() => {
|
|
21
|
-
if (workflowId && historyGraphRef.value) {
|
|
22
|
-
historyGraphRef.value.refresh();
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{ immediate: true }
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
return (_ctx, _cache) => {
|
|
29
|
-
const _component_workflow_history = Vue.resolveComponent("workflow-history");
|
|
30
|
-
return Vue.openBlock(), Vue.createBlock(_component_workflow_history, {
|
|
31
|
-
id: Vue.unref(workflowId),
|
|
32
|
-
ref_key: "historyGraphRef",
|
|
33
|
-
ref: historyGraphRef,
|
|
34
|
-
style: Vue.normalizeStyle({ maxHeight: maxHeight.value + "px" })
|
|
35
|
-
}, null, 8, ["id", "style"]);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
require("../../../../utils/eventBus.js");
|
|
4
|
-
const commonUtil = require("../../../../utils/common-util.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
-
__name: "textflow-runtime",
|
|
7
|
-
props: {
|
|
8
|
-
pageContext: {},
|
|
9
|
-
configure: {}
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const maxHeight = Vue.ref(null);
|
|
14
|
-
maxHeight.value = window.innerHeight - 120;
|
|
15
|
-
const historyList = Vue.ref(null);
|
|
16
|
-
const workflowId = commonUtil.getWorkflowId(props.pageContext);
|
|
17
|
-
if (props.pageContext.entity && props.pageContext.entity.task) {
|
|
18
|
-
Vue.watch(
|
|
19
|
-
() => props.pageContext.entity.task.id,
|
|
20
|
-
() => {
|
|
21
|
-
if (workflowId && historyList.value) {
|
|
22
|
-
historyList.value.refresh();
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{ immediate: true }
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
return (_ctx, _cache) => {
|
|
29
|
-
const _component_workflow_history_list = Vue.resolveComponent("workflow-history-list");
|
|
30
|
-
return Vue.openBlock(), Vue.createBlock(_component_workflow_history_list, {
|
|
31
|
-
ref_key: "historyList",
|
|
32
|
-
ref: historyList,
|
|
33
|
-
"workflow-id": Vue.unref(workflowId),
|
|
34
|
-
style: Vue.normalizeStyle({ maxHeight: maxHeight.value + "px" })
|
|
35
|
-
}, null, 8, ["workflow-id", "style"]);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
module.exports = _sfc_main;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
5
|
-
const standardEvent = require("../../../../utils/events/standard-event.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
-
__name: "workflowbutton-runtime",
|
|
8
|
-
props: {
|
|
9
|
-
pageContext: {},
|
|
10
|
-
configure: {}
|
|
11
|
-
},
|
|
12
|
-
setup(__props) {
|
|
13
|
-
const props = __props;
|
|
14
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
15
|
-
Vue.ref(runtimeInfo.style ? runtimeInfo.style : {});
|
|
16
|
-
runtimeInfo.class;
|
|
17
|
-
const buttonInfo = props.pageContext.workflowButtonComponent;
|
|
18
|
-
const completeTaskParam = props.pageContext.completeTaskParam;
|
|
19
|
-
const visibleBtns = Vue.ref([]);
|
|
20
|
-
props.configure.items.forEach((item) => {
|
|
21
|
-
if (isVisibleBtn(item)) {
|
|
22
|
-
visibleBtns.value.push(item);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
function getStandardClickEvent(events) {
|
|
26
|
-
const clickEventFunObj = eventUtil.getClickEventFuncByType(props.pageContext, events, "click");
|
|
27
|
-
if (clickEventFunObj) {
|
|
28
|
-
const isStandardEvent = clickEventFunObj.isStandard;
|
|
29
|
-
if (isStandardEvent) {
|
|
30
|
-
return clickEventFunObj.event.eventName;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
function isVisibleBtn(btnConfigure) {
|
|
35
|
-
const events = btnConfigure.runtime && btnConfigure.runtime.events ? btnConfigure.runtime.events : [];
|
|
36
|
-
const workflowStandardEventName = getStandardClickEvent(events);
|
|
37
|
-
const isVisible = standardEvent.isVisibleWorkflowButton(
|
|
38
|
-
workflowStandardEventName,
|
|
39
|
-
buttonInfo,
|
|
40
|
-
completeTaskParam
|
|
41
|
-
);
|
|
42
|
-
return isVisible;
|
|
43
|
-
}
|
|
44
|
-
return (_ctx, _cache) => {
|
|
45
|
-
return Vue.openBlock(), Vue.createElementBlock("span", null, [
|
|
46
|
-
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(visibleBtns.value, (element, itemIndex) => {
|
|
47
|
-
return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
|
|
48
|
-
element.check ? (Vue.openBlock(), Vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
49
|
-
key: itemIndex,
|
|
50
|
-
pageContext: _ctx.pageContext,
|
|
51
|
-
configure: element
|
|
52
|
-
}, null, 8, ["pageContext", "configure"])) : Vue.createCommentVNode("", true)
|
|
53
|
-
], 64);
|
|
54
|
-
}), 256))
|
|
55
|
-
]);
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
module.exports = _sfc_main;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
interface MyProps {
|
|
2
|
-
parentPageContext: {
|
|
3
|
-
type: Object;
|
|
4
|
-
default: null;
|
|
5
|
-
};
|
|
6
|
-
parentPageEventParams: {
|
|
7
|
-
type: Object;
|
|
8
|
-
default: null;
|
|
9
|
-
};
|
|
10
|
-
jumpPageSetting: {
|
|
11
|
-
type: Object;
|
|
12
|
-
default: null;
|
|
13
|
-
};
|
|
14
|
-
isTest?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MyProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
close: (...args: any[]) => void;
|
|
18
|
-
open: (...args: any[]) => void;
|
|
19
|
-
closed: (...args: any[]) => void;
|
|
20
|
-
opened: (...args: any[]) => void;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & {
|
|
22
|
-
onClose?: (...args: any[]) => any;
|
|
23
|
-
onOpen?: (...args: any[]) => any;
|
|
24
|
-
onClosed?: (...args: any[]) => any;
|
|
25
|
-
onOpened?: (...args: any[]) => any;
|
|
26
|
-
}, {}, {}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const superPage_vue_vue_type_script_setup_true_lang = require("./super-page.vue.js");
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
5
|
-
__name: "super-page-dialog",
|
|
6
|
-
props: {
|
|
7
|
-
parentPageContext: {},
|
|
8
|
-
parentPageEventParams: {},
|
|
9
|
-
jumpPageSetting: {},
|
|
10
|
-
isTest: { type: Boolean }
|
|
11
|
-
},
|
|
12
|
-
emits: ["open", "opened", "close", "closed"],
|
|
13
|
-
setup(__props, { emit: __emit }) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const emits = __emit;
|
|
16
|
-
const showContent = Vue.ref(true);
|
|
17
|
-
const myJumpPageSetting = props.jumpPageSetting ? props.jumpPageSetting : null;
|
|
18
|
-
const width = Vue.ref(null);
|
|
19
|
-
const title = Vue.ref(null);
|
|
20
|
-
const pageCode = Vue.ref(null);
|
|
21
|
-
const dataId = Vue.ref(null);
|
|
22
|
-
const taskId = Vue.ref(null);
|
|
23
|
-
const pageRequest = Vue.ref({});
|
|
24
|
-
if (myJumpPageSetting) {
|
|
25
|
-
title.value = myJumpPageSetting && myJumpPageSetting["jumpPageTitle"] ? myJumpPageSetting["jumpPageTitle"] : null;
|
|
26
|
-
width.value = myJumpPageSetting && myJumpPageSetting["jumpPageWidth"] ? myJumpPageSetting["jumpPageWidth"] : "100%";
|
|
27
|
-
pageCode.value = myJumpPageSetting && myJumpPageSetting["pageCode"];
|
|
28
|
-
dataId.value = myJumpPageSetting && myJumpPageSetting["dataId"] ? myJumpPageSetting["dataId"] : null;
|
|
29
|
-
taskId.value = myJumpPageSetting && myJumpPageSetting["taskId"] ? myJumpPageSetting["taskId"] : null;
|
|
30
|
-
if (props.parentPageEventParams) {
|
|
31
|
-
try {
|
|
32
|
-
const pageParams = JSON.parse(JSON.stringify(props.parentPageEventParams));
|
|
33
|
-
if (pageParams["pageContext"]) {
|
|
34
|
-
delete pageParams["pageContext"];
|
|
35
|
-
}
|
|
36
|
-
if (pageParams["configureObj"]) {
|
|
37
|
-
delete pageParams["configureObj"];
|
|
38
|
-
}
|
|
39
|
-
Object.assign(pageRequest.value, pageParams);
|
|
40
|
-
} catch (error) {
|
|
41
|
-
console.error(error);
|
|
42
|
-
}
|
|
43
|
-
if (dataId.value === null || dataId.value === void 0) {
|
|
44
|
-
dataId.value = props.parentPageEventParams["id"];
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
pageRequest.value["parentPageCode"] = myJumpPageSetting && myJumpPageSetting["parentPageCode"] ? myJumpPageSetting["parentPageCode"] : null;
|
|
48
|
-
pageRequest.value["parentPageVersion"] = myJumpPageSetting && myJumpPageSetting["parentPageVersion"] ? myJumpPageSetting["parentPageVersion"] : null;
|
|
49
|
-
pageRequest.value["jumpMode"] = myJumpPageSetting ? myJumpPageSetting["jumpMode"] : null;
|
|
50
|
-
pageRequest.value["id"] = dataId.value;
|
|
51
|
-
pageRequest.value["taskId"] = taskId.value;
|
|
52
|
-
}
|
|
53
|
-
return (_ctx, _cache) => {
|
|
54
|
-
const _component_el_drawer = Vue.resolveComponent("el-drawer");
|
|
55
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_drawer, {
|
|
56
|
-
modelValue: showContent.value,
|
|
57
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showContent.value = $event),
|
|
58
|
-
"with-header": !title.value,
|
|
59
|
-
title: title.value,
|
|
60
|
-
direction: "btt",
|
|
61
|
-
size: width.value,
|
|
62
|
-
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
63
|
-
onOpened: _cache[2] || (_cache[2] = ($event) => emits("opened")),
|
|
64
|
-
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
65
|
-
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
66
|
-
}, {
|
|
67
|
-
default: Vue.withCtx(() => [
|
|
68
|
-
pageCode.value ? (Vue.openBlock(), Vue.createBlock(superPage_vue_vue_type_script_setup_true_lang, {
|
|
69
|
-
key: 0,
|
|
70
|
-
pageCode: pageCode.value,
|
|
71
|
-
pageRequest: pageRequest.value
|
|
72
|
-
}, null, 8, ["pageCode", "pageRequest"])) : Vue.createCommentVNode("", true)
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}, 8, ["modelValue", "with-header", "title", "size"]);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
module.exports = _sfc_main;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { PageDesign } from '../utils/interfaces/page-design-types';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<{
|
|
5
|
-
pageCode: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
required: false;
|
|
8
|
-
};
|
|
9
|
-
pageVersion: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
required: false;
|
|
12
|
-
};
|
|
13
|
-
pageId: {
|
|
14
|
-
type: NumberConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
};
|
|
17
|
-
dataIds: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: false;
|
|
20
|
-
};
|
|
21
|
-
pageDesign: {
|
|
22
|
-
type: PropType<PageDesign>;
|
|
23
|
-
required: false;
|
|
24
|
-
};
|
|
25
|
-
isTest: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
required: false;
|
|
28
|
-
};
|
|
29
|
-
dimensions: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
required: false;
|
|
32
|
-
};
|
|
33
|
-
publishVersion: {
|
|
34
|
-
type: NumberConstructor;
|
|
35
|
-
required: false;
|
|
36
|
-
};
|
|
37
|
-
taskId: {
|
|
38
|
-
type: NumberConstructor;
|
|
39
|
-
required: false;
|
|
40
|
-
};
|
|
41
|
-
pageRequest: {
|
|
42
|
-
type: ObjectConstructor;
|
|
43
|
-
required: false;
|
|
44
|
-
};
|
|
45
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
-
close: (...args: any[]) => void;
|
|
47
|
-
open: (...args: any[]) => void;
|
|
48
|
-
closed: (...args: any[]) => void;
|
|
49
|
-
opened: (...args: any[]) => void;
|
|
50
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
51
|
-
pageCode: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
required: false;
|
|
54
|
-
};
|
|
55
|
-
pageVersion: {
|
|
56
|
-
type: NumberConstructor;
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
pageId: {
|
|
60
|
-
type: NumberConstructor;
|
|
61
|
-
required: false;
|
|
62
|
-
};
|
|
63
|
-
dataIds: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
};
|
|
67
|
-
pageDesign: {
|
|
68
|
-
type: PropType<PageDesign>;
|
|
69
|
-
required: false;
|
|
70
|
-
};
|
|
71
|
-
isTest: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
required: false;
|
|
74
|
-
};
|
|
75
|
-
dimensions: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
required: false;
|
|
78
|
-
};
|
|
79
|
-
publishVersion: {
|
|
80
|
-
type: NumberConstructor;
|
|
81
|
-
required: false;
|
|
82
|
-
};
|
|
83
|
-
taskId: {
|
|
84
|
-
type: NumberConstructor;
|
|
85
|
-
required: false;
|
|
86
|
-
};
|
|
87
|
-
pageRequest: {
|
|
88
|
-
type: ObjectConstructor;
|
|
89
|
-
required: false;
|
|
90
|
-
};
|
|
91
|
-
}>> & {
|
|
92
|
-
onClose?: (...args: any[]) => any;
|
|
93
|
-
onOpen?: (...args: any[]) => any;
|
|
94
|
-
onClosed?: (...args: any[]) => any;
|
|
95
|
-
onOpened?: (...args: any[]) => any;
|
|
96
|
-
}, {
|
|
97
|
-
isTest: boolean;
|
|
98
|
-
}, {}>;
|
|
99
|
-
export default _default;
|