super-page-runtime 2.3.17-sit4 → 2.3.18-tmp1
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/api/page-expose-util.js +70 -70
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +26 -25
- package/dist/es/components/runtime/utils/events/standard-event.js +10 -10
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.d.ts +2 -1
- package/dist/es/components/runtime/utils/page-init-util.js +87 -66
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +35 -35
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +35 -34
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -3
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +13 -11
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +9 -0
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +141 -132
- package/dist/es/style.css +76 -76
- package/dist/lib/_virtual/AttributeMap.js +4 -0
- package/dist/lib/_virtual/Barcode.js +4 -0
- package/dist/lib/_virtual/CODE128.js +4 -0
- package/dist/lib/_virtual/CODE128A.js +4 -0
- package/dist/lib/_virtual/CODE128B.js +4 -0
- package/dist/lib/_virtual/CODE128C.js +4 -0
- package/dist/lib/_virtual/CODE128_AUTO.js +4 -0
- package/dist/lib/_virtual/CODE93.js +4 -0
- package/dist/lib/_virtual/CODE93FullASCII.js +4 -0
- package/dist/lib/_virtual/Delta.js +4 -0
- package/dist/lib/_virtual/EAN.js +4 -0
- package/dist/lib/_virtual/EAN13.js +4 -0
- package/dist/lib/_virtual/EAN2.js +4 -0
- package/dist/lib/_virtual/EAN5.js +4 -0
- package/dist/lib/_virtual/EAN8.js +4 -0
- package/dist/lib/_virtual/ErrorHandler.js +4 -0
- package/dist/lib/_virtual/ITF.js +4 -0
- package/dist/lib/_virtual/ITF14.js +4 -0
- package/dist/lib/_virtual/JsBarcode.js +6 -0
- package/dist/lib/_virtual/MSI.js +4 -0
- package/dist/lib/_virtual/MSI10.js +4 -0
- package/dist/lib/_virtual/MSI1010.js +4 -0
- package/dist/lib/_virtual/MSI11.js +4 -0
- package/dist/lib/_virtual/MSI1110.js +4 -0
- package/dist/lib/_virtual/Op.js +4 -0
- package/dist/lib/_virtual/OpIterator.js +4 -0
- package/dist/lib/_virtual/OverloadYield.js +4 -0
- package/dist/lib/_virtual/SVGPathData.js +4 -0
- package/dist/lib/_virtual/SVGPathData2.js +5 -0
- package/dist/lib/_virtual/UPC.js +4 -0
- package/dist/lib/_virtual/UPCE.js +4 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +33 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/_virtual/alignment-pattern.js +4 -0
- package/dist/lib/_virtual/arrayLikeToArray.js +4 -0
- package/dist/lib/_virtual/arrayWithHoles.js +4 -0
- package/dist/lib/_virtual/arrayWithoutHoles.js +4 -0
- package/dist/lib/_virtual/assertThisInitialized.js +4 -0
- package/dist/lib/_virtual/asyncToGenerator.js +4 -0
- package/dist/lib/_virtual/asyncToGenerator2.js +6 -0
- package/dist/lib/_virtual/auto.js +4 -0
- package/dist/lib/_virtual/backo2.js +4 -0
- package/dist/lib/_virtual/base64-arraybuffer.js +4 -0
- package/dist/lib/_virtual/binary.js +4 -0
- package/dist/lib/_virtual/browser.js +4 -0
- package/dist/lib/_virtual/browser2.js +4 -0
- package/dist/lib/_virtual/canvas.js +4 -0
- package/dist/lib/_virtual/canvas2.js +4 -0
- package/dist/lib/_virtual/checksums.js +4 -0
- package/dist/lib/_virtual/classCallCheck.js +4 -0
- package/dist/lib/_virtual/clipboard.js +4 -0
- package/dist/lib/_virtual/commons.js +4 -0
- package/dist/lib/_virtual/constants.js +4 -0
- package/dist/lib/_virtual/constants2.js +4 -0
- package/dist/lib/_virtual/constants3.js +4 -0
- package/dist/lib/_virtual/constants4.js +4 -0
- package/dist/lib/_virtual/createClass.js +4 -0
- package/dist/lib/_virtual/dayjs.min.js +4 -0
- package/dist/lib/_virtual/decodePacket.browser.js +4 -0
- package/dist/lib/_virtual/defaults.js +4 -0
- package/dist/lib/_virtual/defineProperty.js +4 -0
- package/dist/lib/_virtual/defineProperty2.js +6 -0
- package/dist/lib/_virtual/dijkstra.js +4 -0
- package/dist/lib/_virtual/encodePacket.browser.js +4 -0
- package/dist/lib/_virtual/encoder.js +4 -0
- package/dist/lib/_virtual/error-correction-code.js +4 -0
- package/dist/lib/_virtual/error-correction-level.js +4 -0
- package/dist/lib/_virtual/es.array.concat.js +4 -0
- package/dist/lib/_virtual/es.array.every.js +4 -0
- package/dist/lib/_virtual/es.array.fill.js +4 -0
- package/dist/lib/_virtual/es.array.for-each.js +4 -0
- package/dist/lib/_virtual/es.array.from.js +4 -0
- package/dist/lib/_virtual/es.array.includes.js +4 -0
- package/dist/lib/_virtual/es.array.index-of.js +4 -0
- package/dist/lib/_virtual/es.array.index-of2.js +3 -0
- package/dist/lib/_virtual/es.array.iterator.js +3 -0
- package/dist/lib/_virtual/es.array.join.js +4 -0
- package/dist/lib/_virtual/es.array.map.js +4 -0
- package/dist/lib/_virtual/es.array.reduce.js +4 -0
- package/dist/lib/_virtual/es.array.reduce2.js +3 -0
- package/dist/lib/_virtual/es.array.reverse.js +4 -0
- package/dist/lib/_virtual/es.array.reverse2.js +3 -0
- package/dist/lib/_virtual/es.array.some.js +4 -0
- package/dist/lib/_virtual/es.function.name.js +4 -0
- package/dist/lib/_virtual/es.map.constructor.js +4 -0
- package/dist/lib/_virtual/es.map.js +4 -0
- package/dist/lib/_virtual/es.number.constructor.js +4 -0
- package/dist/lib/_virtual/es.object.to-string.js +4 -0
- package/dist/lib/_virtual/es.parse-float.js +4 -0
- package/dist/lib/_virtual/es.promise.all.js +4 -0
- package/dist/lib/_virtual/es.promise.catch.js +4 -0
- package/dist/lib/_virtual/es.promise.constructor.js +4 -0
- package/dist/lib/_virtual/es.promise.js +4 -0
- package/dist/lib/_virtual/es.promise.race.js +4 -0
- package/dist/lib/_virtual/es.promise.reject.js +4 -0
- package/dist/lib/_virtual/es.promise.resolve.js +4 -0
- package/dist/lib/_virtual/es.promise2.js +3 -0
- package/dist/lib/_virtual/es.reflect.apply.js +4 -0
- package/dist/lib/_virtual/es.reflect.delete-property.js +4 -0
- package/dist/lib/_virtual/es.reflect.get-prototype-of.js +4 -0
- package/dist/lib/_virtual/es.regexp.exec.js +4 -0
- package/dist/lib/_virtual/es.regexp.to-string.js +4 -0
- package/dist/lib/_virtual/es.regexp.to-string2.js +3 -0
- package/dist/lib/_virtual/es.string.ends-with.js +4 -0
- package/dist/lib/_virtual/es.string.ends-with2.js +3 -0
- package/dist/lib/_virtual/es.string.includes.js +4 -0
- package/dist/lib/_virtual/es.string.includes2.js +3 -0
- package/dist/lib/_virtual/es.string.iterator.js +4 -0
- package/dist/lib/_virtual/es.string.match.js +4 -0
- package/dist/lib/_virtual/es.string.match2.js +3 -0
- package/dist/lib/_virtual/es.string.replace.js +4 -0
- package/dist/lib/_virtual/es.string.replace2.js +3 -0
- package/dist/lib/_virtual/es.string.split.js +4 -0
- package/dist/lib/_virtual/es.string.split2.js +3 -0
- package/dist/lib/_virtual/es.string.starts-with.js +4 -0
- package/dist/lib/_virtual/es.string.starts-with2.js +3 -0
- package/dist/lib/_virtual/es.string.trim.js +4 -0
- package/dist/lib/_virtual/es.string.trim2.js +3 -0
- package/dist/lib/_virtual/exceptions.js +4 -0
- package/dist/lib/_virtual/finder-pattern.js +4 -0
- package/dist/lib/_virtual/fixOptions.js +4 -0
- package/dist/lib/_virtual/format-info.js +4 -0
- package/dist/lib/_virtual/galois-field.js +4 -0
- package/dist/lib/_virtual/get.js +4 -0
- package/dist/lib/_virtual/getOptionsFromElement.js +4 -0
- package/dist/lib/_virtual/getPrototypeOf.js +4 -0
- package/dist/lib/_virtual/getRenderProperties.js +4 -0
- package/dist/lib/_virtual/globals.js +4 -0
- package/dist/lib/_virtual/has-cors.js +4 -0
- package/dist/lib/_virtual/html2canvas.js +4 -0
- package/dist/lib/_virtual/index.js +4 -0
- package/dist/lib/_virtual/index10.js +4 -0
- package/dist/lib/_virtual/index11.js +4 -0
- package/dist/lib/_virtual/index12.js +4 -0
- package/dist/lib/_virtual/index13.js +4 -0
- package/dist/lib/_virtual/index14.js +4 -0
- package/dist/lib/_virtual/index15.js +4 -0
- package/dist/lib/_virtual/index16.js +4 -0
- package/dist/lib/_virtual/index17.js +4 -0
- package/dist/lib/_virtual/index18.js +4 -0
- package/dist/lib/_virtual/index19.js +4 -0
- package/dist/lib/_virtual/index2.js +4 -0
- package/dist/lib/_virtual/index20.js +4 -0
- package/dist/lib/_virtual/index21.js +4 -0
- package/dist/lib/_virtual/index22.js +4 -0
- package/dist/lib/_virtual/index23.js +4 -0
- package/dist/lib/_virtual/index24.js +4 -0
- package/dist/lib/_virtual/index3.js +4 -0
- package/dist/lib/_virtual/index4.js +5 -0
- package/dist/lib/_virtual/index5.js +4 -0
- package/dist/lib/_virtual/index6.js +4 -0
- package/dist/lib/_virtual/index7.js +4 -0
- package/dist/lib/_virtual/index8.js +6 -0
- package/dist/lib/_virtual/index9.js +6 -0
- package/dist/lib/_virtual/inherits.js +4 -0
- package/dist/lib/_virtual/internal-metadata.js +4 -0
- package/dist/lib/_virtual/is-binary.js +4 -0
- package/dist/lib/_virtual/iterableToArray.js +4 -0
- package/dist/lib/_virtual/iterableToArrayLimit.js +4 -0
- package/dist/lib/_virtual/jquery.js +4 -0
- package/dist/lib/_virtual/jspdf.es.min.js +5 -0
- package/dist/lib/_virtual/linearizeEncodings.js +4 -0
- package/dist/lib/_virtual/make-built-in.js +4 -0
- package/dist/lib/_virtual/manager.js +4 -0
- package/dist/lib/_virtual/mask-pattern.js +4 -0
- package/dist/lib/_virtual/merge.js +4 -0
- package/dist/lib/_virtual/mode.js +4 -0
- package/dist/lib/_virtual/new-promise-capability.js +4 -0
- package/dist/lib/_virtual/nonIterableRest.js +4 -0
- package/dist/lib/_virtual/nonIterableSpread.js +4 -0
- package/dist/lib/_virtual/object-define-properties.js +4 -0
- package/dist/lib/_virtual/object-define-property.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-descriptor.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-names-external.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-names.js +4 -0
- package/dist/lib/_virtual/object-get-own-property-symbols.js +4 -0
- package/dist/lib/_virtual/object-property-is-enumerable.js +4 -0
- package/dist/lib/_virtual/object.js +4 -0
- package/dist/lib/_virtual/on.js +4 -0
- package/dist/lib/_virtual/optionsFromStrings.js +4 -0
- package/dist/lib/_virtual/parseqs.js +4 -0
- package/dist/lib/_virtual/parseuri.js +4 -0
- package/dist/lib/_virtual/performance-now.js +4 -0
- package/dist/lib/_virtual/polling-fetch.js +4 -0
- package/dist/lib/_virtual/polling-xhr.js +4 -0
- package/dist/lib/_virtual/polling.js +4 -0
- package/dist/lib/_virtual/polynomial.js +4 -0
- package/dist/lib/_virtual/possibleConstructorReturn.js +4 -0
- package/dist/lib/_virtual/qrcode.js +4 -0
- package/dist/lib/_virtual/regenerator.js +4 -0
- package/dist/lib/_virtual/regeneratorAsync.js +4 -0
- package/dist/lib/_virtual/regeneratorAsyncGen.js +4 -0
- package/dist/lib/_virtual/regeneratorAsyncIterator.js +4 -0
- package/dist/lib/_virtual/regeneratorDefine.js +4 -0
- package/dist/lib/_virtual/regeneratorKeys.js +4 -0
- package/dist/lib/_virtual/regeneratorRuntime.js +4 -0
- package/dist/lib/_virtual/regeneratorValues.js +4 -0
- package/dist/lib/_virtual/regex.js +4 -0
- package/dist/lib/_virtual/segments.js +4 -0
- package/dist/lib/_virtual/setPrototypeOf.js +4 -0
- package/dist/lib/_virtual/shared-store.js +4 -0
- package/dist/lib/_virtual/shared.js +4 -0
- package/dist/lib/_virtual/slicedToArray.js +4 -0
- package/dist/lib/_virtual/socket.js +4 -0
- package/dist/lib/_virtual/socket2.js +4 -0
- package/dist/lib/_virtual/stackblur-es.js +5 -0
- package/dist/lib/_virtual/superPropBase.js +4 -0
- package/dist/lib/_virtual/svg-tag.js +4 -0
- package/dist/lib/_virtual/svg.js +4 -0
- package/dist/lib/_virtual/toConsumableArray.js +4 -0
- package/dist/lib/_virtual/toPrimitive.js +4 -0
- package/dist/lib/_virtual/toPropertyKey.js +4 -0
- package/dist/lib/_virtual/transport.js +4 -0
- package/dist/lib/_virtual/typeof.js +4 -0
- package/dist/lib/_virtual/unsupportedIterableToArray.js +4 -0
- package/dist/lib/_virtual/url.js +4 -0
- package/dist/lib/_virtual/util.js +4 -0
- package/dist/lib/_virtual/utils.js +4 -0
- package/dist/lib/_virtual/utils2.js +4 -0
- package/dist/lib/_virtual/version-check.js +4 -0
- package/dist/lib/_virtual/version.js +4 -0
- package/dist/lib/_virtual/vue-plugin-hiprint.js +4 -0
- package/dist/lib/_virtual/web.dom-collections.for-each.js +4 -0
- package/dist/lib/_virtual/web.dom-collections.iterator.js +4 -0
- package/dist/lib/_virtual/web.dom-collections.iterator2.js +3 -0
- package/dist/lib/_virtual/websocket.js +4 -0
- package/dist/lib/_virtual/webtransport.js +4 -0
- package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/assets/file.png.js +3 -0
- package/dist/lib/assets/folder.png.js +3 -0
- package/dist/lib/components/runtime/index.d.ts +5 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.js +38 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +9 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.js +494 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +384 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/barcode-util.js +36 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +327 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +77 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +162 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +130 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +106 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +113 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +550 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/common-util.js +219 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +9 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +752 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/print-label.js +174 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +96 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +2837 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +730 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.js +96 -0
- package/dist/lib/components/runtime/utils/form/scan-util.js +194 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/global-refs.js +88 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.js +23 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +767 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +48 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +502 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +717 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +46 -0
- package/dist/lib/components/runtime/utils/page-store.js +71 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store-util.js +17 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +34 -0
- package/dist/lib/components/runtime/utils/table-utils.js +126 -0
- package/dist/lib/components/runtime/utils/tree-utils.js +121 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +118 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +55 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +135 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +19 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +213 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +208 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +179 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +171 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +122 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +132 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.js +786 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +169 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +631 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +163 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +90 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.js +76 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +114 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +181 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +122 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +106 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +85 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +89 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +99 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +224 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +69 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +272 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +144 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +184 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +943 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +718 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +187 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +531 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +163 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +101 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +212 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +290 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +176 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +225 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +116 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +310 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +176 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +109 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +52 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +208 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +287 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +364 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +168 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +132 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +116 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.js +169 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +265 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +209 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +47 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +50 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +6 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +64 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +58 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart.vue.js +168 -0
- package/dist/lib/components/runtime/views/home-chart.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +154 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +4 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +126 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +6 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +856 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.js +78 -0
- package/dist/lib/i18n/langs/en.js +78 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/index.js +30 -0
- package/dist/lib/style.css +1169 -0
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
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<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
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
|
+
};
|
|
@@ -0,0 +1,265 @@
|
|
|
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 commonUtil = require("../../utils/common-util.js");
|
|
10
|
+
const eventUtil = require("../../utils/events/event-util.js");
|
|
11
|
+
const pageStore = require("../../utils/page-store.js");
|
|
12
|
+
const tableUtils = require("../../utils/table-utils.js");
|
|
13
|
+
const permission = require("../../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/src/utils/permission.js");
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
15
|
+
__name: "object-render",
|
|
16
|
+
props: {
|
|
17
|
+
pageContext: {},
|
|
18
|
+
configure: {}
|
|
19
|
+
},
|
|
20
|
+
setup(__props) {
|
|
21
|
+
var _a, _b;
|
|
22
|
+
const props = __props;
|
|
23
|
+
if (props.configure.style == void 0) {
|
|
24
|
+
props.configure.style = {};
|
|
25
|
+
}
|
|
26
|
+
const permissionCodes = pageInitUtil.getPermissionCodes(props.configure, props.pageContext);
|
|
27
|
+
if (props.configure && props.configure.props && props.configure.props.base) {
|
|
28
|
+
props.configure.props.base.functionCode = permissionCodes;
|
|
29
|
+
}
|
|
30
|
+
const isHasPermission = permission.default(permissionCodes ? permissionCodes : "true", props.pageContext.systemCode);
|
|
31
|
+
const isHasBranchFieldAuth = tableUtils.isHasFieldAuth(props.pageContext, props.configure);
|
|
32
|
+
const isHasBranchFieldAuthAndPermission = isHasPermission && isHasBranchFieldAuth;
|
|
33
|
+
if (props.configure && props.configure.props && props.configure.props.base) {
|
|
34
|
+
props.configure.props.base.isHasFieldAuthPermission = isHasBranchFieldAuthAndPermission;
|
|
35
|
+
}
|
|
36
|
+
pageInitUtil.packageFormRules(props.pageContext, props.configure, isHasBranchFieldAuthAndPermission);
|
|
37
|
+
let handleShowFlag = Vue.ref(null);
|
|
38
|
+
let showFlag = Vue.ref(true);
|
|
39
|
+
let editFlag = Vue.ref("");
|
|
40
|
+
if (props.configure && props.configure.props) {
|
|
41
|
+
let showConditions = [];
|
|
42
|
+
if ((_a = props.configure.props.base) == null ? void 0 : _a.showConditions) {
|
|
43
|
+
if (typeof props.configure.props.base.showConditions === "string") {
|
|
44
|
+
showConditions = JSON.parse(props.configure.props.base.showConditions);
|
|
45
|
+
} else {
|
|
46
|
+
showConditions = props.configure.props.base.showConditions;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
showFlag = Vue.computed(() => {
|
|
50
|
+
var _a2;
|
|
51
|
+
let dynamicShowFlag = true;
|
|
52
|
+
if (!isHasBranchFieldAuthAndPermission) {
|
|
53
|
+
dynamicShowFlag = false;
|
|
54
|
+
} else {
|
|
55
|
+
if (handleShowFlag.value && handleShowFlag.value !== null) {
|
|
56
|
+
dynamicShowFlag = handleShowFlag.value === "show" ? true : false;
|
|
57
|
+
} else {
|
|
58
|
+
if (!eventUtil.isShowMobileEvent(props.pageContext, props.configure)) {
|
|
59
|
+
dynamicShowFlag = false;
|
|
60
|
+
} else {
|
|
61
|
+
if (showConditions && showConditions.length > 0) {
|
|
62
|
+
dynamicShowFlag = pageHelperUtil.caculateShowCondition(props.pageContext, showConditions);
|
|
63
|
+
} else {
|
|
64
|
+
const state = (_a2 = props.configure.props.base) == null ? void 0 : _a2.state;
|
|
65
|
+
if (state && state === "hidden") {
|
|
66
|
+
dynamicShowFlag = false;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return dynamicShowFlag;
|
|
73
|
+
});
|
|
74
|
+
const propConfigure = props.configure;
|
|
75
|
+
propConfigure._dynamicShowFlag = showFlag;
|
|
76
|
+
if ((_b = props.configure.props.base) == null ? void 0 : _b.editConditions) {
|
|
77
|
+
const editConditions = props.configure.props.base.editConditions;
|
|
78
|
+
if (editConditions.length > 0) {
|
|
79
|
+
const runtime = props.configure.runtime ? props.configure.runtime : {};
|
|
80
|
+
const property = runtime.props ? runtime.props : {};
|
|
81
|
+
property.rawSate = property.state;
|
|
82
|
+
if (commonUtil.isWorkflowPage(props.pageContext) && props.pageContext.fieldPermissionMap) {
|
|
83
|
+
const propsBase = props.configure.props.base;
|
|
84
|
+
if (propsBase && propsBase.prop) {
|
|
85
|
+
let propName = propsBase.prop;
|
|
86
|
+
propName = pageHelperUtil.getFormPropName(propName);
|
|
87
|
+
const propEditPermission = props.pageContext.fieldPermissionMap.get(propName);
|
|
88
|
+
if (propEditPermission) {
|
|
89
|
+
if (propEditPermission["canEdit"] === false) {
|
|
90
|
+
editFlag.value = "disabled";
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
property.state = Vue.computed({
|
|
96
|
+
get() {
|
|
97
|
+
if (editFlag.value === "disabled") {
|
|
98
|
+
return editFlag.value;
|
|
99
|
+
}
|
|
100
|
+
const canEdit = pageHelperUtil.caculateShowCondition(props.pageContext, editConditions);
|
|
101
|
+
return canEdit ? "" : "disabled";
|
|
102
|
+
},
|
|
103
|
+
set() {
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const dynamicComponent = Vue.ref({});
|
|
110
|
+
dynamicComponent.value = Vue.markRaw(assemblysConfig.getRuntimeComponentByName(props.configure.name));
|
|
111
|
+
const showCopy = Vue.ref(true);
|
|
112
|
+
if (dynamicComponent.value == null) {
|
|
113
|
+
dynamicComponent.value = errorRender_vue_vue_type_script_setup_true_lang;
|
|
114
|
+
showCopy.value = false;
|
|
115
|
+
}
|
|
116
|
+
const thisRef = Vue.ref(null);
|
|
117
|
+
const runtimeStyle = Vue.ref({});
|
|
118
|
+
const runtimeClass = Vue.ref("");
|
|
119
|
+
const propClassName = commonUtil.getPropClassName(props.configure);
|
|
120
|
+
if (propClassName) {
|
|
121
|
+
runtimeClass.value = propClassName;
|
|
122
|
+
}
|
|
123
|
+
const commonRuntime = props.configure.runtime && props.configure.runtime.common ? props.configure.runtime.common : {};
|
|
124
|
+
if (commonRuntime.class) {
|
|
125
|
+
runtimeClass.value += " " + commonRuntime.class;
|
|
126
|
+
}
|
|
127
|
+
if (commonRuntime.style) {
|
|
128
|
+
Object.assign(runtimeStyle.value, commonRuntime.style);
|
|
129
|
+
const pageDimensions = props.pageContext && props.pageContext.dimensions ? props.pageContext.dimensions : pageDesignTypes.PageDimensions.PC;
|
|
130
|
+
const sizeStyle = commonRuntime.style[pageDimensions + "_style"];
|
|
131
|
+
if (sizeStyle) {
|
|
132
|
+
Object.assign(runtimeStyle.value, sizeStyle);
|
|
133
|
+
}
|
|
134
|
+
const sizeClass = commonRuntime.style[pageDimensions + "_class"];
|
|
135
|
+
if (sizeClass) {
|
|
136
|
+
runtimeClass.value += " " + sizeClass;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const pageContextUtil = pageStore.usePageContextStore();
|
|
140
|
+
function setComponentRef(el) {
|
|
141
|
+
thisRef.value = el;
|
|
142
|
+
if (el && !el.show) {
|
|
143
|
+
el.show = function() {
|
|
144
|
+
handleShowFlag.value = "show";
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
if (el && !el.hide) {
|
|
148
|
+
el.hide = function() {
|
|
149
|
+
handleShowFlag.value = "hide";
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
if (el && !el.getConfigure) {
|
|
153
|
+
el.getConfigure = function() {
|
|
154
|
+
return props.configure;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
if (props.configure.uuid) {
|
|
158
|
+
globalRefs.addComponentRef(props.pageContext, props.configure.uuid, thisRef);
|
|
159
|
+
}
|
|
160
|
+
if (props.configure.code) {
|
|
161
|
+
globalRefs.addComponentRefByCode(props.pageContext, props.configure.code, thisRef);
|
|
162
|
+
} else if (props.configure.name === "table") {
|
|
163
|
+
globalRefs.addComponentRefByCode(props.pageContext, props.configure.uuid, thisRef);
|
|
164
|
+
} else if (props.configure.props && props.configure.props.base) {
|
|
165
|
+
const propsBase2 = props.configure.props.base;
|
|
166
|
+
if (propsBase2.prop) {
|
|
167
|
+
let propName = propsBase2.prop;
|
|
168
|
+
if (propName.startsWith("${")) {
|
|
169
|
+
propName = propName.substring(2, propName.length - 1);
|
|
170
|
+
}
|
|
171
|
+
if (propName.includes(".")) {
|
|
172
|
+
propName = propName.substring(propName.indexOf(".") + 1);
|
|
173
|
+
}
|
|
174
|
+
globalRefs.addComponentRefByCode(props.pageContext, propName, thisRef);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
const propsBase = props.configure.props ? props.configure.props.base : null;
|
|
178
|
+
if (propsBase && propsBase.prop) {
|
|
179
|
+
let propName = propsBase.prop;
|
|
180
|
+
propName = pageHelperUtil.getFormPropName(propName);
|
|
181
|
+
pageInitUtil.controlObjectRenderState(props.pageContext, propName);
|
|
182
|
+
props.pageContext.propTitleMap = props.pageContext.propTitleMap || {};
|
|
183
|
+
props.pageContext.propTitleMap[propName] = propsBase.title ? propsBase.title : propName;
|
|
184
|
+
}
|
|
185
|
+
setComponentHeight();
|
|
186
|
+
}
|
|
187
|
+
let timer;
|
|
188
|
+
Vue.onMounted(() => {
|
|
189
|
+
dynamicallyCalculatePosition();
|
|
190
|
+
pageContextUtil.countComponentsLoadedNumber();
|
|
191
|
+
timer = setTimeout(() => {
|
|
192
|
+
if (pageContextUtil.componentsTotalNmber === pageContextUtil.componentsLoadedNumber && !pageContextUtil.pageComponentsLoaded) {
|
|
193
|
+
pageContextUtil.setPageComponentsLoaded(true);
|
|
194
|
+
}
|
|
195
|
+
}, 30);
|
|
196
|
+
});
|
|
197
|
+
Vue.onUnmounted(() => {
|
|
198
|
+
if (timer) {
|
|
199
|
+
clearTimeout(timer);
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
function setComponentHeight() {
|
|
203
|
+
if (!thisRef.value) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
const sizeConfig = pageHelperUtil.getSizeConfig(props.pageContext, props.configure);
|
|
207
|
+
if (props.configure.name !== "table" && sizeConfig && sizeConfig["isCalcHeight"]) {
|
|
208
|
+
Vue.nextTick(() => {
|
|
209
|
+
let thisRefDom = thisRef.value.$el;
|
|
210
|
+
if (!thisRefDom) {
|
|
211
|
+
thisRefDom = thisRef.value;
|
|
212
|
+
}
|
|
213
|
+
const parentNode = thisRefDom.parentNode;
|
|
214
|
+
if (!thisRefDom || !parentNode) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
const rect = thisRefDom.getBoundingClientRect();
|
|
218
|
+
let contentHeight = window.innerHeight - rect.y - 80;
|
|
219
|
+
let heightStyle = contentHeight + "";
|
|
220
|
+
if (commonUtil.isNumber(contentHeight)) {
|
|
221
|
+
heightStyle = contentHeight + "px";
|
|
222
|
+
}
|
|
223
|
+
runtimeStyle.value["height"] = heightStyle;
|
|
224
|
+
runtimeStyle.value["overflow-y"] = "auto";
|
|
225
|
+
runtimeStyle.value["overflow-x"] = "hidden";
|
|
226
|
+
if (!props.configure.sytle) {
|
|
227
|
+
props.configure.sytle = {};
|
|
228
|
+
}
|
|
229
|
+
props.configure.sytle._heightStyle = heightStyle;
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const dynamicallyCalculatePosition = () => {
|
|
234
|
+
if (!thisRef.value) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
let thisRefDom = thisRef.value.$el;
|
|
238
|
+
if (!thisRefDom) {
|
|
239
|
+
thisRefDom = thisRef.value;
|
|
240
|
+
}
|
|
241
|
+
const parentNode = thisRefDom.parentNode;
|
|
242
|
+
if (!thisRefDom || !parentNode) {
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
const thisProps = props.configure.props ? props.configure.props : {};
|
|
246
|
+
const thisStyle = props.configure.style ? props.configure.style : {};
|
|
247
|
+
const position = thisProps.position;
|
|
248
|
+
if (position == "top" || position == "bottom") ;
|
|
249
|
+
else if (thisStyle.position) ;
|
|
250
|
+
};
|
|
251
|
+
return (_ctx, _cache) => {
|
|
252
|
+
return Vue.unref(isHasBranchFieldAuthAndPermission) && Vue.unref(eventUtil.isShowComponent)(_ctx.configure) ? Vue.withDirectives((Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(dynamicComponent.value), {
|
|
253
|
+
key: 0,
|
|
254
|
+
ref: setComponentRef,
|
|
255
|
+
style: Vue.normalizeStyle(runtimeStyle.value),
|
|
256
|
+
class: Vue.normalizeClass(runtimeClass.value),
|
|
257
|
+
configure: _ctx.configure,
|
|
258
|
+
pageContext: _ctx.pageContext
|
|
259
|
+
}, null, 8, ["style", "class", "configure", "pageContext"])), [
|
|
260
|
+
[Vue.vShow, Vue.unref(showFlag)]
|
|
261
|
+
]) : Vue.createCommentVNode("", true);
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const extractWorkflowRuntime_vue_vue_type_script_setup_true_lang = require("./extract-workflow-runtime.vue2.js");
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
5
|
+
const extractWorkflowRuntime = /* @__PURE__ */ _pluginVue_exportHelper(extractWorkflowRuntime_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-51207a9f"]]);
|
|
6
|
+
module.exports = extractWorkflowRuntime;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
4
|
+
const i18nUtil = require("../../../../utils/i18n-util.js");
|
|
5
|
+
const index39f4c2e9 = require("../../../../../../node_modules/.pnpm/agilebuilder-ui@1.1.58_@vue_29e6d749740d5c0a82211de8e577b320/node_modules/agilebuilder-ui/lib/index-39f4c2e9.js");
|
|
6
|
+
const index = require("../../../../../../node_modules/.pnpm/@element-plus_icons-vue@2.3.2_vue@3.5.18_typescript@5.4.5_/node_modules/@element-plus/icons-vue/dist/index.js");
|
|
7
|
+
const _hoisted_1 = { class: "page-runtime-header-btn" };
|
|
8
|
+
const _hoisted_2 = { class: "dialog-footer" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
10
|
+
__name: "extract-workflow-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props, { expose: __expose }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ruleFormRef = Vue.ref();
|
|
18
|
+
const showOrganizationTreeFlag = Vue.ref(false);
|
|
19
|
+
const dialogVisible = Vue.ref(false);
|
|
20
|
+
const formData = Vue.ref({});
|
|
21
|
+
const rules = Vue.ref({
|
|
22
|
+
loginName: [],
|
|
23
|
+
opinion: []
|
|
24
|
+
});
|
|
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
|
+
if (runtimeInfo.props) {
|
|
30
|
+
if (runtimeInfo.props.requireExtractTransactor === true) {
|
|
31
|
+
rules.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }];
|
|
32
|
+
}
|
|
33
|
+
if (runtimeInfo.props.isMustOpinion === true) {
|
|
34
|
+
rules.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function isButtongLoading() {
|
|
38
|
+
return props.pageContext.canClick !== void 0 && props.pageContext.clickUuid !== void 0 ? !props.pageContext.canClick && props.pageContext.clickUuid === props.configure.uuid : false;
|
|
39
|
+
}
|
|
40
|
+
const componentRef = Vue.ref(null);
|
|
41
|
+
Vue.onMounted(() => {
|
|
42
|
+
Vue.nextTick(() => {
|
|
43
|
+
eventUtil.handleAfterInitEvent(null, props.pageContext, props.configure, {
|
|
44
|
+
componentRef: componentRef.value,
|
|
45
|
+
entity: props.pageContext.entity.data,
|
|
46
|
+
pageData: props.pageContext.entity.page
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
function triggerButtonClick() {
|
|
51
|
+
if (componentRef.value) {
|
|
52
|
+
componentRef.value.$el.click();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function showOrganizationTree() {
|
|
56
|
+
showOrganizationTreeFlag.value = true;
|
|
57
|
+
}
|
|
58
|
+
function emptyOrganizationResult() {
|
|
59
|
+
formData.value.loginName = "";
|
|
60
|
+
formData.value.name = "";
|
|
61
|
+
}
|
|
62
|
+
function closeDeptUserTree(selectedData) {
|
|
63
|
+
showOrganizationTreeFlag.value = false;
|
|
64
|
+
formData.value.loginName = selectedData ? selectedData.loginName : "";
|
|
65
|
+
formData.value.name = selectedData ? selectedData.name : "";
|
|
66
|
+
}
|
|
67
|
+
function initiateExtract() {
|
|
68
|
+
ruleFormRef.value.validate((valid, fields) => {
|
|
69
|
+
if (valid) {
|
|
70
|
+
const params = { loginName: formData.value.loginName, opinion: formData.value.opinion };
|
|
71
|
+
eventUtil.handleEvent(params, props.pageContext, props.configure, "click");
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
__expose({
|
|
76
|
+
click: triggerButtonClick
|
|
77
|
+
});
|
|
78
|
+
return (_ctx, _cache) => {
|
|
79
|
+
const _component_el_button = Vue.resolveComponent("el-button");
|
|
80
|
+
const _component_el_icon = Vue.resolveComponent("el-icon");
|
|
81
|
+
const _component_el_input = Vue.resolveComponent("el-input");
|
|
82
|
+
const _component_el_form_item = Vue.resolveComponent("el-form-item");
|
|
83
|
+
const _component_el_form = Vue.resolveComponent("el-form");
|
|
84
|
+
const _component_el_dialog = Vue.resolveComponent("el-dialog");
|
|
85
|
+
return Vue.openBlock(), Vue.createElementBlock("span", _hoisted_1, [
|
|
86
|
+
Vue.createVNode(_component_el_button, {
|
|
87
|
+
ref_key: "componentRef",
|
|
88
|
+
ref: componentRef,
|
|
89
|
+
disabled: isButtongLoading(),
|
|
90
|
+
class: Vue.normalizeClass(Vue.unref(runtimeClass)),
|
|
91
|
+
style: Vue.normalizeStyle(Vue.unref(runtimeStyle)),
|
|
92
|
+
type: designProperty.value.type,
|
|
93
|
+
size: designProperty.value.size,
|
|
94
|
+
round: designProperty.value.round,
|
|
95
|
+
plain: designProperty.value.plain,
|
|
96
|
+
loading: isButtongLoading(),
|
|
97
|
+
onClick: _cache[0] || (_cache[0] = ($event) => dialogVisible.value = true)
|
|
98
|
+
}, {
|
|
99
|
+
default: Vue.withCtx(() => [
|
|
100
|
+
Vue.createTextVNode(Vue.toDisplayString(Vue.unref(i18nUtil.$t)(designProperty.value.title)), 1)
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]),
|
|
104
|
+
Vue.createVNode(_component_el_dialog, {
|
|
105
|
+
modelValue: dialogVisible.value,
|
|
106
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => dialogVisible.value = $event),
|
|
107
|
+
title: "选择办理人",
|
|
108
|
+
width: "500"
|
|
109
|
+
}, {
|
|
110
|
+
footer: Vue.withCtx(() => [
|
|
111
|
+
Vue.createElementVNode("div", _hoisted_2, [
|
|
112
|
+
Vue.createVNode(_component_el_button, {
|
|
113
|
+
onClick: _cache[5] || (_cache[5] = ($event) => dialogVisible.value = false)
|
|
114
|
+
}, {
|
|
115
|
+
default: Vue.withCtx(() => _cache[7] || (_cache[7] = [
|
|
116
|
+
Vue.createTextVNode("取消", -1)
|
|
117
|
+
])),
|
|
118
|
+
_: 1,
|
|
119
|
+
__: [7]
|
|
120
|
+
}),
|
|
121
|
+
Vue.createVNode(_component_el_button, {
|
|
122
|
+
type: "primary",
|
|
123
|
+
onClick: initiateExtract
|
|
124
|
+
}, {
|
|
125
|
+
default: Vue.withCtx(() => _cache[8] || (_cache[8] = [
|
|
126
|
+
Vue.createTextVNode(" 确定 ", -1)
|
|
127
|
+
])),
|
|
128
|
+
_: 1,
|
|
129
|
+
__: [8]
|
|
130
|
+
})
|
|
131
|
+
])
|
|
132
|
+
]),
|
|
133
|
+
default: Vue.withCtx(() => [
|
|
134
|
+
Vue.createVNode(_component_el_form, {
|
|
135
|
+
ref_key: "ruleFormRef",
|
|
136
|
+
ref: ruleFormRef,
|
|
137
|
+
style: { "max-width": "600px" },
|
|
138
|
+
model: formData.value,
|
|
139
|
+
rules: rules.value,
|
|
140
|
+
"label-width": "auto"
|
|
141
|
+
}, {
|
|
142
|
+
default: Vue.withCtx(() => [
|
|
143
|
+
Vue.createVNode(_component_el_form_item, {
|
|
144
|
+
label: "办理人",
|
|
145
|
+
prop: "loginName"
|
|
146
|
+
}, {
|
|
147
|
+
default: Vue.withCtx(() => [
|
|
148
|
+
Vue.createVNode(_component_el_input, {
|
|
149
|
+
"model-value": formData.value.name,
|
|
150
|
+
readonly: true,
|
|
151
|
+
type: "text",
|
|
152
|
+
placeholder: "选择办理人",
|
|
153
|
+
onClick: _cache[3] || (_cache[3] = ($event) => showOrganizationTree())
|
|
154
|
+
}, {
|
|
155
|
+
append: Vue.withCtx(() => [
|
|
156
|
+
Vue.createVNode(_component_el_icon, {
|
|
157
|
+
class: "el-input__icon",
|
|
158
|
+
onClick: _cache[1] || (_cache[1] = ($event) => showOrganizationTree())
|
|
159
|
+
}, {
|
|
160
|
+
default: Vue.withCtx(() => [
|
|
161
|
+
Vue.createVNode(Vue.unref(index.Search))
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
Vue.createVNode(_component_el_icon, {
|
|
166
|
+
class: "el-input__icon",
|
|
167
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emptyOrganizationResult())
|
|
168
|
+
}, {
|
|
169
|
+
default: Vue.withCtx(() => [
|
|
170
|
+
Vue.createVNode(Vue.unref(index.Delete))
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
})
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
}, 8, ["model-value"])
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
}),
|
|
180
|
+
Vue.createVNode(_component_el_form_item, {
|
|
181
|
+
label: "意见",
|
|
182
|
+
prop: "opinion"
|
|
183
|
+
}, {
|
|
184
|
+
default: Vue.withCtx(() => [
|
|
185
|
+
Vue.createVNode(_component_el_input, {
|
|
186
|
+
modelValue: formData.value.opinion,
|
|
187
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formData.value.opinion = $event),
|
|
188
|
+
type: "textarea"
|
|
189
|
+
}, null, 8, ["modelValue"])
|
|
190
|
+
]),
|
|
191
|
+
_: 1
|
|
192
|
+
}),
|
|
193
|
+
showOrganizationTreeFlag.value ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index39f4c2e9.am), {
|
|
194
|
+
key: 0,
|
|
195
|
+
width: "60%",
|
|
196
|
+
multiple: false,
|
|
197
|
+
onClose: closeDeptUserTree
|
|
198
|
+
})) : Vue.createCommentVNode("", true)
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}, 8, ["model", "rules"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
}, 8, ["modelValue"])
|
|
205
|
+
]);
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const commonUtil = require("../../../../utils/common-util.js");
|
|
4
|
+
const _hoisted_1 = { key: 0 };
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "pictureflow-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
var _a;
|
|
13
|
+
const props = __props;
|
|
14
|
+
const maxHeight = Vue.ref(null);
|
|
15
|
+
const heightStyle = (_a = props.configure.sytle) == null ? void 0 : _a._heightStyle;
|
|
16
|
+
if (heightStyle && (heightStyle + "").indexOf("px") > 0) {
|
|
17
|
+
const contentHeight = heightStyle.substring(0, heightStyle.lastIndexOf("px"));
|
|
18
|
+
maxHeight.value = Number(contentHeight) - 20;
|
|
19
|
+
} else {
|
|
20
|
+
maxHeight.value = window.innerHeight - 120;
|
|
21
|
+
}
|
|
22
|
+
const historyGraphRef = Vue.ref(null);
|
|
23
|
+
const workflowId = commonUtil.getWorkflowId(props.pageContext);
|
|
24
|
+
if (props.pageContext.entity && props.pageContext.entity.task) {
|
|
25
|
+
Vue.watch(
|
|
26
|
+
props.pageContext.entity.task.id,
|
|
27
|
+
() => {
|
|
28
|
+
if (workflowId && historyGraphRef.value) {
|
|
29
|
+
historyGraphRef.value.refresh();
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{ immediate: true }
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
const _component_workflow_history = Vue.resolveComponent("workflow-history");
|
|
37
|
+
return !Vue.unref(workflowId) ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_1, Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.flowNotStart")), 1)) : (Vue.openBlock(), Vue.createBlock(_component_workflow_history, {
|
|
38
|
+
key: 1,
|
|
39
|
+
id: Vue.unref(workflowId),
|
|
40
|
+
ref_key: "historyGraphRef",
|
|
41
|
+
ref: historyGraphRef,
|
|
42
|
+
style: Vue.normalizeStyle({ maxHeight: maxHeight.value + "px" })
|
|
43
|
+
}, null, 8, ["id", "style"]));
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
module.exports = _sfc_main;
|
package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const Vue = require("vue");
|
|
3
|
+
const commonUtil = require("../../../../utils/common-util.js");
|
|
4
|
+
const _hoisted_1 = { key: 0 };
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
6
|
+
__name: "textflow-runtime",
|
|
7
|
+
props: {
|
|
8
|
+
pageContext: {},
|
|
9
|
+
configure: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
var _a;
|
|
13
|
+
const props = __props;
|
|
14
|
+
const maxHeight = Vue.ref(null);
|
|
15
|
+
const heightStyle = (_a = props.configure.sytle) == null ? void 0 : _a._heightStyle;
|
|
16
|
+
if (heightStyle && (heightStyle + "").indexOf("px") > 0) {
|
|
17
|
+
const contentHeight = heightStyle.substring(0, heightStyle.lastIndexOf("px"));
|
|
18
|
+
maxHeight.value = Number(contentHeight) - 20;
|
|
19
|
+
} else {
|
|
20
|
+
maxHeight.value = window.innerHeight - 120;
|
|
21
|
+
}
|
|
22
|
+
const historyList = Vue.ref(null);
|
|
23
|
+
const workflowId = commonUtil.getWorkflowId(props.pageContext);
|
|
24
|
+
if (props.pageContext.entity && props.pageContext.entity.task) {
|
|
25
|
+
Vue.watch(
|
|
26
|
+
() => {
|
|
27
|
+
var _a2;
|
|
28
|
+
return (_a2 = props.pageContext.entity.task) == null ? void 0 : _a2.id;
|
|
29
|
+
},
|
|
30
|
+
() => {
|
|
31
|
+
if (workflowId && historyList.value && props.pageContext.entity.task) {
|
|
32
|
+
historyList.value.refresh();
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{ immediate: true }
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
return (_ctx, _cache) => {
|
|
39
|
+
const _component_workflow_history_list = Vue.resolveComponent("workflow-history-list");
|
|
40
|
+
return !Vue.unref(workflowId) ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_1, Vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.flowNotStart")), 1)) : (Vue.openBlock(), Vue.createBlock(_component_workflow_history_list, {
|
|
41
|
+
key: 1,
|
|
42
|
+
ref_key: "historyList",
|
|
43
|
+
ref: historyList,
|
|
44
|
+
"workflow-id": Vue.unref(workflowId),
|
|
45
|
+
style: Vue.normalizeStyle({ maxHeight: maxHeight.value + "px" })
|
|
46
|
+
}, null, 8, ["workflow-id", "style"]));
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const workflowbuttonRuntime_vue_vue_type_script_setup_true_lang = require("./workflowbutton-runtime.vue2.js");
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
5
|
+
const workflowbuttonRuntime = /* @__PURE__ */ _pluginVue_exportHelper(workflowbuttonRuntime_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-3078f246"]]);
|
|
6
|
+
module.exports = workflowbuttonRuntime;
|