@gct-paas/excel 0.1.40-beta.1 → 0.1.40-beta.3
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-DXIDs5gk.js → BaseComponent-B9o59n-h.js} +2 -2
- package/dist/{VueVideoPlayer-DhyIm-g1.js → VueVideoPlayer-CAWYWBHi.js} +2 -2
- package/dist/{align-editor-BcbgVXRp.js → align-editor-a4DQt4Un.js} +1 -1
- package/dist/{barcode-design-BiCt0aS7.js → barcode-design-CBqUEPYu.js} +2 -2
- package/dist/base/index.es.js +234 -161
- package/dist/{diagonal-design-DmvWALIE.js → diagonal-design-u23896Ky.js} +2 -2
- package/dist/{dynamic-table-action-fDIIzS2J.js → dynamic-table-action-BWI4Gaqi.js} +208 -134
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js} +138 -132
- package/dist/{edit.utils-CXmmCnxE-DxArFSxZ.js → edit.utils-CXmmCnxE-XxpC8ALV.js} +1 -1
- package/dist/excel.css +3000 -4032
- package/dist/{exceljs.min-CjKNZPlo.js → exceljs.min-DfbB110X.js} +2 -2
- package/dist/{font-editor-DseGyVgB.js → font-editor-BtSCLMrM.js} +3 -3
- package/dist/{image-design-Dr-L9AdG.js → image-design-CtE-Lw7N.js} +2 -2
- package/dist/{index-BPgCZjqV.js → index-3WwCV4xR.js} +1 -1
- package/dist/{index-DKRpaNo1.js → index-51LtNdZ2.js} +1 -1
- package/dist/{index-DqLVW6ej.js → index-731OYkrc.js} +3 -3
- package/dist/{index-CXh-4yX8.js → index-7aS5L4ot.js} +3 -3
- package/dist/{index-DcjOJuDw.js → index-9S48hpoJ.js} +2 -2
- package/dist/{index-C4tVTc9U.js → index-B0cdcIWq.js} +2 -2
- package/dist/{index-CScWLXnC.js → index-BC8hQ4vo.js} +2 -2
- package/dist/{index-DKf57IGi.js → index-BFg5eUdY.js} +1 -1
- package/dist/{index-C6dFliaf.js → index-BGAcYDx-.js} +1 -1
- package/dist/{index-lwjRRvDn.js → index-BKXb3VJc.js} +2 -2
- package/dist/{index-BdJ4ouEl.js → index-BMoz_QhA.js} +1 -1
- package/dist/{index-BjI7JCne.js → index-BP-LhXXV.js} +4 -4
- package/dist/{index-BctQMMgh.js → index-BRQkrFQ9.js} +2 -2
- package/dist/{index-iRameN0x.js → index-Bc61F6Hm.js} +2 -2
- package/dist/{index-0W-MEvEf.js → index-BfBuxgcp.js} +2 -2
- package/dist/{index-B29_mID7.js → index-Bnb70qEi.js} +3 -3
- package/dist/{index-CAdGL3Vp.js → index-CAdDeEzJ.js} +2 -2
- package/dist/{index-r4MF8_-h.js → index-CIa37rQm.js} +2 -2
- package/dist/{index-B34ZIwqL.js → index-CL9K9orM.js} +2 -2
- package/dist/{index-DsCTXMxB.js → index-CPTGioxl.js} +1 -1
- package/dist/{index-4acBM2Lp.js → index-CVsoaxTR.js} +2 -2
- package/dist/{index-JkPJqZ_5.js → index-CYLAVQfT.js} +2 -2
- package/dist/{index-hcCJUBne.js → index-Ca9TLzUh.js} +1 -1
- package/dist/{index-CX_eR36M.js → index-CdHVHaxO.js} +2 -2
- package/dist/{index-BY7RGawr.js → index-CeEhYXl9.js} +2 -2
- package/dist/{index-CewKz2Ro.js → index-CpPk8P3L.js} +1 -1
- package/dist/{index-BxZ3M7eP.js → index-DNj0vFvx.js} +1 -1
- package/dist/{index-C8OPhJhI.js → index-DVEe11uM.js} +1 -1
- package/dist/{index-CEmRRPE7.js → index-DdWefZMa.js} +2 -2
- package/dist/{index-Nytm1-X9.js → index-DeHX7rte.js} +5 -4
- package/dist/{index-DNC5VG8P.js → index-Dyomjz3y.js} +2 -2
- package/dist/{index-DrmR7WIs.js → index-I1r5pfu5.js} +2 -2
- package/dist/{index-CJ9CrORT.js → index-IVc1dOet.js} +3 -3
- package/dist/{index-D5IrgJyh.js → index-aNV9T6LI.js} +2 -2
- package/dist/{index-C70T1sVm.js → index-ixQwAcB1.js} +18153 -20732
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BdRsSczc.js → mb-render-Bs9S9oFn.js} +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js} +1 -1
- package/dist/{pagination-design-9Z_iRIKM.js → pagination-design-CmbsdlMe.js} +2 -2
- package/dist/paper-widget-design-DIhsk1I9.js +4 -0
- package/dist/{print-runtime-instance-BBOww4jg.js → print-runtime-instance-DQysbz5n.js} +1 -1
- package/dist/{print-snapshot-renderer-DGt44saz.js → print-snapshot-renderer-DWHjMsOC.js} +3 -3
- package/dist/{qrcode-design-qbUjPX-B.js → qrcode-design-CX0_2mLC.js} +1 -1
- package/dist/{revo-grid.entry-RzymRzb0.js → revo-grid.entry-DbmWFi7p.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CxTEXm8Q.js → revogr-attribution_7.entry-BWQDu7fq.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DQEid83u.js → revogr-clipboard_3.entry-BtTYHFZi.js} +2 -2
- package/dist/{revogr-data_4.entry-ASovYZWH.js → revogr-data_4.entry-CWPXyZ7g.js} +2 -2
- package/dist/{revogr-filter-panel.entry-j_V74kgz.js → revogr-filter-panel.entry-5gYct0XI.js} +1 -1
- package/dist/seal-design-BhzgwVju.js +4 -0
- package/dist/{serialnumber-design-DXKTYOY7.js → serialnumber-design-aSqL4gX6.js} +1 -1
- package/dist/shared/index.es.js +5 -5
- package/dist/{single-field-drop-CLjaHjL-.js → single-field-drop-C67wLHxK.js} +2 -2
- package/dist/{size-editor-C62H_eRP.js → size-editor-BHGTPLir.js} +1 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/{sub-table-factory-sn1Ek1c9.js → sub-table-factory-DTtDvr17.js} +20 -7
- package/dist/{text-design-CwHfwel0.js → text-design-Dz0Qf2O3.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BHDq1lM3.js → throttle-Cpk1LoGk-CgtsG2CV.js} +1 -1
- package/dist/{timediff-design-8kCO3aXz.js → timediff-design-D9JfNqH8.js} +1 -1
- package/dist/{trace-like-wrapper-CxPz9Trr.js → trace-like-wrapper-BXgr0Uv3.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js → value-editor.vue_vue_type_style_index_0_lang-doohzADY.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CRxh3tC2.js → widget-barcode-XF3nCU9v.js} +4 -4
- package/dist/{widget-diagonal-CO586oV2.js → widget-diagonal-DSym7fks.js} +3 -3
- package/dist/{widget-image-CE6kVnu5.js → widget-image-CmjwkVs7.js} +5 -5
- package/dist/{widget-line-Br4oIssb.js → widget-line-BX64xVfU.js} +2 -2
- package/dist/{widget-pagination-BHwjrBV5.js → widget-pagination-BV89Lvjt.js} +5 -5
- package/dist/{widget-power-BySYsE15.js → widget-power-DoSfQv92.js} +3 -3
- package/dist/{widget-qrcode-D6b0T_Qa.js → widget-qrcode-UGcRLC56.js} +3 -3
- package/dist/{widget-rangelimit-DTH7nrqC.js → widget-rangelimit-CUHD__1H.js} +3 -3
- package/dist/{widget-serialnumber-DVtxhNC3.js → widget-serialnumber-CAkZR5Xl.js} +1 -1
- package/dist/{widget-text-gBGybAXk.js → widget-text-DtYVTThu.js} +5 -5
- package/dist/{widget-timediff-aY-maVkE.js → widget-timediff-DX_IoCMO.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BGotQsIf.js +0 -4
- package/dist/seal-design-DP1XaAY8.js +0 -4
package/dist/base/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { aO, aQ,
|
|
3
|
-
import {
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { o as api, $ as PlatformEnum, F as FIELD_TYPE, bg as getRowId, bh as findRuntimeTableRow, b6 as RenderModeEnum, C as ComponentTypeEnum, bt as assembleRules, bu as isAttachFieldActive, aI as Dependency_ENUM, bi as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bv as fetchHistoryConsume, bw as isBomGranted, aU as renderUtils, bs as uuid2, bx as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, by as baseDataUtils, bz as initializeSealFields, Y as FormTypeEnum, bA as normalizeToArray, bB as safeParseArray, bC as BpmnNodeTypeEnum, bD as mergeByMultiKey, a8 as _export_sfc, bE as evaluateInspectionDecisionRule, bF as areValidationCommentsEqual, bG as useNocodeEmitter, bH as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
2
|
+
import { aO, aQ, aZ, a1, bI, bJ, B, bK, z, ai, bL, bM, bN, bf, bO, aR, ay, aP, aM, aN, bP, aj, an, bQ, bR, aG, a3, ah, az, bS, a0, al, L, bT, bU, bV, O, q, P, aa, p, Q, E, bW, bX, ax, aw, a6, a2, a4, a5, a7, f, bY, am, aq, ak, bZ, b_, b$, c0, be, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, bj, cb, cc, aX, cd, a_, a$, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, aW, co, b0, bc, cp, cq, cr, ao, u, cs, ct, cu, bk, aY } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
3
|
+
import { Q as getRuntimeDataFieldId, C as parseRuntimeFieldPath, T as buildRuntimeFieldPath, U as resolveRuntimeFieldProps, V as resolveRuntimeFieldState, W as getRuntimeDependencyOutputKey, X as isRowAddedInCurrentFormChange, q as MaterialConsumptionPatternEnum, Y as MaterialConsumeTableController, Z as setFormulaParamsConfig, $ as normalizeRuntime, J as createRuntimeInstanceContext, R as RuntimeFormStateStore, a0 as RuntimeSheetService, g as getBusinessFieldKey, a1 as validateObjectBomQtyOnSubmit, a2 as closeValidatorPopovers, a3 as enrichFormChangeRowDetails, N as NCB_PROVIDE, K as RuntimeInstanceRegistry, a4 as useMaterialBalance, a5 as collectFormChangeFieldLocations, a6 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-BWI4Gaqi.js";
|
|
4
|
+
import { B as B2, a7 as a72, h, _, a8, O as O2, a9, P as P2, E as E2, aa as aa2, ab, ac, ad, ae, M, a, af, d, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, y, ao as ao2, p as p2, ap, e, aq as aq2, ar, as, at, o, z as z2, au, av, aw as aw2, ax as ax2, i, A, f as f2, ay as ay2, az as az2, aA, aB, aC, aD, t, r, aE, w, l, aF, s, aG as aG2, G, H, u as u2, x, I, k, m, F, j, v } from "../dynamic-table-action-BWI4Gaqi.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as
|
|
10
|
-
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, isFieldFillTargetProtected, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
|
-
import { B as B3, F, M as M3, a as a11, u as
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DTtDvr17.js";
|
|
9
|
+
import { A as A2, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-DTtDvr17.js";
|
|
10
|
+
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
|
+
import { B as B3, F as F2, M as M3, a as a11, u as u3 } from "../mb-render-Bs9S9oFn.js";
|
|
12
12
|
const InstanceStatusValues = {
|
|
13
13
|
/** 作废状态 */
|
|
14
14
|
ABANDON: "ABANDON",
|
|
@@ -191,7 +191,7 @@ class RuntimeFieldInitializer {
|
|
|
191
191
|
await Promise.resolve();
|
|
192
192
|
this.scheduled = false;
|
|
193
193
|
if (!signal.aborted && !this.disposed) await this.initialize();
|
|
194
|
-
}).catch((
|
|
194
|
+
}).catch(() => void 0).finally(() => this.tasks.delete("initialize:structure"));
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
record;
|
|
@@ -204,7 +204,7 @@ class RuntimeFieldInitializer {
|
|
|
204
204
|
disposed = false;
|
|
205
205
|
scheduled = false;
|
|
206
206
|
unsubscribe;
|
|
207
|
-
/**
|
|
207
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
208
208
|
async initialize() {
|
|
209
209
|
if (this.disposed || this.info.renderPurpose || this.info.platformType === PlatformEnum.INTEGRATION_PAAS_DP)
|
|
210
210
|
return;
|
|
@@ -248,7 +248,8 @@ class RuntimeFieldInitializer {
|
|
|
248
248
|
modelKey: props.modelKey,
|
|
249
249
|
subModelKey: props.subModelKey
|
|
250
250
|
},
|
|
251
|
-
sheetId
|
|
251
|
+
sheetId,
|
|
252
|
+
blockOnFailure: false
|
|
252
253
|
}
|
|
253
254
|
).finally(() => this.tasks.delete(key));
|
|
254
255
|
pending.push(task);
|
|
@@ -260,7 +261,7 @@ class RuntimeFieldInitializer {
|
|
|
260
261
|
this.record.asyncTasks.cancel(key);
|
|
261
262
|
this.tasks.delete(key);
|
|
262
263
|
}
|
|
263
|
-
await Promise.
|
|
264
|
+
await Promise.allSettled(pending);
|
|
264
265
|
}
|
|
265
266
|
request(key, fetch) {
|
|
266
267
|
const existing = this.requests.get(key);
|
|
@@ -960,7 +961,7 @@ class FormTmplBomController {
|
|
|
960
961
|
}
|
|
961
962
|
async submitValidate() {
|
|
962
963
|
const results = await Promise.all(
|
|
963
|
-
Object.values(this.tableControllers).map((
|
|
964
|
+
Object.values(this.tableControllers).map((c10) => c10.submitValidate())
|
|
964
965
|
);
|
|
965
966
|
const fields = {};
|
|
966
967
|
let isValid = true;
|
|
@@ -993,6 +994,37 @@ async function getModelQueries(opts) {
|
|
|
993
994
|
console.log("getModelQueries", res);
|
|
994
995
|
return res;
|
|
995
996
|
}
|
|
997
|
+
async function fillSterilizationDate(txnInstId, metadata, formState) {
|
|
998
|
+
if (txnInstId == null || txnInstId === "") return;
|
|
999
|
+
const fields = metadata.fields.filter(({ widget }) => {
|
|
1000
|
+
const props = widget?.props;
|
|
1001
|
+
return props?.fieldType === FIELD_TYPE.STERILIZATION_DATE || props?.bizType === FIELD_TYPE.STERILIZATION_DATE;
|
|
1002
|
+
});
|
|
1003
|
+
if (!fields.length) return;
|
|
1004
|
+
const response = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
1005
|
+
{ modelCategory: "entity", modelKey: "em_sterilization_list", bsKey: "getOne" },
|
|
1006
|
+
{},
|
|
1007
|
+
{ query: { txn_inst_id_: txnInstId } }
|
|
1008
|
+
);
|
|
1009
|
+
const data = response && "data" in response ? response.data : void 0;
|
|
1010
|
+
const record = Array.isArray(data) ? data[0] : data;
|
|
1011
|
+
const date = record && typeof record === "object" && "sterilization_date_" in record ? record.sterilization_date_ : void 0;
|
|
1012
|
+
if (date == null || date === "") return;
|
|
1013
|
+
fields.forEach(({ widget, subFieldKey }) => {
|
|
1014
|
+
const field = getRuntimeDataFieldId(widget?.props);
|
|
1015
|
+
if (!field) return;
|
|
1016
|
+
if (subFieldKey) {
|
|
1017
|
+
const rows = formState[subFieldKey];
|
|
1018
|
+
if (Array.isArray(rows)) {
|
|
1019
|
+
rows.forEach((row) => {
|
|
1020
|
+
if (row && typeof row === "object") row[field] = date;
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
} else {
|
|
1024
|
+
formState[field] = date;
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
996
1028
|
function uniqueItems(items, getKey) {
|
|
997
1029
|
return Array.from(new Map(items.map((item) => [getKey(item), item])).values());
|
|
998
1030
|
}
|
|
@@ -1422,6 +1454,9 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1422
1454
|
]
|
|
1423
1455
|
});
|
|
1424
1456
|
if (fillModeType === RenderModeEnum.FormMode) {
|
|
1457
|
+
if (!payload.isMockReport) {
|
|
1458
|
+
await fillSterilizationDate(selfInfo.txnInstId, fieldInfoMap.fieldMetadata, formState);
|
|
1459
|
+
}
|
|
1425
1460
|
const floatingFields = sheetEntries.flatMap((entry) => {
|
|
1426
1461
|
const ids = entry.dataCenter[ComponentTypeEnum.PAPER]?.props?.floatingFieldIds ?? [];
|
|
1427
1462
|
return ids.map((fieldId) => entry.dataCenter[fieldId]).filter(Boolean);
|
|
@@ -1546,6 +1581,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1546
1581
|
uniqueId,
|
|
1547
1582
|
() => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
|
|
1548
1583
|
);
|
|
1584
|
+
runtimeRegistry.registerDisposable(
|
|
1585
|
+
uniqueId,
|
|
1586
|
+
watch(
|
|
1587
|
+
() => record.context.activeSheetId,
|
|
1588
|
+
(next, previous) => {
|
|
1589
|
+
if (next !== previous) {
|
|
1590
|
+
MaterialConsumeTableController.render?.destroyAllModals(uniqueId);
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{ flush: "sync" }
|
|
1594
|
+
)
|
|
1595
|
+
);
|
|
1549
1596
|
if (!mcList.length) return;
|
|
1550
1597
|
const tmplBomC = record.context.services.tmplBomController;
|
|
1551
1598
|
if (!tmplBomC) return;
|
|
@@ -2082,7 +2129,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2082
2129
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2083
2130
|
await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
|
|
2084
2131
|
}).catch((error) => {
|
|
2085
|
-
if (runtimeRegistry.get(uniqueId)
|
|
2132
|
+
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
2133
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
2134
|
+
console.error("表单模式准备失败", error);
|
|
2086
2135
|
});
|
|
2087
2136
|
}
|
|
2088
2137
|
async function prepareInitialView(record) {
|
|
@@ -2112,14 +2161,14 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2112
2161
|
function createRuntimeDataSourceBinding(registry, payload) {
|
|
2113
2162
|
const dataSourceManagerMap = shallowRef({});
|
|
2114
2163
|
async function bindDataSources(record, info, selfInfo) {
|
|
2115
|
-
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2164
|
+
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2165
|
+
return;
|
|
2116
2166
|
const isDetail = () => typeof payload.isDetailPage === "function" ? payload.isDetailPage() : payload.isDetailPage;
|
|
2117
2167
|
if (isDetail()) return;
|
|
2118
2168
|
const { context, formState } = record;
|
|
2119
2169
|
const { uniqueId, formConfig } = context;
|
|
2120
2170
|
const canExecute = () => registry.get(uniqueId) === record && info.renderModeType === RenderModeEnum.FormMode && !isDetail();
|
|
2121
2171
|
const getContext = () => buildDataSourceContext({ parameters: info.paramsConfig ?? {}, instance: selfInfo });
|
|
2122
|
-
let fieldFillRuntime;
|
|
2123
2172
|
const manager = markRaw(
|
|
2124
2173
|
createDataSourceManager({
|
|
2125
2174
|
canExecute,
|
|
@@ -2161,22 +2210,27 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2161
2210
|
for (const { widget } of record.fields.allWidgets()) {
|
|
2162
2211
|
const config = widget.props;
|
|
2163
2212
|
const fieldKey = config.field;
|
|
2164
|
-
if (
|
|
2165
|
-
|
|
2213
|
+
if (fieldKey && (config.subFieldKey || !config.subModelKey)) {
|
|
2214
|
+
const key = config.subFieldKey ? `${config.subFieldKey}.${fieldKey}` : fieldKey;
|
|
2215
|
+
targets.set(key, {
|
|
2216
|
+
table: config.subFieldKey,
|
|
2166
2217
|
field: config.isFieldModel ? config.fieldLink || fieldKey : fieldKey,
|
|
2167
2218
|
isFieldModel: !!config.isFieldModel
|
|
2168
2219
|
});
|
|
2169
2220
|
if (config.componentDependency?.configDependency?.assignment?.expression) {
|
|
2170
|
-
protectedTargets.add(
|
|
2221
|
+
protectedTargets.add(key);
|
|
2171
2222
|
}
|
|
2172
2223
|
}
|
|
2173
2224
|
if (config.enableAutofill !== false) {
|
|
2174
2225
|
for (const rule of config.autofillRules ?? []) {
|
|
2175
|
-
if (
|
|
2226
|
+
if (rule.toField)
|
|
2227
|
+
protectedTargets.add(
|
|
2228
|
+
rule.toSubModel && rule.toSubFieldKey ? `${rule.toSubFieldKey}.${rule.toField}` : rule.toField
|
|
2229
|
+
);
|
|
2176
2230
|
}
|
|
2177
2231
|
}
|
|
2178
2232
|
}
|
|
2179
|
-
fieldFillRuntime = markRaw(
|
|
2233
|
+
const fieldFillRuntime = markRaw(
|
|
2180
2234
|
createFieldFillRuntime({
|
|
2181
2235
|
preserveExistingValues: true,
|
|
2182
2236
|
fills: formConfig.fieldFills ?? [],
|
|
@@ -2185,17 +2239,30 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2185
2239
|
getForm: () => formState.state,
|
|
2186
2240
|
getFormField: (key) => {
|
|
2187
2241
|
const target = targets.get(key);
|
|
2242
|
+
if (target?.table)
|
|
2243
|
+
return getFieldFillColumn(
|
|
2244
|
+
formState.state[target.table],
|
|
2245
|
+
target.isFieldModel ? `_OPCT.${target.field}` : target.field
|
|
2246
|
+
);
|
|
2188
2247
|
return target?.isFieldModel ? formState.state._OPCT?.[target.field] : get(formState.state, key);
|
|
2189
2248
|
},
|
|
2190
2249
|
hasTargetField: (key) => targets.has(key),
|
|
2191
2250
|
canWrite: (key) => canExecute() && targets.has(key) && !isFieldFillTargetProtected(key, protectedTargets, (field) => {
|
|
2192
2251
|
const target = targets.get(field);
|
|
2193
|
-
|
|
2252
|
+
const path = target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
|
|
2253
|
+
return target?.table ? `${target.table}.${path}` : path;
|
|
2194
2254
|
}),
|
|
2195
|
-
setField: (key, value) => {
|
|
2255
|
+
setField: (key, value, collection) => {
|
|
2196
2256
|
if (registry.get(uniqueId) !== record) throw new Error(`字段填充实例已释放:${uniqueId}`);
|
|
2197
2257
|
const target = targets.get(key);
|
|
2198
|
-
if (target.
|
|
2258
|
+
if (target.table) {
|
|
2259
|
+
const field = target.isFieldModel ? `_OPCT.${target.field}` : target.field;
|
|
2260
|
+
formState.setField(
|
|
2261
|
+
target.table,
|
|
2262
|
+
buildFieldFillRows(formState.state[target.table], field, value, collection),
|
|
2263
|
+
"async"
|
|
2264
|
+
);
|
|
2265
|
+
} else if (target.isFieldModel) {
|
|
2199
2266
|
if (!formState.state._OPCT) formState.setField("_OPCT", { _DICT: {} }, "async");
|
|
2200
2267
|
formState.setObjectField(
|
|
2201
2268
|
formState.state._OPCT,
|
|
@@ -2221,9 +2288,13 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2221
2288
|
throw error;
|
|
2222
2289
|
}
|
|
2223
2290
|
}
|
|
2224
|
-
const stopModeWatch = watch(
|
|
2225
|
-
|
|
2226
|
-
|
|
2291
|
+
const stopModeWatch = watch(
|
|
2292
|
+
canExecute,
|
|
2293
|
+
(enabled) => {
|
|
2294
|
+
if (enabled) void initializeOnce().catch(() => void 0);
|
|
2295
|
+
},
|
|
2296
|
+
{ flush: "sync" }
|
|
2297
|
+
);
|
|
2227
2298
|
record.dataSourceManager = exposedManager;
|
|
2228
2299
|
dataSourceManagerMap.value = { ...dataSourceManagerMap.value, [uniqueId]: exposedManager };
|
|
2229
2300
|
registry.registerDisposable(uniqueId, () => {
|
|
@@ -3200,105 +3271,107 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3200
3271
|
}
|
|
3201
3272
|
export {
|
|
3202
3273
|
aO as AITooltips,
|
|
3203
|
-
|
|
3274
|
+
A2 as AllocateTableCore,
|
|
3204
3275
|
B3 as BaseFormModelFetcher,
|
|
3205
3276
|
aQ as BinarizeMethodOptions,
|
|
3206
|
-
|
|
3277
|
+
aZ as BindCmpStyleEnum,
|
|
3207
3278
|
a1 as BooleanShowMode,
|
|
3208
3279
|
B2 as BorderTD,
|
|
3209
3280
|
BpmnNodeTypeEnum,
|
|
3210
|
-
|
|
3211
|
-
|
|
3281
|
+
bI as BpmnSignatureTypeEnum,
|
|
3282
|
+
bJ as ButtonTypeEnum,
|
|
3212
3283
|
B as BwipCodeType,
|
|
3213
|
-
|
|
3214
|
-
|
|
3284
|
+
bK as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3285
|
+
z as CellType,
|
|
3215
3286
|
ai as CellWidgetViewState,
|
|
3216
3287
|
CheckDsTypeEnum,
|
|
3217
|
-
|
|
3288
|
+
bL as CodeRunner,
|
|
3218
3289
|
ComponentTypeEnum,
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3290
|
+
bM as Config_Fields,
|
|
3291
|
+
bN as ControlStatusEnum,
|
|
3292
|
+
bf as DEVICE_GROUP_QUERY_KEY,
|
|
3293
|
+
bO as DEVICE_SEARCH_API,
|
|
3294
|
+
aR as DateFormat,
|
|
3224
3295
|
ay as DecimalDisplayMode,
|
|
3225
3296
|
aP as DenoiseMethodOptions,
|
|
3226
|
-
|
|
3297
|
+
a72 as DeviceConnector,
|
|
3227
3298
|
aM as DeviceLink,
|
|
3228
|
-
|
|
3299
|
+
h as DeviceLinkTmplUtil,
|
|
3229
3300
|
aN as DeviceParamsTypeTitle,
|
|
3230
3301
|
D as DevicePartConsumeTableCore,
|
|
3231
|
-
|
|
3302
|
+
bP as DeviceStatus,
|
|
3232
3303
|
aj as DiagonalDirection,
|
|
3233
3304
|
an as DiagonalVertex,
|
|
3234
3305
|
_ as DocumentLayout,
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3306
|
+
a8 as DocumentLoading,
|
|
3307
|
+
O2 as DocumentPaper,
|
|
3308
|
+
a9 as DynamicQuickFillModal,
|
|
3309
|
+
P2 as DynamicTableAction,
|
|
3310
|
+
bQ as EBR_PROVIDE_ENUM,
|
|
3311
|
+
bR as EFieldBizTypeEnum,
|
|
3312
|
+
E2 as EMPTY_PRODUCT_VERSION_ID,
|
|
3242
3313
|
aG as EmptySymbol,
|
|
3243
3314
|
a3 as FallbackSignTypeEnum,
|
|
3244
3315
|
ah as FieldSysVarDefaultValueEnum,
|
|
3245
3316
|
FillingTypeEnum,
|
|
3246
|
-
|
|
3317
|
+
aa2 as FixedQuickFillModal,
|
|
3247
3318
|
FormAnnotationController,
|
|
3248
|
-
|
|
3319
|
+
F2 as FormModelController,
|
|
3249
3320
|
FormTmplBomController,
|
|
3250
|
-
|
|
3321
|
+
ab as FormTmplConfigController,
|
|
3251
3322
|
FormTypeEnum,
|
|
3252
3323
|
az as ImageDisplayModeEnum,
|
|
3253
3324
|
InstanceStatusValues,
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3325
|
+
bS as JoinModelTypeEum,
|
|
3326
|
+
ac as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3327
|
+
ad as LEGACY_RUNTIME_SHEET_ID,
|
|
3328
|
+
ae as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3258
3329
|
a0 as LabelPosition,
|
|
3259
3330
|
al as LineDirection,
|
|
3260
3331
|
L as LineType,
|
|
3261
|
-
|
|
3332
|
+
bT as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3333
|
+
M as MAX_RUNTIME_SHEETS,
|
|
3334
|
+
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3262
3335
|
M3 as MBRender,
|
|
3263
|
-
|
|
3336
|
+
af as MCDataUtil,
|
|
3264
3337
|
a11 as MCRender,
|
|
3265
|
-
|
|
3338
|
+
d as MULTI_SHEET_SCHEMA_VERSION,
|
|
3266
3339
|
MaterialConsumeTableController,
|
|
3267
3340
|
MaterialConsumptionPatternEnum,
|
|
3268
3341
|
M2 as MaterialRequisitionTableCore,
|
|
3269
3342
|
MaterialStatusEnum,
|
|
3270
3343
|
a10 as MaterialSubstitutionTableCore,
|
|
3271
|
-
|
|
3344
|
+
bU as MobileFillTypeEnum,
|
|
3272
3345
|
NCB_PROVIDE,
|
|
3273
|
-
|
|
3274
|
-
|
|
3346
|
+
ag as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3347
|
+
bV as OfficeTypeEnum,
|
|
3275
3348
|
O as Orientation,
|
|
3276
|
-
|
|
3349
|
+
q as PageSizeEnum,
|
|
3277
3350
|
P as PaginationFormat,
|
|
3278
3351
|
aa as PaperSizeMap,
|
|
3279
|
-
|
|
3352
|
+
p as PaperWidgeType,
|
|
3280
3353
|
Q as PaperWidgeValueType,
|
|
3281
|
-
|
|
3282
|
-
|
|
3354
|
+
E as ParamModelTypeEnum,
|
|
3355
|
+
P3 as PartStocktakeTableCore,
|
|
3283
3356
|
PlatformEnum,
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3357
|
+
bW as PosEnum,
|
|
3358
|
+
b as PretreatmentListTableCore,
|
|
3359
|
+
c as ProfileDrivenSubTableCore,
|
|
3360
|
+
bX as RUNTIME_COLUMN_ROW_KEY,
|
|
3288
3361
|
ax as RangeCompareOp,
|
|
3289
3362
|
aw as RangeValidateMode,
|
|
3290
3363
|
RenderModeEnum,
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3364
|
+
ah2 as RuntimeAsyncTaskCoordinator,
|
|
3365
|
+
ai2 as RuntimeDependencyService,
|
|
3366
|
+
aj2 as RuntimeFieldRegistry,
|
|
3294
3367
|
RuntimeFormStateStore,
|
|
3295
3368
|
RuntimeInstanceController,
|
|
3296
|
-
|
|
3369
|
+
ak2 as RuntimeInstanceEventBus,
|
|
3297
3370
|
RuntimeInstanceRegistry,
|
|
3298
|
-
|
|
3371
|
+
al2 as RuntimePersistenceCoordinator,
|
|
3299
3372
|
RuntimeRuleCompiler,
|
|
3300
3373
|
RuntimeSheetService,
|
|
3301
|
-
|
|
3374
|
+
am2 as RuntimeValidationService,
|
|
3302
3375
|
a6 as SignShowTypeEnum,
|
|
3303
3376
|
a2 as SignatureImageDirectionEnum,
|
|
3304
3377
|
a4 as SignatureNumberTypeEnum,
|
|
@@ -3306,10 +3379,10 @@ export {
|
|
|
3306
3379
|
a7 as SignatureTypeEnum,
|
|
3307
3380
|
d2 as SterilizeBatchTableCore,
|
|
3308
3381
|
e2 as StocktakeTableCore,
|
|
3309
|
-
|
|
3382
|
+
an2 as SubTableCore,
|
|
3310
3383
|
SubTableCoreFactory,
|
|
3311
3384
|
f as SubTableType,
|
|
3312
|
-
|
|
3385
|
+
bY as SummaryApproveHisTypeEnum,
|
|
3313
3386
|
am as TimeDiffFormat,
|
|
3314
3387
|
aq as ViewTypeEnum,
|
|
3315
3388
|
W as WarehouseInTableCore,
|
|
@@ -3317,130 +3390,130 @@ export {
|
|
|
3317
3390
|
g as WarehouseOutTableCore,
|
|
3318
3391
|
h2 as WarehouseOutboundTableCore,
|
|
3319
3392
|
ak as WidgetImageSizeMode,
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3393
|
+
bZ as applyCheckDsDataToRuntime,
|
|
3394
|
+
y as applyConsumeObjectTraceChange,
|
|
3395
|
+
b_ as applyMedProCheckDsDataToRuntime,
|
|
3323
3396
|
baseDataUtils,
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3397
|
+
b$ as bindRuntimeTableColumns,
|
|
3398
|
+
c0 as buildDeviceBaseQuery,
|
|
3399
|
+
be as buildDeviceFilterQuery,
|
|
3400
|
+
ao2 as buildFormChangeDisplayRows,
|
|
3401
|
+
p2 as buildObjectLotExtraQuery,
|
|
3329
3402
|
buildRuntimeFieldPath,
|
|
3330
|
-
|
|
3331
|
-
|
|
3403
|
+
c1 as calcFillData,
|
|
3404
|
+
c2 as calcUtils,
|
|
3332
3405
|
calculateFormula,
|
|
3333
3406
|
collectAnnotationItemsByLocation,
|
|
3334
3407
|
collectFormChangeFieldLocations,
|
|
3335
3408
|
commonUtils,
|
|
3336
3409
|
convertHistoricalAnnotationLocation,
|
|
3337
|
-
|
|
3338
|
-
|
|
3410
|
+
ap as convertV1Runtime,
|
|
3411
|
+
e as createRuntimeDocumentV2,
|
|
3339
3412
|
createRuntimeInstanceContext,
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3413
|
+
c3 as decodeTableCellRowKey,
|
|
3414
|
+
aq2 as detailsHaveFormChangeRowOps,
|
|
3415
|
+
c4 as encodeTableCellRowKey,
|
|
3343
3416
|
enrichFormChangeRowDetails,
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3417
|
+
c5 as ensureFrontRowKey,
|
|
3418
|
+
c6 as ensureTableRowKeys,
|
|
3419
|
+
ar as extractFormChangeRowDetails,
|
|
3420
|
+
c7 as extractKeywordFromQueryData,
|
|
3421
|
+
c8 as fetchCheckDsDataForTable,
|
|
3422
|
+
c9 as fetchCustomCheckDsData,
|
|
3350
3423
|
fetchHistoryConsume,
|
|
3351
|
-
|
|
3424
|
+
ca as fetchMedProCheckDsData,
|
|
3352
3425
|
fetchOperationReceiveQty,
|
|
3353
3426
|
fetchUdi,
|
|
3354
3427
|
filterAnnotationItemsUpToCurrent,
|
|
3355
|
-
|
|
3356
|
-
|
|
3428
|
+
bj as findRuntimeParentRow,
|
|
3429
|
+
cb as findRuntimeTableCell,
|
|
3357
3430
|
findRuntimeTableRow,
|
|
3358
3431
|
getAppInfo,
|
|
3359
3432
|
getBusinessFieldKey,
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3433
|
+
cc as getCheckTableSnapshotKey,
|
|
3434
|
+
as as getFormChangeRowKey,
|
|
3435
|
+
at as getFormChangeRowOp,
|
|
3436
|
+
aX as getLotLockedReason,
|
|
3437
|
+
o as getObjectBomMaterialLotQuery,
|
|
3438
|
+
z2 as getObjectBomProductQuery,
|
|
3366
3439
|
getParseFormulaVarInfos,
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3440
|
+
cd as getParseRuleConfig,
|
|
3441
|
+
a_ as getParseRuleInfo,
|
|
3442
|
+
a$ as getParseRuleValue,
|
|
3443
|
+
ce as getReinspectionDate,
|
|
3444
|
+
cf as getRenderedRuntimeTableCell,
|
|
3372
3445
|
getRuntimeDataFieldId,
|
|
3373
3446
|
getRuntimeDependencyOutputKey,
|
|
3374
|
-
|
|
3447
|
+
au as getSubTableQuickFillInfo,
|
|
3375
3448
|
getSuiteKey,
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3449
|
+
cg as handleOldConfig,
|
|
3450
|
+
ch as hasAnyCheckTableSnapshot,
|
|
3451
|
+
ci as hasByTableCheckTableSnapshot,
|
|
3452
|
+
cj as hasSharedCheckTableSnapshot,
|
|
3453
|
+
av as isAnnLocationSelected,
|
|
3454
|
+
aw2 as isBlank,
|
|
3382
3455
|
isBomGranted,
|
|
3383
3456
|
isEdhrSuite,
|
|
3384
3457
|
isEqmSuite,
|
|
3385
|
-
|
|
3386
|
-
|
|
3458
|
+
ax2 as isFormChangeGhostRow,
|
|
3459
|
+
ck as isMedProSuite,
|
|
3387
3460
|
isRowAddedInCurrentFormChange,
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3461
|
+
cl as isTableRowKeyMatch,
|
|
3462
|
+
cm as jsonSchemaUtils,
|
|
3463
|
+
cn as judgeUnique,
|
|
3464
|
+
aW as materialCheck,
|
|
3465
|
+
co as migrateDiagonalDirectionToVertex,
|
|
3393
3466
|
nextFormChangeRowViewHistoryId,
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3467
|
+
i as normalizeAIOcrTmpl,
|
|
3468
|
+
A as normalizeHistoricalAutofillRow,
|
|
3469
|
+
f2 as normalizeHistoricalBusinessRow,
|
|
3470
|
+
ay2 as normalizeHistoricalFieldConfig,
|
|
3471
|
+
b0 as normalizeRefLoaderResult,
|
|
3399
3472
|
normalizeRuntime,
|
|
3400
3473
|
parseFrontConfig,
|
|
3401
3474
|
parseRuntimeFieldPath,
|
|
3402
3475
|
parseUdi,
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3476
|
+
az2 as pickObjectFieldKeys,
|
|
3477
|
+
aA as recordSubtableRowAdd,
|
|
3478
|
+
aB as recordSubtableRowDelete,
|
|
3479
|
+
bc as refUtils,
|
|
3480
|
+
cp as relocateDeletedRowsToEnd,
|
|
3408
3481
|
renderUtils,
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3482
|
+
cq as requestMedProCheckDsData,
|
|
3483
|
+
cr as requestNonMedProCheckDsData,
|
|
3484
|
+
aC as resolveAnnotationFieldLocation,
|
|
3412
3485
|
ao as resolveDiagonalVertex,
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3486
|
+
u as resolveFieldRenderComponent,
|
|
3487
|
+
aD as resolveFormChangeRowUi,
|
|
3488
|
+
t as resolveObjectBomEntry,
|
|
3416
3489
|
r as resolveObjectFieldKeys,
|
|
3417
|
-
|
|
3490
|
+
aE as resolveRowFormChangeMark,
|
|
3418
3491
|
resolveUdiQuery,
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3492
|
+
w as runWithFillProduct,
|
|
3493
|
+
l as setSelectAnnotationId,
|
|
3494
|
+
aF as setSelectMobileTdId,
|
|
3422
3495
|
s as setSelectValidatorId,
|
|
3423
|
-
|
|
3496
|
+
cs as sqlUtils,
|
|
3424
3497
|
ct as stockCheck,
|
|
3425
|
-
|
|
3498
|
+
aG2 as stripLegacyFormConfigFromPaper,
|
|
3426
3499
|
transformUtils,
|
|
3427
|
-
|
|
3500
|
+
G as useDependency,
|
|
3428
3501
|
useEbrWikiFactoryV2,
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3502
|
+
H as useFieldPresentation,
|
|
3503
|
+
u3 as useFormModel,
|
|
3504
|
+
u2 as useFormTmplConfig,
|
|
3432
3505
|
useMaterialBalance,
|
|
3433
3506
|
useNocodeEmitter,
|
|
3434
|
-
|
|
3507
|
+
x as useNocodeFormWidget,
|
|
3435
3508
|
cu as useOnlineFormActionButton,
|
|
3436
|
-
|
|
3509
|
+
bk as useOnlineFormTransformField2Component,
|
|
3437
3510
|
useRenderPageFactory,
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3511
|
+
I as useRuntimeEditorFlusher,
|
|
3512
|
+
k as useRuntimeInstanceServices,
|
|
3513
|
+
m as useRuntimeRowState,
|
|
3514
|
+
F as useStyles,
|
|
3515
|
+
j as useWidgetStaticAttrs,
|
|
3443
3516
|
v as validateObjectBomForScan,
|
|
3444
3517
|
validateObjectBomQtyOnSubmit,
|
|
3445
|
-
|
|
3518
|
+
aY as validateReinspectionDate
|
|
3446
3519
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { h as useModelFields, D as Diagonal } from "./index-
|
|
3
|
-
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-ixQwAcB1.js";
|
|
3
|
+
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|