@gct-paas/excel 0.1.39-beta.4 → 0.1.39-beta.40

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 (125) hide show
  1. package/dist/{BaseComponent-B8_qg2he.js → BaseComponent-DidQ_7a_.js} +2 -2
  2. package/dist/{VueVideoPlayer-B-X9Kvhp.js → VueVideoPlayer-CTtss6-e.js} +2 -2
  3. package/dist/{align-editor-1IbAiPBg.js → align-editor-0EJDQ9xk.js} +1 -1
  4. package/dist/{barcode-design-DCm1U-OU.js → barcode-design-B8Wx_KI7.js} +2 -2
  5. package/dist/base/index.es.js +545 -244
  6. package/dist/{diagonal-design-DBk2s8UD.js → diagonal-design-Be5dGB14.js} +2 -2
  7. package/dist/{dynamic-table-action-JSevwsex.js → dynamic-table-action-Bmdi7alJ.js} +949 -304
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js} +636 -1140
  9. package/dist/{edit.utils-CXmmCnxE-88-QvdIv.js → edit.utils-CXmmCnxE-Cj0XviBc.js} +1 -1
  10. package/dist/excel.css +527 -327
  11. package/dist/{exceljs.min-M28cAz_z.js → exceljs.min-wH4A-2gc.js} +2 -2
  12. package/dist/{font-editor-nCQk5D1K.js → font-editor-B57ztQI3.js} +3 -3
  13. package/dist/{image-design-B84grap7.js → image-design-AOi1nT_M.js} +2 -2
  14. package/dist/{index-jRA6sXVY.js → index-2SyQ6xAT.js} +1 -1
  15. package/dist/{index-B53fgzJo.js → index-4GNzFs_7.js} +2 -2
  16. package/dist/{index-H_BLk7PI.js → index-B0Vbs0k9.js} +2 -2
  17. package/dist/{index-UCNknVxk.js → index-B1JboJFx.js} +1 -1
  18. package/dist/{index-bfXiwTE7.js → index-B57o3Egn.js} +1834 -1644
  19. package/dist/{index-_-ORWa-m.js → index-BFhX3ACB.js} +1 -1
  20. package/dist/{index-BvJ7ZgvI.js → index-BK6FsaFW.js} +2 -2
  21. package/dist/{index-XBuNXPu0.js → index-BKkc9PaW.js} +2 -2
  22. package/dist/{index-Co1E4H0G.js → index-BMrT49e4.js} +2 -2
  23. package/dist/{index-CKWcaJGI.js → index-BNIABvw9.js} +5 -7
  24. package/dist/{index-D7IBmbmp.js → index-BU9aiCZH.js} +2 -2
  25. package/dist/{index-DT87VrvR.js → index-B_f2z7Fg.js} +2 -2
  26. package/dist/{index-ChncMTkv.js → index-BeFJ_RCt.js} +1 -1
  27. package/dist/{index-tZd-Us4e.js → index-Bserup-h.js} +2 -2
  28. package/dist/{index-DEl0sxMk.js → index-Bx6NpFE9.js} +6 -5
  29. package/dist/{index-CCsNdL4I.js → index-C8iDQtRr.js} +2 -2
  30. package/dist/{index-I2HpU1BP.js → index-CC2qut8m.js} +3 -3
  31. package/dist/{index-D0Q-6EtG.js → index-CDhZoiEf.js} +1 -1
  32. package/dist/{index-DPOE78Jf.js → index-CF39ggy5.js} +2 -2
  33. package/dist/{index-CUHfI8cg.js → index-Cfe2Q-hG.js} +1 -1
  34. package/dist/{index-CX6LqGJP.js → index-Cld2wf77.js} +1 -1
  35. package/dist/{index-BSXafKJS.js → index-CqqJ3his.js} +2 -2
  36. package/dist/{index-CFjE5779.js → index-D0drNdqI.js} +3 -2
  37. package/dist/{index-CGsTW2E9.js → index-D7ovxfg9.js} +2 -2
  38. package/dist/{index-DkvjFyW6.js → index-DM7iO1vz.js} +2 -2
  39. package/dist/{index-wcY1RYL_.js → index-DQBCQIUX.js} +2 -2
  40. package/dist/{index-CCp6-NXH.js → index-DT3EoOVp.js} +3 -3
  41. package/dist/{index-DCzL4GOP.js → index-DThgFjEo.js} +53 -5
  42. package/dist/{index-BrkoN2-J.js → index-NNGcsmsY.js} +6 -5
  43. package/dist/{index-CBiaZr1j.js → index-PFPhIStD.js} +2 -2
  44. package/dist/{index-Doz8Gf_5.js → index-SXIZsVts.js} +1 -1
  45. package/dist/{index-ZEwe0MJj.js → index-aGcBuVIb.js} +2 -2
  46. package/dist/{index-DEN3-esb.js → index-jvotzKm2.js} +3 -3
  47. package/dist/{index-DHHyy4mL.js → index-n97S5YRD.js} +1 -1
  48. package/dist/{index-MJFci9IB.js → index-nl7I1bLi.js} +1 -1
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BZDgmpm9.js → mb-render-FUO_-FXR.js} +9 -3
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Ciue53Ue.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DOYhOffQ.js} +8 -1
  52. package/dist/{pagination-design-BYqVZGdA.js → pagination-design-CcNfWRta.js} +2 -2
  53. package/dist/paper-widget-design-Dbo_qYm8.js +4 -0
  54. package/dist/{print-runtime-instance-D3BJGzia.js → print-runtime-instance-wqeNIemM.js} +1 -1
  55. package/dist/{print-snapshot-renderer-MzkjvlA8.js → print-snapshot-renderer-CPFIw63J.js} +3 -3
  56. package/dist/{qrcode-design-B0YGEijA.js → qrcode-design-BjA8SQXf.js} +1 -1
  57. package/dist/{revo-grid.entry-DdE6cuGJ.js → revo-grid.entry-DKvA7bUR.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-Er1fVrov.js → revogr-attribution_7.entry-C2PtJ_Tj.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-COq2SN-B.js → revogr-clipboard_3.entry-BM7_JY0U.js} +2 -2
  60. package/dist/{revogr-data_4.entry--CfGDdVK.js → revogr-data_4.entry-CdMQPL7I.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-DoNXkBy6.js → revogr-filter-panel.entry-BJiGVhcw.js} +1 -1
  62. package/dist/seal-design-B2qsDyWv.js +4 -0
  63. package/dist/{serialnumber-design-fMRSi9jn.js → serialnumber-design-QaDIsxYT.js} +1 -1
  64. package/dist/shared/index.es.js +23 -21
  65. package/dist/{single-field-drop-BycxT2Kf.js → single-field-drop-BA3lBMcJ.js} +2 -2
  66. package/dist/{size-editor-BKJfYgbR.js → size-editor-BV0KrQ37.js} +1 -1
  67. package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
  68. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
  69. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
  70. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
  71. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
  72. package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
  73. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
  74. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
  75. package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
  76. package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +19 -0
  77. package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
  78. package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
  79. package/dist/src/nocode-base/src/interface/transform.d.ts +9 -1
  80. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
  81. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
  82. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
  83. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
  84. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
  85. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
  86. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
  87. package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
  88. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
  89. package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
  90. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
  91. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
  92. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
  93. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  94. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +11 -0
  95. package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
  96. package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
  97. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
  98. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
  99. package/dist/src/shared/enum/field-type.d.ts +2 -0
  100. package/dist/src/shared/enum/index.d.ts +2 -0
  101. package/dist/src/shared/enum/product-type.d.ts +9 -0
  102. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  103. package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
  104. package/dist/src/shared/utils/grid-size.d.ts +2 -0
  105. package/dist/{sub-table-factory-BxG7QiiX.js → sub-table-factory-BP2eBKGz.js} +19 -7
  106. package/dist/{text-design-BQKYk7aD.js → text-design-CZkgq9OB.js} +5 -4
  107. package/dist/{throttle-Cpk1LoGk-BI0wP2Le.js → throttle-Cpk1LoGk-HQvkISS4.js} +1 -1
  108. package/dist/{timediff-design-O1IfzLVD.js → timediff-design-CKjl56qS.js} +1 -1
  109. package/dist/{trace-like-wrapper-CdKGpstE.js → trace-like-wrapper-CuKzkv-c.js} +2 -2
  110. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CCv0wmKI.js → value-editor.vue_vue_type_style_index_0_lang-Vw4MwIVM.js} +2 -2
  111. package/dist/web-render/index.es.js +3 -3
  112. package/dist/{widget-barcode-CK68yjvd.js → widget-barcode-W5MQVGy_.js} +4 -4
  113. package/dist/{widget-diagonal-9F-6feRM.js → widget-diagonal-BYx_rmij.js} +3 -3
  114. package/dist/{widget-image-2GcRCaIf.js → widget-image-Btu_5z7c.js} +5 -5
  115. package/dist/{widget-line-flwy9kew.js → widget-line-B7NFA4CC.js} +2 -2
  116. package/dist/{widget-pagination-pxpEH1UB.js → widget-pagination-DLS5-U_l.js} +5 -5
  117. package/dist/{widget-power-pFQ7lwCW.js → widget-power-BTR1uZ_X.js} +3 -3
  118. package/dist/{widget-qrcode-D_Ri0RG2.js → widget-qrcode-CJmioStY.js} +3 -3
  119. package/dist/{widget-rangelimit-DB97heRc.js → widget-rangelimit-DfuNVDsE.js} +3 -3
  120. package/dist/{widget-serialnumber-I35Sov0R.js → widget-serialnumber-KeVYJBn8.js} +1 -1
  121. package/dist/{widget-text-C93W0WWM.js → widget-text-D6PjB04d.js} +5 -5
  122. package/dist/{widget-timediff-S4X81H7c.js → widget-timediff-CSKXudmS.js} +2 -2
  123. package/package.json +2 -2
  124. package/dist/paper-widget-design-BcSUNaAF.js +0 -4
  125. package/dist/seal-design-CHOawN-k.js +0 -4
@@ -1,4 +1,4 @@
1
- import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, az as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, aw as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class UploadImage extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadImage;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Userpicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Userpicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Diagonal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Diagonal;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,6 +1,7 @@
1
- import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-bfXiwTE7.js";
3
- import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { pick, has, cloneDeep, get } from "lodash-es";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-B57o3Egn.js";
3
+ import { i as isCellAutoLineBreak } from "./dynamic-table-action-Bmdi7alJ.js";
4
+ import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
5
  import "vue";
5
6
  import "dayjs";
6
7
  import "ant-design-vue";
@@ -10,7 +11,7 @@ class Td {
10
11
  const cmp = {
11
12
  props: {
12
13
  ...pick(data.attrs ?? {}, ["colspan", "rowspan"]),
13
- autoLineBreak: false,
14
+ autoLineBreak: isCellAutoLineBreak(data.style),
14
15
  sourceBorderAttrs: ["cbt", "cbr", "cbb", "cbl", "bold"].filter((key) => data[key])
15
16
  },
16
17
  style: { ...pick(data.style, "backgroundColor") },
@@ -18,9 +19,6 @@ class Td {
18
19
  xAutoMerge: data.xAutoMerge || false,
19
20
  fillDirection: data.fillDirection || void 0
20
21
  };
21
- if (!isEmpty(data.style) && has(data.style, "whiteSpace") && has(data.style, "wordBreak") && data.style.whiteSpace === "pre-wrap" && data.style.wordBreak === "break-all") {
22
- cmp.props.autoLineBreak = true;
23
- }
24
22
  const fixedTableFieldMap = dataCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap;
25
23
  let config = data;
26
24
  if (has(data, "cellRef") && data.cellRef && data.subTableType === "CHECK" && fixedTableFieldMap[data.cellRef]) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Datepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Datepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get } from "lodash-es";
2
- import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class DynValue extends BaseComponent {
8
8
  component = ComponentTypeEnum.DynValue;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class UploadFile extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadFile;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,11 +1,11 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-JSevwsex.js";
3
- import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-Bmdi7alJ.js";
3
+ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition, aZ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-bfXiwTE7.js";
8
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
7
+ import { g as getFieldWidget } from "./index-B57o3Egn.js";
8
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
9
9
  class Switch extends BaseComponent {
10
10
  component = ComponentTypeEnum.Switch;
11
11
  wrapperCmpConfig({ data }) {
@@ -21,7 +21,8 @@ class Switch extends BaseComponent {
21
21
  displayMode: get(data.info, "showMode", BooleanShowMode.Both),
22
22
  direction: get(data.info, "direction", Orientation.Landscape),
23
23
  letterSpace: get(data.info, "iconLabelSpace", 0),
24
- optionGap: get(data.info, "optionGap", 12),
24
+ // 旧组件保留未配置状态,继续使用原选项边距。
25
+ optionGap: get(data.info, "optionGap"),
25
26
  size: get(data.info, "fontSize", 12),
26
27
  prefix: get(data.info, "prefix"),
27
28
  suffix: get(data.info, "suffix")
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, aZ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Textarea extends BaseComponent {
8
8
  component = ComponentTypeEnum.Textarea;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CdKGpstE.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CuKzkv-c.js";
8
8
  class RdoSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.RdoSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,5 +1,5 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import { pick, get } from "lodash-es";
5
5
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,5 +1,5 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { A as AsyncGctOnlineComponents } from "./index-bfXiwTE7.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-B57o3Egn.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -1,9 +1,10 @@
1
- import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
+ import { f as normalizeSealDiameter } from "./dynamic-table-action-Bmdi7alJ.js";
5
6
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
7
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
8
  class Seal extends BaseComponent {
8
9
  component = ComponentTypeEnum.Seal;
9
10
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { has, get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class InputDouble extends BaseComponent {
8
8
  component = ComponentTypeEnum.InputDouble;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, F as FIELD_TYPE, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class DateTimepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.DateTimepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Department extends BaseComponent {
8
8
  component = ComponentTypeEnum.Department;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CdKGpstE.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-CuKzkv-c.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
- import { E as api, a8 as _export_sfc, cH as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, ce as getParseRuleConfig, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { E as api, a7 as _export_sfc, cp as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, c1 as getParseRuleConfig, aT as renderUtils, bl as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import { message, Modal, Form } from "ant-design-vue";
3
3
  import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
4
4
  import { debounce, cloneDeep } from "lodash-es";
5
5
  import "dayjs";
6
- import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-BZDgmpm9.js";
7
- import { useFormBaseModal } from "@gct-paas/form-base";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-FUO_-FXR.js";
7
+ import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
8
8
  import { VxeGrid } from "vxe-table";
9
9
  const uploadApis = {
10
10
  upload: null,
@@ -3893,6 +3893,49 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3893
3893
  }
3894
3894
  });
3895
3895
  const ParseRuleModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-2712d5f4"]]);
3896
+ function text(value) {
3897
+ if (typeof value === "string") return value.trim();
3898
+ if (typeof value === "number") return String(value);
3899
+ return "";
3900
+ }
3901
+ function referenceColumn(field, title, minWidth, displayField) {
3902
+ return {
3903
+ field,
3904
+ title,
3905
+ minWidth,
3906
+ showOverflow: "tooltip",
3907
+ formatter: ({ row }) => text(displayField ? row[displayField] : void 0) || text(renderUtils.getLabJsonValue(row, field)) || text(renderUtils.getLabByDict(row, field)) || "—"
3908
+ };
3909
+ }
3910
+ const SCENE_COLUMNS_MAP = {
3911
+ inventory: () => [
3912
+ {
3913
+ field: "materialName",
3914
+ title: $t("物料名称"),
3915
+ minWidth: 140,
3916
+ showOverflow: "tooltip",
3917
+ formatter: ({ row }) => text(row.materialName) || text(row.productId) || "—"
3918
+ },
3919
+ {
3920
+ field: "materialNo",
3921
+ title: $t("物料批次"),
3922
+ minWidth: 160,
3923
+ showOverflow: "tooltip"
3924
+ },
3925
+ referenceColumn("warehouse_id_", $t("sys.model.warehouse"), 140, "warehouse_name_"),
3926
+ referenceColumn(
3927
+ "location_id_",
3928
+ $t("sys.pageDesigner.fieldCmp.location"),
3929
+ 140,
3930
+ "location_name_"
3931
+ ),
3932
+ referenceColumn("mfg_order_id_", $t("指定工单"), 180, "mfg_order_code_"),
3933
+ referenceColumn("lot_sn_id_", $t("指定批次"), 160, "lot_sn_name_")
3934
+ ]
3935
+ };
3936
+ function getScanColumns(scene) {
3937
+ return scene ? SCENE_COLUMNS_MAP[scene]?.() : void 0;
3938
+ }
3896
3939
  class SubTableRender {
3897
3940
  modalManager = new ModalManager();
3898
3941
  openScanModal(opts) {
@@ -3919,9 +3962,13 @@ class SubTableRender {
3919
3962
  }
3920
3963
  };
3921
3964
  openMultiRowsModal = async (opts) => {
3965
+ const columns = getScanColumns(opts.scene);
3922
3966
  const { success, result } = await useFormBaseModal(
3923
3967
  "SCAN_MULTI_ROWS_MODAL",
3924
- { rows: opts.rows },
3968
+ {
3969
+ rows: opts.rows,
3970
+ ...columns === void 0 ? {} : { columns }
3971
+ },
3925
3972
  {
3926
3973
  title: opts.title ?? $t("sys.kit.selectMaterial"),
3927
3974
  width: 640,
@@ -4130,7 +4177,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4130
4177
  });
4131
4178
  const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d267371"]]);
4132
4179
  class McWebRender extends MCRender {
4133
- /** 多 Sheet 下所有弹层都记录实例 ownerId,禁止使用全局关闭影响其他表单。 */
4180
+ /** overlay 弹层按实例记录,form-base 弹层通过其全局管理器关闭。 */
4134
4181
  modals = [];
4135
4182
  async handleModal(modal, ownerId) {
4136
4183
  const record = { ownerId, modal };
@@ -4140,6 +4187,7 @@ class McWebRender extends MCRender {
4140
4187
  this.modals = this.modals.filter((item) => item !== record);
4141
4188
  }
4142
4189
  destroyAllModals(ownerId) {
4190
+ closeAllFormBaseModal();
4143
4191
  const targets = this.modals.filter((item) => item.ownerId === ownerId);
4144
4192
  for (const { modal } of targets) {
4145
4193
  modal.dismiss();
@@ -1,10 +1,10 @@
1
1
  import { get, pick, omit, merge } from "lodash-es";
2
- import { C as ComponentTypeEnum, O as Orientation, a0 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, O as Orientation, $ as LabelPosition, aZ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
7
- import { g as getFieldWidget } from "./index-bfXiwTE7.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
+ import { g as getFieldWidget } from "./index-B57o3Egn.js";
8
8
  class EnumSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.EnumSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -15,8 +15,9 @@ class EnumSelect extends BaseComponent {
15
15
  bindCompStyleType: get(data.info, "renderComp", BindCmpStyleEnum.CMP_SELECT_LIST),
16
16
  labelPos: get(data.info, "labelPosition", LabelPosition.After),
17
17
  direction: get(data.info, "direction", Orientation.Landscape),
18
- letterSpace: get(data.info, "iconLabelSpace", 0),
19
- optionGap: get(data.info, "optionGap", 12),
18
+ letterSpace: get(data.info, "iconLabelSpace", 8),
19
+ // 旧设计稿保持未配置,由渲染组件沿用原选项边距。
20
+ optionGap: get(data.info, "optionGap"),
20
21
  size: get(data.info, "fontSize", 12),
21
22
  prefix: get(data.info, "prefix"),
22
23
  suffix: get(data.info, "suffix")
@@ -1,9 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, aZ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class Input extends BaseComponent {
8
8
  component = ComponentTypeEnum.Input;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,9 +1,9 @@
1
1
  import { has, get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp, at as RangeValidateMode, aZ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-B8_qg2he.js";
7
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-bfXiwTE7.js";
6
+ import { B as BaseComponent } from "./BaseComponent-DidQ_7a_.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-B57o3Egn.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,6 +1,6 @@
1
1
  import { pick, get } from "lodash-es";
2
2
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
3
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
3
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-bfXiwTE7.js";
2
- import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Ciue53Ue.js";
1
+ import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-B57o3Egn.js";
2
+ import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DOYhOffQ.js";
3
3
  export {
4
4
  G as AiTmplEditor,
5
5
  H as AiTmplModal,
@@ -1,5 +1,5 @@
1
1
  import { reactive, inject, provide } from "vue";
2
- import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  class MCRender {
4
4
  /**
5
5
  * 提示信息
@@ -55,7 +55,7 @@ class MCRender {
55
55
  /**
56
56
  * 销毁所有固定的模态
57
57
  */
58
- // 宿主实现只能销毁指定实例的弹层,不能再使用跨实例的全局关闭。
58
+ // overlay 弹层按实例销毁;form-base 弹层通过其全局关闭接口清理。
59
59
  destroyAllModals(_ownerId) {
60
60
  throw new Error("Function destroyAllModals not implemented.");
61
61
  }
@@ -162,7 +162,9 @@ class FormModelController {
162
162
  */
163
163
  getFormFieldOptions(subModelKey) {
164
164
  const fields = subModelKey ? this.getSubModelFields(subModelKey) : this.masterModel?.fields;
165
- return (fields ?? []).filter((field) => !this.isSystemField(field) && !this.isSubField(field)).map((field) => ({
165
+ return (fields ?? []).filter(
166
+ (field) => !this.isSystemField(field) && !this.isSubField(field) && !this.isObjectField(field)
167
+ ).map((field) => ({
166
168
  ...field,
167
169
  label: `${field.name}`,
168
170
  value: `${field.modelKey}.${field.key}`
@@ -215,6 +217,10 @@ class FormModelController {
215
217
  isSystemField(field) {
216
218
  return field.createType === CreateType.SYSTEM;
217
219
  }
220
+ /** 是否是对象字段类型 */
221
+ isObjectField(field) {
222
+ return field.type === FIELD_TYPE.OBJECT_TYPE;
223
+ }
218
224
  /**
219
225
  * 获取主模型里子表字段对应的子模型key
220
226
  *
@@ -1,10 +1,16 @@
1
1
  import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
2
2
  import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { Y as FormTypeEnum, a8 as _export_sfc, aA as FormDesignEnum, E as api, J as useModal, bP as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
3
+ import { X as FormTypeEnum, a7 as _export_sfc, ax as FormDesignEnum, E as api, J as useModal, bC as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
4
4
  import { isArray, cloneDeep, orderBy } from "lodash-es";
5
5
  import "dayjs";
6
6
  import { Form } from "ant-design-vue";
7
7
  import { VxeTable, VxeColumn } from "vxe-table";
8
+ var ProductTypeEnum = /* @__PURE__ */ ((ProductTypeEnum2) => {
9
+ ProductTypeEnum2["RAW_MATERIAL"] = "rawMaterial";
10
+ ProductTypeEnum2["SEMI_FINISHED_PRODUCT"] = "semiFinishedProduct";
11
+ ProductTypeEnum2["FINISHED_PRODUCT"] = "finishedProduct";
12
+ return ProductTypeEnum2;
13
+ })(ProductTypeEnum || {});
8
14
  var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
9
15
  SEARCH_SEVICE2["EQ"] = "eq";
10
16
  SEARCH_SEVICE2["IEQ"] = "iEq";
@@ -1270,6 +1276,7 @@ export {
1270
1276
  CloseOutlined as C,
1271
1277
  EmptyImg as E,
1272
1278
  OnlineFormModelModal as O,
1279
+ ProductTypeEnum as P,
1273
1280
  SEARCH_SEVICE as S,
1274
1281
  VersionSelect as V,
1275
1282
  _sfc_main as _
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
2
- import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-vRTNdchM.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { j as calcText } from "./index-bfXiwTE7.js";
6
+ import { j as calcText } from "./index-B57o3Egn.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "pagination-design",
9
9
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-B57o3Egn.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-bfXiwTE7.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-B57o3Egn.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 { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-JSevwsex.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-BxG7QiiX.js";
4
- import { _ as _sfc_main$1 } from "./index-bfXiwTE7.js";
2
+ import { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Bmdi7alJ.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-BP2eBKGz.js";
4
+ import { _ as _sfc_main$1 } from "./index-B57o3Egn.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-bfXiwTE7.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-B57o3Egn.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",