@gct-paas/excel 0.1.40-beta.27 → 0.1.40-beta.28
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/{BaseComponent-B0s9C7u7.js → BaseComponent-EzX32ZdY.js} +2 -2
- package/dist/{VueVideoPlayer-BCGJs86_.js → VueVideoPlayer-BuuQaqyI.js} +2 -2
- package/dist/{align-editor-DBWdbAV_.js → align-editor-DWHHVeY1.js} +1 -1
- package/dist/{barcode-design-YdLnj4EK.js → barcode-design-B0WcJSEI.js} +2 -2
- package/dist/base/index.es.js +109 -62
- package/dist/{diagonal-design-vCovyGwZ.js → diagonal-design-D6uOJZmP.js} +2 -2
- package/dist/{dynamic-table-action-9oc6dkLz.js → dynamic-table-action-D-ub6KoK.js} +106 -84
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js} +385 -371
- package/dist/{edit.utils-CXmmCnxE-BvWz-8bv.js → edit.utils-CXmmCnxE-CXdATd1V.js} +1 -1
- package/dist/excel.css +29 -20
- package/dist/{exceljs.min-Dp6PAQE9.js → exceljs.min-BXhhaToT.js} +2 -2
- package/dist/{font-editor-gcStnuue.js → font-editor-_HTdKFX6.js} +3 -3
- package/dist/{image-design-DJ3VRU2t.js → image-design-4Ee8rZqa.js} +2 -2
- package/dist/{index-agcLaGBj.js → index-7AmrbQlC.js} +2 -2
- package/dist/{index-DXqsUrWV.js → index-8ZnBcx1k.js} +3 -3
- package/dist/{index-Ck06j4gn.js → index-B4LuUmbW.js} +2 -2
- package/dist/{index-BHTcJLrz.js → index-BCCIwSnM.js} +1 -1
- package/dist/{index-y3jt4BZe.js → index-BHJxBByd.js} +1 -1
- package/dist/{index-sWtzbaDv.js → index-BLf1U1A9.js} +3 -3
- package/dist/{index-CFvLIeFl.js → index-BYq7x5n6.js} +1 -1
- package/dist/{index-DnsZjDDh.js → index-B_DPnVrC.js} +2 -2
- package/dist/{index-D3ZQLjrQ.js → index-Bbyb-owd.js} +2 -2
- package/dist/{index-B5AUi6i3.js → index-BlMiHVOC.js} +1 -1
- package/dist/{index-D6eANpFX.js → index-BnOOLcX1.js} +2 -2
- package/dist/{index-Avrz1-1F.js → index-Bnt54Sc6.js} +2 -2
- package/dist/{index-CtEUzXVk.js → index-CH_C9ijO.js} +2 -2
- package/dist/{index-7WwJSlNN.js → index-CMdXdyvs.js} +2 -2
- package/dist/{index-CzUGIYOv.js → index-CQ0_Kx1_.js} +2 -2
- package/dist/{index-Mg-zrcwn.js → index-Cb7Fh_E2.js} +2 -2
- package/dist/{index-D90UOUAU.js → index-CtVFTmHZ.js} +3 -3
- package/dist/{index-CFTsMiRR.js → index-D3KiKYMR.js} +1 -1
- package/dist/{index-BaCa0TgP.js → index-D87CVHA-.js} +2 -2
- package/dist/{index-AmKjgww5.js → index-DM0OEvdI.js} +1 -1
- package/dist/{index-Dzl5Ukft.js → index-DPTR_QJn.js} +1 -1
- package/dist/{index-cOcBl2Ga.js → index-DVzaxa5k.js} +2 -2
- package/dist/{index-DIodi5gH.js → index-DcXbL-0o.js} +4 -4
- package/dist/{index-iYYd2oH1.js → index-Dn0qfALy.js} +3 -3
- package/dist/{index-Cl-QMM1R.js → index-Dnz3YPDV.js} +2 -2
- package/dist/{index-DPP4WDPc.js → index-DoWp9uDw.js} +2 -2
- package/dist/{index-BCeR77y-.js → index-Dstr-PNj.js} +2 -2
- package/dist/{index-BsmHcJs3.js → index-DzqaKW6e.js} +2 -2
- package/dist/{index-2mRh7iFw.js → index-GoAXo3fT.js} +224 -180
- package/dist/{index-gWEP20xe.js → index-Jy2tofdo.js} +3 -3
- package/dist/{index-BYf9Fudx.js → index-KRo2-iQv.js} +3 -3
- package/dist/{index-COOampHb.js → index-KuhYPy5i.js} +1 -1
- package/dist/{index-CLLc5Ob2.js → index-YlEOHde0.js} +1 -1
- package/dist/{index-D9j3S6qI.js → index-toqlO_-B.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js} +1 -1
- package/dist/{pagination-design-BZZcBbIF.js → pagination-design-DANnqQdI.js} +2 -2
- package/dist/paper-widget-design-BrE7Bb4V.js +4 -0
- package/dist/{print-runtime-instance-CV0WcU-Z.js → print-runtime-instance-PabaORE2.js} +1 -1
- package/dist/{print-snapshot-renderer-hHd4ThE0.js → print-snapshot-renderer-DQr2G7Hv.js} +3 -3
- package/dist/{qrcode-design-C8d7cE3K.js → qrcode-design-BEA1JchI.js} +1 -1
- package/dist/{revo-grid.entry-DSnc_nH1.js → revo-grid.entry-Bj-4xHie.js} +1 -1
- package/dist/{revogr-attribution_7.entry-D67ci-yw.js → revogr-attribution_7.entry-NvaozwYj.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C9h0dhAb.js → revogr-clipboard_3.entry-CkRbECsx.js} +2 -2
- package/dist/{revogr-data_4.entry-DuuRVRex.js → revogr-data_4.entry-Dbbd8Mpz.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BeIaYORN.js → revogr-filter-panel.entry-lcMbXUNb.js} +1 -1
- package/dist/seal-design-CX-ZxOn3.js +4 -0
- package/dist/{serialnumber-design-wyJY14Fx.js → serialnumber-design-B608oYcy.js} +1 -1
- package/dist/shared/index.es.js +6 -6
- package/dist/{single-field-drop-CA6EtCtR.js → single-field-drop-CkUP3H7u.js} +2 -2
- package/dist/{size-editor-lAn0ECzs.js → size-editor-Bl-lUcdU.js} +1 -1
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2 -1
- package/dist/src/online-form/src/views/designer/types/index.d.ts +3 -1
- package/dist/{sub-table-factory-CwbQEPJq.js → sub-table-factory-GzYKYE9t.js} +2 -2
- package/dist/{text-design-Bv4PfeOW.js → text-design-V3TQuLps.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BaXaGrUw.js → throttle-Cpk1LoGk-CFMeLNb-.js} +1 -1
- package/dist/{timediff-design-CxT_O6R8.js → timediff-design-DRum3zZt.js} +1 -1
- package/dist/{trace-like-wrapper-CGe5K_FN.js → trace-like-wrapper-D1Gzs1mF.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js → value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js} +2 -2
- package/dist/{widget-barcode-C83yiwNl.js → widget-barcode-CNrl2NxY.js} +4 -4
- package/dist/{widget-diagonal-C-zD-MLy.js → widget-diagonal-CqjD1SwW.js} +3 -3
- package/dist/{widget-image-DIcnWHn7.js → widget-image-Xjl5W2Fp.js} +4 -4
- package/dist/{widget-line-BnMezWy-.js → widget-line-BUVVnwrU.js} +2 -2
- package/dist/{widget-pagination-QWM1Nmlo.js → widget-pagination-DjMXWioI.js} +5 -5
- package/dist/{widget-power-DnqxPUmW.js → widget-power-Dck9H8a9.js} +3 -3
- package/dist/{widget-qrcode-PBnm6ehD.js → widget-qrcode-Cu8BwE24.js} +3 -3
- package/dist/{widget-rangelimit-CDyYKHeg.js → widget-rangelimit-DLxebCKf.js} +3 -3
- package/dist/{widget-serialnumber-BwS-Ac9h.js → widget-serialnumber-DecFCGS0.js} +1 -1
- package/dist/{widget-text-COW-IQ1P.js → widget-text-DV3yKKsx.js} +5 -5
- package/dist/{widget-timediff-RpQcMPpb.js → widget-timediff-BIwewJ39.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-Coh8v5mV.js +0 -4
- package/dist/seal-design-DfKie-Qg.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
2
|
import { createVNode, computed, unref, ref as ref$1, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, normalizeClass, h, normalizeStyle, watchEffect, renderSlot, shallowRef, defineAsyncComponent, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, Teleport, getCurrentScope, onScopeDispose, getCurrentInstance as getCurrentInstance$1, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, useAttrs, createSlots, useCssVars, onBeforeMount, toRef, mergeDefaults, toHandlers, Transition, useModel, mergeModels as mergeModels$1, onErrorCaptured, markRaw } from "vue";
|
|
3
|
-
import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as resolveAutofillToField, h as SubTableType, j as getAllBusinessRefModelTypes, D as DateObjectContext, k as isBlank$1, F as FIELD_TYPE, l as isSameFieldValue$1, m as runDateObjectHandler, n as companionIdKey, o as companionLabelKey, p as api, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, P as PaginationFormat, q as PaperWidgeType, B as BwipCodeType, L as LineType, t as PageSizeEnum, O as Orientation, v as src, T as TRACE_FIELD_TYPES, x as BUSINESS_FIELD_TYPES, y as resolveFieldRenderComponent, C as ComponentTypeEnum, z as parse$2, A as estraverse, E as Syntax, G as isDynamicCreateTarget, H as CellType, J as isDynamicCellSubTable, K as ParamModelTypeEnum, M as getBusinessFieldKey, N as FieldTypeToJs, Q as CreateType, R as uuid2, U as useModal, V as requireEstraverse, W as commonjsGlobal, X as getDefaultExportFromCjs, Y as PaperWidgeValueType, Z as onlineFormMasterModelTypeEnum, _ as WAREHOUSE_FIELD_TYPES, $ as UniqueConstraintType, a0 as FieldDefaultValueTypeEnum, a1 as FormTypeEnum, a2 as mitt, a3 as isDateObjectField, a4 as PlatformEnum, a5 as LabelPosition, a6 as BooleanShowMode, a7 as SignatureImageDirectionEnum, a8 as FallbackSignTypeEnum, a9 as SignatureNumberTypeEnum, aa as SignatureTimeTypeEnum, ab as SignShowTypeEnum, ac as SignatureTypeEnum, ad as useNamespace, ae as _export_sfc, af as normalizeFieldType, ag as PaperSizeMap, ah as getFieldMain, ai as buildUUID, aj as FieldIconMap, ak as BigNumber, al as FieldSysVarDefaultValueEnum, am as CellWidgetViewState, an as DiagonalDirection, ao as WidgetImageSizeMode, ap as LineDirection, aq as TimeDiffFormat, ar as DiagonalVertex, as as resolveDiagonalVertex, at as getThemeColorByTableType, au as ViewTypeEnum, av as isDynamicSubTablePanelType, aw as isFixedSubTablePanelType, ax as ExpressionModeEnum, ay as ReturnTypeEnum, az as ExpressionTabEnum, aA as RangeValidateMode, aB as RangeCompareOp, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as findFieldMain, aF as DecimalDisplayMode$1, aG as ImageDisplayModeEnum, aH as FormDesignEnum, aI as BASIC_FIELD_TYPES, aJ as buildDeviceFilterQuery, aK as refUtils, aL as getAllTableProfiles, aM as getAugmentedNamespace, aN as transformUtils, aO as EmptySymbol, aP as ASSIGNMENTSTRATEGY_ENUM, aQ as Dependency_ENUM, aR as EntityModelCategoryEnum, aS as resolveLotDisplayLabel, aT as CheckDsTypeEnum, aU as DeviceLink, aV as DeviceParamsTypeTitle, aW as AITooltips, aX as DenoiseMethodOptions, aY as BinarizeMethodOptions, aZ as JoinModelTypeEum, a_ as sqlUtils, a$ as DateFormat, b0 as withRequestCache, b1 as LOT_CONTAINER_ROLE, b2 as buildLotSnListQuery, b3 as renderUtils, b4 as resolveLotRecordByValue, b5 as materialCheck, b6 as getLotLockedReason, b7 as validateReinspectionDate, b8 as buildMaterialLotListQuery, b9 as ProductionIdentificationTypeEnum, ba as BindCmpStyleEnum, bb as getParseRuleInfo, bc as getParseRuleValue, bd as normalizeRefLoaderResult, be as STOCKTAKE_DIMENSION, bf as F, bg as resolveStocktakeSelectApi, bh as normalizeProductionContainerOptions, bi as buildProductionLotListQuery, bj as buildInspectionLotListQuery, bk as DEVICE_GROUP_QUERY_KEY, bl as parseRuntimeFieldPath, bm as getRowId, bn as findRuntimeTableRow, bo as RenderModeEnum, bp as findRuntimeParentRow, bq as useOnlineFormTransformField2Component, br as FormulaRuleFieldKeyEnum, bs as formulaRuleFieldDict, bt as resolveDesignPanelFeatures, bu as BIZ_TABLE_CONFIG_SEED_TYPES, bv as STOCKTAKE_DIMENSION_OPTIONS, bw as isRepeatingSubTablePanelType, bx as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
+
import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as resolveAutofillToField, h as SubTableType, j as getAllBusinessRefModelTypes, D as DateObjectContext, k as isBlank$1, F as FIELD_TYPE, l as isSameFieldValue$1, m as runDateObjectHandler, n as companionIdKey, o as companionLabelKey, p as api, I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, P as PaginationFormat, q as PaperWidgeType, B as BwipCodeType, L as LineType, t as PageSizeEnum, O as Orientation, v as src, T as TRACE_FIELD_TYPES, x as BUSINESS_FIELD_TYPES, y as resolveFieldRenderComponent, C as ComponentTypeEnum, z as parse$2, A as estraverse, E as Syntax, G as isDynamicCreateTarget, H as CellType, J as isDynamicCellSubTable, K as ParamModelTypeEnum, M as getBusinessFieldKey, N as FieldTypeToJs, Q as CreateType, R as uuid2, U as useModal, V as requireEstraverse, W as commonjsGlobal, X as getDefaultExportFromCjs, Y as PaperWidgeValueType, Z as onlineFormMasterModelTypeEnum, _ as WAREHOUSE_FIELD_TYPES, $ as UniqueConstraintType, a0 as FieldDefaultValueTypeEnum, a1 as FormTypeEnum, a2 as mitt, a3 as isDateObjectField, a4 as PlatformEnum, a5 as LabelPosition, a6 as BooleanShowMode, a7 as SignatureImageDirectionEnum, a8 as FallbackSignTypeEnum, a9 as SignatureNumberTypeEnum, aa as SignatureTimeTypeEnum, ab as SignShowTypeEnum, ac as SignatureTypeEnum, ad as useNamespace, ae as _export_sfc, af as normalizeFieldType, ag as PaperSizeMap, ah as getFieldMain, ai as buildUUID, aj as FieldIconMap, ak as BigNumber, al as FieldSysVarDefaultValueEnum, am as CellWidgetViewState, an as DiagonalDirection, ao as WidgetImageSizeMode, ap as LineDirection, aq as TimeDiffFormat, ar as DiagonalVertex, as as resolveDiagonalVertex, at as getThemeColorByTableType, au as ViewTypeEnum, av as isDynamicSubTablePanelType, aw as isFixedSubTablePanelType, ax as ExpressionModeEnum, ay as ReturnTypeEnum, az as ExpressionTabEnum, aA as RangeValidateMode, aB as RangeCompareOp, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as findFieldMain, aF as DecimalDisplayMode$1, aG as ImageDisplayModeEnum, aH as FormDesignEnum, aI as BASIC_FIELD_TYPES, aJ as buildDeviceFilterQuery, aK as refUtils, aL as getAllTableProfiles, aM as getAugmentedNamespace, aN as transformUtils, aO as EmptySymbol, aP as ASSIGNMENTSTRATEGY_ENUM, aQ as Dependency_ENUM, aR as EntityModelCategoryEnum, aS as resolveLotDisplayLabel, aT as CheckDsTypeEnum, aU as DeviceLink, aV as DeviceParamsTypeTitle, aW as AITooltips, aX as DenoiseMethodOptions, aY as BinarizeMethodOptions, aZ as JoinModelTypeEum, a_ as sqlUtils, a$ as DateFormat, b0 as withRequestCache, b1 as LOT_CONTAINER_ROLE, b2 as buildLotSnListQuery, b3 as renderUtils, b4 as resolveLotRecordByValue, b5 as materialCheck, b6 as getLotLockedReason, b7 as validateReinspectionDate, b8 as buildMaterialLotListQuery, b9 as ProductionIdentificationTypeEnum, ba as BindCmpStyleEnum, bb as getParseRuleInfo, bc as getParseRuleValue, bd as normalizeRefLoaderResult, be as STOCKTAKE_DIMENSION, bf as F, bg as resolveStocktakeSelectApi, bh as normalizeProductionContainerOptions, bi as buildProductionLotListQuery, bj as buildInspectionLotListQuery, bk as DEVICE_GROUP_QUERY_KEY, bl as parseRuntimeFieldPath, bm as getRowId, bn as findRuntimeTableRow, bo as RenderModeEnum, bp as findRuntimeParentRow, bq as useOnlineFormTransformField2Component, br as FormulaRuleFieldKeyEnum, bs as formulaRuleFieldDict, bt as resolveDesignPanelFeatures, bu as BIZ_TABLE_CONFIG_SEED_TYPES, bv as STOCKTAKE_DIMENSION_OPTIONS, bw as isRepeatingSubTablePanelType, bx as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
4
4
|
import { range as range$1, cloneDeep, get as get$4, merge, isEmpty, zip, pick, omit, has, debounce, isNil, times, clone as clone$3, differenceBy, last, mapValues, set as set$2, hasIn, isEqual } from "lodash-es";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
7
7
|
import * as Antd from "ant-design-vue";
|
|
8
8
|
import { message, Modal, Alert, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
9
|
-
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as createRuntimeDocumentV2, f as clampSealPosition, h as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, j as isCellAutoLineBreak, B as BorderTD, u as useFormModel, k as useFormTmplConfig, l as findFieldProfile, m as normalizeHistoricalBusinessRow, o as DeviceLinkTmplUtil, p as normalizeAIOcrTmpl, q as useWidgetStaticAttrs, r as useRuntimeInstanceServices, s as setSelectValidatorId, t as setSelectAnnotationId, v as useRuntimeRowState, w as getObjectBomMaterialLotQuery, x as buildObjectLotExtraQuery, y as resolveObjectFieldKeys, F as FormModelController, z as MaterialConsumptionPatternEnum, A as validateObjectBomForScan, C as resolveObjectBomEntry, E as runWithFillProduct, G as useNocodeFormWidget, H as applyConsumeObjectTraceChange, I as getObjectBomProductQuery, J as EMPTY_PRODUCT_VERSION_ID, K as normalizeHistoricalAutofillRow, L as readSealValue, N as isSealStamped, O as stampSealValue, P as isValidSealValue, Q as clearSealValue, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6C } from "./dynamic-table-action-
|
|
10
|
-
import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6B, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
9
|
+
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as createRuntimeDocumentV2, f as clampSealPosition, h as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, j as isCellAutoLineBreak, B as BorderTD, u as useFormModel, k as useFormTmplConfig, l as findFieldProfile, m as normalizeHistoricalBusinessRow, o as DeviceLinkTmplUtil, p as normalizeAIOcrTmpl, q as useWidgetStaticAttrs, r as useRuntimeInstanceServices, s as setSelectValidatorId, t as setSelectAnnotationId, v as useRuntimeRowState, w as getObjectBomMaterialLotQuery, x as buildObjectLotExtraQuery, y as resolveObjectFieldKeys, F as FormModelController, z as MaterialConsumptionPatternEnum, A as validateObjectBomForScan, C as resolveObjectBomEntry, E as runWithFillProduct, G as useNocodeFormWidget, H as applyConsumeObjectTraceChange, I as getObjectBomProductQuery, J as EMPTY_PRODUCT_VERSION_ID, K as normalizeHistoricalAutofillRow, L as readSealValue, N as isSealStamped, O as stampSealValue, P as isValidSealValue, Q as clearSealValue, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6C } from "./dynamic-table-action-D-ub6KoK.js";
|
|
10
|
+
import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6B, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js";
|
|
11
11
|
import { HttpUtil } from "@gct-paas/api";
|
|
12
12
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
13
13
|
import { useModal as useModal$1, t as t$2 } from "@gct-paas/core";
|
|
@@ -2016,7 +2016,7 @@ function openWindow(url, opt) {
|
|
|
2016
2016
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
2017
2017
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
2018
2018
|
async function createWorkbook() {
|
|
2019
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
2019
|
+
const ExcelJs = (await import("./exceljs.min-BXhhaToT.js").then((n) => n.e)).default;
|
|
2020
2020
|
return new ExcelJs.Workbook();
|
|
2021
2021
|
}
|
|
2022
2022
|
class XlsxParser {
|
|
@@ -2387,39 +2387,39 @@ class XlsxParser {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
function asyncImportClassModules() {
|
|
2389
2389
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2390
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2391
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2392
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2393
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2394
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2395
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2396
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2397
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2398
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2399
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2400
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2401
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2402
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2403
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2404
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2405
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2406
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2407
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2408
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
2409
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2410
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2411
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2412
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
2413
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
2414
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
2415
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
2416
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
2417
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
2418
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
2419
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
2420
|
-
"./paper/index.ts": () => import("./index-
|
|
2421
|
-
"./td/index.ts": () => import("./index-
|
|
2422
|
-
"./tr/index.ts": () => import("./index-
|
|
2390
|
+
"./_field_/auto-complete/index.ts": () => import("./index-Jy2tofdo.js").then((m) => m["default"]),
|
|
2391
|
+
"./_field_/datepicker/index.ts": () => import("./index-Bnt54Sc6.js").then((m) => m["default"]),
|
|
2392
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-CQ0_Kx1_.js").then((m) => m["default"]),
|
|
2393
|
+
"./_field_/department/index.ts": () => import("./index-CMdXdyvs.js").then((m) => m["default"]),
|
|
2394
|
+
"./_field_/enum-select/index.ts": () => import("./index-8ZnBcx1k.js").then((m) => m["default"]),
|
|
2395
|
+
"./_field_/input/index.ts": () => import("./index-CH_C9ijO.js").then((m) => m["default"]),
|
|
2396
|
+
"./_field_/inputdouble/index.ts": () => import("./index-BnOOLcX1.js").then((m) => m["default"]),
|
|
2397
|
+
"./_field_/inputnumber/index.ts": () => import("./index-Dstr-PNj.js").then((m) => m["default"]),
|
|
2398
|
+
"./_field_/rdo-select/index.ts": () => import("./index-CtVFTmHZ.js").then((m) => m["default"]),
|
|
2399
|
+
"./_field_/seal/index.ts": () => import("./index-Dn0qfALy.js").then((m) => m["default"]),
|
|
2400
|
+
"./_field_/select/index.ts": () => import("./index-KRo2-iQv.js").then((m) => m["default"]),
|
|
2401
|
+
"./_field_/sign/index.ts": () => import("./index-B4LuUmbW.js").then((m) => m["default"]),
|
|
2402
|
+
"./_field_/switch/index.ts": () => import("./index-DcXbL-0o.js").then((m) => m["default"]),
|
|
2403
|
+
"./_field_/textarea/index.ts": () => import("./index-Dnz3YPDV.js").then((m) => m["default"]),
|
|
2404
|
+
"./_field_/timepicker/index.ts": () => import("./index-7AmrbQlC.js").then((m) => m["default"]),
|
|
2405
|
+
"./_field_/upload-file/index.ts": () => import("./index-DoWp9uDw.js").then((m) => m["default"]),
|
|
2406
|
+
"./_field_/upload-image/index.ts": () => import("./index-B_DPnVrC.js").then((m) => m["default"]),
|
|
2407
|
+
"./_field_/userpicker/index.ts": () => import("./index-DVzaxa5k.js").then((m) => m["default"]),
|
|
2408
|
+
"./_widget_/barcode/index.ts": () => import("./index-BCCIwSnM.js").then((m) => m["default"]),
|
|
2409
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-Bbyb-owd.js").then((m) => m["default"]),
|
|
2410
|
+
"./_widget_/diagonal/index.ts": () => import("./index-DzqaKW6e.js").then((m) => m["default"]),
|
|
2411
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-D87CVHA-.js").then((m) => m["default"]),
|
|
2412
|
+
"./_widget_/image/index.ts": () => import("./index-D3KiKYMR.js").then((m) => m["default"]),
|
|
2413
|
+
"./_widget_/line/index.ts": () => import("./index-BlMiHVOC.js").then((m) => m["default"]),
|
|
2414
|
+
"./_widget_/power/index.ts": () => import("./index-toqlO_-B.js").then((m) => m["default"]),
|
|
2415
|
+
"./_widget_/qrcode/index.ts": () => import("./index-DM0OEvdI.js").then((m) => m["default"]),
|
|
2416
|
+
"./_widget_/ro/index.ts": () => import("./index-YlEOHde0.js").then((m) => m["default"]),
|
|
2417
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-BHJxBByd.js").then((m) => m["default"]),
|
|
2418
|
+
"./_widget_/sub-table/index.ts": () => import("./index-BYq7x5n6.js").then((m) => m["default"]),
|
|
2419
|
+
"./_widget_/timediff/index.ts": () => import("./index-KuhYPy5i.js").then((m) => m["default"]),
|
|
2420
|
+
"./paper/index.ts": () => import("./index-DPTR_QJn.js").then((m) => m["default"]),
|
|
2421
|
+
"./td/index.ts": () => import("./index-BLf1U1A9.js").then((m) => m["default"]),
|
|
2422
|
+
"./tr/index.ts": () => import("./index-Cb7Fh_E2.js").then((m) => m["default"])
|
|
2423
2423
|
});
|
|
2424
2424
|
return modules;
|
|
2425
2425
|
}
|
|
@@ -11926,6 +11926,7 @@ const hasSelection = computed(() => {
|
|
|
11926
11926
|
return selection$1.t !== 0;
|
|
11927
11927
|
});
|
|
11928
11928
|
const copyAndNewCellCache = ref$1({});
|
|
11929
|
+
let pendingCut;
|
|
11929
11930
|
const gridLineVisible = ref$1(true);
|
|
11930
11931
|
const panelData = reactive({
|
|
11931
11932
|
type: PanelType.Paper,
|
|
@@ -12902,7 +12903,8 @@ function useSpreadSheet() {
|
|
|
12902
12903
|
});
|
|
12903
12904
|
}
|
|
12904
12905
|
async function xlsxToJson(file, payload) {
|
|
12905
|
-
const
|
|
12906
|
+
const { paperSize, width, height, orientation } = paper$1.value;
|
|
12907
|
+
const padding = cloneDeep(paper$1.value.padding);
|
|
12906
12908
|
const { w, h: paperHeight } = unref(paperLayout);
|
|
12907
12909
|
const size = [w - padding.l - padding.r + "mm", paperHeight - padding.t - padding.b + "mm"];
|
|
12908
12910
|
const { modelMetaMap: modelMetaMap2, refreshModelFields: refreshModelFields2 } = useModelFields();
|
|
@@ -12910,7 +12912,16 @@ function useSpreadSheet() {
|
|
|
12910
12912
|
const imported = await XlsxParser.xlsx2Sheets(file, payload?.withFields ? keyList : [], {
|
|
12911
12913
|
withFields: !!payload?.withFields
|
|
12912
12914
|
});
|
|
12913
|
-
imported.sheets.forEach((sheet) =>
|
|
12915
|
+
imported.sheets.forEach((sheet) => {
|
|
12916
|
+
Object.assign(sheet.paper, {
|
|
12917
|
+
paperSize,
|
|
12918
|
+
width,
|
|
12919
|
+
height,
|
|
12920
|
+
orientation,
|
|
12921
|
+
padding: cloneDeep(padding)
|
|
12922
|
+
});
|
|
12923
|
+
XlsxParser.contentFitToPaper(sheet.paper, size);
|
|
12924
|
+
});
|
|
12914
12925
|
const confirmed = await new Promise((resolve) => {
|
|
12915
12926
|
Modal.confirm({
|
|
12916
12927
|
title: `确认替换为 ${imported.sheets.length} 个工作表`,
|
|
@@ -13540,24 +13551,7 @@ function useSpreadSheet() {
|
|
|
13540
13551
|
});
|
|
13541
13552
|
return placedFieldKeys.value.has(fieldKey);
|
|
13542
13553
|
}
|
|
13543
|
-
function
|
|
13544
|
-
const subTableRanges = [];
|
|
13545
|
-
if (paper$1.value.dynamicTables?.length) {
|
|
13546
|
-
subTableRanges.push(...paper$1.value.dynamicTables.map((item) => item.range));
|
|
13547
|
-
}
|
|
13548
|
-
if (paper$1.value.fixedTables?.length) {
|
|
13549
|
-
subTableRanges.push(...paper$1.value.fixedTables.map((item) => item.range));
|
|
13550
|
-
}
|
|
13551
|
-
return subTableRanges;
|
|
13552
|
-
}
|
|
13553
|
-
function isInSubTable(range2) {
|
|
13554
|
-
const subTableRanges = getAllSubTableRanges();
|
|
13555
|
-
return subTableRanges.some((item) => isIn(range2, item));
|
|
13556
|
-
}
|
|
13557
|
-
function calcSelectionPaperData(range2, excludeOpts = {
|
|
13558
|
-
/** 排除子表字段信息 */
|
|
13559
|
-
noSubFields: true
|
|
13560
|
-
}) {
|
|
13554
|
+
function calcSelectionPaperData(range2) {
|
|
13561
13555
|
const { l, r, t: t2, b } = range2;
|
|
13562
13556
|
const cells = [];
|
|
13563
13557
|
for (let rowIndex = t2; rowIndex <= b; rowIndex++) {
|
|
@@ -13565,17 +13559,7 @@ function useSpreadSheet() {
|
|
|
13565
13559
|
const copyRow = [];
|
|
13566
13560
|
for (let colIndex = l; colIndex <= r; colIndex++) {
|
|
13567
13561
|
const cell = row[colIndex - 1];
|
|
13568
|
-
|
|
13569
|
-
if (excludeOpts.noSubFields) {
|
|
13570
|
-
if (cloneCell.type === CellType.Field && cloneCell.fieldMeta?.model !== doc.value.modelKey) {
|
|
13571
|
-
clearCellConfig(cloneCell);
|
|
13572
|
-
} else if (cloneCell.multiFields && cloneCell.multiFieldsContent?.some(
|
|
13573
|
-
(item) => item.fieldMeta && item.fieldMeta.model !== doc.value.modelKey
|
|
13574
|
-
)) {
|
|
13575
|
-
clearCellConfig(cloneCell);
|
|
13576
|
-
}
|
|
13577
|
-
}
|
|
13578
|
-
copyRow.push(cloneCell);
|
|
13562
|
+
copyRow.push(cloneDeep(cell));
|
|
13579
13563
|
}
|
|
13580
13564
|
cells.push(copyRow);
|
|
13581
13565
|
}
|
|
@@ -13609,18 +13593,57 @@ function useSpreadSheet() {
|
|
|
13609
13593
|
const rangesBStr = rangesB.filter((item) => isValidMergeCell(item)).sort(sortCompare).map((item) => `${item.t}-${item.l}-${item.b}-${item.r}`).join(",");
|
|
13610
13594
|
return rangesAStr === rangesBStr;
|
|
13611
13595
|
}
|
|
13596
|
+
function hasClipboardFields(cells) {
|
|
13597
|
+
return cells.some(
|
|
13598
|
+
(row) => row.some(
|
|
13599
|
+
(cell) => [cell, ...cell.multiFieldsContent ?? []].some(
|
|
13600
|
+
(item) => item.type === CellType.Field || !!item.fieldMeta || !!item.fieldWidget
|
|
13601
|
+
)
|
|
13602
|
+
)
|
|
13603
|
+
);
|
|
13604
|
+
}
|
|
13605
|
+
function getClipboardFieldCounts(cells) {
|
|
13606
|
+
const counts = /* @__PURE__ */ new Map();
|
|
13607
|
+
cells.forEach((row) => {
|
|
13608
|
+
row.forEach((cell) => {
|
|
13609
|
+
[cell, ...cell.multiFieldsContent ?? []].forEach(({ fieldMeta }) => {
|
|
13610
|
+
if (!fieldMeta?.field) return;
|
|
13611
|
+
const key = getBusinessFieldKey({
|
|
13612
|
+
modelKey: fieldMeta.model ?? fieldMeta.modelLink,
|
|
13613
|
+
fieldId: fieldMeta.field
|
|
13614
|
+
});
|
|
13615
|
+
counts.set(key, (counts.get(key) ?? 0) + 1);
|
|
13616
|
+
});
|
|
13617
|
+
});
|
|
13618
|
+
});
|
|
13619
|
+
return counts;
|
|
13620
|
+
}
|
|
13621
|
+
function getPlacedClipboardFieldCounts() {
|
|
13622
|
+
return getClipboardFieldCounts(
|
|
13623
|
+
sheetsData.value.flatMap(({ paper: sheetPaper }) => [
|
|
13624
|
+
...sheetPaper.cells,
|
|
13625
|
+
(sheetPaper.floatingFields ?? []).map(({ fieldMeta }) => ({ fieldMeta }))
|
|
13626
|
+
])
|
|
13627
|
+
);
|
|
13628
|
+
}
|
|
13629
|
+
function getClipboardCellContext(x, y) {
|
|
13630
|
+
const info = judgeCellInfo(x, y);
|
|
13631
|
+
return info ? JSON.stringify([info.modelKey, info.refFieldKey, info.dataGroup2D?.colModel]) : "";
|
|
13632
|
+
}
|
|
13612
13633
|
function copy() {
|
|
13613
13634
|
if (!hasSelection.value) {
|
|
13614
13635
|
message.error($t("sys.onlineForm.pleaseSelectContentToCopyFirst"));
|
|
13615
13636
|
return;
|
|
13616
13637
|
}
|
|
13617
13638
|
const selectionPaperData = calcSelectionPaperData(pick(selection$1, ["t", "l", "b", "r"]));
|
|
13639
|
+
if (hasClipboardFields(selectionPaperData.cells)) return;
|
|
13618
13640
|
return {
|
|
13619
13641
|
documentId: doc.value.id,
|
|
13620
13642
|
...selectionPaperData
|
|
13621
13643
|
};
|
|
13622
13644
|
}
|
|
13623
13645
|
function paste(type2, data) {
|
|
13646
|
+
if (sheetReadonly.value) return;
|
|
13624
13647
|
if (!hasSelection.value) {
|
|
13625
13648
|
message.error($t("sys.onlineForm.pleaseSelectAreaToPasteFirst"));
|
|
13626
13649
|
return;
|
|
@@ -13628,6 +13651,17 @@ function useSpreadSheet() {
|
|
|
13628
13651
|
if (type2 === "online-form" || type2 === "html") {
|
|
13629
13652
|
const copyData = type2 === "html" ? parseHtml(data) : data;
|
|
13630
13653
|
const isSameDoc = copyData.documentId === doc.value.id;
|
|
13654
|
+
const cutData = pendingCut;
|
|
13655
|
+
const isCut = !!(type2 === "online-form" && isSameDoc && cutData?.document === doc.value && copyData.cutId && cutData?.payload === JSON.stringify(copyData));
|
|
13656
|
+
const containsFields = hasClipboardFields(copyData.cells);
|
|
13657
|
+
if (containsFields) {
|
|
13658
|
+
if (!isCut || !cutData) return;
|
|
13659
|
+
const currentCounts = getPlacedClipboardFieldCounts();
|
|
13660
|
+
if (Array.from(cutData.remainingFieldCounts).some(
|
|
13661
|
+
([key, count]) => (currentCounts.get(key) ?? 0) !== count
|
|
13662
|
+
))
|
|
13663
|
+
return;
|
|
13664
|
+
}
|
|
13631
13665
|
const rowNum = copyData.cells.length;
|
|
13632
13666
|
const colNum = copyData.cells[0].length;
|
|
13633
13667
|
const pasteRange = {
|
|
@@ -13643,6 +13677,12 @@ function useSpreadSheet() {
|
|
|
13643
13677
|
});
|
|
13644
13678
|
return;
|
|
13645
13679
|
}
|
|
13680
|
+
if (containsFields && cutData && copyData.cells.some(
|
|
13681
|
+
(row, rowIndex) => row.some(
|
|
13682
|
+
(cell, colIndex) => hasClipboardFields([[cell]]) && cutData.contexts[rowIndex]?.[colIndex] !== getClipboardCellContext(pasteRange.l + colIndex, pasteRange.t + rowIndex)
|
|
13683
|
+
)
|
|
13684
|
+
))
|
|
13685
|
+
return;
|
|
13646
13686
|
const pasteAreaPaperData = calcSelectionPaperData(pasteRange);
|
|
13647
13687
|
let isAllowPaste = false;
|
|
13648
13688
|
if (pasteAreaPaperData.mergedCells.length === 0) {
|
|
@@ -13673,12 +13713,6 @@ function useSpreadSheet() {
|
|
|
13673
13713
|
const paperCell = paper$1.value.cells[t2 + rowIndex - 1][l + colIndex - 1];
|
|
13674
13714
|
const copyCell = copyData.cells[rowIndex][colIndex];
|
|
13675
13715
|
if (isSameDoc) {
|
|
13676
|
-
if (isInSubTable({ t: t2 + rowIndex, l: l + colIndex, b: t2 + rowIndex, r: l + colIndex })) {
|
|
13677
|
-
copyCell.fieldMeta = void 0;
|
|
13678
|
-
copyCell.multiFieldsContent = void 0;
|
|
13679
|
-
copyCell.multiFields = void 0;
|
|
13680
|
-
copyCell.type = copyCell.type === CellType.Field ? CellType.Default : copyCell.type;
|
|
13681
|
-
}
|
|
13682
13716
|
clearCell(paperCell);
|
|
13683
13717
|
paperCell.border = void 0;
|
|
13684
13718
|
Object.assign(paperCell, copyCell);
|
|
@@ -13692,6 +13726,7 @@ function useSpreadSheet() {
|
|
|
13692
13726
|
}
|
|
13693
13727
|
});
|
|
13694
13728
|
});
|
|
13729
|
+
if (isCut) pendingCut = void 0;
|
|
13695
13730
|
return;
|
|
13696
13731
|
}
|
|
13697
13732
|
if (type2 === "text") {
|
|
@@ -13887,7 +13922,7 @@ function useSpreadSheet() {
|
|
|
13887
13922
|
element.remove();
|
|
13888
13923
|
}
|
|
13889
13924
|
}
|
|
13890
|
-
const writeClipboard =
|
|
13925
|
+
const writeClipboard = (copyData, event2) => {
|
|
13891
13926
|
const payload = JSON.stringify({
|
|
13892
13927
|
_type: CopyTransferKey,
|
|
13893
13928
|
data: copyData
|
|
@@ -13900,9 +13935,43 @@ function useSpreadSheet() {
|
|
|
13900
13935
|
};
|
|
13901
13936
|
function copyAndWrite(event2) {
|
|
13902
13937
|
const copyData = copy();
|
|
13903
|
-
if (copyData)
|
|
13904
|
-
|
|
13938
|
+
if (!copyData) return false;
|
|
13939
|
+
writeClipboard(copyData, event2);
|
|
13940
|
+
pendingCut = void 0;
|
|
13941
|
+
return true;
|
|
13942
|
+
}
|
|
13943
|
+
function cutAndWrite(event2) {
|
|
13944
|
+
if (sheetReadonly.value || !hasSelection.value) return false;
|
|
13945
|
+
const data = {
|
|
13946
|
+
documentId: doc.value.id,
|
|
13947
|
+
cutId: uuid2(16),
|
|
13948
|
+
...calcSelectionPaperData(pick(selection$1, ["t", "l", "b", "r"]))
|
|
13949
|
+
};
|
|
13950
|
+
const fieldCounts = getClipboardFieldCounts(data.cells);
|
|
13951
|
+
const placedCounts = getPlacedClipboardFieldCounts();
|
|
13952
|
+
const cutData = {
|
|
13953
|
+
document: doc.value,
|
|
13954
|
+
payload: JSON.stringify(data),
|
|
13955
|
+
contexts: data.cells.map(
|
|
13956
|
+
(row, rowIndex) => row.map(
|
|
13957
|
+
(_cell, colIndex) => getClipboardCellContext(selection$1.l + colIndex, selection$1.t + rowIndex)
|
|
13958
|
+
)
|
|
13959
|
+
),
|
|
13960
|
+
remainingFieldCounts: new Map(
|
|
13961
|
+
Array.from(
|
|
13962
|
+
fieldCounts,
|
|
13963
|
+
([key, count]) => [key, (placedCounts.get(key) ?? 0) - count]
|
|
13964
|
+
)
|
|
13965
|
+
)
|
|
13966
|
+
};
|
|
13967
|
+
try {
|
|
13968
|
+
writeClipboard(data, event2);
|
|
13969
|
+
} catch {
|
|
13970
|
+
return false;
|
|
13905
13971
|
}
|
|
13972
|
+
resetRange();
|
|
13973
|
+
pendingCut = cutData;
|
|
13974
|
+
return true;
|
|
13906
13975
|
}
|
|
13907
13976
|
async function parsePaste(event2) {
|
|
13908
13977
|
function isOnlineFormData(str) {
|
|
@@ -13936,6 +14005,7 @@ function useSpreadSheet() {
|
|
|
13936
14005
|
}
|
|
13937
14006
|
}
|
|
13938
14007
|
async function copyAndNew() {
|
|
14008
|
+
if (sheetReadonly.value) return;
|
|
13939
14009
|
const { copyField } = useModelFields();
|
|
13940
14010
|
const { validateOnlyBusinessKey } = useReverseModeling();
|
|
13941
14011
|
const { l, r, t: t2, b, e } = selection$1;
|
|
@@ -14088,6 +14158,7 @@ function useSpreadSheet() {
|
|
|
14088
14158
|
clearCellContent,
|
|
14089
14159
|
parsePaste,
|
|
14090
14160
|
copyAndWrite,
|
|
14161
|
+
cutAndWrite,
|
|
14091
14162
|
copyAndNew
|
|
14092
14163
|
};
|
|
14093
14164
|
}
|
|
@@ -16189,7 +16260,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16189
16260
|
return widgetConfigList;
|
|
16190
16261
|
}
|
|
16191
16262
|
function asyncImportWidgetDesign() {
|
|
16192
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16263
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CX-ZxOn3.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-B0WcJSEI.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-D6uOJZmP.js"), "./image/image-design.vue": () => import("./image-design-4Ee8rZqa.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DANnqQdI.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BrE7Bb4V.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BEA1JchI.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-B608oYcy.js"), "./text/text-design.vue": () => import("./text-design-V3TQuLps.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DRum3zZt.js") });
|
|
16193
16264
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16194
16265
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16195
16266
|
if (mKey) {
|
|
@@ -23151,8 +23222,6 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23151
23222
|
sheetReadonly: sheetReadonly2,
|
|
23152
23223
|
globalSubTables: globalSubTables2,
|
|
23153
23224
|
clearCellContent,
|
|
23154
|
-
resetRange: resetRange2,
|
|
23155
|
-
copyAndWrite,
|
|
23156
23225
|
copyAndNew,
|
|
23157
23226
|
currentCell: currentCell2
|
|
23158
23227
|
} = useSpreadSheet();
|
|
@@ -23165,11 +23234,8 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23165
23234
|
return l === e._l && t2 === e._t && r === e._r && b === e._b;
|
|
23166
23235
|
});
|
|
23167
23236
|
const isSingleFieldCell = computed(() => {
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
return !!fieldWidget;
|
|
23171
|
-
}
|
|
23172
|
-
return false;
|
|
23237
|
+
const cell = currentCell2.value?.data;
|
|
23238
|
+
return isSelectCell.value && !!cell?.fieldMeta && !!cell.fieldWidget && !cell.multiFields;
|
|
23173
23239
|
});
|
|
23174
23240
|
const currentFixedTable = computed(() => {
|
|
23175
23241
|
const fixedTable = paper2.value.fixedTables?.find(
|
|
@@ -23217,7 +23283,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23217
23283
|
if (current2DTable.value) {
|
|
23218
23284
|
menus.push(ContextMenu$1.DataGroup2D);
|
|
23219
23285
|
}
|
|
23220
|
-
menus.push(ContextMenu$1.
|
|
23286
|
+
menus.push(ContextMenu$1.ClearCellContent);
|
|
23221
23287
|
if (isSingleFieldCell.value) {
|
|
23222
23288
|
menus.push(ContextMenu$1.CopyAndNew);
|
|
23223
23289
|
}
|
|
@@ -23277,6 +23343,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23277
23343
|
}
|
|
23278
23344
|
};
|
|
23279
23345
|
const handleMenuClick = async ({ key }) => {
|
|
23346
|
+
if (sheetReadonly2.value) return;
|
|
23280
23347
|
switch (key) {
|
|
23281
23348
|
case ContextMenu$1.InsertColBefore:
|
|
23282
23349
|
insertCols(selection2.l, formState.leftColNum, selection2.r);
|
|
@@ -23319,14 +23386,8 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23319
23386
|
case ContextMenu$1.ClearCellContent:
|
|
23320
23387
|
clearCellContent();
|
|
23321
23388
|
break;
|
|
23322
|
-
case ContextMenu$1.Copy:
|
|
23323
|
-
await copyAndWrite();
|
|
23324
|
-
break;
|
|
23325
|
-
case ContextMenu$1.Cut:
|
|
23326
|
-
await copyAndWrite();
|
|
23327
|
-
resetRange2();
|
|
23328
|
-
break;
|
|
23329
23389
|
case ContextMenu$1.CopyAndNew:
|
|
23390
|
+
if (!isSingleFieldCell.value) return;
|
|
23330
23391
|
await copyAndNew();
|
|
23331
23392
|
await formFieldC.refresh();
|
|
23332
23393
|
break;
|
|
@@ -23363,21 +23424,10 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23363
23424
|
overlay: withCtx(() => [
|
|
23364
23425
|
createVNode(_component_a_menu, { onClick: handleMenuClick }, {
|
|
23365
23426
|
default: withCtx(() => [
|
|
23366
|
-
showMenus.value.includes(unref(ContextMenu$1).Copy) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23367
|
-
key: unref(ContextMenu$1).Copy
|
|
23368
|
-
}, {
|
|
23369
|
-
icon: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
23370
|
-
createElementVNode("i", { class: "iconfont !text-[24px] icon-fuzhiq" }, null, -1)
|
|
23371
|
-
])]),
|
|
23372
|
-
default: withCtx(() => [
|
|
23373
|
-
createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.onlineForm.copy")), 1)
|
|
23374
|
-
]),
|
|
23375
|
-
_: 1
|
|
23376
|
-
})) : createCommentVNode("", true),
|
|
23377
23427
|
showMenus.value.includes(unref(ContextMenu$1).CopyAndNew) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23378
23428
|
key: unref(ContextMenu$1).CopyAndNew
|
|
23379
23429
|
}, {
|
|
23380
|
-
icon: withCtx(() => [..._cache[
|
|
23430
|
+
icon: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
23381
23431
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-fuzhibingxinjian" }, null, -1)
|
|
23382
23432
|
])]),
|
|
23383
23433
|
default: withCtx(() => [
|
|
@@ -23385,32 +23435,10 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23385
23435
|
]),
|
|
23386
23436
|
_: 1
|
|
23387
23437
|
})) : createCommentVNode("", true),
|
|
23388
|
-
showMenus.value.includes(unref(ContextMenu$1).Cut) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23389
|
-
key: unref(ContextMenu$1).Cut
|
|
23390
|
-
}, {
|
|
23391
|
-
icon: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
23392
|
-
createElementVNode("i", { class: "iconfont !text-[24px] icon-jianqie" }, null, -1)
|
|
23393
|
-
])]),
|
|
23394
|
-
default: withCtx(() => [
|
|
23395
|
-
createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.onlineForm.cut")), 1)
|
|
23396
|
-
]),
|
|
23397
|
-
_: 1
|
|
23398
|
-
})) : createCommentVNode("", true),
|
|
23399
|
-
showMenus.value.includes(unref(ContextMenu$1).Paste) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23400
|
-
key: unref(ContextMenu$1).Paste
|
|
23401
|
-
}, {
|
|
23402
|
-
icon: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
23403
|
-
createElementVNode("i", { class: "iconfont !text-[24px] icon-niantie1" }, null, -1)
|
|
23404
|
-
])]),
|
|
23405
|
-
default: withCtx(() => [
|
|
23406
|
-
createTextVNode(" " + toDisplayString$1(_ctx.$t("sys.onlineForm.paste")), 1)
|
|
23407
|
-
]),
|
|
23408
|
-
_: 1
|
|
23409
|
-
})) : createCommentVNode("", true),
|
|
23410
23438
|
showMenus.value.includes(unref(ContextMenu$1).InsertColBefore) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23411
23439
|
key: unref(ContextMenu$1).InsertColBefore
|
|
23412
23440
|
}, {
|
|
23413
|
-
icon: withCtx(() => [..._cache[
|
|
23441
|
+
icon: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
23414
23442
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-zuoce1" }, null, -1)
|
|
23415
23443
|
])]),
|
|
23416
23444
|
default: withCtx(() => [
|
|
@@ -23425,7 +23453,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23425
23453
|
showMenus.value.includes(unref(ContextMenu$1).InsertColAfter) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23426
23454
|
key: unref(ContextMenu$1).InsertColAfter
|
|
23427
23455
|
}, {
|
|
23428
|
-
icon: withCtx(() => [..._cache[
|
|
23456
|
+
icon: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
23429
23457
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-youce1" }, null, -1)
|
|
23430
23458
|
])]),
|
|
23431
23459
|
default: withCtx(() => [
|
|
@@ -23440,7 +23468,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23440
23468
|
showMenus.value.includes(unref(ContextMenu$1).SetColWidth) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23441
23469
|
key: unref(ContextMenu$1).SetColWidth
|
|
23442
23470
|
}, {
|
|
23443
|
-
icon: withCtx(() => [..._cache[
|
|
23471
|
+
icon: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
23444
23472
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-hangkuan" }, null, -1)
|
|
23445
23473
|
])]),
|
|
23446
23474
|
default: withCtx(() => [
|
|
@@ -23451,7 +23479,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23451
23479
|
showMenus.value.includes(unref(ContextMenu$1).InsertRowBefore) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23452
23480
|
key: unref(ContextMenu$1).InsertRowBefore
|
|
23453
23481
|
}, {
|
|
23454
|
-
icon: withCtx(() => [..._cache[
|
|
23482
|
+
icon: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
23455
23483
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-shangfang" }, null, -1)
|
|
23456
23484
|
])]),
|
|
23457
23485
|
default: withCtx(() => [
|
|
@@ -23466,7 +23494,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23466
23494
|
showMenus.value.includes(unref(ContextMenu$1).InsertRowAfter) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23467
23495
|
key: unref(ContextMenu$1).InsertRowAfter
|
|
23468
23496
|
}, {
|
|
23469
|
-
icon: withCtx(() => [..._cache[
|
|
23497
|
+
icon: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
23470
23498
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-xiafang" }, null, -1)
|
|
23471
23499
|
])]),
|
|
23472
23500
|
default: withCtx(() => [
|
|
@@ -23481,7 +23509,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23481
23509
|
showMenus.value.includes(unref(ContextMenu$1).SetRowHeight) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23482
23510
|
key: unref(ContextMenu$1).SetRowHeight
|
|
23483
23511
|
}, {
|
|
23484
|
-
icon: withCtx(() => [..._cache[
|
|
23512
|
+
icon: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
23485
23513
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-hanggao" }, null, -1)
|
|
23486
23514
|
])]),
|
|
23487
23515
|
default: withCtx(() => [
|
|
@@ -23492,7 +23520,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23492
23520
|
showMenus.value.includes(unref(ContextMenu$1).DataGroup) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23493
23521
|
key: unref(ContextMenu$1).DataGroup
|
|
23494
23522
|
}, {
|
|
23495
|
-
icon: withCtx(() => [..._cache[
|
|
23523
|
+
icon: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
23496
23524
|
createElementVNode("i", { class: "iconfont icon-fenzu" }, null, -1)
|
|
23497
23525
|
])]),
|
|
23498
23526
|
default: withCtx(() => [
|
|
@@ -23503,7 +23531,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23503
23531
|
showMenus.value.includes(unref(ContextMenu$1).DataGroup2D) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23504
23532
|
key: unref(ContextMenu$1).DataGroup2D
|
|
23505
23533
|
}, {
|
|
23506
|
-
icon: withCtx(() => [..._cache[
|
|
23534
|
+
icon: withCtx(() => [..._cache[12] || (_cache[12] = [
|
|
23507
23535
|
createElementVNode("i", { class: "iconfont text-[24px] icon-shujuliandong" }, null, -1)
|
|
23508
23536
|
])]),
|
|
23509
23537
|
default: withCtx(() => [
|
|
@@ -23514,7 +23542,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23514
23542
|
showMenus.value.includes(unref(ContextMenu$1).MergeCell) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23515
23543
|
key: unref(ContextMenu$1).MergeCell
|
|
23516
23544
|
}, {
|
|
23517
|
-
icon: withCtx(() => [..._cache[
|
|
23545
|
+
icon: withCtx(() => [..._cache[13] || (_cache[13] = [
|
|
23518
23546
|
createElementVNode("i", { class: "iconfont icon-hebing" }, null, -1)
|
|
23519
23547
|
])]),
|
|
23520
23548
|
default: withCtx(() => [
|
|
@@ -23525,7 +23553,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23525
23553
|
showMenus.value.includes(unref(ContextMenu$1).SplitCell) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23526
23554
|
key: unref(ContextMenu$1).SplitCell
|
|
23527
23555
|
}, {
|
|
23528
|
-
icon: withCtx(() => [..._cache[
|
|
23556
|
+
icon: withCtx(() => [..._cache[14] || (_cache[14] = [
|
|
23529
23557
|
createElementVNode("i", { class: "iconfont icon-chaifen" }, null, -1)
|
|
23530
23558
|
])]),
|
|
23531
23559
|
default: withCtx(() => [
|
|
@@ -23537,7 +23565,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23537
23565
|
showMenus.value.includes(unref(ContextMenu$1).DeleteCol) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23538
23566
|
key: unref(ContextMenu$1).DeleteCol
|
|
23539
23567
|
}, {
|
|
23540
|
-
icon: withCtx(() => [..._cache[
|
|
23568
|
+
icon: withCtx(() => [..._cache[15] || (_cache[15] = [
|
|
23541
23569
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-shanlie" }, null, -1)
|
|
23542
23570
|
])]),
|
|
23543
23571
|
default: withCtx(() => [
|
|
@@ -23548,7 +23576,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23548
23576
|
showMenus.value.includes(unref(ContextMenu$1).DeleteRow) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23549
23577
|
key: unref(ContextMenu$1).DeleteRow
|
|
23550
23578
|
}, {
|
|
23551
|
-
icon: withCtx(() => [..._cache[
|
|
23579
|
+
icon: withCtx(() => [..._cache[16] || (_cache[16] = [
|
|
23552
23580
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-shanhang" }, null, -1)
|
|
23553
23581
|
])]),
|
|
23554
23582
|
default: withCtx(() => [
|
|
@@ -23559,7 +23587,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23559
23587
|
showMenus.value.includes(unref(ContextMenu$1).ClearCellContent) ? (openBlock(), createBlock(_component_a_menu_item, {
|
|
23560
23588
|
key: unref(ContextMenu$1).ClearCellContent
|
|
23561
23589
|
}, {
|
|
23562
|
-
icon: withCtx(() => [..._cache[
|
|
23590
|
+
icon: withCtx(() => [..._cache[17] || (_cache[17] = [
|
|
23563
23591
|
createElementVNode("i", { class: "iconfont !text-[24px] icon-shanchu11" }, null, -1)
|
|
23564
23592
|
])]),
|
|
23565
23593
|
default: withCtx(() => [
|
|
@@ -23579,7 +23607,7 @@ const _sfc_main$5O = /* @__PURE__ */ defineComponent({
|
|
|
23579
23607
|
};
|
|
23580
23608
|
}
|
|
23581
23609
|
});
|
|
23582
|
-
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5O, [["__scopeId", "data-v-
|
|
23610
|
+
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5O, [["__scopeId", "data-v-e327dc6f"]]);
|
|
23583
23611
|
const _hoisted_1$3g = { class: "paper-content" };
|
|
23584
23612
|
const _hoisted_2$2m = {
|
|
23585
23613
|
cellpadding: "0",
|
|
@@ -25847,11 +25875,11 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
25847
25875
|
save: save2,
|
|
25848
25876
|
setThead,
|
|
25849
25877
|
setCurrentDataGroup,
|
|
25850
|
-
resetRange: resetRange2,
|
|
25851
25878
|
setSubTable,
|
|
25852
25879
|
selection: selection2,
|
|
25853
25880
|
paper: paper2,
|
|
25854
25881
|
copyAndWrite,
|
|
25882
|
+
cutAndWrite,
|
|
25855
25883
|
parsePaste,
|
|
25856
25884
|
panelData: panelData2,
|
|
25857
25885
|
sheetReadonly: sheetReadonly2,
|
|
@@ -25994,6 +26022,7 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
25994
26022
|
return;
|
|
25995
26023
|
}
|
|
25996
26024
|
event2.preventDefault();
|
|
26025
|
+
if (sheetReadonly2.value) return;
|
|
25997
26026
|
await parsePaste(event2);
|
|
25998
26027
|
};
|
|
25999
26028
|
const handleCut = async (event2) => {
|
|
@@ -26001,8 +26030,8 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
26001
26030
|
return;
|
|
26002
26031
|
}
|
|
26003
26032
|
event2.preventDefault();
|
|
26004
|
-
|
|
26005
|
-
|
|
26033
|
+
if (sheetReadonly2.value) return;
|
|
26034
|
+
cutAndWrite(event2);
|
|
26006
26035
|
};
|
|
26007
26036
|
document.addEventListener("keydown", handleKeyDown, true);
|
|
26008
26037
|
document.addEventListener("paste", handlePaste);
|
|
@@ -26061,7 +26090,7 @@ const _sfc_main$5w = /* @__PURE__ */ defineComponent({
|
|
|
26061
26090
|
};
|
|
26062
26091
|
}
|
|
26063
26092
|
});
|
|
26064
|
-
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-
|
|
26093
|
+
const SpreadSheet = /* @__PURE__ */ _export_sfc(_sfc_main$5w, [["__scopeId", "data-v-39141cf4"]]);
|
|
26065
26094
|
const DHR_LICENSE_API = "/gct-apaas/api/dhr/license/module";
|
|
26066
26095
|
const AVAILABLE_EDITIONS = ["eDHR Max", "eDHR Ultra"];
|
|
26067
26096
|
let dhrEditionRequest;
|
|
@@ -26144,7 +26173,7 @@ const _hoisted_10$f = { class: "rgba-r" };
|
|
|
26144
26173
|
const _hoisted_11$d = ["value"];
|
|
26145
26174
|
const _hoisted_12$a = { class: "rgba-g" };
|
|
26146
26175
|
const _hoisted_13$9 = ["value"];
|
|
26147
|
-
const _hoisted_14$
|
|
26176
|
+
const _hoisted_14$8 = { class: "rgba-b" };
|
|
26148
26177
|
const _hoisted_15$5 = ["value"];
|
|
26149
26178
|
const _hoisted_16$5 = { class: "rgba-a" };
|
|
26150
26179
|
const _hoisted_17$4 = ["value"];
|
|
@@ -26612,7 +26641,7 @@ const _sfc_main$5v = /* @__PURE__ */ defineComponent({
|
|
|
26612
26641
|
]),
|
|
26613
26642
|
_cache[4] || (_cache[4] = createElementVNode("p", null, "G", -1))
|
|
26614
26643
|
]),
|
|
26615
|
-
createElementVNode("div", _hoisted_14$
|
|
26644
|
+
createElementVNode("div", _hoisted_14$8, [
|
|
26616
26645
|
createElementVNode("label", null, [
|
|
26617
26646
|
createElementVNode("input", {
|
|
26618
26647
|
value: blue.value,
|
|
@@ -26862,7 +26891,7 @@ const _hoisted_11$c = {
|
|
|
26862
26891
|
};
|
|
26863
26892
|
const _hoisted_12$9 = ["title", "onClick"];
|
|
26864
26893
|
const _hoisted_13$8 = { class: "icon-picker__group-block" };
|
|
26865
|
-
const _hoisted_14$
|
|
26894
|
+
const _hoisted_14$7 = ["aria-expanded"];
|
|
26866
26895
|
const _hoisted_15$4 = ["src"];
|
|
26867
26896
|
const _hoisted_16$4 = {
|
|
26868
26897
|
key: 0,
|
|
@@ -27182,7 +27211,7 @@ const _sfc_main$5q = /* @__PURE__ */ defineComponent({
|
|
|
27182
27211
|
}, null, 8, _hoisted_15$4)
|
|
27183
27212
|
], 2),
|
|
27184
27213
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.inlineMedia.builtinIcons")), 1)
|
|
27185
|
-
], 8, _hoisted_14$
|
|
27214
|
+
], 8, _hoisted_14$7),
|
|
27186
27215
|
builtinExpanded.value ? (openBlock(), createElementBlock("div", _hoisted_16$4, [
|
|
27187
27216
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(builtinIconGroups), (group) => {
|
|
27188
27217
|
return openBlock(), createElementBlock("button", {
|
|
@@ -27436,7 +27465,7 @@ const _hoisted_10$d = ["onClick"];
|
|
|
27436
27465
|
const _hoisted_11$b = ["aria-disabled"];
|
|
27437
27466
|
const _hoisted_12$8 = ["src"];
|
|
27438
27467
|
const _hoisted_13$7 = { class: "tool--dropdown tool--dropdown-expand" };
|
|
27439
|
-
const _hoisted_14$
|
|
27468
|
+
const _hoisted_14$6 = ["src"];
|
|
27440
27469
|
const _hoisted_15$3 = { class: "expand-text" };
|
|
27441
27470
|
const _hoisted_16$3 = { class: "flex items-center text-14px" };
|
|
27442
27471
|
const _hoisted_17$2 = ["src"];
|
|
@@ -28001,7 +28030,7 @@ const _sfc_main$5p = /* @__PURE__ */ defineComponent({
|
|
|
28001
28030
|
src: unref(TABLE_CATEGORY_SVG).dataTable,
|
|
28002
28031
|
alt: "",
|
|
28003
28032
|
srcset: ""
|
|
28004
|
-
}, null, 8, _hoisted_14$
|
|
28033
|
+
}, null, 8, _hoisted_14$6),
|
|
28005
28034
|
_cache[25] || (_cache[25] = createElementVNode("i", { class: "arrow" }, null, -1)),
|
|
28006
28035
|
createElementVNode("div", _hoisted_15$3, toDisplayString$1(_ctx.$t("sys.dataSet.dataTableLabel")), 1)
|
|
28007
28036
|
])
|
|
@@ -38503,7 +38532,7 @@ const _hoisted_10$c = { class: "field-key" };
|
|
|
38503
38532
|
const _hoisted_11$a = ["aria-label"];
|
|
38504
38533
|
const _hoisted_12$7 = ["title"];
|
|
38505
38534
|
const _hoisted_13$6 = { class: "field-name" };
|
|
38506
|
-
const _hoisted_14$
|
|
38535
|
+
const _hoisted_14$5 = { class: "field-key" };
|
|
38507
38536
|
const _hoisted_15$2 = {
|
|
38508
38537
|
key: 1,
|
|
38509
38538
|
class: "custom-section-heading"
|
|
@@ -38833,7 +38862,7 @@ const _sfc_main$4B = /* @__PURE__ */ defineComponent({
|
|
|
38833
38862
|
title: rule.toField
|
|
38834
38863
|
}, [
|
|
38835
38864
|
createElementVNode("span", _hoisted_13$6, toDisplayString$1(rule.targetLabel), 1),
|
|
38836
|
-
createElementVNode("code", _hoisted_14$
|
|
38865
|
+
createElementVNode("code", _hoisted_14$5, toDisplayString$1(rule.toField), 1)
|
|
38837
38866
|
], 8, _hoisted_12$7)
|
|
38838
38867
|
]);
|
|
38839
38868
|
}), 128))
|
|
@@ -48463,7 +48492,7 @@ const _hoisted_10$b = ["title"];
|
|
|
48463
48492
|
const _hoisted_11$9 = { class: "common-regex-panel__item-actions" };
|
|
48464
48493
|
const _hoisted_12$6 = ["onClick"];
|
|
48465
48494
|
const _hoisted_13$5 = ["onClick"];
|
|
48466
|
-
const _hoisted_14$
|
|
48495
|
+
const _hoisted_14$4 = ["onClick"];
|
|
48467
48496
|
const _hoisted_15$1 = { class: "common-regex-panel__header has-border" };
|
|
48468
48497
|
const _hoisted_16$1 = { class: "common-regex-panel__title" };
|
|
48469
48498
|
const _hoisted_17 = { class: "common-regex-panel__form" };
|
|
@@ -48717,7 +48746,7 @@ const _sfc_main$4k = /* @__PURE__ */ defineComponent({
|
|
|
48717
48746
|
onClick: withModifiers(($event) => openDeleteConfirm(item, $event), ["stop"])
|
|
48718
48747
|
}, [..._cache[10] || (_cache[10] = [
|
|
48719
48748
|
createElementVNode("i", { class: "iconfont icon-shanchu2" }, null, -1)
|
|
48720
|
-
])], 10, _hoisted_14$
|
|
48749
|
+
])], 10, _hoisted_14$4)
|
|
48721
48750
|
], 64)) : createCommentVNode("", true)
|
|
48722
48751
|
])
|
|
48723
48752
|
]);
|
|
@@ -56808,7 +56837,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
56808
56837
|
}
|
|
56809
56838
|
});
|
|
56810
56839
|
function asyncImportWidgetProp() {
|
|
56811
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
56840
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CNrl2NxY.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CqjD1SwW.js"), "./widget-image.vue": () => import("./widget-image-Xjl5W2Fp.js"), "./widget-line.vue": () => import("./widget-line-BUVVnwrU.js"), "./widget-pagination.vue": () => import("./widget-pagination-DjMXWioI.js"), "./widget-power.vue": () => import("./widget-power-Dck9H8a9.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-Cu8BwE24.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DLxebCKf.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DecFCGS0.js"), "./widget-text.vue": () => import("./widget-text-DV3yKKsx.js"), "./widget-timediff.vue": () => import("./widget-timediff-BIwewJ39.js") });
|
|
56812
56841
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
56813
56842
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
56814
56843
|
if (mKey) {
|
|
@@ -62178,7 +62207,7 @@ const _hoisted_12$4 = {
|
|
|
62178
62207
|
class: "ai-tmpl-editor__advanced-sub-row"
|
|
62179
62208
|
};
|
|
62180
62209
|
const _hoisted_13$3 = { class: "ai-tmpl-editor__section" };
|
|
62181
|
-
const _hoisted_14$
|
|
62210
|
+
const _hoisted_14$3 = { class: "ai-tmpl-editor__section-content--prompt" };
|
|
62182
62211
|
const _hoisted_15 = {
|
|
62183
62212
|
key: 0,
|
|
62184
62213
|
class: "ai-tmpl-editor__recommended-box"
|
|
@@ -62533,7 +62562,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
|
62533
62562
|
}, null, 8, ["class"]),
|
|
62534
62563
|
_cache[24] || (_cache[24] = createElementVNode("span", null, "提示词", -1))
|
|
62535
62564
|
]),
|
|
62536
|
-
withDirectives(createElementVNode("div", _hoisted_14$
|
|
62565
|
+
withDirectives(createElementVNode("div", _hoisted_14$3, [
|
|
62537
62566
|
createVNode(_component_a_radio_group, {
|
|
62538
62567
|
value: formState.promptMode,
|
|
62539
62568
|
"onUpdate:value": _cache[14] || (_cache[14] = ($event) => formState.promptMode = $event),
|
|
@@ -67644,7 +67673,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
67644
67673
|
const emit2 = __emit;
|
|
67645
67674
|
const currentValue = computed({
|
|
67646
67675
|
get() {
|
|
67647
|
-
return
|
|
67676
|
+
return props2.value;
|
|
67648
67677
|
},
|
|
67649
67678
|
set(val) {
|
|
67650
67679
|
emit2("update:value", val);
|
|
@@ -67695,7 +67724,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
67695
67724
|
};
|
|
67696
67725
|
}
|
|
67697
67726
|
});
|
|
67698
|
-
const CellDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["__scopeId", "data-v-
|
|
67727
|
+
const CellDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["__scopeId", "data-v-57956802"]]);
|
|
67699
67728
|
const _hoisted_1$1h = { class: "cell-media__placeholder" };
|
|
67700
67729
|
const _hoisted_2$T = ["disabled"];
|
|
67701
67730
|
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
@@ -74457,7 +74486,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
74457
74486
|
}
|
|
74458
74487
|
});
|
|
74459
74488
|
const VueVideoPlayer = defineAsyncComponent(
|
|
74460
|
-
() => import("./VueVideoPlayer-
|
|
74489
|
+
() => import("./VueVideoPlayer-BuuQaqyI.js")
|
|
74461
74490
|
);
|
|
74462
74491
|
const _hoisted_1$18 = {
|
|
74463
74492
|
key: 0,
|
|
@@ -84263,7 +84292,7 @@ const _hoisted_13$2 = {
|
|
|
84263
84292
|
key: 1,
|
|
84264
84293
|
class: "img-box"
|
|
84265
84294
|
};
|
|
84266
|
-
const _hoisted_14$
|
|
84295
|
+
const _hoisted_14$2 = ["aria-label", "onClick"];
|
|
84267
84296
|
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
84268
84297
|
__name: "base-image-upload",
|
|
84269
84298
|
props: {
|
|
@@ -84712,7 +84741,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
84712
84741
|
onClick: withModifiers(($event) => deleteFile(index2), ["stop"])
|
|
84713
84742
|
}, [
|
|
84714
84743
|
createVNode(unref(CloseOutlined))
|
|
84715
|
-
], 8, _hoisted_14$
|
|
84744
|
+
], 8, _hoisted_14$2)) : createCommentVNode("", true)
|
|
84716
84745
|
]);
|
|
84717
84746
|
}), 128))
|
|
84718
84747
|
]),
|
|
@@ -89880,7 +89909,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
89880
89909
|
]),
|
|
89881
89910
|
createElementVNode("section", _hoisted_6$9, [
|
|
89882
89911
|
createElementVNode("h3", _hoisted_7$6, toDisplayString$1(_ctx.$t("sys.onlineForm.inspectionDecisionRule.promptSection")), 1),
|
|
89883
|
-
createElementVNode("p", _hoisted_8$6, toDisplayString$1(_ctx.$t("sys.onlineForm.
|
|
89912
|
+
createElementVNode("p", _hoisted_8$6, toDisplayString$1(_ctx.$t("sys.onlineForm.earlyTerminationValidationRulePromptDescription")), 1),
|
|
89884
89913
|
createVNode(unref(GctTextArea), {
|
|
89885
89914
|
modelValue: formState.prompt,
|
|
89886
89915
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formState.prompt = $event),
|
|
@@ -89893,7 +89922,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
89893
89922
|
};
|
|
89894
89923
|
}
|
|
89895
89924
|
});
|
|
89896
|
-
const InspectionDecisionModal = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-
|
|
89925
|
+
const InspectionDecisionModal = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-a5a0a810"]]);
|
|
89897
89926
|
const _hoisted_1$w = { class: "panel-rule-config" };
|
|
89898
89927
|
const _hoisted_2$o = { class: "rule-area" };
|
|
89899
89928
|
const _hoisted_3$i = { class: "ks-row" };
|
|
@@ -89907,6 +89936,7 @@ const _hoisted_10$3 = { class: "ks-col ell" };
|
|
|
89907
89936
|
const _hoisted_11$2 = ["onClick"];
|
|
89908
89937
|
const _hoisted_12$2 = { class: "inspection-rule-config" };
|
|
89909
89938
|
const _hoisted_13$1 = { class: "inspection-rule-config__switch-row" };
|
|
89939
|
+
const _hoisted_14$1 = { class: "inspection-rule-config__switch-label" };
|
|
89910
89940
|
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
89911
89941
|
__name: "panel-rule-config",
|
|
89912
89942
|
setup(__props) {
|
|
@@ -89994,6 +90024,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
89994
90024
|
}
|
|
89995
90025
|
return (_ctx, _cache) => {
|
|
89996
90026
|
const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
|
|
90027
|
+
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
89997
90028
|
const _component_a_collapse = resolveComponent("a-collapse");
|
|
89998
90029
|
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
89999
90030
|
createVNode(_component_a_collapse, {
|
|
@@ -90056,12 +90087,23 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
90056
90087
|
}, 8, ["header"]),
|
|
90057
90088
|
createVNode(_component_a_collapse_panel, {
|
|
90058
90089
|
key: "2",
|
|
90059
|
-
header: _ctx.$t("sys.onlineForm.
|
|
90090
|
+
header: _ctx.$t("sys.onlineForm.earlyTerminationValidationRule")
|
|
90060
90091
|
}, {
|
|
90061
90092
|
default: withCtx(() => [
|
|
90062
90093
|
createElementVNode("div", _hoisted_12$2, [
|
|
90063
90094
|
createElementVNode("div", _hoisted_13$1, [
|
|
90064
|
-
createElementVNode("
|
|
90095
|
+
createElementVNode("div", _hoisted_14$1, [
|
|
90096
|
+
createElementVNode("span", null, toDisplayString$1(_ctx.$t("sys.onlineForm.earlyTerminationValidationRule")), 1),
|
|
90097
|
+
createVNode(_component_a_tooltip, {
|
|
90098
|
+
placement: "top",
|
|
90099
|
+
title: _ctx.$t("sys.onlineForm.earlyTerminationValidationRuleTip")
|
|
90100
|
+
}, {
|
|
90101
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
90102
|
+
createElementVNode("i", { class: "iconfont icon-assist" }, null, -1)
|
|
90103
|
+
])]),
|
|
90104
|
+
_: 1
|
|
90105
|
+
}, 8, ["title"])
|
|
90106
|
+
]),
|
|
90065
90107
|
createVNode(unref(GctSwitch), {
|
|
90066
90108
|
size: "small",
|
|
90067
90109
|
"model-value": inspectionDecisionRule.value.dataRuleEnabled,
|
|
@@ -90077,7 +90119,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
90077
90119
|
onClick: openInspectionDecisionRule
|
|
90078
90120
|
}, {
|
|
90079
90121
|
default: withCtx(() => [
|
|
90080
|
-
createTextVNode(toDisplayString$1(hasDecisionRule.value ? _ctx.$t("sys.onlineForm.
|
|
90122
|
+
createTextVNode(toDisplayString$1(hasDecisionRule.value ? _ctx.$t("sys.onlineForm.editEarlyTerminationValidationRule") : _ctx.$t("sys.onlineForm.addEarlyTerminationValidationRule")), 1)
|
|
90081
90123
|
]),
|
|
90082
90124
|
_: 1
|
|
90083
90125
|
})) : createCommentVNode("", true)
|
|
@@ -90090,7 +90132,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
90090
90132
|
}, 8, ["activeKey"]),
|
|
90091
90133
|
createVNode(unref(GctModal), {
|
|
90092
90134
|
open: decisionModalOpen.value,
|
|
90093
|
-
title: _ctx.$t("sys.onlineForm.
|
|
90135
|
+
title: _ctx.$t("sys.onlineForm.earlyTerminationValidationRule"),
|
|
90094
90136
|
width: 1120,
|
|
90095
90137
|
"confirm-loading": decisionModalSaving.value,
|
|
90096
90138
|
onConfirm: saveInspectionDecisionRule,
|
|
@@ -90110,7 +90152,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
90110
90152
|
};
|
|
90111
90153
|
}
|
|
90112
90154
|
});
|
|
90113
|
-
const PanelRuleConfig = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-
|
|
90155
|
+
const PanelRuleConfig = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-6c109141"]]);
|
|
90114
90156
|
const labelIdMaps = ref$1({});
|
|
90115
90157
|
function useProductTranslate() {
|
|
90116
90158
|
async function translateName(refId) {
|
|
@@ -94055,13 +94097,14 @@ const sys$1 = {
|
|
|
94055
94097
|
onlineForm: {
|
|
94056
94098
|
dragFieldOrComponentIn: "Drag a component or field here",
|
|
94057
94099
|
addUnitConversionRule: "Add conversion rule",
|
|
94100
|
+
earlyTerminationValidationRule: "Early termination validation rule",
|
|
94101
|
+
earlyTerminationValidationRuleTip: "When enabled, meeting the decision conditions allows direct submission without completing the remaining validation items",
|
|
94102
|
+
earlyTerminationValidationRulePromptDescription: "When the conditions above are met, allow submission without completing the remaining validation items and show a prompt",
|
|
94103
|
+
addEarlyTerminationValidationRule: "Add early termination validation rule",
|
|
94104
|
+
editEarlyTerminationValidationRule: "Edit early termination validation rule",
|
|
94058
94105
|
inspectionDecisionRule: {
|
|
94059
|
-
title: "Inspection decision rule",
|
|
94060
|
-
add: "Add decision rule",
|
|
94061
|
-
edit: "Edit decision rule",
|
|
94062
94106
|
ruleSection: "Decision rule",
|
|
94063
94107
|
promptSection: "Prompt",
|
|
94064
|
-
promptDescription: "When the conditions above are met, allow submission without completing the remaining inspection items and show a prompt",
|
|
94065
94108
|
noAvailableFields: "The current model has no fields available for decision rules",
|
|
94066
94109
|
incompleteCondition: "Add at least one complete decision condition",
|
|
94067
94110
|
addCondition: "Add condition",
|
|
@@ -94453,13 +94496,14 @@ const sys = {
|
|
|
94453
94496
|
onlineForm: {
|
|
94454
94497
|
dragFieldOrComponentIn: "拖入组件/字段",
|
|
94455
94498
|
addUnitConversionRule: "添加转化规则",
|
|
94499
|
+
earlyTerminationValidationRule: "提前终止校验规则",
|
|
94500
|
+
earlyTerminationValidationRuleTip: "开启后,满足判定条件时允许跳过剩余校验项直接提交",
|
|
94501
|
+
earlyTerminationValidationRulePromptDescription: "满足上方判定条件后,允许跳过剩余校验项直接提交,并给出提示",
|
|
94502
|
+
addEarlyTerminationValidationRule: "添加终止校验规则",
|
|
94503
|
+
editEarlyTerminationValidationRule: "编辑终止校验规则",
|
|
94456
94504
|
inspectionDecisionRule: {
|
|
94457
|
-
title: "检验判定规则",
|
|
94458
|
-
add: "添加判定规则",
|
|
94459
|
-
edit: "编辑判定规则",
|
|
94460
94505
|
ruleSection: "判定规则",
|
|
94461
94506
|
promptSection: "提示信息",
|
|
94462
|
-
promptDescription: "满足上方判定条件后,允许跳过剩余检查项直接提交,并给出提示",
|
|
94463
94507
|
noAvailableFields: "当前模型没有可用于判定的字段",
|
|
94464
94508
|
incompleteCondition: "请至少添加一条完整的判定条件",
|
|
94465
94509
|
addCondition: "添加条件",
|
|
@@ -96135,8 +96179,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
96135
96179
|
printTask = (async () => {
|
|
96136
96180
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
96137
96181
|
await nextTick();
|
|
96138
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
96139
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
96182
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-PabaORE2.js");
|
|
96183
|
+
const { default: renderer } = await import("./print-snapshot-renderer-DQr2G7Hv.js");
|
|
96140
96184
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
96141
96185
|
printRenderer.value = markRaw(renderer);
|
|
96142
96186
|
await printRuntimeInstance(
|