@gct-paas/excel 0.1.40-beta.7 → 0.1.40-beta.8

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-ByKSQlX5.js → BaseComponent-CELRDc47.js} +2 -2
  2. package/dist/{VueVideoPlayer-D9kpfmiz.js → VueVideoPlayer-CQ3WMohj.js} +2 -2
  3. package/dist/{align-editor-lWVPNKlR.js → align-editor-BjxHuSxl.js} +1 -1
  4. package/dist/{barcode-design-zpWBlelw.js → barcode-design-BDHtEF3j.js} +2 -2
  5. package/dist/base/index.es.js +7 -7
  6. package/dist/{diagonal-design-CzRKVjcY.js → diagonal-design-DLxRO_uM.js} +2 -2
  7. package/dist/{dynamic-table-action-DkHb1ST4.js → dynamic-table-action-C_1EGXMe.js} +9 -4
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js} +13 -5
  9. package/dist/{edit.utils-CXmmCnxE-DIhkrimt.js → edit.utils-CXmmCnxE-C1w2rhHM.js} +1 -1
  10. package/dist/excel.css +10 -10
  11. package/dist/{exceljs.min-DoNsTxQp.js → exceljs.min-rIUD8u2M.js} +2 -2
  12. package/dist/{font-editor-N7060zuX.js → font-editor-DWmzS_0C.js} +3 -3
  13. package/dist/{image-design-fXKNGIm3.js → image-design-Cjob0qMO.js} +2 -2
  14. package/dist/{index-yf50oYV1.js → index--kolAY9o.js} +3 -3
  15. package/dist/{index-BDRyjPGr.js → index-2X2QGo0A.js} +96 -71
  16. package/dist/{index-gEI8m-b5.js → index-B9a9T8if.js} +1 -1
  17. package/dist/{index-CfY2WTcN.js → index-BHxDpc-C.js} +2 -2
  18. package/dist/{index-DnHsEIgl.js → index-BLpDtBBv.js} +2 -2
  19. package/dist/{index-Bh-tmh-F.js → index-BeYN1fxt.js} +2 -2
  20. package/dist/{index-CCw8gM1y.js → index-BgsXETEd.js} +1 -1
  21. package/dist/{index-tjo9dn4X.js → index-BlLeFC1A.js} +2 -2
  22. package/dist/{index-DGyygsxH.js → index-Bn5H-iFV.js} +2 -2
  23. package/dist/{index-B6fCHnZl.js → index-Bw67kX4Y.js} +2 -2
  24. package/dist/{index-DgbgqO-w.js → index-ByeVrxVl.js} +1 -1
  25. package/dist/{index-DSUDSbPf.js → index-BzBMhjxB.js} +1 -1
  26. package/dist/{index-Xx36PP2U.js → index-C-F1u_o7.js} +2 -2
  27. package/dist/{index-BA4zmgdk.js → index-CAekmaIN.js} +2 -2
  28. package/dist/{index-CtHy6vBq.js → index-CHS101Sz.js} +3 -3
  29. package/dist/{index-C6STl6m-.js → index-CIkhaEj4.js} +1 -1
  30. package/dist/{index-CuHKZOUw.js → index-CQ0BwWRP.js} +2 -2
  31. package/dist/{index-BJA3YJns.js → index-CQkWk_7M.js} +3 -3
  32. package/dist/{index-CaojJi0S.js → index-CfyXGhk3.js} +1 -1
  33. package/dist/{index-8BLKPnwH.js → index-Cn2_Yd7q.js} +1 -1
  34. package/dist/{index-DeEz6LI3.js → index-DJj0H4QE.js} +2 -2
  35. package/dist/{index-7J6OP2x9.js → index-DMOi4nAC.js} +2 -2
  36. package/dist/{index-C5IwDker.js → index-DQNLZ671.js} +4 -4
  37. package/dist/{index-Cza077GN.js → index-DdxuhIJY.js} +2 -2
  38. package/dist/{index-Bgh8yfAl.js → index-DiNxihKr.js} +2 -2
  39. package/dist/{index-C4Mlck0_.js → index-DqomTxsG.js} +1 -1
  40. package/dist/{index-BEX6lJX9.js → index-DxW-5l6p.js} +2 -2
  41. package/dist/{index-B5FuofNW.js → index-DxaR4DCk.js} +2 -2
  42. package/dist/{index-CZIuP6b-.js → index-LOpDQbHn.js} +2 -2
  43. package/dist/{index-BXxzWXS4.js → index-RV5ozdPP.js} +1 -1
  44. package/dist/{index-pSRRsoDQ.js → index-Refavqkv.js} +3 -3
  45. package/dist/{index-a0vY4sVG.js → index-U90xa0_k.js} +2 -2
  46. package/dist/{index-8A45IOjw.js → index-nGGsFW_9.js} +2 -2
  47. package/dist/{index-CbeaPNDv.js → index-poil0x4K.js} +2 -2
  48. package/dist/{index-bRZUDA7R.js → index-w6agN1-G.js} +1 -1
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BCtvoXM-.js → mb-render-wAlqnYW9.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DbNfQIzD.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BLEHWjXh.js} +1 -1
  52. package/dist/{pagination-design-BLhJhoHb.js → pagination-design-CuM2_cOO.js} +2 -2
  53. package/dist/paper-widget-design-OVR0zocz.js +4 -0
  54. package/dist/{print-runtime-instance-v1jzD3oO.js → print-runtime-instance-xGsbD9K-.js} +1 -1
  55. package/dist/{print-snapshot-renderer-BSf76qD7.js → print-snapshot-renderer-DYUY1xCI.js} +3 -3
  56. package/dist/{qrcode-design-D9f0hRKd.js → qrcode-design-CO631M71.js} +1 -1
  57. package/dist/{revo-grid.entry-NMojEZjd.js → revo-grid.entry-B7SWMhl1.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-jR0LwEie.js → revogr-attribution_7.entry-BkqynH6l.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-DMQ65QLh.js → revogr-clipboard_3.entry-DAHR-Vx9.js} +2 -2
  60. package/dist/{revogr-data_4.entry-Buvf7dRf.js → revogr-data_4.entry-CVh6lcCy.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-TLjszdsH.js → revogr-filter-panel.entry-BBhV4Xqa.js} +1 -1
  62. package/dist/seal-design-BnXd0buM.js +4 -0
  63. package/dist/{serialnumber-design-DsSZwN3t.js → serialnumber-design-DxGYVdk3.js} +1 -1
  64. package/dist/shared/index.es.js +2 -2
  65. package/dist/{single-field-drop-DRMCsh_s.js → single-field-drop-DpHqYP0Z.js} +2 -2
  66. package/dist/{size-editor-m8uyQ1bU.js → size-editor-D0jQ3Lrf.js} +1 -1
  67. package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
  68. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
  69. package/dist/src/shared/enum/field-type.d.ts +2 -0
  70. package/dist/{sub-table-factory-BxxIXXCZ.js → sub-table-factory-dhsoO5eF.js} +2 -2
  71. package/dist/{text-design-DgOV0ZhV.js → text-design-CCJVszh9.js} +2 -2
  72. package/dist/{throttle-Cpk1LoGk-Dj14U5ox.js → throttle-Cpk1LoGk-D7Z-44El.js} +1 -1
  73. package/dist/{timediff-design-C0zYdIQI.js → timediff-design-DE0Lb5-J.js} +1 -1
  74. package/dist/{trace-like-wrapper-XB73ltP9.js → trace-like-wrapper-u1qMVyxo.js} +2 -2
  75. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CRFXw695.js → value-editor.vue_vue_type_style_index_0_lang-BDK70sFY.js} +2 -2
  76. package/dist/web-render/index.es.js +3 -3
  77. package/dist/{widget-barcode-BLKBY_Dh.js → widget-barcode-BiqBkpJf.js} +4 -4
  78. package/dist/{widget-diagonal-LVxcpB3b.js → widget-diagonal-DEPOR_xL.js} +3 -3
  79. package/dist/{widget-image-Cch0ImSI.js → widget-image-CT0b6oE3.js} +5 -5
  80. package/dist/{widget-line-CUSNrxgG.js → widget-line-CencIyCA.js} +2 -2
  81. package/dist/{widget-pagination-CM1S6Ytp.js → widget-pagination-CLokA4N9.js} +5 -5
  82. package/dist/{widget-power-DQJ8F2R7.js → widget-power-BPxteor_.js} +3 -3
  83. package/dist/{widget-qrcode-BmnaFfc4.js → widget-qrcode-gYHAR233.js} +3 -3
  84. package/dist/{widget-rangelimit-Db0ZX6Fb.js → widget-rangelimit-BJKYDkcT.js} +3 -3
  85. package/dist/{widget-serialnumber-BEOWsFs1.js → widget-serialnumber-BCPB7hqo.js} +1 -1
  86. package/dist/{widget-text-DZFAhPxy.js → widget-text-D_CGo-mQ.js} +5 -5
  87. package/dist/{widget-timediff-C_Nh7uw-.js → widget-timediff-cBekBImJ.js} +2 -2
  88. package/package.json +1 -1
  89. package/dist/paper-widget-design-B8gKgZep.js +0 -4
  90. package/dist/seal-design-B80mv8SJ.js +0 -4
@@ -1,6 +1,6 @@
1
- import { n as normalizeFieldWidth } from "./dynamic-table-action-DkHb1ST4.js";
1
+ import { n as normalizeFieldWidth } from "./dynamic-table-action-C_1EGXMe.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-CAg9oyuD.js";
3
+ import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.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 { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
3
- import { r as require$$0 } from "./index-DnHsEIgl.js";
2
+ import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
3
+ import { r as require$$0 } from "./index-BLpDtBBv.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 { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
2
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.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-BDRyjPGr.js";
4
- import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-2X2QGo0A.js";
4
+ import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
@@ -1,14 +1,14 @@
1
- import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, ba as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bx as assembleRules, by as isAttachFieldActive, aK as Dependency_ENUM, bm as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bz as fetchHistoryConsume, bA as isBomGranted, aX as renderUtils, bw as uuid2, bB as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bC as baseDataUtils, bD as initializeSealFields, Z as FormTypeEnum, bE as normalizeToArray, bF as safeParseArray, bG as BpmnNodeTypeEnum, bH as mergeByMultiKey, a9 as _export_sfc, bI as evaluateInspectionDecisionRule, bJ as areValidationCommentsEqual, bK as useNocodeEmitter, bL as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
2
- import { aQ, aS, b1, a2, bM, bN, B, bO, A, aj, bP, bQ, bR, bj, bS, aT, aC, aR, aO, aP, bT, ak, ao, bU, bV, aI, a4, ai, aD, bW, a1, am, L, bX, bY, bZ, O, s, P, ab, q, R, G, b_, b$, ay, a7, a3, a5, a6, a8, h, c0, an, ar, al, c1, c2, c3, c4, bi, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, bn, cf, cg, a_, ch, b2, b3, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, aZ, cs, b4, bg, ct, cu, cv, ap, v, cw, cx, cy, bo, a$ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
3
- import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-DkHb1ST4.js";
4
- import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-DkHb1ST4.js";
1
+ import { p as api, a0 as PlatformEnum, F as FIELD_TYPE, bk as getRowId, bl as findRuntimeTableRow, ba as RenderModeEnum, C as ComponentTypeEnum, aB as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, ax as RangeValidateMode, bx as assembleRules, by as isAttachFieldActive, aK as Dependency_ENUM, bm as calculateFormula, aJ as ASSIGNMENTSTRATEGY_ENUM, U as getParseFormulaVarInfos, bz as fetchHistoryConsume, bA as isBomGranted, aX as renderUtils, bw as uuid2, bB as parseFrontConfig, aN as CheckDsTypeEnum, aH as transformUtils, bC as baseDataUtils, bD as initializeSealFields, Z as FormTypeEnum, bE as normalizeToArray, bF as safeParseArray, bG as BpmnNodeTypeEnum, bH as mergeByMultiKey, a9 as _export_sfc, bI as evaluateInspectionDecisionRule, bJ as areValidationCommentsEqual, bK as useNocodeEmitter, bL as commonUtils, aL as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
2
+ import { aQ, aS, b1, a2, bM, bN, B, bO, A, aj, bP, bQ, bR, bj, bS, aT, aC, aR, aO, aP, bT, ak, ao, bU, bV, aI, a4, ai, aD, bW, a1, am, L, bX, bY, bZ, O, s, P, ab, q, R, G, b_, b$, ay, a7, a3, a5, a6, a8, h, c0, an, ar, al, c1, c2, c3, c4, bi, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, bn, cf, cg, a_, ch, b2, b3, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, aZ, cs, b4, bg, ct, cu, cv, ap, v, cw, cx, cy, bo, a$ } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
3
+ import { T as getRuntimeDataFieldId, F as parseRuntimeFieldPath, U as buildRuntimeFieldPath, f as findFieldProfile, V as resolveRuntimeFieldProps, W as resolveRuntimeFieldState, X as getRuntimeDependencyOutputKey, Y as isRowAddedInCurrentFormChange, t as MaterialConsumptionPatternEnum, Z as MaterialConsumeTableController, $ as setFormulaParamsConfig, a0 as normalizeRuntime, K as createRuntimeInstanceContext, R as RuntimeFormStateStore, a1 as RuntimeSheetService, g as getBusinessFieldKey, a2 as validateObjectBomQtyOnSubmit, a3 as closeValidatorPopovers, a4 as enrichFormChangeRowDetails, N as NCB_PROVIDE, L as RuntimeInstanceRegistry, a5 as useMaterialBalance, a6 as collectFormChangeFieldLocations, a7 as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-C_1EGXMe.js";
4
+ import { B as B2, a8 as a82, i, _, a9, P as P2, aa, Q, E, ab as ab2, ac, ad, ae, af, M, a, ag, d, ah, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, z, ap as ap2, q as q2, aq, e, ar as ar2, as, at, au, p, A as A2, av, aw, ax, ay as ay2, j, C, h as h2, az, aA, aB, aC as aC2, aD as aD2, aE, w, r, aF, x, m, aG, s as s2, aH, H, I, u, y, J, l, o, G as G2, k, v as v2 } from "../dynamic-table-action-C_1EGXMe.js";
5
5
  import { toRaw, watch, toRef, computed, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, shallowRef, markRaw, ref, provide, onUnmounted, reactive, onBeforeUnmount } from "vue";
6
6
  import { cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-BxxIXXCZ.js";
9
- import { A as A3, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-BxxIXXCZ.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-dhsoO5eF.js";
9
+ import { A as A3, D, M as M2, a as a10, P as P3, b, c, d as d2, e as e2, W, f, g, h as h3 } from "../sub-table-factory-dhsoO5eF.js";
10
10
  import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
11
- import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-BCtvoXM-.js";
11
+ import { B as B3, F, M as M3, a as a11, u as u2 } from "../mb-render-wAlqnYW9.js";
12
12
  const InstanceStatusValues = {
13
13
  /** 作废状态 */
14
14
  ABANDON: "ABANDON",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { h as useModelFields, D as Diagonal } from "./index-BDRyjPGr.js";
3
- import { ap as resolveDiagonalVertex, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-2X2QGo0A.js";
3
+ import { ap as resolveDiagonalVertex, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
@@ -1,11 +1,11 @@
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 { aj as CellWidgetViewState, F as FIELD_TYPE, ba as RenderModeEnum, Z as FormTypeEnum, bG as BpmnNodeTypeEnum, cz as getFieldPlaceholder, bY as MobileFillTypeEnum, C as ComponentTypeEnum, a0 as PlatformEnum, cA as isReferenceOptionActive, p as api, bw as uuid2, c6 as calcUtils, bl as findRuntimeTableRow, ca as ensureTableRowKeys, c3 as bindRuntimeTableColumns, bk as getRowId, cB as FRONT_ROW_KEY, cp as isTableRowKeyMatch, by as isAttachFieldActive, cC as filterRulesByTrigger, cD as isEmptyValue$1, c7 as decodeTableCellRowKey, c9 as ensureFrontRowKey, b2 as getParseRuleInfo, aH as transformUtils, aZ as materialCheck, a_ as getLotLockedReason, a$ as validateReinspectionDate, bp as FormulaRuleFieldKeyEnum, h as SubTableType, b3 as getParseRuleValue, cE as buildError, I as CreateType, bn as findRuntimeParentRow, aK as Dependency_ENUM, aJ as ASSIGNMENTSTRATEGY_ENUM, bL as commonUtils, aO as DeviceLink, a9 as _export_sfc, cj as getRenderedRuntimeTableCell, A as CellType, ct as relocateDeletedRowsToEnd, cF as resetTableRowIdentity, K as useModal, cG as q, cH as QUICK_FILL_ALLOWED_FIELDS, cI as groupFixedTableRows, cJ as processQuickFillRows, cK as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
2
+ import { aj as CellWidgetViewState, F as FIELD_TYPE, ba as RenderModeEnum, Z as FormTypeEnum, bG as BpmnNodeTypeEnum, cz as getFieldPlaceholder, bY as MobileFillTypeEnum, C as ComponentTypeEnum, a0 as PlatformEnum, cA as isReferenceOptionActive, p as api, bw as uuid2, c6 as calcUtils, bl as findRuntimeTableRow, ca as ensureTableRowKeys, c3 as bindRuntimeTableColumns, bk as getRowId, cB as FRONT_ROW_KEY, cp as isTableRowKeyMatch, by as isAttachFieldActive, cC as filterRulesByTrigger, cD as isEmptyValue$1, c7 as decodeTableCellRowKey, c9 as ensureFrontRowKey, b2 as getParseRuleInfo, aH as transformUtils, aZ as materialCheck, a_ as getLotLockedReason, a$ as validateReinspectionDate, bp as FormulaRuleFieldKeyEnum, h as SubTableType, b3 as getParseRuleValue, cE as buildError, I as CreateType, bn as findRuntimeParentRow, aK as Dependency_ENUM, aJ as ASSIGNMENTSTRATEGY_ENUM, bL as commonUtils, aO as DeviceLink, a9 as _export_sfc, cj as getRenderedRuntimeTableCell, A as CellType, ct as relocateDeletedRowsToEnd, cF as resetTableRowIdentity, K as useModal, cG as q, cH as QUICK_FILL_ALLOWED_FIELDS, cI as groupFixedTableRows, cJ as processQuickFillRows, cK as getIsGroupEmpty } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.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 "@gct-paas/form-base";
7
7
  import { Modal, message } from "ant-design-vue";
8
- import { u as useFormModel } from "./mb-render-BCtvoXM-.js";
8
+ import { u as useFormModel } from "./mb-render-wAlqnYW9.js";
9
9
  var MaterialConsumptionPatternEnum = /* @__PURE__ */ ((MaterialConsumptionPatternEnum2) => {
10
10
  MaterialConsumptionPatternEnum2["RECORD"] = "record";
11
11
  MaterialConsumptionPatternEnum2["BOM"] = "bom";
@@ -7065,7 +7065,7 @@ async function validateObjectBomQtyOnSubmit(opts) {
7065
7065
  for (const obj of objectFieldList) {
7066
7066
  if (!obj?.objectField) continue;
7067
7067
  const objectBom = findObjectBom(formInstBom, obj.objectField);
7068
- if (objectBom?.material_consumption_pattern_ === MaterialConsumptionPatternEnum.RECORD) {
7068
+ if (objectBom?.material_consumption_pattern_ === MaterialConsumptionPatternEnum.RECORD && !objectBom.personal_bom_enabled_) {
7069
7069
  continue;
7070
7070
  }
7071
7071
  const { productKey, productFieldName, qtyKey, qtyRequiredKey, qtyFieldName } = pickObjectFieldKeys(obj.subFields, obj.objectField);
@@ -8342,6 +8342,7 @@ const DocumentSubTable = /* @__PURE__ */ defineComponent({
8342
8342
  showDisplayStatus,
8343
8343
  dataRelationShip
8344
8344
  } = useWidgetStaticAttrs(props.widget);
8345
+ const isMockMaterialConsume = computed(() => !!dataRelationShip?.isMockReport && !!props.widget.props.isMaterialConsumeTable);
8345
8346
  const sheetId = () => fields.value?.findWidgetById(props.widget.id)?.sheetId;
8346
8347
  const subTableCore = props.subTableCore;
8347
8348
  provide(NCB_PROVIDE.SUB_TABLE_CORE, subTableCore);
@@ -8482,6 +8483,9 @@ const DocumentSubTable = /* @__PURE__ */ defineComponent({
8482
8483
  key,
8483
8484
  actionValue
8484
8485
  }) => {
8486
+ if (isMockMaterialConsume.value && (key === SubTableActionEnum.SCAN || key === SubTableActionEnum.Insert1GroupAfter)) {
8487
+ return;
8488
+ }
8485
8489
  switch (key) {
8486
8490
  case "insertRowBefore":
8487
8491
  handleAddRow({
@@ -8575,10 +8579,11 @@ const DocumentSubTable = /* @__PURE__ */ defineComponent({
8575
8579
  showRowWatermark,
8576
8580
  rowGroupKey
8577
8581
  }) => {
8578
- const menus = subTableCore?.calcSubTableActionMenu({
8582
+ const baseMenus = subTableCore?.calcSubTableActionMenu({
8579
8583
  rowData,
8580
8584
  showDelBtn
8581
8585
  });
8586
+ const menus = isMockMaterialConsume.value ? [getMenuByAction(SubTableActionEnum.SCAN), getMenuByAction(SubTableActionEnum.Insert1GroupAfter), ...baseMenus ?? []] : baseMenus;
8582
8587
  const annRowDetails = dataRelationShip?.annRowDetails;
8583
8588
  const rowMark = dataIdx !== -1 && annRowDetails?.length ? resolveRowFormChangeMark(field, rowData, annRowDetails) : null;
8584
8589
  const rowUi = resolveFormChangeRowUi(rowData, rowMark);
@@ -1527,6 +1527,14 @@ const FieldIconMap = {
1527
1527
  "qty"
1528
1528
  /* QTY */
1529
1529
  ]: "icon-shuliang",
1530
+ [
1531
+ "object_type"
1532
+ /* OBJECT_TYPE */
1533
+ ]: "icon-duixiang",
1534
+ [
1535
+ "material_consume"
1536
+ /* MATERIAL_CONSUME */
1537
+ ]: "icon-field-product",
1530
1538
  [
1531
1539
  "model_relation"
1532
1540
  /* MODEL_RELATION */
@@ -67523,27 +67531,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
67523
67531
  case "revo-grid":
67524
67532
  return import(
67525
67533
  /* webpackMode: "lazy" */
67526
- "./revo-grid.entry-NMojEZjd.js"
67534
+ "./revo-grid.entry-B7SWMhl1.js"
67527
67535
  ).then(processMod, consoleError);
67528
67536
  case "revogr-filter-panel":
67529
67537
  return import(
67530
67538
  /* webpackMode: "lazy" */
67531
- "./revogr-filter-panel.entry-TLjszdsH.js"
67539
+ "./revogr-filter-panel.entry-BBhV4Xqa.js"
67532
67540
  ).then(processMod, consoleError);
67533
67541
  case "revogr-attribution_7":
67534
67542
  return import(
67535
67543
  /* webpackMode: "lazy" */
67536
- "./revogr-attribution_7.entry-jR0LwEie.js"
67544
+ "./revogr-attribution_7.entry-BkqynH6l.js"
67537
67545
  ).then(processMod, consoleError);
67538
67546
  case "revogr-clipboard_3":
67539
67547
  return import(
67540
67548
  /* webpackMode: "lazy" */
67541
- "./revogr-clipboard_3.entry-DMQ65QLh.js"
67549
+ "./revogr-clipboard_3.entry-DAHR-Vx9.js"
67542
67550
  ).then(processMod, consoleError);
67543
67551
  case "revogr-data_4":
67544
67552
  return import(
67545
67553
  /* webpackMode: "lazy" */
67546
- "./revogr-data_4.entry-Buvf7dRf.js"
67554
+ "./revogr-data_4.entry-CVh6lcCy.js"
67547
67555
  ).then(processMod, consoleError);
67548
67556
  }
67549
67557
  }
@@ -1,4 +1,4 @@
1
- import { el as EDIT_INPUT_WR, em as keyValues, ed as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
1
+ import { el as EDIT_INPUT_WR, em as keyValues, ed as codesLetter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
2
2
  function isClear(code) {
3
3
  return codesLetter.BACKSPACE === code || codesLetter.DELETE === code;
4
4
  }
package/dist/excel.css CHANGED
@@ -15672,16 +15672,16 @@ div.vxe-table--tooltip-wrapper.vxe-table--valid-error.old-cell-valid {
15672
15672
  pointer-events: none;
15673
15673
  user-select: none;
15674
15674
  }
15675
- .display-fields-editor[data-v-9a44d291] .ant-select.ant-select-multiple .ant-select-selector {
15675
+ .display-fields-editor[data-v-2593d6b8] .ant-select.ant-select-multiple .ant-select-selector {
15676
15676
  padding-right: 48px;
15677
15677
  }
15678
- .display-fields-editor[data-v-9a44d291] .ant-select.ant-select-multiple .ant-select-selection-overflow-item-rest {
15678
+ .display-fields-editor[data-v-2593d6b8] .ant-select.ant-select-multiple .ant-select-selection-overflow-item-rest {
15679
15679
  pointer-events: none;
15680
15680
  }
15681
- .display-fields-editor[data-v-9a44d291] .ant-select.ant-select-multiple .ant-select-clear {
15681
+ .display-fields-editor[data-v-2593d6b8] .ant-select.ant-select-multiple .ant-select-clear {
15682
15682
  right: 28px;
15683
15683
  }
15684
- .display-fields-editor .editor-tip[data-v-9a44d291] {
15684
+ .display-fields-editor .editor-tip[data-v-2593d6b8] {
15685
15685
  margin-top: 4px;
15686
15686
  color: #a6a6a6;
15687
15687
  font-size: 12px;
@@ -20818,15 +20818,15 @@ svg[data-v-9a7c8184] {
20818
20818
  color: var(--ant-primary-color);
20819
20819
  cursor: pointer;
20820
20820
  }
20821
- .base-vxe-search-form-container[data-v-ca7c40d7] {
20821
+ .base-vxe-search-form-container[data-v-ba907b47] {
20822
20822
  height: 44px;
20823
20823
  }
20824
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-ca7c40d7] {
20824
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-ba907b47] {
20825
20825
  height: 32px;
20826
20826
  border: none;
20827
20827
  background: #f6f8fa;
20828
20828
  }
20829
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-ca7c40d7] .ant-input {
20829
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-ba907b47] .ant-input {
20830
20830
  background: #f6f8fa;
20831
20831
  }
20832
20832
  .rdo-select-tree[data-v-0a2a138a] {
@@ -20873,15 +20873,15 @@ svg[data-v-9a7c8184] {
20873
20873
  .rdo-select-tree[data-v-0a2a138a] .ant-input {
20874
20874
  background: transparent;
20875
20875
  }
20876
- .base-vxe-search-form-container[data-v-3bca389e] {
20876
+ .base-vxe-search-form-container[data-v-3fc5ac60] {
20877
20877
  height: 44px;
20878
20878
  }
20879
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-3bca389e] {
20879
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-3fc5ac60] {
20880
20880
  height: 32px;
20881
20881
  border: none;
20882
20882
  background: #f6f8fa;
20883
20883
  }
20884
- .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-3bca389e] .ant-input {
20884
+ .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-3fc5ac60] .ant-input {
20885
20885
  background: #f6f8fa;
20886
20886
  }
20887
20887
  .cell-trace-tree-select[data-v-1493d589] .ant-select-selection-search {
@@ -1,5 +1,5 @@
1
- import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
2
- import { c as commonjsRequire } from "./index-BDRyjPGr.js";
1
+ import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
2
+ import { c as commonjsRequire } from "./index-2X2QGo0A.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-lWVPNKlR.js";
2
+ import { A as AlignEditor } from "./align-editor-BjxHuSxl.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-BDRyjPGr.js";
5
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-2X2QGo0A.js";
5
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.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-DnHsEIgl.js";
2
+ import { u as useWebUpload } from "./index-BLpDtBBv.js";
3
3
  import "ant-design-vue";
4
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
4
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
5
5
  import "@gct-paas/form-base";
6
6
  import "lodash-es";
7
7
  import "dayjs";
@@ -1,11 +1,11 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CAg9oyuD.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B7k5famp.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-ByKSQlX5.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-XB73ltP9.js";
7
+ import { B as BaseComponent } from "./BaseComponent-CELRDc47.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-u1qMVyxo.js";
9
9
  class AutoComplete extends BaseComponent {
10
10
  component = ComponentTypeEnum.AutoComplete;
11
11
  wrapperCmpConfig({ data }) {