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,120 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
|
-
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
5
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
-
__name: "checkbox-runtime",
|
|
8
|
-
props: {
|
|
9
|
-
pageContext: {},
|
|
10
|
-
configure: {}
|
|
11
|
-
},
|
|
12
|
-
setup(__props, { expose: __expose }) {
|
|
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 runtimeStyle = runtimeInfo.style;
|
|
26
|
-
const runtimeClass = runtimeInfo.class;
|
|
27
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
28
|
-
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
29
|
-
const listOptions = Vue.ref(designProperty.value.options ? designProperty.value.options : []);
|
|
30
|
-
const cacheOptions = pageHelperUtil.getOptionDatasFromPage(props.pageContext, props.configure);
|
|
31
|
-
if (cacheOptions.length > 0) {
|
|
32
|
-
listOptions.value = cacheOptions;
|
|
33
|
-
}
|
|
34
|
-
const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
|
|
35
|
-
const valueType = dataOrigin.optionValueSetType;
|
|
36
|
-
let autoSets = [];
|
|
37
|
-
if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
|
|
38
|
-
if (dataOrigin.autoSets) {
|
|
39
|
-
for (let obj of dataOrigin.autoSets) {
|
|
40
|
-
if (obj.source) {
|
|
41
|
-
autoSets.push(obj);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
if (props.configure && props.configure.props && props.configure.props.base && props.configure.props.base.optionProp) {
|
|
47
|
-
autoSets.push({
|
|
48
|
-
source: "label",
|
|
49
|
-
target: props.configure.props.base.optionProp
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
designProperty.value.changeMethod = optionChange;
|
|
53
|
-
const optionconfigInfo = designProperty.value.optionconfigInfo ? designProperty.value.optionconfigInfo : {};
|
|
54
|
-
function refreshOptions() {
|
|
55
|
-
pageHelperUtil.queryOptionDatasources(props.pageContext, optionconfigInfo, void 0).then((result) => {
|
|
56
|
-
console.log("动态查询结果", result);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
const monitorFields = designProperty.value.monitorFields;
|
|
60
|
-
pageHelperUtil.monitorFieldChange(props.pageContext, monitorFields, refreshOptions);
|
|
61
|
-
function optionChange(value) {
|
|
62
|
-
if (autoSets.length > -1) {
|
|
63
|
-
let selItems = null;
|
|
64
|
-
if (listOptions.value && value != void 0 && value != null) {
|
|
65
|
-
selItems = listOptions.value.filter((item) => {
|
|
66
|
-
return Array.isArray(value) ? value.includes(item.value) : value === item.value;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
pageHelperUtil.autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems);
|
|
70
|
-
}
|
|
71
|
-
eventUtil.handleEvent(value, props.pageContext, props.configure, "change");
|
|
72
|
-
}
|
|
73
|
-
function updateOptions(newOptions) {
|
|
74
|
-
listOptions.value = newOptions ? newOptions : [];
|
|
75
|
-
}
|
|
76
|
-
__expose({
|
|
77
|
-
updateOptions
|
|
78
|
-
});
|
|
79
|
-
return (_ctx, _cache) => {
|
|
80
|
-
const _component_el_checkbox = Vue.resolveComponent("el-checkbox");
|
|
81
|
-
const _component_el_checkbox_group = Vue.resolveComponent("el-checkbox-group");
|
|
82
|
-
const _component_el_form_item = Vue.resolveComponent("el-form-item");
|
|
83
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
84
|
-
class: Vue.normalizeClass(Vue.unref(runtimeClass)),
|
|
85
|
-
"label-width": designProperty.value.labelWidth,
|
|
86
|
-
style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
|
|
87
|
-
}, {
|
|
88
|
-
label: Vue.withCtx(() => [
|
|
89
|
-
designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
90
|
-
key: 0,
|
|
91
|
-
style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
|
|
92
|
-
}, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
|
|
93
|
-
]),
|
|
94
|
-
default: Vue.withCtx(() => [
|
|
95
|
-
Vue.createVNode(_component_el_checkbox_group, {
|
|
96
|
-
disabled: designProperty.value.state === "disabled",
|
|
97
|
-
size: designProperty.value.size,
|
|
98
|
-
onChange: designProperty.value.changeMethod,
|
|
99
|
-
modelValue: dynamicModelMethod.value,
|
|
100
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
|
|
101
|
-
}, {
|
|
102
|
-
default: Vue.withCtx(() => [
|
|
103
|
-
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(listOptions.value, (item) => {
|
|
104
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
|
|
105
|
-
key: item.value,
|
|
106
|
-
value: item.value,
|
|
107
|
-
label: item.label,
|
|
108
|
-
onClick: ($event) => Vue.unref(eventUtil.handleEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", { values: dynamicModelMethod.value })
|
|
109
|
-
}, null, 8, ["value", "label", "onClick"]);
|
|
110
|
-
}), 128))
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
}, 8, ["disabled", "size", "onChange", "modelValue"])
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
}, 8, ["class", "label-width", "style"]);
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
module.exports = _sfc_main;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
5
|
-
__name: "title-suffix-element",
|
|
6
|
-
props: {
|
|
7
|
-
pageContext: {},
|
|
8
|
-
property: {}
|
|
9
|
-
},
|
|
10
|
-
setup(__props) {
|
|
11
|
-
const props = __props;
|
|
12
|
-
const entity = props.pageContext.entity;
|
|
13
|
-
let fields = [];
|
|
14
|
-
if (!props.property.prefixPro || !props.property.prefixPro.startsWith("${")) {
|
|
15
|
-
fields = [];
|
|
16
|
-
} else {
|
|
17
|
-
let propName = props.property.prefixPro;
|
|
18
|
-
propName = propName.substring(2, propName.length - 1);
|
|
19
|
-
fields = propName.split(".");
|
|
20
|
-
}
|
|
21
|
-
if (fields.length > 0 && props.property.prefixDefault) {
|
|
22
|
-
const prefixDefault = props.property.prefixDefault;
|
|
23
|
-
let defaultValue = pageHelperUtil.formatVariableValue(props.pageContext, prefixDefault);
|
|
24
|
-
if (defaultValue != null && defaultValue != void 0) {
|
|
25
|
-
let isMultiple = props.property.prefixType === "checkbox";
|
|
26
|
-
if (isMultiple) {
|
|
27
|
-
defaultValue = (defaultValue + "").split(",");
|
|
28
|
-
}
|
|
29
|
-
pageHelperUtil.setVariableValue(entity, fields, defaultValue);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
let dynamicModelMethod = null;
|
|
33
|
-
if (fields.length > 0) {
|
|
34
|
-
dynamicModelMethod = Vue.computed({
|
|
35
|
-
get() {
|
|
36
|
-
return pageHelperUtil.getVariableValue(entity, fields);
|
|
37
|
-
},
|
|
38
|
-
set(value) {
|
|
39
|
-
pageHelperUtil.setVariableValue(entity, fields, value);
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
return (_ctx, _cache) => {
|
|
44
|
-
const _component_el_radio = Vue.resolveComponent("el-radio");
|
|
45
|
-
const _component_el_checkbox = Vue.resolveComponent("el-checkbox");
|
|
46
|
-
return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
|
|
47
|
-
_ctx.property.prefixType === "radio" ? (Vue.openBlock(), Vue.createBlock(_component_el_radio, {
|
|
48
|
-
key: 0,
|
|
49
|
-
value: _ctx.property.prefixValue,
|
|
50
|
-
label: _ctx.property.title,
|
|
51
|
-
modelValue: Vue.unref(dynamicModelMethod),
|
|
52
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(dynamicModelMethod) ? dynamicModelMethod.value = $event : dynamicModelMethod = $event)
|
|
53
|
-
}, null, 8, ["value", "label", "modelValue"])) : Vue.createCommentVNode("", true),
|
|
54
|
-
_ctx.property.prefixType === "checkbox" ? (Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
|
|
55
|
-
key: 1,
|
|
56
|
-
label: _ctx.property.title,
|
|
57
|
-
value: _ctx.property.prefixValue,
|
|
58
|
-
modelValue: Vue.unref(dynamicModelMethod),
|
|
59
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.isRef(dynamicModelMethod) ? dynamicModelMethod.value = $event : dynamicModelMethod = $event)
|
|
60
|
-
}, null, 8, ["label", "value", "modelValue"])) : Vue.createCommentVNode("", true)
|
|
61
|
-
], 64);
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
-
const dateShortcuts = require("../../../../utils/form/date-shortcuts.js");
|
|
5
|
-
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
6
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
8
|
-
__name: "datepicker-runtime",
|
|
9
|
-
props: {
|
|
10
|
-
pageContext: {},
|
|
11
|
-
configure: {}
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
16
|
-
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
17
|
-
const dynamicModelMethod = Vue.computed({
|
|
18
|
-
get() {
|
|
19
|
-
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
20
|
-
},
|
|
21
|
-
set(value) {
|
|
22
|
-
pageHelperUtil.setVariableValue(entity, dynamicFields, value);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
26
|
-
const runtimeStyle = runtimeInfo.style;
|
|
27
|
-
const runtimeClass = runtimeInfo.class;
|
|
28
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
29
|
-
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
30
|
-
if (designProperty.value.dateType && designProperty.value.dateType.includes("range")) {
|
|
31
|
-
let hisValue = pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
32
|
-
if (hisValue && !Array.isArray(hisValue)) {
|
|
33
|
-
hisValue = [hisValue];
|
|
34
|
-
}
|
|
35
|
-
if (!entity.data || !entity.data.id && !entity.data.ID) {
|
|
36
|
-
if (designProperty.value.defaultValue2) {
|
|
37
|
-
const defaultValue2 = pageHelperUtil.getValueFromVariable(entity, designProperty.value.defaultValue2);
|
|
38
|
-
hisValue = !hisValue ? [] : hisValue;
|
|
39
|
-
if (hisValue.length == 0) {
|
|
40
|
-
hisValue.push(void 0);
|
|
41
|
-
}
|
|
42
|
-
if (hisValue.length > 1) {
|
|
43
|
-
hisValue[1] = defaultValue2;
|
|
44
|
-
} else {
|
|
45
|
-
hisValue.push(defaultValue2);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
pageHelperUtil.setVariableValue(entity, dynamicFields, hisValue);
|
|
50
|
-
}
|
|
51
|
-
const shortcuts = Vue.ref(
|
|
52
|
-
dateShortcuts.getDateShortCuts(
|
|
53
|
-
designProperty.value.dateScopeDetails,
|
|
54
|
-
designProperty.value.sourceType,
|
|
55
|
-
designProperty.value.dateType
|
|
56
|
-
)
|
|
57
|
-
);
|
|
58
|
-
if (designProperty.value.shortcutsFunc) {
|
|
59
|
-
const func = eventUtil.getCustomFunc(props.pageContext, designProperty.value.shortcutsFunc);
|
|
60
|
-
if (func) {
|
|
61
|
-
let returns = func.apply(func, [
|
|
62
|
-
{
|
|
63
|
-
pageContext: props.pageContext,
|
|
64
|
-
configureObj: props.configure
|
|
65
|
-
}
|
|
66
|
-
]);
|
|
67
|
-
if (returns) {
|
|
68
|
-
if (!Array.isArray(returns)) {
|
|
69
|
-
returns = [returns];
|
|
70
|
-
}
|
|
71
|
-
if (!shortcuts.value) {
|
|
72
|
-
shortcuts.value = [];
|
|
73
|
-
}
|
|
74
|
-
for (let r of returns) {
|
|
75
|
-
if (r.text && r.value) {
|
|
76
|
-
shortcuts.value.push(r);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
console.log("shortcuts", shortcuts.value);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
return (_ctx, _cache) => {
|
|
84
|
-
const _component_el_time_picker = Vue.resolveComponent("el-time-picker");
|
|
85
|
-
const _component_el_date_picker = Vue.resolveComponent("el-date-picker");
|
|
86
|
-
const _component_el_form_item = Vue.resolveComponent("el-form-item");
|
|
87
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
88
|
-
required: designProperty.value.required,
|
|
89
|
-
class: Vue.normalizeClass(Vue.unref(runtimeClass)),
|
|
90
|
-
"label-width": designProperty.value.labelWidth,
|
|
91
|
-
style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
|
|
92
|
-
}, {
|
|
93
|
-
label: Vue.withCtx(() => [
|
|
94
|
-
designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
95
|
-
key: 0,
|
|
96
|
-
style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
|
|
97
|
-
}, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
|
|
98
|
-
]),
|
|
99
|
-
default: Vue.withCtx(() => [
|
|
100
|
-
designProperty.value.dateType == "time" || designProperty.value.dateType == "timerange" ? (Vue.openBlock(), Vue.createBlock(_component_el_time_picker, {
|
|
101
|
-
key: 0,
|
|
102
|
-
"is-range": designProperty.value.dateType == "timerange",
|
|
103
|
-
"range-separator": "-",
|
|
104
|
-
clearable: designProperty.value.clearable,
|
|
105
|
-
disabled: designProperty.value.state === "disabled",
|
|
106
|
-
readonly: designProperty.value.state === "readonly",
|
|
107
|
-
size: designProperty.value.size,
|
|
108
|
-
placeholder: designProperty.value.placeholder,
|
|
109
|
-
"start-placeholder": designProperty.value.placeholder,
|
|
110
|
-
"end-placeholder": designProperty.value.endPlaceholder,
|
|
111
|
-
format: designProperty.value.format,
|
|
112
|
-
modelValue: dynamicModelMethod.value,
|
|
113
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
114
|
-
shortcuts: shortcuts.value,
|
|
115
|
-
type: designProperty.value.dateType,
|
|
116
|
-
onChange: _cache[1] || (_cache[1] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
|
|
117
|
-
onBlur: _cache[2] || (_cache[2] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
|
|
118
|
-
onFocus: _cache[3] || (_cache[3] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
|
|
119
|
-
onCalendarChange: _cache[4] || (_cache[4] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "calendar-change")),
|
|
120
|
-
onVisibleChange: _cache[5] || (_cache[5] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "visible-change")),
|
|
121
|
-
onPanelChange: _cache[6] || (_cache[6] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "panel-change"))
|
|
122
|
-
}, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (Vue.openBlock(), Vue.createBlock(_component_el_date_picker, {
|
|
123
|
-
key: 1,
|
|
124
|
-
clearable: designProperty.value.clearable,
|
|
125
|
-
disabled: designProperty.value.state === "disabled",
|
|
126
|
-
readonly: designProperty.value.state === "readonly",
|
|
127
|
-
size: designProperty.value.size,
|
|
128
|
-
placeholder: designProperty.value.placeholder,
|
|
129
|
-
"start-placeholder": designProperty.value.placeholder,
|
|
130
|
-
"end-placeholder": designProperty.value.endPlaceholder,
|
|
131
|
-
format: designProperty.value.format,
|
|
132
|
-
modelValue: dynamicModelMethod.value,
|
|
133
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => dynamicModelMethod.value = $event),
|
|
134
|
-
shortcuts: shortcuts.value,
|
|
135
|
-
type: designProperty.value.dateType,
|
|
136
|
-
onChange: _cache[8] || (_cache[8] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
|
|
137
|
-
onBlur: _cache[9] || (_cache[9] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
|
|
138
|
-
onFocus: _cache[10] || (_cache[10] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
|
|
139
|
-
onCalendarChange: _cache[11] || (_cache[11] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "calendar-change")),
|
|
140
|
-
onVisibleChange: _cache[12] || (_cache[12] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "visible-change")),
|
|
141
|
-
onPanelChange: _cache[13] || (_cache[13] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "panel-change"))
|
|
142
|
-
}, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
}, 8, ["required", "class", "label-width", "style"]);
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
module.exports = _sfc_main;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
|
-
require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.28_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js");
|
|
5
|
-
require("../../../../../../node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/dayjs.min.js");
|
|
6
|
-
require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.28_vue@3.4.21/node_modules/agilebuilder-ui/src/i18n/i18n.js");
|
|
7
|
-
require("../../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js");
|
|
8
|
-
require("../../../../utils/global-refs.js");
|
|
9
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
11
|
-
__name: "depttree-runtime",
|
|
12
|
-
props: {
|
|
13
|
-
pageContext: {},
|
|
14
|
-
configure: {}
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
const props = __props;
|
|
18
|
-
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
19
|
-
if (!entity.data) {
|
|
20
|
-
entity.data = {};
|
|
21
|
-
}
|
|
22
|
-
const dataModel = entity.data;
|
|
23
|
-
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
24
|
-
const fieldName = dynamicFields.length > 0 ? dynamicFields[dynamicFields.length - 1] : props.configure.uuid;
|
|
25
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
26
|
-
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
27
|
-
const runtimeStyle = runtimeInfo.style;
|
|
28
|
-
const runtimeClass = runtimeInfo.class;
|
|
29
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
30
|
-
const autoSetFields = designProperty.value.autoSetFields ? designProperty.value.autoSetFields : [];
|
|
31
|
-
function changeValue(value) {
|
|
32
|
-
eventUtil.handleEvent(value, props.pageContext, props.configure, "change");
|
|
33
|
-
}
|
|
34
|
-
function showTree() {
|
|
35
|
-
eventUtil.handleEvent(null, props.pageContext, props.configure, "click");
|
|
36
|
-
}
|
|
37
|
-
return (_ctx, _cache) => {
|
|
38
|
-
const _component_OrganizationInput = Vue.resolveComponent("OrganizationInput");
|
|
39
|
-
const _component_el_form_item = Vue.resolveComponent("el-form-item");
|
|
40
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
41
|
-
required: designProperty.value.required,
|
|
42
|
-
class: Vue.normalizeClass(Vue.unref(runtimeClass)),
|
|
43
|
-
"label-width": designProperty.value.labelWidth,
|
|
44
|
-
style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
|
|
45
|
-
}, {
|
|
46
|
-
label: Vue.withCtx(() => [
|
|
47
|
-
designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
48
|
-
key: 0,
|
|
49
|
-
style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
|
|
50
|
-
}, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
|
|
51
|
-
]),
|
|
52
|
-
default: Vue.withCtx(() => [
|
|
53
|
-
Vue.createVNode(_component_OrganizationInput, {
|
|
54
|
-
disabled: designProperty.value.state == "disabled",
|
|
55
|
-
multiple: designProperty.value.multiple,
|
|
56
|
-
treeType: designProperty.value.treeType,
|
|
57
|
-
value: Vue.unref(dataModel)[Vue.unref(fieldName)],
|
|
58
|
-
models: Vue.unref(dataModel),
|
|
59
|
-
fields: Vue.unref(autoSetFields),
|
|
60
|
-
size: designProperty.value.size,
|
|
61
|
-
placeholder: "请选择",
|
|
62
|
-
separator: designProperty.value.separator,
|
|
63
|
-
onChange: changeValue,
|
|
64
|
-
onShowTree: showTree
|
|
65
|
-
}, null, 8, ["disabled", "multiple", "treeType", "value", "models", "fields", "size", "separator"])
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["required", "class", "label-width", "style"]);
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
module.exports = _sfc_main;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
-
__name: "divider-runtime",
|
|
7
|
-
props: {
|
|
8
|
-
pageContext: {},
|
|
9
|
-
configure: {}
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
const props = __props;
|
|
13
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
14
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
15
|
-
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
16
|
-
let contentVariable = designProperty.value["value"];
|
|
17
|
-
const dynamicValue = Vue.computed(() => {
|
|
18
|
-
if (!contentVariable) {
|
|
19
|
-
return "";
|
|
20
|
-
}
|
|
21
|
-
const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
22
|
-
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
23
|
-
});
|
|
24
|
-
return (_ctx, _cache) => {
|
|
25
|
-
const _component_el_divider = Vue.resolveComponent("el-divider");
|
|
26
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_divider, {
|
|
27
|
-
direction: designProperty.value.direction,
|
|
28
|
-
"border-style": designProperty.value.borderType,
|
|
29
|
-
"content-position": designProperty.value.titlePosition,
|
|
30
|
-
onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
31
|
-
}, {
|
|
32
|
-
default: Vue.withCtx(() => [
|
|
33
|
-
Vue.createElementVNode("div", {
|
|
34
|
-
style: Vue.normalizeStyle(Vue.unref(headerStyle))
|
|
35
|
-
}, Vue.toDisplayString(dynamicValue.value), 5)
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
}, 8, ["direction", "border-style", "content-position"]);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const Vue = require("vue");
|
|
3
|
-
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
|
-
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
5
|
-
const request = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.28_vue@3.4.21/node_modules/agilebuilder-ui/src/utils/request.js");
|
|
6
|
-
const superUi = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.0.28_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
8
|
-
__name: "fileupload-runtime",
|
|
9
|
-
props: {
|
|
10
|
-
pageContext: {},
|
|
11
|
-
configure: {}
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
16
|
-
const designProperty = Vue.ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
17
|
-
const runtimeStyle = runtimeInfo.style;
|
|
18
|
-
const runtimeClass = runtimeInfo.class;
|
|
19
|
-
const headerStyle = runtimeInfo.headerStyle;
|
|
20
|
-
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
21
|
-
const propsBase = props.configure.props.base ? props.configure.props.base : {};
|
|
22
|
-
const pathFields = getFieldsByVariable(propsBase.prop);
|
|
23
|
-
const nameFields = getFieldsByVariable(propsBase.propName);
|
|
24
|
-
const initPaths = pageHelperUtil.getVariableValue(entity, pathFields);
|
|
25
|
-
const fileList = Vue.ref([]);
|
|
26
|
-
const fileInfo = Vue.ref({});
|
|
27
|
-
const baseURL = window.$vueApp.config.globalProperties.baseURL;
|
|
28
|
-
const baseAPI = window.$vueApp.config.globalProperties.baseAPI;
|
|
29
|
-
let url = baseURL;
|
|
30
|
-
if (!isPlateSys(props.pageContext.systemCode)) {
|
|
31
|
-
url = baseAPI;
|
|
32
|
-
}
|
|
33
|
-
if (initPaths) {
|
|
34
|
-
const uuids = initPaths.split(",");
|
|
35
|
-
if (uuids.length > 0) {
|
|
36
|
-
request.post(url + "/common/fs-upload/search-file-names").then((result) => {
|
|
37
|
-
const names = [];
|
|
38
|
-
for (let index = 0; index < uuids.length; index++) {
|
|
39
|
-
const uuid = uuids[index];
|
|
40
|
-
names.push(result[uuid]);
|
|
41
|
-
fileList.value.push({ showName: result[uuid], serverPath: uuid });
|
|
42
|
-
}
|
|
43
|
-
if (designProperty.value.displayType === "input") {
|
|
44
|
-
fileInfo.value.showName = names.join(",");
|
|
45
|
-
fileInfo.value.serverPath = uuids.join(",");
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
function getFieldsByVariable(variableName) {
|
|
51
|
-
if (!variableName) {
|
|
52
|
-
return [];
|
|
53
|
-
}
|
|
54
|
-
if (variableName.startsWith("${")) {
|
|
55
|
-
variableName = variableName.substring(2, variableName.length - 1);
|
|
56
|
-
}
|
|
57
|
-
return variableName.split(".");
|
|
58
|
-
}
|
|
59
|
-
function beforeUpload(params) {
|
|
60
|
-
return eventUtil.fileUploadBeforeUpload(params);
|
|
61
|
-
}
|
|
62
|
-
const onSuccess = (response, uploadFile, uploadFiles) => {
|
|
63
|
-
updateValue();
|
|
64
|
-
};
|
|
65
|
-
const onRemove = (file) => {
|
|
66
|
-
updateValue();
|
|
67
|
-
};
|
|
68
|
-
const updateValue = () => {
|
|
69
|
-
const names = [];
|
|
70
|
-
const uuids = [];
|
|
71
|
-
for (let index = 0; index < fileList.value.length; index++) {
|
|
72
|
-
names.push(fileList.value[index].showName);
|
|
73
|
-
uuids.push(fileList.value[index].serverPath);
|
|
74
|
-
}
|
|
75
|
-
pageHelperUtil.setVariableValue(props.pageContext.entity, pathFields, uuids.join(","));
|
|
76
|
-
pageHelperUtil.setVariableValue(props.pageContext.entity, nameFields, names.join(","));
|
|
77
|
-
};
|
|
78
|
-
function isPlateSys(systemCode) {
|
|
79
|
-
if (systemCode && (systemCode === "agilebuilder" || systemCode === "portal" || systemCode === "mms" || systemCode === "task" || systemCode === "wf" || systemCode === "dc" || systemCode === "mc" || systemCode === "mobile" || systemCode === "acs" || systemCode === "bs" || systemCode === "pcm")) {
|
|
80
|
-
return true;
|
|
81
|
-
} else {
|
|
82
|
-
return false;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
return (_ctx, _cache) => {
|
|
86
|
-
const _component_el_form_item = Vue.resolveComponent("el-form-item");
|
|
87
|
-
return designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
|
|
88
|
-
key: 0,
|
|
89
|
-
required: designProperty.value.required,
|
|
90
|
-
class: Vue.normalizeClass(Vue.unref(runtimeClass)),
|
|
91
|
-
"label-width": designProperty.value.labelWidth,
|
|
92
|
-
style: Vue.normalizeStyle(Vue.unref(runtimeStyle))
|
|
93
|
-
}, {
|
|
94
|
-
label: Vue.withCtx(() => [
|
|
95
|
-
designProperty.value.tittleShow ? (Vue.openBlock(), Vue.createElementBlock("div", {
|
|
96
|
-
key: 0,
|
|
97
|
-
style: Vue.normalizeStyle({ ...Vue.unref(headerStyle) })
|
|
98
|
-
}, Vue.toDisplayString(designProperty.value.title), 5)) : Vue.createCommentVNode("", true)
|
|
99
|
-
]),
|
|
100
|
-
default: Vue.withCtx(() => [
|
|
101
|
-
Vue.createVNode(Vue.unref(superUi.default), {
|
|
102
|
-
disabled: designProperty.value.state == "disabled",
|
|
103
|
-
displayType: designProperty.value.displayType,
|
|
104
|
-
accept: designProperty.value.accept,
|
|
105
|
-
multiple: designProperty.value.multiple,
|
|
106
|
-
placeholder: designProperty.value.placeholder,
|
|
107
|
-
limit: designProperty.value.limit,
|
|
108
|
-
"limit-file-size": designProperty.value.limitFileSize,
|
|
109
|
-
"file-info": fileInfo.value,
|
|
110
|
-
"file-list": fileList.value,
|
|
111
|
-
"on-success": onSuccess,
|
|
112
|
-
"on-remove": onRemove,
|
|
113
|
-
"before-upload": beforeUpload
|
|
114
|
-
}, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list"])
|
|
115
|
-
]),
|
|
116
|
-
_: 1
|
|
117
|
-
}, 8, ["required", "class", "label-width", "style"])) : (Vue.openBlock(), Vue.createBlock(Vue.unref(superUi.default), {
|
|
118
|
-
key: 1,
|
|
119
|
-
disabled: designProperty.value.state == "disabled",
|
|
120
|
-
displayType: designProperty.value.displayType,
|
|
121
|
-
accept: designProperty.value.accept,
|
|
122
|
-
multiple: designProperty.value.multiple,
|
|
123
|
-
placeholder: designProperty.value.placeholder,
|
|
124
|
-
limit: designProperty.value.limit,
|
|
125
|
-
"limit-file-size": designProperty.value.limitFileSize,
|
|
126
|
-
"file-info": fileInfo.value,
|
|
127
|
-
"file-list": fileList.value,
|
|
128
|
-
"on-success": onSuccess,
|
|
129
|
-
"on-remove": onRemove,
|
|
130
|
-
"before-upload": beforeUpload
|
|
131
|
-
}, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list"]));
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
module.exports = _sfc_main;
|