@gct-paas/excel 0.1.40-beta.24 → 0.1.40-beta.26
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-9hkBjQjp.js → BaseComponent-ClKLQPlb.js} +2 -2
- package/dist/{VueVideoPlayer-yISI5amX.js → VueVideoPlayer-D7buOU3g.js} +2 -2
- package/dist/{align-editor-ssy7gJsD.js → align-editor-BM2D1Kjn.js} +1 -1
- package/dist/{barcode-design-CHbO1c-N.js → barcode-design-D8H2Bg9b.js} +2 -2
- package/dist/base/index.es.js +42 -15
- package/dist/{diagonal-design-CwaKPsqR.js → diagonal-design-Ca9DW4R9.js} +2 -2
- package/dist/{dynamic-table-action-JR8LU5WT.js → dynamic-table-action-DPgnmGmu.js} +56 -19
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js} +27 -7
- package/dist/{edit.utils-CXmmCnxE-CwPcGg-f.js → edit.utils-CXmmCnxE-ogCEEMW7.js} +1 -1
- package/dist/excel.css +9 -9
- package/dist/{exceljs.min-wPuo8a9q.js → exceljs.min-BzSfyOeP.js} +2 -2
- package/dist/{font-editor-CGJQio2h.js → font-editor-tmQsLM86.js} +3 -3
- package/dist/{image-design-g9R_z-IY.js → image-design-oRvqavKb.js} +2 -2
- package/dist/{index-C6oivLbu.js → index-1GK0_6yB.js} +1 -1
- package/dist/{index-DUma1ZGa.js → index-3K7-At9-.js} +3 -3
- package/dist/{index-BoZN_3QI.js → index-61ZlwI2f.js} +2 -2
- package/dist/{index-CpdA5MDE.js → index-AU7rrK9g.js} +2 -2
- package/dist/{index-Ds8UpdFP.js → index-B3_1mcU-.js} +2 -2
- package/dist/{index-KMB2TBbZ.js → index-BMUAwQmf.js} +2 -2
- package/dist/{index-D-WSp3EA.js → index-BVJENFMM.js} +1 -1
- package/dist/{index-Cg8xpa-X.js → index-B_CDhpav.js} +4 -4
- package/dist/{index-37J1K1W1.js → index-C4txo2fg.js} +2 -2
- package/dist/{index-BX8xuu9v.js → index-C4v0H4FC.js} +3 -3
- package/dist/{index-B9hIqELW.js → index-C5Bdrx4J.js} +1 -1
- package/dist/{index-up8dW1VW.js → index-C8-IDtVr.js} +2 -2
- package/dist/{index-Bk67ggPI.js → index-CHTrEvG1.js} +2 -2
- package/dist/{index-sIW7hZFQ.js → index-CI051jjs.js} +2 -2
- package/dist/{index-CX2lK91Y.js → index-CKyxWh-q.js} +2 -2
- package/dist/{index-Pgworj4S.js → index-CMKlsuD6.js} +2 -2
- package/dist/{index-PUFY8idd.js → index-CcC1xcOH.js} +1 -1
- package/dist/{index-B_95dIym.js → index-Coz70NtU.js} +2 -2
- package/dist/{index-DEMinegB.js → index-D0PRNLPd.js} +1 -1
- package/dist/{index-BCpitZ3H.js → index-D1KO6u1Z.js} +347 -188
- package/dist/{index-LiOm5nws.js → index-DAuoR0-c.js} +2 -2
- package/dist/{index-Cmr9DRpz.js → index-DLRVgGXr.js} +1 -1
- package/dist/{index-D3cPbNne.js → index-DS7TSyjT.js} +1 -1
- package/dist/{index-9ipSNY71.js → index-DUrJEPXQ.js} +2 -2
- package/dist/{index-DozFqpk2.js → index-DbuDWYlA.js} +1 -1
- package/dist/{index-C5izC2Mm.js → index-DvXsENIM.js} +3 -3
- package/dist/{index-YteSvWxT.js → index-IlasHrys.js} +1 -1
- package/dist/{index-eLwoxKzH.js → index-ZHmmTlG-.js} +3 -3
- package/dist/{index-BIitBpK7.js → index-ZxBcNN-g.js} +3 -3
- package/dist/{index-CpQiCEe7.js → index-cBtITF-e.js} +1 -1
- package/dist/{index-PVGqEoN1.js → index-eyK5xPX3.js} +2 -2
- package/dist/{index-BxaqeEUh.js → index-nhC91wtN.js} +3 -3
- package/dist/{index-C1b5ADFV.js → index-sEcLP8dk.js} +2 -2
- package/dist/{index-DZb9l6Gw.js → index-zJwCoxly.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DjI5GeWt.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js} +1 -1
- package/dist/{pagination-design-BasHtAud.js → pagination-design-Bh5sF0VU.js} +2 -2
- package/dist/paper-widget-design-DZrP96jp.js +4 -0
- package/dist/{print-runtime-instance-OTdo3422.js → print-runtime-instance-19OA8Ubq.js} +1 -1
- package/dist/{print-snapshot-renderer-ByiTyPun.js → print-snapshot-renderer-D5OUO3Sx.js} +3 -3
- package/dist/{qrcode-design-hSEE0IFK.js → qrcode-design-CkwIXxb_.js} +1 -1
- package/dist/{revo-grid.entry-Bh8ebL13.js → revo-grid.entry-CJ1rhBKH.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CsJaMH68.js → revogr-attribution_7.entry-Ba9MJ5p9.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DgmZ8Pc0.js → revogr-clipboard_3.entry--neB-vq8.js} +2 -2
- package/dist/{revogr-data_4.entry-CPW7BILy.js → revogr-data_4.entry-BcmetTvO.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BpIcSbuR.js → revogr-filter-panel.entry-jp8iD-xn.js} +1 -1
- package/dist/seal-design-DX7PP65G.js +4 -0
- package/dist/{serialnumber-design-C92sT5qW.js → serialnumber-design-LzvbjC79.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-MFIjdRrG.js → single-field-drop-CEbaTw0-.js} +2 -2
- package/dist/{size-editor-JdHGylGx.js → size-editor-CaFqQHeU.js} +1 -1
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +14 -7
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -0
- package/dist/src/nocode-base/src/interface/transform.d.ts +5 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
- package/dist/{sub-table-factory-D6MHOXzJ.js → sub-table-factory-_1c-Dsu_.js} +14 -2
- package/dist/{text-design-DaxQodcl.js → text-design-D5QIq5aE.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DQh0IPeE.js → throttle-Cpk1LoGk-BMfNVrvD.js} +1 -1
- package/dist/{timediff-design-D84T_Isx.js → timediff-design-B9m-zonK.js} +1 -1
- package/dist/{trace-like-wrapper-Dc2qmQo_.js → trace-like-wrapper-C_NJVd6e.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-yM2HYifj.js → value-editor.vue_vue_type_style_index_0_lang-BpZAIeLC.js} +2 -2
- package/dist/{widget-barcode-CN13ewGl.js → widget-barcode-CDMJo5uk.js} +4 -4
- package/dist/{widget-diagonal-DMki09VI.js → widget-diagonal-D9AC_qNv.js} +3 -3
- package/dist/{widget-image-BP_4rlRW.js → widget-image-DMiIjg8J.js} +4 -4
- package/dist/{widget-line-BkbZEHCt.js → widget-line-BwSO-GKu.js} +2 -2
- package/dist/{widget-pagination-Bo31Q_F-.js → widget-pagination-Buo5s7Xq.js} +5 -5
- package/dist/{widget-power-DNaqREkx.js → widget-power-D8HtIVO2.js} +3 -3
- package/dist/{widget-qrcode-DLGoKdnQ.js → widget-qrcode-XEY9m1Dj.js} +3 -3
- package/dist/{widget-rangelimit-CwI-0gsT.js → widget-rangelimit-C9j1s6Md.js} +3 -3
- package/dist/{widget-serialnumber-4TPNnZeQ.js → widget-serialnumber-B_IA4_De.js} +1 -1
- package/dist/{widget-text-kjnijcMF.js → widget-text-Bp0FEZa1.js} +5 -5
- package/dist/{widget-timediff-CZAMM1f0.js → widget-timediff-BlYRlDYp.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BWJtqIvf.js +0 -4
- package/dist/seal-design-BRJgX3Fr.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as normalizeFieldWidth } from "./dynamic-table-action-
|
|
1
|
+
import { j as normalizeFieldWidth } from "./dynamic-table-action-DPgnmGmu.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_8710052f_lang-
|
|
3
|
+
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.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 { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
-
import { G as require$$0 } from "./index-
|
|
2
|
+
import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
|
+
import { G as require$$0 } from "./index-D1KO6u1Z.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 { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.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 { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
+
import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-D1KO6u1Z.js";
|
|
4
|
+
import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.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,12 +1,12 @@
|
|
|
1
|
-
import { p as api, a3 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, bm as RenderModeEnum, C as ComponentTypeEnum, aD as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, az as RangeValidateMode, aP as Dependency_ENUM, aO as ASSIGNMENTSTRATEGY_ENUM, bw as fetchHistoryConsume, bx as isBomGranted, b2 as renderUtils, bv as uuid2, by as parseFrontConfig, aS as CheckDsTypeEnum, aM as transformUtils, bz as baseDataUtils, a0 as FormTypeEnum, bA as normalizeToArray, bB as safeParseArray, bC as BpmnNodeTypeEnum, bD as mergeByMultiKey, ad as _export_sfc, bE as evaluateInspectionDecisionRule, bF as useNocodeEmitter, bG as commonUtils, aQ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
-
import { aV, aX, b9, a5, bH, bI, B, bJ, H, al, bK, bL, bM, bj, bN, a_, aE, aW, aT, aU, bO, am, aq, bP, bQ, aN, a7, ak, aF, aY, a4, ao, L, bR, bS, bT, O, t, P, af, q, X, K, bU, bV, aA, aa, a6, a8, a9, ab, h, bW, ap, at, an, bX, bY, bZ, b_, aI, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, bn, c9, ca, b5, cb, ba, bb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, b4, cm, bc, aJ, cn, co, ar, y, aZ, cp, cq, bo, b6 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
-
import { a8 as getRuntimeDataFieldId, S as parseRuntimeFieldPath, a9 as buildRuntimeFieldPath, m as findFieldProfile, aa as resolveRuntimeFieldProps, ab as resolveRuntimeFieldState, ac as assembleRules, ad as isAttachFieldActive, U as calculateFormula, ae as getRuntimeDependencyOutputKey, af as isRowAddedInCurrentFormChange, e as getParseFormulaVarInfos, A as MaterialConsumptionPatternEnum, ag as MaterialConsumeTableController, ah as setFormulaParamsConfig, ai as normalizeRuntime, _ as createRuntimeInstanceContext, aj as initializeSealFields, Z as RuntimeFormStateStore, ak as RuntimeSheetService, g as getBusinessFieldKey, al as validateObjectBomQtyOnSubmit, am as areValidationCommentsEqual, an as closeValidatorPopovers, ao as enrichFormChangeRowDetails, T as NCB_PROVIDE, $ as RuntimeInstanceRegistry, ap as useMaterialBalance, aq as collectFormChangeFieldLocations, ar as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-
|
|
4
|
-
import { as, B as B2, at as at2, p, a7 as a72, au, a5 as a52, av, a6 as a62, K as K2, aw, F, ax, ay, az, aA as aA2, M, a, a2, aB, a3, d, aC, aD, aE as aE2, aF as aF2, aG, aH, aI as aI2, aJ as aJ2, I, aK, y as y2, aL, f, aM, aN as aN2, aO, aP, x, J, aQ, aR, aS, aT as aT2, q as q2, L as L2, o, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ as aZ2, a_ as a_2, E, z, a$, G, v, b0, t as t2, b1, W, X as X2, u, l, H as H2, Y, s, w, V, r, C } from "../dynamic-table-action-
|
|
1
|
+
import { p as api, a3 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, bm as RenderModeEnum, C as ComponentTypeEnum, aD as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, az as RangeValidateMode, aP as Dependency_ENUM, aO as ASSIGNMENTSTRATEGY_ENUM, bw as fetchHistoryConsume, bx as isBomGranted, b2 as renderUtils, bv as uuid2, by as parseFrontConfig, aS as CheckDsTypeEnum, aM as transformUtils, bz as baseDataUtils, a0 as FormTypeEnum, bA as normalizeToArray, bB as safeParseArray, bC as BpmnNodeTypeEnum, bD as mergeByMultiKey, ad as _export_sfc, bE as evaluateInspectionDecisionRule, bF as useNocodeEmitter, bG as commonUtils, aQ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
2
|
+
import { aV, aX, b9, a5, bH, bI, B, bJ, H, al, bK, bL, bM, bj, bN, a_, aE, aW, aT, aU, bO, am, aq, bP, bQ, aN, a7, ak, aF, aY, a4, ao, L, bR, bS, bT, O, t, P, af, q, X, K, bU, bV, aA, aa, a6, a8, a9, ab, h, bW, ap, at, an, bX, bY, bZ, b_, aI, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, bn, c9, ca, b5, cb, ba, bb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, b4, cm, bc, aJ, cn, co, ar, y, aZ, cp, cq, bo, b6 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
|
+
import { a8 as getRuntimeDataFieldId, S as parseRuntimeFieldPath, a9 as buildRuntimeFieldPath, m as findFieldProfile, aa as resolveRuntimeFieldProps, ab as resolveRuntimeFieldState, ac as assembleRules, ad as isAttachFieldActive, U as calculateFormula, ae as getRuntimeDependencyOutputKey, af as isRowAddedInCurrentFormChange, e as getParseFormulaVarInfos, A as MaterialConsumptionPatternEnum, ag as MaterialConsumeTableController, ah as setFormulaParamsConfig, ai as normalizeRuntime, _ as createRuntimeInstanceContext, aj as initializeSealFields, Z as RuntimeFormStateStore, ak as RuntimeSheetService, g as getBusinessFieldKey, al as validateObjectBomQtyOnSubmit, am as areValidationCommentsEqual, an as closeValidatorPopovers, ao as enrichFormChangeRowDetails, T as NCB_PROVIDE, $ as RuntimeInstanceRegistry, ap as useMaterialBalance, aq as collectFormChangeFieldLocations, ar as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-DPgnmGmu.js";
|
|
4
|
+
import { as, B as B2, at as at2, p, a7 as a72, au, a5 as a52, av, a6 as a62, K as K2, aw, F, ax, ay, az, aA as aA2, M, a, a2, aB, a3, d, aC, aD, aE as aE2, aF as aF2, aG, aH, aI as aI2, aJ as aJ2, I, aK, y as y2, aL, f, aM, aN as aN2, aO, aP, x, J, aQ, aR, aS, aT as aT2, q as q2, L as L2, o, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ as aZ2, a_ as a_2, E, z, a$, G, v, b0, t as t2, b1, W, X as X2, u, l, H as H2, Y, s, w, V, r, C } from "../dynamic-table-action-DPgnmGmu.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, D, M as M2, a as a10, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-
|
|
8
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-_1c-Dsu_.js";
|
|
9
|
+
import { A, D, M as M2, a as a10, P as P2, b, c, d as d2, e, W as W2, f as f2, g, h as h2 } from "../sub-table-factory-_1c-Dsu_.js";
|
|
10
10
|
import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
@@ -1042,6 +1042,28 @@ class FormTmplBomController {
|
|
|
1042
1042
|
});
|
|
1043
1043
|
});
|
|
1044
1044
|
}
|
|
1045
|
+
/** 全部 Sheet 的消耗表统一在 LOADED 前准备。 */
|
|
1046
|
+
initializeFormState(opts) {
|
|
1047
|
+
Object.entries(this.field2TableMap).forEach(([field, tableKey]) => {
|
|
1048
|
+
const controller = this.tableControllers[tableKey];
|
|
1049
|
+
if (!controller) return;
|
|
1050
|
+
controller.prepareInitialData({
|
|
1051
|
+
formState: opts.formState,
|
|
1052
|
+
field,
|
|
1053
|
+
dataStatus: opts.dataStatus,
|
|
1054
|
+
defaultRowData: renderUtils.getDefaultValueInfo({
|
|
1055
|
+
defaultDataMap: opts.defaultDataMap,
|
|
1056
|
+
key: field
|
|
1057
|
+
})
|
|
1058
|
+
});
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
/** 钩子若修改数量依赖,在创建 Store 和分页前按原规则重算。 */
|
|
1062
|
+
finalizeInitialQuantities() {
|
|
1063
|
+
Object.values(this.tableControllers).forEach((controller) => {
|
|
1064
|
+
controller.syncQtyRequiredFromBomIfChanged();
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1045
1067
|
async submitValidate() {
|
|
1046
1068
|
const results = await Promise.all(
|
|
1047
1069
|
Object.values(this.tableControllers).map((c10) => c10.submitValidate())
|
|
@@ -1633,6 +1655,11 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1633
1655
|
});
|
|
1634
1656
|
initializeSealFields(floatingFields, formState);
|
|
1635
1657
|
}
|
|
1658
|
+
tmplBomC.initializeFormState({
|
|
1659
|
+
formState,
|
|
1660
|
+
dataStatus: selfInfo.dataStatus,
|
|
1661
|
+
defaultDataMap
|
|
1662
|
+
});
|
|
1636
1663
|
await transformUtils.getEventInitDataLoaded({
|
|
1637
1664
|
formConfig: runtimeContext.formConfig,
|
|
1638
1665
|
formState,
|
|
@@ -1642,6 +1669,7 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1642
1669
|
}).catch((error) => {
|
|
1643
1670
|
console.error("Error in getEventInitDataLoaded:", error);
|
|
1644
1671
|
});
|
|
1672
|
+
tmplBomC.finalizeInitialQuantities();
|
|
1645
1673
|
runtimeFormStateStore = new RuntimeFormStateStore(
|
|
1646
1674
|
formState,
|
|
1647
1675
|
// 子表信息覆盖普通/固定/检验表、二维关联列以及各类业务表;不能只依赖已放置字段。
|
|
@@ -1789,18 +1817,13 @@ function bindRuntimeBusinessServices(runtimeRegistry, record, dataStatus) {
|
|
|
1789
1817
|
}
|
|
1790
1818
|
}),
|
|
1791
1819
|
mainFormState: computed(() => record.formState.state),
|
|
1792
|
-
dataStatus
|
|
1793
|
-
defaultRowData: renderUtils.getDefaultValueInfo({
|
|
1794
|
-
defaultDataMap: record.context.defaultData,
|
|
1795
|
-
key: field
|
|
1796
|
-
})
|
|
1820
|
+
dataStatus
|
|
1797
1821
|
});
|
|
1798
1822
|
stops.push(
|
|
1799
1823
|
watch(
|
|
1800
1824
|
() => controller.materialNoNum,
|
|
1801
1825
|
() => {
|
|
1802
|
-
|
|
1803
|
-
controller.syncQtyRequiredFromBom();
|
|
1826
|
+
controller.syncQtyRequiredFromBomIfChanged();
|
|
1804
1827
|
},
|
|
1805
1828
|
{ immediate: true }
|
|
1806
1829
|
)
|
|
@@ -2845,8 +2868,12 @@ function useRenderPageFactory(props, payload) {
|
|
|
2845
2868
|
onValidate: () => runSubmissionValidation(uniqueId),
|
|
2846
2869
|
onValidationFailed: (result) => record.sheetService.navigateFirstError(Object.keys(result.fields ?? {})),
|
|
2847
2870
|
onGetSubmitData: (formState) => {
|
|
2848
|
-
record.context.services.subTableCoreFactory
|
|
2849
|
-
|
|
2871
|
+
const subTableFactory = record.context.services.subTableCoreFactory;
|
|
2872
|
+
subTableFactory?.prepareSubmitFormState(formState);
|
|
2873
|
+
return transformUtils.getSubmitFormData(formState, {
|
|
2874
|
+
...record.context.businessIndex,
|
|
2875
|
+
businessTableFields: subTableFactory?.getBusinessTableFields() ?? []
|
|
2876
|
+
});
|
|
2850
2877
|
}
|
|
2851
2878
|
})
|
|
2852
2879
|
);
|
|
@@ -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 { ar as resolveDiagonalVertex, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { h as useModelFields, D as Diagonal } from "./index-D1KO6u1Z.js";
|
|
3
|
+
import { ar as resolveDiagonalVertex, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, provide, nextTick,
|
|
2
|
-
import { al as CellWidgetViewState, F as FIELD_TYPE, bm as RenderModeEnum, a0 as FormTypeEnum, bC as BpmnNodeTypeEnum, cr as getFieldPlaceholder, bS as MobileFillTypeEnum, C as ComponentTypeEnum, bl as findRuntimeTableRow, b2 as renderUtils, a3 as PlatformEnum, p as api, bv as uuid2, c0 as calcUtils, c4 as ensureTableRowKeys, bZ as bindRuntimeTableColumns, bk as getRowId, cs as FRONT_ROW_KEY, cj as isTableRowKeyMatch, aA as RangeCompareOp, az as RangeValidateMode, c1 as decodeTableCellRowKey, c3 as ensureFrontRowKey, ba as getParseRuleInfo, aM as transformUtils, b4 as materialCheck, b5 as getLotLockedReason, b6 as validateReinspectionDate, bp as FormulaRuleFieldKeyEnum, N as CreateType, h as SubTableType, bb as getParseRuleValue, bn as findRuntimeParentRow, aP as Dependency_ENUM, aO as ASSIGNMENTSTRATEGY_ENUM, bG as commonUtils, aT as DeviceLink, ac as useNamespace, ad as _export_sfc, I as Icon, cd as getRenderedRuntimeTableCell, H as CellType, ct as resetTableRowIdentity, R as useModal, cu as q, cv as QUICK_FILL_ALLOWED_FIELDS, cw as groupFixedTableRows, cx as processQuickFillRows, cy as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
1
|
+
import { reactive, toRaw, computed, watch, onScopeDispose, inject, h, shallowReactive, markRaw, ref, toRef, provide, nextTick, 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 { al as CellWidgetViewState, F as FIELD_TYPE, bm as RenderModeEnum, a0 as FormTypeEnum, bC as BpmnNodeTypeEnum, cr as getFieldPlaceholder, bS as MobileFillTypeEnum, C as ComponentTypeEnum, bl as findRuntimeTableRow, b2 as renderUtils, a3 as PlatformEnum, p as api, bv as uuid2, c0 as calcUtils, c4 as ensureTableRowKeys, bZ as bindRuntimeTableColumns, bk as getRowId, cs as FRONT_ROW_KEY, cj as isTableRowKeyMatch, aA as RangeCompareOp, az as RangeValidateMode, c1 as decodeTableCellRowKey, c3 as ensureFrontRowKey, ba as getParseRuleInfo, aM as transformUtils, b4 as materialCheck, b5 as getLotLockedReason, b6 as validateReinspectionDate, bp as FormulaRuleFieldKeyEnum, N as CreateType, h as SubTableType, bb as getParseRuleValue, bn as findRuntimeParentRow, aP as Dependency_ENUM, aO as ASSIGNMENTSTRATEGY_ENUM, bG as commonUtils, aT as DeviceLink, ac as useNamespace, ad as _export_sfc, I as Icon, cd as getRenderedRuntimeTableCell, H as CellType, ct as resetTableRowIdentity, R as useModal, cu as q, cv as QUICK_FILL_ALLOWED_FIELDS, cw as groupFixedTableRows, cx as processQuickFillRows, cy as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
import { cloneDeep, isEmpty, isNil, pickBy, mergeWith, omit, last, pick, merge } from "lodash-es";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
@@ -1557,6 +1557,7 @@ class RuntimeFormStateStore {
|
|
|
1557
1557
|
constructor(initialState, subtableFields = [], tableRelations = []) {
|
|
1558
1558
|
this.tableRelations = tableRelations;
|
|
1559
1559
|
this.subtableFields = new Set(subtableFields);
|
|
1560
|
+
normalizeEmptyReferenceLabels(initialState);
|
|
1560
1561
|
this.subtableFields.forEach((field) => ensureTableRowKeys(initialState[field]));
|
|
1561
1562
|
bindRuntimeTableColumns(initialState, this.tableRelations);
|
|
1562
1563
|
this.reactiveState = reactive(initialState);
|
|
@@ -1713,7 +1714,7 @@ class RuntimeFormStateStore {
|
|
|
1713
1714
|
this.ensureIncomingRowKeys(target, fieldKey, value);
|
|
1714
1715
|
const valueChanged = !Object.is(toRaw(this.unwrap(target[fieldKey])), toRaw(value));
|
|
1715
1716
|
const labelKey = `${fieldKey}_lb_`;
|
|
1716
|
-
const clearLabel = (value
|
|
1717
|
+
const clearLabel = isEmptyReferenceValue(value) && target[labelKey] != null;
|
|
1717
1718
|
if (!valueChanged && !clearLabel) return;
|
|
1718
1719
|
const paths = valueChanged ? [path] : [];
|
|
1719
1720
|
if (clearLabel) paths.push(`${path}_lb_`);
|
|
@@ -1752,6 +1753,7 @@ class RuntimeFormStateStore {
|
|
|
1752
1753
|
this.mutate(Array.from(paths), source, () => {
|
|
1753
1754
|
Object.keys(this.reactiveState).forEach((key) => delete this.reactiveState[key]);
|
|
1754
1755
|
this.assignValues(this.reactiveState, values);
|
|
1756
|
+
normalizeEmptyReferenceLabels(this.reactiveState);
|
|
1755
1757
|
});
|
|
1756
1758
|
this.userModifiedPaths.clear();
|
|
1757
1759
|
if (source === "restore") this.dirty = false;
|
|
@@ -1932,6 +1934,23 @@ const ARRAY_MUTATIONS = /* @__PURE__ */ new Set([
|
|
|
1932
1934
|
"unshift"
|
|
1933
1935
|
]);
|
|
1934
1936
|
const ARRAY_SEARCHES = /* @__PURE__ */ new Set(["includes", "indexOf", "lastIndexOf"]);
|
|
1937
|
+
function isEmptyReferenceValue(value) {
|
|
1938
|
+
return value == null || value === "" || Array.isArray(value) && value.length === 0;
|
|
1939
|
+
}
|
|
1940
|
+
function normalizeEmptyReferenceLabels(value, visited = /* @__PURE__ */ new WeakSet()) {
|
|
1941
|
+
if (!isMutableRecord(value) || visited.has(toRaw(value))) return;
|
|
1942
|
+
visited.add(toRaw(value));
|
|
1943
|
+
Object.entries(value).forEach(([key, child]) => {
|
|
1944
|
+
if (key.endsWith("_lb_")) {
|
|
1945
|
+
const fieldKey = key.slice(0, -4);
|
|
1946
|
+
if (child != null && Object.prototype.hasOwnProperty.call(value, fieldKey) && isEmptyReferenceValue(value[fieldKey])) {
|
|
1947
|
+
value[key] = null;
|
|
1948
|
+
}
|
|
1949
|
+
} else if (key !== "_DICT") {
|
|
1950
|
+
normalizeEmptyReferenceLabels(child, visited);
|
|
1951
|
+
}
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1935
1954
|
function joinPath(basePath, key) {
|
|
1936
1955
|
return basePath ? `${basePath}.${key}` : key;
|
|
1937
1956
|
}
|
|
@@ -5938,8 +5957,10 @@ class MaterialConsumeTableController {
|
|
|
5938
5957
|
mainFormState = ref({});
|
|
5939
5958
|
/** 表单数据状态(由 factory bindRuntime 注入):未填报 / STASH / SUBMIT */
|
|
5940
5959
|
dataStatus;
|
|
5941
|
-
/**
|
|
5942
|
-
|
|
5960
|
+
/** 实例数据只在 LOADED 前准备一次,运行时绑定不再重新生成行。 */
|
|
5961
|
+
initialDataPrepared = false;
|
|
5962
|
+
/** 最近一次同步需求数量时使用的数量依赖。 */
|
|
5963
|
+
syncedMaterialNoNum;
|
|
5943
5964
|
/** 表单是否已暂存或提交(已处理过则不再跑初始化) */
|
|
5944
5965
|
get isDataProcessed() {
|
|
5945
5966
|
return ["STASH", "SUBMIT"].includes(this.dataStatus ?? "");
|
|
@@ -6317,23 +6338,36 @@ class MaterialConsumeTableController {
|
|
|
6317
6338
|
});
|
|
6318
6339
|
this.isScanOpen = false;
|
|
6319
6340
|
}
|
|
6320
|
-
/**
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6341
|
+
/** Store 创建前准备物料行和数量,全部 Sheet 的 LOADED 共用这份数据。 */
|
|
6342
|
+
prepareInitialData(opts) {
|
|
6343
|
+
if (this.initialDataPrepared) return;
|
|
6344
|
+
this.tableDataRef = toRef(opts.formState, opts.field, []);
|
|
6345
|
+
this.mainFormState = toRef(() => opts.formState);
|
|
6346
|
+
this.dataStatus = opts.dataStatus;
|
|
6347
|
+
this.initTableData(opts.defaultRowData);
|
|
6348
|
+
const rows = this.actualTableData;
|
|
6349
|
+
if (rows.length === 1 && !rows[0].product_id_) {
|
|
6350
|
+
MCDataUtil.setRowEditing(rows[0], true);
|
|
6351
|
+
}
|
|
6352
|
+
if (this.dataStatus !== "SUBMIT") {
|
|
6353
|
+
this.syncQtyRequiredFromBom();
|
|
6354
|
+
}
|
|
6355
|
+
this.syncedMaterialNoNum = this.materialNoNum;
|
|
6356
|
+
this.initialDataPrepared = true;
|
|
6357
|
+
}
|
|
6358
|
+
/** 数量依赖实际变化时才重算,避免首次绑定覆盖 LOADED 中的回填。 */
|
|
6359
|
+
syncQtyRequiredFromBomIfChanged() {
|
|
6360
|
+
if (this.dataStatus === "SUBMIT") return;
|
|
6361
|
+
const materialNoNum = this.materialNoNum;
|
|
6362
|
+
if (this.initialDataPrepared && Object.is(materialNoNum, this.syncedMaterialNoNum)) return;
|
|
6363
|
+
this.syncQtyRequiredFromBom();
|
|
6364
|
+
this.syncedMaterialNoNum = materialNoNum;
|
|
6365
|
+
}
|
|
6366
|
+
/** 只绑定运行时 Store,不重新生成行或修改行内容。 */
|
|
6324
6367
|
bindRuntime(opts) {
|
|
6325
6368
|
this.tableDataRef = opts.tableDataRef;
|
|
6326
6369
|
this.mainFormState = opts.mainFormState ?? ref({});
|
|
6327
6370
|
this.dataStatus = opts.dataStatus;
|
|
6328
|
-
if (this.runtimeBound) return;
|
|
6329
|
-
this.runtimeBound = true;
|
|
6330
|
-
this.initTableData(opts.defaultRowData);
|
|
6331
|
-
if (this.actualTableData.length === 1) {
|
|
6332
|
-
const firstRow = this.actualTableData[0];
|
|
6333
|
-
if (!firstRow.product_id_) {
|
|
6334
|
-
MCDataUtil.setRowEditing(firstRow, true);
|
|
6335
|
-
}
|
|
6336
|
-
}
|
|
6337
6371
|
}
|
|
6338
6372
|
/**
|
|
6339
6373
|
* 消耗表组件挂载时调用:只同步视图依赖,不初始化数据、不注册 watch。
|
|
@@ -6347,7 +6381,10 @@ class MaterialConsumeTableController {
|
|
|
6347
6381
|
* 按当前 materialNoNum 回写各行 qty_required_(校验侧 total 已通过 getter 实时读取)
|
|
6348
6382
|
*/
|
|
6349
6383
|
syncQtyRequiredFromBom() {
|
|
6350
|
-
if (this.tmplBom.required_qty_calc_rule_ === RequiredQtyCalcRule.Custom)
|
|
6384
|
+
if (this.tmplBom.required_qty_calc_rule_ === RequiredQtyCalcRule.Custom) {
|
|
6385
|
+
this.updateDerivedQtyFields();
|
|
6386
|
+
return;
|
|
6387
|
+
}
|
|
6351
6388
|
this.actualTableData.forEach((row) => {
|
|
6352
6389
|
if (!row.product_id_) return;
|
|
6353
6390
|
const util = this.bomEntriesValidator.findUtilByProductId(row.product_id_);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { has, isEmpty, keyBy, pick, isNil, mapKeys, cloneDeep, flatMap, omit, merge, pickBy, isObject as isObject$1, defaults, groupBy,
|
|
1
|
+
import { has, isEmpty, keyBy, pick, isNil, mapKeys, cloneDeep, flatMap, omit, merge, pickBy, isObject as isObject$1, omitBy, defaults, groupBy, isEqual, get as get$1, last, first } from "lodash-es";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import { computed, defineComponent, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, vShow, createVNode, render as render$1, toRaw, inject, nextTick as nextTick$1, h as h$1, defineAsyncComponent, getCurrentInstance } from "vue";
|
|
4
4
|
import { api as api$1 } from "@gct-paas/api";
|
|
@@ -60795,11 +60795,18 @@ const transformUtils = {
|
|
|
60795
60795
|
/** 数据转成真实提交数据(二维表要平铺);layout 是所有 Sheet 的业务表汇总索引。 */
|
|
60796
60796
|
getSubmitFormData: (formData, layout) => {
|
|
60797
60797
|
const {
|
|
60798
|
+
subTableInfo = [],
|
|
60799
|
+
businessTableFields = [],
|
|
60798
60800
|
subTable2DList = [],
|
|
60799
60801
|
checkTable2DList = [],
|
|
60800
60802
|
materialConsumeTableList = []
|
|
60801
60803
|
} = layout || {};
|
|
60802
60804
|
const list2D = [...subTable2DList, ...checkTable2DList];
|
|
60805
|
+
const businessFields = new Set(businessTableFields);
|
|
60806
|
+
const fixedTableFields = new Set(
|
|
60807
|
+
subTableInfo.filter((table) => table.key === "newfixed").map((table) => table.field)
|
|
60808
|
+
);
|
|
60809
|
+
const structuralColumnFields = new Set(list2D.map((table) => table.colSubFieldKey));
|
|
60803
60810
|
bindRuntimeTableColumns(formData, list2D);
|
|
60804
60811
|
const filterKeys = [
|
|
60805
60812
|
"_DICT",
|
|
@@ -60817,6 +60824,15 @@ const transformUtils = {
|
|
|
60817
60824
|
if (isObject$1(value)) return !isEmpty(value);
|
|
60818
60825
|
return true;
|
|
60819
60826
|
});
|
|
60827
|
+
const hasSubTableSubmitData = (row) => (
|
|
60828
|
+
// __CHILDREN__ 包含嵌套业务记录,不能与客户端元数据一起忽略。
|
|
60829
|
+
Array.isArray(row.__CHILDREN__) && row.__CHILDREN__.some((child) => isObject$1(child) && hasSubTableSubmitData(child)) || hasBusinessData(
|
|
60830
|
+
omitBy(
|
|
60831
|
+
row,
|
|
60832
|
+
(_value, key) => key.startsWith("_") || key.endsWith("_lb_") || key === "deleted_" || key === "delete_"
|
|
60833
|
+
)
|
|
60834
|
+
)
|
|
60835
|
+
);
|
|
60820
60836
|
const realFormData = Object.keys(formData).reduce((acc, fieldKey) => {
|
|
60821
60837
|
const info = list2D.find(
|
|
60822
60838
|
(item) => (item.subTable2d || item.checkTable2d) && item.rowSubFieldKey === fieldKey
|
|
@@ -60874,6 +60890,8 @@ const transformUtils = {
|
|
|
60874
60890
|
);
|
|
60875
60891
|
acc[fieldKey] = arr;
|
|
60876
60892
|
} else if (Array.isArray(formData[fieldKey])) {
|
|
60893
|
+
const shouldFilterEmptyRows = businessFields.has(fieldKey) && !structuralColumnFields.has(fieldKey);
|
|
60894
|
+
const preserveFixedRowPositions = shouldFilterEmptyRows && fixedTableFields.has(fieldKey) && formData[fieldKey].some(hasSubTableSubmitData);
|
|
60877
60895
|
acc[fieldKey] = formData[fieldKey].map(
|
|
60878
60896
|
(item) => Object.fromEntries(
|
|
60879
60897
|
Object.entries(item).filter(([key, value]) => {
|
|
@@ -60882,6 +60900,8 @@ const transformUtils = {
|
|
|
60882
60900
|
return true;
|
|
60883
60901
|
})
|
|
60884
60902
|
)
|
|
60903
|
+
).filter(
|
|
60904
|
+
(row) => !shouldFilterEmptyRows || preserveFixedRowPositions || hasSubTableSubmitData(row)
|
|
60885
60905
|
);
|
|
60886
60906
|
} else {
|
|
60887
60907
|
acc[fieldKey] = formData[fieldKey];
|
|
@@ -63145,7 +63165,7 @@ const renderUtils = {
|
|
|
63145
63165
|
case FIELD_TYPE.ORG_MULTI:
|
|
63146
63166
|
return defaultOrgId;
|
|
63147
63167
|
case FIELD_TYPE.MATERIAL_NO:
|
|
63148
|
-
return mainMaterialNo;
|
|
63168
|
+
return bizType === FIELD_TYPE.MATERIAL_CONTAINER ? defaultValue : mainMaterialNo;
|
|
63149
63169
|
case FIELD_TYPE.RELATED_LOT_NO:
|
|
63150
63170
|
return mainRelatedLotNo;
|
|
63151
63171
|
case FIELD_TYPE.PRODUCT:
|
|
@@ -68179,27 +68199,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
68179
68199
|
case "revo-grid":
|
|
68180
68200
|
return import(
|
|
68181
68201
|
/* webpackMode: "lazy" */
|
|
68182
|
-
"./revo-grid.entry-
|
|
68202
|
+
"./revo-grid.entry-CJ1rhBKH.js"
|
|
68183
68203
|
).then(processMod, consoleError);
|
|
68184
68204
|
case "revogr-filter-panel":
|
|
68185
68205
|
return import(
|
|
68186
68206
|
/* webpackMode: "lazy" */
|
|
68187
|
-
"./revogr-filter-panel.entry-
|
|
68207
|
+
"./revogr-filter-panel.entry-jp8iD-xn.js"
|
|
68188
68208
|
).then(processMod, consoleError);
|
|
68189
68209
|
case "revogr-attribution_7":
|
|
68190
68210
|
return import(
|
|
68191
68211
|
/* webpackMode: "lazy" */
|
|
68192
|
-
"./revogr-attribution_7.entry-
|
|
68212
|
+
"./revogr-attribution_7.entry-Ba9MJ5p9.js"
|
|
68193
68213
|
).then(processMod, consoleError);
|
|
68194
68214
|
case "revogr-clipboard_3":
|
|
68195
68215
|
return import(
|
|
68196
68216
|
/* webpackMode: "lazy" */
|
|
68197
|
-
"./revogr-clipboard_3.entry-
|
|
68217
|
+
"./revogr-clipboard_3.entry--neB-vq8.js"
|
|
68198
68218
|
).then(processMod, consoleError);
|
|
68199
68219
|
case "revogr-data_4":
|
|
68200
68220
|
return import(
|
|
68201
68221
|
/* webpackMode: "lazy" */
|
|
68202
|
-
"./revogr-data_4.entry-
|
|
68222
|
+
"./revogr-data_4.entry-BcmetTvO.js"
|
|
68203
68223
|
).then(processMod, consoleError);
|
|
68204
68224
|
}
|
|
68205
68225
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ea as EDIT_INPUT_WR, eb as keyValues, e2 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
1
|
+
import { ea as EDIT_INPUT_WR, eb as keyValues, e2 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|
package/dist/excel.css
CHANGED
|
@@ -3007,7 +3007,7 @@ img[data-v-57e657ee] {
|
|
|
3007
3007
|
.dynamic-area__title[data-v-6c0ae9f8] {
|
|
3008
3008
|
padding-right: 6px;
|
|
3009
3009
|
}
|
|
3010
|
-
.dynamic-area__title[data-v-
|
|
3010
|
+
.dynamic-area__title[data-v-4309310b] {
|
|
3011
3011
|
padding-right: 6px;
|
|
3012
3012
|
}
|
|
3013
3013
|
.data-group__copy[data-v-d28554d6] {
|
|
@@ -22738,11 +22738,11 @@ svg[data-v-9a7c8184] {
|
|
|
22738
22738
|
.base-vxe-search-form-container .ant-input-affix-wrapper[data-v-ac7544a5] .ant-input {
|
|
22739
22739
|
background: #f6f8fa;
|
|
22740
22740
|
}
|
|
22741
|
-
.allocate-part__dropdown[data-v-
|
|
22741
|
+
.allocate-part__dropdown[data-v-6c8bafae] {
|
|
22742
22742
|
height: 520px;
|
|
22743
22743
|
padding: 6px 10px;
|
|
22744
22744
|
}
|
|
22745
|
-
.search-more[data-v-
|
|
22745
|
+
.search-more[data-v-fefa9ebf] {
|
|
22746
22746
|
display: flex;
|
|
22747
22747
|
justify-content: center;
|
|
22748
22748
|
align-items: center;
|
|
@@ -22753,7 +22753,7 @@ svg[data-v-9a7c8184] {
|
|
|
22753
22753
|
margin-top: 4px;
|
|
22754
22754
|
padding-top: 4px;
|
|
22755
22755
|
}
|
|
22756
|
-
.search-more[data-v-
|
|
22756
|
+
.search-more[data-v-104db85d] {
|
|
22757
22757
|
display: flex;
|
|
22758
22758
|
align-items: center;
|
|
22759
22759
|
justify-content: center;
|
|
@@ -22764,22 +22764,22 @@ svg[data-v-9a7c8184] {
|
|
|
22764
22764
|
font-size: 14px;
|
|
22765
22765
|
line-height: 24px;
|
|
22766
22766
|
}
|
|
22767
|
-
.trace-device__dropdown[data-v-
|
|
22767
|
+
.trace-device__dropdown[data-v-104db85d] {
|
|
22768
22768
|
height: 568px;
|
|
22769
22769
|
padding: 6px 10px;
|
|
22770
22770
|
}
|
|
22771
|
-
.trace-device__search-form[data-v-
|
|
22771
|
+
.trace-device__search-form[data-v-104db85d] {
|
|
22772
22772
|
height: 44px;
|
|
22773
22773
|
}
|
|
22774
|
-
.trace-device__search-form[data-v-
|
|
22774
|
+
.trace-device__search-form[data-v-104db85d] .ant-select-selector {
|
|
22775
22775
|
width: 259px;
|
|
22776
22776
|
}
|
|
22777
|
-
.trace-device__search-form .ant-input-affix-wrapper[data-v-
|
|
22777
|
+
.trace-device__search-form .ant-input-affix-wrapper[data-v-104db85d] {
|
|
22778
22778
|
height: 32px;
|
|
22779
22779
|
border: none;
|
|
22780
22780
|
background: #f6f8fa;
|
|
22781
22781
|
}
|
|
22782
|
-
.trace-device__search-form .ant-input-affix-wrapper[data-v-
|
|
22782
|
+
.trace-device__search-form .ant-input-affix-wrapper[data-v-104db85d] .ant-input {
|
|
22783
22783
|
background: #f6f8fa;
|
|
22784
22784
|
}
|
|
22785
22785
|
.content-highlight[data-v-b2337210]::after {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
-
import { c as commonjsRequire } from "./index-
|
|
1
|
+
import { V as commonjsGlobal, W as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
2
|
+
import { c as commonjsRequire } from "./index-D1KO6u1Z.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-BM2D1Kjn.js";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
|
-
import { z as _sfc_main$1, C as ColorPicker } from "./index-
|
|
5
|
-
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
4
|
+
import { z as _sfc_main$1, C as ColorPicker } from "./index-D1KO6u1Z.js";
|
|
5
|
+
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, normalizeStyle } from "vue";
|
|
2
|
-
import { u as useWebUpload } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
3
|
-
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { u as useWebUpload } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js";
|
|
3
|
+
import { ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
4
4
|
const _hoisted_1 = ["src"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "image-design",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { pick, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { k as isCellAutoLineBreak } from "./dynamic-table-action-
|
|
4
|
-
import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-D1KO6u1Z.js";
|
|
3
|
+
import { k as isCellAutoLineBreak } from "./dynamic-table-action-DPgnmGmu.js";
|
|
4
|
+
import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "@gct-paas/form-base";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, aE as DecimalDisplayMode, aA as RangeCompareOp, az as RangeValidateMode, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, aE as DecimalDisplayMode, aA as RangeCompareOp, az as RangeValidateMode, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
8
8
|
class InputNumber extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Inputnumber;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
8
8
|
class Textarea extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Textarea;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, aA as RangeCompareOp, az as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, aA as RangeCompareOp, az as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
8
8
|
class Datepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Datepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
3
|
-
import { C as ComponentTypeEnum, O as Orientation, a5 as BooleanShowMode, a4 as LabelPosition, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-DPgnmGmu.js";
|
|
3
|
+
import { C as ComponentTypeEnum, O as Orientation, a5 as BooleanShowMode, a4 as LabelPosition, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
9
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { g as getFieldWidget } from "./index-D1KO6u1Z.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, aE as DecimalDisplayMode, aA as RangeCompareOp, az as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, aE as DecimalDisplayMode, aA as RangeCompareOp, az as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
8
8
|
class InputDouble extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.InputDouble;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick, omit, merge } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation, a4 as LabelPosition, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a4 as LabelPosition, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-ClKLQPlb.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-D1KO6u1Z.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|