@gct-paas/excel 0.1.39-beta.22 → 0.1.39-beta.24

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.
Files changed (89) hide show
  1. package/dist/{BaseComponent-biRcWhQS.js → BaseComponent-tMwkSF8O.js} +2 -2
  2. package/dist/{VueVideoPlayer-DWexzKhv.js → VueVideoPlayer-CNjyCXkN.js} +2 -2
  3. package/dist/{align-editor-8vuTCw95.js → align-editor-DlbDH0WF.js} +1 -1
  4. package/dist/{barcode-design-DYlCs0Mc.js → barcode-design-D58GbNKL.js} +2 -2
  5. package/dist/base/index.es.js +7 -7
  6. package/dist/{diagonal-design-BQzeiS4_.js → diagonal-design-DzpjHOy3.js} +2 -2
  7. package/dist/{dynamic-table-action-KcYAaD4L.js → dynamic-table-action-DUMskrli.js} +6 -5
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js} +5 -6
  9. package/dist/{edit.utils-CXmmCnxE-pytu0ckD.js → edit.utils-CXmmCnxE-Bv5D7CTt.js} +1 -1
  10. package/dist/excel.css +44 -44
  11. package/dist/{exceljs.min-DxP_gePB.js → exceljs.min-CoJE8HUy.js} +2 -2
  12. package/dist/{font-editor-BsS1Njqk.js → font-editor-BGHn_dDZ.js} +3 -3
  13. package/dist/{image-design-DkqPRvgz.js → image-design-34ToRU_2.js} +2 -2
  14. package/dist/{index-CWNuHPAm.js → index-41BLq5Uo.js} +3 -3
  15. package/dist/{index-CpfB9PtX.js → index-97aR68E6.js} +2 -2
  16. package/dist/{index-DxsW4lHL.js → index-BE8UZyc3.js} +2 -2
  17. package/dist/{index-DroJs-Mz.js → index-BHlpYm57.js} +2 -2
  18. package/dist/{index-DowgCfNS.js → index-BMMv-7Lv.js} +1 -1
  19. package/dist/{index-B4slk7aC.js → index-BWQMZkQU.js} +2 -2
  20. package/dist/{index-DtC9-TV0.js → index-BZ2tX5_F.js} +1 -1
  21. package/dist/{index-Ccu4iRdK.js → index-BkPhf0P_.js} +1 -1
  22. package/dist/{index-BPfmu478.js → index-C0B9W2Am.js} +2 -2
  23. package/dist/{index-DMAyRaqk.js → index-C2ZoHa_L.js} +2 -2
  24. package/dist/{index-CUVFvdgd.js → index-C7roc9Qp.js} +1 -1
  25. package/dist/{index-MG85JCOK.js → index-CCStuq_v.js} +1 -1
  26. package/dist/{index-C9DS18NL.js → index-CIzTPSmB.js} +3 -3
  27. package/dist/{index-BGoURxHl.js → index-CfVqwZ88.js} +74 -68
  28. package/dist/{index-ReBFskV-.js → index-Cj7XRfcM.js} +2 -2
  29. package/dist/{index-BFdTtJg6.js → index-Cp7XSolT.js} +2 -2
  30. package/dist/{index-CPv1vJ82.js → index-Cx3Ep-PX.js} +1 -1
  31. package/dist/{index-Ob-SQzvR.js → index-D94Jbbdu.js} +2 -2
  32. package/dist/{index-ekSIWVoo.js → index-DE4Y2K3B.js} +1 -1
  33. package/dist/{index-xjXwKn_U.js → index-DH5Dv8n2.js} +5 -4
  34. package/dist/{index-BPPZx43z.js → index-DSOySezE.js} +2 -2
  35. package/dist/{index-CFRwjGVP.js → index-DToE7J-d.js} +1 -1
  36. package/dist/{index-BACy1kNx.js → index-DdYvvyh_.js} +2 -2
  37. package/dist/{index-DiohVDo3.js → index-DfRiBosT.js} +2 -2
  38. package/dist/{index-BAxEpRSt.js → index-Dkg-MHBs.js} +2 -2
  39. package/dist/{index-BNoPALJg.js → index-DuTaIdEB.js} +2 -2
  40. package/dist/{index-DneCPDS-.js → index-GlAEuTXL.js} +1 -1
  41. package/dist/{index-C31GOuIn.js → index-PaTR3UrD.js} +6 -5
  42. package/dist/{index-SE_3lp_2.js → index-PwzoOqVV.js} +3 -3
  43. package/dist/{index-CK0zkrem.js → index-ZC2d_NRx.js} +1 -1
  44. package/dist/{index-CDYdj27z.js → index-hg0fOm4J.js} +2 -2
  45. package/dist/{index-CUBuJgXv.js → index-imPej_ja.js} +2 -2
  46. package/dist/{index-B0DbsbRk.js → index-ke5aFQIy.js} +2 -2
  47. package/dist/{index-C8pwJYN2.js → index-nL3K7kdo.js} +2 -2
  48. package/dist/{index-D21_mThP.js → index-zg3tXaPH.js} +2 -2
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-6W4rQCCs.js → mb-render-DXZA3p-e.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CX0iFSPu.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DLNEaVVK.js} +1 -1
  52. package/dist/{pagination-design-DqwkaSkB.js → pagination-design-DUd4LlKr.js} +2 -2
  53. package/dist/paper-widget-design-CvH1u1Ct.js +4 -0
  54. package/dist/{print-runtime-instance-C3QOi-S0.js → print-runtime-instance-D43SJ40x.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BUJHyLBZ.js → print-snapshot-renderer-Cl3U1usu.js} +3 -3
  56. package/dist/{qrcode-design-BqaRQdiQ.js → qrcode-design-BsllTiKX.js} +1 -1
  57. package/dist/{revo-grid.entry-BeidoUP_.js → revo-grid.entry-BDpCXWvf.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-kRZ-S8Je.js → revogr-attribution_7.entry-bVe_2vJ_.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-CNk1r9Bt.js → revogr-clipboard_3.entry-CPYP4gz8.js} +2 -2
  60. package/dist/{revogr-data_4.entry-CWhgCUKs.js → revogr-data_4.entry-r1hF23LO.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-pa7fQ1KZ.js → revogr-filter-panel.entry-Dsn8vkwl.js} +1 -1
  62. package/dist/seal-design-nZ3sGnfy.js +4 -0
  63. package/dist/{serialnumber-design-zIzRaW2F.js → serialnumber-design-DDDjzhOp.js} +1 -1
  64. package/dist/shared/index.es.js +2 -2
  65. package/dist/{single-field-drop-DqcGvsXE.js → single-field-drop-Cm9P8ivT.js} +2 -2
  66. package/dist/{size-editor-BNpyJh7z.js → size-editor-D38ClPmr.js} +1 -1
  67. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
  68. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
  69. package/dist/{sub-table-factory-6DYuYlX6.js → sub-table-factory-BNfgfJuE.js} +8 -2
  70. package/dist/{text-design-CgXZliCE.js → text-design-BaCUTLkf.js} +2 -2
  71. package/dist/{throttle-Cpk1LoGk-BsH7jCJf.js → throttle-Cpk1LoGk-DGMeNYfX.js} +1 -1
  72. package/dist/{timediff-design-Dt-Tht9t.js → timediff-design-pZTLRrWQ.js} +1 -1
  73. package/dist/{trace-like-wrapper-BugmiQBa.js → trace-like-wrapper-B6ZzluiW.js} +2 -2
  74. package/dist/{value-editor.vue_vue_type_style_index_0_lang-H9OPQP3S.js → value-editor.vue_vue_type_style_index_0_lang-5FGhwEKX.js} +2 -2
  75. package/dist/web-render/index.es.js +3 -3
  76. package/dist/{widget-barcode-BeEl-vmE.js → widget-barcode-C3MD_RP5.js} +4 -4
  77. package/dist/{widget-diagonal-2RikbMY4.js → widget-diagonal-q8eIEp22.js} +3 -3
  78. package/dist/{widget-image-BQnx6Zq-.js → widget-image-CG0QrnaQ.js} +5 -5
  79. package/dist/{widget-line-DExLpo8B.js → widget-line-BPR44uWF.js} +2 -2
  80. package/dist/{widget-pagination-DRbptPhb.js → widget-pagination-Y8UYwDX-.js} +5 -5
  81. package/dist/{widget-power-DFeIBUN0.js → widget-power--Vg35e9Y.js} +3 -3
  82. package/dist/{widget-qrcode-udJO7isz.js → widget-qrcode-Bvw80fbM.js} +3 -3
  83. package/dist/{widget-rangelimit-CtlNbAkB.js → widget-rangelimit-CtL0m9H_.js} +3 -3
  84. package/dist/{widget-serialnumber-DwVOZxnx.js → widget-serialnumber-i8ONzt0P.js} +1 -1
  85. package/dist/{widget-text-DNKSdOIb.js → widget-text-DGrfq1vr.js} +5 -5
  86. package/dist/{widget-timediff-W8mjRj0p.js → widget-timediff-DyyZY_15.js} +2 -2
  87. package/package.json +1 -1
  88. package/dist/paper-widget-design-Dkhg0J59.js +0 -4
  89. package/dist/seal-design-ytUgzVPq.js +0 -4
@@ -1,17 +1,17 @@
1
1
  import * as Vue from "vue";
2
2
  import { createVNode, computed, unref, ref, 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, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, onScopeDispose, useCssVars, onBeforeMount, createSlots, toRef, mergeDefaults, toHandlers, getCurrentInstance as getCurrentInstance$1, useAttrs, 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 SubTableType, h as getAllBusinessRefModelTypes, D as DateObjectContext, j as isBlank$1, F as FIELD_TYPE, k as isSameFieldValue$1, l as runDateObjectHandler, m as companionIdKey, n as companionLabelKey, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as ParamModelTypeEnum, E as api, G as FieldTypeToJs, H as CreateType, I as uuid2, J as useModal, K as requireEstraverse, M as commonjsGlobal, N as getDefaultExportFromCjs, Q as PaperWidgeValueType, R as getParseFormulaVarInfos, U as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, V as UniqueConstraintType, X as FieldDefaultValueTypeEnum, Y as FormTypeEnum, Z as mitt, _ as isDateObjectField, $ as PlatformEnum, a0 as LabelPosition, a1 as BooleanShowMode, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum, a8 as _export_sfc, a9 as normalizeFieldType, aa as PaperSizeMap, ab as clampSealPosition, ac as normalizeSealDiameter, ad as getFieldMain, ae as buildUUID, af as FieldIconMap, ag as BigNumber, ah as FieldSysVarDefaultValueEnum, ai as CellWidgetViewState, aj as DiagonalDirection, ak as WidgetImageSizeMode, al as LineDirection, am as TimeDiffFormat, an as DiagonalVertex, ao as resolveDiagonalVertex, ap as getThemeColorByTableType, aq as ViewTypeEnum, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as getAllTableProfiles, aF as transformUtils, aG as EmptySymbol, aH as ASSIGNMENTSTRATEGY_ENUM, aI as Dependency_ENUM, aJ as EntityModelCategoryEnum, aK as resolveLotDisplayLabel, aL as CheckDsTypeEnum, aM as DeviceLink, aN as DeviceParamsTypeTitle, aO as AITooltips, aP as DenoiseMethodOptions, aQ as BinarizeMethodOptions, aR as JoinModelTypeEum, aS as sqlUtils, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as ProductionIdentificationTypeEnum, b0 as BindCmpStyleEnum, b1 as getParseRuleInfo, b2 as getParseRuleValue, b3 as normalizeRefLoaderResult, b4 as STOCKTAKE_DIMENSION, b5 as F, b6 as resolveStocktakeSelectApi, b7 as readSealValue, b8 as isSealStamped, b9 as RenderModeEnum, ba as stampSealValue, bb as isValidSealValue, bc as clearSealValue, bd as normalizeProductionContainerOptions, be as buildProductionLotListQuery, bf as refUtils, bg as buildInspectionLotListQuery, bh as buildDeviceFilterQuery, bi as DEVICE_GROUP_QUERY_KEY, bj as getRowId, bk as findRuntimeTableRow, bl as calculateFormula, bm as findRuntimeParentRow, bn as useOnlineFormTransformField2Component, bo as FormulaRuleFieldKeyEnum, bp as formulaRuleFieldDict, bq as resolveDesignPanelFeatures, br as BIZ_TABLE_CONFIG_SEED_TYPES, bs as STOCKTAKE_DIMENSION_OPTIONS, bt as isRepeatingSubTablePanelType, bu as moveSealValue, bv as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
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 SubTableType, h as getAllBusinessRefModelTypes, D as DateObjectContext, j as isBlank$1, F as FIELD_TYPE, k as isSameFieldValue$1, l as runDateObjectHandler, m as companionIdKey, n as companionLabelKey, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as ParamModelTypeEnum, E as api, G as FieldTypeToJs, H as CreateType, I as uuid2, J as useModal, K as requireEstraverse, M as commonjsGlobal, N as getDefaultExportFromCjs, Q as PaperWidgeValueType, R as getParseFormulaVarInfos, U as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, V as UniqueConstraintType, X as FieldDefaultValueTypeEnum, Y as FormTypeEnum, Z as mitt, _ as isDateObjectField, $ as PlatformEnum, a0 as LabelPosition, a1 as BooleanShowMode, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum, a8 as _export_sfc, a9 as normalizeFieldType, aa as PaperSizeMap, ab as clampSealPosition, ac as normalizeSealDiameter, ad as getFieldMain, ae as buildUUID, af as FieldIconMap, ag as BigNumber, ah as FieldSysVarDefaultValueEnum, ai as CellWidgetViewState, aj as DiagonalDirection, ak as WidgetImageSizeMode, al as LineDirection, am as TimeDiffFormat, an as DiagonalVertex, ao as resolveDiagonalVertex, ap as getThemeColorByTableType, aq as ViewTypeEnum, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as getAllTableProfiles, aF as transformUtils, aG as EmptySymbol, aH as ASSIGNMENTSTRATEGY_ENUM, aI as Dependency_ENUM, aJ as EntityModelCategoryEnum, aK as resolveLotDisplayLabel, aL as CheckDsTypeEnum, aM as DeviceLink, aN as DeviceParamsTypeTitle, aO as AITooltips, aP as DenoiseMethodOptions, aQ as BinarizeMethodOptions, aR as JoinModelTypeEum, aS as sqlUtils, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as ProductionIdentificationTypeEnum, b0 as BindCmpStyleEnum, b1 as getParseRuleInfo, b2 as getParseRuleValue, b3 as normalizeRefLoaderResult, b4 as STOCKTAKE_DIMENSION, b5 as F, b6 as resolveStocktakeSelectApi, b7 as readSealValue, b8 as isSealStamped, b9 as RenderModeEnum, ba as stampSealValue, bb as isValidSealValue, bc as clearSealValue, bd as normalizeProductionContainerOptions, be as buildProductionLotListQuery, bf as refUtils, bg as buildInspectionLotListQuery, bh as buildDeviceFilterQuery, bi as DEVICE_GROUP_QUERY_KEY, bj as getRowId, bk as findRuntimeTableRow, bl as calculateFormula, bm as findRuntimeParentRow, bn as useOnlineFormTransformField2Component, bo as FormulaRuleFieldKeyEnum, bp as formulaRuleFieldDict, bq as resolveDesignPanelFeatures, br as BIZ_TABLE_CONFIG_SEED_TYPES, bs as STOCKTAKE_DIMENSION_OPTIONS, bt as isRepeatingSubTablePanelType, bu as moveSealValue, bv as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
4
4
  import { range, cloneDeep, get as get$3, 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 * as Antd from "ant-design-vue";
7
7
  import { message, Modal, notification, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
8
- import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-KcYAaD4L.js";
9
- import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CX0iFSPu.js";
8
+ import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-DUMskrli.js";
9
+ import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DLNEaVVK.js";
10
10
  import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
11
- import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-BAxEpRSt.js";
11
+ import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-Dkg-MHBs.js";
12
12
  import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
13
13
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
14
- import { u as useFormModel, F as FormModelController } from "./mb-render-6W4rQCCs.js";
14
+ import { u as useFormModel, F as FormModelController } from "./mb-render-DXZA3p-e.js";
15
15
  import { HttpUtil } from "@gct-paas/api";
16
16
  import { useModal as useModal$1, t as t$2 } from "@gct-paas/core";
17
17
  import { useRoute } from "vue-router";
@@ -1931,7 +1931,7 @@ function openWindow(url, opt) {
1931
1931
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
1932
1932
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
1933
1933
  async function createWorkbook() {
1934
- const ExcelJs = (await import("./exceljs.min-DxP_gePB.js").then((n) => n.e)).default;
1934
+ const ExcelJs = (await import("./exceljs.min-CoJE8HUy.js").then((n) => n.e)).default;
1935
1935
  return new ExcelJs.Workbook();
1936
1936
  }
1937
1937
  class XlsxParser {
@@ -2259,39 +2259,39 @@ class XlsxParser {
2259
2259
  }
2260
2260
  function asyncImportClassModules() {
2261
2261
  const modules = /* @__PURE__ */ Object.assign({
2262
- "./_field_/auto-complete/index.ts": () => import("./index-SE_3lp_2.js").then((m) => m["default"]),
2263
- "./_field_/datepicker/index.ts": () => import("./index-BACy1kNx.js").then((m) => m["default"]),
2264
- "./_field_/datetimepicker/index.ts": () => import("./index-CDYdj27z.js").then((m) => m["default"]),
2265
- "./_field_/department/index.ts": () => import("./index-CUBuJgXv.js").then((m) => m["default"]),
2266
- "./_field_/enum-select/index.ts": () => import("./index-xjXwKn_U.js").then((m) => m["default"]),
2267
- "./_field_/input/index.ts": () => import("./index-CpfB9PtX.js").then((m) => m["default"]),
2268
- "./_field_/inputdouble/index.ts": () => import("./index-D21_mThP.js").then((m) => m["default"]),
2269
- "./_field_/inputnumber/index.ts": () => import("./index-DiohVDo3.js").then((m) => m["default"]),
2270
- "./_field_/rdo-select/index.ts": () => import("./index-CWNuHPAm.js").then((m) => m["default"]),
2271
- "./_field_/seal/index.ts": () => import("./index-BFdTtJg6.js").then((m) => m["default"]),
2272
- "./_field_/select/index.ts": () => import("./index-C9DS18NL.js").then((m) => m["default"]),
2273
- "./_field_/sign/index.ts": () => import("./index-DroJs-Mz.js").then((m) => m["default"]),
2274
- "./_field_/switch/index.ts": () => import("./index-C31GOuIn.js").then((m) => m["default"]),
2275
- "./_field_/textarea/index.ts": () => import("./index-BPPZx43z.js").then((m) => m["default"]),
2276
- "./_field_/timepicker/index.ts": () => import("./index-C8pwJYN2.js").then((m) => m["default"]),
2277
- "./_field_/upload-file/index.ts": () => import("./index-BPfmu478.js").then((m) => m["default"]),
2278
- "./_field_/upload-image/index.ts": () => import("./index-ReBFskV-.js").then((m) => m["default"]),
2279
- "./_field_/userpicker/index.ts": () => import("./index-BNoPALJg.js").then((m) => m["default"]),
2280
- "./_widget_/barcode/index.ts": () => import("./index-CFRwjGVP.js").then((m) => m["default"]),
2281
- "./_widget_/combine-fields/index.ts": () => import("./index-B0DbsbRk.js").then((m) => m["default"]),
2282
- "./_widget_/diagonal/index.ts": () => import("./index-DMAyRaqk.js").then((m) => m["default"]),
2283
- "./_widget_/dyn-value/index.ts": () => import("./index-DxsW4lHL.js").then((m) => m["default"]),
2284
- "./_widget_/image/index.ts": () => import("./index-CK0zkrem.js").then((m) => m["default"]),
2285
- "./_widget_/line/index.ts": () => import("./index-MG85JCOK.js").then((m) => m["default"]),
2286
- "./_widget_/power/index.ts": () => import("./index-Ccu4iRdK.js").then((m) => m["default"]),
2287
- "./_widget_/qrcode/index.ts": () => import("./index-DtC9-TV0.js").then((m) => m["default"]),
2288
- "./_widget_/ro/index.ts": () => import("./index-ekSIWVoo.js").then((m) => m["default"]),
2289
- "./_widget_/serialnumber/index.ts": () => import("./index-CPv1vJ82.js").then((m) => m["default"]),
2290
- "./_widget_/sub-table/index.ts": () => import("./index-DneCPDS-.js").then((m) => m["default"]),
2291
- "./_widget_/timediff/index.ts": () => import("./index-CUVFvdgd.js").then((m) => m["default"]),
2292
- "./paper/index.ts": () => import("./index-DowgCfNS.js").then((m) => m["default"]),
2293
- "./td/index.ts": () => import("./index-B4slk7aC.js").then((m) => m["default"]),
2294
- "./tr/index.ts": () => import("./index-Ob-SQzvR.js").then((m) => m["default"])
2262
+ "./_field_/auto-complete/index.ts": () => import("./index-PwzoOqVV.js").then((m) => m["default"]),
2263
+ "./_field_/datepicker/index.ts": () => import("./index-DdYvvyh_.js").then((m) => m["default"]),
2264
+ "./_field_/datetimepicker/index.ts": () => import("./index-hg0fOm4J.js").then((m) => m["default"]),
2265
+ "./_field_/department/index.ts": () => import("./index-imPej_ja.js").then((m) => m["default"]),
2266
+ "./_field_/enum-select/index.ts": () => import("./index-DH5Dv8n2.js").then((m) => m["default"]),
2267
+ "./_field_/input/index.ts": () => import("./index-97aR68E6.js").then((m) => m["default"]),
2268
+ "./_field_/inputdouble/index.ts": () => import("./index-zg3tXaPH.js").then((m) => m["default"]),
2269
+ "./_field_/inputnumber/index.ts": () => import("./index-DfRiBosT.js").then((m) => m["default"]),
2270
+ "./_field_/rdo-select/index.ts": () => import("./index-41BLq5Uo.js").then((m) => m["default"]),
2271
+ "./_field_/seal/index.ts": () => import("./index-Cp7XSolT.js").then((m) => m["default"]),
2272
+ "./_field_/select/index.ts": () => import("./index-CIzTPSmB.js").then((m) => m["default"]),
2273
+ "./_field_/sign/index.ts": () => import("./index-BHlpYm57.js").then((m) => m["default"]),
2274
+ "./_field_/switch/index.ts": () => import("./index-PaTR3UrD.js").then((m) => m["default"]),
2275
+ "./_field_/textarea/index.ts": () => import("./index-DSOySezE.js").then((m) => m["default"]),
2276
+ "./_field_/timepicker/index.ts": () => import("./index-nL3K7kdo.js").then((m) => m["default"]),
2277
+ "./_field_/upload-file/index.ts": () => import("./index-C0B9W2Am.js").then((m) => m["default"]),
2278
+ "./_field_/upload-image/index.ts": () => import("./index-Cj7XRfcM.js").then((m) => m["default"]),
2279
+ "./_field_/userpicker/index.ts": () => import("./index-DuTaIdEB.js").then((m) => m["default"]),
2280
+ "./_widget_/barcode/index.ts": () => import("./index-DToE7J-d.js").then((m) => m["default"]),
2281
+ "./_widget_/combine-fields/index.ts": () => import("./index-ke5aFQIy.js").then((m) => m["default"]),
2282
+ "./_widget_/diagonal/index.ts": () => import("./index-C2ZoHa_L.js").then((m) => m["default"]),
2283
+ "./_widget_/dyn-value/index.ts": () => import("./index-BE8UZyc3.js").then((m) => m["default"]),
2284
+ "./_widget_/image/index.ts": () => import("./index-ZC2d_NRx.js").then((m) => m["default"]),
2285
+ "./_widget_/line/index.ts": () => import("./index-CCStuq_v.js").then((m) => m["default"]),
2286
+ "./_widget_/power/index.ts": () => import("./index-BkPhf0P_.js").then((m) => m["default"]),
2287
+ "./_widget_/qrcode/index.ts": () => import("./index-BZ2tX5_F.js").then((m) => m["default"]),
2288
+ "./_widget_/ro/index.ts": () => import("./index-DE4Y2K3B.js").then((m) => m["default"]),
2289
+ "./_widget_/serialnumber/index.ts": () => import("./index-Cx3Ep-PX.js").then((m) => m["default"]),
2290
+ "./_widget_/sub-table/index.ts": () => import("./index-GlAEuTXL.js").then((m) => m["default"]),
2291
+ "./_widget_/timediff/index.ts": () => import("./index-C7roc9Qp.js").then((m) => m["default"]),
2292
+ "./paper/index.ts": () => import("./index-BMMv-7Lv.js").then((m) => m["default"]),
2293
+ "./td/index.ts": () => import("./index-BWQMZkQU.js").then((m) => m["default"]),
2294
+ "./tr/index.ts": () => import("./index-D94Jbbdu.js").then((m) => m["default"])
2295
2295
  });
2296
2296
  return modules;
2297
2297
  }
@@ -14639,8 +14639,9 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
14639
14639
  const labels = options.value.filter((item) => selectedValues.value.includes(item.value)).map((item) => item.label);
14640
14640
  return labels.join(",");
14641
14641
  });
14642
- const DEFAULT_OPTION_GAP2 = computed(() => isBoolean2.value ? 16 : 12);
14643
- const optionGap = computed(() => enumWidget.value.optionGap ?? DEFAULT_OPTION_GAP2.value);
14642
+ const optionGap = computed(() => {
14643
+ return enumWidget.value.optionGap ?? (isPortrait.value ? 0 : 4);
14644
+ });
14644
14645
  const iconLabelSpace = computed(() => {
14645
14646
  if (!isNil(enumWidget.value.iconLabelSpace)) return enumWidget.value.iconLabelSpace;
14646
14647
  return isBoolean2.value ? 6 : 8;
@@ -14713,7 +14714,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
14713
14714
  };
14714
14715
  }
14715
14716
  });
14716
- const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-10208898"]]);
14717
+ const FakeOptionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-a22b0a63"]]);
14717
14718
  const FieldDesignComponents = {
14718
14719
  "fw:input": FakeInput,
14719
14720
  "fw:number": FakeNumberInput,
@@ -15890,7 +15891,7 @@ function asyncImportWidgetConfigList() {
15890
15891
  return widgetConfigList;
15891
15892
  }
15892
15893
  function asyncImportWidgetDesign() {
15893
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-ytUgzVPq.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DYlCs0Mc.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-BQzeiS4_.js"), "./image/image-design.vue": () => import("./image-design-DkqPRvgz.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DqwkaSkB.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-Dkhg0J59.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BqaRQdiQ.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-zIzRaW2F.js"), "./text/text-design.vue": () => import("./text-design-CgXZliCE.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-Dt-Tht9t.js") });
15894
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-nZ3sGnfy.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-D58GbNKL.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-DzpjHOy3.js"), "./image/image-design.vue": () => import("./image-design-34ToRU_2.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DUd4LlKr.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-CvH1u1Ct.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BsllTiKX.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-DDDjzhOp.js"), "./text/text-design.vue": () => import("./text-design-BaCUTLkf.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-pZTLRrWQ.js") });
15894
15895
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
15895
15896
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
15896
15897
  if (mKey) {
@@ -36953,7 +36954,7 @@ const _sfc_main$4x = /* @__PURE__ */ defineComponent({
36953
36954
  mode: "multiple",
36954
36955
  showArrow: "",
36955
36956
  "max-tag-count": "responsive",
36956
- allowClear: !__props.disabled && !defaultConfig.value.unremovableKeys.length,
36957
+ allowClear: !__props.disabled,
36957
36958
  open: false,
36958
36959
  showSearch: false,
36959
36960
  options: selectorInfo.value.options,
@@ -36985,7 +36986,7 @@ const _sfc_main$4x = /* @__PURE__ */ defineComponent({
36985
36986
  };
36986
36987
  }
36987
36988
  });
36988
- const DisplayFieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4x, [["__scopeId", "data-v-2593d6b8"]]);
36989
+ const DisplayFieldsEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4x, [["__scopeId", "data-v-9ad99a29"]]);
36989
36990
  const _hoisted_1$2z = {
36990
36991
  key: 0,
36991
36992
  class: "quick-search-editor"
@@ -50416,7 +50417,8 @@ const _sfc_main$3V = /* @__PURE__ */ defineComponent({
50416
50417
  }
50417
50418
  });
50418
50419
  const optionGap = computed({
50419
- get: () => props2.widget.optionGap ?? DEFAULT_OPTION_GAP$1,
50420
+ // 只展示旧组件的实际间距,不在打开属性面板时补默认值。
50421
+ get: () => props2.widget.optionGap ?? (props2.widget.direction === Orientation.Portrait ? 0 : 4),
50420
50422
  set: (value) => {
50421
50423
  formState.value.optionGap = value ?? DEFAULT_OPTION_GAP$1;
50422
50424
  }
@@ -50600,7 +50602,7 @@ const _sfc_main$3R = /* @__PURE__ */ defineComponent({
50600
50602
  });
50601
50603
  const optionGap = computed({
50602
50604
  get() {
50603
- return props2.widget.optionGap ?? DEFAULT_OPTION_GAP;
50605
+ return props2.widget.optionGap ?? (props2.widget.direction === Orientation.Portrait ? 0 : 4);
50604
50606
  },
50605
50607
  set(v) {
50606
50608
  formState.value.optionGap = v ?? DEFAULT_OPTION_GAP;
@@ -52832,7 +52834,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
52832
52834
  }
52833
52835
  });
52834
52836
  function asyncImportWidgetProp() {
52835
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BeEl-vmE.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-2RikbMY4.js"), "./widget-image.vue": () => import("./widget-image-BQnx6Zq-.js"), "./widget-line.vue": () => import("./widget-line-DExLpo8B.js"), "./widget-pagination.vue": () => import("./widget-pagination-DRbptPhb.js"), "./widget-power.vue": () => import("./widget-power-DFeIBUN0.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-udJO7isz.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CtlNbAkB.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DwVOZxnx.js"), "./widget-text.vue": () => import("./widget-text-DNKSdOIb.js"), "./widget-timediff.vue": () => import("./widget-timediff-W8mjRj0p.js") });
52837
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-C3MD_RP5.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-q8eIEp22.js"), "./widget-image.vue": () => import("./widget-image-CG0QrnaQ.js"), "./widget-line.vue": () => import("./widget-line-BPR44uWF.js"), "./widget-pagination.vue": () => import("./widget-pagination-Y8UYwDX-.js"), "./widget-power.vue": () => import("./widget-power--Vg35e9Y.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-Bvw80fbM.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CtL0m9H_.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-i8ONzt0P.js"), "./widget-text.vue": () => import("./widget-text-DGrfq1vr.js"), "./widget-timediff.vue": () => import("./widget-timediff-DyyZY_15.js") });
52836
52838
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
52837
52839
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
52838
52840
  if (mKey) {
@@ -66910,12 +66912,12 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
66910
66912
  };
66911
66913
  });
66912
66914
  const separatorAttr = computed(() => {
66913
- const cmpStyle = {};
66915
+ const cmpStyle = { "--option-gap": "0px" };
66914
66916
  const cmpClass = [
66915
66917
  props2.widget.props.direction,
66916
66918
  `text-pos-${props2.widget.props.labelPos}`,
66917
66919
  bindCompStyleType,
66918
- "has-option-gap",
66920
+ !isNil(props2.widget.props.optionGap) && "has-option-gap",
66919
66921
  showRequired.value && "is-show-required",
66920
66922
  realFieldId.value
66921
66923
  ];
@@ -66924,11 +66926,13 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
66924
66926
  "--space": `${props2.widget.props.letterSpace}px`
66925
66927
  });
66926
66928
  }
66927
- const optionGap = `${props2.widget.props.optionGap ?? 12}px`;
66928
- Object.assign(cmpStyle, {
66929
- "--option-gap": optionGap,
66930
- gap: optionGap
66931
- });
66929
+ if (!isNil(props2.widget.props.optionGap)) {
66930
+ const optionGap = `${props2.widget.props.optionGap}px`;
66931
+ Object.assign(cmpStyle, {
66932
+ "--option-gap": optionGap,
66933
+ gap: optionGap
66934
+ });
66935
+ }
66932
66936
  let attr = {
66933
66937
  placeholder,
66934
66938
  disabled: showDisabled.value,
@@ -67073,7 +67077,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
67073
67077
  };
67074
67078
  }
67075
67079
  });
67076
- const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-7043c4d8"]]);
67080
+ const enumSelectRender = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__scopeId", "data-v-6db9b17f"]]);
67077
67081
  const __vite_glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
67078
67082
  __proto__: null,
67079
67083
  default: enumSelectRender
@@ -70153,7 +70157,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
70153
70157
  }
70154
70158
  });
70155
70159
  const VueVideoPlayer = defineAsyncComponent(
70156
- () => import("./VueVideoPlayer-DWexzKhv.js")
70160
+ () => import("./VueVideoPlayer-CNjyCXkN.js")
70157
70161
  );
70158
70162
  const _hoisted_1$16 = {
70159
70163
  key: 0,
@@ -74844,7 +74848,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
74844
74848
  };
74845
74849
  });
74846
74850
  const separatorAttr = computed(() => {
74847
- const cmpStyle = {};
74851
+ const cmpStyle = { "--option-gap": "0px", "--legacy-option-margin": "4px" };
74848
74852
  const cmpClass = [
74849
74853
  direction,
74850
74854
  `text-pos-${labelPos}`,
@@ -74856,12 +74860,14 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
74856
74860
  "--space": `${letterSpace}px`
74857
74861
  });
74858
74862
  }
74859
- const optionGap = `${props2.widget.props.optionGap ?? 12}px`;
74860
- Object.assign(cmpStyle, {
74861
- "--option-gap": optionGap,
74862
- "--legacy-option-margin": "0px",
74863
- gap: optionGap
74864
- });
74863
+ if (!isNil(props2.widget.props.optionGap)) {
74864
+ const optionGap = `${props2.widget.props.optionGap}px`;
74865
+ Object.assign(cmpStyle, {
74866
+ "--option-gap": optionGap,
74867
+ "--legacy-option-margin": "0px",
74868
+ gap: optionGap
74869
+ });
74870
+ }
74865
74871
  return {
74866
74872
  placeholder,
74867
74873
  fieldType,
@@ -74896,7 +74902,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
74896
74902
  immediate: true
74897
74903
  }
74898
74904
  );
74899
- function readonlyCallback(val) {
74905
+ function readonlyCallback(_val) {
74900
74906
  return renderUtils.getLabJsonValue(props2.formData, field);
74901
74907
  }
74902
74908
  function getOptionLabel(val) {
@@ -74964,7 +74970,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
74964
74970
  };
74965
74971
  }
74966
74972
  });
74967
- const switchRender = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-bf15424f"]]);
74973
+ const switchRender = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-2cdeac24"]]);
74968
74974
  const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
74969
74975
  __proto__: null,
74970
74976
  default: switchRender
@@ -91032,8 +91038,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
91032
91038
  printTask = (async () => {
91033
91039
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
91034
91040
  await nextTick();
91035
- const { printRuntimeInstance } = await import("./print-runtime-instance-C3QOi-S0.js");
91036
- const { default: renderer } = await import("./print-snapshot-renderer-BUJHyLBZ.js");
91041
+ const { printRuntimeInstance } = await import("./print-runtime-instance-D43SJ40x.js");
91042
+ const { default: renderer } = await import("./print-snapshot-renderer-Cl3U1usu.js");
91037
91043
  if (abort.signal.aborted) throw new Error("打印已取消");
91038
91044
  printRenderer.value = markRaw(renderer);
91039
91045
  await printRuntimeInstance(
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, az as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, az as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class UploadImage extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadImage;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
- import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class Seal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Seal;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,5 +1,5 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
@@ -1,9 +1,9 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import "vue";
3
3
  import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { A as AsyncGctOnlineComponents } from "./index-BGoURxHl.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-CfVqwZ88.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -1,5 +1,5 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
@@ -1,10 +1,10 @@
1
1
  import { get, pick, omit, merge } from "lodash-es";
2
- import { C as ComponentTypeEnum, O as Orientation, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, O as Orientation, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
7
- import { g as getFieldWidget } from "./index-BGoURxHl.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
+ import { g as getFieldWidget } from "./index-CfVqwZ88.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -16,7 +16,8 @@ class EnumSelect extends BaseComponent {
16
16
  labelPos: get(data.info, "labelPosition", LabelPosition.After),
17
17
  direction: get(data.info, "direction", Orientation.Landscape),
18
18
  letterSpace: get(data.info, "iconLabelSpace", 8),
19
- optionGap: get(data.info, "optionGap", 12),
19
+ // 旧设计稿保持未配置,由渲染组件沿用原选项边距。
20
+ optionGap: get(data.info, "optionGap"),
20
21
  size: get(data.info, "fontSize", 12),
21
22
  prefix: get(data.info, "prefix"),
22
23
  suffix: get(data.info, "suffix")
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class Textarea extends BaseComponent {
8
8
  component = ComponentTypeEnum.Textarea;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class Datepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Datepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { has, get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
- import { E as api, a8 as _export_sfc, cI as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cf as getParseRuleConfig, aW as renderUtils, bv as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { E as api, a8 as _export_sfc, cI as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cf as getParseRuleConfig, aW as renderUtils, bv as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import { message, Modal, Form } from "ant-design-vue";
3
3
  import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
4
4
  import { debounce, cloneDeep } from "lodash-es";
5
5
  import "dayjs";
6
- import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-6W4rQCCs.js";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-DXZA3p-e.js";
7
7
  import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
8
8
  import { VxeGrid } from "vxe-table";
9
9
  const uploadApis = {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class Userpicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Userpicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, d0 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, d0 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import "vue";
3
3
  import { pick, has, isEmpty } from "lodash-es";
4
4
  import "dayjs";
@@ -1,11 +1,11 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-KcYAaD4L.js";
3
- import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-DUMskrli.js";
3
+ import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-BGoURxHl.js";
8
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
7
+ import { g as getFieldWidget } from "./index-CfVqwZ88.js";
8
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
9
9
  class Switch extends BaseComponent {
10
10
  component = ComponentTypeEnum.Switch;
11
11
  wrapperCmpConfig({ data }) {
@@ -21,7 +21,8 @@ class Switch extends BaseComponent {
21
21
  displayMode: get(data.info, "showMode", BooleanShowMode.Both),
22
22
  direction: get(data.info, "direction", Orientation.Landscape),
23
23
  letterSpace: get(data.info, "iconLabelSpace", 0),
24
- optionGap: get(data.info, "optionGap", 12),
24
+ // 旧组件保留未配置状态,继续使用原选项边距。
25
+ optionGap: get(data.info, "optionGap"),
25
26
  size: get(data.info, "fontSize", 12),
26
27
  prefix: get(data.info, "prefix"),
27
28
  suffix: get(data.info, "suffix")
@@ -1,10 +1,10 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BugmiQBa.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-B6ZzluiW.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class DateTimepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.DateTimepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class Department extends BaseComponent {
8
8
  component = ComponentTypeEnum.Department;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-BGoURxHl.js";
7
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-CfVqwZ88.js";
8
8
  class CombineFields {
9
9
  component = ComponentTypeEnum.CombineFields;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { has, get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DfFEWbMP.js";
2
+ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Bv_fr9iD.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-biRcWhQS.js";
6
+ import { B as BaseComponent } from "./BaseComponent-tMwkSF8O.js";
7
7
  class InputDouble extends BaseComponent {
8
8
  component = ComponentTypeEnum.InputDouble;
9
9
  wrapperCmpConfig({ data }) {