@gct-paas/excel 0.1.39-beta.37 → 0.1.39-beta.39
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-BZ7vpBcD.js → BaseComponent-DidQ_7a_.js} +1 -1
- package/dist/{barcode-design-fq971wZj.js → barcode-design-B8Wx_KI7.js} +1 -1
- package/dist/base/index.es.js +72 -72
- package/dist/{diagonal-design-2-kZQO2g.js → diagonal-design-Be5dGB14.js} +1 -1
- package/dist/{dynamic-table-action-BvHth2cC.js → dynamic-table-action-Bmdi7alJ.js} +134 -121
- package/dist/excel.css +14 -14
- package/dist/{exceljs.min-CFHxA1ve.js → exceljs.min-wH4A-2gc.js} +1 -1
- package/dist/{font-editor-C74qt9kJ.js → font-editor-B57ztQI3.js} +1 -1
- package/dist/{index-DLRyjkLE.js → index-4GNzFs_7.js} +1 -1
- package/dist/{index-g5NmWlup.js → index-B0Vbs0k9.js} +1 -1
- package/dist/{index-B-yehZpe.js → index-B57o3Egn.js} +41 -46
- package/dist/{index-CkgcA21r.js → index-BK6FsaFW.js} +1 -1
- package/dist/{index-sbz8PAuq.js → index-BKkc9PaW.js} +1 -1
- package/dist/{index-chIttzzx.js → index-BMrT49e4.js} +1 -1
- package/dist/{index-Ddyggc-_.js → index-BNIABvw9.js} +4 -6
- package/dist/{index-B4aDuWy4.js → index-BU9aiCZH.js} +1 -1
- package/dist/{index-Cip1bDDj.js → index-B_f2z7Fg.js} +1 -1
- package/dist/{index-Ezicwad7.js → index-Bserup-h.js} +1 -1
- package/dist/{index-D83LKtk7.js → index-Bx6NpFE9.js} +3 -3
- package/dist/{index-DzchEThV.js → index-C8iDQtRr.js} +1 -1
- package/dist/{index-DaKZ5020.js → index-CC2qut8m.js} +2 -2
- package/dist/{index-CTLIQVKX.js → index-CF39ggy5.js} +1 -1
- package/dist/{index-pmGOSula.js → index-CqqJ3his.js} +1 -1
- package/dist/{index-CfS4Vi7D.js → index-D0drNdqI.js} +2 -2
- package/dist/{index-0cS2b0oE.js → index-D7ovxfg9.js} +1 -1
- package/dist/{index-C5rtaFud.js → index-DM7iO1vz.js} +1 -1
- package/dist/{index-BYOG-n0c.js → index-DQBCQIUX.js} +1 -1
- package/dist/{index-LplLRueP.js → index-DT3EoOVp.js} +2 -2
- package/dist/{index-BtheU2ah.js → index-NNGcsmsY.js} +2 -2
- package/dist/{index-CX4Pp6kw.js → index-PFPhIStD.js} +1 -1
- package/dist/{index-BzgVexIB.js → index-aGcBuVIb.js} +1 -1
- package/dist/{index-CyyBDBAm.js → index-jvotzKm2.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-DKZY_hPP.js → pagination-design-CcNfWRta.js} +1 -1
- package/dist/paper-widget-design-Dbo_qYm8.js +4 -0
- package/dist/{print-runtime-instance-DkEspi1b.js → print-runtime-instance-wqeNIemM.js} +1 -1
- package/dist/{print-snapshot-renderer-CgEDvmzf.js → print-snapshot-renderer-CPFIw63J.js} +3 -3
- package/dist/{qrcode-design-DSr5X1C9.js → qrcode-design-BjA8SQXf.js} +1 -1
- package/dist/seal-design-B2qsDyWv.js +4 -0
- package/dist/{single-field-drop-DnHHDsVc.js → single-field-drop-BA3lBMcJ.js} +1 -1
- package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
- package/dist/src/shared/utils/grid-size.d.ts +2 -0
- package/dist/{sub-table-factory-b8fCKT0z.js → sub-table-factory-BP2eBKGz.js} +1 -1
- package/dist/{text-design-B_GGMeHJ.js → text-design-CZkgq9OB.js} +1 -1
- package/dist/{trace-like-wrapper-CanXuMNQ.js → trace-like-wrapper-CuKzkv-c.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CsxxSs2x.js → value-editor.vue_vue_type_style_index_0_lang-Vw4MwIVM.js} +1 -1
- package/dist/{widget-barcode-DbESGFEY.js → widget-barcode-W5MQVGy_.js} +2 -2
- package/dist/{widget-diagonal-DSW3it4e.js → widget-diagonal-BYx_rmij.js} +2 -2
- package/dist/{widget-image-Z4QDvWPI.js → widget-image-Btu_5z7c.js} +1 -1
- package/dist/{widget-line-CL_sRG5G.js → widget-line-B7NFA4CC.js} +1 -1
- package/dist/{widget-pagination-BdZMnTjq.js → widget-pagination-DLS5-U_l.js} +2 -2
- package/dist/{widget-power-FMbkMtIJ.js → widget-power-BTR1uZ_X.js} +2 -2
- package/dist/{widget-qrcode-BYuG8XlG.js → widget-qrcode-CJmioStY.js} +2 -2
- package/dist/{widget-rangelimit-CKeFBhRF.js → widget-rangelimit-DfuNVDsE.js} +2 -2
- package/dist/{widget-serialnumber-Ct9Jz0_0.js → widget-serialnumber-KeVYJBn8.js} +1 -1
- package/dist/{widget-text-nJAD14vE.js → widget-text-D6PjB04d.js} +3 -3
- package/dist/{widget-timediff-B1LHzupJ.js → widget-timediff-CSKXudmS.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-CVo1vEyP.js +0 -4
- package/dist/seal-design-CzPRmNGO.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as normalizeFieldWidth } from "./dynamic-table-action-Bmdi7alJ.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-vRTNdchM.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-B57o3Egn.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.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, bb as getRowId, bc as findRuntimeTableRow, b4 as RenderModeEnum, C as ComponentTypeEnum, aF as Dependency_ENUM, aE as ASSIGNMENTSTRATEGY_ENUM, bm as fetchHistoryConsume, bn as isBomGranted, aT as renderUtils, bl as uuid2, bo as parseFrontConfig, aI as CheckDsTypeEnum, aC as transformUtils, bp as baseDataUtils, X as FormTypeEnum, bq as normalizeToArray, br as safeParseArray, bs as BpmnNodeTypeEnum, bt as mergeByMultiKey, a7 as _export_sfc, bu as evaluateInspectionDecisionRule, bv as useNocodeEmitter, bw as commonUtils, aG as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
2
2
|
import { aL, aN, aZ, a0, bx, by, B, bz, y, af, bA, bB, bC, ba, bD, aQ, av, aM, aJ, aK, bE, ag, ak, bF, bG, aD, a2, ae, aw, aO, $, ai, L, bH, bI, bJ, O, p, P, a9, o, Q, A, bK, bL, au, at, a5, a1, a3, a4, a6, f, bM, aj, an, ah, bN, bO, bP, bQ, b9, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, bd, b$, c0, aW, c1, a_, a$, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, aV, cc, b0, b7, cd, ce, al, t, aP, cf, cg, be, aX } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
3
|
-
import {
|
|
4
|
-
import { B as B2,
|
|
3
|
+
import { a2 as getRuntimeDataFieldId, O as parseRuntimeFieldPath, a3 as buildRuntimeFieldPath, a4 as resolveRuntimeFieldProps, a5 as resolveRuntimeFieldState, a6 as assembleRules, a7 as isAttachFieldActive, P as calculateFormula, a8 as getRuntimeDependencyOutputKey, a9 as isRowAddedInCurrentFormChange, g as getParseFormulaVarInfos, w as MaterialConsumptionPatternEnum, aa as MaterialConsumeTableController, ab as setFormulaParamsConfig, ac as normalizeRuntime, V as createRuntimeInstanceContext, ad as initializeSealFields, U as RuntimeFormStateStore, ae as RuntimeSheetService, c as getBusinessFieldKey, af as validateObjectBomQtyOnSubmit, ag as areValidationCommentsEqual, ah as closeValidatorPopovers, ai as enrichFormChangeRowDetails, N as NCB_PROVIDE, W as RuntimeInstanceRegistry, aj as useMaterialBalance, ak as collectFormChangeFieldLocations, al as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-Bmdi7alJ.js";
|
|
4
|
+
import { B as B2, am, k, a1 as a12, an as an2, $ as $2, ao, a0 as a02, F, ap, aq, ar, as, at as at2, M, a, au as au2, b, av as av2, aw as aw2, ax, ay, az, aA, aB, aC, C, aD as aD2, t as t2, aE, d, aF, aG, aH, aI, r, E, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, l, G, j, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR, aS, aT, y as y2, v, aU, z, p as p2, aV as aV2, s, aW as aW2, R, S, u, A as A2, T, o as o2, q, Q as Q2, m, x } from "../dynamic-table-action-Bmdi7alJ.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 a7, P as
|
|
10
|
-
import { B as B3, F, M as M3, a as a8, u as u2 } from "../mb-render-FUO_-FXR.js";
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BP2eBKGz.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a7, P as P2, b as b2, c, d as d2, e, W, f as f2, g, h } from "../sub-table-factory-BP2eBKGz.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a8, u as u2 } from "../mb-render-FUO_-FXR.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -2773,7 +2773,7 @@ function useEbrWikiFactoryV2(props, payload) {
|
|
|
2773
2773
|
}
|
|
2774
2774
|
watch(
|
|
2775
2775
|
[() => props.materialNo, () => edhrCounter.value],
|
|
2776
|
-
async ([newMaterialNo,
|
|
2776
|
+
async ([newMaterialNo, _]) => {
|
|
2777
2777
|
if (isEmpty(newMaterialNo)) return;
|
|
2778
2778
|
loading.value = true;
|
|
2779
2779
|
clear();
|
|
@@ -2952,7 +2952,7 @@ function useEbrWikiFactoryV2(props, payload) {
|
|
|
2952
2952
|
);
|
|
2953
2953
|
watch(
|
|
2954
2954
|
[() => selectSelfInfo.value, () => instanceCounter.value],
|
|
2955
|
-
([newSelectSelfInfo,
|
|
2955
|
+
([newSelectSelfInfo, _]) => {
|
|
2956
2956
|
if (newSelectSelfInfo && payload.pageType === "record-change") {
|
|
2957
2957
|
emitter.emit(EmitterEnum.__on_select_ebr_doc_instance_id, {
|
|
2958
2958
|
instanceId: newSelectSelfInfo.id
|
|
@@ -3381,38 +3381,38 @@ export {
|
|
|
3381
3381
|
aQ as DateFormat,
|
|
3382
3382
|
av as DecimalDisplayMode,
|
|
3383
3383
|
aM as DenoiseMethodOptions,
|
|
3384
|
-
|
|
3384
|
+
am as DeviceConnector,
|
|
3385
3385
|
aJ as DeviceLink,
|
|
3386
|
-
|
|
3386
|
+
k as DeviceLinkTmplUtil,
|
|
3387
3387
|
aK as DeviceParamsTypeTitle,
|
|
3388
3388
|
D as DevicePartConsumeTableCore,
|
|
3389
3389
|
bE as DeviceStatus,
|
|
3390
3390
|
ag as DiagonalDirection,
|
|
3391
3391
|
ak as DiagonalVertex,
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3392
|
+
a12 as DocumentLayout,
|
|
3393
|
+
an2 as DocumentLoading,
|
|
3394
|
+
$2 as DocumentPaper,
|
|
3395
|
+
ao as DynamicQuickFillModal,
|
|
3396
|
+
a02 as DynamicTableAction,
|
|
3397
3397
|
bF as EBR_PROVIDE_ENUM,
|
|
3398
3398
|
bG as EFieldBizTypeEnum,
|
|
3399
|
-
|
|
3399
|
+
F as EMPTY_PRODUCT_VERSION_ID,
|
|
3400
3400
|
aD as EmptySymbol,
|
|
3401
3401
|
a2 as FallbackSignTypeEnum,
|
|
3402
3402
|
ae as FieldSysVarDefaultValueEnum,
|
|
3403
3403
|
FillingTypeEnum,
|
|
3404
|
-
|
|
3404
|
+
ap as FixedQuickFillModal,
|
|
3405
3405
|
FormAnnotationController,
|
|
3406
|
-
|
|
3406
|
+
F2 as FormModelController,
|
|
3407
3407
|
FormTmplBomController,
|
|
3408
|
-
|
|
3408
|
+
aq as FormTmplConfigController,
|
|
3409
3409
|
FormTypeEnum,
|
|
3410
3410
|
aw as ImageDisplayModeEnum,
|
|
3411
3411
|
InstanceStatusValues,
|
|
3412
3412
|
aO as JoinModelTypeEum,
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3413
|
+
ar as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3414
|
+
as as LEGACY_RUNTIME_SHEET_ID,
|
|
3415
|
+
at2 as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3416
3416
|
$ as LabelPosition,
|
|
3417
3417
|
ai as LineDirection,
|
|
3418
3418
|
L as LineType,
|
|
@@ -3420,7 +3420,7 @@ export {
|
|
|
3420
3420
|
M as MAX_RUNTIME_SHEETS,
|
|
3421
3421
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3422
3422
|
M3 as MBRender,
|
|
3423
|
-
|
|
3423
|
+
au2 as MCDataUtil,
|
|
3424
3424
|
a8 as MCRender,
|
|
3425
3425
|
b as MULTI_SHEET_SCHEMA_VERSION,
|
|
3426
3426
|
MaterialConsumeTableController,
|
|
@@ -3430,7 +3430,7 @@ export {
|
|
|
3430
3430
|
a7 as MaterialSubstitutionTableCore,
|
|
3431
3431
|
bI as MobileFillTypeEnum,
|
|
3432
3432
|
NCB_PROVIDE,
|
|
3433
|
-
|
|
3433
|
+
av2 as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3434
3434
|
bJ as OfficeTypeEnum,
|
|
3435
3435
|
O as Orientation,
|
|
3436
3436
|
p as PageSizeEnum,
|
|
@@ -3439,7 +3439,7 @@ export {
|
|
|
3439
3439
|
o as PaperWidgeType,
|
|
3440
3440
|
Q as PaperWidgeValueType,
|
|
3441
3441
|
A as ParamModelTypeEnum,
|
|
3442
|
-
|
|
3442
|
+
P2 as PartStocktakeTableCore,
|
|
3443
3443
|
PlatformEnum,
|
|
3444
3444
|
bK as PosEnum,
|
|
3445
3445
|
b2 as PretreatmentListTableCore,
|
|
@@ -3448,17 +3448,17 @@ export {
|
|
|
3448
3448
|
au as RangeCompareOp,
|
|
3449
3449
|
at as RangeValidateMode,
|
|
3450
3450
|
RenderModeEnum,
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3451
|
+
aw2 as RuntimeAsyncTaskCoordinator,
|
|
3452
|
+
ax as RuntimeDependencyService,
|
|
3453
|
+
ay as RuntimeFieldRegistry,
|
|
3454
3454
|
RuntimeFormStateStore,
|
|
3455
3455
|
RuntimeInstanceController,
|
|
3456
|
-
|
|
3456
|
+
az as RuntimeInstanceEventBus,
|
|
3457
3457
|
RuntimeInstanceRegistry,
|
|
3458
|
-
|
|
3458
|
+
aA as RuntimePersistenceCoordinator,
|
|
3459
3459
|
RuntimeRuleCompiler,
|
|
3460
3460
|
RuntimeSheetService,
|
|
3461
|
-
|
|
3461
|
+
aB as RuntimeValidationService,
|
|
3462
3462
|
a5 as SignShowTypeEnum,
|
|
3463
3463
|
a1 as SignatureImageDirectionEnum,
|
|
3464
3464
|
a3 as SignatureNumberTypeEnum,
|
|
@@ -3466,7 +3466,7 @@ export {
|
|
|
3466
3466
|
a6 as SignatureTypeEnum,
|
|
3467
3467
|
d2 as SterilizeBatchTableCore,
|
|
3468
3468
|
e as StocktakeTableCore,
|
|
3469
|
-
|
|
3469
|
+
aC as SubTableCore,
|
|
3470
3470
|
SubTableCoreFactory,
|
|
3471
3471
|
f as SubTableType,
|
|
3472
3472
|
bM as SummaryApproveHisTypeEnum,
|
|
@@ -3475,17 +3475,17 @@ export {
|
|
|
3475
3475
|
W as WarehouseInTableCore,
|
|
3476
3476
|
f2 as WarehouseInboundTableCore,
|
|
3477
3477
|
g as WarehouseOutTableCore,
|
|
3478
|
-
|
|
3478
|
+
h as WarehouseOutboundTableCore,
|
|
3479
3479
|
ah as WidgetImageSizeMode,
|
|
3480
3480
|
bN as applyCheckDsDataToRuntime,
|
|
3481
|
-
|
|
3481
|
+
C as applyConsumeObjectTraceChange,
|
|
3482
3482
|
bO as applyMedProCheckDsDataToRuntime,
|
|
3483
3483
|
baseDataUtils,
|
|
3484
3484
|
bP as bindRuntimeTableColumns,
|
|
3485
3485
|
bQ as buildDeviceBaseQuery,
|
|
3486
3486
|
b9 as buildDeviceFilterQuery,
|
|
3487
|
-
|
|
3488
|
-
|
|
3487
|
+
aD2 as buildFormChangeDisplayRows,
|
|
3488
|
+
t2 as buildObjectLotExtraQuery,
|
|
3489
3489
|
buildRuntimeFieldPath,
|
|
3490
3490
|
bR as calcFillData,
|
|
3491
3491
|
bS as calcUtils,
|
|
@@ -3494,16 +3494,16 @@ export {
|
|
|
3494
3494
|
collectFormChangeFieldLocations,
|
|
3495
3495
|
commonUtils,
|
|
3496
3496
|
convertHistoricalAnnotationLocation,
|
|
3497
|
-
|
|
3497
|
+
aE as convertV1Runtime,
|
|
3498
3498
|
d as createRuntimeDocumentV2,
|
|
3499
3499
|
createRuntimeInstanceContext,
|
|
3500
3500
|
bT as decodeTableCellRowKey,
|
|
3501
|
-
|
|
3501
|
+
aF as detailsHaveFormChangeRowOps,
|
|
3502
3502
|
bU as encodeTableCellRowKey,
|
|
3503
3503
|
enrichFormChangeRowDetails,
|
|
3504
3504
|
bV as ensureFrontRowKey,
|
|
3505
3505
|
bW as ensureTableRowKeys,
|
|
3506
|
-
|
|
3506
|
+
aG as extractFormChangeRowDetails,
|
|
3507
3507
|
bX as extractKeywordFromQueryData,
|
|
3508
3508
|
bY as fetchCheckDsDataForTable,
|
|
3509
3509
|
bZ as fetchCustomCheckDsData,
|
|
@@ -3518,11 +3518,11 @@ export {
|
|
|
3518
3518
|
getAppInfo,
|
|
3519
3519
|
getBusinessFieldKey,
|
|
3520
3520
|
c0 as getCheckTableSnapshotKey,
|
|
3521
|
-
|
|
3522
|
-
|
|
3521
|
+
aH as getFormChangeRowKey,
|
|
3522
|
+
aI as getFormChangeRowOp,
|
|
3523
3523
|
aW as getLotLockedReason,
|
|
3524
|
-
|
|
3525
|
-
|
|
3524
|
+
r as getObjectBomMaterialLotQuery,
|
|
3525
|
+
E as getObjectBomProductQuery,
|
|
3526
3526
|
getParseFormulaVarInfos,
|
|
3527
3527
|
c1 as getParseRuleConfig,
|
|
3528
3528
|
a_ as getParseRuleInfo,
|
|
@@ -3531,18 +3531,18 @@ export {
|
|
|
3531
3531
|
c3 as getRenderedRuntimeTableCell,
|
|
3532
3532
|
getRuntimeDataFieldId,
|
|
3533
3533
|
getRuntimeDependencyOutputKey,
|
|
3534
|
-
|
|
3534
|
+
aJ2 as getSubTableQuickFillInfo,
|
|
3535
3535
|
getSuiteKey,
|
|
3536
3536
|
c4 as handleOldConfig,
|
|
3537
3537
|
c5 as hasAnyCheckTableSnapshot,
|
|
3538
3538
|
c6 as hasByTableCheckTableSnapshot,
|
|
3539
3539
|
c7 as hasSharedCheckTableSnapshot,
|
|
3540
|
-
|
|
3541
|
-
|
|
3540
|
+
aK2 as isAnnLocationSelected,
|
|
3541
|
+
aL2 as isBlank,
|
|
3542
3542
|
isBomGranted,
|
|
3543
3543
|
isEdhrSuite,
|
|
3544
3544
|
isEqmSuite,
|
|
3545
|
-
|
|
3545
|
+
aM2 as isFormChangeGhostRow,
|
|
3546
3546
|
c8 as isMedProSuite,
|
|
3547
3547
|
isRowAddedInCurrentFormChange,
|
|
3548
3548
|
c9 as isTableRowKeyMatch,
|
|
@@ -3551,56 +3551,56 @@ export {
|
|
|
3551
3551
|
aV as materialCheck,
|
|
3552
3552
|
cc as migrateDiagonalDirectionToVertex,
|
|
3553
3553
|
nextFormChangeRowViewHistoryId,
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3554
|
+
l as normalizeAIOcrTmpl,
|
|
3555
|
+
G as normalizeHistoricalAutofillRow,
|
|
3556
|
+
j as normalizeHistoricalBusinessRow,
|
|
3557
|
+
aN2 as normalizeHistoricalFieldConfig,
|
|
3558
3558
|
b0 as normalizeRefLoaderResult,
|
|
3559
3559
|
normalizeRuntime,
|
|
3560
3560
|
parseFrontConfig,
|
|
3561
3561
|
parseRuntimeFieldPath,
|
|
3562
3562
|
parseUdi,
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3563
|
+
aO2 as pickObjectFieldKeys,
|
|
3564
|
+
aP2 as recordSubtableRowAdd,
|
|
3565
|
+
aQ2 as recordSubtableRowDelete,
|
|
3566
3566
|
b7 as refUtils,
|
|
3567
|
-
|
|
3567
|
+
aR as relocateDeletedRowsToEnd,
|
|
3568
3568
|
renderUtils,
|
|
3569
3569
|
cd as requestMedProCheckDsData,
|
|
3570
3570
|
ce as requestNonMedProCheckDsData,
|
|
3571
|
-
|
|
3571
|
+
aS as resolveAnnotationFieldLocation,
|
|
3572
3572
|
al as resolveDiagonalVertex,
|
|
3573
3573
|
t as resolveFieldRenderComponent,
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3574
|
+
aT as resolveFormChangeRowUi,
|
|
3575
|
+
y2 as resolveObjectBomEntry,
|
|
3576
|
+
v as resolveObjectFieldKeys,
|
|
3577
|
+
aU as resolveRowFormChangeMark,
|
|
3578
3578
|
resolveUdiQuery,
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3579
|
+
z as runWithFillProduct,
|
|
3580
|
+
p2 as setSelectAnnotationId,
|
|
3581
|
+
aV2 as setSelectMobileTdId,
|
|
3582
3582
|
s as setSelectValidatorId,
|
|
3583
3583
|
aP as sqlUtils,
|
|
3584
3584
|
cf as stockCheck,
|
|
3585
|
-
|
|
3585
|
+
aW2 as stripLegacyFormConfigFromPaper,
|
|
3586
3586
|
transformUtils,
|
|
3587
|
-
|
|
3587
|
+
R as useDependency,
|
|
3588
3588
|
useEbrWikiFactoryV2,
|
|
3589
|
-
|
|
3589
|
+
S as useFieldPresentation,
|
|
3590
3590
|
u2 as useFormModel,
|
|
3591
3591
|
u as useFormTmplConfig,
|
|
3592
3592
|
useMaterialBalance,
|
|
3593
3593
|
useNocodeEmitter,
|
|
3594
|
-
|
|
3594
|
+
A2 as useNocodeFormWidget,
|
|
3595
3595
|
cg as useOnlineFormActionButton,
|
|
3596
3596
|
be as useOnlineFormTransformField2Component,
|
|
3597
3597
|
useRenderPageFactory,
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3598
|
+
T as useRuntimeEditorFlusher,
|
|
3599
|
+
o2 as useRuntimeInstanceServices,
|
|
3600
|
+
q as useRuntimeRowState,
|
|
3601
|
+
Q2 as useStyles,
|
|
3602
|
+
m as useWidgetStaticAttrs,
|
|
3603
|
+
x as validateObjectBomForScan,
|
|
3604
3604
|
validateObjectBomQtyOnSubmit,
|
|
3605
3605
|
aX as validateReinspectionDate
|
|
3606
3606
|
};
|
|
@@ -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-B57o3Egn.js";
|
|
3
3
|
import { al as resolveDiagonalVertex, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, nextTick, toRef, provide, defineComponent, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, Fragment, renderList, onUnmounted, isVNode, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { af as CellWidgetViewState, F as FIELD_TYPE, b4 as RenderModeEnum, X as FormTypeEnum, bs as BpmnNodeTypeEnum, ch as getFieldPlaceholder, bI as MobileFillTypeEnum, C as ComponentTypeEnum, bc as findRuntimeTableRow, aT as renderUtils, _ as PlatformEnum, E as api, bl as uuid2, bS as calcUtils, bW as ensureTableRowKeys, bP as bindRuntimeTableColumns, bb as getRowId, ci as FRONT_ROW_KEY, c9 as isTableRowKeyMatch, au as RangeCompareOp, at as RangeValidateMode, bT as decodeTableCellRowKey, bV as ensureFrontRowKey, a_ as getParseRuleInfo, aC as transformUtils, aV as materialCheck, aW as getLotLockedReason, aX as validateReinspectionDate, bf as FormulaRuleFieldKeyEnum, f as SubTableType, a$ as getParseRuleValue, H as CreateType, bd as findRuntimeParentRow, aF as Dependency_ENUM, aE as ASSIGNMENTSTRATEGY_ENUM, bw as commonUtils, aJ as DeviceLink, a7 as _export_sfc, c3 as getRenderedRuntimeTableCell, y as CellType, cj as resetTableRowIdentity, J as useModal, ck as q, cl as QUICK_FILL_ALLOWED_FIELDS, cm as groupFixedTableRows, cn as processQuickFillRows, co as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
|
-
import { cloneDeep, isEmpty,
|
|
4
|
+
import { cloneDeep, isEmpty, isNil, pickBy, mergeWith, omit, last, pick, merge } from "lodash-es";
|
|
5
5
|
import { a as useNamespace, I as Icon } from "./AntdIcon-DCIaV352.js";
|
|
6
6
|
import { Modal, message } from "ant-design-vue";
|
|
7
7
|
import { u as useFormModel } from "./mb-render-FUO_-FXR.js";
|
|
@@ -337,6 +337,11 @@ function parseRuntimeFieldPath(path) {
|
|
|
337
337
|
return void 0;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
+
function isCellAutoLineBreak(style) {
|
|
341
|
+
const whiteSpace = style?.whiteSpace ?? style?.["white-space"];
|
|
342
|
+
const wordBreak = style?.wordBreak ?? style?.["word-break"];
|
|
343
|
+
return whiteSpace === "pre-wrap" && wordBreak === "break-all" || whiteSpace === "pre-line";
|
|
344
|
+
}
|
|
340
345
|
var NCB_PROVIDE = /* @__PURE__ */ ((NCB_PROVIDE2) => {
|
|
341
346
|
NCB_PROVIDE2["IS_PDF"] = "NCB_IsPdf";
|
|
342
347
|
NCB_PROVIDE2["RUNTIME_INSTANCE_REGISTRY"] = "NCB_RuntimeInstanceRegistry";
|
|
@@ -454,12 +459,7 @@ function useWidgetStaticAttrs(widget) {
|
|
|
454
459
|
dataRelationShip
|
|
455
460
|
)
|
|
456
461
|
);
|
|
457
|
-
const isAutoLineBreak = computed(() =>
|
|
458
|
-
if (!isEmpty(widget.style) && has(widget.style, "whiteSpace") && has(widget.style, "wordBreak") && widget.style.whiteSpace === "pre-wrap" && widget.style.wordBreak === "break-all") {
|
|
459
|
-
return true;
|
|
460
|
-
}
|
|
461
|
-
return false;
|
|
462
|
-
});
|
|
462
|
+
const isAutoLineBreak = computed(() => isCellAutoLineBreak(widget.style));
|
|
463
463
|
return {
|
|
464
464
|
field,
|
|
465
465
|
fieldType,
|
|
@@ -897,6 +897,9 @@ function useMaterialBalance() {
|
|
|
897
897
|
destoryConsumeModal
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
|
+
function normalizeGridColumnWidth(value) {
|
|
901
|
+
return typeof value === "number" && Number.isFinite(value) ? Math.max(0, value) : 75;
|
|
902
|
+
}
|
|
900
903
|
function normalizeHistoricalFieldConfig(value) {
|
|
901
904
|
if (!value || typeof value !== "object") return value;
|
|
902
905
|
if (Array.isArray(value)) {
|
|
@@ -914,10 +917,17 @@ function normalizeHistoricalFieldConfig(value) {
|
|
|
914
917
|
const props = result.props;
|
|
915
918
|
const attachment = props.fieldType === FIELD_TYPE.ATTACHMENT && props.viewState === CellWidgetViewState.Auto;
|
|
916
919
|
const autofill = Array.isArray(props.autofillRules) && props.enableAutofill === void 0;
|
|
917
|
-
|
|
920
|
+
const wrap = result.component === "td" && props.autoLineBreak !== true && isCellAutoLineBreak(result.cellWidget?.style);
|
|
921
|
+
const colsWidth = Array.isArray(props.colsWidth) ? props.colsWidth.map(
|
|
922
|
+
(width) => typeof width === "number" && Number.isFinite(width) ? normalizeGridColumnWidth(width) : width
|
|
923
|
+
) : void 0;
|
|
924
|
+
const columnWidths = colsWidth?.some((width, index) => width !== props.colsWidth[index]);
|
|
925
|
+
if (attachment || autofill || wrap || columnWidths) {
|
|
918
926
|
result = { ...result, props: { ...props } };
|
|
919
927
|
if (attachment) result.props.viewState = CellWidgetViewState.Readonly;
|
|
920
928
|
if (autofill) result.props.enableAutofill = true;
|
|
929
|
+
if (wrap) result.props.autoLineBreak = true;
|
|
930
|
+
if (columnWidths) result.props.colsWidth = colsWidth;
|
|
921
931
|
}
|
|
922
932
|
}
|
|
923
933
|
return result;
|
|
@@ -1019,10 +1029,11 @@ function validateSheetGraph(sheet) {
|
|
|
1019
1029
|
}
|
|
1020
1030
|
function normalizeSheetMetadata(sheet) {
|
|
1021
1031
|
const nodes = normalizeHistoricalFieldConfig(sheet.nodes);
|
|
1032
|
+
const sourcePaper = normalizeHistoricalFieldConfig(sheet.paper);
|
|
1022
1033
|
const paper = {
|
|
1023
|
-
...
|
|
1034
|
+
...sourcePaper,
|
|
1024
1035
|
props: {
|
|
1025
|
-
...
|
|
1036
|
+
...sourcePaper.props,
|
|
1026
1037
|
subTableWidgetIds: Object.entries(nodes).filter(([, node]) => node.component === ComponentTypeEnum.SUB_TABLE).map(([id]) => id)
|
|
1027
1038
|
}
|
|
1028
1039
|
};
|
|
@@ -10879,127 +10890,129 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10879
10890
|
});
|
|
10880
10891
|
const DynamicTableAction = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-53d7e66c"]]);
|
|
10881
10892
|
export {
|
|
10882
|
-
|
|
10883
|
-
|
|
10893
|
+
DocumentPaper as $,
|
|
10894
|
+
useNocodeFormWidget as A,
|
|
10884
10895
|
BorderTD as B,
|
|
10885
|
-
|
|
10896
|
+
applyConsumeObjectTraceChange as C,
|
|
10886
10897
|
DEFAULT_BOOLEAN_FIELD_WIDTH as D,
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10898
|
+
getObjectBomProductQuery as E,
|
|
10899
|
+
EMPTY_PRODUCT_VERSION_ID as F,
|
|
10900
|
+
normalizeHistoricalAutofillRow as G,
|
|
10901
|
+
readSealValue as H,
|
|
10902
|
+
isSealStamped as I,
|
|
10903
|
+
stampSealValue as J,
|
|
10904
|
+
isValidSealValue as K,
|
|
10905
|
+
clearSealValue as L,
|
|
10895
10906
|
MAX_RUNTIME_SHEETS as M,
|
|
10896
10907
|
NCB_PROVIDE as N,
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10908
|
+
parseRuntimeFieldPath as O,
|
|
10909
|
+
calculateFormula as P,
|
|
10910
|
+
useStyles as Q,
|
|
10911
|
+
useDependency as R,
|
|
10912
|
+
useFieldPresentation as S,
|
|
10913
|
+
useRuntimeEditorFlusher as T,
|
|
10914
|
+
RuntimeFormStateStore as U,
|
|
10915
|
+
createRuntimeInstanceContext as V,
|
|
10916
|
+
RuntimeInstanceRegistry as W,
|
|
10917
|
+
ScanParamType as X,
|
|
10918
|
+
RequiredQtyCalcRule as Y,
|
|
10919
|
+
registerFormulaFuncs as Z,
|
|
10920
|
+
moveSealValue as _,
|
|
10910
10921
|
MAX_RUNTIME_SHEET_TITLE_LENGTH as a,
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
10922
|
+
getInsertSubMenu as a$,
|
|
10923
|
+
DynamicTableAction as a0,
|
|
10924
|
+
_sfc_main$5 as a1,
|
|
10925
|
+
getRuntimeDataFieldId as a2,
|
|
10926
|
+
buildRuntimeFieldPath as a3,
|
|
10927
|
+
resolveRuntimeFieldProps as a4,
|
|
10928
|
+
resolveRuntimeFieldState as a5,
|
|
10929
|
+
assembleRules as a6,
|
|
10930
|
+
isAttachFieldActive as a7,
|
|
10931
|
+
getRuntimeDependencyOutputKey as a8,
|
|
10932
|
+
isRowAddedInCurrentFormChange as a9,
|
|
10933
|
+
RuntimePersistenceCoordinator as aA,
|
|
10934
|
+
RuntimeValidationService as aB,
|
|
10935
|
+
SubTableCore as aC,
|
|
10936
|
+
buildFormChangeDisplayRows as aD,
|
|
10937
|
+
convertV1Runtime as aE,
|
|
10938
|
+
detailsHaveFormChangeRowOps as aF,
|
|
10939
|
+
extractFormChangeRowDetails as aG,
|
|
10940
|
+
getFormChangeRowKey as aH,
|
|
10941
|
+
getFormChangeRowOp as aI,
|
|
10942
|
+
getSubTableQuickFillInfo as aJ,
|
|
10943
|
+
isAnnLocationSelected as aK,
|
|
10944
|
+
isBlank as aL,
|
|
10945
|
+
isFormChangeGhostRow as aM,
|
|
10946
|
+
normalizeHistoricalFieldConfig as aN,
|
|
10947
|
+
pickObjectFieldKeys as aO,
|
|
10948
|
+
recordSubtableRowAdd as aP,
|
|
10949
|
+
recordSubtableRowDelete as aQ,
|
|
10950
|
+
relocateDeletedRowsToEnd as aR,
|
|
10951
|
+
resolveAnnotationFieldLocation as aS,
|
|
10952
|
+
resolveFormChangeRowUi as aT,
|
|
10953
|
+
resolveRowFormChangeMark as aU,
|
|
10954
|
+
setSelectMobileTdId as aV,
|
|
10955
|
+
stripLegacyFormConfigFromPaper as aW,
|
|
10956
|
+
SubTableActionMenuTypeEnum as aX,
|
|
10957
|
+
getMenuByAction as aY,
|
|
10958
|
+
SubTableActionEnum as aZ,
|
|
10959
|
+
resolveScanFillData as a_,
|
|
10960
|
+
MaterialConsumeTableController as aa,
|
|
10961
|
+
setFormulaParamsConfig as ab,
|
|
10962
|
+
normalizeRuntime as ac,
|
|
10963
|
+
initializeSealFields as ad,
|
|
10964
|
+
RuntimeSheetService as ae,
|
|
10965
|
+
validateObjectBomQtyOnSubmit as af,
|
|
10966
|
+
areValidationCommentsEqual as ag,
|
|
10967
|
+
closeValidatorPopovers as ah,
|
|
10968
|
+
enrichFormChangeRowDetails as ai,
|
|
10969
|
+
useMaterialBalance as aj,
|
|
10970
|
+
collectFormChangeFieldLocations as ak,
|
|
10971
|
+
nextFormChangeRowViewHistoryId as al,
|
|
10972
|
+
DeviceConnector as am,
|
|
10973
|
+
DocumentLoading as an,
|
|
10974
|
+
DynamicQuickFillModal as ao,
|
|
10975
|
+
FixedQuickFillModal as ap,
|
|
10976
|
+
FormTmplConfigController as aq,
|
|
10977
|
+
LEGACY_RUNTIME_FORM_CONFIG_KEYS as ar,
|
|
10978
|
+
LEGACY_RUNTIME_SHEET_ID as as,
|
|
10979
|
+
LEGACY_RUNTIME_SHEET_TITLE as at,
|
|
10980
|
+
MCDataUtil as au,
|
|
10981
|
+
OCR_MODEL_PRECISION_ENUM_KEY as av,
|
|
10982
|
+
RuntimeAsyncTaskCoordinator as aw,
|
|
10983
|
+
RuntimeDependencyService as ax,
|
|
10984
|
+
RuntimeFieldRegistry as ay,
|
|
10985
|
+
RuntimeInstanceEventBus as az,
|
|
10975
10986
|
MULTI_SHEET_SCHEMA_VERSION as b,
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10987
|
+
resolveScanAdjustType as b0,
|
|
10988
|
+
resolveScanQty as b1,
|
|
10989
|
+
toDateOnly as b2,
|
|
10990
|
+
hasSubtableBusinessData as b3,
|
|
10991
|
+
getCopySubMenu as b4,
|
|
10992
|
+
resolveScanParsedValue as b5,
|
|
10993
|
+
isProductBatchEmptyRow as b6,
|
|
10981
10994
|
getBusinessFieldKey as c,
|
|
10982
10995
|
createRuntimeDocumentV2 as d,
|
|
10983
10996
|
clampSealPosition as e,
|
|
10984
|
-
|
|
10997
|
+
normalizeSealDiameter as f,
|
|
10985
10998
|
getParseFormulaVarInfos as g,
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10999
|
+
normalizeFieldWidth as h,
|
|
11000
|
+
isCellAutoLineBreak as i,
|
|
11001
|
+
normalizeHistoricalBusinessRow as j,
|
|
11002
|
+
DeviceLinkTmplUtil as k,
|
|
11003
|
+
normalizeAIOcrTmpl as l,
|
|
11004
|
+
useWidgetStaticAttrs as m,
|
|
11005
|
+
normalizeGridColumnWidth as n,
|
|
11006
|
+
useRuntimeInstanceServices as o,
|
|
11007
|
+
setSelectAnnotationId as p,
|
|
11008
|
+
useRuntimeRowState as q,
|
|
11009
|
+
getObjectBomMaterialLotQuery as r,
|
|
10997
11010
|
setSelectValidatorId as s,
|
|
10998
|
-
|
|
11011
|
+
buildObjectLotExtraQuery as t,
|
|
10999
11012
|
useFormTmplConfig as u,
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11013
|
+
resolveObjectFieldKeys as v,
|
|
11014
|
+
MaterialConsumptionPatternEnum as w,
|
|
11015
|
+
validateObjectBomForScan as x,
|
|
11016
|
+
resolveObjectBomEntry as y,
|
|
11017
|
+
runWithFillProduct as z
|
|
11005
11018
|
};
|