@gct-paas/excel 0.1.40-beta.6 → 0.1.40-beta.8
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-Dfx-Xuv4.js → BaseComponent-CELRDc47.js} +2 -2
- package/dist/{VueVideoPlayer-DHqhqgGs.js → VueVideoPlayer-CQ3WMohj.js} +2 -2
- package/dist/{align-editor-hvllGvX8.js → align-editor-BjxHuSxl.js} +1 -1
- package/dist/{barcode-design-CzlfYJ3s.js → barcode-design-BDHtEF3j.js} +2 -2
- package/dist/base/index.es.js +265 -109
- package/dist/{diagonal-design-DCVidBZD.js → diagonal-design-DLxRO_uM.js} +2 -2
- package/dist/{dynamic-table-action-Dn_iw4tV.js → dynamic-table-action-C_1EGXMe.js} +153 -148
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js} +544 -495
- package/dist/{edit.utils-CXmmCnxE-BUEfsAZ3.js → edit.utils-CXmmCnxE-C1w2rhHM.js} +1 -1
- package/dist/excel.css +16 -16
- package/dist/{exceljs.min-9FX7NALn.js → exceljs.min-rIUD8u2M.js} +2 -2
- package/dist/{font-editor-ClqMOFPr.js → font-editor-DWmzS_0C.js} +3 -3
- package/dist/{image-design-Cx1YIea4.js → image-design-Cjob0qMO.js} +2 -2
- package/dist/{index-BKnroXXX.js → index--kolAY9o.js} +3 -3
- package/dist/{index-mCrtpdq2.js → index-2X2QGo0A.js} +255 -85
- package/dist/{index-Cj_t_73x.js → index-B9a9T8if.js} +1 -1
- package/dist/{index-DCv60fUG.js → index-BHxDpc-C.js} +2 -2
- package/dist/{index-a6chYhIK.js → index-BLpDtBBv.js} +2 -2
- package/dist/{index-D7ZzvopL.js → index-BeYN1fxt.js} +2 -2
- package/dist/{index-D4zDlgqU.js → index-BgsXETEd.js} +1 -1
- package/dist/{index-lf11EIvP.js → index-BlLeFC1A.js} +2 -2
- package/dist/{index-DkXBzlUL.js → index-Bn5H-iFV.js} +2 -2
- package/dist/{index-Dp2q7ZPo.js → index-Bw67kX4Y.js} +2 -2
- package/dist/{index-BkoKoZbl.js → index-ByeVrxVl.js} +1 -1
- package/dist/{index-BjSWHyj1.js → index-BzBMhjxB.js} +1 -1
- package/dist/{index-BRc6frrP.js → index-C-F1u_o7.js} +2 -2
- package/dist/{index-BLrixMsM.js → index-CAekmaIN.js} +2 -2
- package/dist/{index-BgzCdSQH.js → index-CHS101Sz.js} +3 -3
- package/dist/{index-BWHnHAjs.js → index-CIkhaEj4.js} +1 -1
- package/dist/{index-NJZaG-sl.js → index-CQ0BwWRP.js} +2 -2
- package/dist/{index-CVG3Z6rp.js → index-CQkWk_7M.js} +3 -3
- package/dist/{index-CjCFTTI3.js → index-CfyXGhk3.js} +1 -1
- package/dist/{index-BM1sPB29.js → index-Cn2_Yd7q.js} +1 -1
- package/dist/{index-DYyVGkv3.js → index-DJj0H4QE.js} +2 -2
- package/dist/{index-Cl_94fZQ.js → index-DMOi4nAC.js} +2 -2
- package/dist/{index-B9xwdsWY.js → index-DQNLZ671.js} +4 -4
- package/dist/{index-CG5LAGQp.js → index-DdxuhIJY.js} +2 -2
- package/dist/{index-NqYSNDX9.js → index-DiNxihKr.js} +2 -2
- package/dist/{index-Dru8lW-_.js → index-DqomTxsG.js} +1 -1
- package/dist/{index-CcB9d0A-.js → index-DxW-5l6p.js} +2 -2
- package/dist/{index-B3KkYxiX.js → index-DxaR4DCk.js} +2 -2
- package/dist/{index-CWjwF2wn.js → index-LOpDQbHn.js} +2 -2
- package/dist/{index-COmm7d4j.js → index-RV5ozdPP.js} +1 -1
- package/dist/{index-q_pMlfx9.js → index-Refavqkv.js} +3 -3
- package/dist/{index-vEKEZcff.js → index-U90xa0_k.js} +2 -2
- package/dist/{index-B4c_0M_d.js → index-nGGsFW_9.js} +2 -2
- package/dist/{index-BdYI71iy.js → index-poil0x4K.js} +2 -2
- package/dist/{index-CyPwg8fV.js → index-w6agN1-G.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-DjSdDuaL.js → mb-render-wAlqnYW9.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QrM7rL99.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BLEHWjXh.js} +1 -1
- package/dist/{pagination-design-DJEw5vlL.js → pagination-design-CuM2_cOO.js} +2 -2
- package/dist/paper-widget-design-OVR0zocz.js +4 -0
- package/dist/{print-runtime-instance-BtxZfq51.js → print-runtime-instance-xGsbD9K-.js} +1 -1
- package/dist/{print-snapshot-renderer-0D5MUsR6.js → print-snapshot-renderer-DYUY1xCI.js} +3 -3
- package/dist/{qrcode-design-9jPH-S8z.js → qrcode-design-CO631M71.js} +1 -1
- package/dist/{revo-grid.entry-BhCFcCVS.js → revo-grid.entry-B7SWMhl1.js} +1 -1
- package/dist/{revogr-attribution_7.entry-icpuI3V8.js → revogr-attribution_7.entry-BkqynH6l.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-Dm2_h2RL.js → revogr-clipboard_3.entry-DAHR-Vx9.js} +2 -2
- package/dist/{revogr-data_4.entry-DlVEyI7J.js → revogr-data_4.entry-CVh6lcCy.js} +2 -2
- package/dist/{revogr-filter-panel.entry-MJr7PMnd.js → revogr-filter-panel.entry-BBhV4Xqa.js} +1 -1
- package/dist/seal-design-BnXd0buM.js +4 -0
- package/dist/{serialnumber-design-BsfJH6Kp.js → serialnumber-design-DxGYVdk3.js} +1 -1
- package/dist/shared/index.es.js +9 -9
- package/dist/{single-field-drop-DXjppxDh.js → single-field-drop-DpHqYP0Z.js} +2 -2
- package/dist/{size-editor-DzQdRb-7.js → size-editor-D0jQ3Lrf.js} +1 -1
- package/dist/src/domain/document-business/business/product-release/profile.d.ts +2 -0
- package/dist/src/domain/document-business/business/product-release/service.d.ts +2 -0
- package/dist/src/domain/document-business/index.d.ts +2 -0
- package/dist/src/domain/document-business/registry.d.ts +2 -0
- package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +4 -0
- package/dist/src/domain/document-business/types.d.ts +24 -0
- package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/query-filter.d.ts +15 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -11
- package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +8 -0
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +3 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
- package/dist/src/nocode-base/src/interface/ref-loader.d.ts +12 -1
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -0
- package/dist/src/shared/enum/field-type.d.ts +7 -0
- package/dist/src/shared/utils/withRequestCache.d.ts +27 -0
- package/dist/{sub-table-factory-Ddx70uYs.js → sub-table-factory-dhsoO5eF.js} +194 -85
- package/dist/{text-design-DmLrMqdk.js → text-design-CCJVszh9.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DLVGpnFw.js → throttle-Cpk1LoGk-D7Z-44El.js} +1 -1
- package/dist/{timediff-design-CYqz1SKQ.js → timediff-design-DE0Lb5-J.js} +1 -1
- package/dist/{trace-like-wrapper-CVl0Vm8r.js → trace-like-wrapper-u1qMVyxo.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-B0aWEk5D.js → value-editor.vue_vue_type_style_index_0_lang-BDK70sFY.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-DwYihxgd.js → widget-barcode-BiqBkpJf.js} +4 -4
- package/dist/{widget-diagonal-DWdxDYVl.js → widget-diagonal-DEPOR_xL.js} +3 -3
- package/dist/{widget-image-D1SXIbMU.js → widget-image-CT0b6oE3.js} +5 -5
- package/dist/{widget-line-BNTbSFkx.js → widget-line-CencIyCA.js} +2 -2
- package/dist/{widget-pagination-25CKNe-i.js → widget-pagination-CLokA4N9.js} +5 -5
- package/dist/{widget-power-BSjWdgM3.js → widget-power-BPxteor_.js} +3 -3
- package/dist/{widget-qrcode-Kbe9Skrd.js → widget-qrcode-gYHAR233.js} +3 -3
- package/dist/{widget-rangelimit-TWPoG8DX.js → widget-rangelimit-BJKYDkcT.js} +3 -3
- package/dist/{widget-serialnumber-uNkQzBIT.js → widget-serialnumber-BCPB7hqo.js} +1 -1
- package/dist/{widget-text-DH4r60jo.js → widget-text-D_CGo-mQ.js} +5 -5
- package/dist/{widget-timediff-Bv8VCgrv.js → widget-timediff-cBekBImJ.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-C3rm4SzP.js +0 -4
- package/dist/seal-design-CtzWGxnH.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { n as normalizeFieldWidth } from "./dynamic-table-action-C_1EGXMe.js";
|
|
2
2
|
import { get, pick } from "lodash-es";
|
|
3
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
|
|
4
4
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
5
5
|
const DESIGNER_DEFAULT_TYPES = /* @__PURE__ */ new Set([
|
|
6
6
|
FIELD_TYPE.DEVICE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toRaw, shallowRef, computed, ref, readonly, onMounted, watch, normalizeClass, onBeforeUnmount, h as h$1, watchEffect, unref, createVNode, reactive } from "vue";
|
|
2
|
-
import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { r as require$$0 } from "./index-
|
|
2
|
+
import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
|
|
3
|
+
import { r as require$$0 } from "./index-BLpDtBBv.js";
|
|
4
4
|
var window_1;
|
|
5
5
|
var hasRequiredWindow;
|
|
6
6
|
function requireWindow() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
|
|
3
3
|
const _hoisted_1 = { class: "align-group-box" };
|
|
4
4
|
const _hoisted_2 = ["onClick"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-2X2QGo0A.js";
|
|
4
|
+
import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as api, a0 as PlatformEnum, F as FIELD_TYPE,
|
|
2
|
-
import { aQ, aS,
|
|
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-
|
|
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-
|
|
1
|
+
import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, ba as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bx as assembleRules, by as isAttachFieldActive, aK as Dependency_ENUM, bm as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bz as fetchHistoryConsume, bA as isBomGranted, aX as renderUtils, bw as uuid2, bB as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bC as baseDataUtils, bD as initializeSealFields, Z as FormTypeEnum, bE as normalizeToArray, bF as safeParseArray, bG as BpmnNodeTypeEnum, bH as mergeByMultiKey, a9 as _export_sfc, bI as evaluateInspectionDecisionRule, bJ as areValidationCommentsEqual, bK as useNocodeEmitter, bL as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
|
|
2
|
+
import { aQ, aS, b1, a2, bM, bN, B, bO, A, aj, bP, bQ, bR, bj, bS, aT, aC, aR, aO, aP, bT, ak, ao, bU, bV, aI, a4, ai, aD, bW, a1, am, L, bX, bY, bZ, O, s, P, ab, q, R, G, b_, b$, ay, a7, a3, a5, a6, a8, h, c0, an, ar, al, c1, c2, c3, c4, bi, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, bn, cf, cg, a_, ch, b2, b3, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, aZ, cs, b4, bg, ct, cu, cv, ap, v, cw, cx, cy, bo, a$ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.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-C_1EGXMe.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-C_1EGXMe.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 P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-dhsoO5eF.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-dhsoO5eF.js";
|
|
10
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-
|
|
11
|
+
import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-wAlqnYW9.js";
|
|
12
12
|
const InstanceStatusValues = {
|
|
13
13
|
/** 作废状态 */
|
|
14
14
|
ABANDON: "ABANDON",
|
|
@@ -1723,6 +1723,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1723
1723
|
productSearchFields: payload?.deviceConfig?.defaultProductSearchFields ?? "",
|
|
1724
1724
|
showPrintFieldBg: paramsConfig?.showPrintFieldBg,
|
|
1725
1725
|
paramsConfig,
|
|
1726
|
+
businessType: selfInfo.businessType,
|
|
1726
1727
|
instanceStatus: selfInfo.instanceStatus
|
|
1727
1728
|
},
|
|
1728
1729
|
selfInfo: runtimeSelfInfo
|
|
@@ -2138,6 +2139,139 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2138
2139
|
}
|
|
2139
2140
|
});
|
|
2140
2141
|
const InspectionDecisionPromptModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9c14035f"]]);
|
|
2142
|
+
function createMaterialConsumeObjectValidation(options) {
|
|
2143
|
+
const { record, getInfo, isCurrent, shouldSkip, applyComments } = options;
|
|
2144
|
+
let enabled = false;
|
|
2145
|
+
let disposed = false;
|
|
2146
|
+
let submitting = 0;
|
|
2147
|
+
let generation = 0;
|
|
2148
|
+
let lastRevision = -1;
|
|
2149
|
+
let timer;
|
|
2150
|
+
let paths = /* @__PURE__ */ new Set();
|
|
2151
|
+
const unlocated = /* @__PURE__ */ new Set();
|
|
2152
|
+
const alive = () => !disposed && isCurrent();
|
|
2153
|
+
function cancelLive() {
|
|
2154
|
+
generation++;
|
|
2155
|
+
if (timer !== void 0) clearTimeout(timer);
|
|
2156
|
+
timer = void 0;
|
|
2157
|
+
}
|
|
2158
|
+
function calcObjectError(error) {
|
|
2159
|
+
const info = getInfo();
|
|
2160
|
+
const modelKey = info?.modelKey || record.context.businessIndex.modelDisplay.key;
|
|
2161
|
+
const descriptor = record.fields.findField({ modelKey, fieldId: error.field });
|
|
2162
|
+
const props = descriptor?.widget?.props;
|
|
2163
|
+
if (!props?.field || descriptor?.subFieldKey || props.subFieldKey) {
|
|
2164
|
+
const key = modelKey + "." + error.field;
|
|
2165
|
+
if (!unlocated.has(key)) {
|
|
2166
|
+
unlocated.add(key);
|
|
2167
|
+
console.warn("物料消耗对象错误未定位到主表控件,保留在校验清单:", key);
|
|
2168
|
+
}
|
|
2169
|
+
return { error, path: void 0 };
|
|
2170
|
+
}
|
|
2171
|
+
const path = buildRuntimeFieldPath({
|
|
2172
|
+
...props,
|
|
2173
|
+
modelKey: props.modelKey ?? info?.modelKey,
|
|
2174
|
+
fieldId: props.field
|
|
2175
|
+
});
|
|
2176
|
+
return { error: { ...error, field: path }, path };
|
|
2177
|
+
}
|
|
2178
|
+
function replaceObjectFields(fields) {
|
|
2179
|
+
if (!alive()) return;
|
|
2180
|
+
const next = { ...getInfo()?.mcValidatorMessageMap ?? {} };
|
|
2181
|
+
paths.forEach((path) => delete next[path]);
|
|
2182
|
+
Object.assign(next, fields);
|
|
2183
|
+
paths = new Set(Object.keys(fields));
|
|
2184
|
+
applyComments(next);
|
|
2185
|
+
}
|
|
2186
|
+
function replaceTableFields(fields) {
|
|
2187
|
+
if (!alive()) return;
|
|
2188
|
+
const current = getInfo()?.mcValidatorMessageMap ?? {};
|
|
2189
|
+
const next = { ...fields ?? {} };
|
|
2190
|
+
paths.forEach((path) => {
|
|
2191
|
+
if (current[path]) {
|
|
2192
|
+
next[path] = [...next[path] ?? [], ...current[path]];
|
|
2193
|
+
}
|
|
2194
|
+
});
|
|
2195
|
+
applyComments(next);
|
|
2196
|
+
}
|
|
2197
|
+
function clear() {
|
|
2198
|
+
cancelLive();
|
|
2199
|
+
enabled = false;
|
|
2200
|
+
lastRevision = -1;
|
|
2201
|
+
replaceObjectFields({});
|
|
2202
|
+
}
|
|
2203
|
+
async function validate(live = false) {
|
|
2204
|
+
cancelLive();
|
|
2205
|
+
if (!alive()) return;
|
|
2206
|
+
if (shouldSkip()) {
|
|
2207
|
+
clear();
|
|
2208
|
+
return { isValid: true };
|
|
2209
|
+
}
|
|
2210
|
+
const ticket = generation;
|
|
2211
|
+
const revision = record.formState.revision;
|
|
2212
|
+
const info = getInfo();
|
|
2213
|
+
const display = record.context.businessIndex.modelDisplay;
|
|
2214
|
+
const errors = await validateObjectBomQtyOnSubmit({
|
|
2215
|
+
formState: record.formState.state,
|
|
2216
|
+
objectFieldList: record.context.formConfig.objectFieldList,
|
|
2217
|
+
formInstBom: record.context.services.tmplBomController?.formInstBom,
|
|
2218
|
+
showModelName: display.name,
|
|
2219
|
+
showModelKey: display.key || info?.modelKey || ""
|
|
2220
|
+
});
|
|
2221
|
+
if (!alive() || generation !== ticket || record.formState.revision !== revision || live && getInfo()?.renderModeType !== RenderModeEnum.FormMode)
|
|
2222
|
+
return;
|
|
2223
|
+
const fields = {};
|
|
2224
|
+
const comments = {};
|
|
2225
|
+
for (const source of errors) {
|
|
2226
|
+
const adapted = calcObjectError(source);
|
|
2227
|
+
(fields[adapted.error.field] ??= []).push(adapted.error);
|
|
2228
|
+
if (adapted.path) (comments[adapted.path] ??= []).push(adapted.error);
|
|
2229
|
+
}
|
|
2230
|
+
enabled = !!record.context.formConfig.objectFieldList?.length;
|
|
2231
|
+
lastRevision = revision;
|
|
2232
|
+
replaceObjectFields(comments);
|
|
2233
|
+
return { isValid: !errors.length, fields: Object.keys(fields).length ? fields : void 0 };
|
|
2234
|
+
}
|
|
2235
|
+
function requestLive() {
|
|
2236
|
+
cancelLive();
|
|
2237
|
+
if (!alive() || !enabled || submitting > 0 || getInfo()?.renderModeType !== RenderModeEnum.FormMode)
|
|
2238
|
+
return;
|
|
2239
|
+
const ticket = generation;
|
|
2240
|
+
timer = setTimeout(() => {
|
|
2241
|
+
timer = void 0;
|
|
2242
|
+
void (async () => {
|
|
2243
|
+
await record.controller?.waitUntilPrepared();
|
|
2244
|
+
await record.asyncTasks.waitForRequired();
|
|
2245
|
+
if (!alive() || generation !== ticket || submitting > 0 || getInfo()?.renderModeType !== RenderModeEnum.FormMode)
|
|
2246
|
+
return;
|
|
2247
|
+
await validate(true);
|
|
2248
|
+
})().catch((error) => {
|
|
2249
|
+
if (alive()) console.error("物料消耗对象实时校验失败", error);
|
|
2250
|
+
});
|
|
2251
|
+
}, 300);
|
|
2252
|
+
}
|
|
2253
|
+
return {
|
|
2254
|
+
validate,
|
|
2255
|
+
requestLive,
|
|
2256
|
+
replaceTableFields,
|
|
2257
|
+
clear,
|
|
2258
|
+
beginSubmit() {
|
|
2259
|
+
submitting++;
|
|
2260
|
+
cancelLive();
|
|
2261
|
+
},
|
|
2262
|
+
endSubmit() {
|
|
2263
|
+
submitting--;
|
|
2264
|
+
if (alive() && submitting === 0 && enabled && lastRevision !== record.formState.revision)
|
|
2265
|
+
requestLive();
|
|
2266
|
+
},
|
|
2267
|
+
dispose() {
|
|
2268
|
+
disposed = true;
|
|
2269
|
+
cancelLive();
|
|
2270
|
+
paths.clear();
|
|
2271
|
+
unlocated.clear();
|
|
2272
|
+
}
|
|
2273
|
+
};
|
|
2274
|
+
}
|
|
2141
2275
|
function applyValidationComments(info, comments, kind) {
|
|
2142
2276
|
if (!info) return;
|
|
2143
2277
|
const locationKey = kind === "field" ? "validatorLocationList" : "mcValidatorLocationList";
|
|
@@ -2155,6 +2289,29 @@ function applyValidationComments(info, comments, kind) {
|
|
|
2155
2289
|
info[messageKey] = map;
|
|
2156
2290
|
}
|
|
2157
2291
|
function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType) {
|
|
2292
|
+
const objectValidations = /* @__PURE__ */ new WeakMap();
|
|
2293
|
+
function getObjectValidation(record) {
|
|
2294
|
+
const existing = objectValidations.get(record);
|
|
2295
|
+
if (existing) return existing;
|
|
2296
|
+
const uniqueId = record.context.uniqueId;
|
|
2297
|
+
const validation = createMaterialConsumeObjectValidation({
|
|
2298
|
+
record,
|
|
2299
|
+
getInfo: () => getInfo(uniqueId),
|
|
2300
|
+
isCurrent: () => runtimeRegistry.get(uniqueId) === record,
|
|
2301
|
+
shouldSkip: () => {
|
|
2302
|
+
const skip = syncInspectionDecisionRule(uniqueId);
|
|
2303
|
+
if (skip) clearInspectionValidationState(uniqueId);
|
|
2304
|
+
return skip;
|
|
2305
|
+
},
|
|
2306
|
+
applyComments: (fields) => applyValidationComments(getInfo(uniqueId), fields, "material")
|
|
2307
|
+
});
|
|
2308
|
+
objectValidations.set(record, validation);
|
|
2309
|
+
runtimeRegistry.registerDisposable(uniqueId, () => {
|
|
2310
|
+
validation.dispose();
|
|
2311
|
+
objectValidations.delete(record);
|
|
2312
|
+
});
|
|
2313
|
+
return validation;
|
|
2314
|
+
}
|
|
2158
2315
|
const inspectionDecisionMatched = /* @__PURE__ */ new WeakMap();
|
|
2159
2316
|
const inspectionDecisionPrompting = /* @__PURE__ */ new WeakSet();
|
|
2160
2317
|
function openInspectionDecisionPrompt(uniqueId, content) {
|
|
@@ -2195,11 +2352,14 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2195
2352
|
return matched;
|
|
2196
2353
|
}
|
|
2197
2354
|
function clearInspectionValidationState(uniqueId) {
|
|
2355
|
+
const record = runtimeRegistry.get(uniqueId);
|
|
2356
|
+
if (record) objectValidations.get(record)?.clear();
|
|
2198
2357
|
applyValidationComments(getInfo(uniqueId), null, "field");
|
|
2199
2358
|
applyValidationComments(getInfo(uniqueId), null, "material");
|
|
2200
2359
|
}
|
|
2201
2360
|
function bindFormValidationSync(uniqueId) {
|
|
2202
2361
|
const record = runtimeRegistry.require(uniqueId);
|
|
2362
|
+
const objects = getObjectValidation(record);
|
|
2203
2363
|
syncInspectionDecisionRule(uniqueId);
|
|
2204
2364
|
const stop = record.formState.subscribe(() => {
|
|
2205
2365
|
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
@@ -2210,6 +2370,7 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2210
2370
|
uniqueId,
|
|
2211
2371
|
!suppressed && info.renderModeType === RenderModeEnum.FormMode
|
|
2212
2372
|
);
|
|
2373
|
+
objects.requestLive();
|
|
2213
2374
|
if (suppressed) return;
|
|
2214
2375
|
if (info.renderModeType === RenderModeEnum.FormMode) {
|
|
2215
2376
|
record.validation.requestLive("change");
|
|
@@ -2242,48 +2403,43 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2242
2403
|
}
|
|
2243
2404
|
async function runSubmissionValidation(uniqueId) {
|
|
2244
2405
|
const record = runtimeRegistry.require(uniqueId);
|
|
2245
|
-
const
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
const res = await record.validation.validate();
|
|
2252
|
-
if (!res || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2253
|
-
const revision = record.formState.revision;
|
|
2254
|
-
if (bomC) {
|
|
2255
|
-
const bomRes = await bomC.submitValidate();
|
|
2256
|
-
if (runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
|
|
2257
|
-
return;
|
|
2258
|
-
applyValidationComments(getInfo(uniqueId), bomRes.fields ?? null, "material");
|
|
2259
|
-
if (!bomRes.isValid) {
|
|
2260
|
-
merge(res, bomRes);
|
|
2261
|
-
return res;
|
|
2406
|
+
const objects = getObjectValidation(record);
|
|
2407
|
+
objects.beginSubmit();
|
|
2408
|
+
try {
|
|
2409
|
+
if (syncInspectionDecisionRule(uniqueId)) {
|
|
2410
|
+
clearInspectionValidationState(uniqueId);
|
|
2411
|
+
return { isValid: true };
|
|
2262
2412
|
}
|
|
2263
|
-
const
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
const
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
const
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2413
|
+
const res = await record.validation.validate();
|
|
2414
|
+
if (!res || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2415
|
+
const revision = record.formState.revision;
|
|
2416
|
+
const bomC = record.context.services.tmplBomController;
|
|
2417
|
+
if (bomC) {
|
|
2418
|
+
const bomRes = await bomC.submitValidate();
|
|
2419
|
+
if (runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
|
|
2420
|
+
return;
|
|
2421
|
+
objects.replaceTableFields(bomRes.fields);
|
|
2422
|
+
if (!bomRes.isValid) {
|
|
2423
|
+
merge(res, bomRes);
|
|
2424
|
+
return res;
|
|
2425
|
+
}
|
|
2426
|
+
const objectRes = await objects.validate();
|
|
2427
|
+
if (!objectRes || runtimeRegistry.get(uniqueId) !== record || record.formState.revision !== revision)
|
|
2428
|
+
return;
|
|
2429
|
+
if (!objectRes.isValid) {
|
|
2430
|
+
const fields = { ...res.fields ?? {} };
|
|
2431
|
+
for (const [path, errors] of Object.entries(objectRes.fields ?? {})) {
|
|
2432
|
+
fields[path] = [...fields[path] ?? [], ...errors];
|
|
2433
|
+
}
|
|
2434
|
+
return { ...res, isValid: false, fields };
|
|
2435
|
+
}
|
|
2436
|
+
} else {
|
|
2437
|
+
objects.clear();
|
|
2284
2438
|
}
|
|
2439
|
+
return res;
|
|
2440
|
+
} finally {
|
|
2441
|
+
objects.endSubmit();
|
|
2285
2442
|
}
|
|
2286
|
-
return res;
|
|
2287
2443
|
}
|
|
2288
2444
|
function updateRenderModeType(uniqueId, mode, updateButton = false) {
|
|
2289
2445
|
const record = runtimeRegistry.require(uniqueId);
|
|
@@ -3446,23 +3602,23 @@ export {
|
|
|
3446
3602
|
A3 as AllocateTableCore,
|
|
3447
3603
|
B3 as BaseFormModelFetcher,
|
|
3448
3604
|
aS as BinarizeMethodOptions,
|
|
3449
|
-
|
|
3605
|
+
b1 as BindCmpStyleEnum,
|
|
3450
3606
|
a2 as BooleanShowMode,
|
|
3451
3607
|
B2 as BorderTD,
|
|
3452
3608
|
BpmnNodeTypeEnum,
|
|
3453
|
-
|
|
3454
|
-
|
|
3609
|
+
bM as BpmnSignatureTypeEnum,
|
|
3610
|
+
bN as ButtonTypeEnum,
|
|
3455
3611
|
B as BwipCodeType,
|
|
3456
|
-
|
|
3612
|
+
bO as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3457
3613
|
A as CellType,
|
|
3458
3614
|
aj as CellWidgetViewState,
|
|
3459
3615
|
CheckDsTypeEnum,
|
|
3460
|
-
|
|
3616
|
+
bP as CodeRunner,
|
|
3461
3617
|
ComponentTypeEnum,
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3618
|
+
bQ as Config_Fields,
|
|
3619
|
+
bR as ControlStatusEnum,
|
|
3620
|
+
bj as DEVICE_GROUP_QUERY_KEY,
|
|
3621
|
+
bS as DEVICE_SEARCH_API,
|
|
3466
3622
|
aT as DateFormat,
|
|
3467
3623
|
aC as DecimalDisplayMode,
|
|
3468
3624
|
aR as DenoiseMethodOptions,
|
|
@@ -3471,7 +3627,7 @@ export {
|
|
|
3471
3627
|
i as DeviceLinkTmplUtil,
|
|
3472
3628
|
aP as DeviceParamsTypeTitle,
|
|
3473
3629
|
D as DevicePartConsumeTableCore,
|
|
3474
|
-
|
|
3630
|
+
bT as DeviceStatus,
|
|
3475
3631
|
ak as DiagonalDirection,
|
|
3476
3632
|
ao as DiagonalVertex,
|
|
3477
3633
|
_ as DocumentLayout,
|
|
@@ -3479,8 +3635,8 @@ export {
|
|
|
3479
3635
|
P2 as DocumentPaper,
|
|
3480
3636
|
aa as DynamicQuickFillModal,
|
|
3481
3637
|
Q as DynamicTableAction,
|
|
3482
|
-
|
|
3483
|
-
|
|
3638
|
+
bU as EBR_PROVIDE_ENUM,
|
|
3639
|
+
bV as EFieldBizTypeEnum,
|
|
3484
3640
|
E as EMPTY_PRODUCT_VERSION_ID,
|
|
3485
3641
|
aI as EmptySymbol,
|
|
3486
3642
|
a4 as FallbackSignTypeEnum,
|
|
@@ -3494,14 +3650,14 @@ export {
|
|
|
3494
3650
|
FormTypeEnum,
|
|
3495
3651
|
aD as ImageDisplayModeEnum,
|
|
3496
3652
|
InstanceStatusValues,
|
|
3497
|
-
|
|
3653
|
+
bW as JoinModelTypeEum,
|
|
3498
3654
|
ad as LEGACY_RUNTIME_FORM_CONFIG_KEYS,
|
|
3499
3655
|
ae as LEGACY_RUNTIME_SHEET_ID,
|
|
3500
3656
|
af as LEGACY_RUNTIME_SHEET_TITLE,
|
|
3501
3657
|
a1 as LabelPosition,
|
|
3502
3658
|
am as LineDirection,
|
|
3503
3659
|
L as LineType,
|
|
3504
|
-
|
|
3660
|
+
bX as MAX_FRONT_ROW_KEY_LENGTH,
|
|
3505
3661
|
M as MAX_RUNTIME_SHEETS,
|
|
3506
3662
|
a as MAX_RUNTIME_SHEET_TITLE_LENGTH,
|
|
3507
3663
|
M3 as MBRender,
|
|
@@ -3513,10 +3669,10 @@ export {
|
|
|
3513
3669
|
M2 as MaterialRequisitionTableCore,
|
|
3514
3670
|
MaterialStatusEnum,
|
|
3515
3671
|
a10 as MaterialSubstitutionTableCore,
|
|
3516
|
-
|
|
3672
|
+
bY as MobileFillTypeEnum,
|
|
3517
3673
|
NCB_PROVIDE,
|
|
3518
3674
|
ah as OCR_MODEL_PRECISION_ENUM_KEY,
|
|
3519
|
-
|
|
3675
|
+
bZ as OfficeTypeEnum,
|
|
3520
3676
|
O as Orientation,
|
|
3521
3677
|
s as PageSizeEnum,
|
|
3522
3678
|
P as PaginationFormat,
|
|
@@ -3526,10 +3682,10 @@ export {
|
|
|
3526
3682
|
G as ParamModelTypeEnum,
|
|
3527
3683
|
P3 as PartStocktakeTableCore,
|
|
3528
3684
|
PlatformEnum,
|
|
3529
|
-
|
|
3685
|
+
b_ as PosEnum,
|
|
3530
3686
|
b as PretreatmentListTableCore,
|
|
3531
3687
|
c as ProfileDrivenSubTableCore,
|
|
3532
|
-
|
|
3688
|
+
b$ as RUNTIME_COLUMN_ROW_KEY,
|
|
3533
3689
|
ay as RangeCompareOp,
|
|
3534
3690
|
RangeValidateMode,
|
|
3535
3691
|
RenderModeEnum,
|
|
@@ -3554,7 +3710,7 @@ export {
|
|
|
3554
3710
|
ao2 as SubTableCore,
|
|
3555
3711
|
SubTableCoreFactory,
|
|
3556
3712
|
h as SubTableType,
|
|
3557
|
-
|
|
3713
|
+
c0 as SummaryApproveHisTypeEnum,
|
|
3558
3714
|
an as TimeDiffFormat,
|
|
3559
3715
|
ar as ViewTypeEnum,
|
|
3560
3716
|
W as WarehouseInTableCore,
|
|
@@ -3562,18 +3718,18 @@ export {
|
|
|
3562
3718
|
g as WarehouseOutTableCore,
|
|
3563
3719
|
h3 as WarehouseOutboundTableCore,
|
|
3564
3720
|
al as WidgetImageSizeMode,
|
|
3565
|
-
|
|
3721
|
+
c1 as applyCheckDsDataToRuntime,
|
|
3566
3722
|
z as applyConsumeObjectTraceChange,
|
|
3567
|
-
|
|
3723
|
+
c2 as applyMedProCheckDsDataToRuntime,
|
|
3568
3724
|
baseDataUtils,
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3725
|
+
c3 as bindRuntimeTableColumns,
|
|
3726
|
+
c4 as buildDeviceBaseQuery,
|
|
3727
|
+
bi as buildDeviceFilterQuery,
|
|
3572
3728
|
ap2 as buildFormChangeDisplayRows,
|
|
3573
3729
|
q2 as buildObjectLotExtraQuery,
|
|
3574
3730
|
buildRuntimeFieldPath,
|
|
3575
|
-
|
|
3576
|
-
|
|
3731
|
+
c5 as calcFillData,
|
|
3732
|
+
c6 as calcUtils,
|
|
3577
3733
|
calculateFormula,
|
|
3578
3734
|
collectAnnotationItemsByLocation,
|
|
3579
3735
|
collectFormChangeFieldLocations,
|
|
@@ -3582,65 +3738,65 @@ export {
|
|
|
3582
3738
|
aq as convertV1Runtime,
|
|
3583
3739
|
e as createRuntimeDocumentV2,
|
|
3584
3740
|
createRuntimeInstanceContext,
|
|
3585
|
-
|
|
3741
|
+
c7 as decodeTableCellRowKey,
|
|
3586
3742
|
ar2 as detailsHaveFormChangeRowOps,
|
|
3587
|
-
|
|
3743
|
+
c8 as encodeTableCellRowKey,
|
|
3588
3744
|
enrichFormChangeRowDetails,
|
|
3589
|
-
|
|
3590
|
-
|
|
3745
|
+
c9 as ensureFrontRowKey,
|
|
3746
|
+
ca as ensureTableRowKeys,
|
|
3591
3747
|
as as extractFormChangeRowDetails,
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3748
|
+
cb as extractKeywordFromQueryData,
|
|
3749
|
+
cc as fetchCheckDsDataForTable,
|
|
3750
|
+
cd as fetchCustomCheckDsData,
|
|
3595
3751
|
fetchHistoryConsume,
|
|
3596
|
-
|
|
3752
|
+
ce as fetchMedProCheckDsData,
|
|
3597
3753
|
fetchOperationReceiveQty,
|
|
3598
3754
|
fetchUdi,
|
|
3599
3755
|
filterAnnotationItemsUpToCurrent,
|
|
3600
|
-
|
|
3601
|
-
|
|
3756
|
+
bn as findRuntimeParentRow,
|
|
3757
|
+
cf as findRuntimeTableCell,
|
|
3602
3758
|
findRuntimeTableRow,
|
|
3603
3759
|
getAppInfo,
|
|
3604
3760
|
getBusinessFieldKey,
|
|
3605
|
-
|
|
3761
|
+
cg as getCheckTableSnapshotKey,
|
|
3606
3762
|
at as getFormChangeRowKey,
|
|
3607
3763
|
au as getFormChangeRowOp,
|
|
3608
|
-
|
|
3764
|
+
a_ as getLotLockedReason,
|
|
3609
3765
|
p as getObjectBomMaterialLotQuery,
|
|
3610
3766
|
A2 as getObjectBomProductQuery,
|
|
3611
3767
|
getParseFormulaVarInfos,
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3768
|
+
ch as getParseRuleConfig,
|
|
3769
|
+
b2 as getParseRuleInfo,
|
|
3770
|
+
b3 as getParseRuleValue,
|
|
3771
|
+
ci as getReinspectionDate,
|
|
3772
|
+
cj as getRenderedRuntimeTableCell,
|
|
3617
3773
|
getRuntimeDataFieldId,
|
|
3618
3774
|
getRuntimeDependencyOutputKey,
|
|
3619
3775
|
av as getSubTableQuickFillInfo,
|
|
3620
3776
|
getSuiteKey,
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3777
|
+
ck as handleOldConfig,
|
|
3778
|
+
cl as hasAnyCheckTableSnapshot,
|
|
3779
|
+
cm as hasByTableCheckTableSnapshot,
|
|
3780
|
+
cn as hasSharedCheckTableSnapshot,
|
|
3625
3781
|
aw as isAnnLocationSelected,
|
|
3626
3782
|
ax as isBlank,
|
|
3627
3783
|
isBomGranted,
|
|
3628
3784
|
isEdhrSuite,
|
|
3629
3785
|
isEqmSuite,
|
|
3630
3786
|
ay2 as isFormChangeGhostRow,
|
|
3631
|
-
|
|
3787
|
+
co as isMedProSuite,
|
|
3632
3788
|
isRowAddedInCurrentFormChange,
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3789
|
+
cp as isTableRowKeyMatch,
|
|
3790
|
+
cq as jsonSchemaUtils,
|
|
3791
|
+
cr as judgeUnique,
|
|
3792
|
+
aZ as materialCheck,
|
|
3793
|
+
cs as migrateDiagonalDirectionToVertex,
|
|
3638
3794
|
nextFormChangeRowViewHistoryId,
|
|
3639
3795
|
j as normalizeAIOcrTmpl,
|
|
3640
3796
|
C as normalizeHistoricalAutofillRow,
|
|
3641
3797
|
h2 as normalizeHistoricalBusinessRow,
|
|
3642
3798
|
az as normalizeHistoricalFieldConfig,
|
|
3643
|
-
|
|
3799
|
+
b4 as normalizeRefLoaderResult,
|
|
3644
3800
|
normalizeRuntime,
|
|
3645
3801
|
parseFrontConfig,
|
|
3646
3802
|
parseRuntimeFieldPath,
|
|
@@ -3648,11 +3804,11 @@ export {
|
|
|
3648
3804
|
aA as pickObjectFieldKeys,
|
|
3649
3805
|
aB as recordSubtableRowAdd,
|
|
3650
3806
|
aC2 as recordSubtableRowDelete,
|
|
3651
|
-
|
|
3652
|
-
|
|
3807
|
+
bg as refUtils,
|
|
3808
|
+
ct as relocateDeletedRowsToEnd,
|
|
3653
3809
|
renderUtils,
|
|
3654
|
-
|
|
3655
|
-
|
|
3810
|
+
cu as requestMedProCheckDsData,
|
|
3811
|
+
cv as requestNonMedProCheckDsData,
|
|
3656
3812
|
aD2 as resolveAnnotationFieldLocation,
|
|
3657
3813
|
ap as resolveDiagonalVertex,
|
|
3658
3814
|
v as resolveFieldRenderComponent,
|
|
@@ -3665,8 +3821,8 @@ export {
|
|
|
3665
3821
|
m as setSelectAnnotationId,
|
|
3666
3822
|
aG as setSelectMobileTdId,
|
|
3667
3823
|
s2 as setSelectValidatorId,
|
|
3668
|
-
|
|
3669
|
-
|
|
3824
|
+
cw as sqlUtils,
|
|
3825
|
+
cx as stockCheck,
|
|
3670
3826
|
aH as stripLegacyFormConfigFromPaper,
|
|
3671
3827
|
transformUtils,
|
|
3672
3828
|
H as useDependency,
|
|
@@ -3677,8 +3833,8 @@ export {
|
|
|
3677
3833
|
useMaterialBalance,
|
|
3678
3834
|
useNocodeEmitter,
|
|
3679
3835
|
y as useNocodeFormWidget,
|
|
3680
|
-
|
|
3681
|
-
|
|
3836
|
+
cy as useOnlineFormActionButton,
|
|
3837
|
+
bo as useOnlineFormTransformField2Component,
|
|
3682
3838
|
useRenderPageFactory,
|
|
3683
3839
|
J as useRuntimeEditorFlusher,
|
|
3684
3840
|
l as useRuntimeInstanceServices,
|
|
@@ -3687,5 +3843,5 @@ export {
|
|
|
3687
3843
|
k as useWidgetStaticAttrs,
|
|
3688
3844
|
v2 as validateObjectBomForScan,
|
|
3689
3845
|
validateObjectBomQtyOnSubmit,
|
|
3690
|
-
|
|
3846
|
+
a$ as validateReinspectionDate
|
|
3691
3847
|
};
|
|
@@ -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 { ap as resolveDiagonalVertex, a9 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-2X2QGo0A.js";
|
|
3
|
+
import { ap as resolveDiagonalVertex, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|