@gct-paas/excel 0.1.40-beta.30 → 0.1.40-beta.31

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 (65) hide show
  1. package/dist/{BaseComponent-EzX32ZdY.js → BaseComponent-etri-HVz.js} +1 -1
  2. package/dist/{VueVideoPlayer-BuuQaqyI.js → VueVideoPlayer-ClxhO4jg.js} +1 -1
  3. package/dist/{barcode-design-B0WcJSEI.js → barcode-design-jb-cuT80.js} +1 -1
  4. package/dist/base/index.es.js +4 -4
  5. package/dist/{diagonal-design-D6uOJZmP.js → diagonal-design-vAc9RdXd.js} +1 -1
  6. package/dist/{dynamic-table-action-D-ub6KoK.js → dynamic-table-action-DpIXTpSN.js} +14 -12
  7. package/dist/excel.css +10 -10
  8. package/dist/{exceljs.min-BXhhaToT.js → exceljs.min-DKFXUxdP.js} +1 -1
  9. package/dist/{font-editor-_HTdKFX6.js → font-editor-CzFsHD-d.js} +1 -1
  10. package/dist/{index-Bnt54Sc6.js → index--JEQAw12.js} +1 -1
  11. package/dist/{index-Cb7Fh_E2.js → index-B0BWjfNB.js} +1 -1
  12. package/dist/{index-CH_C9ijO.js → index-BEi6Ietm.js} +1 -1
  13. package/dist/{index-DcXbL-0o.js → index-BHbTXjiU.js} +3 -3
  14. package/dist/{index-DVzaxa5k.js → index-BcbH0-2H.js} +1 -1
  15. package/dist/{index-CtVFTmHZ.js → index-Bu2XMO2n.js} +2 -2
  16. package/dist/{index-DoWp9uDw.js → index-BuYerha3.js} +1 -1
  17. package/dist/{index-BnOOLcX1.js → index-CNJu5jrK.js} +1 -1
  18. package/dist/{index-CQ0_Kx1_.js → index-C_GqkAxa.js} +1 -1
  19. package/dist/{index-Dn0qfALy.js → index-CtatG-Ov.js} +2 -2
  20. package/dist/{index-Bbyb-owd.js → index-D681oluc.js} +1 -1
  21. package/dist/{index-BLf1U1A9.js → index-D7x7hItu.js} +2 -2
  22. package/dist/{index-7AmrbQlC.js → index-DCF-v4pK.js} +1 -1
  23. package/dist/{index-Jy2tofdo.js → index-DFhfnphF.js} +2 -2
  24. package/dist/{index-CMdXdyvs.js → index-DGq7IjrL.js} +1 -1
  25. package/dist/{index-KRo2-iQv.js → index-DIqqktrL.js} +2 -2
  26. package/dist/{index-Dstr-PNj.js → index-DPr6NsTf.js} +1 -1
  27. package/dist/{index-GoAXo3fT.js → index-DoSH7mnC.js} +32 -32
  28. package/dist/{index-D87CVHA-.js → index-Dw-ygqE_.js} +1 -1
  29. package/dist/{index-DzqaKW6e.js → index-FzfTEWXH.js} +1 -1
  30. package/dist/{index-Dnz3YPDV.js → index-VyjgrRmJ.js} +1 -1
  31. package/dist/{index-8ZnBcx1k.js → index-aiurSMku.js} +2 -2
  32. package/dist/{index-B4LuUmbW.js → index-pWnZhMwm.js} +1 -1
  33. package/dist/{index-B_DPnVrC.js → index-s3x5GdWF.js} +1 -1
  34. package/dist/index.es.js +1 -1
  35. package/dist/{pagination-design-DANnqQdI.js → pagination-design-C7Cd0vsm.js} +1 -1
  36. package/dist/paper-widget-design-C34lg4jR.js +4 -0
  37. package/dist/{print-runtime-instance-PabaORE2.js → print-runtime-instance-CfG_y_pu.js} +1 -1
  38. package/dist/{print-snapshot-renderer-DQr2G7Hv.js → print-snapshot-renderer-DSlZELM2.js} +3 -3
  39. package/dist/{qrcode-design-BEA1JchI.js → qrcode-design-G75STwL4.js} +1 -1
  40. package/dist/seal-design-DIQKGBL7.js +4 -0
  41. package/dist/{single-field-drop-CkUP3H7u.js → single-field-drop-ui-vFIsu.js} +1 -1
  42. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +7 -5
  43. package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +4 -0
  44. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +12 -0
  45. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +7 -0
  46. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +1 -0
  47. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
  48. package/dist/{sub-table-factory-GzYKYE9t.js → sub-table-factory-C8IG5P9N.js} +1 -1
  49. package/dist/{text-design-V3TQuLps.js → text-design-ZbT4-OIQ.js} +1 -1
  50. package/dist/{trace-like-wrapper-D1Gzs1mF.js → trace-like-wrapper-DX6B_qq8.js} +1 -1
  51. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js → value-editor.vue_vue_type_style_index_0_lang-DiqzTQxP.js} +1 -1
  52. package/dist/{widget-barcode-CNrl2NxY.js → widget-barcode-FukO_v5o.js} +2 -2
  53. package/dist/{widget-diagonal-CqjD1SwW.js → widget-diagonal-BxaAV6Z0.js} +2 -2
  54. package/dist/{widget-image-Xjl5W2Fp.js → widget-image-CGmm4QwO.js} +1 -1
  55. package/dist/{widget-line-BUVVnwrU.js → widget-line-DHV95v22.js} +1 -1
  56. package/dist/{widget-pagination-DjMXWioI.js → widget-pagination-CAdmXA68.js} +2 -2
  57. package/dist/{widget-power-Dck9H8a9.js → widget-power-sfFZYwYY.js} +2 -2
  58. package/dist/{widget-qrcode-Cu8BwE24.js → widget-qrcode-BEISi2k7.js} +2 -2
  59. package/dist/{widget-rangelimit-DLxebCKf.js → widget-rangelimit-DmPylyRg.js} +2 -2
  60. package/dist/{widget-serialnumber-DecFCGS0.js → widget-serialnumber-4PW9_Sy0.js} +1 -1
  61. package/dist/{widget-text-DV3yKKsx.js → widget-text-CFzr4fdg.js} +3 -3
  62. package/dist/{widget-timediff-BIwewJ39.js → widget-timediff-BY4BQSVg.js} +1 -1
  63. package/package.json +2 -2
  64. package/dist/paper-widget-design-BrE7Bb4V.js +0 -4
  65. package/dist/seal-design-CX-ZxOn3.js +0 -4
@@ -1,4 +1,4 @@
1
- import { i as normalizeFieldWidth } from "./dynamic-table-action-D-ub6KoK.js";
1
+ import { i as normalizeFieldWidth } from "./dynamic-table-action-DpIXTpSN.js";
2
2
  import { get, pick } from "lodash-es";
3
3
  import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
4
4
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
@@ -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
2
  import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
3
- import { G as require$$0 } from "./index-GoAXo3fT.js";
3
+ import { G as require$$0 } from "./index-DoSH7mnC.js";
4
4
  var window_1;
5
5
  var hasRequiredWindow;
6
6
  function requireWindow() {
@@ -1,6 +1,6 @@
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-GoAXo3fT.js";
3
+ import { u as useSpreadSheet, h as useModelFields, l as loadBwip } from "./index-DoSH7mnC.js";
4
4
  import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
@@ -1,12 +1,12 @@
1
1
  import { p as api, a4 as PlatformEnum, by as getRuntimeDataFieldId, F as FIELD_TYPE, bz as listRuntimeFieldRows, bm as getRowId, bn as findRuntimeTableRow, bl as parseRuntimeFieldPath, bA as buildRuntimeFieldPath, bo as RenderModeEnum, C as ComponentTypeEnum, aE as findFieldMain, c as getProfileByTableType, d as getBusinessProfileByRefModelType, b as isBusinessSubTableProfile, aA as RangeValidateMode, bB as isAttachFieldActive, aQ as Dependency_ENUM, aP as ASSIGNMENTSTRATEGY_ENUM, bC as fetchHistoryConsume, bD as isBomGranted, b3 as renderUtils, bx as uuid2, bE as parseFrontConfig, aT as CheckDsTypeEnum, aN as transformUtils, bF as DesignerDefaultValues, bG as baseDataUtils, a1 as FormTypeEnum, bH as normalizeToArray, M as getBusinessFieldKey, bI as safeParseArray, bJ as BpmnNodeTypeEnum, bK as mergeByMultiKey, ae as _export_sfc, bL as evaluateInspectionDecisionRule, bM as RuntimeDefaultValueValidation, bN as useNocodeEmitter, bO as commonUtils, aR as EntityModelCategoryEnum } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
2
2
  import { aW, aY, ba, a6, bP, bQ, B, bR, H, am, bS, bT, bU, bk, bV, a$, aF, aX, aU, aV, bW, an, ar, bX, bY, aO, a8, al, aG, aZ, a5, ap, L, bZ, b_, b$, O, t, P, ag, q, Y, K, c0, c1, aB, ab, a7, a9, aa, ac, h, c2, aq, au, ao, c3, c4, c5, c6, aJ, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, bp, ch, ci, b6, cj, bb, bc, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, b5, cu, bd, aK, cv, cw, as, y, cx, a_, cy, cz, bq, b7 } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
3
- import { l as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, S as calculateFormula, a9 as getRuntimeDependencyOutputKey, aa as isRowAddedInCurrentFormChange, ab as resolveFormulaData, g as getParseFormulaVarInfos, z as MaterialConsumptionPatternEnum, ac as MaterialConsumeTableController, ad as setFormulaParamsConfig, ae as normalizeRuntime, Y as createRuntimeInstanceContext, af as initializeSealFields, X as RuntimeFormStateStore, ag as RuntimeSheetService, ah as validateObjectBomQtyOnSubmit, ai as areValidationCommentsEqual, aj as closeValidatorPopovers, ak as enrichFormChangeRowDetails, R as NCB_PROVIDE, Z as RuntimeInstanceRegistry, al as useMaterialBalance, am as collectFormChangeFieldLocations, an as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-D-ub6KoK.js";
4
- import { ao as ao2, B as B2, ap as ap2, o, a5 as a52, aq as aq2, a3, ar as ar2, a4, J, as as as2, F, at, au as au2, av, aw, M, a, a0, ax, a1, d, ay, az, aA, aB as aB2, aC, aD, aE, aF as aF2, H as H2, aG as aG2, x, aH, e, aI, aJ as aJ2, aK as aK2, aL, w, I, aM, aN, aO as aO2, aP, p, K as K2, m, aQ, aR, aS, aT, aU as aU2, aV as aV2, aW as aW2, C, y as y2, aX as aX2, E, t as t2, aY as aY2, s, aZ as aZ2, U, V, u, k, G, W, r, v, T, q as q2, A } from "../dynamic-table-action-D-ub6KoK.js";
3
+ import { l as findFieldProfile, a6 as resolveRuntimeFieldProps, a7 as resolveRuntimeFieldState, a8 as assembleRules, S as calculateFormula, a9 as getRuntimeDependencyOutputKey, aa as isRowAddedInCurrentFormChange, ab as resolveFormulaData, g as getParseFormulaVarInfos, z as MaterialConsumptionPatternEnum, ac as MaterialConsumeTableController, ad as setFormulaParamsConfig, ae as normalizeRuntime, Y as createRuntimeInstanceContext, af as initializeSealFields, X as RuntimeFormStateStore, ag as RuntimeSheetService, ah as validateObjectBomQtyOnSubmit, ai as areValidationCommentsEqual, aj as closeValidatorPopovers, ak as enrichFormChangeRowDetails, R as NCB_PROVIDE, Z as RuntimeInstanceRegistry, al as useMaterialBalance, am as collectFormChangeFieldLocations, an as nextFormChangeRowViewHistoryId } from "../dynamic-table-action-DpIXTpSN.js";
4
+ import { ao as ao2, B as B2, ap as ap2, o, a5 as a52, aq as aq2, a3, ar as ar2, a4, J, as as as2, F, at, au as au2, av, aw, M, a, a0, ax, a1, d, ay, az, aA, aB as aB2, aC, aD, aE, aF as aF2, H as H2, aG as aG2, x, aH, e, aI, aJ as aJ2, aK as aK2, aL, w, I, aM, aN, aO as aO2, aP, p, K as K2, m, aQ, aR, aS, aT, aU as aU2, aV as aV2, aW as aW2, C, y as y2, aX as aX2, E, t as t2, aY as aY2, s, aZ as aZ2, U, V, u, k, G, W, r, v, T, q as q2, A } from "../dynamic-table-action-DpIXTpSN.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 { isEqual, cloneDeep, defaults, isEmpty, merge, get } from "lodash-es";
7
7
  import "dayjs";
8
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-GzYKYE9t.js";
9
- import { A as A2, D, M as M2, a as a2, P as P2, b, c, d as d2, e as e2, W as W2, f, g, h as h2 } from "../sub-table-factory-GzYKYE9t.js";
8
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "../sub-table-factory-C8IG5P9N.js";
9
+ import { A as A2, D, M as M2, a as a2, P as P2, b, c, d as d2, e as e2, W as W2, f, g, h as h2 } from "../sub-table-factory-C8IG5P9N.js";
10
10
  import { createDataSourceManager, getLegacyFieldFillTargets, createFieldFillRuntime, buildFieldFillTableRows, buildFieldFillRows, isFieldFillTargetProtected, getFieldFillTable, getFieldFillColumn, buildDataSourceContext } from "@gct-paas/form-base";
11
11
  const InstanceStatusValues = {
12
12
  /** 作废状态 */
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { h as useModelFields, D as Diagonal } from "./index-GoAXo3fT.js";
2
+ import { h as useModelFields, D as Diagonal } from "./index-DoSH7mnC.js";
3
3
  import { as as resolveDiagonalVertex, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
@@ -4743,7 +4743,7 @@ class BomEntryValidator {
4743
4743
  this.productCodes[i.product_id_] = i.product_code_;
4744
4744
  });
4745
4745
  }
4746
- this.hasConsumed = this.calcQtyConsumed(this.historyData);
4746
+ this.hasConsumed = this.calcQtyConsumed(this.historyData, "history");
4747
4747
  }
4748
4748
  bomEntry;
4749
4749
  enableSequenceLoading;
@@ -4783,13 +4783,15 @@ class BomEntryValidator {
4783
4783
  * @param arr
4784
4784
  * @return {*}
4785
4785
  */
4786
- filterGroupData(arr) {
4787
- return arr.filter((i) => this.isRowInGroup(i) && i.product_id_);
4786
+ filterGroupData(arr, source = "current") {
4787
+ return arr.filter((i) => this.isRowInGroup(i, source) && i.product_id_);
4788
4788
  }
4789
- /** 行是否属于本 BOM 组(优先 bom_entry_id_,避免跨组 product_id_ 误判) */
4790
- isRowInGroup(row) {
4789
+ /** 按数据来源优先匹配关联标识,无关联标识时按物料判断。 */
4790
+ isRowInGroup(row, source = "current") {
4791
4791
  if (row.deleted_) return false;
4792
- if (row.bom_entry_id_) return row.bom_entry_id_ === this.bomEntry.id_;
4792
+ const entryId = source === "history" ? row.bom_entry_parent_id_ : row.bom_entry_id_;
4793
+ const targetId = source === "history" ? this.bomEntry.parent_id_ : this.bomEntry.id_;
4794
+ if (entryId) return entryId === targetId;
4793
4795
  if (row.product_id_) return this.productIds.includes(row.product_id_);
4794
4796
  return false;
4795
4797
  }
@@ -4920,13 +4922,13 @@ class BomEntryValidator {
4920
4922
  * @param arr
4921
4923
  * @return {*}
4922
4924
  */
4923
- calcQtyConsumed(arr = this.historyData) {
4924
- const groupData = this.filterGroupData(arr);
4925
+ calcQtyConsumed(arr = this.historyData, source = "history") {
4926
+ const groupData = this.filterGroupData(arr, source);
4925
4927
  return groupData.reduce((acc, cur) => acc + Number(cur.qty_ ?? 0), 0);
4926
4928
  }
4927
4929
  /** 上下限校验统一按需求单位口径取转换数量,历史数据未转换时兼容原数量。 */
4928
- calcQtyForBounds(arr) {
4929
- const groupData = this.filterGroupData(arr);
4930
+ calcQtyForBounds(arr, source = "current") {
4931
+ const groupData = this.filterGroupData(arr, source);
4930
4932
  return groupData.reduce((acc, cur) => acc + Number(cur.qty_transfer_ ?? cur.qty_ ?? 0), 0);
4931
4933
  }
4932
4934
  /**
@@ -4969,7 +4971,7 @@ class BomEntryValidator {
4969
4971
  return;
4970
4972
  }
4971
4973
  const groupData = this.filterGroupData(arr);
4972
- const loaded = this.calcQtyConsumed(arr);
4974
+ const loaded = this.calcQtyConsumed(arr, "current");
4973
4975
  let required4 = this.remainingNum;
4974
4976
  if (this.isCustomRequiredQty) {
4975
4977
  const currentQty = Number(groupData[0]?.qty_required_);
@@ -5002,7 +5004,7 @@ class BomEntryValidator {
5002
5004
  break;
5003
5005
  case "bounds": {
5004
5006
  const groupData2 = this.filterGroupData(arr);
5005
- const consumeSum = this.calcQtyForBounds(arr) + this.calcQtyForBounds(this.historyData);
5007
+ const consumeSum = this.calcQtyForBounds(arr) + this.calcQtyForBounds(this.historyData, "history");
5006
5008
  const { min, max } = await this.calcCustomNumberLimit(groupData2[0]);
5007
5009
  if (min !== void 0 && consumeSum < min || max !== void 0 && consumeSum > max) {
5008
5010
  fail($t("sys.qtyValidationRule.bounds", { min, max }));
package/dist/excel.css CHANGED
@@ -23939,18 +23939,18 @@ svg[data-v-9a7c8184] {
23939
23939
  cursor: pointer;
23940
23940
  color: #797a7d;
23941
23941
  }
23942
- .panel-data-init-config-wrapper[data-v-099f849c] {
23942
+ .panel-data-init-config-wrapper[data-v-b72630c2] {
23943
23943
  height: 100%;
23944
23944
  background-color: #fff;
23945
23945
  }
23946
- .panel-data-init-config-wrapper .ant-collapse[data-v-099f849c] {
23946
+ .panel-data-init-config-wrapper .ant-collapse[data-v-b72630c2] {
23947
23947
  background-color: #fff;
23948
23948
  }
23949
- .panel-data-init-config-wrapper .param-area[data-v-099f849c] {
23949
+ .panel-data-init-config-wrapper .param-area[data-v-b72630c2] {
23950
23950
  position: relative;
23951
23951
  margin-top: 16px;
23952
23952
  }
23953
- .panel-data-init-config-wrapper .param-area .param-item[data-v-099f849c] {
23953
+ .panel-data-init-config-wrapper .param-area .param-item[data-v-b72630c2] {
23954
23954
  position: relative;
23955
23955
  margin-bottom: 8px;
23956
23956
  padding: 8px;
@@ -23958,23 +23958,23 @@ svg[data-v-9a7c8184] {
23958
23958
  border-radius: 4px;
23959
23959
  background: #fcfcfc;
23960
23960
  }
23961
- .panel-data-init-config-wrapper .param-area .param-item[data-v-099f849c]:last-of-type {
23961
+ .panel-data-init-config-wrapper .param-area .param-item[data-v-b72630c2]:last-of-type {
23962
23962
  margin-bottom: 16px;
23963
23963
  }
23964
- .panel-data-init-config-wrapper .object-init-area[data-v-099f849c] {
23964
+ .panel-data-init-config-wrapper .object-init-area[data-v-b72630c2] {
23965
23965
  margin-top: 16px;
23966
23966
  }
23967
- .panel-data-init-config-wrapper .tmpl-config-area[data-v-099f849c] {
23967
+ .panel-data-init-config-wrapper .tmpl-config-area[data-v-b72630c2] {
23968
23968
  margin-top: 16px;
23969
23969
  }
23970
- .panel-data-init-config-wrapper .data-source-area[data-v-099f849c] {
23970
+ .panel-data-init-config-wrapper .data-source-area[data-v-b72630c2] {
23971
23971
  position: relative;
23972
23972
  margin-top: 16px;
23973
23973
  }
23974
- .panel-data-init-config-wrapper .data-source-area[data-v-099f849c] .data-source-item.is-last .data-source-field-map-wrapper.is-last .line {
23974
+ .panel-data-init-config-wrapper .data-source-area[data-v-b72630c2] .data-source-item.is-last .data-source-field-map-wrapper.is-last .line {
23975
23975
  display: none;
23976
23976
  }
23977
- .panel-data-init-config-wrapper .data-source-area[data-v-099f849c] .data-source-item.is-last .data-source-title.is-child.is-last .line::after {
23977
+ .panel-data-init-config-wrapper .data-source-area[data-v-b72630c2] .data-source-item.is-last .data-source-title.is-child.is-last .line::after {
23978
23978
  display: none;
23979
23979
  }
23980
23980
  .material-rdo-select[data-v-a496f27a] {
@@ -1,5 +1,5 @@
1
1
  import { W as commonjsGlobal, X as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
2
- import { c as commonjsRequire } from "./index-GoAXo3fT.js";
2
+ import { c as commonjsRequire } from "./index-DoSH7mnC.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
2
2
  import { A as AlignEditor } from "./align-editor-DWHHVeY1.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-GoAXo3fT.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-DoSH7mnC.js";
5
5
  import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Datepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Datepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { A as AsyncGctOnlineComponents } from "./index-GoAXo3fT.js";
7
+ import { A as AsyncGctOnlineComponents } from "./index-DoSH7mnC.js";
8
8
  class Tr {
9
9
  component = "tr";
10
10
  wrapperCmpConfig({ data, parent }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Input extends BaseComponent {
9
9
  component = ComponentTypeEnum.Input;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,12 +1,12 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-D-ub6KoK.js";
2
+ import { i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-DpIXTpSN.js";
3
3
  import { C as ComponentTypeEnum, O as Orientation, a6 as BooleanShowMode, a5 as LabelPosition, ba as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { g as getFieldWidget } from "./index-GoAXo3fT.js";
9
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
8
+ import { g as getFieldWidget } from "./index-DoSH7mnC.js";
9
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
10
10
  class Switch extends BaseComponent {
11
11
  component = ComponentTypeEnum.Switch;
12
12
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Userpicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Userpicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ 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-EzX32ZdY.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-D1Gzs1mF.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DX6B_qq8.js";
9
9
  class RdoSelect extends BaseComponent {
10
10
  component = ComponentTypeEnum.RdoSelect;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class UploadFile extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadFile;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class InputDouble extends BaseComponent {
9
9
  component = ComponentTypeEnum.InputDouble;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class DateTimepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.DateTimepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -2,10 +2,10 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
- import { h as normalizeSealDiameter } from "./dynamic-table-action-D-ub6KoK.js";
5
+ import { h as normalizeSealDiameter } from "./dynamic-table-action-DpIXTpSN.js";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
8
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
9
9
  class Seal extends BaseComponent {
10
10
  component = ComponentTypeEnum.Seal;
11
11
  wrapperCmpConfig({ data }) {
@@ -5,7 +5,7 @@ import { pick } from "lodash-es";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
- import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-GoAXo3fT.js";
8
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-DoSH7mnC.js";
9
9
  class CombineFields {
10
10
  component = ComponentTypeEnum.CombineFields;
11
11
  wrapperCmpConfig({ data }) {
@@ -1,6 +1,6 @@
1
1
  import { pick, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-GoAXo3fT.js";
3
- import { j as isCellAutoLineBreak } from "./dynamic-table-action-D-ub6KoK.js";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-DoSH7mnC.js";
3
+ import { j as isCellAutoLineBreak } from "./dynamic-table-action-DpIXTpSN.js";
4
4
  import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import "vue";
6
6
  import "dayjs";
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Timepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Timepicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ 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-EzX32ZdY.js";
8
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-D1Gzs1mF.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DX6B_qq8.js";
9
9
  class AutoComplete extends BaseComponent {
10
10
  component = ComponentTypeEnum.AutoComplete;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Department extends BaseComponent {
9
9
  component = ComponentTypeEnum.Department;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
8
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-GoAXo3fT.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-DoSH7mnC.js";
9
9
  class Select extends BaseComponent {
10
10
  component = ComponentTypeEnum.Select;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class InputNumber extends BaseComponent {
9
9
  component = ComponentTypeEnum.Inputnumber;
10
10
  wrapperCmpConfig({ data }) {
@@ -6,7 +6,7 @@ import dayjs from "dayjs";
6
6
  import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
7
7
  import * as Antd from "ant-design-vue";
8
8
  import { message, Modal, Alert, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
9
- import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as createRuntimeDocumentV2, f as clampSealPosition, h as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, j as isCellAutoLineBreak, B as BorderTD, u as useFormModel, k as useFormTmplConfig, l as findFieldProfile, m as normalizeHistoricalBusinessRow, o as DeviceLinkTmplUtil, p as normalizeAIOcrTmpl, q as useWidgetStaticAttrs, r as useRuntimeInstanceServices, s as setSelectValidatorId, t as setSelectAnnotationId, v as useRuntimeRowState, w as getObjectBomMaterialLotQuery, x as buildObjectLotExtraQuery, y as resolveObjectFieldKeys, F as FormModelController, z as MaterialConsumptionPatternEnum, A as validateObjectBomForScan, C as resolveObjectBomEntry, E as runWithFillProduct, G as useNocodeFormWidget, H as applyConsumeObjectTraceChange, I as getObjectBomProductQuery, J as EMPTY_PRODUCT_VERSION_ID, K as normalizeHistoricalAutofillRow, L as readSealValue, N as isSealStamped, O as stampSealValue, P as isValidSealValue, Q as clearSealValue, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6C } from "./dynamic-table-action-D-ub6KoK.js";
9
+ import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, g as getParseFormulaVarInfos, e as createRuntimeDocumentV2, f as clampSealPosition, h as normalizeSealDiameter, i as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, j as isCellAutoLineBreak, B as BorderTD, u as useFormModel, k as useFormTmplConfig, l as findFieldProfile, m as normalizeHistoricalBusinessRow, o as DeviceLinkTmplUtil, p as normalizeAIOcrTmpl, q as useWidgetStaticAttrs, r as useRuntimeInstanceServices, s as setSelectValidatorId, t as setSelectAnnotationId, v as useRuntimeRowState, w as getObjectBomMaterialLotQuery, x as buildObjectLotExtraQuery, y as resolveObjectFieldKeys, F as FormModelController, z as MaterialConsumptionPatternEnum, A as validateObjectBomForScan, C as resolveObjectBomEntry, E as runWithFillProduct, G as useNocodeFormWidget, H as applyConsumeObjectTraceChange, I as getObjectBomProductQuery, J as EMPTY_PRODUCT_VERSION_ID, K as normalizeHistoricalAutofillRow, L as readSealValue, N as isSealStamped, O as stampSealValue, P as isValidSealValue, Q as clearSealValue, R as NCB_PROVIDE, S as calculateFormula, T as useStyles, U as useDependency, V as useFieldPresentation, W as useRuntimeEditorFlusher, X as RuntimeFormStateStore, Y as createRuntimeInstanceContext, Z as RuntimeInstanceRegistry, _ as ScanParamType, $ as RequiredQtyCalcRule, a0 as MBRender, a1 as MCRender, a2 as moveSealValue, a3 as DocumentPaper, a4 as DynamicTableAction, a5 as _sfc_main$6C } from "./dynamic-table-action-DpIXTpSN.js";
10
10
  import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6B, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js";
11
11
  import { HttpUtil } from "@gct-paas/api";
12
12
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
@@ -2016,7 +2016,7 @@ function openWindow(url, opt) {
2016
2016
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
2017
2017
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
2018
2018
  async function createWorkbook() {
2019
- const ExcelJs = (await import("./exceljs.min-BXhhaToT.js").then((n) => n.e)).default;
2019
+ const ExcelJs = (await import("./exceljs.min-DKFXUxdP.js").then((n) => n.e)).default;
2020
2020
  return new ExcelJs.Workbook();
2021
2021
  }
2022
2022
  class XlsxParser {
@@ -2387,28 +2387,28 @@ class XlsxParser {
2387
2387
  }
2388
2388
  function asyncImportClassModules() {
2389
2389
  const modules = /* @__PURE__ */ Object.assign({
2390
- "./_field_/auto-complete/index.ts": () => import("./index-Jy2tofdo.js").then((m) => m["default"]),
2391
- "./_field_/datepicker/index.ts": () => import("./index-Bnt54Sc6.js").then((m) => m["default"]),
2392
- "./_field_/datetimepicker/index.ts": () => import("./index-CQ0_Kx1_.js").then((m) => m["default"]),
2393
- "./_field_/department/index.ts": () => import("./index-CMdXdyvs.js").then((m) => m["default"]),
2394
- "./_field_/enum-select/index.ts": () => import("./index-8ZnBcx1k.js").then((m) => m["default"]),
2395
- "./_field_/input/index.ts": () => import("./index-CH_C9ijO.js").then((m) => m["default"]),
2396
- "./_field_/inputdouble/index.ts": () => import("./index-BnOOLcX1.js").then((m) => m["default"]),
2397
- "./_field_/inputnumber/index.ts": () => import("./index-Dstr-PNj.js").then((m) => m["default"]),
2398
- "./_field_/rdo-select/index.ts": () => import("./index-CtVFTmHZ.js").then((m) => m["default"]),
2399
- "./_field_/seal/index.ts": () => import("./index-Dn0qfALy.js").then((m) => m["default"]),
2400
- "./_field_/select/index.ts": () => import("./index-KRo2-iQv.js").then((m) => m["default"]),
2401
- "./_field_/sign/index.ts": () => import("./index-B4LuUmbW.js").then((m) => m["default"]),
2402
- "./_field_/switch/index.ts": () => import("./index-DcXbL-0o.js").then((m) => m["default"]),
2403
- "./_field_/textarea/index.ts": () => import("./index-Dnz3YPDV.js").then((m) => m["default"]),
2404
- "./_field_/timepicker/index.ts": () => import("./index-7AmrbQlC.js").then((m) => m["default"]),
2405
- "./_field_/upload-file/index.ts": () => import("./index-DoWp9uDw.js").then((m) => m["default"]),
2406
- "./_field_/upload-image/index.ts": () => import("./index-B_DPnVrC.js").then((m) => m["default"]),
2407
- "./_field_/userpicker/index.ts": () => import("./index-DVzaxa5k.js").then((m) => m["default"]),
2390
+ "./_field_/auto-complete/index.ts": () => import("./index-DFhfnphF.js").then((m) => m["default"]),
2391
+ "./_field_/datepicker/index.ts": () => import("./index--JEQAw12.js").then((m) => m["default"]),
2392
+ "./_field_/datetimepicker/index.ts": () => import("./index-C_GqkAxa.js").then((m) => m["default"]),
2393
+ "./_field_/department/index.ts": () => import("./index-DGq7IjrL.js").then((m) => m["default"]),
2394
+ "./_field_/enum-select/index.ts": () => import("./index-aiurSMku.js").then((m) => m["default"]),
2395
+ "./_field_/input/index.ts": () => import("./index-BEi6Ietm.js").then((m) => m["default"]),
2396
+ "./_field_/inputdouble/index.ts": () => import("./index-CNJu5jrK.js").then((m) => m["default"]),
2397
+ "./_field_/inputnumber/index.ts": () => import("./index-DPr6NsTf.js").then((m) => m["default"]),
2398
+ "./_field_/rdo-select/index.ts": () => import("./index-Bu2XMO2n.js").then((m) => m["default"]),
2399
+ "./_field_/seal/index.ts": () => import("./index-CtatG-Ov.js").then((m) => m["default"]),
2400
+ "./_field_/select/index.ts": () => import("./index-DIqqktrL.js").then((m) => m["default"]),
2401
+ "./_field_/sign/index.ts": () => import("./index-pWnZhMwm.js").then((m) => m["default"]),
2402
+ "./_field_/switch/index.ts": () => import("./index-BHbTXjiU.js").then((m) => m["default"]),
2403
+ "./_field_/textarea/index.ts": () => import("./index-VyjgrRmJ.js").then((m) => m["default"]),
2404
+ "./_field_/timepicker/index.ts": () => import("./index-DCF-v4pK.js").then((m) => m["default"]),
2405
+ "./_field_/upload-file/index.ts": () => import("./index-BuYerha3.js").then((m) => m["default"]),
2406
+ "./_field_/upload-image/index.ts": () => import("./index-s3x5GdWF.js").then((m) => m["default"]),
2407
+ "./_field_/userpicker/index.ts": () => import("./index-BcbH0-2H.js").then((m) => m["default"]),
2408
2408
  "./_widget_/barcode/index.ts": () => import("./index-BCCIwSnM.js").then((m) => m["default"]),
2409
- "./_widget_/combine-fields/index.ts": () => import("./index-Bbyb-owd.js").then((m) => m["default"]),
2410
- "./_widget_/diagonal/index.ts": () => import("./index-DzqaKW6e.js").then((m) => m["default"]),
2411
- "./_widget_/dyn-value/index.ts": () => import("./index-D87CVHA-.js").then((m) => m["default"]),
2409
+ "./_widget_/combine-fields/index.ts": () => import("./index-D681oluc.js").then((m) => m["default"]),
2410
+ "./_widget_/diagonal/index.ts": () => import("./index-FzfTEWXH.js").then((m) => m["default"]),
2411
+ "./_widget_/dyn-value/index.ts": () => import("./index-Dw-ygqE_.js").then((m) => m["default"]),
2412
2412
  "./_widget_/image/index.ts": () => import("./index-D3KiKYMR.js").then((m) => m["default"]),
2413
2413
  "./_widget_/line/index.ts": () => import("./index-BlMiHVOC.js").then((m) => m["default"]),
2414
2414
  "./_widget_/power/index.ts": () => import("./index-toqlO_-B.js").then((m) => m["default"]),
@@ -2418,8 +2418,8 @@ function asyncImportClassModules() {
2418
2418
  "./_widget_/sub-table/index.ts": () => import("./index-BYq7x5n6.js").then((m) => m["default"]),
2419
2419
  "./_widget_/timediff/index.ts": () => import("./index-KuhYPy5i.js").then((m) => m["default"]),
2420
2420
  "./paper/index.ts": () => import("./index-DPTR_QJn.js").then((m) => m["default"]),
2421
- "./td/index.ts": () => import("./index-BLf1U1A9.js").then((m) => m["default"]),
2422
- "./tr/index.ts": () => import("./index-Cb7Fh_E2.js").then((m) => m["default"])
2421
+ "./td/index.ts": () => import("./index-D7x7hItu.js").then((m) => m["default"]),
2422
+ "./tr/index.ts": () => import("./index-B0BWjfNB.js").then((m) => m["default"])
2423
2423
  });
2424
2424
  return modules;
2425
2425
  }
@@ -16260,7 +16260,7 @@ function asyncImportWidgetConfigList() {
16260
16260
  return widgetConfigList;
16261
16261
  }
16262
16262
  function asyncImportWidgetDesign() {
16263
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CX-ZxOn3.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-B0WcJSEI.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-D6uOJZmP.js"), "./image/image-design.vue": () => import("./image-design-4Ee8rZqa.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-DANnqQdI.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BrE7Bb4V.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-BEA1JchI.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-B608oYcy.js"), "./text/text-design.vue": () => import("./text-design-V3TQuLps.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DRum3zZt.js") });
16263
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-DIQKGBL7.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-jb-cuT80.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-vAc9RdXd.js"), "./image/image-design.vue": () => import("./image-design-4Ee8rZqa.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-C7Cd0vsm.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-C34lg4jR.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-G75STwL4.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-B608oYcy.js"), "./text/text-design.vue": () => import("./text-design-ZbT4-OIQ.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DRum3zZt.js") });
16264
16264
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
16265
16265
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
16266
16266
  if (mKey) {
@@ -56837,7 +56837,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
56837
56837
  }
56838
56838
  });
56839
56839
  function asyncImportWidgetProp() {
56840
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CNrl2NxY.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-CqjD1SwW.js"), "./widget-image.vue": () => import("./widget-image-Xjl5W2Fp.js"), "./widget-line.vue": () => import("./widget-line-BUVVnwrU.js"), "./widget-pagination.vue": () => import("./widget-pagination-DjMXWioI.js"), "./widget-power.vue": () => import("./widget-power-Dck9H8a9.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-Cu8BwE24.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DLxebCKf.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DecFCGS0.js"), "./widget-text.vue": () => import("./widget-text-DV3yKKsx.js"), "./widget-timediff.vue": () => import("./widget-timediff-BIwewJ39.js") });
56840
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-FukO_v5o.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-BxaAV6Z0.js"), "./widget-image.vue": () => import("./widget-image-CGmm4QwO.js"), "./widget-line.vue": () => import("./widget-line-DHV95v22.js"), "./widget-pagination.vue": () => import("./widget-pagination-CAdmXA68.js"), "./widget-power.vue": () => import("./widget-power-sfFZYwYY.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-BEISi2k7.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DmPylyRg.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-4PW9_Sy0.js"), "./widget-text.vue": () => import("./widget-text-CFzr4fdg.js"), "./widget-timediff.vue": () => import("./widget-timediff-BY4BQSVg.js") });
56841
56841
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
56842
56842
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
56843
56843
  if (mKey) {
@@ -74486,7 +74486,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
74486
74486
  }
74487
74487
  });
74488
74488
  const VueVideoPlayer = defineAsyncComponent(
74489
- () => import("./VueVideoPlayer-BuuQaqyI.js")
74489
+ () => import("./VueVideoPlayer-ClxhO4jg.js")
74490
74490
  );
74491
74491
  const _hoisted_1$18 = {
74492
74492
  key: 0,
@@ -87260,7 +87260,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
87260
87260
  return [
87261
87261
  ...(modelMetaMap2.value[mainModelKey]?.fields ?? []).filter(
87262
87262
  (field) => field.key && usedFieldKeys.has(field.key) && !subTableFieldModel2.value.some((item) => item.field.key === field.key)
87263
- ).map((field) => ({ label: field.name || field.key, value: field.key })),
87263
+ ).map((field) => ({ label: field.name || field.key, value: field.key, objectField: !!field.belongingObject })),
87264
87264
  ...subTableFieldModel2.value.filter(({ field }) => field.key && subFields.has(field.key)).map(({ field, model }) => ({
87265
87265
  label: field.name || field.key,
87266
87266
  value: field.key,
@@ -87630,7 +87630,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
87630
87630
  };
87631
87631
  }
87632
87632
  });
87633
- const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-099f849c"]]);
87633
+ const PanelDataInitConfig = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-b72630c2"]]);
87634
87634
  const MODEL_KEY = "em_product";
87635
87635
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
87636
87636
  __name: "material-rdo-select",
@@ -96179,8 +96179,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
96179
96179
  printTask = (async () => {
96180
96180
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
96181
96181
  await nextTick();
96182
- const { printRuntimeInstance } = await import("./print-runtime-instance-PabaORE2.js");
96183
- const { default: renderer } = await import("./print-snapshot-renderer-DQr2G7Hv.js");
96182
+ const { printRuntimeInstance } = await import("./print-runtime-instance-CfG_y_pu.js");
96183
+ const { default: renderer } = await import("./print-snapshot-renderer-DSlZELM2.js");
96184
96184
  if (abort.signal.aborted) throw new Error("打印已取消");
96185
96185
  printRenderer.value = markRaw(renderer);
96186
96186
  await printRuntimeInstance(
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class DynValue extends BaseComponent {
9
9
  component = ComponentTypeEnum.DynValue;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import { pick } from "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-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Diagonal extends BaseComponent {
9
9
  component = ComponentTypeEnum.Diagonal;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Textarea extends BaseComponent {
9
9
  component = ComponentTypeEnum.Textarea;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,8 +4,8 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
8
- import { g as getFieldWidget } from "./index-GoAXo3fT.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
+ import { g as getFieldWidget } from "./index-DoSH7mnC.js";
9
9
  class EnumSelect extends BaseComponent {
10
10
  component = ComponentTypeEnum.EnumSelect;
11
11
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class Sign extends BaseComponent {
9
9
  component = ComponentTypeEnum.Sign;
10
10
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
7
+ import { B as BaseComponent } from "./BaseComponent-etri-HVz.js";
8
8
  class UploadImage extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadImage;
10
10
  wrapperCmpConfig({ data }) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-GoAXo3fT.js";
1
+ import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-DoSH7mnC.js";
2
2
  import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js";
3
3
  import { DataSources } from "@gct-paas/form-base";
4
4
  export {
@@ -4,7 +4,7 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { j as calcText } from "./index-GoAXo3fT.js";
7
+ import { j as calcText } from "./index-DoSH7mnC.js";
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "pagination-design",
10
10
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-DoSH7mnC.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-GoAXo3fT.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-DoSH7mnC.js";
2
2
  async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
3
3
  if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
4
4
  const snapshot = await record.controller.preparePrintSnapshot(
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
2
- import { X as RuntimeFormStateStore, Z as RuntimeInstanceRegistry, R as NCB_PROVIDE } from "./dynamic-table-action-D-ub6KoK.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-GzYKYE9t.js";
4
- import { _ as _sfc_main$1 } from "./index-GoAXo3fT.js";
2
+ import { X as RuntimeFormStateStore, Z as RuntimeInstanceRegistry, R as NCB_PROVIDE } from "./dynamic-table-action-DpIXTpSN.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-C8IG5P9N.js";
4
+ import { _ as _sfc_main$1 } from "./index-DoSH7mnC.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "print-snapshot-renderer",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-GoAXo3fT.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-DoSH7mnC.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-DoSH7mnC.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-GoAXo3fT.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-DoSH7mnC.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "single-field-drop",
6
6
  props: {
@@ -1,4 +1,5 @@
1
1
  import { IBomEntry, IMaterialConsumeData } from './types';
2
+ type ConsumeDataSource = 'current' | 'history';
2
3
  /** 行级校验错误:提交时挂到对应单元格,扫码/切组仍可读 message */
3
4
  export declare class McRowValidateError extends Error {
4
5
  readonly targetFieldId: 'product_id_' | 'material_no_' | 'qty_' | 'expiration_date_';
@@ -69,9 +70,9 @@ export declare class BomEntryValidator {
69
70
  * @param arr
70
71
  * @return {*}
71
72
  */
72
- filterGroupData(arr: IMaterialConsumeData[]): IMaterialConsumeData[];
73
- /** 行是否属于本 BOM 组(优先 bom_entry_id_,避免跨组 product_id_ 误判) */
74
- isRowInGroup(row: IMaterialConsumeData): boolean;
73
+ filterGroupData(arr: IMaterialConsumeData[], source?: ConsumeDataSource): IMaterialConsumeData[];
74
+ /** 按数据来源优先匹配关联标识,无关联标识时按物料判断。 */
75
+ isRowInGroup(row: IMaterialConsumeData, source?: ConsumeDataSource): boolean;
75
76
  /** 组内已选中的物料(整批替代;不排除当前行) */
76
77
  getGroupExistingProductId(tableData: IMaterialConsumeData[]): string | undefined;
77
78
  /**
@@ -98,9 +99,9 @@ export declare class BomEntryValidator {
98
99
  * @param arr
99
100
  * @return {*}
100
101
  */
101
- calcQtyConsumed(arr?: IMaterialConsumeData[]): number;
102
+ calcQtyConsumed(arr?: IMaterialConsumeData[], source?: ConsumeDataSource): number;
102
103
  /** 上下限校验统一按需求单位口径取转换数量,历史数据未转换时兼容原数量。 */
103
- calcQtyForBounds(arr: IMaterialConsumeData[]): number;
104
+ calcQtyForBounds(arr: IMaterialConsumeData[], source?: ConsumeDataSource): number;
104
105
  /**
105
106
  * 计算自定义的数量校验的最大值和最小值
106
107
  * @param data
@@ -249,3 +250,4 @@ export declare class BomEntriesValidator {
249
250
  export declare function isRowInBomGroup(row: IMaterialConsumeData, util: BomEntryValidator): boolean;
250
251
  /** 设置整组编辑态:editing=true → is_confirmed_=false */
251
252
  export declare function setGroupEditState(table: IMaterialConsumeData[], util: BomEntryValidator, editing: boolean): void;
253
+ export {};
@@ -4,6 +4,8 @@ import { RequiredQtyCalcRule, ScanParamType } from '../../types/common/base';
4
4
  export interface IBomEntry {
5
5
  /** 明细id */
6
6
  id_: string;
7
+ /** 父级关联 ID */
8
+ parent_id_?: string;
7
9
  /** 排序字段 */
8
10
  sort_num_: number;
9
11
  /** 物料id */
@@ -162,6 +164,8 @@ export interface IMaterialConsumeData {
162
164
  deleted_?: boolean;
163
165
  /** 后端需要的bom明细id */
164
166
  bom_entry_id_?: string;
167
+ /** 历史消耗的 BOM 父级关联标识,用于匹配 BOM 明细的 parent_id_ */
168
+ bom_entry_parent_id_?: string;
165
169
  /** 扫码未回填 product_id_ 的兜底行标记(记录模式内部瞬态,行生命周期内持久,不向后端提交) */
166
170
  _scanFallback?: boolean;
167
171
  /** 本次上料汇总数量 */
@@ -145,6 +145,7 @@ export declare const useAllSpreadSheets: () => {
145
145
  sequence_loading_enabled_?: boolean | undefined;
146
146
  entries_: {
147
147
  id_: string;
148
+ parent_id_?: string | undefined;
148
149
  sort_num_: number;
149
150
  product_id_: string;
150
151
  product_code_: string;
@@ -594,6 +595,7 @@ export declare const useAllSpreadSheets: () => {
594
595
  sequence_loading_enabled_?: boolean | undefined;
595
596
  entries_: {
596
597
  id_: string;
598
+ parent_id_?: string | undefined;
597
599
  sort_num_: number;
598
600
  product_id_: string;
599
601
  product_code_: string;
@@ -754,6 +756,7 @@ export declare const useAllSpreadSheets: () => {
754
756
  sequence_loading_enabled_?: boolean | undefined;
755
757
  entries_: {
756
758
  id_: string;
759
+ parent_id_?: string | undefined;
757
760
  sort_num_: number;
758
761
  product_id_: string;
759
762
  product_code_: string;
@@ -1046,6 +1049,7 @@ export declare const useAllSpreadSheets: () => {
1046
1049
  sequence_loading_enabled_?: boolean | undefined;
1047
1050
  entries_: {
1048
1051
  id_: string;
1052
+ parent_id_?: string | undefined;
1049
1053
  sort_num_: number;
1050
1054
  product_id_: string;
1051
1055
  product_code_: string;
@@ -1495,6 +1499,7 @@ export declare const useAllSpreadSheets: () => {
1495
1499
  sequence_loading_enabled_?: boolean | undefined;
1496
1500
  entries_: {
1497
1501
  id_: string;
1502
+ parent_id_?: string | undefined;
1498
1503
  sort_num_: number;
1499
1504
  product_id_: string;
1500
1505
  product_code_: string;
@@ -1655,6 +1660,7 @@ export declare const useAllSpreadSheets: () => {
1655
1660
  sequence_loading_enabled_?: boolean | undefined;
1656
1661
  entries_: {
1657
1662
  id_: string;
1663
+ parent_id_?: string | undefined;
1658
1664
  sort_num_: number;
1659
1665
  product_id_: string;
1660
1666
  product_code_: string;
@@ -1946,6 +1952,7 @@ export declare const useAllSpreadSheets: () => {
1946
1952
  sequence_loading_enabled_?: boolean | undefined;
1947
1953
  entries_: {
1948
1954
  id_: string;
1955
+ parent_id_?: string | undefined;
1949
1956
  sort_num_: number;
1950
1957
  product_id_: string;
1951
1958
  product_code_: string;
@@ -2144,6 +2151,7 @@ export declare const useAllSpreadSheets: () => {
2144
2151
  sequence_loading_enabled_?: boolean | undefined;
2145
2152
  entries_: {
2146
2153
  id_: string;
2154
+ parent_id_?: string | undefined;
2147
2155
  sort_num_: number;
2148
2156
  product_id_: string;
2149
2157
  product_code_: string;
@@ -2590,6 +2598,7 @@ export declare const useAllSpreadSheets: () => {
2590
2598
  sequence_loading_enabled_?: boolean | undefined;
2591
2599
  entries_: {
2592
2600
  id_: string;
2601
+ parent_id_?: string | undefined;
2593
2602
  sort_num_: number;
2594
2603
  product_id_: string;
2595
2604
  product_code_: string;
@@ -2750,6 +2759,7 @@ export declare const useAllSpreadSheets: () => {
2750
2759
  sequence_loading_enabled_?: boolean | undefined;
2751
2760
  entries_: {
2752
2761
  id_: string;
2762
+ parent_id_?: string | undefined;
2753
2763
  sort_num_: number;
2754
2764
  product_id_: string;
2755
2765
  product_code_: string;
@@ -3286,6 +3296,7 @@ export declare const useAllSpreadSheets: () => {
3286
3296
  sequence_loading_enabled_?: boolean | undefined;
3287
3297
  entries_: {
3288
3298
  id_: string;
3299
+ parent_id_?: string | undefined;
3289
3300
  sort_num_: number;
3290
3301
  product_id_: string;
3291
3302
  product_code_: string;
@@ -3446,6 +3457,7 @@ export declare const useAllSpreadSheets: () => {
3446
3457
  sequence_loading_enabled_?: boolean | undefined;
3447
3458
  entries_: {
3448
3459
  id_: string;
3460
+ parent_id_?: string | undefined;
3449
3461
  sort_num_: number;
3450
3462
  product_id_: string;
3451
3463
  product_code_: string;
@@ -520,6 +520,7 @@ export declare function useSpreadSheet(): {
520
520
  sequence_loading_enabled_?: boolean | undefined;
521
521
  entries_: {
522
522
  id_: string;
523
+ parent_id_?: string | undefined;
523
524
  sort_num_: number;
524
525
  product_id_: string;
525
526
  product_code_: string;
@@ -680,6 +681,7 @@ export declare function useSpreadSheet(): {
680
681
  sequence_loading_enabled_?: boolean | undefined;
681
682
  entries_: {
682
683
  id_: string;
684
+ parent_id_?: string | undefined;
683
685
  sort_num_: number;
684
686
  product_id_: string;
685
687
  product_code_: string;
@@ -1212,6 +1214,7 @@ export declare function useSpreadSheet(): {
1212
1214
  sequence_loading_enabled_?: boolean | undefined;
1213
1215
  entries_: {
1214
1216
  id_: string;
1217
+ parent_id_?: string | undefined;
1215
1218
  sort_num_: number;
1216
1219
  product_id_: string;
1217
1220
  product_code_: string;
@@ -1372,6 +1375,7 @@ export declare function useSpreadSheet(): {
1372
1375
  sequence_loading_enabled_?: boolean | undefined;
1373
1376
  entries_: {
1374
1377
  id_: string;
1378
+ parent_id_?: string | undefined;
1375
1379
  sort_num_: number;
1376
1380
  product_id_: string;
1377
1381
  product_code_: string;
@@ -1661,6 +1665,7 @@ export declare function useSpreadSheet(): {
1661
1665
  sequence_loading_enabled_?: boolean | undefined;
1662
1666
  entries_: {
1663
1667
  id_: string;
1668
+ parent_id_?: string | undefined;
1664
1669
  sort_num_: number;
1665
1670
  product_id_: string;
1666
1671
  product_code_: string;
@@ -1859,6 +1864,7 @@ export declare function useSpreadSheet(): {
1859
1864
  sequence_loading_enabled_?: boolean | undefined;
1860
1865
  entries_: {
1861
1866
  id_: string;
1867
+ parent_id_?: string | undefined;
1862
1868
  sort_num_: number;
1863
1869
  product_id_: string;
1864
1870
  product_code_: string;
@@ -2014,6 +2020,7 @@ export declare function useSpreadSheet(): {
2014
2020
  sequence_loading_enabled_?: boolean | undefined;
2015
2021
  entries_: {
2016
2022
  id_: string;
2023
+ parent_id_?: string | undefined;
2017
2024
  sort_num_: number;
2018
2025
  product_id_: string;
2019
2026
  product_code_: string;
@@ -33,6 +33,7 @@ export declare function useObjectInit(): {
33
33
  sequence_loading_enabled_?: boolean | undefined;
34
34
  entries_: {
35
35
  id_: string;
36
+ parent_id_?: string | undefined;
36
37
  sort_num_: number;
37
38
  product_id_: string;
38
39
  product_code_: string;
@@ -389,6 +389,7 @@ export declare function useDynamicSubTablePanel(): {
389
389
  sequence_loading_enabled_?: boolean | undefined;
390
390
  entries_: {
391
391
  id_: string;
392
+ parent_id_?: string | undefined;
392
393
  sort_num_: number;
393
394
  product_id_: string;
394
395
  product_code_: string;
@@ -549,6 +550,7 @@ export declare function useDynamicSubTablePanel(): {
549
550
  sequence_loading_enabled_?: boolean | undefined;
550
551
  entries_: {
551
552
  id_: string;
553
+ parent_id_?: string | undefined;
552
554
  sort_num_: number;
553
555
  product_id_: string;
554
556
  product_code_: string;
@@ -1081,6 +1083,7 @@ export declare function useDynamicSubTablePanel(): {
1081
1083
  sequence_loading_enabled_?: boolean | undefined;
1082
1084
  entries_: {
1083
1085
  id_: string;
1086
+ parent_id_?: string | undefined;
1084
1087
  sort_num_: number;
1085
1088
  product_id_: string;
1086
1089
  product_code_: string;
@@ -1241,6 +1244,7 @@ export declare function useDynamicSubTablePanel(): {
1241
1244
  sequence_loading_enabled_?: boolean | undefined;
1242
1245
  entries_: {
1243
1246
  id_: string;
1247
+ parent_id_?: string | undefined;
1244
1248
  sort_num_: number;
1245
1249
  product_id_: string;
1246
1250
  product_code_: string;
@@ -1455,6 +1459,7 @@ export declare function useDynamicSubTablePanel(): {
1455
1459
  sequence_loading_enabled_?: boolean | undefined;
1456
1460
  entries_: {
1457
1461
  id_: string;
1462
+ parent_id_?: string | undefined;
1458
1463
  sort_num_: number;
1459
1464
  product_id_: string;
1460
1465
  product_code_: string;
@@ -1614,6 +1619,7 @@ export declare function useDynamicSubTablePanel(): {
1614
1619
  sequence_loading_enabled_?: boolean | undefined;
1615
1620
  entries_: {
1616
1621
  id_: string;
1622
+ parent_id_?: string | undefined;
1617
1623
  sort_num_: number;
1618
1624
  product_id_: string;
1619
1625
  product_code_: string;
@@ -1,5 +1,5 @@
1
1
  import { shallowReactive } from "vue";
2
- import { a_ as SubTableActionMenuTypeEnum, a$ as getMenuByAction, b0 as SubTableActionEnum, b1 as resolveScanFillData, aF as SubTableCore, b2 as buildDefaultMapFromProfile, b3 as buildFieldStatusFromProfile, b4 as getRowHandlersForFieldChange, b5 as getInsertSubMenu, b6 as resolveScanAdjustType, b7 as resolveScanQty, b8 as toDateOnly, b9 as hasSubtableBusinessData, ba as getCopySubMenu, bb as resolveScanParsedValue, bc as isProductBatchEmptyRow } from "./dynamic-table-action-D-ub6KoK.js";
2
+ import { a_ as SubTableActionMenuTypeEnum, a$ as getMenuByAction, b0 as SubTableActionEnum, b1 as resolveScanFillData, aF as SubTableCore, b2 as buildDefaultMapFromProfile, b3 as buildFieldStatusFromProfile, b4 as getRowHandlersForFieldChange, b5 as getInsertSubMenu, b6 as resolveScanAdjustType, b7 as resolveScanQty, b8 as toDateOnly, b9 as hasSubtableBusinessData, ba as getCopySubMenu, bb as resolveScanParsedValue, bc as isProductBatchEmptyRow } from "./dynamic-table-action-DpIXTpSN.js";
3
3
  import { p as api, cO as F$1, aS as resolveLotDisplayLabel, cP as FILL_FROM_TARGET_PRODUCT_OPTION, b4 as resolveLotRecordByValue, b9 as ProductionIdentificationTypeEnum, b2 as buildLotSnListQuery, cQ as F$2, cR as SCAN_ROW_CONTENT_FIELDS, cS as F$3, cT as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cU as F$4, cV as F$5, cW as FILL_FROM_SOURCE_PRODUCT_OPTION, cX as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cY as FILL_FROM_INVENTORY_OPTION, cZ as FILL_FROM_PART_OPTION, c_ as FILL_FROM_INVENTORY_OPTION$1, c$ as TABLE_TYPE, d0 as FILL_FROM_INVENTORY_OPTION$2, bf as F$6, d1 as INVENTORY_BASE_FIELDS, d2 as resolveGroupByWarehouse, d3 as AUTO_LOAD_READONLY_SELECT_FIELDS, be as STOCKTAKE_DIMENSION, bb as getParseRuleInfo, d4 as buildFillFromInventoryOption, c7 as calcFillData, d5 as resolveStocktakeInventoryApi, bc as getParseRuleValue, d6 as F$7, d7 as FILL_FROM_INVENTORY_OPTION$3, d8 as LOCKED_INPUT_FIELDS, cd as extractKeywordFromQueryData, d9 as composeProductionLotListQuery, da as F$8, db as isProductManuallyEditable, dc as applyFillFromMfgOrderOption, dd as applyFillFromOption$1, de as applyFillFromProductOption, df as mergeQueryFilters, dg as composeMaterialLotListQuery, b1 as LOT_CONTAINER_ROLE, dh as MATERIAL_CONTAINER_ID, di as F$9, dj as PRODUCT_QUICK_SEARCH_FIELDS, dk as PRODUCT_QUICK_SEARCH_EXP, dl as isProductManuallyEditable$1, dm as applyFillFromMaterialNoOption, dn as applyFillFromProductOption$1, dp as F$a, dq as FILL_FROM_INVENTORY_OPTION$4, a1 as FormTypeEnum, d as getBusinessProfileByRefModelType, aN as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  class RuntimeInstanceController {
@@ -4,7 +4,7 @@ import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-act
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { u as useSpreadSheet, h as useModelFields } from "./index-GoAXo3fT.js";
7
+ import { u as useSpreadSheet, h as useModelFields } from "./index-DoSH7mnC.js";
8
8
  const _hoisted_1 = { class: "ws-pre-wrap" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "text-design",
@@ -4,7 +4,7 @@ import "vue";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-GoAXo3fT.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-DoSH7mnC.js";
8
8
  function getTraceLikeSelectProps(data) {
9
9
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
10
10
  const displayFields = (() => {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-GoAXo3fT.js";
3
+ import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-DoSH7mnC.js";
4
4
  import { Y as PaperWidgeValueType, ax as ExpressionModeEnum, az as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-GoAXo3fT.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DoSH7mnC.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DiqzTQxP.js";
4
4
  import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, q as SelectEx } from "./index-GoAXo3fT.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-DoSH7mnC.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { ad as useNamespace, F as FIELD_TYPE, ae as _export_sfc, an as DiagonalDirection, ar as DiagonalVertex, cu as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
7
7
  import { message } from "ant-design-vue";
8
- import { S as SingleFieldDrop } from "./single-field-drop-CkUP3H7u.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-ui-vFIsu.js";
9
9
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "diagonal-name-editor",
11
11
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-GoAXo3fT.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-DoSH7mnC.js";
3
3
  import { S as SizeEditor } from "./size-editor-Bl-lUcdU.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { ao as WidgetImageSizeMode, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
@@ -4,7 +4,7 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-GoAXo3fT.js";
7
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-DoSH7mnC.js";
8
8
  const _hoisted_1 = { class: "ks-row-middle" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "widget-line",
@@ -4,10 +4,10 @@ import "lodash-es";
4
4
  import "dayjs";
5
5
  import "@gct-paas/form-base";
6
6
  import "ant-design-vue";
7
- import { F as FormItem, y as PaginationFormatOptions } from "./index-GoAXo3fT.js";
7
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-DoSH7mnC.js";
8
8
  import { S as SizeEditor } from "./size-editor-Bl-lUcdU.js";
9
9
  import { A as AlignEditor } from "./align-editor-DWHHVeY1.js";
10
- import { F as FontEditor } from "./font-editor-_HTdKFX6.js";
10
+ import { F as FontEditor } from "./font-editor-CzFsHD-d.js";
11
11
  const _hoisted_1 = { class: "pl-6px" };
12
12
  const _hoisted_2 = { class: "pl-6px" };
13
13
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-GoAXo3fT.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-CkUP3H7u.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-DoSH7mnC.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-ui-vFIsu.js";
4
4
  import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import { message } from "ant-design-vue";
6
6
  import "lodash-es";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-GoAXo3fT.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DoSH7mnC.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DiqzTQxP.js";
4
4
  import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-GoAXo3fT.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-CkUP3H7u.js";
2
+ import { F as FormItem } from "./index-DoSH7mnC.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-ui-vFIsu.js";
4
4
  import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
5
5
  import { message } from "ant-design-vue";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-GoAXo3fT.js";
2
+ import { F as FormItem } from "./index-DoSH7mnC.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, F as FormItem } from "./index-GoAXo3fT.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-DoSH7mnC.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DiqzTQxP.js";
4
4
  import { S as SizeEditor } from "./size-editor-Bl-lUcdU.js";
5
5
  import { A as AlignEditor } from "./align-editor-DWHHVeY1.js";
6
- import { F as FontEditor } from "./font-editor-_HTdKFX6.js";
6
+ import { F as FontEditor } from "./font-editor-CzFsHD-d.js";
7
7
  const _hoisted_1 = { class: "pl-6px" };
8
8
  const _hoisted_2 = { class: "pl-6px" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-GoAXo3fT.js";
2
+ import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-DoSH7mnC.js";
3
3
  import { F as FIELD_TYPE, aq as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/excel",
3
- "version": "0.1.40-beta.30",
3
+ "version": "0.1.40-beta.31",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@ant-design/icons-vue": "^6.1.0",
47
47
  "@gct-paas/core": "0.1.6-dev.41",
48
- "@gct-paas/form-base": "0.1.7-beta.0",
48
+ "@gct-paas/form-base": "0.1.7-beta.1",
49
49
  "@gct-paas/scss": "0.1.6-dev.41",
50
50
  "@panzoom/panzoom": "^4.6.2",
51
51
  "@revolist/vue3-datagrid": "^4.24.2",
@@ -1,4 +0,0 @@
1
- import { k as _sfc_main } from "./index-GoAXo3fT.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,4 +0,0 @@
1
- import { f as _sfc_main } from "./index-GoAXo3fT.js";
2
- export {
3
- _sfc_main as default
4
- };