@gct-paas/excel 0.1.39-beta.11 → 0.1.39-beta.12
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-CQeGIU8p.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-BbE02y5_.js} +2 -2
- package/dist/base/index.es.js +16 -7
- package/dist/{diagonal-design-DV9k2Etq.js → diagonal-design-DZQrt-v_.js} +2 -2
- package/dist/{dynamic-table-action-eba__tU0.js → dynamic-table-action-Cdg8Hy-t.js} +2 -2
- 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/{exceljs.min-owy1KJaV.js → exceljs.min-DwhIyaO7.js} +2 -2
- package/dist/{font-editor-MmsbsBDL.js → font-editor-B3GIbv4S.js} +3 -3
- package/dist/{image-design-BiqnMucs.js → image-design-CEQehKo3.js} +2 -2
- package/dist/{index-C-VMvGfb.js → index-BI6u0ZVW.js} +2 -2
- package/dist/{index-CHgHFEqC.js → index-BI8BFTVe.js} +1 -1
- package/dist/{index-V9N1ZqDQ.js → index-BJqodofC.js} +2 -2
- package/dist/{index-B1OoCza6.js → index-BW3YmzMX.js} +3 -3
- package/dist/{index-DSexWSnr.js → index-BbKHEgre.js} +2 -2
- package/dist/{index-CsO0OYyu.js → index-BitAf62N.js} +2 -2
- package/dist/{index-tPtqInyF.js → index-BloYiyGP.js} +1 -1
- package/dist/{index-ClLFatlo.js → index-BxBjo_MG.js} +1 -1
- package/dist/{index-bw-kdRhV.js → index-C-uN_k-i.js} +2 -2
- package/dist/{index-K9NcSlYx.js → index-C6zjyYKG.js} +3 -3
- package/dist/{index-w0e3f1tE.js → index-C8xKDyeD.js} +1 -1
- package/dist/{index-e8M3CfRR.js → index-CThPUpH7.js} +54 -47
- package/dist/{index-C5Latipd.js → index-CXQRI3Yu.js} +1 -1
- package/dist/{index-ByIi1RJW.js → index-C_9ArFTt.js} +1 -1
- package/dist/{index-DPNyf4cT.js → index-CbkAoYTg.js} +4 -4
- package/dist/{index-CQNHhNL1.js → index-CcUoywNG.js} +3 -3
- package/dist/{index-B-e6Kihk.js → index-CcdVvUsf.js} +2 -2
- package/dist/{index-qCD6xLhX.js → index-Cji81RTX.js} +2 -2
- package/dist/{index-ggSmw_Nu.js → index-CoxSeGEM.js} +2 -2
- package/dist/{index-BVWDRLWZ.js → index-CxkU7yrf.js} +2 -2
- package/dist/{index-Cpab65SE.js → index-Cys--gir.js} +2 -2
- package/dist/{index-jRu9XYcy.js → index-D37kILWO.js} +2 -2
- package/dist/{index-JS-FVx4n.js → index-D8b8H_w9.js} +2 -2
- package/dist/{index-DZLAoFoR.js → index-D988RFRH.js} +1 -1
- package/dist/{index-DtIe3wc5.js → index-DDm5el4N.js} +1 -1
- package/dist/{index-wA6cn_up.js → index-DJBu0ym7.js} +2 -2
- package/dist/{index-81qnvwlE.js → index-DP8xXYmU.js} +2 -2
- package/dist/{index-DjZv4nuy.js → index-DWbhpvby.js} +3 -3
- package/dist/{index-DiRArs8U.js → index-DeLrWwgL.js} +2 -2
- package/dist/{index-DcgZMsRI.js → index-DoCSmHj_.js} +2 -2
- package/dist/{index-DcKgjW9I.js → index-GnYi1hwL.js} +1 -1
- package/dist/{index-CpLgYWth.js → index-Q8c3SkKZ.js} +2 -2
- package/dist/{index-BDORrzH1.js → index-RBXxr4Qh.js} +2 -2
- package/dist/{index-Bv7iaCJj.js → index-S65bdbnh.js} +2 -2
- package/dist/{index-DImWs6MW.js → index-otXN6GGD.js} +1 -1
- 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-0FTBRKzW.js} +2 -2
- package/dist/paper-widget-design-BH9Si0TW.js +4 -0
- package/dist/{print-runtime-instance-DurRHpiW.js → print-runtime-instance-D5TjwpeV.js} +1 -1
- package/dist/{print-snapshot-renderer-CGjb7n5x.js → print-snapshot-renderer-DNEOjRW-.js} +3 -3
- package/dist/{qrcode-design-CAhJUkWv.js → qrcode-design-OT6Z4V9Z.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-NVuZN4dp.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-rr28sCou.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/{sub-table-factory-B3KBbZsY.js → sub-table-factory-BAl-gp3D.js} +2 -2
- package/dist/{text-design-CJhcSRF9.js → text-design-B4rcjQk5.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-B9kC7UJM.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-CzZLSUF2.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CS7s22AA.js → widget-barcode-BUkD4Ywf.js} +4 -4
- package/dist/{widget-diagonal-B_ElDgMy.js → widget-diagonal-BXddll6h.js} +3 -3
- package/dist/{widget-image-CqvGjdH2.js → widget-image-jLS-uein.js} +5 -5
- package/dist/{widget-line-CBXxpl7f.js → widget-line-B8lk3foD.js} +2 -2
- package/dist/{widget-pagination-DcPVAkyB.js → widget-pagination-DNnUd76Y.js} +5 -5
- package/dist/{widget-power-Cq2O_Nhv.js → widget-power-jJzKF8hU.js} +3 -3
- package/dist/{widget-qrcode-nH4o7lHq.js → widget-qrcode-D_tARZf7.js} +3 -3
- package/dist/{widget-rangelimit-BFk1XcbP.js → widget-rangelimit-B4PR2NzB.js} +3 -3
- package/dist/{widget-serialnumber-CkYwampF.js → widget-serialnumber--_6hyHAp.js} +1 -1
- package/dist/{widget-text-C0OIisGK.js → widget-text-De9BjxIO.js} +5 -5
- package/dist/{widget-timediff-CeImFor9.js → widget-timediff-DIvbU9EP.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-Cdg8Hy-t.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-CThPUpH7.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-Cdg8Hy-t.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-Cdg8Hy-t.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-BAl-gp3D.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-BAl-gp3D.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-CThPUpH7.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";
|
|
@@ -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
|
}
|
|
@@ -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-DZTbBLX8.js";
|
|
2
|
+
import { c as commonjsRequire } from "./index-CThPUpH7.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-CThA5sqY.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-CThPUpH7.js";
|
|
5
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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-RBXxr4Qh.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-DZTbBLX8.js";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
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-DZTbBLX8.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-CQeGIU8p.js";
|
|
7
7
|
class Sign extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Sign;
|
|
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-DZTbBLX8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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-CQeGIU8p.js";
|
|
7
7
|
class Textarea extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Textarea;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
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-DZTbBLX8.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-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CQeGIU8p.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-B9kC7UJM.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.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-CQeGIU8p.js";
|
|
7
7
|
class Input extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Input;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -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-DZTbBLX8.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-CQeGIU8p.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, d0 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, d0 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty } from "lodash-es";
|
|
4
4
|
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-DZTbBLX8.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, 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-DZTbBLX8.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-CQeGIU8p.js";
|
|
7
7
|
class Datepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Datepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
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-DZTbBLX8.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-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-CQeGIU8p.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-B9kC7UJM.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
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-DZTbBLX8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as Vue from "vue";
|
|
2
2
|
import { createVNode, computed, unref, ref, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, normalizeClass, h, normalizeStyle, watchEffect, renderSlot, shallowRef, defineAsyncComponent, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, Teleport, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, onScopeDispose, useCssVars, onBeforeMount, createSlots, toRef, mergeDefaults, toHandlers, getCurrentInstance as getCurrentInstance$1, useAttrs, Transition, useModel, mergeModels as mergeModels$1, onErrorCaptured, markRaw } from "vue";
|
|
3
|
-
import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as SubTableType, h as getAllBusinessRefModelTypes, D as DateObjectContext, j as isBlank$1, F as FIELD_TYPE, k as isSameFieldValue$1, l as runDateObjectHandler, m as companionIdKey, n as companionLabelKey, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as ParamModelTypeEnum, E as api, G as FieldTypeToJs, H as CreateType, I as uuid2, J as useModal, K as requireEstraverse, M as commonjsGlobal, N as getDefaultExportFromCjs, Q as PaperWidgeValueType, R as getParseFormulaVarInfos, U as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, V as UniqueConstraintType, X as FieldDefaultValueTypeEnum, Y as FormTypeEnum, Z as mitt, _ as isDateObjectField, $ as PlatformEnum, a0 as LabelPosition, a1 as BooleanShowMode, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum, a8 as _export_sfc, a9 as normalizeFieldType, aa as PaperSizeMap, ab as clampSealPosition, ac as normalizeSealDiameter, ad as getFieldMain, ae as buildUUID, af as FieldIconMap, ag as BigNumber, ah as FieldSysVarDefaultValueEnum, ai as CellWidgetViewState, aj as DiagonalDirection, ak as WidgetImageSizeMode, al as LineDirection, am as TimeDiffFormat, an as DiagonalVertex, ao as resolveDiagonalVertex, ap as getThemeColorByTableType, aq as ViewTypeEnum, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as getAllTableProfiles, aF as transformUtils, aG as EmptySymbol, aH as ASSIGNMENTSTRATEGY_ENUM, aI as Dependency_ENUM, aJ as EntityModelCategoryEnum, aK as resolveLotDisplayLabel, aL as CheckDsTypeEnum, aM as DeviceLink, aN as DeviceParamsTypeTitle, aO as AITooltips, aP as DenoiseMethodOptions, aQ as BinarizeMethodOptions, aR as JoinModelTypeEum, aS as sqlUtils, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as ProductionIdentificationTypeEnum, b0 as BindCmpStyleEnum, b1 as getParseRuleInfo, b2 as getParseRuleValue, b3 as normalizeRefLoaderResult, b4 as STOCKTAKE_DIMENSION, b5 as F, b6 as resolveStocktakeSelectApi, b7 as readSealValue, b8 as isSealStamped, b9 as RenderModeEnum, ba as stampSealValue, bb as isValidSealValue, bc as clearSealValue, bd as normalizeProductionContainerOptions, be as buildProductionLotListQuery, bf as refUtils, bg as buildInspectionLotListQuery, bh as buildDeviceFilterQuery, bi as DEVICE_GROUP_QUERY_KEY, bj as getRowId, bk as findRuntimeTableRow, bl as calculateFormula, bm as findRuntimeParentRow, bn as useOnlineFormTransformField2Component, bo as FormulaRuleFieldKeyEnum, bp as formulaRuleFieldDict, bq as resolveDesignPanelFeatures, br as BIZ_TABLE_CONFIG_SEED_TYPES, bs as STOCKTAKE_DIMENSION_OPTIONS, bt as isRepeatingSubTablePanelType, bu as moveSealValue, bv as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as SubTableType, h as getAllBusinessRefModelTypes, D as DateObjectContext, j as isBlank$1, F as FIELD_TYPE, k as isSameFieldValue$1, l as runDateObjectHandler, m as companionIdKey, n as companionLabelKey, P as PaginationFormat, o as PaperWidgeType, B as BwipCodeType, L as LineType, p as PageSizeEnum, O as Orientation, s as src, T as TRACE_FIELD_TYPES, q as BUSINESS_FIELD_TYPES, t as resolveFieldRenderComponent, C as ComponentTypeEnum, u as parse$1, v as estraverse, w as Syntax, x as isDynamicCreateTarget, y as CellType, z as isDynamicCellSubTable, A as ParamModelTypeEnum, E as api, G as FieldTypeToJs, H as CreateType, I as uuid2, J as useModal, K as requireEstraverse, M as commonjsGlobal, N as getDefaultExportFromCjs, Q as PaperWidgeValueType, R as getParseFormulaVarInfos, U as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, V as UniqueConstraintType, X as FieldDefaultValueTypeEnum, Y as FormTypeEnum, Z as mitt, _ as isDateObjectField, $ as PlatformEnum, a0 as LabelPosition, a1 as BooleanShowMode, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum, a8 as _export_sfc, a9 as normalizeFieldType, aa as PaperSizeMap, ab as clampSealPosition, ac as normalizeSealDiameter, ad as getFieldMain, ae as buildUUID, af as FieldIconMap, ag as BigNumber, ah as FieldSysVarDefaultValueEnum, ai as CellWidgetViewState, aj as DiagonalDirection, ak as WidgetImageSizeMode, al as LineDirection, am as TimeDiffFormat, an as DiagonalVertex, ao as resolveDiagonalVertex, ap as getThemeColorByTableType, aq as ViewTypeEnum, ar as isDynamicSubTablePanelType, as as isFixedSubTablePanelType, at as ExpressionModeEnum, au as ReturnTypeEnum, av as ExpressionTabEnum, aw as RangeValidateMode, ax as RangeCompareOp, ay as DecimalDisplayMode$1, az as ImageDisplayModeEnum, aA as FormDesignEnum, aB as BASIC_FIELD_TYPES, aC as getExclusiveBusinessTypeTokens, aD as getSubTableTypeByRefModelType, aE as getAllTableProfiles, aF as transformUtils, aG as EmptySymbol, aH as ASSIGNMENTSTRATEGY_ENUM, aI as Dependency_ENUM, aJ as EntityModelCategoryEnum, aK as resolveLotDisplayLabel, aL as CheckDsTypeEnum, aM as DeviceLink, aN as DeviceParamsTypeTitle, aO as AITooltips, aP as DenoiseMethodOptions, aQ as BinarizeMethodOptions, aR as JoinModelTypeEum, aS as sqlUtils, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as ProductionIdentificationTypeEnum, b0 as BindCmpStyleEnum, b1 as getParseRuleInfo, b2 as getParseRuleValue, b3 as normalizeRefLoaderResult, b4 as STOCKTAKE_DIMENSION, b5 as F, b6 as resolveStocktakeSelectApi, b7 as readSealValue, b8 as isSealStamped, b9 as RenderModeEnum, ba as stampSealValue, bb as isValidSealValue, bc as clearSealValue, bd as normalizeProductionContainerOptions, be as buildProductionLotListQuery, bf as refUtils, bg as buildInspectionLotListQuery, bh as buildDeviceFilterQuery, bi as DEVICE_GROUP_QUERY_KEY, bj as getRowId, bk as findRuntimeTableRow, bl as calculateFormula, bm as findRuntimeParentRow, bn as useOnlineFormTransformField2Component, bo as FormulaRuleFieldKeyEnum, bp as formulaRuleFieldDict, bq as resolveDesignPanelFeatures, br as BIZ_TABLE_CONFIG_SEED_TYPES, bs as STOCKTAKE_DIMENSION_OPTIONS, bt as isRepeatingSubTablePanelType, bu as moveSealValue, bv as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js";
|
|
4
4
|
import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, debounce, isNil, times, clone as clone$3, differenceBy, last, mapValues, set as set$2, hasIn, isEqual } from "lodash-es";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, notification, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
8
|
-
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-
|
|
9
|
-
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
8
|
+
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-Cdg8Hy-t.js";
|
|
9
|
+
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B9dH3NoS.js";
|
|
10
10
|
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
11
|
-
import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-
|
|
11
|
+
import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-RBXxr4Qh.js";
|
|
12
12
|
import { useFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
13
13
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
14
|
-
import { u as useFormModel, F as FormModelController } from "./mb-render-
|
|
14
|
+
import { u as useFormModel, F as FormModelController } from "./mb-render-BqkWBMtI.js";
|
|
15
15
|
import { HttpUtil } from "@gct-paas/api";
|
|
16
16
|
import { useModal as useModal$1, t as t$2 } from "@gct-paas/core";
|
|
17
17
|
import { useRoute } from "vue-router";
|
|
@@ -1930,7 +1930,7 @@ function openWindow(url, opt) {
|
|
|
1930
1930
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
1931
1931
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
1932
1932
|
async function createWorkbook() {
|
|
1933
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
1933
|
+
const ExcelJs = (await import("./exceljs.min-DwhIyaO7.js").then((n) => n.e)).default;
|
|
1934
1934
|
return new ExcelJs.Workbook();
|
|
1935
1935
|
}
|
|
1936
1936
|
class XlsxParser {
|
|
@@ -2258,39 +2258,39 @@ class XlsxParser {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
function asyncImportClassModules() {
|
|
2260
2260
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2261
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2262
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2263
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2264
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2265
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2266
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2267
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2268
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2269
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2270
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2271
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2272
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2273
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2274
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2275
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2276
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2277
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2278
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2279
|
-
"./_widget_/barcode/index.ts": () => import("./index-
|
|
2280
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2281
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2282
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2283
|
-
"./_widget_/image/index.ts": () => import("./index-
|
|
2284
|
-
"./_widget_/line/index.ts": () => import("./index-
|
|
2285
|
-
"./_widget_/power/index.ts": () => import("./index-
|
|
2286
|
-
"./_widget_/qrcode/index.ts": () => import("./index-
|
|
2287
|
-
"./_widget_/ro/index.ts": () => import("./index-
|
|
2288
|
-
"./_widget_/serialnumber/index.ts": () => import("./index-
|
|
2289
|
-
"./_widget_/sub-table/index.ts": () => import("./index-
|
|
2290
|
-
"./_widget_/timediff/index.ts": () => import("./index-
|
|
2291
|
-
"./paper/index.ts": () => import("./index-
|
|
2292
|
-
"./td/index.ts": () => import("./index-
|
|
2293
|
-
"./tr/index.ts": () => import("./index-
|
|
2261
|
+
"./_field_/auto-complete/index.ts": () => import("./index-BW3YmzMX.js").then((m) => m["default"]),
|
|
2262
|
+
"./_field_/datepicker/index.ts": () => import("./index-C-uN_k-i.js").then((m) => m["default"]),
|
|
2263
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-DP8xXYmU.js").then((m) => m["default"]),
|
|
2264
|
+
"./_field_/department/index.ts": () => import("./index-Cys--gir.js").then((m) => m["default"]),
|
|
2265
|
+
"./_field_/enum-select/index.ts": () => import("./index-CcUoywNG.js").then((m) => m["default"]),
|
|
2266
|
+
"./_field_/input/index.ts": () => import("./index-BbKHEgre.js").then((m) => m["default"]),
|
|
2267
|
+
"./_field_/inputdouble/index.ts": () => import("./index-DoCSmHj_.js").then((m) => m["default"]),
|
|
2268
|
+
"./_field_/inputnumber/index.ts": () => import("./index-D37kILWO.js").then((m) => m["default"]),
|
|
2269
|
+
"./_field_/rdo-select/index.ts": () => import("./index-C6zjyYKG.js").then((m) => m["default"]),
|
|
2270
|
+
"./_field_/seal/index.ts": () => import("./index-Q8c3SkKZ.js").then((m) => m["default"]),
|
|
2271
|
+
"./_field_/select/index.ts": () => import("./index-DWbhpvby.js").then((m) => m["default"]),
|
|
2272
|
+
"./_field_/sign/index.ts": () => import("./index-BI6u0ZVW.js").then((m) => m["default"]),
|
|
2273
|
+
"./_field_/switch/index.ts": () => import("./index-CbkAoYTg.js").then((m) => m["default"]),
|
|
2274
|
+
"./_field_/textarea/index.ts": () => import("./index-BJqodofC.js").then((m) => m["default"]),
|
|
2275
|
+
"./_field_/timepicker/index.ts": () => import("./index-D8b8H_w9.js").then((m) => m["default"]),
|
|
2276
|
+
"./_field_/upload-file/index.ts": () => import("./index-DeLrWwgL.js").then((m) => m["default"]),
|
|
2277
|
+
"./_field_/upload-image/index.ts": () => import("./index-S65bdbnh.js").then((m) => m["default"]),
|
|
2278
|
+
"./_field_/userpicker/index.ts": () => import("./index-CoxSeGEM.js").then((m) => m["default"]),
|
|
2279
|
+
"./_widget_/barcode/index.ts": () => import("./index-DDm5el4N.js").then((m) => m["default"]),
|
|
2280
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-CxkU7yrf.js").then((m) => m["default"]),
|
|
2281
|
+
"./_widget_/diagonal/index.ts": () => import("./index-BitAf62N.js").then((m) => m["default"]),
|
|
2282
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-CcdVvUsf.js").then((m) => m["default"]),
|
|
2283
|
+
"./_widget_/image/index.ts": () => import("./index-C8xKDyeD.js").then((m) => m["default"]),
|
|
2284
|
+
"./_widget_/line/index.ts": () => import("./index-BxBjo_MG.js").then((m) => m["default"]),
|
|
2285
|
+
"./_widget_/power/index.ts": () => import("./index-GnYi1hwL.js").then((m) => m["default"]),
|
|
2286
|
+
"./_widget_/qrcode/index.ts": () => import("./index-otXN6GGD.js").then((m) => m["default"]),
|
|
2287
|
+
"./_widget_/ro/index.ts": () => import("./index-CXQRI3Yu.js").then((m) => m["default"]),
|
|
2288
|
+
"./_widget_/serialnumber/index.ts": () => import("./index-D988RFRH.js").then((m) => m["default"]),
|
|
2289
|
+
"./_widget_/sub-table/index.ts": () => import("./index-BloYiyGP.js").then((m) => m["default"]),
|
|
2290
|
+
"./_widget_/timediff/index.ts": () => import("./index-BI8BFTVe.js").then((m) => m["default"]),
|
|
2291
|
+
"./paper/index.ts": () => import("./index-C_9ArFTt.js").then((m) => m["default"]),
|
|
2292
|
+
"./td/index.ts": () => import("./index-Cji81RTX.js").then((m) => m["default"]),
|
|
2293
|
+
"./tr/index.ts": () => import("./index-DJBu0ym7.js").then((m) => m["default"])
|
|
2294
2294
|
});
|
|
2295
2295
|
return modules;
|
|
2296
2296
|
}
|
|
@@ -11590,6 +11590,7 @@ const initBeforeScript = "";
|
|
|
11590
11590
|
const initScriptFuncTemplate = "export function $name$({ $params$ }) {\n";
|
|
11591
11591
|
const initPageDataFuncTemplate = "export async function GCT_BUILT_IN_DATA_LOAD({ params }) {\n";
|
|
11592
11592
|
const initPageDataFuncReturnTemplate = " return {};\n";
|
|
11593
|
+
const pageDataLoadedFuncTemplate = "export async function GCT_BUILT_IN_DATA_LOADED({ isDataProcessed, formState }) {\n";
|
|
11593
11594
|
const initAfterScript = "}";
|
|
11594
11595
|
const formStateDemo = `
|
|
11595
11596
|
* const formState = {
|
|
@@ -11606,6 +11607,7 @@ const formStateDemo = `
|
|
|
11606
11607
|
* }
|
|
11607
11608
|
`;
|
|
11608
11609
|
const expPageInitFuncNode = "/**\n * 页面初始化函数\n * 在页面初始化函数中,我们可以对 formState 进行初始化,确保在获取接口数据之前设置默认值\n * 如果后端接口返回的结果中包含相同属性名称的字段,这些字段将会覆盖初始化的值\n * 而对于其他情况,我们将合并数据以确保完整性和一致性\n * @return {object} 需要初始化的数据对象\n * \n * 子表的数据格式要求:{data: [{f1:100},{f2:200}], dict:{}}\n * dict是存翻译的,可有可无\n * 例子:" + formStateDemo + " */";
|
|
11610
|
+
const expPageDataLoadedFuncNode = "/**\n * 页面数据加载完成函数,全部 Sheet 共用一次调用\n * 在接口数据合并后、分页前执行,可直接修改 formState,异步请求会等待完成\n * @param {boolean} isDataProcessed 数据是否已暂存或提交\n * @param {object} formState 整份表单数据,包含全部 Sheet 的子表\n */\n";
|
|
11609
11611
|
const expGlobalNode = "/**\n * 全局变量解释\n * @param {object} GlobalData 当前这个单据的整个表单数据对象(包含子表数据)\n * @param {object} CTX 全局公共方法对象 \n */\n\n";
|
|
11610
11612
|
const expParamsNote = "/**\n * 下列生成的方法入参变量解释\n * @param {any} value 输入内容\n * @param {any} valueData 选中内容详情\n * @param {object} formData 当前字段所属的表单数据对象(如果是子表的话是当前这条行数据)\n * @param {object} pageFormData 整个表单数据对象\n * @param {object} fieldMeta 当前字段信息对象\n * @param {number | undefined} rowIndex 子表行下标\n */\n";
|
|
11611
11613
|
const APIS = {
|
|
@@ -11817,7 +11819,10 @@ function getInitExpNode(data) {
|
|
|
11817
11819
|
initPageDataFuncReturnTemplate,
|
|
11818
11820
|
initAfterScript
|
|
11819
11821
|
].join("\n");
|
|
11820
|
-
|
|
11822
|
+
const pageDataLoadedFunc = [initBeforeScript, pageDataLoadedFuncTemplate, initAfterScript].join(
|
|
11823
|
+
"\n"
|
|
11824
|
+
);
|
|
11825
|
+
return expPageInitFuncNode + initPageDataFunc + "\n\n" + expPageDataLoadedFuncNode + pageDataLoadedFunc + "\n\n" + expGlobalNode + expParamsNote;
|
|
11821
11826
|
}
|
|
11822
11827
|
const checkSelectionConflict = (selection2, showMessage) => {
|
|
11823
11828
|
if (paper$1.value.thead?.thRange && isOverlap(selection2, paper$1.value.thead.thRange)) {
|
|
@@ -15871,7 +15876,7 @@ function asyncImportWidgetConfigList() {
|
|
|
15871
15876
|
return widgetConfigList;
|
|
15872
15877
|
}
|
|
15873
15878
|
function asyncImportWidgetDesign() {
|
|
15874
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
15879
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-NVuZN4dp.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BbE02y5_.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-DZQrt-v_.js"), "./image/image-design.vue": () => import("./image-design-CEQehKo3.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-0FTBRKzW.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BH9Si0TW.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-OT6Z4V9Z.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-MJSy7jsx.js"), "./text/text-design.vue": () => import("./text-design-B4rcjQk5.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-svW4L_Q7.js") });
|
|
15875
15880
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
15876
15881
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
15877
15882
|
if (mKey) {
|
|
@@ -51598,7 +51603,9 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
51598
51603
|
}
|
|
51599
51604
|
}
|
|
51600
51605
|
const options = computed(() => {
|
|
51601
|
-
return availableFunctions2.value.filter(
|
|
51606
|
+
return availableFunctions2.value.filter(
|
|
51607
|
+
(item) => item.exported !== "GCT_BUILT_IN_DATA_LOAD" && item.exported !== "GCT_BUILT_IN_DATA_LOADED"
|
|
51608
|
+
).map((item) => ({ value: item.exported }));
|
|
51602
51609
|
});
|
|
51603
51610
|
const filterOptions = computed(() => {
|
|
51604
51611
|
if (searchValue.value) {
|
|
@@ -51709,7 +51716,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
|
|
|
51709
51716
|
};
|
|
51710
51717
|
}
|
|
51711
51718
|
});
|
|
51712
|
-
const CellWidgetEvent = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-
|
|
51719
|
+
const CellWidgetEvent = /* @__PURE__ */ _export_sfc(_sfc_main$3x, [["__scopeId", "data-v-842ddd58"]]);
|
|
51713
51720
|
function useFormulaEditor(props2) {
|
|
51714
51721
|
const { masterModel: masterModel2, modelMetaMap: modelMetaMap2, subTableFieldModel: subTableFieldModel2 } = useModelFields();
|
|
51715
51722
|
const buildChildrenFromModel = (model) => {
|
|
@@ -52795,7 +52802,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
52795
52802
|
}
|
|
52796
52803
|
});
|
|
52797
52804
|
function asyncImportWidgetProp() {
|
|
52798
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
52805
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BUkD4Ywf.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-BXddll6h.js"), "./widget-image.vue": () => import("./widget-image-jLS-uein.js"), "./widget-line.vue": () => import("./widget-line-B8lk3foD.js"), "./widget-pagination.vue": () => import("./widget-pagination-DNnUd76Y.js"), "./widget-power.vue": () => import("./widget-power-jJzKF8hU.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-D_tARZf7.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-B4PR2NzB.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber--_6hyHAp.js"), "./widget-text.vue": () => import("./widget-text-De9BjxIO.js"), "./widget-timediff.vue": () => import("./widget-timediff-DIvbU9EP.js") });
|
|
52799
52806
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
52800
52807
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
52801
52808
|
if (mKey) {
|
|
@@ -70168,7 +70175,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
70168
70175
|
}
|
|
70169
70176
|
});
|
|
70170
70177
|
const VueVideoPlayer = defineAsyncComponent(
|
|
70171
|
-
() => import("./VueVideoPlayer-
|
|
70178
|
+
() => import("./VueVideoPlayer-rLEjwJD1.js")
|
|
70172
70179
|
);
|
|
70173
70180
|
const _hoisted_1$17 = {
|
|
70174
70181
|
key: 0,
|
|
@@ -91040,8 +91047,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91040
91047
|
printTask = (async () => {
|
|
91041
91048
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
91042
91049
|
await nextTick();
|
|
91043
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
91044
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
91050
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-D5TjwpeV.js");
|
|
91051
|
+
const { default: renderer } = await import("./print-snapshot-renderer-DNEOjRW-.js");
|
|
91045
91052
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
91046
91053
|
printRenderer.value = markRaw(renderer);
|
|
91047
91054
|
await printRuntimeInstance(
|
|
@@ -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-DZTbBLX8.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -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-DZTbBLX8.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|