@gct-paas/excel 0.1.39-beta.3 → 0.1.39-beta.30

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 (120) hide show
  1. package/dist/{BaseComponent-MsYFQjlq.js → BaseComponent-BkwxLOiM.js} +2 -2
  2. package/dist/{VueVideoPlayer-B-X9Kvhp.js → VueVideoPlayer-DmZ_P4Cp.js} +2 -2
  3. package/dist/{align-editor-1IbAiPBg.js → align-editor-C1Fj-34U.js} +1 -1
  4. package/dist/{barcode-design-DPH8Uh2K.js → barcode-design-D90bLWOL.js} +2 -2
  5. package/dist/base/index.es.js +498 -195
  6. package/dist/{diagonal-design-AJOcMvxo.js → diagonal-design-YbEx-5SA.js} +2 -2
  7. package/dist/{dynamic-table-action-Bi7RdYoy.js → dynamic-table-action-DXlLVZZF.js} +349 -265
  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-DlcK-wt_.js} +375 -299
  9. package/dist/{edit.utils-CXmmCnxE-88-QvdIv.js → edit.utils-CXmmCnxE-BMWwEMfe.js} +1 -1
  10. package/dist/excel.css +522 -332
  11. package/dist/{exceljs.min-D7RI5VAg.js → exceljs.min-B-mYUB0l.js} +2 -2
  12. package/dist/{font-editor-ttnkgG9j.js → font-editor-D0dV4bEL.js} +3 -3
  13. package/dist/{image-design-B84grap7.js → image-design-DkQBDv9K.js} +2 -2
  14. package/dist/{index-BbDITMyp.js → index-8GDKkzhT.js} +2 -2
  15. package/dist/{index-Db-ix7hC.js → index-B-hm9GED.js} +2 -2
  16. package/dist/{index-_h9yoejq.js → index-BEkX75av.js} +2 -2
  17. package/dist/{index-MJFci9IB.js → index-BKmJ_uM2.js} +1 -1
  18. package/dist/{index-CUHfI8cg.js → index-BPvsxMaD.js} +1 -1
  19. package/dist/{index-UCNknVxk.js → index-BYpPubsS.js} +1 -1
  20. package/dist/{index-Doz8Gf_5.js → index-BgL2ciTw.js} +1 -1
  21. package/dist/{index-_ZsA68LD.js → index-Boj1Babg.js} +2 -2
  22. package/dist/{index-BKBn7Evl.js → index-C0gB21qk.js} +2 -2
  23. package/dist/{index-7YbJRzdP.js → index-CHv965Bj.js} +2 -2
  24. package/dist/{index-DgdosgZd.js → index-CNSt1kk7.js} +2 -2
  25. package/dist/{index-CLL_9LZB.js → index-CVPJGks5.js} +2 -2
  26. package/dist/{index-ChncMTkv.js → index-CaKVMIWJ.js} +1 -1
  27. package/dist/{index-Bb41zgXE.js → index-CfLLsSW6.js} +2 -2
  28. package/dist/{index-CuGZ6C7l.js → index-CiyvJops.js} +2 -2
  29. package/dist/{index-CR2Qyh5l.js → index-CrnlU1jr.js} +6 -5
  30. package/dist/{index-DCzL4GOP.js → index-D19ggbiC.js} +53 -5
  31. package/dist/{index-D9xmHJZc.js → index-D9BcQ25Q.js} +2 -2
  32. package/dist/{index-CX6LqGJP.js → index-DOGxYpwq.js} +1 -1
  33. package/dist/{index-D0Q-6EtG.js → index-DWrIPK_U.js} +1 -1
  34. package/dist/{index-89I_eBZ-.js → index-DZYpzeZM.js} +3 -3
  35. package/dist/{index-jRA6sXVY.js → index-Dgs95dud.js} +1 -1
  36. package/dist/{index-C_FegWKd.js → index-DlfthBvr.js} +2 -2
  37. package/dist/{index-DBT8-Qit.js → index-DsS5smhd.js} +3 -3
  38. package/dist/{index-DAN58pC9.js → index-DyLoooUC.js} +2 -2
  39. package/dist/{index-IRXUwksU.js → index-DzmKXFwH.js} +2 -2
  40. package/dist/{index-DNmbm6HV.js → index-K9yUIBxc.js} +6 -5
  41. package/dist/{index-DHHyy4mL.js → index-V3FsjgC2.js} +1 -1
  42. package/dist/{index-C90vW_gE.js → index-VBBgqHqv.js} +3 -3
  43. package/dist/{index-ab9KSEKp.js → index-Zr4W3H4i.js} +2 -2
  44. package/dist/{index-DmBNvVlZ.js → index-jfKiyRsE.js} +1327 -1111
  45. package/dist/{index-EhaPjLBG.js → index-lSMZmF7U.js} +2 -2
  46. package/dist/{index-B5NG2ONv.js → index-rDv1Pb8y.js} +2 -2
  47. package/dist/{index-n1HZa-Ar.js → index-ulVZgzRz.js} +2 -2
  48. package/dist/{index-_-ORWa-m.js → index-w1Oz-JSm.js} +1 -1
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BZDgmpm9.js → mb-render-Dc2J-VKn.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-D60Qjkgq.js} +8 -1
  52. package/dist/{pagination-design-DU2ZuaY4.js → pagination-design-J5Xr1H6H.js} +2 -2
  53. package/dist/paper-widget-design-mppU2AMx.js +4 -0
  54. package/dist/{print-runtime-instance-ydLRVd0y.js → print-runtime-instance-CkGherFi.js} +1 -1
  55. package/dist/{print-snapshot-renderer-C3fEtvNI.js → print-snapshot-renderer-BxrmKmGQ.js} +3 -3
  56. package/dist/{qrcode-design-BXlQ5QTm.js → qrcode-design-DJciYm3W.js} +1 -1
  57. package/dist/{revo-grid.entry-DdE6cuGJ.js → revo-grid.entry-D2XU7yfg.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-Er1fVrov.js → revogr-attribution_7.entry-DiKuD6Oj.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-COq2SN-B.js → revogr-clipboard_3.entry-BaU8s-5o.js} +2 -2
  60. package/dist/{revogr-data_4.entry--CfGDdVK.js → revogr-data_4.entry-D6AqE208.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-DoNXkBy6.js → revogr-filter-panel.entry-B0-_hrSZ.js} +1 -1
  62. package/dist/seal-design-FsL7H3e7.js +4 -0
  63. package/dist/{serialnumber-design-fMRSi9jn.js → serialnumber-design-BfeGFYY4.js} +1 -1
  64. package/dist/shared/index.es.js +10 -8
  65. package/dist/{single-field-drop-CYcOH6mT.js → single-field-drop-wg47buz7.js} +2 -2
  66. package/dist/{size-editor-BKJfYgbR.js → size-editor-hnWquuM2.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 +5 -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/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
  95. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
  96. package/dist/src/shared/enum/field-type.d.ts +2 -0
  97. package/dist/src/shared/enum/index.d.ts +2 -0
  98. package/dist/src/shared/enum/product-type.d.ts +9 -0
  99. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  100. package/dist/{sub-table-factory-DxM8KQoS.js → sub-table-factory-DCjl5fld.js} +19 -7
  101. package/dist/{text-design-8Za9qOSI.js → text-design-BQqBHcG3.js} +2 -2
  102. package/dist/{throttle-Cpk1LoGk-BI0wP2Le.js → throttle-Cpk1LoGk-C-bCLTWf.js} +1 -1
  103. package/dist/{timediff-design-O1IfzLVD.js → timediff-design-DzNFXX0B.js} +1 -1
  104. package/dist/{trace-like-wrapper-BPNmxIDn.js → trace-like-wrapper-BO9GpUUT.js} +2 -2
  105. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CQ0YP-OF.js → value-editor.vue_vue_type_style_index_0_lang-NrJ6BC4L.js} +2 -2
  106. package/dist/web-render/index.es.js +3 -3
  107. package/dist/{widget-barcode-C38yawCK.js → widget-barcode-CqFwMMNr.js} +4 -4
  108. package/dist/{widget-diagonal-abcgVyu4.js → widget-diagonal-Bv7rOoCE.js} +3 -3
  109. package/dist/{widget-image-DcSNslZ-.js → widget-image-C7uAoxCn.js} +5 -5
  110. package/dist/{widget-line-CttlnK7g.js → widget-line-DjEbtHhc.js} +2 -2
  111. package/dist/{widget-pagination-BNG9Rszh.js → widget-pagination-Dc4pC9a8.js} +5 -5
  112. package/dist/{widget-power-DaC1id-m.js → widget-power-9LyPBlNG.js} +3 -3
  113. package/dist/{widget-qrcode-BRFsOH44.js → widget-qrcode-wY0Htp8v.js} +3 -3
  114. package/dist/{widget-rangelimit-fA6YF2E2.js → widget-rangelimit-CT9yqbbL.js} +3 -3
  115. package/dist/{widget-serialnumber-mnpGMXuB.js → widget-serialnumber-CChK8wrF.js} +1 -1
  116. package/dist/{widget-text-gHJcpS1w.js → widget-text-mWwms2HC.js} +5 -5
  117. package/dist/{widget-timediff-ByHm9Dg3.js → widget-timediff-GSd_w8qO.js} +2 -2
  118. package/package.json +2 -2
  119. package/dist/paper-widget-design-BE_wOTpv.js +0 -4
  120. package/dist/seal-design-7aKsQ6RT.js +0 -4
@@ -1,5 +1,5 @@
1
- import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
- import { c as commonjsRequire } from "./index-DmBNvVlZ.js";
1
+ import { M as commonjsGlobal, N as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
2
+ import { c as commonjsRequire } from "./index-jfKiyRsE.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, normalizeClass, withCtx, normalizeStyle } from "vue";
2
- import { A as AlignEditor } from "./align-editor-1IbAiPBg.js";
2
+ import { A as AlignEditor } from "./align-editor-C1Fj-34U.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-DmBNvVlZ.js";
5
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-jfKiyRsE.js";
5
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle mb-6px" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "font-editor",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, normalizeStyle } from "vue";
2
- import { u as useWebUpload } from "./index-DCzL4GOP.js";
2
+ import { u as useWebUpload } from "./index-D19ggbiC.js";
3
3
  import "ant-design-vue";
4
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
4
+ import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
5
5
  import "@gct-paas/form-base";
6
6
  import "lodash-es";
7
7
  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-DlcK-wt_.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-DmBNvVlZ.js";
6
+ import { A as AsyncGctOnlineComponents } from "./index-jfKiyRsE.js";
7
7
  class Tr {
8
8
  component = "tr";
9
9
  wrapperCmpConfig({ data, parent }) {
@@ -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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Timepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Timepicker;
9
9
  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, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class InputDouble extends BaseComponent {
8
8
  component = ComponentTypeEnum.InputDouble;
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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
@@ -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-DlcK-wt_.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-DlcK-wt_.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class UploadFile extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadFile;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,6 +1,6 @@
1
1
  import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-DmBNvVlZ.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";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-jfKiyRsE.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-DlcK-wt_.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,9 +1,9 @@
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, ac as normalizeSealDiameter } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.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-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Seal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Seal;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
1
  import { get } from "lodash-es";
2
- import { C as ComponentTypeEnum, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, az as ImageDisplayModeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, az as ImageDisplayModeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Sign extends BaseComponent {
8
8
  component = ComponentTypeEnum.Sign;
9
9
  wrapperCmpConfig({ data }) {
@@ -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, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Textarea extends BaseComponent {
8
8
  component = ComponentTypeEnum.Textarea;
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-DlcK-wt_.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, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Input extends BaseComponent {
8
8
  component = ComponentTypeEnum.Input;
9
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.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-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Diagonal extends BaseComponent {
8
8
  component = ComponentTypeEnum.Diagonal;
9
9
  wrapperCmpConfig({ data }) {
@@ -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, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
7
- import { g as getFieldWidget } from "./index-DmBNvVlZ.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
+ import { g as getFieldWidget } from "./index-jfKiyRsE.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,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, a8 as _export_sfc, cI as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cf as getParseRuleConfig, aW as renderUtils, bv as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.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-Dc2J-VKn.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,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, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Datepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Datepicker;
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-DlcK-wt_.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import { pick, get } from "lodash-es";
5
5
  import "dayjs";
@@ -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-DlcK-wt_.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-MsYFQjlq.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BPNmxIDn.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BO9GpUUT.js";
8
8
  class RdoSelect extends BaseComponent {
9
9
  component = ComponentTypeEnum.RdoSelect;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, c$ as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
1
+ import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, d0 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
2
2
  import "vue";
3
3
  import { pick, has, 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 } 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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Department extends BaseComponent {
8
8
  component = ComponentTypeEnum.Department;
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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.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-DmBNvVlZ.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.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-jfKiyRsE.js";
8
8
  class Select extends BaseComponent {
9
9
  component = ComponentTypeEnum.Select;
10
10
  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-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class Userpicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.Userpicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -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, az as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class UploadImage extends BaseComponent {
8
8
  component = ComponentTypeEnum.UploadImage;
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-Bi7RdYoy.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 { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-DXlLVZZF.js";
3
+ import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { g as getFieldWidget } from "./index-DmBNvVlZ.js";
8
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
7
+ import { g as getFieldWidget } from "./index-jfKiyRsE.js";
8
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.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,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-DlcK-wt_.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -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-DlcK-wt_.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-MsYFQjlq.js";
7
- import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BPNmxIDn.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
+ import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BO9GpUUT.js";
8
8
  class AutoComplete extends BaseComponent {
9
9
  component = ComponentTypeEnum.AutoComplete;
10
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, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ClcBVLO0.js";
2
+ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-MsYFQjlq.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class InputNumber extends BaseComponent {
8
8
  component = ComponentTypeEnum.Inputnumber;
9
9
  wrapperCmpConfig({ data }) {