@gct-paas/excel 0.1.39-beta.11 → 0.1.39-beta.13
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-DD4LDp1n.js → BaseComponent-DYI4qqzL.js} +2 -2
- package/dist/{VueVideoPlayer-4DekRqdD.js → VueVideoPlayer-rLEjwJD1.js} +2 -2
- package/dist/{align-editor-CIX4Rrsu.js → align-editor-CThA5sqY.js} +1 -1
- package/dist/{barcode-design-Dn-gX9GM.js → barcode-design-Bx-TEInB.js} +2 -2
- package/dist/base/index.es.js +16 -7
- package/dist/{diagonal-design-DV9k2Etq.js → diagonal-design-Dlu8b6pz.js} +2 -2
- package/dist/{dynamic-table-action-eba__tU0.js → dynamic-table-action-CjlAOYol.js} +4 -4
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BLw_6wwg.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js} +20 -5
- package/dist/{edit.utils-CXmmCnxE-C3z8OkUI.js → edit.utils-CXmmCnxE-wVxZBX2T.js} +1 -1
- package/dist/excel.css +260 -161
- package/dist/{exceljs.min-owy1KJaV.js → exceljs.min-CCjcl8vL.js} +2 -2
- package/dist/{font-editor-MmsbsBDL.js → font-editor-B803iMOp.js} +3 -3
- package/dist/{image-design-BiqnMucs.js → image-design-CEQehKo3.js} +2 -2
- package/dist/{index-BVWDRLWZ.js → index-8nOujRP9.js} +2 -2
- package/dist/{index-CHgHFEqC.js → index-BI8BFTVe.js} +1 -1
- package/dist/{index-V9N1ZqDQ.js → index-BJB8oPhB.js} +2 -2
- package/dist/{index-tPtqInyF.js → index-BloYiyGP.js} +1 -1
- package/dist/{index-jRu9XYcy.js → index-Bmu5UBrR.js} +2 -2
- package/dist/{index-DcgZMsRI.js → index-BnJE3Jvl.js} +2 -2
- package/dist/{index-qCD6xLhX.js → index-Bx58TcRX.js} +2 -2
- package/dist/{index-ClLFatlo.js → index-BxBjo_MG.js} +1 -1
- package/dist/{index-CpLgYWth.js → index-C-BsWsKr.js} +2 -2
- package/dist/{index-e8M3CfRR.js → index-C-jU7CLN.js} +485 -437
- package/dist/{index-B-e6Kihk.js → index-C5Pq2veg.js} +2 -2
- package/dist/{index-w0e3f1tE.js → index-C8xKDyeD.js} +1 -1
- package/dist/{index-CsO0OYyu.js → index-CWAZwdL9.js} +2 -2
- package/dist/{index-C5Latipd.js → index-CXQRI3Yu.js} +1 -1
- package/dist/{index-ByIi1RJW.js → index-C_9ArFTt.js} +1 -1
- package/dist/{index-DiRArs8U.js → index-C_RrYJgN.js} +2 -2
- package/dist/{index-Bv7iaCJj.js → index-CdLHGNRD.js} +2 -2
- package/dist/{index-CQNHhNL1.js → index-CqILMFSv.js} +4 -4
- package/dist/{index-JS-FVx4n.js → index-CsLzB99Y.js} +2 -2
- package/dist/{index-Cpab65SE.js → index-Cvk0VEgJ.js} +2 -2
- package/dist/{index-wA6cn_up.js → index-CwfHk2PA.js} +2 -2
- package/dist/{index-DZLAoFoR.js → index-D988RFRH.js} +1 -1
- package/dist/{index-ggSmw_Nu.js → index-D9W8DiB6.js} +2 -2
- package/dist/{index-DtIe3wc5.js → index-DDm5el4N.js} +1 -1
- package/dist/{index-C-VMvGfb.js → index-DazXbtSG.js} +2 -2
- package/dist/{index-B1OoCza6.js → index-Do1tj0Bc.js} +3 -3
- package/dist/{index-DcKgjW9I.js → index-GnYi1hwL.js} +1 -1
- package/dist/{index-bw-kdRhV.js → index-HkaMnEt0.js} +2 -2
- package/dist/{index-DSexWSnr.js → index-JxXoUWgI.js} +2 -2
- package/dist/{index-DPNyf4cT.js → index-Q9mNyPx_.js} +4 -4
- package/dist/{index-BDORrzH1.js → index-RBXxr4Qh.js} +2 -2
- package/dist/{index-K9NcSlYx.js → index-_2mog-va.js} +3 -3
- package/dist/{index-DImWs6MW.js → index-otXN6GGD.js} +1 -1
- package/dist/{index-DjZv4nuy.js → index-r8MHld7R.js} +3 -3
- package/dist/{index-81qnvwlE.js → index-sNY91CeR.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-Cg1jp9G0.js → mb-render-BqkWBMtI.js} +8 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B4sjJ1pf.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B9dH3NoS.js} +1 -1
- package/dist/{pagination-design-DSf8uUvV.js → pagination-design-CHBQDrJ6.js} +2 -2
- package/dist/paper-widget-design-Ci7FL8J0.js +4 -0
- package/dist/{print-runtime-instance-DurRHpiW.js → print-runtime-instance-BoDS0QM3.js} +1 -1
- package/dist/{print-snapshot-renderer-CGjb7n5x.js → print-snapshot-renderer-BtZeqGbF.js} +3 -3
- package/dist/{qrcode-design-CAhJUkWv.js → qrcode-design-Dkt8uzFv.js} +1 -1
- package/dist/{revo-grid.entry-C-d6JxHO.js → revo-grid.entry-D1QKkvpp.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CEmwC2qj.js → revogr-attribution_7.entry-CRCtX47l.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-SinmTCuk.js → revogr-clipboard_3.entry-elrA4DUz.js} +2 -2
- package/dist/{revogr-data_4.entry-BFMPGhkG.js → revogr-data_4.entry-bZYGKHyL.js} +2 -2
- package/dist/{revogr-filter-panel.entry-CRhsxkJ5.js → revogr-filter-panel.entry-B_d9G-hl.js} +1 -1
- package/dist/seal-design-Kj9LCBXM.js +4 -0
- package/dist/{serialnumber-design-DFrw9aMl.js → serialnumber-design-MJSy7jsx.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-D5pPJfWf.js → single-field-drop-Dx9Bkctc.js} +2 -2
- package/dist/{size-editor-BEJHhTPS.js → size-editor-6IH71VxK.js} +1 -1
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/transform.d.ts +8 -0
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
- package/dist/{sub-table-factory-B3KBbZsY.js → sub-table-factory-D0VDajmZ.js} +2 -2
- package/dist/{text-design-CJhcSRF9.js → text-design-Cc0AS9yt.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BrHInZAq.js → throttle-Cpk1LoGk-mAa23iVE.js} +1 -1
- package/dist/{timediff-design-Di90S4w3.js → timediff-design-svW4L_Q7.js} +1 -1
- package/dist/{trace-like-wrapper-BVcK30RS.js → trace-like-wrapper-CV3kxfYG.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CSdqlors.js → value-editor.vue_vue_type_style_index_0_lang-D6W9v2g5.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CS7s22AA.js → widget-barcode-HlPyhPz_.js} +4 -4
- package/dist/{widget-diagonal-B_ElDgMy.js → widget-diagonal-9QzWJZsi.js} +3 -3
- package/dist/{widget-image-CqvGjdH2.js → widget-image-BenRQetq.js} +5 -5
- package/dist/{widget-line-CBXxpl7f.js → widget-line-C4IsrQqD.js} +2 -2
- package/dist/{widget-pagination-DcPVAkyB.js → widget-pagination-DP0UUtWe.js} +5 -5
- package/dist/{widget-power-Cq2O_Nhv.js → widget-power-DyRnfNln.js} +3 -3
- package/dist/{widget-qrcode-nH4o7lHq.js → widget-qrcode-CI6kPHa3.js} +3 -3
- package/dist/{widget-rangelimit-BFk1XcbP.js → widget-rangelimit-CjGIQJBL.js} +3 -3
- package/dist/{widget-serialnumber-CkYwampF.js → widget-serialnumber-BVrvUWYB.js} +1 -1
- package/dist/{widget-text-C0OIisGK.js → widget-text-DWGBgVbr.js} +5 -5
- package/dist/{widget-timediff-CeImFor9.js → widget-timediff-C0VgCS5g.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-YsuYJgiL.js +0 -4
- package/dist/seal-design-DMoxaJpb.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-CjlAOYol.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-DZTbBLX8.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-DZTbBLX8.js";
|
|
3
|
+
import { r as require$$0 } from "./index-RBXxr4Qh.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-DZTbBLX8.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-C-jU7CLN.js";
|
|
4
|
+
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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, bj as getRowId, bk as findRuntimeTableRow, b9 as RenderModeEnum, C as ComponentTypeEnum, bw as assembleRules, bx as isAttachFieldActive, aI as Dependency_ENUM, bl as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, by as fetchHistoryConsume, bz as isBomGranted, aW as renderUtils, bv as uuid2, bA as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bB as baseDataUtils, bC as initializeSealFields, Y as FormTypeEnum, bD as normalizeToArray, bE as safeParseArray, bF as BpmnNodeTypeEnum, bG as mergeByMultiKey, a8 as _export_sfc, bH as evaluateInspectionDecisionRule, bI as areValidationCommentsEqual, bJ as useNocodeEmitter, bK as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { aO, aQ, b0, a1, bL, bM, B, bN, y, ai, bO, bP, bQ, bi, bR, aT, ay, aP, aM, aN, bS, aj, an, bT, bU, aG, a3, ah, az, aR, a0, al, L, bV, bW, bX, O, p, P, aa, o, Q, A, bY, bZ, ax, aw, a6, a2, a4, a5, a7, f, b_, am, aq, ak, b$, c0, c1, c2, bh, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bm, cd, ce, aZ, cf, b1, b2, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b3, bf, cr, cs, ct, ao, t, aS, cu, cv, bn, 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, bj as getRowId, bk as findRuntimeTableRow, b9 as RenderModeEnum, C as ComponentTypeEnum, bw as assembleRules, bx as isAttachFieldActive, aI as Dependency_ENUM, bl as calculateFormula, aH as ASSIGNMENTSTRATEGY_ENUM, R as getParseFormulaVarInfos, by as fetchHistoryConsume, bz as isBomGranted, aW as renderUtils, bv as uuid2, bA as parseFrontConfig, aL as CheckDsTypeEnum, aF as transformUtils, bB as baseDataUtils, bC as initializeSealFields, Y as FormTypeEnum, bD as normalizeToArray, bE as safeParseArray, bF as BpmnNodeTypeEnum, bG as mergeByMultiKey, a8 as _export_sfc, bH as evaluateInspectionDecisionRule, bI as areValidationCommentsEqual, bJ as useNocodeEmitter, bK as commonUtils, aJ as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js";
|
|
2
|
+
import { aO, aQ, b0, a1, bL, bM, B, bN, y, ai, bO, bP, bQ, bi, bR, aT, ay, aP, aM, aN, bS, aj, an, bT, bU, aG, a3, ah, az, aR, a0, al, L, bV, bW, bX, O, p, P, aa, o, Q, A, bY, bZ, ax, aw, a6, a2, a4, a5, a7, f, b_, am, aq, ak, b$, c0, c1, c2, bh, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, bm, cd, ce, aZ, cf, b1, b2, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, aY, cq, b3, bf, cr, cs, ct, ao, t, aS, cu, cv, bn, a_ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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-CjlAOYol.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-CjlAOYol.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 b4, 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-D0VDajmZ.js";
|
|
9
|
+
import { A as A3, D, M as M2, a as a10, P as P2, b as b4, c as c10, d as d2, e as e2, W, f as f3, g, h as h2 } from "../sub-table-factory-D0VDajmZ.js";
|
|
10
|
+
import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-BqkWBMtI.js";
|
|
11
11
|
const InstanceStatusValues = {
|
|
12
12
|
/** 作废状态 */
|
|
13
13
|
ABANDON: "ABANDON",
|
|
@@ -1458,6 +1458,15 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
|
|
|
1458
1458
|
});
|
|
1459
1459
|
initializeSealFields(floatingFields, formState);
|
|
1460
1460
|
}
|
|
1461
|
+
await transformUtils.getEventInitDataLoaded({
|
|
1462
|
+
formConfig: runtimeContext.formConfig,
|
|
1463
|
+
formState,
|
|
1464
|
+
viewMode: fillModeType,
|
|
1465
|
+
dataStatus: selfInfo.dataStatus,
|
|
1466
|
+
ofCtx: { formPrint: payload.formPrint, id: result.id }
|
|
1467
|
+
}).catch((error) => {
|
|
1468
|
+
console.error("Error in getEventInitDataLoaded:", error);
|
|
1469
|
+
});
|
|
1461
1470
|
runtimeFormStateStore = new RuntimeFormStateStore(
|
|
1462
1471
|
formState,
|
|
1463
1472
|
// 子表信息覆盖普通/固定/检验表、二维关联列以及各类业务表;不能只依赖已放置字段。
|
|
@@ -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-C-jU7CLN.js";
|
|
3
|
+
import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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, b9 as RenderModeEnum, Y as FormTypeEnum, bF as BpmnNodeTypeEnum, cw as getFieldPlaceholder, bW as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cx as isReferenceOptionActive, E as api, bv as uuid2, c4 as calcUtils, bk as findRuntimeTableRow, c8 as ensureTableRowKeys, c1 as bindRuntimeTableColumns, bj as getRowId, cy as FRONT_ROW_KEY, cn as isTableRowKeyMatch, bx as isAttachFieldActive, cz as filterRulesByTrigger, cA as isEmptyValue$1, c5 as decodeTableCellRowKey, c7 as ensureFrontRowKey, b1 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bo as FormulaRuleFieldKeyEnum, f as SubTableType, b2 as getParseRuleValue, cB as buildError, H as CreateType, bm as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bK as commonUtils, aM as DeviceLink, a8 as _export_sfc, ch as getRenderedRuntimeTableCell, y as CellType, cr as relocateDeletedRowsToEnd, cC as resetTableRowIdentity, J as useModal, cD as q, cE as QUICK_FILL_ALLOWED_FIELDS, cF as groupFixedTableRows, cG as processQuickFillRows, cH as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { ai as CellWidgetViewState, F as FIELD_TYPE, b9 as RenderModeEnum, Y as FormTypeEnum, bF as BpmnNodeTypeEnum, cw as getFieldPlaceholder, bW as MobileFillTypeEnum, C as ComponentTypeEnum, $ as PlatformEnum, cx as isReferenceOptionActive, E as api, bv as uuid2, c4 as calcUtils, bk as findRuntimeTableRow, c8 as ensureTableRowKeys, c1 as bindRuntimeTableColumns, bj as getRowId, cy as FRONT_ROW_KEY, cn as isTableRowKeyMatch, bx as isAttachFieldActive, cz as filterRulesByTrigger, cA as isEmptyValue$1, c5 as decodeTableCellRowKey, c7 as ensureFrontRowKey, b1 as getParseRuleInfo, aF as transformUtils, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, bo as FormulaRuleFieldKeyEnum, f as SubTableType, b2 as getParseRuleValue, cB as buildError, H as CreateType, bm as findRuntimeParentRow, aI as Dependency_ENUM, aH as ASSIGNMENTSTRATEGY_ENUM, bK as commonUtils, aM as DeviceLink, a8 as _export_sfc, ch as getRenderedRuntimeTableCell, y as CellType, cr as relocateDeletedRowsToEnd, cC as resetTableRowIdentity, J as useModal, cD as q, cE as QUICK_FILL_ALLOWED_FIELDS, cF as groupFixedTableRows, cG as processQuickFillRows, cH as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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-BqkWBMtI.js";
|
|
8
8
|
var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
|
|
9
9
|
MaterialConsumptionPatternEnum2["RECORD"] = "record";
|
|
10
10
|
MaterialConsumptionPatternEnum2["BOM"] = "bom";
|
|
@@ -9414,7 +9414,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9414
9414
|
createElementVNode("i", { class: "iconfont icon-zhuyi" }),
|
|
9415
9415
|
createElementVNode("ul", { class: "tips-list" }, [
|
|
9416
9416
|
createElementVNode("li", null, "可将Excel内容粘贴到表格中,支持使用复制、粘贴、删除快捷键"),
|
|
9417
|
-
createElementVNode("li", null, "
|
|
9417
|
+
createElementVNode("li", null, " 表单中支持快速填报的字段类型:文本、长文本、整数、长整数、小数、精度小数、日期、时间、日期时间、批次/SN、报废物料批次、枚举单选、枚举多选(选项间以“,”分割) ")
|
|
9418
9418
|
])
|
|
9419
9419
|
], -1)),
|
|
9420
9420
|
createElementVNode("div", {
|
|
@@ -9439,7 +9439,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
9439
9439
|
};
|
|
9440
9440
|
}
|
|
9441
9441
|
});
|
|
9442
|
-
const FixedQuickFillModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
9442
|
+
const FixedQuickFillModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-58540cb3"]]);
|
|
9443
9443
|
const _hoisted_1$1 = {
|
|
9444
9444
|
key: 1,
|
|
9445
9445
|
class: "sub-table-action__subtitle"
|
|
@@ -60302,6 +60302,21 @@ const transformUtils = {
|
|
|
60302
60302
|
}
|
|
60303
60303
|
return {};
|
|
60304
60304
|
},
|
|
60305
|
+
/** 数据加载完成事件;全部 Sheet 的数据合并后、创建 Store 和分页前只执行一次。 */
|
|
60306
|
+
getEventInitDataLoaded: async (payload) => {
|
|
60307
|
+
const { formConfig, formState, viewMode, dataStatus, ofCtx } = payload;
|
|
60308
|
+
if (viewMode !== RenderModeEnum.FormMode || !formConfig?.javascript) return;
|
|
60309
|
+
const codeInstance = setCodeRunner(formConfig.javascript, formState, ofCtx);
|
|
60310
|
+
try {
|
|
60311
|
+
if (typeof codeInstance.exports?.GCT_BUILT_IN_DATA_LOADED !== "function") return;
|
|
60312
|
+
await codeInstance.invoke("GCT_BUILT_IN_DATA_LOADED", {
|
|
60313
|
+
isDataProcessed: dataStatus === "STASH" || dataStatus === "SUBMIT",
|
|
60314
|
+
formState
|
|
60315
|
+
});
|
|
60316
|
+
} finally {
|
|
60317
|
+
codeInstance.dispose();
|
|
60318
|
+
}
|
|
60319
|
+
},
|
|
60305
60320
|
/** 创建字段事件执行器;注册后由 RuntimeInstanceRecord 持有,全部 Sheet 共用。 */
|
|
60306
60321
|
createScriptRunner: (payload) => {
|
|
60307
60322
|
const { formConfig, viewMode, ofCtx } = payload || {};
|
|
@@ -67173,27 +67188,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
67173
67188
|
case "revo-grid":
|
|
67174
67189
|
return import(
|
|
67175
67190
|
/* webpackMode: "lazy" */
|
|
67176
|
-
"./revo-grid.entry-
|
|
67191
|
+
"./revo-grid.entry-D1QKkvpp.js"
|
|
67177
67192
|
).then(processMod, consoleError);
|
|
67178
67193
|
case "revogr-filter-panel":
|
|
67179
67194
|
return import(
|
|
67180
67195
|
/* webpackMode: "lazy" */
|
|
67181
|
-
"./revogr-filter-panel.entry-
|
|
67196
|
+
"./revogr-filter-panel.entry-B_d9G-hl.js"
|
|
67182
67197
|
).then(processMod, consoleError);
|
|
67183
67198
|
case "revogr-attribution_7":
|
|
67184
67199
|
return import(
|
|
67185
67200
|
/* webpackMode: "lazy" */
|
|
67186
|
-
"./revogr-attribution_7.entry-
|
|
67201
|
+
"./revogr-attribution_7.entry-CRCtX47l.js"
|
|
67187
67202
|
).then(processMod, consoleError);
|
|
67188
67203
|
case "revogr-clipboard_3":
|
|
67189
67204
|
return import(
|
|
67190
67205
|
/* webpackMode: "lazy" */
|
|
67191
|
-
"./revogr-clipboard_3.entry-
|
|
67206
|
+
"./revogr-clipboard_3.entry-elrA4DUz.js"
|
|
67192
67207
|
).then(processMod, consoleError);
|
|
67193
67208
|
case "revogr-data_4":
|
|
67194
67209
|
return import(
|
|
67195
67210
|
/* webpackMode: "lazy" */
|
|
67196
|
-
"./revogr-data_4.entry-
|
|
67211
|
+
"./revogr-data_4.entry-bZYGKHyL.js"
|
|
67197
67212
|
).then(processMod, consoleError);
|
|
67198
67213
|
}
|
|
67199
67214
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { eg as EDIT_INPUT_WR, eh as keyValues, e8 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { eg as EDIT_INPUT_WR, eh as keyValues, e8 as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js";
|
|
2
2
|
function isClear(code) {
|
|
3
3
|
return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
|
|
4
4
|
}
|