@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.
- package/dist/{BaseComponent-MsYFQjlq.js → BaseComponent-B8_qg2he.js} +1 -1
- package/dist/{barcode-design-DPH8Uh2K.js → barcode-design-DCm1U-OU.js} +1 -1
- package/dist/base/index.es.js +66 -64
- package/dist/{diagonal-design-AJOcMvxo.js → diagonal-design-DBk2s8UD.js} +1 -1
- package/dist/{dynamic-table-action-Bi7RdYoy.js → dynamic-table-action-JSevwsex.js} +101 -93
- package/dist/excel.css +82 -33
- package/dist/{exceljs.min-D7RI5VAg.js → exceljs.min-M28cAz_z.js} +1 -1
- package/dist/{font-editor-ttnkgG9j.js → font-editor-nCQk5D1K.js} +1 -1
- package/dist/{index-B5NG2ONv.js → index-B53fgzJo.js} +1 -1
- package/dist/{index-BbDITMyp.js → index-BSXafKJS.js} +1 -1
- package/dist/{index-CR2Qyh5l.js → index-BrkoN2-J.js} +2 -2
- package/dist/{index-IRXUwksU.js → index-BvJ7ZgvI.js} +1 -1
- package/dist/{index-Bb41zgXE.js → index-CBiaZr1j.js} +1 -1
- package/dist/{index-C90vW_gE.js → index-CCp6-NXH.js} +2 -2
- package/dist/{index-CLL_9LZB.js → index-CCsNdL4I.js} +1 -1
- package/dist/{index-7YbJRzdP.js → index-CFjE5779.js} +1 -1
- package/dist/{index-_h9yoejq.js → index-CGsTW2E9.js} +1 -1
- package/dist/{index-BKBn7Evl.js → index-CKWcaJGI.js} +1 -1
- package/dist/{index-CuGZ6C7l.js → index-Co1E4H0G.js} +1 -1
- package/dist/{index-D9xmHJZc.js → index-D7IBmbmp.js} +1 -1
- package/dist/{index-DBT8-Qit.js → index-DEN3-esb.js} +2 -2
- package/dist/{index-DNmbm6HV.js → index-DEl0sxMk.js} +3 -3
- package/dist/{index-Db-ix7hC.js → index-DPOE78Jf.js} +1 -1
- package/dist/{index-n1HZa-Ar.js → index-DT87VrvR.js} +1 -1
- package/dist/{index-EhaPjLBG.js → index-DkvjFyW6.js} +1 -1
- package/dist/{index-DgdosgZd.js → index-H_BLk7PI.js} +1 -1
- package/dist/{index-89I_eBZ-.js → index-I2HpU1BP.js} +2 -2
- package/dist/{index-DAN58pC9.js → index-XBuNXPu0.js} +1 -1
- package/dist/{index-ab9KSEKp.js → index-ZEwe0MJj.js} +1 -1
- package/dist/{index-DmBNvVlZ.js → index-bfXiwTE7.js} +536 -425
- package/dist/{index-_ZsA68LD.js → index-tZd-Us4e.js} +1 -1
- package/dist/{index-C_FegWKd.js → index-wcY1RYL_.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-DU2ZuaY4.js → pagination-design-BYqVZGdA.js} +1 -1
- package/dist/paper-widget-design-BcSUNaAF.js +4 -0
- package/dist/{print-runtime-instance-ydLRVd0y.js → print-runtime-instance-D3BJGzia.js} +1 -1
- package/dist/{print-snapshot-renderer-C3fEtvNI.js → print-snapshot-renderer-MzkjvlA8.js} +3 -3
- package/dist/{qrcode-design-BXlQ5QTm.js → qrcode-design-B0YGEijA.js} +1 -1
- package/dist/seal-design-CHOawN-k.js +4 -0
- package/dist/{single-field-drop-CYcOH6mT.js → single-field-drop-BycxT2Kf.js} +1 -1
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/{sub-table-factory-DxM8KQoS.js → sub-table-factory-BxG7QiiX.js} +1 -1
- package/dist/{text-design-8Za9qOSI.js → text-design-BQKYk7aD.js} +1 -1
- package/dist/{trace-like-wrapper-BPNmxIDn.js → trace-like-wrapper-CdKGpstE.js} +1 -1
- 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
- package/dist/{widget-barcode-C38yawCK.js → widget-barcode-CK68yjvd.js} +2 -2
- package/dist/{widget-diagonal-abcgVyu4.js → widget-diagonal-9F-6feRM.js} +2 -2
- package/dist/{widget-image-DcSNslZ-.js → widget-image-2GcRCaIf.js} +1 -1
- package/dist/{widget-line-CttlnK7g.js → widget-line-flwy9kew.js} +1 -1
- package/dist/{widget-pagination-BNG9Rszh.js → widget-pagination-pxpEH1UB.js} +2 -2
- package/dist/{widget-power-DaC1id-m.js → widget-power-pFQ7lwCW.js} +2 -2
- package/dist/{widget-qrcode-BRFsOH44.js → widget-qrcode-D_Ri0RG2.js} +2 -2
- package/dist/{widget-rangelimit-fA6YF2E2.js → widget-rangelimit-DB97heRc.js} +2 -2
- package/dist/{widget-serialnumber-mnpGMXuB.js → widget-serialnumber-I35Sov0R.js} +1 -1
- package/dist/{widget-text-gHJcpS1w.js → widget-text-C93W0WWM.js} +3 -3
- package/dist/{widget-timediff-ByHm9Dg3.js → widget-timediff-S4X81H7c.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-BE_wOTpv.js +0 -4
- package/dist/seal-design-7aKsQ6RT.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
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-
|
|
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";
|
package/dist/base/index.es.js
CHANGED
|
@@ -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 {
|
|
4
|
-
import { B as B2,
|
|
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-
|
|
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-
|
|
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
|
-
|
|
3083
|
+
a62 as DeviceConnector,
|
|
3084
3084
|
aM as DeviceLink,
|
|
3085
|
-
|
|
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
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
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
|
-
|
|
3103
|
+
a9 as FixedQuickFillModal,
|
|
3104
3104
|
FormAnnotationController,
|
|
3105
|
-
|
|
3105
|
+
F2 as FormModelController,
|
|
3106
3106
|
FormTmplBomController,
|
|
3107
|
-
|
|
3107
|
+
aa2 as FormTmplConfigController,
|
|
3108
3108
|
FormTypeEnum,
|
|
3109
3109
|
az as ImageDisplayModeEnum,
|
|
3110
3110
|
InstanceStatusValues,
|
|
3111
3111
|
aR as JoinModelTypeEum,
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
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
|
-
|
|
3122
|
+
ae as MCDataUtil,
|
|
3121
3123
|
a11 as MCRender,
|
|
3122
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3150
|
+
ag as RuntimeAsyncTaskCoordinator,
|
|
3151
|
+
ah2 as RuntimeDependencyService,
|
|
3152
|
+
ai2 as RuntimeFieldRegistry,
|
|
3151
3153
|
RuntimeFormStateStore,
|
|
3152
3154
|
RuntimeInstanceController,
|
|
3153
|
-
|
|
3155
|
+
aj2 as RuntimeInstanceEventBus,
|
|
3154
3156
|
RuntimeInstanceRegistry,
|
|
3155
|
-
|
|
3157
|
+
ak2 as RuntimePersistenceCoordinator,
|
|
3156
3158
|
RuntimeRuleCompiler,
|
|
3157
3159
|
RuntimeSheetService,
|
|
3158
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3185
|
-
|
|
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
|
-
|
|
3196
|
+
ao2 as convertV1Runtime,
|
|
3195
3197
|
c as createRuntimeDocumentV2,
|
|
3196
3198
|
createRuntimeInstanceContext,
|
|
3197
3199
|
c4 as decodeTableCellRowKey,
|
|
3198
|
-
|
|
3200
|
+
ap as detailsHaveFormChangeRowOps,
|
|
3199
3201
|
c5 as encodeTableCellRowKey,
|
|
3200
3202
|
enrichFormChangeRowDetails,
|
|
3201
3203
|
c6 as ensureFrontRowKey,
|
|
3202
3204
|
c7 as ensureTableRowKeys,
|
|
3203
|
-
|
|
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
|
-
|
|
3219
|
-
|
|
3220
|
+
ar as getFormChangeRowKey,
|
|
3221
|
+
as as getFormChangeRowOp,
|
|
3220
3222
|
aZ as getLotLockedReason,
|
|
3221
|
-
|
|
3222
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3238
|
-
|
|
3239
|
+
au as isAnnLocationSelected,
|
|
3240
|
+
av as isBlank,
|
|
3239
3241
|
isBomGranted,
|
|
3240
3242
|
isEdhrSuite,
|
|
3241
3243
|
isEqmSuite,
|
|
3242
|
-
|
|
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
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
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
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
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
|
-
|
|
3270
|
+
aB as resolveAnnotationFieldLocation,
|
|
3269
3271
|
ao as resolveDiagonalVertex,
|
|
3270
3272
|
t as resolveFieldRenderComponent,
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
+
aC as resolveFormChangeRowUi,
|
|
3274
|
+
p2 as resolveObjectBomEntry,
|
|
3273
3275
|
r as resolveObjectFieldKeys,
|
|
3274
|
-
|
|
3276
|
+
aD as resolveRowFormChangeMark,
|
|
3275
3277
|
resolveUdiQuery,
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
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
|
-
|
|
3284
|
+
aF as stripLegacyFormConfigFromPaper,
|
|
3283
3285
|
transformUtils,
|
|
3284
|
-
|
|
3286
|
+
C as useDependency,
|
|
3285
3287
|
useEbrWikiFactoryV2,
|
|
3286
|
-
|
|
3288
|
+
F as useFieldPresentation,
|
|
3287
3289
|
u2 as useFormModel,
|
|
3288
3290
|
u as useFormTmplConfig,
|
|
3289
3291
|
useMaterialBalance,
|
|
3290
3292
|
useNocodeEmitter,
|
|
3291
|
-
|
|
3293
|
+
t2 as useNocodeFormWidget,
|
|
3292
3294
|
cu as useOnlineFormActionButton,
|
|
3293
3295
|
bm as useOnlineFormTransformField2Component,
|
|
3294
3296
|
useRenderPageFactory,
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
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-
|
|
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 >
|
|
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 >
|
|
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
|
-
|
|
10261
|
-
|
|
10266
|
+
RuntimeSheetService as $,
|
|
10267
|
+
useStyles as A,
|
|
10262
10268
|
BorderTD as B,
|
|
10263
|
-
|
|
10269
|
+
useDependency as C,
|
|
10264
10270
|
DEFAULT_BOOLEAN_FIELD_WIDTH as D,
|
|
10265
10271
|
EMPTY_PRODUCT_VERSION_ID as E,
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
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
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10281
|
+
DynamicTableAction as O,
|
|
10282
|
+
getRuntimeDataFieldId as P,
|
|
10283
|
+
buildRuntimeFieldPath as Q,
|
|
10278
10284
|
RuntimeFormStateStore as R,
|
|
10279
10285
|
ScanParamType as S,
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
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
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
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
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10350
|
+
normalizeHistoricalBusinessRow as d,
|
|
10351
|
+
DeviceLinkTmplUtil as e,
|
|
10352
|
+
normalizeAIOcrTmpl as f,
|
|
10345
10353
|
getBusinessFieldKey as g,
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
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
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10361
|
+
MaterialConsumptionPatternEnum as o,
|
|
10362
|
+
resolveObjectBomEntry as p,
|
|
10363
|
+
runWithFillProduct as q,
|
|
10356
10364
|
resolveObjectFieldKeys as r,
|
|
10357
10365
|
setSelectValidatorId as s,
|
|
10358
|
-
|
|
10366
|
+
useNocodeFormWidget as t,
|
|
10359
10367
|
useFormTmplConfig as u,
|
|
10360
10368
|
validateObjectBomForScan as v,
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
10369
|
+
applyConsumeObjectTraceChange as w,
|
|
10370
|
+
getObjectBomProductQuery as x,
|
|
10371
|
+
normalizeHistoricalAutofillRow as y,
|
|
10372
|
+
parseRuntimeFieldPath as z
|
|
10365
10373
|
};
|