@gct-paas/excel 0.1.39-beta.13 → 0.1.39-beta.16

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.
Files changed (90) hide show
  1. package/dist/{BaseComponent-DYI4qqzL.js → BaseComponent-BukKy-Ta.js} +2 -2
  2. package/dist/{VueVideoPlayer-rLEjwJD1.js → VueVideoPlayer-IeaDX9ln.js} +2 -2
  3. package/dist/{align-editor-CThA5sqY.js → align-editor-wPpZ_4zH.js} +1 -1
  4. package/dist/{barcode-design-Bx-TEInB.js → barcode-design-CHZzFsEC.js} +2 -2
  5. package/dist/base/index.es.js +85 -8
  6. package/dist/{diagonal-design-Dlu8b6pz.js → diagonal-design-OOMfRYA4.js} +2 -2
  7. package/dist/{dynamic-table-action-CjlAOYol.js → dynamic-table-action-B-Tw4RYj.js} +4 -4
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js} +30 -29
  9. package/dist/{edit.utils-CXmmCnxE-wVxZBX2T.js → edit.utils-CXmmCnxE-CQiGidG5.js} +1 -1
  10. package/dist/excel.css +50 -50
  11. package/dist/{exceljs.min-CCjcl8vL.js → exceljs.min-qTeeIg1c.js} +2 -2
  12. package/dist/{font-editor-B803iMOp.js → font-editor-DxwZPPcW.js} +3 -3
  13. package/dist/{image-design-CEQehKo3.js → image-design-DVq9O1ZF.js} +2 -2
  14. package/dist/{index-C8xKDyeD.js → index-B4LBLC9w.js} +1 -1
  15. package/dist/{index-_2mog-va.js → index-BAHY8J4O.js} +3 -3
  16. package/dist/{index-8nOujRP9.js → index-BDal31rR.js} +2 -2
  17. package/dist/{index-Bx58TcRX.js → index-BEVwLj0C.js} +2 -2
  18. package/dist/{index-RBXxr4Qh.js → index-BHXvTfAC.js} +2 -2
  19. package/dist/{index-C-jU7CLN.js → index-BLfLEJTY.js} +49 -48
  20. package/dist/{index-sNY91CeR.js → index-BQ7NWxQc.js} +2 -2
  21. package/dist/{index-HkaMnEt0.js → index-BzWTFxln.js} +2 -2
  22. package/dist/{index-C_9ArFTt.js → index-C-urdRZ2.js} +1 -1
  23. package/dist/{index-r8MHld7R.js → index-C2tzE0Pa.js} +3 -3
  24. package/dist/{index-BnJE3Jvl.js → index-CBZ8lhDg.js} +2 -2
  25. package/dist/{index-CsLzB99Y.js → index-CKqMs7mS.js} +2 -2
  26. package/dist/{index-CdLHGNRD.js → index-CLE6hZJS.js} +2 -2
  27. package/dist/{index-BI8BFTVe.js → index-CPQNMrdO.js} +1 -1
  28. package/dist/{index-otXN6GGD.js → index-CSlejyqH.js} +1 -1
  29. package/dist/{index-BJB8oPhB.js → index-CiRn_aRr.js} +2 -2
  30. package/dist/{index-DazXbtSG.js → index-Cis2UVwi.js} +2 -2
  31. package/dist/{index-D9W8DiB6.js → index-CuNImaHo.js} +2 -2
  32. package/dist/{index-DDm5el4N.js → index-CvPWXCmn.js} +1 -1
  33. package/dist/{index-BxBjo_MG.js → index-CyX1kNkY.js} +1 -1
  34. package/dist/{index-C_RrYJgN.js → index-CzQ0z_Gd.js} +2 -2
  35. package/dist/{index-Q9mNyPx_.js → index-CzmRYqq8.js} +4 -4
  36. package/dist/{index-C5Pq2veg.js → index-DNTr3TAQ.js} +2 -2
  37. package/dist/{index-CWAZwdL9.js → index-DP10nlTM.js} +2 -2
  38. package/dist/{index-C-BsWsKr.js → index-DU9LUfhQ.js} +2 -2
  39. package/dist/{index-D988RFRH.js → index-DaYPI9DA.js} +1 -1
  40. package/dist/{index-BloYiyGP.js → index-Dq8DSt0w.js} +1 -1
  41. package/dist/{index-CqILMFSv.js → index-HLHblia-.js} +3 -3
  42. package/dist/{index-Do1tj0Bc.js → index-Jq1d5kcw.js} +3 -3
  43. package/dist/{index-GnYi1hwL.js → index-N2ZMSuL6.js} +1 -1
  44. package/dist/{index-JxXoUWgI.js → index-ZYhlGCsX.js} +2 -2
  45. package/dist/{index-Bmu5UBrR.js → index-cd2rFLa1.js} +2 -2
  46. package/dist/{index-CXQRI3Yu.js → index-haSf7Cn8.js} +1 -1
  47. package/dist/{index-Cvk0VEgJ.js → index-oPtrKoRH.js} +2 -2
  48. package/dist/{index-CwfHk2PA.js → index-xEEcgELT.js} +2 -2
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BqkWBMtI.js → mb-render-DjXYXimz.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B9dH3NoS.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CtYTpCF6.js} +1 -1
  52. package/dist/{pagination-design-CHBQDrJ6.js → pagination-design-CrHZBsDW.js} +2 -2
  53. package/dist/paper-widget-design-CRwvgntz.js +4 -0
  54. package/dist/{print-runtime-instance-BoDS0QM3.js → print-runtime-instance-Bvde5aY8.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BtZeqGbF.js → print-snapshot-renderer-RSs6kMHp.js} +3 -3
  56. package/dist/{qrcode-design-Dkt8uzFv.js → qrcode-design-CHT6_pT-.js} +1 -1
  57. package/dist/{revo-grid.entry-D1QKkvpp.js → revo-grid.entry-DORNB4cp.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CRCtX47l.js → revogr-attribution_7.entry-CrdX04rF.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-elrA4DUz.js → revogr-clipboard_3.entry-CWLVEZnP.js} +2 -2
  60. package/dist/{revogr-data_4.entry-bZYGKHyL.js → revogr-data_4.entry-Bs8mqW3y.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-B_d9G-hl.js → revogr-filter-panel.entry-CTN0T0tx.js} +1 -1
  62. package/dist/seal-design-O8r6naAH.js +4 -0
  63. package/dist/{serialnumber-design-MJSy7jsx.js → serialnumber-design-BSgTQN0r.js} +1 -1
  64. package/dist/shared/index.es.js +2 -2
  65. package/dist/{single-field-drop-Dx9Bkctc.js → single-field-drop-CpKHTM2p.js} +2 -2
  66. package/dist/{size-editor-6IH71VxK.js → size-editor-DQJIuZCE.js} +1 -1
  67. package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +17 -0
  68. package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
  69. package/dist/src/nocode-base/src/interface/transform.d.ts +1 -1
  70. package/dist/{sub-table-factory-D0VDajmZ.js → sub-table-factory-DtG-HO2a.js} +2 -2
  71. package/dist/{text-design-Cc0AS9yt.js → text-design-Yi24e6iF.js} +2 -2
  72. package/dist/{throttle-Cpk1LoGk-mAa23iVE.js → throttle-Cpk1LoGk-w1fTQ4cj.js} +1 -1
  73. package/dist/{timediff-design-svW4L_Q7.js → timediff-design-BIyHZKid.js} +1 -1
  74. package/dist/{trace-like-wrapper-CV3kxfYG.js → trace-like-wrapper-DayZkwvZ.js} +2 -2
  75. package/dist/{value-editor.vue_vue_type_style_index_0_lang-D6W9v2g5.js → value-editor.vue_vue_type_style_index_0_lang-EiOW4b3N.js} +2 -2
  76. package/dist/web-render/index.es.js +3 -3
  77. package/dist/{widget-barcode-HlPyhPz_.js → widget-barcode-BrN3dVIE.js} +4 -4
  78. package/dist/{widget-diagonal-9QzWJZsi.js → widget-diagonal-DKD-DBzk.js} +3 -3
  79. package/dist/{widget-image-BenRQetq.js → widget-image-CgaOXQWN.js} +5 -5
  80. package/dist/{widget-line-C4IsrQqD.js → widget-line-DMT-WUJa.js} +2 -2
  81. package/dist/{widget-pagination-DP0UUtWe.js → widget-pagination-G1-plSoL.js} +5 -5
  82. package/dist/{widget-power-DyRnfNln.js → widget-power-4broQpTr.js} +3 -3
  83. package/dist/{widget-qrcode-CI6kPHa3.js → widget-qrcode-GQ83IJo5.js} +3 -3
  84. package/dist/{widget-rangelimit-CjGIQJBL.js → widget-rangelimit-CoDlaJyU.js} +3 -3
  85. package/dist/{widget-serialnumber-BVrvUWYB.js → widget-serialnumber-CUYfiN4D.js} +1 -1
  86. package/dist/{widget-text-DWGBgVbr.js → widget-text-BTh60jMy.js} +5 -5
  87. package/dist/{widget-timediff-C0VgCS5g.js → widget-timediff-3Xg2As8I.js} +2 -2
  88. package/package.json +2 -2
  89. package/dist/paper-widget-design-Ci7FL8J0.js +0 -4
  90. package/dist/seal-design-Kj9LCBXM.js +0 -4
@@ -1,6 +1,6 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-CjlAOYol.js";
1
+ import { n as normalizeFieldWidth } from "./dynamic-table-action-B-Tw4RYj.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-DZTbBLX8.js";
3
+ import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-DZTbBLX8.js";
3
- import { r as require$$0 } from "./index-RBXxr4Qh.js";
2
+ import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
3
+ import { r as require$$0 } from "./index-BHXvTfAC.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-DZTbBLX8.js";
2
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-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";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-BLfLEJTY.js";
4
+ import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
7
  const _hoisted_1 = { class: "wrapper" };
@@ -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-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";
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-BmECtuSE.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-BmECtuSE.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-B-Tw4RYj.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-B-Tw4RYj.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-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";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-DtG-HO2a.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-DtG-HO2a.js";
10
+ import { B as B3, F as F2, M as M3, a as a11, u as u2 } from "../mb-render-DjXYXimz.js";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
13
13
  ABANDON: "ABANDON",
@@ -1003,6 +1003,71 @@ class FormTmplBomController {
1003
1003
  };
1004
1004
  }
1005
1005
  }
1006
+ async function prepareObjectProductDefaults({
1007
+ enabled,
1008
+ fields,
1009
+ objectInitialValues = []
1010
+ }) {
1011
+ const defaults2 = /* @__PURE__ */ new WeakMap();
1012
+ if (!enabled) return defaults2;
1013
+ const requests = /* @__PURE__ */ new Map();
1014
+ const tasks = [];
1015
+ function fetchProduct(productId) {
1016
+ const existing = requests.get(productId);
1017
+ if (existing) return existing;
1018
+ const request = (async () => {
1019
+ const result = await api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey(
1020
+ {
1021
+ modelCategory: "entity",
1022
+ modelKey: "em_product",
1023
+ bsKey: "rdoGetVersionById"
1024
+ },
1025
+ // 沿用现有接口约定,传完整默认值,不拆分版本 ID。
1026
+ { id: productId }
1027
+ );
1028
+ const product = result?.data;
1029
+ if (!product || typeof product !== "object" || Array.isArray(product) || Object.keys(product).length === 0) {
1030
+ throw new Error(`未找到默认物料详情:${productId}`);
1031
+ }
1032
+ return { ...product, _DICT: result?.dict ?? product._DICT };
1033
+ })();
1034
+ requests.set(productId, request);
1035
+ return request;
1036
+ }
1037
+ for (const entry of fields) {
1038
+ if (!entry || typeof entry !== "object") continue;
1039
+ const field = entry;
1040
+ if (typeof field.fieldId !== "string" || !field.belongingObject || field.fieldType !== FIELD_TYPE.PRODUCT || field.isFieldModel || field.subFieldKey || field.subModelKey) {
1041
+ continue;
1042
+ }
1043
+ const configured = objectInitialValues.find(
1044
+ (item) => item.objectField === field.belongingObject
1045
+ );
1046
+ if (!configured?.values || !Object.prototype.hasOwnProperty.call(configured.values, field.fieldId)) {
1047
+ continue;
1048
+ }
1049
+ const productDefault = {
1050
+ value: configured.values[field.fieldId]
1051
+ };
1052
+ defaults2.set(entry, productDefault);
1053
+ const productId = productDefault.value;
1054
+ const needsAutofill = field.enableAutofill !== false && field.autofillRules?.some((rule) => !!rule.toField);
1055
+ if (!needsAutofill || typeof productId !== "string" || productId === "") continue;
1056
+ tasks.push(
1057
+ fetchProduct(productId).then(
1058
+ (sourceData) => {
1059
+ productDefault.sourceData = sourceData;
1060
+ },
1061
+ (error) => {
1062
+ const reason = error instanceof Error ? error.message : String(error);
1063
+ throw new Error(`对象初始化数据填充失败,字段 ${field.fieldId}:${reason}`);
1064
+ }
1065
+ )
1066
+ );
1067
+ }
1068
+ await Promise.all(tasks);
1069
+ return defaults2;
1070
+ }
1006
1071
  async function getModelQueries(opts) {
1007
1072
  const isEdhr = await isEdhrSuite();
1008
1073
  if (!isEdhr || !opts.mainMaterialNo) {
@@ -1368,7 +1433,13 @@ function createRuntimeInstanceInitializer(props, payload, getConsumeData) {
1368
1433
  params: { id: paramsConfig?.warehouseId }
1369
1434
  }
1370
1435
  ]);
1436
+ const objectProductDefaults = await prepareObjectProductDefaults({
1437
+ enabled: fillModeType === RenderModeEnum.FormMode && selfInfo.dataStatus !== "STASH" && selfInfo.dataStatus !== "SUBMIT",
1438
+ fields: fieldInfoMap.useDefaultValueFields,
1439
+ objectInitialValues: runtimeContext.formConfig.objectInitialValues
1440
+ });
1371
1441
  const defaultDataMap = renderUtils.getDefaultValueMapByField({
1442
+ objectProductDefaults,
1372
1443
  defaultValueFields: fieldInfoMap.useDefaultValueFields,
1373
1444
  mainMaterialNo: paramsConfig?.materialNo || selfInfo.materialNo,
1374
1445
  mainRelatedLotNo: paramsConfig?.relatedLotNo,
@@ -1893,7 +1964,13 @@ function createRuntimePersistenceAccess(runtimeRegistry, props, payload) {
1893
1964
  const signatureKeys = (runtimeRecord.context.businessIndex.useSignatureFields || []).map(
1894
1965
  (item) => item.fieldId
1895
1966
  );
1896
- const idsFormState = transformUtils.getFormDataIdsMap(newFormState, signatureKeys);
1967
+ const idsFormState = transformUtils.getFormDataIdsMap(
1968
+ newFormState,
1969
+ signatureKeys,
1970
+ (path) => runtimeRecord.fields.findByPath(path).some(
1971
+ ({ widget, subFieldKey }) => subFieldKey !== path && [FIELD_TYPE.DATE, FIELD_TYPE.DATE_TIME].includes(widget?.props.fieldType)
1972
+ )
1973
+ );
1897
1974
  if (saveToken ? !runtimeRecord.persistence.completeSave(saveToken) : requestedRevision !== runtimeRecord.formState.revision) {
1898
1975
  return false;
1899
1976
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
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";
2
+ import { h as useModelFields, D as Diagonal } from "./index-BLfLEJTY.js";
3
+ import { ao as resolveDiagonalVertex, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-DZTbBLX8.js";
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-BmECtuSE.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-BqkWBMtI.js";
7
+ import { u as useFormModel } from "./mb-render-DjXYXimz.js";
8
8
  var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
9
9
  MaterialConsumptionPatternEnum2["RECORD"] = "record";
10
10
  MaterialConsumptionPatternEnum2["BOM"] = "bom";
@@ -10212,7 +10212,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10212
10212
  createElementVNode("i", { class: "iconfont icon-zhuyi" }),
10213
10213
  createElementVNode("ul", { class: "tips-list" }, [
10214
10214
  createElementVNode("li", null, "可将Excel内容粘贴到表格中,支持使用复制、粘贴、删除快捷键"),
10215
- createElementVNode("li", null, "表单中支持快速填报的字段类型:文本、长文本、整数、长整数、小数、精度小数、日期、时间、日期时间、LOT/SN、报废物料批次、枚举单选、枚举多选(选项间以“,”分割)"),
10215
+ createElementVNode("li", null, "表单中支持快速填报的字段类型:文本、长文本、整数、长整数、小数、精度小数、日期、时间、日期时间、批次/SN、报废物料批次、枚举单选、枚举多选(选项间以“,”分割)"),
10216
10216
  createElementVNode("li", null, "当前快速填报最多支持200行")
10217
10217
  ])
10218
10218
  ], -1)),
@@ -10232,7 +10232,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10232
10232
  };
10233
10233
  }
10234
10234
  });
10235
- const DynamicQuickFillModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ae9acd3f"]]);
10235
+ const DynamicQuickFillModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-840aca0a"]]);
10236
10236
  const _sfc_main = /* @__PURE__ */ defineComponent({
10237
10237
  __name: "dynamic-table-action",
10238
10238
  props: {
@@ -60539,12 +60539,11 @@ const transformUtils = {
60539
60539
  console.log("0506 数据转成真实提交数据(二维表要平铺)", realFormData);
60540
60540
  return omit(realFormData, filterKeys);
60541
60541
  },
60542
- getFormDataIdsMap: (formData, preserveKeys = []) => {
60542
+ getFormDataIdsMap: (formData, preserveKeys = [], shouldPreserveField) => {
60543
60543
  const preserveKeySet = /* @__PURE__ */ new Set([FRONT_ROW_KEY, "group_", ...preserveKeys.filter(Boolean)]);
60544
- const shouldKeepAsIs = (key, isFirstLevel) => key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key);
60545
- const processEntry = (entry, isFirstLevel = false) => {
60544
+ const processEntry = (entry, isFirstLevel = false, path = "") => {
60546
60545
  if (Array.isArray(entry)) {
60547
- const processed = entry.map((item) => processEntry(item, false)).filter(Boolean);
60546
+ const processed = entry.map((item, index2) => processEntry(item, false, `${path}.${index2}`)).filter(Boolean);
60548
60547
  return processed.length ? processed : void 0;
60549
60548
  }
60550
60549
  if (entry && typeof entry === "object") {
@@ -60552,23 +60551,15 @@ const transformUtils = {
60552
60551
  if ("id_" in entry) {
60553
60552
  result.id_ = entry.id_;
60554
60553
  }
60555
- if (isFirstLevel) {
60556
- for (const [key, value] of Object.entries(entry)) {
60557
- if (key.startsWith("record_no_")) {
60558
- result[key] = value;
60559
- }
60560
- }
60561
- }
60562
60554
  for (const [key, value] of Object.entries(entry)) {
60563
- if (preserveKeySet.has(key) && !(key in result)) {
60555
+ const fieldPath = path ? `${path}.${key}` : key;
60556
+ if (key === "id_" || isFirstLevel && key.startsWith("record_no_") || preserveKeySet.has(key) || shouldPreserveField?.(fieldPath)) {
60564
60557
  result[key] = value;
60565
- }
60566
- }
60567
- for (const [key, value] of Object.entries(entry)) {
60568
- if (shouldKeepAsIs(key, isFirstLevel)) continue;
60569
- const processed = processEntry(value, false);
60570
- if (processed !== void 0) {
60571
- result[key] = processed;
60558
+ } else {
60559
+ const processed = processEntry(value, false, fieldPath);
60560
+ if (processed !== void 0) {
60561
+ result[key] = processed;
60562
+ }
60572
60563
  }
60573
60564
  }
60574
60565
  return Object.keys(result).length ? result : void 0;
@@ -62621,6 +62612,7 @@ const renderUtils = {
62621
62612
  /** 获取默认值集合 */
62622
62613
  getDefaultValueMapByField: ({
62623
62614
  defaultValueFields,
62615
+ objectProductDefaults = /* @__PURE__ */ new WeakMap(),
62624
62616
  mainMaterialNo = void 0,
62625
62617
  mainRelatedLotNo = void 0,
62626
62618
  mainProductName = void 0,
@@ -62656,7 +62648,10 @@ const renderUtils = {
62656
62648
  };
62657
62649
  const getDefaultValue = (field) => {
62658
62650
  const { fieldType, timeType, dateType, defaultValue, belongingObject, bizType } = field;
62659
- if (belongingObject && (fieldType === FIELD_TYPE.PRODUCT || fieldType === FIELD_TYPE.MATERIAL_NO)) {
62651
+ if (belongingObject && fieldType === FIELD_TYPE.PRODUCT) {
62652
+ return objectProductDefaults.get(field)?.value;
62653
+ }
62654
+ if (belongingObject && fieldType === FIELD_TYPE.MATERIAL_NO) {
62660
62655
  return void 0;
62661
62656
  }
62662
62657
  if (bizType === FIELD_TYPE.WAREHOUSE || fieldType === FIELD_TYPE.WAREHOUSE) {
@@ -62724,6 +62719,7 @@ const renderUtils = {
62724
62719
  assignValue(key, `${fieldId}_id_`, mainSterilizationLotId);
62725
62720
  }
62726
62721
  if (!configuredDefaultFields.has(field) && enableAutofill !== false && Array.isArray(autofillRules) && autofillRules.length > 0) {
62722
+ const isObjectProduct = !!field.belongingObject && fieldType === FIELD_TYPE.PRODUCT;
62727
62723
  let sourceData = fieldType === FIELD_TYPE.PRODUCT ? productData : fieldType === FIELD_TYPE.ROUTING_OPERATION ? operationData : null;
62728
62724
  if (fieldType === FIELD_TYPE.MFG_ORDER) {
62729
62725
  sourceData = mfgOrderData;
@@ -62743,14 +62739,19 @@ const renderUtils = {
62743
62739
  if (bizType === FIELD_TYPE.WAREHOUSE) {
62744
62740
  sourceData = warehouseData;
62745
62741
  }
62742
+ if (isObjectProduct) {
62743
+ sourceData = objectProductDefaults.get(field)?.sourceData;
62744
+ }
62746
62745
  if (sourceData) {
62747
- autofillRules.forEach(({ fromField, toField, toFieldType }) => {
62746
+ autofillRules.forEach(({ fromField, toField, toFieldType, fromSubTableField }) => {
62747
+ if (!toField) return;
62748
+ const targetKey = isObjectProduct ? fromSubTableField || key : key;
62748
62749
  if (fromField === "uom_id_" && sourceData?.[fromField] && toFieldType !== FIELD_TYPE.REF) {
62749
- const dictVal = sourceData?._DICT?.[fromField][sourceData?.[fromField]];
62750
+ const dictVal = sourceData?._DICT?.[fromField]?.[sourceData?.[fromField]];
62750
62751
  const val = Array.isArray(dictVal) ? dictVal[0] : dictVal || sourceData?.[fromField];
62751
- assignValue(key, toField, val);
62752
+ assignValue(targetKey, toField, val);
62752
62753
  } else {
62753
- assignValue(key, toField, sourceData?.[fromField]);
62754
+ assignValue(targetKey, toField, sourceData?.[fromField]);
62754
62755
  }
62755
62756
  });
62756
62757
  }
@@ -67188,27 +67189,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
67188
67189
  case "revo-grid":
67189
67190
  return import(
67190
67191
  /* webpackMode: "lazy" */
67191
- "./revo-grid.entry-D1QKkvpp.js"
67192
+ "./revo-grid.entry-DORNB4cp.js"
67192
67193
  ).then(processMod, consoleError);
67193
67194
  case "revogr-filter-panel":
67194
67195
  return import(
67195
67196
  /* webpackMode: "lazy" */
67196
- "./revogr-filter-panel.entry-B_d9G-hl.js"
67197
+ "./revogr-filter-panel.entry-CTN0T0tx.js"
67197
67198
  ).then(processMod, consoleError);
67198
67199
  case "revogr-attribution_7":
67199
67200
  return import(
67200
67201
  /* webpackMode: "lazy" */
67201
- "./revogr-attribution_7.entry-CRCtX47l.js"
67202
+ "./revogr-attribution_7.entry-CrdX04rF.js"
67202
67203
  ).then(processMod, consoleError);
67203
67204
  case "revogr-clipboard_3":
67204
67205
  return import(
67205
67206
  /* webpackMode: "lazy" */
67206
- "./revogr-clipboard_3.entry-elrA4DUz.js"
67207
+ "./revogr-clipboard_3.entry-CWLVEZnP.js"
67207
67208
  ).then(processMod, consoleError);
67208
67209
  case "revogr-data_4":
67209
67210
  return import(
67210
67211
  /* webpackMode: "lazy" */
67211
- "./revogr-data_4.entry-bZYGKHyL.js"
67212
+ "./revogr-data_4.entry-Bs8mqW3y.js"
67212
67213
  ).then(processMod, consoleError);
67213
67214
  }
67214
67215
  }
@@ -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-DZTbBLX8.js";
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-BmECtuSE.js";
2
2
  function isClear(code) {
3
3
  return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
4
4
  }
package/dist/excel.css CHANGED
@@ -1031,7 +1031,7 @@ body > div {
1031
1031
  width: 70px !important;
1032
1032
  margin-left: 12px;
1033
1033
  }
1034
- .document-quick-fill-container[data-v-ae9acd3f] {
1034
+ .document-quick-fill-container[data-v-840aca0a] {
1035
1035
  display: flex;
1036
1036
  position: relative;
1037
1037
  flex-direction: column;
@@ -1039,40 +1039,40 @@ body > div {
1039
1039
  padding: 24px;
1040
1040
  overflow: hidden;
1041
1041
  }
1042
- .document-quick-fill-container .quick-fill-tips[data-v-ae9acd3f] {
1042
+ .document-quick-fill-container .quick-fill-tips[data-v-840aca0a] {
1043
1043
  position: relative;
1044
1044
  margin-bottom: 12px;
1045
1045
  }
1046
- .document-quick-fill-container .quick-fill-tips .iconfont[data-v-ae9acd3f] {
1046
+ .document-quick-fill-container .quick-fill-tips .iconfont[data-v-840aca0a] {
1047
1047
  position: absolute;
1048
1048
  top: 3px;
1049
1049
  color: var(--ant-primary-color);
1050
1050
  font-size: 18px;
1051
1051
  line-height: 1;
1052
1052
  }
1053
- .document-quick-fill-container .quick-fill-tips .tips-list[data-v-ae9acd3f] {
1053
+ .document-quick-fill-container .quick-fill-tips .tips-list[data-v-840aca0a] {
1054
1054
  margin: 0;
1055
1055
  padding-left: 40px;
1056
1056
  list-style-type: decimal;
1057
1057
  }
1058
- .document-quick-fill-container .quick-fill-tips .tips-list li[data-v-ae9acd3f] {
1058
+ .document-quick-fill-container .quick-fill-tips .tips-list li[data-v-840aca0a] {
1059
1059
  margin-bottom: 4px;
1060
1060
  color: #1a1d23;
1061
1061
  font-size: 14px;
1062
1062
  line-height: 22px;
1063
1063
  }
1064
- .document-quick-fill-container revo-grid[data-v-ae9acd3f] {
1064
+ .document-quick-fill-container revo-grid[data-v-840aca0a] {
1065
1065
  height: 100%;
1066
1066
  min-height: 30px;
1067
1067
  border: 1px solid #e2e3e3;
1068
1068
  }
1069
- .document-quick-fill-container[data-v-ae9acd3f] revo-grid.cell-border .rowHeaders {
1069
+ .document-quick-fill-container[data-v-840aca0a] revo-grid.cell-border .rowHeaders {
1070
1070
  font-size: 14px;
1071
1071
  }
1072
- .document-quick-fill-container[data-v-ae9acd3f] revo-grid.cell-border .rgHeaderCell {
1072
+ .document-quick-fill-container[data-v-840aca0a] revo-grid.cell-border .rgHeaderCell {
1073
1073
  box-shadow: -1px 0 0 0 var(--revo-grid-cell-border) inset;
1074
1074
  }
1075
- .document-quick-fill-container[data-v-ae9acd3f] revo-grid.cell-border revogr-data .rgRow .rgCell {
1075
+ .document-quick-fill-container[data-v-840aca0a] revo-grid.cell-border revogr-data .rgRow .rgCell {
1076
1076
  box-shadow: 0 -1px 0 0 var(--revo-grid-cell-border) inset, -1px 0 0 0 var(--revo-grid-cell-border) inset;
1077
1077
  }
1078
1078
  .print-fill-background-selector[data-v-a96546b6] {
@@ -2625,7 +2625,7 @@ body > div {
2625
2625
  * }
2626
2626
  */
2627
2627
  /* stylelint-disable scss/no-global-function-names */
2628
- .cell-widget-design[data-v-99159265] {
2628
+ .cell-widget-design[data-v-e83b495f] {
2629
2629
  display: inline-flex;
2630
2630
  position: relative;
2631
2631
  z-index: 2;
@@ -2639,31 +2639,31 @@ body > div {
2639
2639
  font-weight: 400;
2640
2640
  line-height: 18px;
2641
2641
  }
2642
- .cell-widget-design .prefix[data-v-99159265],
2643
- .cell-widget-design .suffix[data-v-99159265] {
2642
+ .cell-widget-design .prefix[data-v-e83b495f],
2643
+ .cell-widget-design .suffix[data-v-e83b495f] {
2644
2644
  flex-shrink: 0;
2645
2645
  }
2646
- .cell-widget-design[data-v-99159265] * {
2646
+ .cell-widget-design[data-v-e83b495f] * {
2647
2647
  pointer-events: none;
2648
2648
  }
2649
- .cell-widget-design--with-prefix[data-v-99159265],
2650
- .cell-widget-design--with-suffix[data-v-99159265] {
2649
+ .cell-widget-design--with-prefix[data-v-e83b495f],
2650
+ .cell-widget-design--with-suffix[data-v-e83b495f] {
2651
2651
  box-sizing: border-box;
2652
2652
  }
2653
- .cell-widget-design--with-prefix[data-v-99159265] {
2654
- padding-left: 8px;
2653
+ .cell-widget-design--with-prefix[data-v-e83b495f] {
2654
+ padding-left: 2px;
2655
2655
  }
2656
- .cell-widget-design--with-suffix[data-v-99159265] {
2657
- padding-right: 8px;
2656
+ .cell-widget-design--with-suffix[data-v-e83b495f] {
2657
+ padding-right: 2px;
2658
2658
  }
2659
- .cell-widget-design--fixed-affix[data-v-99159265] {
2659
+ .cell-widget-design--fixed-affix[data-v-e83b495f] {
2660
2660
  max-width: none;
2661
2661
  }
2662
- .cell-widget-design--fixed-affix > .cell-widget-design__component[data-v-99159265] {
2662
+ .cell-widget-design--fixed-affix > .cell-widget-design__component[data-v-e83b495f] {
2663
2663
  flex: 0 0 auto;
2664
2664
  max-width: none;
2665
2665
  }
2666
- .cell-widget-design__component[data-v-99159265] {
2666
+ .cell-widget-design__component[data-v-e83b495f] {
2667
2667
  display: inline-flex;
2668
2668
  flex: 1 1 auto;
2669
2669
  align-items: center;
@@ -2671,14 +2671,14 @@ body > div {
2671
2671
  max-width: 100%;
2672
2672
  vertical-align: middle;
2673
2673
  }
2674
- .cell-widget-design--wrap-affix[data-v-99159265] {
2674
+ .cell-widget-design--wrap-affix[data-v-e83b495f] {
2675
2675
  display: inline-block;
2676
2676
  max-width: 100%;
2677
2677
  }
2678
- .cell-widget-design--wrap-affix > .cell-widget-design__component[data-v-99159265] {
2678
+ .cell-widget-design--wrap-affix > .cell-widget-design__component[data-v-e83b495f] {
2679
2679
  max-width: none;
2680
2680
  }
2681
- .cell-widget-design--wrap-affix > div[data-v-99159265]:not(.cell-widget-design__component) {
2681
+ .cell-widget-design--wrap-affix > div[data-v-e83b495f]:not(.cell-widget-design__component) {
2682
2682
  display: inline;
2683
2683
  }.widget-barcode .wrapper[data-v-e32407c0] {
2684
2684
  text-align: center;
@@ -21149,58 +21149,58 @@ svg[data-v-9a7c8184] {
21149
21149
  color: #ff9442;
21150
21150
  cursor: pointer;
21151
21151
  }
21152
- .cell-wrapper-container[data-v-1b0e0586] {
21152
+ .cell-wrapper-container[data-v-116b49cc] {
21153
21153
  font-size: var(--size);
21154
21154
  line-height: 1.55;
21155
21155
  /** 默认不换行+空格保留 */
21156
21156
  white-space: pre;
21157
21157
  pointer-events: all;
21158
21158
  }
21159
- .cell-wrapper-container:not(.textarea).readonly-component[data-v-1b0e0586] {
21159
+ .cell-wrapper-container:not(.textarea).readonly-component[data-v-116b49cc] {
21160
21160
  pointer-events: none;
21161
21161
  }
21162
- .cell-wrapper-container.validator-clickable[data-v-1b0e0586] {
21162
+ .cell-wrapper-container.validator-clickable[data-v-116b49cc] {
21163
21163
  cursor: pointer;
21164
21164
  pointer-events: all;
21165
21165
  }
21166
- .cell-wrapper-container--with-prefix[data-v-1b0e0586],
21167
- .cell-wrapper-container--with-suffix[data-v-1b0e0586] {
21166
+ .cell-wrapper-container--with-prefix[data-v-116b49cc],
21167
+ .cell-wrapper-container--with-suffix[data-v-116b49cc] {
21168
21168
  display: inline-flex;
21169
21169
  box-sizing: border-box;
21170
21170
  align-items: center;
21171
21171
  width: fit-content !important;
21172
21172
  max-width: 100%;
21173
21173
  }
21174
- .cell-wrapper-container--with-prefix[data-v-1b0e0586] {
21175
- padding-left: 8px;
21174
+ .cell-wrapper-container--with-prefix[data-v-116b49cc] {
21175
+ padding-left: 2px;
21176
21176
  }
21177
- .cell-wrapper-container--with-suffix[data-v-1b0e0586] {
21178
- padding-right: 8px;
21177
+ .cell-wrapper-container--with-suffix[data-v-116b49cc] {
21178
+ padding-right: 2px;
21179
21179
  }
21180
- .cell-wrapper-container--fixed-affix[data-v-1b0e0586] {
21180
+ .cell-wrapper-container--fixed-affix[data-v-116b49cc] {
21181
21181
  width: max-content !important;
21182
21182
  max-width: none;
21183
21183
  }
21184
- .cell-wrapper-container--fixed-affix[data-v-1b0e0586] > * {
21184
+ .cell-wrapper-container--fixed-affix[data-v-116b49cc] > * {
21185
21185
  flex-shrink: 0;
21186
21186
  max-width: none;
21187
21187
  }
21188
- .cell-wrapper-container.cell-wrapper-container--wrap-affix[data-v-1b0e0586] {
21188
+ .cell-wrapper-container.cell-wrapper-container--wrap-affix[data-v-116b49cc] {
21189
21189
  display: inline-block;
21190
21190
  width: fit-content !important;
21191
21191
  min-width: 0;
21192
21192
  max-width: 100%;
21193
21193
  line-height: 18px;
21194
21194
  }
21195
- .cell-wrapper-container.cell-wrapper-container--wrap-affix[data-v-1b0e0586] > :not(.cell-wrapper-affix) {
21195
+ .cell-wrapper-container.cell-wrapper-container--wrap-affix[data-v-116b49cc] > :not(.cell-wrapper-affix) {
21196
21196
  vertical-align: middle;
21197
21197
  }
21198
- .cell-wrapper-container .cell-wrapper-affix[data-v-1b0e0586] {
21198
+ .cell-wrapper-container .cell-wrapper-affix[data-v-116b49cc] {
21199
21199
  flex-shrink: 0;
21200
21200
  background: transparent;
21201
21201
  color: #1a1d23;
21202
21202
  }
21203
- .cell-wrapper-container .validator-icon[data-v-1b0e0586] {
21203
+ .cell-wrapper-container .validator-icon[data-v-116b49cc] {
21204
21204
  position: absolute;
21205
21205
  z-index: 1;
21206
21206
  top: 0;
@@ -21212,7 +21212,7 @@ svg[data-v-9a7c8184] {
21212
21212
  cursor: pointer;
21213
21213
  pointer-events: all;
21214
21214
  }
21215
- .cell-wrapper-container .annotation-icon[data-v-1b0e0586] {
21215
+ .cell-wrapper-container .annotation-icon[data-v-116b49cc] {
21216
21216
  position: absolute;
21217
21217
  z-index: 1;
21218
21218
  top: 0;
@@ -21224,10 +21224,10 @@ svg[data-v-9a7c8184] {
21224
21224
  cursor: pointer;
21225
21225
  pointer-events: all;
21226
21226
  }
21227
- .cell-wrapper-container.annotation-mark[data-v-1b0e0586] {
21227
+ .cell-wrapper-container.annotation-mark[data-v-116b49cc] {
21228
21228
  position: relative;
21229
21229
  }
21230
- .cell-wrapper-container.annotation-mark[data-v-1b0e0586]::before {
21230
+ .cell-wrapper-container.annotation-mark[data-v-116b49cc]::before {
21231
21231
  content: '';
21232
21232
  position: absolute;
21233
21233
  top: 0;
@@ -21237,13 +21237,13 @@ svg[data-v-9a7c8184] {
21237
21237
  background: rgba(255, 148, 66, 0.12);
21238
21238
  cursor: pointer;
21239
21239
  }
21240
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] .nocode-read-only-text__value,
21241
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] input,
21242
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] textarea,
21243
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] .ant-input,
21244
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] .ant-select-selection-item,
21245
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] .ant-picker-input > input,
21246
- .cell-wrapper-container.validator-mark[data-v-1b0e0586] .ant-input-number-input {
21240
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] .nocode-read-only-text__value,
21241
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] input,
21242
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] textarea,
21243
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] .ant-input,
21244
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] .ant-select-selection-item,
21245
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] .ant-picker-input > input,
21246
+ .cell-wrapper-container.validator-mark[data-v-116b49cc] .ant-input-number-input {
21247
21247
  color: var(--ant-error-color) !important;
21248
21248
  }
21249
21249
  .cell-auto-complete[data-v-f98a0893] {
@@ -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-DZTbBLX8.js";
2
- import { c as commonjsRequire } from "./index-C-jU7CLN.js";
1
+ import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
2
+ import { c as commonjsRequire } from "./index-BLfLEJTY.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-CThA5sqY.js";
2
+ import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-C-jU7CLN.js";
5
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-BLfLEJTY.js";
5
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-RBXxr4Qh.js";
2
+ import { u as useWebUpload } from "./index-BHXvTfAC.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-DZTbBLX8.js";
4
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
5
5
  import "@gct-paas/form-base";
6
6
  import "lodash-es";
7
7
  import "dayjs";
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZTbBLX8.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";