@gct-paas/excel 0.1.39-beta.5 → 0.1.39-beta.7
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-B8_qg2he.js → BaseComponent-Dri2NRAY.js} +2 -2
- package/dist/{VueVideoPlayer-B-X9Kvhp.js → VueVideoPlayer-DPJyefX-.js} +2 -2
- package/dist/{align-editor-1IbAiPBg.js → align-editor-BvGUsoz3.js} +1 -1
- package/dist/{barcode-design-DCm1U-OU.js → barcode-design-C8V6Zzz_.js} +2 -2
- package/dist/base/index.es.js +27 -12
- package/dist/{diagonal-design-DBk2s8UD.js → diagonal-design-DXfWVZvL.js} +2 -2
- package/dist/{dynamic-table-action-JSevwsex.js → dynamic-table-action-BQfJFJ4j.js} +44 -11
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js} +6 -6
- package/dist/{edit.utils-CXmmCnxE-88-QvdIv.js → edit.utils-CXmmCnxE-CvJGxh2v.js} +1 -1
- package/dist/{exceljs.min-M28cAz_z.js → exceljs.min-BfRvRgvB.js} +2 -2
- package/dist/{font-editor-nCQk5D1K.js → font-editor-C-R6CAVG.js} +3 -3
- package/dist/{image-design-B84grap7.js → image-design-A8_t4F3t.js} +2 -2
- package/dist/{index-UCNknVxk.js → index-B-Kwr44d.js} +1 -1
- package/dist/{index-DCzL4GOP.js → index-BE-3UQG0.js} +5 -4
- package/dist/{index-_-ORWa-m.js → index-BLmR9aiG.js} +1 -1
- package/dist/{index-CFjE5779.js → index-BUK-p31i.js} +2 -2
- package/dist/{index-CKWcaJGI.js → index-BYH3tYm7.js} +2 -2
- package/dist/{index-jRA6sXVY.js → index-B_GyS-E2.js} +1 -1
- package/dist/{index-DEN3-esb.js → index-Bl5PEJrh.js} +3 -3
- package/dist/{index-CX6LqGJP.js → index-Bs8Xs0bo.js} +1 -1
- package/dist/{index-BSXafKJS.js → index-C-k8dFLv.js} +2 -2
- package/dist/{index-D7IBmbmp.js → index-C3k8QiLF.js} +2 -2
- package/dist/{index-DEl0sxMk.js → index-CCBueGEh.js} +4 -4
- package/dist/{index-D0Q-6EtG.js → index-CJdwj04Z.js} +1 -1
- package/dist/{index-Co1E4H0G.js → index-CRloZ0HP.js} +2 -2
- package/dist/{index-DHHyy4mL.js → index-CTASuQPn.js} +1 -1
- package/dist/{index-XBuNXPu0.js → index-Caygbi4F.js} +2 -2
- package/dist/{index-Doz8Gf_5.js → index-CfGLFrkj.js} +1 -1
- package/dist/{index-CCsNdL4I.js → index-D1jXU0ka.js} +2 -2
- package/dist/{index-DPOE78Jf.js → index-D9444n1O.js} +2 -2
- package/dist/{index-CUHfI8cg.js → index-D9OUmbBs.js} +1 -1
- package/dist/{index-H_BLk7PI.js → index-DERot0lx.js} +2 -2
- package/dist/{index-ChncMTkv.js → index-DFNVqlgA.js} +1 -1
- package/dist/{index-MJFci9IB.js → index-DPHGDezJ.js} +1 -1
- package/dist/{index-DkvjFyW6.js → index-DWVhXPb-.js} +2 -2
- package/dist/{index-tZd-Us4e.js → index-DY7Xkd8n.js} +2 -2
- package/dist/{index-CCp6-NXH.js → index-DkDetjLm.js} +3 -3
- package/dist/{index-CGsTW2E9.js → index-DkwkBWEP.js} +2 -2
- package/dist/{index-ZEwe0MJj.js → index-DmBx27M9.js} +2 -2
- package/dist/{index-BrkoN2-J.js → index-DpMV2Mnw.js} +3 -3
- package/dist/{index-B53fgzJo.js → index-DqkPgoly.js} +2 -2
- package/dist/{index-CBiaZr1j.js → index-DsLZqLga.js} +2 -2
- package/dist/{index-wcY1RYL_.js → index-H2nF4SP8.js} +2 -2
- package/dist/{index-I2HpU1BP.js → index-P9ZTqL1i.js} +3 -3
- package/dist/{index-BvJ7ZgvI.js → index-afC-rHNa.js} +2 -2
- package/dist/{index-DT87VrvR.js → index-bH6ERrWd.js} +2 -2
- package/dist/{index-bfXiwTE7.js → index-luggjixn.js} +97 -95
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BZDgmpm9.js → mb-render-DybPk-KF.js} +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Ciue53Ue.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BEX02BrW.js} +1 -1
- package/dist/{pagination-design-BYqVZGdA.js → pagination-design-CpZhqHAZ.js} +2 -2
- package/dist/paper-widget-design-o-K-d1mV.js +4 -0
- package/dist/{print-runtime-instance-D3BJGzia.js → print-runtime-instance-DP1Lp8e2.js} +1 -1
- package/dist/{print-snapshot-renderer-MzkjvlA8.js → print-snapshot-renderer-Cf73dKcd.js} +3 -3
- package/dist/{qrcode-design-B0YGEijA.js → qrcode-design-BDVFS0l9.js} +1 -1
- package/dist/{revo-grid.entry-DdE6cuGJ.js → revo-grid.entry-EvEm_y2W.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Er1fVrov.js → revogr-attribution_7.entry-DgE6PR1L.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-COq2SN-B.js → revogr-clipboard_3.entry-CNDxeVhF.js} +2 -2
- package/dist/{revogr-data_4.entry--CfGDdVK.js → revogr-data_4.entry-DKwV9DMF.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DoNXkBy6.js → revogr-filter-panel.entry-1SAhHHfl.js} +1 -1
- package/dist/seal-design-D2dtOjZh.js +4 -0
- package/dist/{serialnumber-design-fMRSi9jn.js → serialnumber-design-Cs3B0ZNE.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-BycxT2Kf.js → single-field-drop-Ijh7_RRT.js} +2 -2
- package/dist/{size-editor-BKJfYgbR.js → size-editor-B2TfX4_r.js} +1 -1
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- 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/{sub-table-factory-BxG7QiiX.js → sub-table-factory-CNkIUJTC.js} +2 -2
- package/dist/{text-design-BQKYk7aD.js → text-design-BaDQZeS2.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BI0wP2Le.js → throttle-Cpk1LoGk-Ch-cqj2G.js} +1 -1
- package/dist/{timediff-design-O1IfzLVD.js → timediff-design-DASqeRcJ.js} +1 -1
- package/dist/{trace-like-wrapper-CdKGpstE.js → trace-like-wrapper-B1n1LPhU.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CCv0wmKI.js → value-editor.vue_vue_type_style_index_0_lang-_7d452gl.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CK68yjvd.js → widget-barcode-D3nGm6wi.js} +4 -4
- package/dist/{widget-diagonal-9F-6feRM.js → widget-diagonal-CrTfSw6w.js} +3 -3
- package/dist/{widget-image-2GcRCaIf.js → widget-image-Bq3B9IR0.js} +5 -5
- package/dist/{widget-line-flwy9kew.js → widget-line-BE8D0_Mn.js} +2 -2
- package/dist/{widget-pagination-pxpEH1UB.js → widget-pagination-CJZ-nXas.js} +5 -5
- package/dist/{widget-power-pFQ7lwCW.js → widget-power-CUVtkygi.js} +3 -3
- package/dist/{widget-qrcode-D_Ri0RG2.js → widget-qrcode-DDqtIjp6.js} +3 -3
- package/dist/{widget-rangelimit-DB97heRc.js → widget-rangelimit-CiXyiZ4L.js} +3 -3
- package/dist/{widget-serialnumber-I35Sov0R.js → widget-serialnumber-DdV7rw4j.js} +1 -1
- package/dist/{widget-text-C93W0WWM.js → widget-text-B5pDJ4lb.js} +5 -5
- package/dist/{widget-timediff-S4X81H7c.js → widget-timediff-D_BS7hfR.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-BcSUNaAF.js +0 -4
- package/dist/seal-design-CHOawN-k.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-BQfJFJ4j.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-DZRtpBe8.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 { M as commonjsGlobal, N 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 { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
|
+
import { r as require$$0 } from "./index-BE-3UQG0.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 { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.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 { Q as PaperWidgeValueType, a8 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-luggjixn.js";
|
|
4
|
+
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
const _hoisted_1 = { class: "wrapper" };
|
package/dist/base/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, bv as assembleRules, bw as isAttachFieldActive, aI as Dependency_ENUM, bk as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Y as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a8 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { aO, aQ, a$, a1, bK, bL, B, bM, y, ai, bN, bO, bP, bh, bQ, aT, ay, aP, aM, aN, bR, aj, an, bS, bT, aG, a3, ah, az, aR, a0, al, L, bU, bV, bW, O, p, P, aa, o, Q, A, bX, bY, ax, aw, a6, a2, a4, a5, a7, f, bZ, am, aq, ak, b_, b$, c0, c1, bg, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, bl, cc, cd, aZ, ce, b0, b1, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, aY, cp, b2, be, cq, cr, cs, ao, t, aS, ct, cu, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-
|
|
1
|
+
import { E as api, $ as PlatformEnum, F as FIELD_TYPE, bi as getRowId, bj as findRuntimeTableRow, b8 as RenderModeEnum, C as ComponentTypeEnum, bv as assembleRules, bw as isAttachFieldActive, aI as Dependency_ENUM, bk as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, bx as fetchHistoryConsume, by as isBomGranted, aW as renderUtils, bu as uuid2, bz as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bA as baseDataUtils, bB as initializeSealFields, Y as FormTypeEnum, bC as normalizeToArray, bD as safeParseArray, bE as BpmnNodeTypeEnum, bF as mergeByMultiKey, a8 as _export_sfc, bG as evaluateInspectionDecisionRule, bH as areValidationCommentsEqual, bI as useNocodeEmitter, bJ as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
|
+
import { aO, aQ, a$, a1, bK, bL, B, bM, y, ai, bN, bO, bP, bh, bQ, aT, ay, aP, aM, aN, bR, aj, an, bS, bT, aG, a3, ah, az, aR, a0, al, L, bU, bV, bW, O, p, P, aa, o, Q, A, bX, bY, ax, aw, a6, a2, a4, a5, a7, f, bZ, am, aq, ak, b_, b$, c0, c1, bg, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, bl, cc, cd, aZ, ce, b0, b1, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, aY, cp, b2, be, cq, cr, cs, ao, t, aS, ct, cu, bm, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
|
+
import { P as getRuntimeDataFieldId, z as parseRuntimeFieldPath, Q as buildRuntimeFieldPath, T as resolveRuntimeFieldProps, U as resolveRuntimeFieldState, V as getRuntimeDependencyOutputKey, W as isRowAddedInCurrentFormChange, o as MaterialConsumptionPatternEnum, X as MaterialConsumeTableController, Y as setFormulaParamsConfig, Z as normalizeRuntime, H as createRuntimeInstanceContext, R as RuntimeFormStateStore, $ as RuntimeSheetService, g as getBusinessFieldKey, a0 as validateObjectBomQtyOnSubmit, a1 as closeValidatorPopovers, a2 as enrichFormChangeRowDetails, N as NCB_PROVIDE, I as RuntimeInstanceRegistry, a3 as useMaterialBalance, a4 as collectFormChangeFieldLocations, a5 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-BQfJFJ4j.js";
|
|
4
|
+
import { B as B2, a6 as a62, e, _, a7 as a72, L as L2, a8, O as O2, E, a9, aa as aa2, ab, ac, ad, M, a, ae, b, af, ag, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, w, an as an2, m, ao as ao2, c, ap, aq as aq2, ar, as, l, x, at, au, av, aw as aw2, f as f2, y as y2, d, ax as ax2, ay as ay2, az as az2, aA, aB, aC, p as p2, r, aD, q, j, aE, s, aF, C, F, u, t as t2, G, i, k, A as A2, h, v } from "../dynamic-table-action-BQfJFJ4j.js";
|
|
5
5
|
import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, ref, provide, onUnmounted, markRaw, reactive, onBeforeUnmount } from "vue";
|
|
6
6
|
import { cloneDeep, defaults, isEmpty, merge } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-
|
|
9
|
-
import { A as A3, D, M as M2, a as a10, P as P2, b as b3, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-
|
|
10
|
-
import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-CNkIUJTC.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a10, P as P2, b as b3, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-CNkIUJTC.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-DybPk-KF.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -190,7 +190,7 @@ class RuntimeFieldInitializer {
|
|
|
190
190
|
await Promise.resolve();
|
|
191
191
|
this.scheduled = false;
|
|
192
192
|
if (!signal.aborted && !this.disposed) await this.initialize();
|
|
193
|
-
}).catch((
|
|
193
|
+
}).catch(() => void 0).finally(() => this.tasks.delete("initialize:structure"));
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
record;
|
|
@@ -203,7 +203,7 @@ class RuntimeFieldInitializer {
|
|
|
203
203
|
disposed = false;
|
|
204
204
|
scheduled = false;
|
|
205
205
|
unsubscribe;
|
|
206
|
-
/**
|
|
206
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
207
207
|
async initialize() {
|
|
208
208
|
if (this.disposed || this.info.renderPurpose || this.info.platformType === PlatformEnum.INTEGRATION_PAAS_DP)
|
|
209
209
|
return;
|
|
@@ -247,7 +247,8 @@ class RuntimeFieldInitializer {
|
|
|
247
247
|
modelKey: props.modelKey,
|
|
248
248
|
subModelKey: props.subModelKey
|
|
249
249
|
},
|
|
250
|
-
sheetId
|
|
250
|
+
sheetId,
|
|
251
|
+
blockOnFailure: false
|
|
251
252
|
}
|
|
252
253
|
).finally(() => this.tasks.delete(key));
|
|
253
254
|
pending.push(task);
|
|
@@ -259,7 +260,7 @@ class RuntimeFieldInitializer {
|
|
|
259
260
|
this.record.asyncTasks.cancel(key);
|
|
260
261
|
this.tasks.delete(key);
|
|
261
262
|
}
|
|
262
|
-
await Promise.
|
|
263
|
+
await Promise.allSettled(pending);
|
|
263
264
|
}
|
|
264
265
|
request(key, fetch) {
|
|
265
266
|
const existing = this.requests.get(key);
|
|
@@ -1542,6 +1543,18 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1542
1543
|
uniqueId,
|
|
1543
1544
|
() => MaterialConsumeTableController.render?.destroyAllModals(uniqueId)
|
|
1544
1545
|
);
|
|
1546
|
+
runtimeRegistry.registerDisposable(
|
|
1547
|
+
uniqueId,
|
|
1548
|
+
watch(
|
|
1549
|
+
() => record.context.activeSheetId,
|
|
1550
|
+
(next, previous) => {
|
|
1551
|
+
if (next !== previous) {
|
|
1552
|
+
MaterialConsumeTableController.render?.destroyAllModals(uniqueId);
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
{ flush: "sync" }
|
|
1556
|
+
)
|
|
1557
|
+
);
|
|
1545
1558
|
if (!mcList.length) return;
|
|
1546
1559
|
const tmplBomC = record.context.services.tmplBomController;
|
|
1547
1560
|
if (!tmplBomC) return;
|
|
@@ -2078,7 +2091,9 @@ function createRuntimeValidationBinding(runtimeRegistry, getInfo, platformType)
|
|
|
2078
2091
|
if (!isCurrent() || runtimeRegistry.get(uniqueId) !== record) return;
|
|
2079
2092
|
await record.validation.settleAfterModeSwitch(mode === RenderModeEnum.FormMode);
|
|
2080
2093
|
}).catch((error) => {
|
|
2081
|
-
if (runtimeRegistry.get(uniqueId)
|
|
2094
|
+
if (runtimeRegistry.get(uniqueId) !== record) return;
|
|
2095
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
2096
|
+
console.error("表单模式准备失败", error);
|
|
2082
2097
|
});
|
|
2083
2098
|
}
|
|
2084
2099
|
async function prepareInitialView(record) {
|
|
@@ -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-luggjixn.js";
|
|
3
|
+
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, nextTick, toRef, provide, defineComponent, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, Fragment, renderList, onUnmounted, isVNode, onMounted, onBeforeMount, resolveComponent, createBlock, withCtx, createTextVNode } from "vue";
|
|
2
|
-
import { ai as CellWidgetViewState, F as FIELD_TYPE, b8 as RenderModeEnum, Y as FormTypeEnum, bE as BpmnNodeTypeEnum, cv as getFieldPlaceholder, bV as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cw as isReferenceOptionActive, E as api, bu as uuid2, c3 as calcUtils, bj as findRuntimeTableRow, c7 as ensureTableRowKeys, c0 as bindRuntimeTableColumns, bi as getRowId, cx as FRONT_ROW_KEY, cm as isTableRowKeyMatch, bw as isAttachFieldActive, cy as filterRulesByTrigger, cz as isEmptyValue$1, c4 as decodeTableCellRowKey, c6 as ensureFrontRowKey, b0 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bn as FormulaRuleFieldKeyEnum, f as SubTableType, b1 as getParseRuleValue, cA as buildError, H as CreateType, bl as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bJ as commonUtils, aM as DeviceLink, a8 as _export_sfc, cg as getRenderedRuntimeTableCell, y as CellType, cq as relocateDeletedRowsToEnd, cB as resetTableRowIdentity, J as useModal, cC as q, cD as QUICK_FILL_ALLOWED_FIELDS, cE as groupFixedTableRows, cF as processQuickFillRows, cG as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { ai as CellWidgetViewState, F as FIELD_TYPE, b8 as RenderModeEnum, Y as FormTypeEnum, bE as BpmnNodeTypeEnum, cv as getFieldPlaceholder, bV as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cw as isReferenceOptionActive, E as api, bu as uuid2, c3 as calcUtils, bj as findRuntimeTableRow, c7 as ensureTableRowKeys, c0 as bindRuntimeTableColumns, bi as getRowId, cx as FRONT_ROW_KEY, cm as isTableRowKeyMatch, bw as isAttachFieldActive, cy as filterRulesByTrigger, cz as isEmptyValue$1, c4 as decodeTableCellRowKey, c6 as ensureFrontRowKey, b0 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bn as FormulaRuleFieldKeyEnum, f as SubTableType, b1 as getParseRuleValue, cA as buildError, H as CreateType, bl as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bJ as commonUtils, aM as DeviceLink, a8 as _export_sfc, cg as getRenderedRuntimeTableCell, y as CellType, cq as relocateDeletedRowsToEnd, cB as resetTableRowIdentity, J as useModal, cC as q, cD as QUICK_FILL_ALLOWED_FIELDS, cE as groupFixedTableRows, cF as processQuickFillRows, cG as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import { cloneDeep, isEmpty, has, pickBy, isNil, mergeWith, omit, last, pick, merge } from "lodash-es";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { a as useNamespace, I as Icon } from "./AntdIcon-DCIaV352.js";
|
|
6
6
|
import { Modal, message } from "ant-design-vue";
|
|
7
|
-
import { u as useFormModel } from "./mb-render-
|
|
7
|
+
import { u as useFormModel } from "./mb-render-DybPk-KF.js";
|
|
8
8
|
var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
|
|
9
9
|
MaterialConsumptionPatternEnum2["RECORD"] = "record";
|
|
10
10
|
MaterialConsumptionPatternEnum2["BOM"] = "bom";
|
|
@@ -1721,12 +1721,28 @@ class RuntimeFormStateStore {
|
|
|
1721
1721
|
incoming.forEach((savedRow) => {
|
|
1722
1722
|
const rowKey = savedRow?.[FRONT_ROW_KEY];
|
|
1723
1723
|
const savedId = savedRow?.id_;
|
|
1724
|
-
|
|
1724
|
+
let currentRow = target.find((row) => {
|
|
1725
1725
|
if (!row || typeof row !== "object") return false;
|
|
1726
1726
|
if (rowKey != null && isTableRowKeyMatch(rowKey, row[FRONT_ROW_KEY])) return true;
|
|
1727
1727
|
return savedId != null && row.id_ != null && String(row.id_) === String(savedId);
|
|
1728
1728
|
});
|
|
1729
|
-
|
|
1729
|
+
let matchedByGroup = false;
|
|
1730
|
+
if (!currentRow && Array.isArray(savedRow?._2DTABLE_) && savedRow.group_ != null && String(savedRow.group_).trim() !== "") {
|
|
1731
|
+
const matchingGroups = target.filter(
|
|
1732
|
+
(row) => Array.isArray(row?._2DTABLE_) && row.group_ != null && String(row.group_) === String(savedRow.group_)
|
|
1733
|
+
);
|
|
1734
|
+
if (matchingGroups.length === 1) {
|
|
1735
|
+
currentRow = matchingGroups[0];
|
|
1736
|
+
matchedByGroup = true;
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
if (currentRow) {
|
|
1740
|
+
this.mergeSavedMetadata(
|
|
1741
|
+
currentRow,
|
|
1742
|
+
matchedByGroup ? { ...savedRow, [FRONT_ROW_KEY]: currentRow[FRONT_ROW_KEY] } : savedRow,
|
|
1743
|
+
path
|
|
1744
|
+
);
|
|
1745
|
+
}
|
|
1730
1746
|
});
|
|
1731
1747
|
return target;
|
|
1732
1748
|
}
|
|
@@ -1822,6 +1838,7 @@ class RuntimeAsyncTaskCoordinator {
|
|
|
1822
1838
|
fieldIdentity: options.fieldIdentity,
|
|
1823
1839
|
sheetId: options.sheetId,
|
|
1824
1840
|
required: options.required !== false,
|
|
1841
|
+
blockOnFailure: options.blockOnFailure !== false,
|
|
1825
1842
|
status: "pending",
|
|
1826
1843
|
sequence,
|
|
1827
1844
|
promise: task,
|
|
@@ -1865,7 +1882,7 @@ class RuntimeAsyncTaskCoordinator {
|
|
|
1865
1882
|
* 等待全部 required 任务达到稳定状态。
|
|
1866
1883
|
*
|
|
1867
1884
|
* 一轮任务完成后的字段回填可能触发新的公式或远程任务,因此这里循环读取任务表,直到
|
|
1868
|
-
* 没有新的 pending required
|
|
1885
|
+
* 没有新的 pending required 任务。稳定后只检查需要阻断提交的失败项。
|
|
1869
1886
|
*/
|
|
1870
1887
|
async waitForRequired(keyPrefix) {
|
|
1871
1888
|
const matches = (task) => task.required && (!keyPrefix || task.key.startsWith(keyPrefix));
|
|
@@ -1877,7 +1894,7 @@ class RuntimeAsyncTaskCoordinator {
|
|
|
1877
1894
|
await Promise.allSettled(pending.map((task) => task.promise));
|
|
1878
1895
|
}
|
|
1879
1896
|
const failed = Array.from(this.tasks.values()).filter(
|
|
1880
|
-
(task) => matches(task) && task.status === "rejected"
|
|
1897
|
+
(task) => matches(task) && task.blockOnFailure && task.status === "rejected"
|
|
1881
1898
|
);
|
|
1882
1899
|
if (failed.length) {
|
|
1883
1900
|
const details = failed.map((task) => {
|
|
@@ -3223,11 +3240,12 @@ class RuntimeValidationService {
|
|
|
3223
3240
|
this.pendingLive = this.pendingLive === "blur" ? "blur" : trigger;
|
|
3224
3241
|
if (this.liveTimer) clearTimeout(this.liveTimer);
|
|
3225
3242
|
this.liveTimer = void 0;
|
|
3226
|
-
if (immediate)
|
|
3243
|
+
if (immediate)
|
|
3244
|
+
void this.flushLive().catch((error) => this.logBackgroundError("字段校验失败", error));
|
|
3227
3245
|
else
|
|
3228
3246
|
this.liveTimer = setTimeout(() => {
|
|
3229
3247
|
this.liveTimer = void 0;
|
|
3230
|
-
void this.flushLive().catch((error) =>
|
|
3248
|
+
void this.flushLive().catch((error) => this.logBackgroundError("字段校验失败", error));
|
|
3231
3249
|
}, 300);
|
|
3232
3250
|
}
|
|
3233
3251
|
async flushLive() {
|
|
@@ -3249,11 +3267,17 @@ class RuntimeValidationService {
|
|
|
3249
3267
|
this.displayTimer = void 0;
|
|
3250
3268
|
const run = () => {
|
|
3251
3269
|
this.displayTimer = void 0;
|
|
3252
|
-
void this.validate("display").catch(
|
|
3270
|
+
void this.validate("display").catch(
|
|
3271
|
+
(error) => this.logBackgroundError("字段展示校验失败", error)
|
|
3272
|
+
);
|
|
3253
3273
|
};
|
|
3254
3274
|
if (immediate) run();
|
|
3255
3275
|
else this.displayTimer = setTimeout(run, 320);
|
|
3256
3276
|
}
|
|
3277
|
+
logBackgroundError(label, error) {
|
|
3278
|
+
if (error instanceof Error && error.message.startsWith("以下异步任务执行失败:")) return;
|
|
3279
|
+
console.error(label, error);
|
|
3280
|
+
}
|
|
3257
3281
|
pruneComments() {
|
|
3258
3282
|
if (!this.binding || this.disposed) return;
|
|
3259
3283
|
this.binding.applyComments(
|
|
@@ -4588,7 +4612,16 @@ class BomEntriesValidator {
|
|
|
4588
4612
|
memberIndexes.push(idx);
|
|
4589
4613
|
if (byLot && !row.material_no_) emptyLotIndexes.push(idx);
|
|
4590
4614
|
});
|
|
4591
|
-
const
|
|
4615
|
+
const targetExists = this.groupExistsInTable(arr, target);
|
|
4616
|
+
if (!targetExists) {
|
|
4617
|
+
const index = arr.findIndex((row2) => !row2.deleted_);
|
|
4618
|
+
const row = arr[index];
|
|
4619
|
+
const canReuse = row && !row.product_id_ && !row.bom_entry_id_ && !row.is_confirmed_ && arr.every((item, idx) => item.deleted_ || idx === index);
|
|
4620
|
+
if (canReuse) {
|
|
4621
|
+
emptyProductIndexes.push(index);
|
|
4622
|
+
}
|
|
4623
|
+
}
|
|
4624
|
+
const needInsert = !targetExists && emptyProductIndexes.length === 0;
|
|
4592
4625
|
const last2 = memberIndexes[memberIndexes.length - 1];
|
|
4593
4626
|
let groupInsertIndex = -1;
|
|
4594
4627
|
if (needInsert) {
|
|
@@ -8730,7 +8763,7 @@ const MaterialConsumeTable = /* @__PURE__ */ defineComponent({
|
|
|
8730
8763
|
const {
|
|
8731
8764
|
showDisplayStatus,
|
|
8732
8765
|
dataRelationShip
|
|
8733
|
-
} = useWidgetStaticAttrs(props);
|
|
8766
|
+
} = useWidgetStaticAttrs(props.widget);
|
|
8734
8767
|
const sheetId = () => fields.value?.findWidgetById(props.widget.id)?.sheetId;
|
|
8735
8768
|
const formModelController = useFormModel().injectController();
|
|
8736
8769
|
const tableController = props.tableController;
|
|
@@ -60514,7 +60514,7 @@ const transformUtils = {
|
|
|
60514
60514
|
return omit(realFormData, filterKeys);
|
|
60515
60515
|
},
|
|
60516
60516
|
getFormDataIdsMap: (formData, preserveKeys = []) => {
|
|
60517
|
-
const preserveKeySet = /* @__PURE__ */ new Set([FRONT_ROW_KEY, ...preserveKeys.filter(Boolean)]);
|
|
60517
|
+
const preserveKeySet = /* @__PURE__ */ new Set([FRONT_ROW_KEY, "group_", ...preserveKeys.filter(Boolean)]);
|
|
60518
60518
|
const shouldKeepAsIs = (key, isFirstLevel) => key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key);
|
|
60519
60519
|
const processEntry = (entry, isFirstLevel = false) => {
|
|
60520
60520
|
if (Array.isArray(entry)) {
|
|
@@ -67152,27 +67152,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
67152
67152
|
case "revo-grid":
|
|
67153
67153
|
return import(
|
|
67154
67154
|
/* webpackMode: "lazy" */
|
|
67155
|
-
"./revo-grid.entry-
|
|
67155
|
+
"./revo-grid.entry-EvEm_y2W.js"
|
|
67156
67156
|
).then(processMod, consoleError);
|
|
67157
67157
|
case "revogr-filter-panel":
|
|
67158
67158
|
return import(
|
|
67159
67159
|
/* webpackMode: "lazy" */
|
|
67160
|
-
"./revogr-filter-panel.entry-
|
|
67160
|
+
"./revogr-filter-panel.entry-1SAhHHfl.js"
|
|
67161
67161
|
).then(processMod, consoleError);
|
|
67162
67162
|
case "revogr-attribution_7":
|
|
67163
67163
|
return import(
|
|
67164
67164
|
/* webpackMode: "lazy" */
|
|
67165
|
-
"./revogr-attribution_7.entry-
|
|
67165
|
+
"./revogr-attribution_7.entry-DgE6PR1L.js"
|
|
67166
67166
|
).then(processMod, consoleError);
|
|
67167
67167
|
case "revogr-clipboard_3":
|
|
67168
67168
|
return import(
|
|
67169
67169
|
/* webpackMode: "lazy" */
|
|
67170
|
-
"./revogr-clipboard_3.entry-
|
|
67170
|
+
"./revogr-clipboard_3.entry-CNDxeVhF.js"
|
|
67171
67171
|
).then(processMod, consoleError);
|
|
67172
67172
|
case "revogr-data_4":
|
|
67173
67173
|
return import(
|
|
67174
67174
|
/* webpackMode: "lazy" */
|
|
67175
|
-
"./revogr-data_4.entry
|
|
67175
|
+
"./revogr-data_4.entry-DKwV9DMF.js"
|
|
67176
67176
|
).then(processMod, consoleError);
|
|
67177
67177
|
}
|
|
67178
67178
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ef as EDIT_INPUT_WR, eg as keyValues, e7 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { ef as EDIT_INPUT_WR, eg as keyValues, e7 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
1
|
+
import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
|
+
import { c as commonjsRequire } from "./index-luggjixn.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
|
|
2
|
-
import { A as AlignEditor } from "./align-editor-
|
|
2
|
+
import { A as AlignEditor } from "./align-editor-BvGUsoz3.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
5
|
-
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-luggjixn.js";
|
|
5
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
6
6
|
const _hoisted_1 = { class: "ks-row-middle mb-6px" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "font-editor",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, normalizeStyle } from "vue";
|
|
2
|
-
import { u as useWebUpload } from "./index-
|
|
2
|
+
import { u as useWebUpload } from "./index-BE-3UQG0.js";
|
|
3
3
|
import "ant-design-vue";
|
|
4
|
-
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as api, a8 as _export_sfc, cH as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, ce as getParseRuleConfig, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { E as api, a8 as _export_sfc, cH as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, ce as getParseRuleConfig, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import { message, Modal, Form } from "ant-design-vue";
|
|
3
3
|
import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
|
|
4
4
|
import { debounce, cloneDeep } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-
|
|
7
|
-
import { useFormBaseModal } from "@gct-paas/form-base";
|
|
6
|
+
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-DybPk-KF.js";
|
|
7
|
+
import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
|
|
8
8
|
import { VxeGrid } from "vxe-table";
|
|
9
9
|
const uploadApis = {
|
|
10
10
|
upload: null,
|
|
@@ -4130,7 +4130,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4130
4130
|
});
|
|
4131
4131
|
const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d267371"]]);
|
|
4132
4132
|
class McWebRender extends MCRender {
|
|
4133
|
-
/**
|
|
4133
|
+
/** overlay 弹层按实例记录,form-base 弹层通过其全局管理器关闭。 */
|
|
4134
4134
|
modals = [];
|
|
4135
4135
|
async handleModal(modal, ownerId) {
|
|
4136
4136
|
const record = { ownerId, modal };
|
|
@@ -4140,6 +4140,7 @@ class McWebRender extends MCRender {
|
|
|
4140
4140
|
this.modals = this.modals.filter((item) => item !== record);
|
|
4141
4141
|
}
|
|
4142
4142
|
destroyAllModals(ownerId) {
|
|
4143
|
+
closeAllFormBaseModal();
|
|
4143
4144
|
const targets = this.modals.filter((item) => item.ownerId === ownerId);
|
|
4144
4145
|
for (const { modal } of targets) {
|
|
4145
4146
|
modal.dismiss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Seal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Seal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-luggjixn.js";
|
|
3
|
+
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, c$ as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, c$ as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-luggjixn.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
6
|
+
import { A as AsyncGctOnlineComponents } from "./index-luggjixn.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Datepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Datepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
3
|
-
import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-BQfJFJ4j.js";
|
|
3
|
+
import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { g as getFieldWidget } from "./index-luggjixn.js";
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
9
9
|
class Switch extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Switch;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, get } from "lodash-es";
|
|
2
2
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
3
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Textarea extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Textarea;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Timepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Timepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, az as ImageDisplayModeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, az as ImageDisplayModeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-Dri2NRAY.js";
|
|
7
7
|
class Sign extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Sign;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|