@gct-paas/excel 0.1.40-beta.1 → 0.1.40-beta.4
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-BcxRArl9.js} +2 -2
- package/dist/{VueVideoPlayer-DhyIm-g1.js → VueVideoPlayer-DjIr6Duj.js} +2 -2
- package/dist/{align-editor-BcbgVXRp.js → align-editor-99-Qs6Pu.js} +1 -1
- package/dist/{barcode-design-BiCt0aS7.js → barcode-design-BSkeINVU.js} +2 -2
- package/dist/base/index.es.js +308 -194
- package/dist/{diagonal-design-DmvWALIE.js → diagonal-design-CR7fiPt_.js} +2 -2
- package/dist/{dynamic-table-action-fDIIzS2J.js → dynamic-table-action-D8JTGNuH.js} +292 -138
- 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-CxqmyuOf.js} +577 -344
- package/dist/{edit.utils-CXmmCnxE-DxArFSxZ.js → edit.utils-CXmmCnxE-5YnG7Mod.js} +1 -1
- package/dist/excel.css +3294 -4159
- package/dist/{exceljs.min-CjKNZPlo.js → exceljs.min-Ckn1GGo5.js} +2 -2
- package/dist/{font-editor-DseGyVgB.js → font-editor-CIv2e95b.js} +3 -3
- package/dist/{image-design-Dr-L9AdG.js → image-design-Bg1m0JLl.js} +2 -2
- package/dist/{index-C6dFliaf.js → index-0kZW-sd4.js} +1 -1
- package/dist/{index-D5IrgJyh.js → index-6wZ6Y0W3.js} +2 -2
- package/dist/{index-r4MF8_-h.js → index-B4XMnrfl.js} +2 -2
- package/dist/{index-BctQMMgh.js → index-BA_C4l6u.js} +2 -2
- package/dist/{index-DKf57IGi.js → index-BIraya7K.js} +1 -1
- package/dist/{index-BdJ4ouEl.js → index-BZQrpoEw.js} +1 -1
- package/dist/{index-iRameN0x.js → index-BunphFuS.js} +2 -2
- package/dist/{index-C8OPhJhI.js → index-BzdZIihy.js} +1 -1
- package/dist/{index-BPgCZjqV.js → index-C7oAVon1.js} +1 -1
- package/dist/{index-lwjRRvDn.js → index-C8H-5Adw.js} +2 -2
- package/dist/{index-C4tVTc9U.js → index-CRLydLMf.js} +2 -2
- package/dist/{index-DKRpaNo1.js → index-CTyszA6m.js} +1 -1
- package/dist/{index-DrmR7WIs.js → index-CUPuw1ng.js} +2 -2
- package/dist/{index-CScWLXnC.js → index-CYb8lY4k.js} +2 -2
- package/dist/{index-BY7RGawr.js → index-CeCk3V8r.js} +2 -2
- package/dist/{index-CAdGL3Vp.js → index-CeMM7qev.js} +2 -2
- package/dist/{index-JkPJqZ_5.js → index-Cjor8DKp.js} +2 -2
- package/dist/{index-Nytm1-X9.js → index-CsIKJvLT.js} +53 -5
- package/dist/{index-B34ZIwqL.js → index-CzgWwoNs.js} +2 -2
- package/dist/{index-CJ9CrORT.js → index-D7DYLntD.js} +3 -3
- package/dist/{index-DcjOJuDw.js → index-DFJ19IKk.js} +2 -2
- package/dist/{index-DsCTXMxB.js → index-DG8I3apA.js} +1 -1
- package/dist/{index-BjI7JCne.js → index-DHvbmtBs.js} +4 -4
- package/dist/{index-C70T1sVm.js → index-DLZKDd1x.js} +26308 -28538
- package/dist/{index-BxZ3M7eP.js → index-DN83FHdO.js} +1 -1
- package/dist/{index-CXh-4yX8.js → index-DZxTtwzU.js} +3 -3
- package/dist/{index-CewKz2Ro.js → index-DbXQsLWI.js} +1 -1
- package/dist/{index-CX_eR36M.js → index-DgRCrbjc.js} +2 -2
- package/dist/{index-4acBM2Lp.js → index-Do1A3RoM.js} +2 -2
- package/dist/{index-CEmRRPE7.js → index-DprbnBOa.js} +2 -2
- package/dist/{index-hcCJUBne.js → index-DtwSR71M.js} +1 -1
- package/dist/{index-DNC5VG8P.js → index-OHHmkknK.js} +2 -2
- package/dist/{index-0W-MEvEf.js → index-k_OAhCop.js} +2 -2
- package/dist/{index-DqLVW6ej.js → index-mxtsA6kq.js} +3 -3
- package/dist/{index-B29_mID7.js → index-rYGo3i42.js} +3 -3
- package/dist/index.es.js +12 -10
- package/dist/{mb-render-BdRsSczc.js → mb-render-BW27j2qa.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-JuGFe7ao.js} +1 -1
- package/dist/{pagination-design-9Z_iRIKM.js → pagination-design-C59mi1du.js} +2 -2
- package/dist/paper-widget-design-BNmIT8FC.js +4 -0
- package/dist/{print-runtime-instance-BBOww4jg.js → print-runtime-instance-CT3EaCDJ.js} +1 -1
- package/dist/{print-snapshot-renderer-DGt44saz.js → print-snapshot-renderer-Bm-fpHUt.js} +3 -3
- package/dist/{qrcode-design-qbUjPX-B.js → qrcode-design-Brx73IFy.js} +1 -1
- package/dist/{revo-grid.entry-RzymRzb0.js → revo-grid.entry-CREHbVNI.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CxTEXm8Q.js → revogr-attribution_7.entry-CBUFDouS.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DQEid83u.js → revogr-clipboard_3.entry-C9D5KQdr.js} +2 -2
- package/dist/{revogr-data_4.entry-ASovYZWH.js → revogr-data_4.entry-DpskbAdh.js} +2 -2
- package/dist/{revogr-filter-panel.entry-j_V74kgz.js → revogr-filter-panel.entry-CqdNtCzb.js} +1 -1
- package/dist/seal-design-XhQfBjxE.js +4 -0
- package/dist/{serialnumber-design-DXKTYOY7.js → serialnumber-design-CJM0MP9w.js} +1 -1
- package/dist/shared/index.es.js +22 -22
- package/dist/{single-field-drop-CLjaHjL-.js → single-field-drop-B82L3Pe3.js} +2 -2
- package/dist/{size-editor-C62H_eRP.js → size-editor-CybxvVWn.js} +1 -1
- package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
- package/dist/src/domain/table/index.d.ts +1 -1
- package/dist/src/domain/table/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
- 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/hooks/validation/createValidateFactory.d.ts +1 -0
- 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-base/src/types/render/sub-table-render.d.ts +5 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
- 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/designer/conversions/normalize-paper-grid.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
- 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/src/shared/components/Signature/logic/index.d.ts +14 -0
- package/dist/{sub-table-factory-sn1Ek1c9.js → sub-table-factory-BrwMeqWM.js} +29 -65
- package/dist/{text-design-CwHfwel0.js → text-design-Qem3wirw.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BHDq1lM3.js → throttle-Cpk1LoGk-Bm1w1voP.js} +1 -1
- package/dist/{timediff-design-8kCO3aXz.js → timediff-design-CiGukjs9.js} +1 -1
- package/dist/{trace-like-wrapper-CxPz9Trr.js → trace-like-wrapper-DrUDJDgX.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-DXBstCLM.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CRxh3tC2.js → widget-barcode-DH30z4yi.js} +4 -4
- package/dist/{widget-diagonal-CO586oV2.js → widget-diagonal-Bv-Eb2Fi.js} +3 -3
- package/dist/{widget-image-CE6kVnu5.js → widget-image-67Q9gRCG.js} +5 -5
- package/dist/{widget-line-Br4oIssb.js → widget-line-DP3dKXNd.js} +2 -2
- package/dist/{widget-pagination-BHwjrBV5.js → widget-pagination-B66PcWXU.js} +5 -5
- package/dist/{widget-power-BySYsE15.js → widget-power-yRy8897o.js} +3 -3
- package/dist/{widget-qrcode-D6b0T_Qa.js → widget-qrcode-DN3R8N41.js} +3 -3
- package/dist/{widget-rangelimit-DTH7nrqC.js → widget-rangelimit-zWZZMPvn.js} +3 -3
- package/dist/{widget-serialnumber-DVtxhNC3.js → widget-serialnumber-p7wB7-Bz.js} +1 -1
- package/dist/{widget-text-gBGybAXk.js → widget-text-BQO0Rf5A.js} +5 -5
- package/dist/{widget-timediff-aY-maVkE.js → widget-timediff-C1VxWKle.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 {
|
|
3
|
-
import {
|
|
4
|
-
import { B as B2,
|
|
1
|
+
import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bv as assembleRules, bw as isAttachFieldActive, aK as Dependency_ENUM, bk as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Z as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a9 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
|
+
import { aQ, aS, a$, a2, bK, bL, B, bM, A, aj, bN, bO, bP, bh, bQ, aT, aC, aR, aO, aP, bR, ak, ao, bS, bT, aI, a4, ai, aD, bU, a1, am, L, bV, bW, bX, O, s, P, ab, q, R, G, bY, bZ, ay, a7, a3, a5, a6, a8, h, b_, an, ar, al, b$, c0, c1, c2, bg, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bl, cd, ce, aZ, cf, b0, b1, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b2, be, cr, cs, ct, ap, v, cu, cv, cw, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
|
+
import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-D8JTGNuH.js";
|
|
4
|
+
import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-D8JTGNuH.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 A3, D, M as M2, a as a10, P 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 u2 } from "../mb-render-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BrwMeqWM.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-BrwMeqWM.js";
|
|
10
|
+
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
|
+
import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BW27j2qa.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);
|
|
@@ -490,6 +491,13 @@ class RuntimeRuleCompiler {
|
|
|
490
491
|
const props = widget.props ?? {};
|
|
491
492
|
const targetFieldId = getRuntimeDataFieldId(props);
|
|
492
493
|
if (!targetFieldId) return;
|
|
494
|
+
const fieldMain = findFieldMain(props.bizType, props.fieldType);
|
|
495
|
+
const tableProfile = getProfileByTableType(props.subModelType) ?? getBusinessProfileByRefModelType(props.subModelType);
|
|
496
|
+
const tableProps = tableProfile && isBusinessSubTableProfile(tableProfile) ? findFieldProfile(tableProfile, props.field)?.defaultProps : void 0;
|
|
497
|
+
const numeric = fieldMain?.render === "rd:number" || fieldMain?.render === "rd:double";
|
|
498
|
+
const defaultMinValue = numeric && [tableProps, fieldMain?.defaultProps].some(
|
|
499
|
+
(defaults2) => defaults2?.enableRangeValidate === true && defaults2.minValidateMode === RangeValidateMode.Fixed_Number && defaults2.minValue === 0
|
|
500
|
+
) ? 0 : void 0;
|
|
493
501
|
getRulePaths(
|
|
494
502
|
this.record,
|
|
495
503
|
props,
|
|
@@ -509,6 +517,7 @@ class RuntimeRuleCompiler {
|
|
|
509
517
|
const rules = assembleRules({
|
|
510
518
|
showRequired: state.required,
|
|
511
519
|
fieldType: props.fieldType,
|
|
520
|
+
defaultMinValue,
|
|
512
521
|
validatorInfo: {
|
|
513
522
|
showModelName: props.newSpecificConfig?.newModelName,
|
|
514
523
|
showModelKey: props.modelKey ?? this.basicInfo.modelKey,
|
|
@@ -808,6 +817,10 @@ class FormTmplBomController {
|
|
|
808
817
|
field2TableMap = {};
|
|
809
818
|
/** 默认物料消耗模式 */
|
|
810
819
|
defaultMCPattern = MaterialConsumptionPatternEnum.RECORD;
|
|
820
|
+
/** 表单实例身份与 BOM 数据是否存在无关,模板展示也会创建完整控制器。 */
|
|
821
|
+
hasFormInstance = false;
|
|
822
|
+
/** 按页面中的表解析后的配置,页面与打印共用。 */
|
|
823
|
+
resolvedTmplBomList = [];
|
|
811
824
|
constructor() {
|
|
812
825
|
}
|
|
813
826
|
/**
|
|
@@ -825,7 +838,9 @@ class FormTmplBomController {
|
|
|
825
838
|
productQty: this.productQty,
|
|
826
839
|
historyData: this.historyData,
|
|
827
840
|
field2TableMap: this.field2TableMap,
|
|
828
|
-
defaultMCPattern: this.defaultMCPattern
|
|
841
|
+
defaultMCPattern: this.defaultMCPattern,
|
|
842
|
+
hasFormInstance: this.hasFormInstance,
|
|
843
|
+
resolvedTmplBomList: this.resolvedTmplBomList
|
|
829
844
|
})
|
|
830
845
|
);
|
|
831
846
|
(view.tmplBomList ?? []).forEach((config) => {
|
|
@@ -877,11 +892,11 @@ class FormTmplBomController {
|
|
|
877
892
|
* @readonly
|
|
878
893
|
*/
|
|
879
894
|
get bomEntries() {
|
|
880
|
-
return this.formInstBom?.bomEntries;
|
|
895
|
+
return this.formInstBom?.bomEntries ?? [];
|
|
881
896
|
}
|
|
882
897
|
/** 表单模板bom信息配置列表 */
|
|
883
898
|
get tmplBomList() {
|
|
884
|
-
return this.
|
|
899
|
+
return this.resolvedTmplBomList;
|
|
885
900
|
}
|
|
886
901
|
/**
|
|
887
902
|
* bom那边指定的当前工序的开关
|
|
@@ -890,30 +905,55 @@ class FormTmplBomController {
|
|
|
890
905
|
get enableSequenceLoading() {
|
|
891
906
|
return !!this.formInstBom?.sequenceEntries?.[0]?.enabled_;
|
|
892
907
|
}
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
908
|
+
createDefaultConfig(table) {
|
|
909
|
+
return {
|
|
910
|
+
table_key_: `${table.tableKey}:${table.masterSubField}`,
|
|
911
|
+
material_loading_model_enabled_: false,
|
|
912
|
+
material_consumption_pattern_: MaterialConsumptionPatternEnum.RECORD,
|
|
913
|
+
bom_init_enabled_: false,
|
|
914
|
+
personal_bom_enabled_: false,
|
|
915
|
+
sequence_loading_enabled_: false,
|
|
916
|
+
entries_: []
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
/** 有实例时读取实例配置,无实例时仅创建默认展示控制器。 */
|
|
896
920
|
async init(data) {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
this.
|
|
901
|
-
this.
|
|
902
|
-
this.
|
|
903
|
-
this.
|
|
904
|
-
this.historyData = await fetchHistoryConsume({
|
|
905
|
-
production_identification_id_: this.formInstBom.productionIdentificationId,
|
|
906
|
-
routing_operation_id_: this.operationId
|
|
907
|
-
});
|
|
908
|
-
const isGranted = await isBomGranted();
|
|
909
|
-
this.defaultMCPattern = isGranted ? MaterialConsumptionPatternEnum.BOM : MaterialConsumptionPatternEnum.RECORD;
|
|
921
|
+
this.hasFormInstance = data.hasFormInstance;
|
|
922
|
+
this.operationId = data.operationId ?? "";
|
|
923
|
+
this.materialNo = data.materialNo ?? "";
|
|
924
|
+
this.formInstBom = this.hasFormInstance ? data.formInstBom ?? null : null;
|
|
925
|
+
this.productQty = this.formInstBom ? data.productQty ?? 0 : data.productQty;
|
|
926
|
+
this.historyData = [];
|
|
927
|
+
this.defaultMCPattern = MaterialConsumptionPatternEnum.RECORD;
|
|
910
928
|
this.tableControllers = {};
|
|
911
|
-
this.
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
929
|
+
this.field2TableMap = {};
|
|
930
|
+
const instanceConfigs = new Map(
|
|
931
|
+
(this.formInstBom?.formTmplBomList ?? []).filter((config) => !config.deleted_ && config.table_key_).map((config) => [config.table_key_, config])
|
|
932
|
+
);
|
|
933
|
+
this.resolvedTmplBomList = data.materialConsumeTableList.map((table) => {
|
|
934
|
+
const key = `${table.tableKey}:${table.masterSubField}`;
|
|
935
|
+
const source = instanceConfigs.get(key);
|
|
936
|
+
if (!source) return this.createDefaultConfig(table);
|
|
937
|
+
const config = cloneDeep(source);
|
|
938
|
+
config.entries_ ??= [];
|
|
939
|
+
return config;
|
|
940
|
+
});
|
|
941
|
+
if (this.formInstBom) {
|
|
942
|
+
if (this.formInstBom.productionIdentificationId && this.operationId) {
|
|
943
|
+
this.historyData = await fetchHistoryConsume({
|
|
944
|
+
production_identification_id_: this.formInstBom.productionIdentificationId,
|
|
945
|
+
routing_operation_id_: this.operationId
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
const isGranted = await isBomGranted();
|
|
949
|
+
this.defaultMCPattern = isGranted ? MaterialConsumptionPatternEnum.BOM : MaterialConsumptionPatternEnum.RECORD;
|
|
950
|
+
}
|
|
951
|
+
data.materialConsumeTableList.forEach((table, index) => {
|
|
952
|
+
const config = this.resolvedTmplBomList[index];
|
|
953
|
+
const controller = new MaterialConsumeTableController(this, config);
|
|
954
|
+
this.tableControllers[table.tableKey] = controller;
|
|
955
|
+
this.field2TableMap[table.masterSubField] = table.tableKey;
|
|
956
|
+
});
|
|
917
957
|
}
|
|
918
958
|
/**
|
|
919
959
|
* 根据字段key获取子表控制器
|
|
@@ -960,7 +1000,7 @@ class FormTmplBomController {
|
|
|
960
1000
|
}
|
|
961
1001
|
async submitValidate() {
|
|
962
1002
|
const results = await Promise.all(
|
|
963
|
-
Object.values(this.tableControllers).map((
|
|
1003
|
+
Object.values(this.tableControllers).map((c10) => c10.submitValidate())
|
|
964
1004
|
);
|
|
965
1005
|
const fields = {};
|
|
966
1006
|
let isValid = true;
|
|
@@ -993,6 +1033,37 @@ async function getModelQueries(opts) {
|
|
|
993
1033
|
console.log("getModelQueries", res);
|
|
994
1034
|
return res;
|
|
995
1035
|
}
|
|
1036
|
+
async function fillSterilizationDate(txnInstId, metadata, formState) {
|
|
1037
|
+
if (txnInstId == null || txnInstId === "") return;
|
|
1038
|
+
const fields = metadata.fields.filter(({ widget }) => {
|
|
1039
|
+
const props = widget?.props;
|
|
1040
|
+
return props?.fieldType === FIELD_TYPE.STERILIZATION_DATE || props?.bizType === FIELD_TYPE.STERILIZATION_DATE;
|
|
1041
|
+
});
|
|
1042
|
+
if (!fields.length) return;
|
|
1043
|
+
const response = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
1044
|
+
{ modelCategory: "entity", modelKey: "em_sterilization_list", bsKey: "getOne" },
|
|
1045
|
+
{},
|
|
1046
|
+
{ query: { txn_inst_id_: txnInstId } }
|
|
1047
|
+
);
|
|
1048
|
+
const data = response && "data" in response ? response.data : void 0;
|
|
1049
|
+
const record = Array.isArray(data) ? data[0] : data;
|
|
1050
|
+
const date = record && typeof record === "object" && "sterilization_date_" in record ? record.sterilization_date_ : void 0;
|
|
1051
|
+
if (date == null || date === "") return;
|
|
1052
|
+
fields.forEach(({ widget, subFieldKey }) => {
|
|
1053
|
+
const field = getRuntimeDataFieldId(widget?.props);
|
|
1054
|
+
if (!field) return;
|
|
1055
|
+
if (subFieldKey) {
|
|
1056
|
+
const rows = formState[subFieldKey];
|
|
1057
|
+
if (Array.isArray(rows)) {
|
|
1058
|
+
rows.forEach((row) => {
|
|
1059
|
+
if (row && typeof row === "object") row[field] = date;
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
} else {
|
|
1063
|
+
formState[field] = date;
|
|
1064
|
+
}
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
996
1067
|
function uniqueItems(items, getKey) {
|
|
997
1068
|
return Array.from(new Map(items.map((item) => [getKey(item), item])).values());
|
|
998
1069
|
}
|
|
@@ -1267,6 +1338,8 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1267
1338
|
}
|
|
1268
1339
|
await tmplBomC.init({
|
|
1269
1340
|
formInstBom: selfInfo.formInstBom,
|
|
1341
|
+
materialConsumeTableList: businessIndex.materialConsumeTableList,
|
|
1342
|
+
hasFormInstance: isFormInstance,
|
|
1270
1343
|
operationId: paramsConfig?.routingOperationId,
|
|
1271
1344
|
materialNo,
|
|
1272
1345
|
productQty: paramsConfig?.productQty
|
|
@@ -1422,6 +1495,9 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1422
1495
|
]
|
|
1423
1496
|
});
|
|
1424
1497
|
if (fillModeType === RenderModeEnum.FormMode) {
|
|
1498
|
+
if (!payload.isMockReport) {
|
|
1499
|
+
await fillSterilizationDate(selfInfo.txnInstId, fieldInfoMap.fieldMetadata, formState);
|
|
1500
|
+
}
|
|
1425
1501
|
const floatingFields = sheetEntries.flatMap((entry) => {
|
|
1426
1502
|
const ids = entry.dataCenter[ComponentTypeEnum.PAPER]?.props?.floatingFieldIds ?? [];
|
|
1427
1503
|
return ids.map((fieldId) => entry.dataCenter[fieldId]).filter(Boolean);
|
|
@@ -1546,6 +1622,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1546
1622
|
uniqueId,
|
|
1547
1623
|
() => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
|
|
1548
1624
|
);
|
|
1625
|
+
runtimeRegistry.registerDisposable(
|
|
1626
|
+
uniqueId,
|
|
1627
|
+
watch(
|
|
1628
|
+
() => record.context.activeSheetId,
|
|
1629
|
+
(next, previous) => {
|
|
1630
|
+
if (next !== previous) {
|
|
1631
|
+
MaterialConsumeTableController.render?.destroyAllModals(uniqueId);
|
|
1632
|
+
}
|
|
1633
|
+
},
|
|
1634
|
+
{ flush: "sync" }
|
|
1635
|
+
)
|
|
1636
|
+
);
|
|
1549
1637
|
if (!mcList.length) return;
|
|
1550
1638
|
const tmplBomC = record.context.services.tmplBomController;
|
|
1551
1639
|
if (!tmplBomC) return;
|
|
@@ -2082,7 +2170,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2082
2170
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2083
2171
|
await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
|
|
2084
2172
|
}).catch((error) => {
|
|
2085
|
-
if (runtimeRegistry.get(uniqueId)
|
|
2173
|
+
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
2174
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
2175
|
+
console.error("表单模式准备失败", error);
|
|
2086
2176
|
});
|
|
2087
2177
|
}
|
|
2088
2178
|
async function prepareInitialView(record) {
|
|
@@ -2112,14 +2202,14 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2112
2202
|
function createRuntimeDataSourceBinding(registry, payload) {
|
|
2113
2203
|
const dataSourceManagerMap = shallowRef({});
|
|
2114
2204
|
async function bindDataSources(record, info, selfInfo) {
|
|
2115
|
-
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2205
|
+
if (payload.isMockReport || !["instance", "batchInstance"].includes(payload.factoryType))
|
|
2206
|
+
return;
|
|
2116
2207
|
const isDetail = () => typeof payload.isDetailPage === "function" ? payload.isDetailPage() : payload.isDetailPage;
|
|
2117
2208
|
if (isDetail()) return;
|
|
2118
2209
|
const { context, formState } = record;
|
|
2119
2210
|
const { uniqueId, formConfig } = context;
|
|
2120
2211
|
const canExecute = () => registry.get(uniqueId) === record && info.renderModeType === RenderModeEnum.FormMode && !isDetail();
|
|
2121
2212
|
const getContext = () => buildDataSourceContext({ parameters: info.paramsConfig ?? {}, instance: selfInfo });
|
|
2122
|
-
let fieldFillRuntime;
|
|
2123
2213
|
const manager = markRaw(
|
|
2124
2214
|
createDataSourceManager({
|
|
2125
2215
|
canExecute,
|
|
@@ -2161,22 +2251,27 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2161
2251
|
for (const { widget } of record.fields.allWidgets()) {
|
|
2162
2252
|
const config = widget.props;
|
|
2163
2253
|
const fieldKey = config.field;
|
|
2164
|
-
if (
|
|
2165
|
-
|
|
2254
|
+
if (fieldKey && (config.subFieldKey || !config.subModelKey)) {
|
|
2255
|
+
const key = config.subFieldKey ? `${config.subFieldKey}.${fieldKey}` : fieldKey;
|
|
2256
|
+
targets.set(key, {
|
|
2257
|
+
table: config.subFieldKey,
|
|
2166
2258
|
field: config.isFieldModel ? config.fieldLink || fieldKey : fieldKey,
|
|
2167
2259
|
isFieldModel: !!config.isFieldModel
|
|
2168
2260
|
});
|
|
2169
2261
|
if (config.componentDependency?.configDependency?.assignment?.expression) {
|
|
2170
|
-
protectedTargets.add(
|
|
2262
|
+
protectedTargets.add(key);
|
|
2171
2263
|
}
|
|
2172
2264
|
}
|
|
2173
2265
|
if (config.enableAutofill !== false) {
|
|
2174
2266
|
for (const rule of config.autofillRules ?? []) {
|
|
2175
|
-
if (
|
|
2267
|
+
if (rule.toField)
|
|
2268
|
+
protectedTargets.add(
|
|
2269
|
+
rule.toSubModel && rule.toSubFieldKey ? `${rule.toSubFieldKey}.${rule.toField}` : rule.toField
|
|
2270
|
+
);
|
|
2176
2271
|
}
|
|
2177
2272
|
}
|
|
2178
2273
|
}
|
|
2179
|
-
fieldFillRuntime = markRaw(
|
|
2274
|
+
const fieldFillRuntime = markRaw(
|
|
2180
2275
|
createFieldFillRuntime({
|
|
2181
2276
|
preserveExistingValues: true,
|
|
2182
2277
|
fills: formConfig.fieldFills ?? [],
|
|
@@ -2185,17 +2280,30 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2185
2280
|
getForm: () => formState.state,
|
|
2186
2281
|
getFormField: (key) => {
|
|
2187
2282
|
const target = targets.get(key);
|
|
2283
|
+
if (target?.table)
|
|
2284
|
+
return getFieldFillColumn(
|
|
2285
|
+
formState.state[target.table],
|
|
2286
|
+
target.isFieldModel ? `_OPCT.${target.field}` : target.field
|
|
2287
|
+
);
|
|
2188
2288
|
return target?.isFieldModel ? formState.state._OPCT?.[target.field] : get(formState.state, key);
|
|
2189
2289
|
},
|
|
2190
2290
|
hasTargetField: (key) => targets.has(key),
|
|
2191
2291
|
canWrite: (key) => canExecute() && targets.has(key) && !isFieldFillTargetProtected(key, protectedTargets, (field) => {
|
|
2192
2292
|
const target = targets.get(field);
|
|
2193
|
-
|
|
2293
|
+
const path = target?.isFieldModel ? `_OPCT.${target.field}` : target?.field ?? field;
|
|
2294
|
+
return target?.table ? `${target.table}.${path}` : path;
|
|
2194
2295
|
}),
|
|
2195
|
-
setField: (key, value) => {
|
|
2296
|
+
setField: (key, value, collection) => {
|
|
2196
2297
|
if (registry.get(uniqueId) !== record) throw new Error(`字段填充实例已释放:${uniqueId}`);
|
|
2197
2298
|
const target = targets.get(key);
|
|
2198
|
-
if (target.
|
|
2299
|
+
if (target.table) {
|
|
2300
|
+
const field = target.isFieldModel ? `_OPCT.${target.field}` : target.field;
|
|
2301
|
+
formState.setField(
|
|
2302
|
+
target.table,
|
|
2303
|
+
buildFieldFillRows(formState.state[target.table], field, value, collection),
|
|
2304
|
+
"async"
|
|
2305
|
+
);
|
|
2306
|
+
} else if (target.isFieldModel) {
|
|
2199
2307
|
if (!formState.state._OPCT) formState.setField("_OPCT", { _DICT: {} }, "async");
|
|
2200
2308
|
formState.setObjectField(
|
|
2201
2309
|
formState.state._OPCT,
|
|
@@ -2221,9 +2329,13 @@ function createRuntimeDataSourceBinding(registry, payload) {
|
|
|
2221
2329
|
throw error;
|
|
2222
2330
|
}
|
|
2223
2331
|
}
|
|
2224
|
-
const stopModeWatch = watch(
|
|
2225
|
-
|
|
2226
|
-
|
|
2332
|
+
const stopModeWatch = watch(
|
|
2333
|
+
canExecute,
|
|
2334
|
+
(enabled) => {
|
|
2335
|
+
if (enabled) void initializeOnce().catch(() => void 0);
|
|
2336
|
+
},
|
|
2337
|
+
{ flush: "sync" }
|
|
2338
|
+
);
|
|
2227
2339
|
record.dataSourceManager = exposedManager;
|
|
2228
2340
|
dataSourceManagerMap.value = { ...dataSourceManagerMap.value, [uniqueId]: exposedManager };
|
|
2229
2341
|
registry.registerDisposable(uniqueId, () => {
|
|
@@ -3199,20 +3311,20 @@ function filterAnnotationItemsUpToCurrent(items) {
|
|
|
3199
3311
|
});
|
|
3200
3312
|
}
|
|
3201
3313
|
export {
|
|
3202
|
-
|
|
3314
|
+
aQ as AITooltips,
|
|
3203
3315
|
A3 as AllocateTableCore,
|
|
3204
3316
|
B3 as BaseFormModelFetcher,
|
|
3205
|
-
|
|
3317
|
+
aS as BinarizeMethodOptions,
|
|
3206
3318
|
a$ as BindCmpStyleEnum,
|
|
3207
|
-
|
|
3319
|
+
a2 as BooleanShowMode,
|
|
3208
3320
|
B2 as BorderTD,
|
|
3209
3321
|
BpmnNodeTypeEnum,
|
|
3210
3322
|
bK as BpmnSignatureTypeEnum,
|
|
3211
3323
|
bL as ButtonTypeEnum,
|
|
3212
3324
|
B as BwipCodeType,
|
|
3213
3325
|
bM as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3214
|
-
|
|
3215
|
-
|
|
3326
|
+
A as CellType,
|
|
3327
|
+
aj as CellWidgetViewState,
|
|
3216
3328
|
CheckDsTypeEnum,
|
|
3217
3329
|
bN as CodeRunner,
|
|
3218
3330
|
ComponentTypeEnum,
|
|
@@ -3221,226 +3333,228 @@ export {
|
|
|
3221
3333
|
bh as DEVICE_GROUP_QUERY_KEY,
|
|
3222
3334
|
bQ as DEVICE_SEARCH_API,
|
|
3223
3335
|
aT as DateFormat,
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3336
|
+
aC as DecimalDisplayMode,
|
|
3337
|
+
aR as DenoiseMethodOptions,
|
|
3338
|
+
a82 as DeviceConnector,
|
|
3339
|
+
aO as DeviceLink,
|
|
3340
|
+
i as DeviceLinkTmplUtil,
|
|
3341
|
+
aP as DeviceParamsTypeTitle,
|
|
3230
3342
|
D as DevicePartConsumeTableCore,
|
|
3231
3343
|
bR as DeviceStatus,
|
|
3232
|
-
|
|
3233
|
-
|
|
3344
|
+
ak as DiagonalDirection,
|
|
3345
|
+
ao as DiagonalVertex,
|
|
3234
3346
|
_ as DocumentLayout,
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3347
|
+
a9 as DocumentLoading,
|
|
3348
|
+
P2 as DocumentPaper,
|
|
3349
|
+
aa as DynamicQuickFillModal,
|
|
3350
|
+
Q as DynamicTableAction,
|
|
3239
3351
|
bS as EBR_PROVIDE_ENUM,
|
|
3240
3352
|
bT as EFieldBizTypeEnum,
|
|
3241
3353
|
E as EMPTY_PRODUCT_VERSION_ID,
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3354
|
+
aI as EmptySymbol,
|
|
3355
|
+
a4 as FallbackSignTypeEnum,
|
|
3356
|
+
ai as FieldSysVarDefaultValueEnum,
|
|
3245
3357
|
FillingTypeEnum,
|
|
3246
|
-
|
|
3358
|
+
ab2 as FixedQuickFillModal,
|
|
3247
3359
|
FormAnnotationController,
|
|
3248
3360
|
F as FormModelController,
|
|
3249
3361
|
FormTmplBomController,
|
|
3250
|
-
|
|
3362
|
+
ac as FormTmplConfigController,
|
|
3251
3363
|
FormTypeEnum,
|
|
3252
|
-
|
|
3364
|
+
aD as ImageDisplayModeEnum,
|
|
3253
3365
|
InstanceStatusValues,
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3366
|
+
bU as JoinModelTypeEum,
|
|
3367
|
+
ad as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3368
|
+
ae as LEGACY_RUNTIME_SHEET_ID,
|
|
3369
|
+
af as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3370
|
+
a1 as LabelPosition,
|
|
3371
|
+
am as LineDirection,
|
|
3260
3372
|
L as LineType,
|
|
3261
|
-
|
|
3373
|
+
bV as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3374
|
+
M as MAX_RUNTIME_SHEETS,
|
|
3375
|
+
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3262
3376
|
M3 as MBRender,
|
|
3263
|
-
|
|
3377
|
+
ag as MCDataUtil,
|
|
3264
3378
|
a11 as MCRender,
|
|
3265
|
-
|
|
3379
|
+
d as MULTI_SHEET_SCHEMA_VERSION,
|
|
3266
3380
|
MaterialConsumeTableController,
|
|
3267
3381
|
MaterialConsumptionPatternEnum,
|
|
3268
3382
|
M2 as MaterialRequisitionTableCore,
|
|
3269
3383
|
MaterialStatusEnum,
|
|
3270
3384
|
a10 as MaterialSubstitutionTableCore,
|
|
3271
|
-
|
|
3385
|
+
bW as MobileFillTypeEnum,
|
|
3272
3386
|
NCB_PROVIDE,
|
|
3273
|
-
|
|
3274
|
-
|
|
3387
|
+
ah as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3388
|
+
bX as OfficeTypeEnum,
|
|
3275
3389
|
O as Orientation,
|
|
3276
|
-
|
|
3390
|
+
s as PageSizeEnum,
|
|
3277
3391
|
P as PaginationFormat,
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3392
|
+
ab as PaperSizeMap,
|
|
3393
|
+
q as PaperWidgeType,
|
|
3394
|
+
R as PaperWidgeValueType,
|
|
3395
|
+
G as ParamModelTypeEnum,
|
|
3396
|
+
P3 as PartStocktakeTableCore,
|
|
3283
3397
|
PlatformEnum,
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3398
|
+
bY as PosEnum,
|
|
3399
|
+
b as PretreatmentListTableCore,
|
|
3400
|
+
c as ProfileDrivenSubTableCore,
|
|
3401
|
+
bZ as RUNTIME_COLUMN_ROW_KEY,
|
|
3402
|
+
ay as RangeCompareOp,
|
|
3403
|
+
RangeValidateMode,
|
|
3290
3404
|
RenderModeEnum,
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3405
|
+
ai2 as RuntimeAsyncTaskCoordinator,
|
|
3406
|
+
aj2 as RuntimeDependencyService,
|
|
3407
|
+
ak2 as RuntimeFieldRegistry,
|
|
3294
3408
|
RuntimeFormStateStore,
|
|
3295
3409
|
RuntimeInstanceController,
|
|
3296
|
-
|
|
3410
|
+
al2 as RuntimeInstanceEventBus,
|
|
3297
3411
|
RuntimeInstanceRegistry,
|
|
3298
|
-
|
|
3412
|
+
am2 as RuntimePersistenceCoordinator,
|
|
3299
3413
|
RuntimeRuleCompiler,
|
|
3300
3414
|
RuntimeSheetService,
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3415
|
+
an2 as RuntimeValidationService,
|
|
3416
|
+
a7 as SignShowTypeEnum,
|
|
3417
|
+
a3 as SignatureImageDirectionEnum,
|
|
3418
|
+
a5 as SignatureNumberTypeEnum,
|
|
3419
|
+
a6 as SignatureTimeTypeEnum,
|
|
3420
|
+
a8 as SignatureTypeEnum,
|
|
3307
3421
|
d2 as SterilizeBatchTableCore,
|
|
3308
3422
|
e2 as StocktakeTableCore,
|
|
3309
|
-
|
|
3423
|
+
ao2 as SubTableCore,
|
|
3310
3424
|
SubTableCoreFactory,
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3425
|
+
h as SubTableType,
|
|
3426
|
+
b_ as SummaryApproveHisTypeEnum,
|
|
3427
|
+
an as TimeDiffFormat,
|
|
3428
|
+
ar as ViewTypeEnum,
|
|
3315
3429
|
W as WarehouseInTableCore,
|
|
3316
|
-
|
|
3430
|
+
f as WarehouseInboundTableCore,
|
|
3317
3431
|
g as WarehouseOutTableCore,
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3432
|
+
h3 as WarehouseOutboundTableCore,
|
|
3433
|
+
al as WidgetImageSizeMode,
|
|
3434
|
+
b$ as applyCheckDsDataToRuntime,
|
|
3435
|
+
z as applyConsumeObjectTraceChange,
|
|
3436
|
+
c0 as applyMedProCheckDsDataToRuntime,
|
|
3323
3437
|
baseDataUtils,
|
|
3324
|
-
|
|
3325
|
-
|
|
3438
|
+
c1 as bindRuntimeTableColumns,
|
|
3439
|
+
c2 as buildDeviceBaseQuery,
|
|
3326
3440
|
bg as buildDeviceFilterQuery,
|
|
3327
|
-
|
|
3328
|
-
|
|
3441
|
+
ap2 as buildFormChangeDisplayRows,
|
|
3442
|
+
q2 as buildObjectLotExtraQuery,
|
|
3329
3443
|
buildRuntimeFieldPath,
|
|
3330
|
-
|
|
3331
|
-
|
|
3444
|
+
c3 as calcFillData,
|
|
3445
|
+
c4 as calcUtils,
|
|
3332
3446
|
calculateFormula,
|
|
3333
3447
|
collectAnnotationItemsByLocation,
|
|
3334
3448
|
collectFormChangeFieldLocations,
|
|
3335
3449
|
commonUtils,
|
|
3336
3450
|
convertHistoricalAnnotationLocation,
|
|
3337
|
-
|
|
3338
|
-
|
|
3451
|
+
aq as convertV1Runtime,
|
|
3452
|
+
e as createRuntimeDocumentV2,
|
|
3339
3453
|
createRuntimeInstanceContext,
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3454
|
+
c5 as decodeTableCellRowKey,
|
|
3455
|
+
ar2 as detailsHaveFormChangeRowOps,
|
|
3456
|
+
c6 as encodeTableCellRowKey,
|
|
3343
3457
|
enrichFormChangeRowDetails,
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3458
|
+
c7 as ensureFrontRowKey,
|
|
3459
|
+
c8 as ensureTableRowKeys,
|
|
3460
|
+
as as extractFormChangeRowDetails,
|
|
3461
|
+
c9 as extractKeywordFromQueryData,
|
|
3462
|
+
ca as fetchCheckDsDataForTable,
|
|
3463
|
+
cb as fetchCustomCheckDsData,
|
|
3350
3464
|
fetchHistoryConsume,
|
|
3351
|
-
|
|
3465
|
+
cc as fetchMedProCheckDsData,
|
|
3352
3466
|
fetchOperationReceiveQty,
|
|
3353
3467
|
fetchUdi,
|
|
3354
3468
|
filterAnnotationItemsUpToCurrent,
|
|
3355
3469
|
bl as findRuntimeParentRow,
|
|
3356
|
-
|
|
3470
|
+
cd as findRuntimeTableCell,
|
|
3357
3471
|
findRuntimeTableRow,
|
|
3358
3472
|
getAppInfo,
|
|
3359
3473
|
getBusinessFieldKey,
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3474
|
+
ce as getCheckTableSnapshotKey,
|
|
3475
|
+
at as getFormChangeRowKey,
|
|
3476
|
+
au as getFormChangeRowOp,
|
|
3363
3477
|
aZ as getLotLockedReason,
|
|
3364
|
-
|
|
3365
|
-
|
|
3478
|
+
p as getObjectBomMaterialLotQuery,
|
|
3479
|
+
A2 as getObjectBomProductQuery,
|
|
3366
3480
|
getParseFormulaVarInfos,
|
|
3367
|
-
|
|
3481
|
+
cf as getParseRuleConfig,
|
|
3368
3482
|
b0 as getParseRuleInfo,
|
|
3369
3483
|
b1 as getParseRuleValue,
|
|
3370
|
-
|
|
3371
|
-
|
|
3484
|
+
cg as getReinspectionDate,
|
|
3485
|
+
ch as getRenderedRuntimeTableCell,
|
|
3372
3486
|
getRuntimeDataFieldId,
|
|
3373
3487
|
getRuntimeDependencyOutputKey,
|
|
3374
|
-
|
|
3488
|
+
av as getSubTableQuickFillInfo,
|
|
3375
3489
|
getSuiteKey,
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3490
|
+
ci as handleOldConfig,
|
|
3491
|
+
cj as hasAnyCheckTableSnapshot,
|
|
3492
|
+
ck as hasByTableCheckTableSnapshot,
|
|
3493
|
+
cl as hasSharedCheckTableSnapshot,
|
|
3494
|
+
aw as isAnnLocationSelected,
|
|
3495
|
+
ax as isBlank,
|
|
3382
3496
|
isBomGranted,
|
|
3383
3497
|
isEdhrSuite,
|
|
3384
3498
|
isEqmSuite,
|
|
3385
|
-
|
|
3386
|
-
|
|
3499
|
+
ay2 as isFormChangeGhostRow,
|
|
3500
|
+
cm as isMedProSuite,
|
|
3387
3501
|
isRowAddedInCurrentFormChange,
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3502
|
+
cn as isTableRowKeyMatch,
|
|
3503
|
+
co as jsonSchemaUtils,
|
|
3504
|
+
cp as judgeUnique,
|
|
3391
3505
|
aY as materialCheck,
|
|
3392
|
-
|
|
3506
|
+
cq as migrateDiagonalDirectionToVertex,
|
|
3393
3507
|
nextFormChangeRowViewHistoryId,
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3508
|
+
j as normalizeAIOcrTmpl,
|
|
3509
|
+
C as normalizeHistoricalAutofillRow,
|
|
3510
|
+
h2 as normalizeHistoricalBusinessRow,
|
|
3511
|
+
az as normalizeHistoricalFieldConfig,
|
|
3398
3512
|
b2 as normalizeRefLoaderResult,
|
|
3399
3513
|
normalizeRuntime,
|
|
3400
3514
|
parseFrontConfig,
|
|
3401
3515
|
parseRuntimeFieldPath,
|
|
3402
3516
|
parseUdi,
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3517
|
+
aA as pickObjectFieldKeys,
|
|
3518
|
+
aB as recordSubtableRowAdd,
|
|
3519
|
+
aC2 as recordSubtableRowDelete,
|
|
3406
3520
|
be as refUtils,
|
|
3407
|
-
|
|
3521
|
+
cr as relocateDeletedRowsToEnd,
|
|
3408
3522
|
renderUtils,
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3523
|
+
cs as requestMedProCheckDsData,
|
|
3524
|
+
ct as requestNonMedProCheckDsData,
|
|
3525
|
+
aD2 as resolveAnnotationFieldLocation,
|
|
3526
|
+
ap as resolveDiagonalVertex,
|
|
3527
|
+
v as resolveFieldRenderComponent,
|
|
3528
|
+
aE as resolveFormChangeRowUi,
|
|
3529
|
+
w as resolveObjectBomEntry,
|
|
3416
3530
|
r as resolveObjectFieldKeys,
|
|
3417
|
-
|
|
3531
|
+
aF as resolveRowFormChangeMark,
|
|
3418
3532
|
resolveUdiQuery,
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3533
|
+
x as runWithFillProduct,
|
|
3534
|
+
m as setSelectAnnotationId,
|
|
3535
|
+
aG as setSelectMobileTdId,
|
|
3536
|
+
s2 as setSelectValidatorId,
|
|
3537
|
+
cu as sqlUtils,
|
|
3538
|
+
cv as stockCheck,
|
|
3539
|
+
aH as stripLegacyFormConfigFromPaper,
|
|
3426
3540
|
transformUtils,
|
|
3427
|
-
|
|
3541
|
+
H as useDependency,
|
|
3428
3542
|
useEbrWikiFactoryV2,
|
|
3429
|
-
|
|
3543
|
+
I as useFieldPresentation,
|
|
3430
3544
|
u2 as useFormModel,
|
|
3431
3545
|
u as useFormTmplConfig,
|
|
3432
3546
|
useMaterialBalance,
|
|
3433
3547
|
useNocodeEmitter,
|
|
3434
|
-
|
|
3435
|
-
|
|
3548
|
+
y as useNocodeFormWidget,
|
|
3549
|
+
cw as useOnlineFormActionButton,
|
|
3436
3550
|
bm as useOnlineFormTransformField2Component,
|
|
3437
3551
|
useRenderPageFactory,
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3552
|
+
J as useRuntimeEditorFlusher,
|
|
3553
|
+
l as useRuntimeInstanceServices,
|
|
3554
|
+
o as useRuntimeRowState,
|
|
3555
|
+
G2 as useStyles,
|
|
3556
|
+
k as useWidgetStaticAttrs,
|
|
3557
|
+
v2 as validateObjectBomForScan,
|
|
3444
3558
|
validateObjectBomQtyOnSubmit,
|
|
3445
3559
|
a_ as validateReinspectionDate
|
|
3446
3560
|
};
|