@gct-paas/excel 0.1.39-beta.3 → 0.1.39-beta.5

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 (60) hide show
  1. package/dist/{BaseComponent-MsYFQjlq.js → BaseComponent-B8_qg2he.js} +1 -1
  2. package/dist/{barcode-design-DPH8Uh2K.js → barcode-design-DCm1U-OU.js} +1 -1
  3. package/dist/base/index.es.js +66 -64
  4. package/dist/{diagonal-design-AJOcMvxo.js → diagonal-design-DBk2s8UD.js} +1 -1
  5. package/dist/{dynamic-table-action-Bi7RdYoy.js → dynamic-table-action-JSevwsex.js} +101 -93
  6. package/dist/excel.css +82 -33
  7. package/dist/{exceljs.min-D7RI5VAg.js → exceljs.min-M28cAz_z.js} +1 -1
  8. package/dist/{font-editor-ttnkgG9j.js → font-editor-nCQk5D1K.js} +1 -1
  9. package/dist/{index-B5NG2ONv.js → index-B53fgzJo.js} +1 -1
  10. package/dist/{index-BbDITMyp.js → index-BSXafKJS.js} +1 -1
  11. package/dist/{index-CR2Qyh5l.js → index-BrkoN2-J.js} +2 -2
  12. package/dist/{index-IRXUwksU.js → index-BvJ7ZgvI.js} +1 -1
  13. package/dist/{index-Bb41zgXE.js → index-CBiaZr1j.js} +1 -1
  14. package/dist/{index-C90vW_gE.js → index-CCp6-NXH.js} +2 -2
  15. package/dist/{index-CLL_9LZB.js → index-CCsNdL4I.js} +1 -1
  16. package/dist/{index-7YbJRzdP.js → index-CFjE5779.js} +1 -1
  17. package/dist/{index-_h9yoejq.js → index-CGsTW2E9.js} +1 -1
  18. package/dist/{index-BKBn7Evl.js → index-CKWcaJGI.js} +1 -1
  19. package/dist/{index-CuGZ6C7l.js → index-Co1E4H0G.js} +1 -1
  20. package/dist/{index-D9xmHJZc.js → index-D7IBmbmp.js} +1 -1
  21. package/dist/{index-DBT8-Qit.js → index-DEN3-esb.js} +2 -2
  22. package/dist/{index-DNmbm6HV.js → index-DEl0sxMk.js} +3 -3
  23. package/dist/{index-Db-ix7hC.js → index-DPOE78Jf.js} +1 -1
  24. package/dist/{index-n1HZa-Ar.js → index-DT87VrvR.js} +1 -1
  25. package/dist/{index-EhaPjLBG.js → index-DkvjFyW6.js} +1 -1
  26. package/dist/{index-DgdosgZd.js → index-H_BLk7PI.js} +1 -1
  27. package/dist/{index-89I_eBZ-.js → index-I2HpU1BP.js} +2 -2
  28. package/dist/{index-DAN58pC9.js → index-XBuNXPu0.js} +1 -1
  29. package/dist/{index-ab9KSEKp.js → index-ZEwe0MJj.js} +1 -1
  30. package/dist/{index-DmBNvVlZ.js → index-bfXiwTE7.js} +536 -425
  31. package/dist/{index-_ZsA68LD.js → index-tZd-Us4e.js} +1 -1
  32. package/dist/{index-C_FegWKd.js → index-wcY1RYL_.js} +1 -1
  33. package/dist/index.es.js +1 -1
  34. package/dist/{pagination-design-DU2ZuaY4.js → pagination-design-BYqVZGdA.js} +1 -1
  35. package/dist/paper-widget-design-BcSUNaAF.js +4 -0
  36. package/dist/{print-runtime-instance-ydLRVd0y.js → print-runtime-instance-D3BJGzia.js} +1 -1
  37. package/dist/{print-snapshot-renderer-C3fEtvNI.js → print-snapshot-renderer-MzkjvlA8.js} +3 -3
  38. package/dist/{qrcode-design-BXlQ5QTm.js → qrcode-design-B0YGEijA.js} +1 -1
  39. package/dist/seal-design-CHOawN-k.js +4 -0
  40. package/dist/{single-field-drop-CYcOH6mT.js → single-field-drop-BycxT2Kf.js} +1 -1
  41. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
  42. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
  43. package/dist/{sub-table-factory-DxM8KQoS.js → sub-table-factory-BxG7QiiX.js} +1 -1
  44. package/dist/{text-design-8Za9qOSI.js → text-design-BQKYk7aD.js} +1 -1
  45. package/dist/{trace-like-wrapper-BPNmxIDn.js → trace-like-wrapper-CdKGpstE.js} +1 -1
  46. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CQ0YP-OF.js → value-editor.vue_vue_type_style_index_0_lang-CCv0wmKI.js} +1 -1
  47. package/dist/{widget-barcode-C38yawCK.js → widget-barcode-CK68yjvd.js} +2 -2
  48. package/dist/{widget-diagonal-abcgVyu4.js → widget-diagonal-9F-6feRM.js} +2 -2
  49. package/dist/{widget-image-DcSNslZ-.js → widget-image-2GcRCaIf.js} +1 -1
  50. package/dist/{widget-line-CttlnK7g.js → widget-line-flwy9kew.js} +1 -1
  51. package/dist/{widget-pagination-BNG9Rszh.js → widget-pagination-pxpEH1UB.js} +2 -2
  52. package/dist/{widget-power-DaC1id-m.js → widget-power-pFQ7lwCW.js} +2 -2
  53. package/dist/{widget-qrcode-BRFsOH44.js → widget-qrcode-D_Ri0RG2.js} +2 -2
  54. package/dist/{widget-rangelimit-fA6YF2E2.js → widget-rangelimit-DB97heRc.js} +2 -2
  55. package/dist/{widget-serialnumber-mnpGMXuB.js → widget-serialnumber-I35Sov0R.js} +1 -1
  56. package/dist/{widget-text-gHJcpS1w.js → widget-text-C93W0WWM.js} +3 -3
  57. package/dist/{widget-timediff-ByHm9Dg3.js → widget-timediff-S4X81H7c.js} +1 -1
  58. package/package.json +1 -1
  59. package/dist/paper-widget-design-BE_wOTpv.js +0 -4
  60. package/dist/seal-design-7aKsQ6RT.js +0 -4
@@ -1,4 +1,4 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-Bi7RdYoy.js";
1
+ import { n as normalizeFieldWidth } from "./dynamic-table-action-JSevwsex.js";
2
2
  import { get, pick } from "lodash-es";
3
3
  import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
4
4
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, toDisplayString, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-DmBNvVlZ.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-bfXiwTE7.js";
4
4
  import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,13 +1,13 @@
1
1
  import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, bv as assembleRules, bw as isAttachFieldActive, aI as Dependency_ENUM, bk as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Y as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a8 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
2
  import { aO, aQ, a$, a1, bK, bL, B, bM, y, ai, bN, bO, bP, bh, bQ, aT, ay, aP, aM, aN, bR, aj, an, bS, bT, aG, a3, ah, az, aR, a0, al, L, bU, bV, bW, O, p, P, aa, o, Q, A, bX, bY, ax, aw, a6, a2, a4, a5, a7, f, bZ, am, aq, ak, b_, b$, c0, c1, bg, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, bl, cc, cd, aZ, ce, b0, b1, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, aY, cp, b2, be, cq, cr, cs, ao, t, aS, ct, cu, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
3
- import { L as getRuntimeDataFieldId, x as parseRuntimeFieldPath, O as buildRuntimeFieldPath, P as resolveRuntimeFieldProps, Q as resolveRuntimeFieldState, T as getRuntimeDependencyOutputKey, U as isRowAddedInCurrentFormChange, l as MaterialConsumptionPatternEnum, V as MaterialConsumeTableController, W as setFormulaParamsConfig, X as normalizeRuntime, F as createRuntimeInstanceContext, R as RuntimeFormStateStore, Y as RuntimeSheetService, g as getBusinessFieldKey, Z as validateObjectBomQtyOnSubmit, $ as closeValidatorPopovers, a0 as enrichFormChangeRowDetails, N as NCB_PROVIDE, G as RuntimeInstanceRegistry, a1 as useMaterialBalance, a2 as collectFormChangeFieldLocations, a3 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Bi7RdYoy.js";
4
- import { B as B2, a4 as a42, b, _, a5 as a52, J, a6 as a62, K, E, a7 as a72, a8, a9, aa as aa2, ab, ac, M, ad, ae, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, q, al as al2, k, am as am2, c, an as an2, ao as ao2, ap, aq as aq2, j, t as t2, ar, as, at, au, d, w, a, av, aw as aw2, ax as ax2, ay as ay2, az as az2, aA, m, r, aB, o as o2, h, aC, s, aD, z, A as A2, u, p as p2, C, f as f2, i, y as y2, e, v } from "../dynamic-table-action-Bi7RdYoy.js";
3
+ import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-JSevwsex.js";
4
+ import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-JSevwsex.js";
5
5
  import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
6
6
  import { cloneDeep, defaults, isEmpty, merge } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DxM8KQoS.js";
9
- import { A as A3, D, M as M2, a as a10, P as P2, b as b3, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DxM8KQoS.js";
10
- import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BZDgmpm9.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BxG7QiiX.js";
9
+ import { A as A3, D, M as M2, a as a10, P as P2, b as b3, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-BxG7QiiX.js";
10
+ import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-BZDgmpm9.js";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
13
13
  ABANDON: "ABANDON",
@@ -3080,19 +3080,19 @@ export {
3080
3080
  aT as DateFormat,
3081
3081
  ay as DecimalDisplayMode,
3082
3082
  aP as DenoiseMethodOptions,
3083
- a42 as DeviceConnector,
3083
+ a62 as DeviceConnector,
3084
3084
  aM as DeviceLink,
3085
- b as DeviceLinkTmplUtil,
3085
+ e as DeviceLinkTmplUtil,
3086
3086
  aN as DeviceParamsTypeTitle,
3087
3087
  D as DevicePartConsumeTableCore,
3088
3088
  bR as DeviceStatus,
3089
3089
  aj as DiagonalDirection,
3090
3090
  an as DiagonalVertex,
3091
3091
  _ as DocumentLayout,
3092
- a52 as DocumentLoading,
3093
- J as DocumentPaper,
3094
- a62 as DynamicQuickFillModal,
3095
- K as DynamicTableAction,
3092
+ a72 as DocumentLoading,
3093
+ L2 as DocumentPaper,
3094
+ a8 as DynamicQuickFillModal,
3095
+ O2 as DynamicTableAction,
3096
3096
  bS as EBR_PROVIDE_ENUM,
3097
3097
  bT as EFieldBizTypeEnum,
3098
3098
  E as EMPTY_PRODUCT_VERSION_ID,
@@ -3100,26 +3100,28 @@ export {
3100
3100
  a3 as FallbackSignTypeEnum,
3101
3101
  ah as FieldSysVarDefaultValueEnum,
3102
3102
  FillingTypeEnum,
3103
- a72 as FixedQuickFillModal,
3103
+ a9 as FixedQuickFillModal,
3104
3104
  FormAnnotationController,
3105
- F as FormModelController,
3105
+ F2 as FormModelController,
3106
3106
  FormTmplBomController,
3107
- a8 as FormTmplConfigController,
3107
+ aa2 as FormTmplConfigController,
3108
3108
  FormTypeEnum,
3109
3109
  az as ImageDisplayModeEnum,
3110
3110
  InstanceStatusValues,
3111
3111
  aR as JoinModelTypeEum,
3112
- a9 as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3113
- aa2 as LEGACY_RUNTIME_SHEET_ID,
3114
- ab as LEGACY_RUNTIME_SHEET_TITLE,
3112
+ ab as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
3113
+ ac as LEGACY_RUNTIME_SHEET_ID,
3114
+ ad as LEGACY_RUNTIME_SHEET_TITLE,
3115
3115
  a0 as LabelPosition,
3116
3116
  al as LineDirection,
3117
3117
  L as LineType,
3118
3118
  bU as MAX_FRONT_ROW_KEY_LENGTH,
3119
+ M as MAX_RUNTIME_SHEETS,
3120
+ a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
3119
3121
  M3 as MBRender,
3120
- ac as MCDataUtil,
3122
+ ae as MCDataUtil,
3121
3123
  a11 as MCRender,
3122
- M as MULTI_SHEET_SCHEMA_VERSION,
3124
+ b as MULTI_SHEET_SCHEMA_VERSION,
3123
3125
  MaterialConsumeTableController,
3124
3126
  MaterialConsumptionPatternEnum,
3125
3127
  M2 as MaterialRequisitionTableCore,
@@ -3127,7 +3129,7 @@ export {
3127
3129
  a10 as MaterialSubstitutionTableCore,
3128
3130
  bV as MobileFillTypeEnum,
3129
3131
  NCB_PROVIDE,
3130
- ad as OCR_MODEL_PRECISION_ENUM_KEY,
3132
+ af as OCR_MODEL_PRECISION_ENUM_KEY,
3131
3133
  bW as OfficeTypeEnum,
3132
3134
  O as Orientation,
3133
3135
  p as PageSizeEnum,
@@ -3145,17 +3147,17 @@ export {
3145
3147
  ax as RangeCompareOp,
3146
3148
  aw as RangeValidateMode,
3147
3149
  RenderModeEnum,
3148
- ae as RuntimeAsyncTaskCoordinator,
3149
- af as RuntimeDependencyService,
3150
- ag as RuntimeFieldRegistry,
3150
+ ag as RuntimeAsyncTaskCoordinator,
3151
+ ah2 as RuntimeDependencyService,
3152
+ ai2 as RuntimeFieldRegistry,
3151
3153
  RuntimeFormStateStore,
3152
3154
  RuntimeInstanceController,
3153
- ah2 as RuntimeInstanceEventBus,
3155
+ aj2 as RuntimeInstanceEventBus,
3154
3156
  RuntimeInstanceRegistry,
3155
- ai2 as RuntimePersistenceCoordinator,
3157
+ ak2 as RuntimePersistenceCoordinator,
3156
3158
  RuntimeRuleCompiler,
3157
3159
  RuntimeSheetService,
3158
- aj2 as RuntimeValidationService,
3160
+ al2 as RuntimeValidationService,
3159
3161
  a6 as SignShowTypeEnum,
3160
3162
  a2 as SignatureImageDirectionEnum,
3161
3163
  a4 as SignatureNumberTypeEnum,
@@ -3163,7 +3165,7 @@ export {
3163
3165
  a7 as SignatureTypeEnum,
3164
3166
  d2 as SterilizeBatchTableCore,
3165
3167
  e2 as StocktakeTableCore,
3166
- ak2 as SubTableCore,
3168
+ am2 as SubTableCore,
3167
3169
  SubTableCoreFactory,
3168
3170
  f as SubTableType,
3169
3171
  bZ as SummaryApproveHisTypeEnum,
@@ -3175,14 +3177,14 @@ export {
3175
3177
  h2 as WarehouseOutboundTableCore,
3176
3178
  ak as WidgetImageSizeMode,
3177
3179
  b_ as applyCheckDsDataToRuntime,
3178
- q as applyConsumeObjectTraceChange,
3180
+ w as applyConsumeObjectTraceChange,
3179
3181
  b$ as applyMedProCheckDsDataToRuntime,
3180
3182
  baseDataUtils,
3181
3183
  c0 as bindRuntimeTableColumns,
3182
3184
  c1 as buildDeviceBaseQuery,
3183
3185
  bg as buildDeviceFilterQuery,
3184
- al2 as buildFormChangeDisplayRows,
3185
- k as buildObjectLotExtraQuery,
3186
+ an2 as buildFormChangeDisplayRows,
3187
+ m as buildObjectLotExtraQuery,
3186
3188
  buildRuntimeFieldPath,
3187
3189
  c2 as calcFillData,
3188
3190
  c3 as calcUtils,
@@ -3191,16 +3193,16 @@ export {
3191
3193
  collectFormChangeFieldLocations,
3192
3194
  commonUtils,
3193
3195
  convertHistoricalAnnotationLocation,
3194
- am2 as convertV1Runtime,
3196
+ ao2 as convertV1Runtime,
3195
3197
  c as createRuntimeDocumentV2,
3196
3198
  createRuntimeInstanceContext,
3197
3199
  c4 as decodeTableCellRowKey,
3198
- an2 as detailsHaveFormChangeRowOps,
3200
+ ap as detailsHaveFormChangeRowOps,
3199
3201
  c5 as encodeTableCellRowKey,
3200
3202
  enrichFormChangeRowDetails,
3201
3203
  c6 as ensureFrontRowKey,
3202
3204
  c7 as ensureTableRowKeys,
3203
- ao2 as extractFormChangeRowDetails,
3205
+ aq2 as extractFormChangeRowDetails,
3204
3206
  c8 as extractKeywordFromQueryData,
3205
3207
  c9 as fetchCheckDsDataForTable,
3206
3208
  ca as fetchCustomCheckDsData,
@@ -3215,11 +3217,11 @@ export {
3215
3217
  getAppInfo,
3216
3218
  getBusinessFieldKey,
3217
3219
  cd as getCheckTableSnapshotKey,
3218
- ap as getFormChangeRowKey,
3219
- aq2 as getFormChangeRowOp,
3220
+ ar as getFormChangeRowKey,
3221
+ as as getFormChangeRowOp,
3220
3222
  aZ as getLotLockedReason,
3221
- j as getObjectBomMaterialLotQuery,
3222
- t2 as getObjectBomProductQuery,
3223
+ l as getObjectBomMaterialLotQuery,
3224
+ x as getObjectBomProductQuery,
3223
3225
  getParseFormulaVarInfos,
3224
3226
  ce as getParseRuleConfig,
3225
3227
  b0 as getParseRuleInfo,
@@ -3228,18 +3230,18 @@ export {
3228
3230
  cg as getRenderedRuntimeTableCell,
3229
3231
  getRuntimeDataFieldId,
3230
3232
  getRuntimeDependencyOutputKey,
3231
- ar as getSubTableQuickFillInfo,
3233
+ at as getSubTableQuickFillInfo,
3232
3234
  getSuiteKey,
3233
3235
  ch as handleOldConfig,
3234
3236
  ci as hasAnyCheckTableSnapshot,
3235
3237
  cj as hasByTableCheckTableSnapshot,
3236
3238
  ck as hasSharedCheckTableSnapshot,
3237
- as as isAnnLocationSelected,
3238
- at as isBlank,
3239
+ au as isAnnLocationSelected,
3240
+ av as isBlank,
3239
3241
  isBomGranted,
3240
3242
  isEdhrSuite,
3241
3243
  isEqmSuite,
3242
- au as isFormChangeGhostRow,
3244
+ aw2 as isFormChangeGhostRow,
3243
3245
  cl as isMedProSuite,
3244
3246
  isRowAddedInCurrentFormChange,
3245
3247
  cm as isTableRowKeyMatch,
@@ -3248,55 +3250,55 @@ export {
3248
3250
  aY as materialCheck,
3249
3251
  cp as migrateDiagonalDirectionToVertex,
3250
3252
  nextFormChangeRowViewHistoryId,
3251
- d as normalizeAIOcrTmpl,
3252
- w as normalizeHistoricalAutofillRow,
3253
- a as normalizeHistoricalBusinessRow,
3254
- av as normalizeHistoricalFieldConfig,
3253
+ f2 as normalizeAIOcrTmpl,
3254
+ y2 as normalizeHistoricalAutofillRow,
3255
+ d as normalizeHistoricalBusinessRow,
3256
+ ax2 as normalizeHistoricalFieldConfig,
3255
3257
  b2 as normalizeRefLoaderResult,
3256
3258
  normalizeRuntime,
3257
3259
  parseFrontConfig,
3258
3260
  parseRuntimeFieldPath,
3259
3261
  parseUdi,
3260
- aw2 as pickObjectFieldKeys,
3261
- ax2 as recordSubtableRowAdd,
3262
- ay2 as recordSubtableRowDelete,
3262
+ ay2 as pickObjectFieldKeys,
3263
+ az2 as recordSubtableRowAdd,
3264
+ aA as recordSubtableRowDelete,
3263
3265
  be as refUtils,
3264
3266
  cq as relocateDeletedRowsToEnd,
3265
3267
  renderUtils,
3266
3268
  cr as requestMedProCheckDsData,
3267
3269
  cs as requestNonMedProCheckDsData,
3268
- az2 as resolveAnnotationFieldLocation,
3270
+ aB as resolveAnnotationFieldLocation,
3269
3271
  ao as resolveDiagonalVertex,
3270
3272
  t as resolveFieldRenderComponent,
3271
- aA as resolveFormChangeRowUi,
3272
- m as resolveObjectBomEntry,
3273
+ aC as resolveFormChangeRowUi,
3274
+ p2 as resolveObjectBomEntry,
3273
3275
  r as resolveObjectFieldKeys,
3274
- aB as resolveRowFormChangeMark,
3276
+ aD as resolveRowFormChangeMark,
3275
3277
  resolveUdiQuery,
3276
- o2 as runWithFillProduct,
3277
- h as setSelectAnnotationId,
3278
- aC as setSelectMobileTdId,
3278
+ q as runWithFillProduct,
3279
+ j as setSelectAnnotationId,
3280
+ aE as setSelectMobileTdId,
3279
3281
  s as setSelectValidatorId,
3280
3282
  aS as sqlUtils,
3281
3283
  ct as stockCheck,
3282
- aD as stripLegacyFormConfigFromPaper,
3284
+ aF as stripLegacyFormConfigFromPaper,
3283
3285
  transformUtils,
3284
- z as useDependency,
3286
+ C as useDependency,
3285
3287
  useEbrWikiFactoryV2,
3286
- A2 as useFieldPresentation,
3288
+ F as useFieldPresentation,
3287
3289
  u2 as useFormModel,
3288
3290
  u as useFormTmplConfig,
3289
3291
  useMaterialBalance,
3290
3292
  useNocodeEmitter,
3291
- p2 as useNocodeFormWidget,
3293
+ t2 as useNocodeFormWidget,
3292
3294
  cu as useOnlineFormActionButton,
3293
3295
  bm as useOnlineFormTransformField2Component,
3294
3296
  useRenderPageFactory,
3295
- C as useRuntimeEditorFlusher,
3296
- f2 as useRuntimeInstanceServices,
3297
- i as useRuntimeRowState,
3298
- y2 as useStyles,
3299
- e as useWidgetStaticAttrs,
3297
+ G as useRuntimeEditorFlusher,
3298
+ i as useRuntimeInstanceServices,
3299
+ k as useRuntimeRowState,
3300
+ A2 as useStyles,
3301
+ h as useWidgetStaticAttrs,
3300
3302
  v as validateObjectBomForScan,
3301
3303
  validateObjectBomQtyOnSubmit,
3302
3304
  a_ as validateReinspectionDate
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { h as useModelFields, D as Diagonal } from "./index-DmBNvVlZ.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-bfXiwTE7.js";
3
3
  import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
@@ -942,6 +942,8 @@ function convertV1Runtime(runtime) {
942
942
  return { schemaVersion: 1, formConfig, sheets: [sheet] };
943
943
  }
944
944
  const MULTI_SHEET_SCHEMA_VERSION = 2;
945
+ const MAX_RUNTIME_SHEETS = 100;
946
+ const MAX_RUNTIME_SHEET_TITLE_LENGTH = 255;
945
947
  function assertObject(value, message2) {
946
948
  if (!value || typeof value !== "object" || Array.isArray(value)) throw new Error(message2);
947
949
  }
@@ -1007,7 +1009,9 @@ function normalizeRuntime(runtime) {
1007
1009
  if (!Array.isArray(runtime.sheets) || runtime.sheets.length === 0) {
1008
1010
  throw new Error("多 Sheet 运行时至少需要一个工作表");
1009
1011
  }
1010
- if (runtime.sheets.length > 10) throw new Error("每份表单最多支持 10 个工作表");
1012
+ if (runtime.sheets.length > MAX_RUNTIME_SHEETS) {
1013
+ throw new Error(`每份表单最多支持 ${MAX_RUNTIME_SHEETS} 个工作表`);
1014
+ }
1011
1015
  const formConfig = runtime.formConfig ?? {};
1012
1016
  assertObject(formConfig, "多 Sheet 运行时的 formConfig 格式无效");
1013
1017
  const ids = /* @__PURE__ */ new Set();
@@ -1018,7 +1022,9 @@ function normalizeRuntime(runtime) {
1018
1022
  const sheetId = String(rawSheet.sheetId ?? "").trim();
1019
1023
  const title = String(rawSheet.title ?? "").trim();
1020
1024
  if (!sheetId) throw new Error(`第 ${index + 1} 个工作表缺少 sheetId`);
1021
- if (!title || title.length > 20) throw new Error(`工作表名称必须为 1 到 20 个字符:${title}`);
1025
+ if (!title || title.length > MAX_RUNTIME_SHEET_TITLE_LENGTH) {
1026
+ throw new Error(`工作表名称必须为 1 到 ${MAX_RUNTIME_SHEET_TITLE_LENGTH} 个字符:${title}`);
1027
+ }
1022
1028
  if (ids.has(sheetId)) throw new Error(`重复的 sheetId:${sheetId}`);
1023
1029
  if (titles.has(title)) throw new Error(`重复的工作表名称:${title}`);
1024
1030
  ids.add(sheetId);
@@ -10257,109 +10263,111 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10257
10263
  });
10258
10264
  const DynamicTableAction = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-53d7e66c"]]);
10259
10265
  export {
10260
- closeValidatorPopovers as $,
10261
- useFieldPresentation as A,
10266
+ RuntimeSheetService as $,
10267
+ useStyles as A,
10262
10268
  BorderTD as B,
10263
- useRuntimeEditorFlusher as C,
10269
+ useDependency as C,
10264
10270
  DEFAULT_BOOLEAN_FIELD_WIDTH as D,
10265
10271
  EMPTY_PRODUCT_VERSION_ID as E,
10266
- createRuntimeInstanceContext as F,
10267
- RuntimeInstanceRegistry as G,
10268
- RequiredQtyCalcRule as H,
10269
- registerFormulaFuncs as I,
10270
- DocumentPaper as J,
10271
- DynamicTableAction as K,
10272
- getRuntimeDataFieldId as L,
10273
- MULTI_SHEET_SCHEMA_VERSION as M,
10272
+ useFieldPresentation as F,
10273
+ useRuntimeEditorFlusher as G,
10274
+ createRuntimeInstanceContext as H,
10275
+ RuntimeInstanceRegistry as I,
10276
+ RequiredQtyCalcRule as J,
10277
+ registerFormulaFuncs as K,
10278
+ DocumentPaper as L,
10279
+ MAX_RUNTIME_SHEETS as M,
10274
10280
  NCB_PROVIDE as N,
10275
- buildRuntimeFieldPath as O,
10276
- resolveRuntimeFieldProps as P,
10277
- resolveRuntimeFieldState as Q,
10281
+ DynamicTableAction as O,
10282
+ getRuntimeDataFieldId as P,
10283
+ buildRuntimeFieldPath as Q,
10278
10284
  RuntimeFormStateStore as R,
10279
10285
  ScanParamType as S,
10280
- getRuntimeDependencyOutputKey as T,
10281
- isRowAddedInCurrentFormChange as U,
10282
- MaterialConsumeTableController as V,
10283
- setFormulaParamsConfig as W,
10284
- normalizeRuntime as X,
10285
- RuntimeSheetService as Y,
10286
- validateObjectBomQtyOnSubmit as Z,
10286
+ resolveRuntimeFieldProps as T,
10287
+ resolveRuntimeFieldState as U,
10288
+ getRuntimeDependencyOutputKey as V,
10289
+ isRowAddedInCurrentFormChange as W,
10290
+ MaterialConsumeTableController as X,
10291
+ setFormulaParamsConfig as Y,
10292
+ normalizeRuntime as Z,
10287
10293
  _sfc_main$5 as _,
10288
- normalizeHistoricalBusinessRow as a,
10289
- enrichFormChangeRowDetails as a0,
10290
- useMaterialBalance as a1,
10291
- collectFormChangeFieldLocations as a2,
10292
- nextFormChangeRowViewHistoryId as a3,
10293
- DeviceConnector as a4,
10294
- DocumentLoading as a5,
10295
- DynamicQuickFillModal as a6,
10296
- FixedQuickFillModal as a7,
10297
- FormTmplConfigController as a8,
10298
- LEGACY_RUNTIME_FORM_CONFIG_KEYS as a9,
10299
- resolveFormChangeRowUi as aA,
10300
- resolveRowFormChangeMark as aB,
10301
- setSelectMobileTdId as aC,
10302
- stripLegacyFormConfigFromPaper as aD,
10303
- SubTableActionMenuTypeEnum as aE,
10304
- getMenuByAction as aF,
10305
- SubTableActionEnum as aG,
10306
- resolveScanFillData as aH,
10307
- getInsertSubMenu as aI,
10308
- resolveScanAdjustType as aJ,
10309
- resolveScanQty as aK,
10310
- toDateOnly as aL,
10311
- getCopySubMenu as aM,
10312
- resolveScanParsedValue as aN,
10313
- isProductBatchEmptyRow as aO,
10314
- LEGACY_RUNTIME_SHEET_ID as aa,
10315
- LEGACY_RUNTIME_SHEET_TITLE as ab,
10316
- MCDataUtil as ac,
10317
- OCR_MODEL_PRECISION_ENUM_KEY as ad,
10318
- RuntimeAsyncTaskCoordinator as ae,
10319
- RuntimeDependencyService as af,
10320
- RuntimeFieldRegistry as ag,
10321
- RuntimeInstanceEventBus as ah,
10322
- RuntimePersistenceCoordinator as ai,
10323
- RuntimeValidationService as aj,
10324
- SubTableCore as ak,
10325
- buildFormChangeDisplayRows as al,
10326
- convertV1Runtime as am,
10327
- detailsHaveFormChangeRowOps as an,
10328
- extractFormChangeRowDetails as ao,
10329
- getFormChangeRowKey as ap,
10330
- getFormChangeRowOp as aq,
10331
- getSubTableQuickFillInfo as ar,
10332
- isAnnLocationSelected as as,
10333
- isBlank as at,
10334
- isFormChangeGhostRow as au,
10335
- normalizeHistoricalFieldConfig as av,
10336
- pickObjectFieldKeys as aw,
10337
- recordSubtableRowAdd as ax,
10338
- recordSubtableRowDelete as ay,
10339
- resolveAnnotationFieldLocation as az,
10340
- DeviceLinkTmplUtil as b,
10294
+ MAX_RUNTIME_SHEET_TITLE_LENGTH as a,
10295
+ validateObjectBomQtyOnSubmit as a0,
10296
+ closeValidatorPopovers as a1,
10297
+ enrichFormChangeRowDetails as a2,
10298
+ useMaterialBalance as a3,
10299
+ collectFormChangeFieldLocations as a4,
10300
+ nextFormChangeRowViewHistoryId as a5,
10301
+ DeviceConnector as a6,
10302
+ DocumentLoading as a7,
10303
+ DynamicQuickFillModal as a8,
10304
+ FixedQuickFillModal as a9,
10305
+ recordSubtableRowDelete as aA,
10306
+ resolveAnnotationFieldLocation as aB,
10307
+ resolveFormChangeRowUi as aC,
10308
+ resolveRowFormChangeMark as aD,
10309
+ setSelectMobileTdId as aE,
10310
+ stripLegacyFormConfigFromPaper as aF,
10311
+ SubTableActionMenuTypeEnum as aG,
10312
+ getMenuByAction as aH,
10313
+ SubTableActionEnum as aI,
10314
+ resolveScanFillData as aJ,
10315
+ getInsertSubMenu as aK,
10316
+ resolveScanAdjustType as aL,
10317
+ resolveScanQty as aM,
10318
+ toDateOnly as aN,
10319
+ getCopySubMenu as aO,
10320
+ resolveScanParsedValue as aP,
10321
+ isProductBatchEmptyRow as aQ,
10322
+ FormTmplConfigController as aa,
10323
+ LEGACY_RUNTIME_FORM_CONFIG_KEYS as ab,
10324
+ LEGACY_RUNTIME_SHEET_ID as ac,
10325
+ LEGACY_RUNTIME_SHEET_TITLE as ad,
10326
+ MCDataUtil as ae,
10327
+ OCR_MODEL_PRECISION_ENUM_KEY as af,
10328
+ RuntimeAsyncTaskCoordinator as ag,
10329
+ RuntimeDependencyService as ah,
10330
+ RuntimeFieldRegistry as ai,
10331
+ RuntimeInstanceEventBus as aj,
10332
+ RuntimePersistenceCoordinator as ak,
10333
+ RuntimeValidationService as al,
10334
+ SubTableCore as am,
10335
+ buildFormChangeDisplayRows as an,
10336
+ convertV1Runtime as ao,
10337
+ detailsHaveFormChangeRowOps as ap,
10338
+ extractFormChangeRowDetails as aq,
10339
+ getFormChangeRowKey as ar,
10340
+ getFormChangeRowOp as as,
10341
+ getSubTableQuickFillInfo as at,
10342
+ isAnnLocationSelected as au,
10343
+ isBlank as av,
10344
+ isFormChangeGhostRow as aw,
10345
+ normalizeHistoricalFieldConfig as ax,
10346
+ pickObjectFieldKeys as ay,
10347
+ recordSubtableRowAdd as az,
10348
+ MULTI_SHEET_SCHEMA_VERSION as b,
10341
10349
  createRuntimeDocumentV2 as c,
10342
- normalizeAIOcrTmpl as d,
10343
- useWidgetStaticAttrs as e,
10344
- useRuntimeInstanceServices as f,
10350
+ normalizeHistoricalBusinessRow as d,
10351
+ DeviceLinkTmplUtil as e,
10352
+ normalizeAIOcrTmpl as f,
10345
10353
  getBusinessFieldKey as g,
10346
- setSelectAnnotationId as h,
10347
- useRuntimeRowState as i,
10348
- getObjectBomMaterialLotQuery as j,
10349
- buildObjectLotExtraQuery as k,
10350
- MaterialConsumptionPatternEnum as l,
10351
- resolveObjectBomEntry as m,
10354
+ useWidgetStaticAttrs as h,
10355
+ useRuntimeInstanceServices as i,
10356
+ setSelectAnnotationId as j,
10357
+ useRuntimeRowState as k,
10358
+ getObjectBomMaterialLotQuery as l,
10359
+ buildObjectLotExtraQuery as m,
10352
10360
  normalizeFieldWidth as n,
10353
- runWithFillProduct as o,
10354
- useNocodeFormWidget as p,
10355
- applyConsumeObjectTraceChange as q,
10361
+ MaterialConsumptionPatternEnum as o,
10362
+ resolveObjectBomEntry as p,
10363
+ runWithFillProduct as q,
10356
10364
  resolveObjectFieldKeys as r,
10357
10365
  setSelectValidatorId as s,
10358
- getObjectBomProductQuery as t,
10366
+ useNocodeFormWidget as t,
10359
10367
  useFormTmplConfig as u,
10360
10368
  validateObjectBomForScan as v,
10361
- normalizeHistoricalAutofillRow as w,
10362
- parseRuntimeFieldPath as x,
10363
- useStyles as y,
10364
- useDependency as z
10369
+ applyConsumeObjectTraceChange as w,
10370
+ getObjectBomProductQuery as x,
10371
+ normalizeHistoricalAutofillRow as y,
10372
+ parseRuntimeFieldPath as z
10365
10373
  };