@gct-paas/excel 0.1.40-beta.4 → 0.1.40-beta.5

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 (95) hide show
  1. package/dist/{BaseComponent-BcxRArl9.js → BaseComponent-BlDgF4NL.js} +2 -2
  2. package/dist/{VueVideoPlayer-DjIr6Duj.js → VueVideoPlayer-abpwAqu3.js} +2 -2
  3. package/dist/{align-editor-99-Qs6Pu.js → align-editor-BdF6r-Gs.js} +1 -1
  4. package/dist/{barcode-design-BSkeINVU.js → barcode-design-Dqzu8TED.js} +2 -2
  5. package/dist/base/index.es.js +120 -75
  6. package/dist/{diagonal-design-CR7fiPt_.js → diagonal-design-OOLJ1YWE.js} +2 -2
  7. package/dist/{dynamic-table-action-D8JTGNuH.js → dynamic-table-action-C__4AVW6.js} +2 -2
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js} +275 -253
  9. package/dist/{edit.utils-CXmmCnxE-5YnG7Mod.js → edit.utils-CXmmCnxE-CaVD32MC.js} +1 -1
  10. package/dist/excel.css +20 -20
  11. package/dist/{exceljs.min-Ckn1GGo5.js → exceljs.min-C3uJ_Ieg.js} +2 -2
  12. package/dist/{font-editor-CIv2e95b.js → font-editor-BZvGZaYO.js} +3 -3
  13. package/dist/{image-design-Bg1m0JLl.js → image-design-Dt_97Q--.js} +2 -2
  14. package/dist/{index-DtwSR71M.js → index--9zZnmyE.js} +1 -1
  15. package/dist/{index-DLZKDd1x.js → index-6_pgVPOb.js} +92 -69
  16. package/dist/{index-DG8I3apA.js → index-B2xCe29Z.js} +1 -1
  17. package/dist/{index-DprbnBOa.js → index-BDvLu-0F.js} +2 -2
  18. package/dist/{index-CsIKJvLT.js → index-BGHQz2Uj.js} +2 -2
  19. package/dist/{index-CeMM7qev.js → index-BOehk-Mo.js} +2 -2
  20. package/dist/{index-BA_C4l6u.js → index-BcSq5laa.js} +2 -2
  21. package/dist/{index-CzgWwoNs.js → index-Bes3atoZ.js} +2 -2
  22. package/dist/{index-k_OAhCop.js → index-Bn4BqmG_.js} +2 -2
  23. package/dist/{index-CTyszA6m.js → index-Bxdq78c9.js} +1 -1
  24. package/dist/{index-CUPuw1ng.js → index-C-wSYnoD.js} +2 -2
  25. package/dist/{index-0kZW-sd4.js → index-CD04dkRd.js} +1 -1
  26. package/dist/{index-CeCk3V8r.js → index-CKnArHCM.js} +2 -2
  27. package/dist/{index-B4XMnrfl.js → index-CMzci3SX.js} +2 -2
  28. package/dist/{index-CYb8lY4k.js → index-CVJadZzs.js} +2 -2
  29. package/dist/{index-DbXQsLWI.js → index-Cvj6_0dy.js} +1 -1
  30. package/dist/{index-rYGo3i42.js → index-CwvVx_5V.js} +3 -3
  31. package/dist/{index-C8H-5Adw.js → index-Cy17m87b.js} +2 -2
  32. package/dist/{index-DZxTtwzU.js → index-Cy3658Zd.js} +3 -3
  33. package/dist/{index-BunphFuS.js → index-D2bXGJMB.js} +2 -2
  34. package/dist/{index-OHHmkknK.js → index-D4lTMizD.js} +2 -2
  35. package/dist/{index-mxtsA6kq.js → index-DF5OI_Xj.js} +3 -3
  36. package/dist/{index-DgRCrbjc.js → index-DJqTfkOe.js} +2 -2
  37. package/dist/{index-DHvbmtBs.js → index-DLx-4gQ_.js} +4 -4
  38. package/dist/{index-BzdZIihy.js → index-DMVoiSyn.js} +1 -1
  39. package/dist/{index-D7DYLntD.js → index-DVFXRZRw.js} +3 -3
  40. package/dist/{index-DFJ19IKk.js → index-DbN8jrOK.js} +2 -2
  41. package/dist/{index-Do1A3RoM.js → index-DfAWRc7u.js} +2 -2
  42. package/dist/{index-CRLydLMf.js → index-DgvOxMoA.js} +2 -2
  43. package/dist/{index-BIraya7K.js → index-DhJQOZHh.js} +1 -1
  44. package/dist/{index-BZQrpoEw.js → index-DiZHDEas.js} +1 -1
  45. package/dist/{index-Cjor8DKp.js → index-DzAPpHun.js} +2 -2
  46. package/dist/{index-6wZ6Y0W3.js → index-Lrse9db3.js} +2 -2
  47. package/dist/{index-C7oAVon1.js → index-NiQurze3.js} +1 -1
  48. package/dist/{index-DN83FHdO.js → index-ZBaLDzvn.js} +1 -1
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-BW27j2qa.js → mb-render-CDFmykM_.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Db5Hce6z.js} +8 -1
  52. package/dist/{pagination-design-C59mi1du.js → pagination-design-Dz7y8YKu.js} +2 -2
  53. package/dist/paper-widget-design-BlIbv2tj.js +4 -0
  54. package/dist/{print-runtime-instance-CT3EaCDJ.js → print-runtime-instance-Bq1p758u.js} +1 -1
  55. package/dist/{print-snapshot-renderer-Bm-fpHUt.js → print-snapshot-renderer-BWVZ-Lql.js} +3 -3
  56. package/dist/{qrcode-design-Brx73IFy.js → qrcode-design-Dq0tczvD.js} +1 -1
  57. package/dist/{revo-grid.entry-CREHbVNI.js → revo-grid.entry-BKZT_dju.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CBUFDouS.js → revogr-attribution_7.entry-CXdkYl1q.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-C9D5KQdr.js → revogr-clipboard_3.entry-Dq9k6E4q.js} +2 -2
  60. package/dist/{revogr-data_4.entry-DpskbAdh.js → revogr-data_4.entry-CpBkj9S_.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-CqdNtCzb.js → revogr-filter-panel.entry-Bu5hYWK7.js} +1 -1
  62. package/dist/seal-design-LHZWDjEb.js +4 -0
  63. package/dist/{serialnumber-design-CJM0MP9w.js → serialnumber-design-DUqW6M9C.js} +1 -1
  64. package/dist/shared/index.es.js +10 -8
  65. package/dist/{single-field-drop-B82L3Pe3.js → single-field-drop-MXmkrdjF.js} +2 -2
  66. package/dist/{size-editor-CybxvVWn.js → size-editor-DCVa84rA.js} +1 -1
  67. package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +4 -0
  68. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +2 -7
  69. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +4 -1
  70. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +4 -6
  71. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -0
  72. package/dist/src/shared/enum/index.d.ts +2 -0
  73. package/dist/src/shared/enum/product-type.d.ts +9 -0
  74. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  75. package/dist/{sub-table-factory-BrwMeqWM.js → sub-table-factory-BBiAj7oz.js} +4 -4
  76. package/dist/{text-design-Qem3wirw.js → text-design-BfXr3TcH.js} +2 -2
  77. package/dist/{throttle-Cpk1LoGk-Bm1w1voP.js → throttle-Cpk1LoGk-BtY6yO1U.js} +1 -1
  78. package/dist/{timediff-design-CiGukjs9.js → timediff-design-BF-mVD2d.js} +1 -1
  79. package/dist/{trace-like-wrapper-DrUDJDgX.js → trace-like-wrapper-2AsEoSS7.js} +2 -2
  80. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js → value-editor.vue_vue_type_style_index_0_lang-D8_zt9JM.js} +2 -2
  81. package/dist/web-render/index.es.js +3 -3
  82. package/dist/{widget-barcode-DH30z4yi.js → widget-barcode-BMnwSzpx.js} +4 -4
  83. package/dist/{widget-diagonal-Bv-Eb2Fi.js → widget-diagonal-iuAFZn-R.js} +3 -3
  84. package/dist/{widget-image-67Q9gRCG.js → widget-image-sZeIt4K6.js} +5 -5
  85. package/dist/{widget-line-DP3dKXNd.js → widget-line-izrJUAAT.js} +2 -2
  86. package/dist/{widget-pagination-B66PcWXU.js → widget-pagination-CTANdU2l.js} +5 -5
  87. package/dist/{widget-power-yRy8897o.js → widget-power-OZD7bTxW.js} +3 -3
  88. package/dist/{widget-qrcode-DN3R8N41.js → widget-qrcode-xvyklot3.js} +3 -3
  89. package/dist/{widget-rangelimit-zWZZMPvn.js → widget-rangelimit-BZhTuRkT.js} +3 -3
  90. package/dist/{widget-serialnumber-p7wB7-Bz.js → widget-serialnumber-BwUHV475.js} +1 -1
  91. package/dist/{widget-text-BQO0Rf5A.js → widget-text-B8MzTxa3.js} +5 -5
  92. package/dist/{widget-timediff-C1VxWKle.js → widget-timediff-YAH8bbso.js} +2 -2
  93. package/package.json +1 -1
  94. package/dist/paper-widget-design-BNmIT8FC.js +0 -4
  95. package/dist/seal-design-XhQfBjxE.js +0 -4
package/dist/excel.css CHANGED
@@ -19744,7 +19744,7 @@ svg[data-v-9a7c8184] {
19744
19744
  .cell-auto-complete[data-v-f98a0893]:not(.ant-select-disabled) .ant-select-selector:hover {
19745
19745
  border-color: var(--cell-field-border-hover-color) !important;
19746
19746
  }
19747
- .cell-date-picker[data-v-57956802] {
19747
+ .cell-date-picker[data-v-f0f61f80] {
19748
19748
  box-sizing: border-box;
19749
19749
  width: var(--cmp-width);
19750
19750
  min-width: 30px;
@@ -19756,23 +19756,23 @@ svg[data-v-9a7c8184] {
19756
19756
  background-color: var(--cell-field-background-color);
19757
19757
  box-shadow: none;
19758
19758
  }
19759
- .cell-date-picker[data-v-57956802]:hover {
19759
+ .cell-date-picker[data-v-f0f61f80]:hover {
19760
19760
  border-color: var(--cell-field-border-hover-color);
19761
19761
  }
19762
- .cell-date-picker.ant-picker-focused[data-v-57956802] {
19762
+ .cell-date-picker.ant-picker-focused[data-v-f0f61f80] {
19763
19763
  border-color: var(--cell-field-border-hover-color);
19764
19764
  box-shadow: none;
19765
19765
  }
19766
- .cell-date-picker[data-v-57956802] .ant-picker-input > input {
19766
+ .cell-date-picker[data-v-f0f61f80] .ant-picker-input > input {
19767
19767
  height: 22px;
19768
19768
  background-color: transparent;
19769
19769
  color: var(--cell-field-text-color);
19770
19770
  font-size: var(--size, 12px);
19771
19771
  }
19772
- .cell-date-picker[data-v-57956802] .ant-picker-input > input::placeholder {
19772
+ .cell-date-picker[data-v-f0f61f80] .ant-picker-input > input::placeholder {
19773
19773
  color: var(--cell-field-placeholder-color);
19774
19774
  }
19775
- .cell-date-picker[data-v-57956802] .ant-picker-input > .ant-picker-suffix {
19775
+ .cell-date-picker[data-v-f0f61f80] .ant-picker-input > .ant-picker-suffix {
19776
19776
  margin-left: 3px;
19777
19777
  }
19778
19778
  .cell-media[data-v-24b59367] {
@@ -20482,10 +20482,10 @@ svg[data-v-9a7c8184] {
20482
20482
  .base-vxe-search-form-container .ant-input-affix-wrapper[data-v-d5b1328d] .ant-input {
20483
20483
  background: #f6f8fa;
20484
20484
  }
20485
- [data-v-c018a964] .gct-edhr-custom-popover .ant-popover-inner {
20485
+ [data-v-965a808f] .gct-edhr-custom-popover .ant-popover-inner {
20486
20486
  overflow: visible;
20487
20487
  }
20488
- [data-v-c018a964] .gct-edhr-custom-popover .ant-popover-inner-content {
20488
+ [data-v-965a808f] .gct-edhr-custom-popover .ant-popover-inner-content {
20489
20489
  overflow: visible;
20490
20490
  }
20491
20491
  .content-highlight[data-v-88ab2e98]::after {
@@ -25067,44 +25067,44 @@ svg[data-v-9a7c8184] {
25067
25067
  border-radius: 4px;
25068
25068
  background: #f5f7fa;
25069
25069
  }
25070
- .substitute-policy-item__nested[data-v-33847404] {
25070
+ .substitute-policy-item__nested[data-v-d8f30f7a] {
25071
25071
  margin: -4px 0 16px;
25072
25072
  padding: 16px;
25073
25073
  border-radius: 4px;
25074
25074
  background: #f5f7fa;
25075
25075
  }
25076
- .substitute-policy-item__sub-toolbar[data-v-33847404] {
25076
+ .substitute-policy-item__sub-toolbar[data-v-d8f30f7a] {
25077
25077
  display: flex;
25078
25078
  justify-content: flex-end;
25079
25079
  margin-bottom: 8px;
25080
25080
  }
25081
- .substitute-policy-item__add-row[data-v-33847404] {
25081
+ .substitute-policy-item__add-row[data-v-d8f30f7a] {
25082
25082
  height: auto;
25083
25083
  padding: 0;
25084
25084
  }
25085
- .substitute-policy-item__table-item[data-v-33847404] {
25085
+ .substitute-policy-item__table-item[data-v-d8f30f7a] {
25086
25086
  max-width: 100%;
25087
25087
  margin-bottom: 0;
25088
25088
  }
25089
- .substitute-policy-item__table-item[data-v-33847404] .ant-form-item-control-input,
25090
- .substitute-policy-item__table-item[data-v-33847404] .ant-form-item-control-input-content {
25089
+ .substitute-policy-item__table-item[data-v-d8f30f7a] .ant-form-item-control-input,
25090
+ .substitute-policy-item__table-item[data-v-d8f30f7a] .ant-form-item-control-input-content {
25091
25091
  min-width: 0;
25092
25092
  max-width: 100%;
25093
25093
  }
25094
- .substitute-policy-item__table-item[data-v-33847404] .ant-form-item-explain {
25094
+ .substitute-policy-item__table-item[data-v-d8f30f7a] .ant-form-item-explain {
25095
25095
  min-height: 0;
25096
25096
  }
25097
- .substitute-policy-item__required-mark[data-v-33847404] {
25097
+ .substitute-policy-item__required-mark[data-v-d8f30f7a] {
25098
25098
  margin-right: 4px;
25099
25099
  color: #ff4d4f;
25100
25100
  font-family: SimSun, sans-serif;
25101
25101
  }
25102
- .bom-entry-modal__content[data-v-27684a85] {
25102
+ .bom-entry-modal__content[data-v-30b7ea32] {
25103
25103
  height: 100%;
25104
25104
  padding: 24px 24px 6px;
25105
25105
  overflow: auto;
25106
25106
  }
25107
- .bom-entry-modal__section-title[data-v-27684a85] {
25107
+ .bom-entry-modal__section-title[data-v-30b7ea32] {
25108
25108
  margin: 0 0 16px;
25109
25109
  padding-left: 8px;
25110
25110
  border-left: 3px solid var(--ant-primary-color, #1890ff);
@@ -25112,13 +25112,13 @@ svg[data-v-9a7c8184] {
25112
25112
  font-weight: 600;
25113
25113
  line-height: 1.2;
25114
25114
  }
25115
- .bom-entry-modal__label-tip[data-v-27684a85] {
25115
+ .bom-entry-modal__label-tip[data-v-30b7ea32] {
25116
25116
  margin-left: 4px;
25117
25117
  color: #8b8b8b;
25118
25118
  font-size: 12px;
25119
25119
  cursor: help;
25120
25120
  }
25121
- .bom-entry-modal__nested[data-v-27684a85] {
25121
+ .bom-entry-modal__nested[data-v-30b7ea32] {
25122
25122
  margin: -4px 0 16px;
25123
25123
  padding: 16px;
25124
25124
  border-radius: 4px;
@@ -1,5 +1,5 @@
1
- import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
2
- import { c as commonjsRequire } from "./index-DLZKDd1x.js";
1
+ import { N as commonjsGlobal, Q as getDefaultExportFromCjs } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
+ import { c as commonjsRequire } from "./index-6_pgVPOb.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-99-Qs6Pu.js";
2
+ import { A as AlignEditor } from "./align-editor-BdF6r-Gs.js";
3
3
  import { pick } from "lodash-es";
4
- import { z as _sfc_main$1, C as ColorPicker } from "./index-DLZKDd1x.js";
5
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
4
+ import { z as _sfc_main$1, C as ColorPicker } from "./index-6_pgVPOb.js";
5
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.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-CsIKJvLT.js";
2
+ import { u as useWebUpload } from "./index-BGHQz2Uj.js";
3
3
  import "ant-design-vue";
4
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
4
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
5
5
  import "@gct-paas/form-base";
6
6
  import "lodash-es";
7
7
  import "dayjs";
@@ -1,4 +1,4 @@
1
- import { s as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
1
+ import { s as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
2
  import "vue";
3
3
  import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
4
4
  import "dayjs";
@@ -1,17 +1,17 @@
1
1
  import * as Vue from "vue";
2
2
  import { createVNode, computed, unref, ref, defineComponent, onMounted, resolveComponent, openBlock, createElementBlock, withCtx, watch, toRaw, inject, reactive, createBlock, Fragment, renderList, createTextVNode, toDisplayString as toDisplayString$1, createCommentVNode, createElementVNode, normalizeClass, h, normalizeStyle, watchEffect, renderSlot, shallowRef, defineAsyncComponent, resolveDynamicComponent, mergeProps, normalizeProps, guardReactiveProps, onUnmounted, Text, nextTick, onBeforeUnmount, withModifiers, withDirectives, vShow, Teleport, withKeys, vModelText, isRef, provide, isVNode as isVNode$1, createApp, render, TransitionGroup, toRefs, useAttrs, createSlots, onScopeDispose, useCssVars, onBeforeMount, toRef, mergeDefaults, toHandlers, getCurrentInstance as getCurrentInstance$1, Transition, useModel, mergeModels as mergeModels$1, onErrorCaptured, markRaw } from "vue";
3
- import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as resolveAutofillToField, h as SubTableType, j as getAllBusinessRefModelTypes, D as DateObjectContext, k as isBlank$1, F as FIELD_TYPE, l as isSameFieldValue$1, m as runDateObjectHandler, n as companionIdKey, o as companionLabelKey, p as api, P as PaginationFormat, q as PaperWidgeType, B as BwipCodeType, L as LineType, s as PageSizeEnum, O as Orientation, t as src, T as TRACE_FIELD_TYPES, u as BUSINESS_FIELD_TYPES, v as resolveFieldRenderComponent, C as ComponentTypeEnum, w as parse$1, x as estraverse, y as Syntax, z as isDynamicCreateTarget, A as CellType, E as isDynamicCellSubTable, G as ParamModelTypeEnum, H as FieldTypeToJs, I as CreateType, J as uuid2, K as useModal, M as requireEstraverse, N as commonjsGlobal, Q as getDefaultExportFromCjs, R as PaperWidgeValueType, U as getParseFormulaVarInfos, V as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, X as UniqueConstraintType, Y as FieldDefaultValueTypeEnum, Z as FormTypeEnum, _ as mitt, $ as isDateObjectField, a0 as PlatformEnum, a1 as LabelPosition, a2 as BooleanShowMode, a3 as SignatureImageDirectionEnum, a4 as FallbackSignTypeEnum, a5 as SignatureNumberTypeEnum, a6 as SignatureTimeTypeEnum, a7 as SignShowTypeEnum, a8 as SignatureTypeEnum, a9 as _export_sfc, aa as normalizeFieldType, ab as PaperSizeMap, ac as clampSealPosition, ad as normalizeSealDiameter, ae as getFieldMain, af as buildUUID, ag as FieldIconMap, ah as BigNumber, ai as FieldSysVarDefaultValueEnum, aj as CellWidgetViewState, ak as DiagonalDirection, al as WidgetImageSizeMode, am as LineDirection, an as TimeDiffFormat, ao as DiagonalVertex, ap as resolveDiagonalVertex, aq as getThemeColorByTableType, ar as ViewTypeEnum, as as isDynamicSubTablePanelType, at as isFixedSubTablePanelType, au as ExpressionModeEnum, av as ReturnTypeEnum, aw as ExpressionTabEnum, ax as RangeValidateMode, ay as RangeCompareOp, az as getExclusiveBusinessTypeTokens, aA as getSubTableTypeByRefModelType, aB as findFieldMain, aC as DecimalDisplayMode$1, aD as ImageDisplayModeEnum, aE as FormDesignEnum, aF as BASIC_FIELD_TYPES, aG as getAllTableProfiles, aH as transformUtils, aI as EmptySymbol, aJ as ASSIGNMENTSTRATEGY_ENUM, aK as Dependency_ENUM, aL as EntityModelCategoryEnum, aM as resolveLotDisplayLabel, aN as CheckDsTypeEnum, aO as DeviceLink, aP as DeviceParamsTypeTitle, aQ as AITooltips, aR as DenoiseMethodOptions, aS as BinarizeMethodOptions, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as BindCmpStyleEnum, b0 as getParseRuleInfo, b1 as getParseRuleValue, b2 as normalizeRefLoaderResult, b3 as STOCKTAKE_DIMENSION, b4 as F, b5 as resolveStocktakeSelectApi, b6 as readSealValue, b7 as isSealStamped, b8 as RenderModeEnum, b9 as stampSealValue, ba as isValidSealValue, bb as clearSealValue, bc as normalizeProductionContainerOptions, bd as buildProductionLotListQuery, be as refUtils, bf as buildInspectionLotListQuery, bg as buildDeviceFilterQuery, bh as DEVICE_GROUP_QUERY_KEY, bi as getRowId, bj as findRuntimeTableRow, bk as calculateFormula, bl as findRuntimeParentRow, bm as useOnlineFormTransformField2Component, bn as FormulaRuleFieldKeyEnum, bo as formulaRuleFieldDict, bp as resolveDesignPanelFeatures, bq as BIZ_TABLE_CONFIG_SEED_TYPES, br as STOCKTAKE_DIMENSION_OPTIONS, bs as isRepeatingSubTablePanelType, bt as moveSealValue, bu as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
3
+ import { g as getAllDataProfiles, i as isDataTableProfile, a as getProfile, b as isBusinessSubTableProfile, c as getProfileByTableType, r as resolveCreateTargetByTableType, d as getBusinessProfileByRefModelType, S as SUB_TABLE_PANEL_TYPE_NAME, e as expandAutofillTemplates, f as resolveAutofillToField, h as SubTableType, j as getAllBusinessRefModelTypes, D as DateObjectContext, k as isBlank$1, F as FIELD_TYPE, l as isSameFieldValue$1, m as runDateObjectHandler, n as companionIdKey, o as companionLabelKey, p as api, P as PaginationFormat, q as PaperWidgeType, B as BwipCodeType, L as LineType, s as PageSizeEnum, O as Orientation, t as src, T as TRACE_FIELD_TYPES, u as BUSINESS_FIELD_TYPES, v as resolveFieldRenderComponent, C as ComponentTypeEnum, w as parse$1, x as estraverse, y as Syntax, z as isDynamicCreateTarget, A as CellType, E as isDynamicCellSubTable, G as ParamModelTypeEnum, H as FieldTypeToJs, I as CreateType, J as uuid2, K as useModal, M as requireEstraverse, N as commonjsGlobal, Q as getDefaultExportFromCjs, R as PaperWidgeValueType, U as getParseFormulaVarInfos, V as onlineFormMasterModelTypeEnum, W as WAREHOUSE_FIELD_TYPES, X as UniqueConstraintType, Y as FieldDefaultValueTypeEnum, Z as FormTypeEnum, _ as mitt, $ as isDateObjectField, a0 as PlatformEnum, a1 as LabelPosition, a2 as BooleanShowMode, a3 as SignatureImageDirectionEnum, a4 as FallbackSignTypeEnum, a5 as SignatureNumberTypeEnum, a6 as SignatureTimeTypeEnum, a7 as SignShowTypeEnum, a8 as SignatureTypeEnum, a9 as _export_sfc, aa as normalizeFieldType, ab as PaperSizeMap, ac as clampSealPosition, ad as normalizeSealDiameter, ae as getFieldMain, af as buildUUID, ag as FieldIconMap, ah as BigNumber, ai as FieldSysVarDefaultValueEnum, aj as CellWidgetViewState, ak as DiagonalDirection, al as WidgetImageSizeMode, am as LineDirection, an as TimeDiffFormat, ao as DiagonalVertex, ap as resolveDiagonalVertex, aq as getThemeColorByTableType, ar as ViewTypeEnum, as as isDynamicSubTablePanelType, at as isFixedSubTablePanelType, au as ExpressionModeEnum, av as ReturnTypeEnum, aw as ExpressionTabEnum, ax as RangeValidateMode, ay as RangeCompareOp, az as getExclusiveBusinessTypeTokens, aA as getSubTableTypeByRefModelType, aB as findFieldMain, aC as DecimalDisplayMode$1, aD as ImageDisplayModeEnum, aE as FormDesignEnum, aF as BASIC_FIELD_TYPES, aG as getAllTableProfiles, aH as transformUtils, aI as EmptySymbol, aJ as ASSIGNMENTSTRATEGY_ENUM, aK as Dependency_ENUM, aL as EntityModelCategoryEnum, aM as resolveLotDisplayLabel, aN as CheckDsTypeEnum, aO as DeviceLink, aP as DeviceParamsTypeTitle, aQ as AITooltips, aR as DenoiseMethodOptions, aS as BinarizeMethodOptions, aT as DateFormat, aU as LOT_CONTAINER_ROLE, aV as buildLotSnListQuery, aW as renderUtils, aX as resolveLotRecordByValue, aY as materialCheck, aZ as getLotLockedReason, a_ as validateReinspectionDate, a$ as ProductionIdentificationTypeEnum, b0 as BindCmpStyleEnum, b1 as getParseRuleInfo, b2 as getParseRuleValue, b3 as normalizeRefLoaderResult, b4 as STOCKTAKE_DIMENSION, b5 as F, b6 as resolveStocktakeSelectApi, b7 as readSealValue, b8 as isSealStamped, b9 as RenderModeEnum, ba as stampSealValue, bb as isValidSealValue, bc as clearSealValue, bd as normalizeProductionContainerOptions, be as buildProductionLotListQuery, bf as refUtils, bg as buildInspectionLotListQuery, bh as buildDeviceFilterQuery, bi as DEVICE_GROUP_QUERY_KEY, bj as getRowId, bk as findRuntimeTableRow, bl as calculateFormula, bm as findRuntimeParentRow, bn as useOnlineFormTransformField2Component, bo as FormulaRuleFieldKeyEnum, bp as formulaRuleFieldDict, bq as resolveDesignPanelFeatures, br as BIZ_TABLE_CONFIG_SEED_TYPES, bs as STOCKTAKE_DIMENSION_OPTIONS, bt as isRepeatingSubTablePanelType, bu as moveSealValue, bv as uuid2$1 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
4
4
  import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, debounce, isNil, times, clone as clone$3, differenceBy, mapValues, last, set as set$2, hasIn, isEqual } from "lodash-es";
5
5
  import dayjs from "dayjs";
6
6
  import { DataSourceChangeEvent, useFormBaseModal, getBuiltinContextFields, DataSources, FieldFills, FormBaseModalPlugin } from "@gct-paas/form-base";
7
7
  import * as Antd from "ant-design-vue";
8
8
  import { message, Modal, notification, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, 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, e as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, f as findFieldProfile, h as normalizeHistoricalBusinessRow, i as DeviceLinkTmplUtil, j as normalizeAIOcrTmpl, k as useWidgetStaticAttrs, l as useRuntimeInstanceServices, s as setSelectValidatorId, m as setSelectAnnotationId, o as useRuntimeRowState, p as getObjectBomMaterialLotQuery, q as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, t as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, w as resolveObjectBomEntry, x as runWithFillProduct, y as useNocodeFormWidget, z as applyConsumeObjectTraceChange, A as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, C as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, F as parseRuntimeFieldPath, G as useStyles, H as useDependency, I as useFieldPresentation, J as useRuntimeEditorFlusher, R as RuntimeFormStateStore, K as createRuntimeInstanceContext, L as RuntimeInstanceRegistry, S as ScanParamType, O as RequiredQtyCalcRule, P as DocumentPaper, Q as DynamicTableAction, _ as _sfc_main$6g } from "./dynamic-table-action-D8JTGNuH.js";
10
- import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2 } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.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, e as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, f as findFieldProfile, h as normalizeHistoricalBusinessRow, i as DeviceLinkTmplUtil, j as normalizeAIOcrTmpl, k as useWidgetStaticAttrs, l as useRuntimeInstanceServices, s as setSelectValidatorId, m as setSelectAnnotationId, o as useRuntimeRowState, p as getObjectBomMaterialLotQuery, q as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, t as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, w as resolveObjectBomEntry, x as runWithFillProduct, y as useNocodeFormWidget, z as applyConsumeObjectTraceChange, A as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, C as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, F as parseRuntimeFieldPath, G as useStyles, H as useDependency, I as useFieldPresentation, J as useRuntimeEditorFlusher, R as RuntimeFormStateStore, K as createRuntimeInstanceContext, L as RuntimeInstanceRegistry, S as ScanParamType, O as RequiredQtyCalcRule, P as DocumentPaper, Q as DynamicTableAction, _ as _sfc_main$6g } from "./dynamic-table-action-C__4AVW6.js";
10
+ import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Db5Hce6z.js";
11
11
  import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
12
- import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6f, h as initWebNocodeAdapter } from "./index-CsIKJvLT.js";
12
+ import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6f, h as initWebNocodeAdapter } from "./index-BGHQz2Uj.js";
13
13
  import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
14
- import { u as useFormModel, F as FormModelController } from "./mb-render-BW27j2qa.js";
14
+ import { u as useFormModel, F as FormModelController } from "./mb-render-CDFmykM_.js";
15
15
  import { HttpUtil } from "@gct-paas/api";
16
16
  import { useModal as useModal$1, t as t$2 } from "@gct-paas/core";
17
17
  import { useRoute } from "vue-router";
@@ -2013,7 +2013,7 @@ function openWindow(url, opt) {
2013
2013
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
2014
2014
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
2015
2015
  async function createWorkbook() {
2016
- const ExcelJs = (await import("./exceljs.min-Ckn1GGo5.js").then((n) => n.e)).default;
2016
+ const ExcelJs = (await import("./exceljs.min-C3uJ_Ieg.js").then((n) => n.e)).default;
2017
2017
  return new ExcelJs.Workbook();
2018
2018
  }
2019
2019
  class XlsxParser {
@@ -2341,39 +2341,39 @@ class XlsxParser {
2341
2341
  }
2342
2342
  function asyncImportClassModules() {
2343
2343
  const modules = /* @__PURE__ */ Object.assign({
2344
- "./_field_/auto-complete/index.ts": () => import("./index-mxtsA6kq.js").then((m) => m["default"]),
2345
- "./_field_/datepicker/index.ts": () => import("./index-CRLydLMf.js").then((m) => m["default"]),
2346
- "./_field_/datetimepicker/index.ts": () => import("./index-DgRCrbjc.js").then((m) => m["default"]),
2347
- "./_field_/department/index.ts": () => import("./index-6wZ6Y0W3.js").then((m) => m["default"]),
2348
- "./_field_/enum-select/index.ts": () => import("./index-D7DYLntD.js").then((m) => m["default"]),
2349
- "./_field_/input/index.ts": () => import("./index-OHHmkknK.js").then((m) => m["default"]),
2350
- "./_field_/inputdouble/index.ts": () => import("./index-C8H-5Adw.js").then((m) => m["default"]),
2351
- "./_field_/inputnumber/index.ts": () => import("./index-CeCk3V8r.js").then((m) => m["default"]),
2352
- "./_field_/rdo-select/index.ts": () => import("./index-rYGo3i42.js").then((m) => m["default"]),
2353
- "./_field_/seal/index.ts": () => import("./index-B4XMnrfl.js").then((m) => m["default"]),
2354
- "./_field_/select/index.ts": () => import("./index-DZxTtwzU.js").then((m) => m["default"]),
2355
- "./_field_/sign/index.ts": () => import("./index-Cjor8DKp.js").then((m) => m["default"]),
2356
- "./_field_/switch/index.ts": () => import("./index-DHvbmtBs.js").then((m) => m["default"]),
2357
- "./_field_/textarea/index.ts": () => import("./index-Do1A3RoM.js").then((m) => m["default"]),
2358
- "./_field_/timepicker/index.ts": () => import("./index-CUPuw1ng.js").then((m) => m["default"]),
2359
- "./_field_/upload-file/index.ts": () => import("./index-CYb8lY4k.js").then((m) => m["default"]),
2360
- "./_field_/upload-image/index.ts": () => import("./index-k_OAhCop.js").then((m) => m["default"]),
2361
- "./_field_/userpicker/index.ts": () => import("./index-CeMM7qev.js").then((m) => m["default"]),
2362
- "./_widget_/barcode/index.ts": () => import("./index-BIraya7K.js").then((m) => m["default"]),
2363
- "./_widget_/combine-fields/index.ts": () => import("./index-CzgWwoNs.js").then((m) => m["default"]),
2364
- "./_widget_/diagonal/index.ts": () => import("./index-DFJ19IKk.js").then((m) => m["default"]),
2365
- "./_widget_/dyn-value/index.ts": () => import("./index-BA_C4l6u.js").then((m) => m["default"]),
2366
- "./_widget_/image/index.ts": () => import("./index-DG8I3apA.js").then((m) => m["default"]),
2367
- "./_widget_/line/index.ts": () => import("./index-C7oAVon1.js").then((m) => m["default"]),
2368
- "./_widget_/power/index.ts": () => import("./index-CTyszA6m.js").then((m) => m["default"]),
2369
- "./_widget_/qrcode/index.ts": () => import("./index-0kZW-sd4.js").then((m) => m["default"]),
2370
- "./_widget_/ro/index.ts": () => import("./index-DN83FHdO.js").then((m) => m["default"]),
2371
- "./_widget_/serialnumber/index.ts": () => import("./index-BZQrpoEw.js").then((m) => m["default"]),
2372
- "./_widget_/sub-table/index.ts": () => import("./index-BzdZIihy.js").then((m) => m["default"]),
2373
- "./_widget_/timediff/index.ts": () => import("./index-DbXQsLWI.js").then((m) => m["default"]),
2374
- "./paper/index.ts": () => import("./index-DtwSR71M.js").then((m) => m["default"]),
2375
- "./td/index.ts": () => import("./index-BunphFuS.js").then((m) => m["default"]),
2376
- "./tr/index.ts": () => import("./index-DprbnBOa.js").then((m) => m["default"])
2344
+ "./_field_/auto-complete/index.ts": () => import("./index-DF5OI_Xj.js").then((m) => m["default"]),
2345
+ "./_field_/datepicker/index.ts": () => import("./index-DgvOxMoA.js").then((m) => m["default"]),
2346
+ "./_field_/datetimepicker/index.ts": () => import("./index-DJqTfkOe.js").then((m) => m["default"]),
2347
+ "./_field_/department/index.ts": () => import("./index-Lrse9db3.js").then((m) => m["default"]),
2348
+ "./_field_/enum-select/index.ts": () => import("./index-DVFXRZRw.js").then((m) => m["default"]),
2349
+ "./_field_/input/index.ts": () => import("./index-D4lTMizD.js").then((m) => m["default"]),
2350
+ "./_field_/inputdouble/index.ts": () => import("./index-Cy17m87b.js").then((m) => m["default"]),
2351
+ "./_field_/inputnumber/index.ts": () => import("./index-CKnArHCM.js").then((m) => m["default"]),
2352
+ "./_field_/rdo-select/index.ts": () => import("./index-CwvVx_5V.js").then((m) => m["default"]),
2353
+ "./_field_/seal/index.ts": () => import("./index-CMzci3SX.js").then((m) => m["default"]),
2354
+ "./_field_/select/index.ts": () => import("./index-Cy3658Zd.js").then((m) => m["default"]),
2355
+ "./_field_/sign/index.ts": () => import("./index-DzAPpHun.js").then((m) => m["default"]),
2356
+ "./_field_/switch/index.ts": () => import("./index-DLx-4gQ_.js").then((m) => m["default"]),
2357
+ "./_field_/textarea/index.ts": () => import("./index-DfAWRc7u.js").then((m) => m["default"]),
2358
+ "./_field_/timepicker/index.ts": () => import("./index-C-wSYnoD.js").then((m) => m["default"]),
2359
+ "./_field_/upload-file/index.ts": () => import("./index-CVJadZzs.js").then((m) => m["default"]),
2360
+ "./_field_/upload-image/index.ts": () => import("./index-Bn4BqmG_.js").then((m) => m["default"]),
2361
+ "./_field_/userpicker/index.ts": () => import("./index-BOehk-Mo.js").then((m) => m["default"]),
2362
+ "./_widget_/barcode/index.ts": () => import("./index-DhJQOZHh.js").then((m) => m["default"]),
2363
+ "./_widget_/combine-fields/index.ts": () => import("./index-Bes3atoZ.js").then((m) => m["default"]),
2364
+ "./_widget_/diagonal/index.ts": () => import("./index-DbN8jrOK.js").then((m) => m["default"]),
2365
+ "./_widget_/dyn-value/index.ts": () => import("./index-BcSq5laa.js").then((m) => m["default"]),
2366
+ "./_widget_/image/index.ts": () => import("./index-B2xCe29Z.js").then((m) => m["default"]),
2367
+ "./_widget_/line/index.ts": () => import("./index-NiQurze3.js").then((m) => m["default"]),
2368
+ "./_widget_/power/index.ts": () => import("./index-Bxdq78c9.js").then((m) => m["default"]),
2369
+ "./_widget_/qrcode/index.ts": () => import("./index-CD04dkRd.js").then((m) => m["default"]),
2370
+ "./_widget_/ro/index.ts": () => import("./index-ZBaLDzvn.js").then((m) => m["default"]),
2371
+ "./_widget_/serialnumber/index.ts": () => import("./index-DiZHDEas.js").then((m) => m["default"]),
2372
+ "./_widget_/sub-table/index.ts": () => import("./index-DMVoiSyn.js").then((m) => m["default"]),
2373
+ "./_widget_/timediff/index.ts": () => import("./index-Cvj6_0dy.js").then((m) => m["default"]),
2374
+ "./paper/index.ts": () => import("./index--9zZnmyE.js").then((m) => m["default"]),
2375
+ "./td/index.ts": () => import("./index-D2bXGJMB.js").then((m) => m["default"]),
2376
+ "./tr/index.ts": () => import("./index-BDvLu-0F.js").then((m) => m["default"])
2377
2377
  });
2378
2378
  return modules;
2379
2379
  }
@@ -2969,26 +2969,13 @@ function compileRuntimeFormConfig(formConfig2) {
2969
2969
  subFieldKey: item.subFieldKey
2970
2970
  }))
2971
2971
  );
2972
- const customDataSource = (formConfig2.customDataSource ?? []).map((item) => ({
2973
- joinModelKey: item.joinModelKey,
2974
- joinSubModel: item.joinSubModel,
2975
- joinModelType: item.joinModelType,
2976
- joinFormRefId: item.joinFormRefId,
2977
- joinSqlJson: item.joinSqlJson,
2978
- joinBuiltinConfig: item.joinBuiltinConfig,
2979
- joinIpaasConfig: item.joinIpaasConfig,
2980
- query: (item.onExpressions ?? []).filter((expression) => expression.fieldKey && expression.operator).map((expression) => ({
2981
- exp: `${expression.fieldKey}.${expression.operator}:${expression.id}`,
2982
- formKey: expression.formKey
2983
- })),
2984
- onFieldMap: item.onFieldMap
2985
- }));
2986
2972
  return {
2987
2973
  globalParams,
2988
2974
  paramsMapList,
2989
2975
  unitConversionRules: cloneDeep(formConfig2.unitConversionRules ?? []),
2990
2976
  inspectionDecisionRule: cloneDeep(formConfig2.inspectionDecisionRule),
2991
- customDataSource,
2977
+ // 新生成的运行模板不再携带隐藏的旧数源;旧单据仍消费其已保存的运行模板。
2978
+ customDataSource: [],
2992
2979
  dataSources: cloneDeep(formConfig2.dataSources ?? []),
2993
2980
  fieldFills: cloneDeep(formConfig2.fieldFills ?? []),
2994
2981
  objectInitialValues: cloneDeep(formConfig2.objectInitialValues ?? []),
@@ -16012,7 +15999,7 @@ function asyncImportWidgetConfigList() {
16012
15999
  return widgetConfigList;
16013
16000
  }
16014
16001
  function asyncImportWidgetDesign() {
16015
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-XhQfBjxE.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BSkeINVU.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CR7fiPt_.js"), "./image/image-design.vue": () => import("./image-design-Bg1m0JLl.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-C59mi1du.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BNmIT8FC.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-Brx73IFy.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-CJM0MP9w.js"), "./text/text-design.vue": () => import("./text-design-Qem3wirw.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-CiGukjs9.js") });
16002
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-LHZWDjEb.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-Dqzu8TED.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-OOLJ1YWE.js"), "./image/image-design.vue": () => import("./image-design-Dt_97Q--.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-Dz7y8YKu.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BlIbv2tj.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-Dq0tczvD.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-DUqW6M9C.js"), "./text/text-design.vue": () => import("./text-design-BfXr3TcH.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BF-mVD2d.js") });
16016
16003
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
16017
16004
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
16018
16005
  if (mKey) {
@@ -53338,7 +53325,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
53338
53325
  }
53339
53326
  });
53340
53327
  function asyncImportWidgetProp() {
53341
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-DH30z4yi.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-Bv-Eb2Fi.js"), "./widget-image.vue": () => import("./widget-image-67Q9gRCG.js"), "./widget-line.vue": () => import("./widget-line-DP3dKXNd.js"), "./widget-pagination.vue": () => import("./widget-pagination-B66PcWXU.js"), "./widget-power.vue": () => import("./widget-power-yRy8897o.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DN3R8N41.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-zWZZMPvn.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-p7wB7-Bz.js"), "./widget-text.vue": () => import("./widget-text-BQO0Rf5A.js"), "./widget-timediff.vue": () => import("./widget-timediff-C1VxWKle.js") });
53328
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BMnwSzpx.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-iuAFZn-R.js"), "./widget-image.vue": () => import("./widget-image-sZeIt4K6.js"), "./widget-line.vue": () => import("./widget-line-izrJUAAT.js"), "./widget-pagination.vue": () => import("./widget-pagination-CTANdU2l.js"), "./widget-power.vue": () => import("./widget-power-OZD7bTxW.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-xvyklot3.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-BZhTuRkT.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-BwUHV475.js"), "./widget-text.vue": () => import("./widget-text-B8MzTxa3.js"), "./widget-timediff.vue": () => import("./widget-timediff-YAH8bbso.js") });
53342
53329
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
53343
53330
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
53344
53331
  if (mKey) {
@@ -60674,7 +60661,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
60674
60661
  const emit2 = __emit;
60675
60662
  const currentValue = computed({
60676
60663
  get() {
60677
- return props2.value;
60664
+ return typeof props2.value === "string" ? props2.value : void 0;
60678
60665
  },
60679
60666
  set(val) {
60680
60667
  emit2("update:value", val);
@@ -60725,7 +60712,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
60725
60712
  };
60726
60713
  }
60727
60714
  });
60728
- const CellDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["__scopeId", "data-v-57956802"]]);
60715
+ const CellDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["__scopeId", "data-v-f0f61f80"]]);
60729
60716
  const _hoisted_1$1j = { class: "cell-media__placeholder" };
60730
60717
  const _hoisted_2$S = ["disabled"];
60731
60718
  const _sfc_main$2r = /* @__PURE__ */ defineComponent({
@@ -62975,6 +62962,30 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
62975
62962
  event2.stopPropagation();
62976
62963
  }
62977
62964
  }
62965
+ function getInvalidMaterialLotReason(record, keyword2) {
62966
+ const type = String(record.production_identification_type_ ?? "").toUpperCase();
62967
+ const batch = `批次「${keyword2}」`;
62968
+ switch (type) {
62969
+ case "":
62970
+ // 兼容历史物料批数据
62971
+ case ProductionIdentificationTypeEnum.MATERIAL:
62972
+ return null;
62973
+ case ProductionIdentificationTypeEnum.LOT:
62974
+ case ProductionIdentificationTypeEnum.SN:
62975
+ return record.product_type_ === ProductTypeEnum.FINISHED_PRODUCT ? `${batch}为成品批,不能用作物料批` : null;
62976
+ case ProductionIdentificationTypeEnum.STERILIZATION:
62977
+ return `${batch}为灭菌批,不能用作物料批`;
62978
+ case ProductionIdentificationTypeEnum.INSPECTION_CONTAINER:
62979
+ case ProductionIdentificationTypeEnum.LEGACY_INSPECTION.toUpperCase():
62980
+ return `${batch}为检验批,不能用作物料批`;
62981
+ case ProductionIdentificationTypeEnum.PACK_BOX:
62982
+ return `${batch}为包装箱,不能用作物料批`;
62983
+ case ProductionIdentificationTypeEnum.UDI:
62984
+ return `${batch}为UDI,不能用作物料批`;
62985
+ default:
62986
+ return `${batch}类型为「${record.production_identification_type_}」,不能用作物料批`;
62987
+ }
62988
+ }
62978
62989
  async function fetchIdByName(keyword2, source = "async") {
62979
62990
  if (!keyword2) return;
62980
62991
  const seq = ++fetchSeq;
@@ -62988,7 +62999,17 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
62988
62999
  { name_: keyword2, product_id_: props2.formData.product_id_ }
62989
63000
  );
62990
63001
  if (seq !== fetchSeq) return;
62991
- const id = res?.data?.[0]?.id_ ?? res?.data?.id_ ?? res?.id_ ?? null;
63002
+ const record = Array.isArray(res?.data) ? res.data[0] : res?.data ?? res;
63003
+ const reason = record && getInvalidMaterialLotReason(record, keyword2);
63004
+ if (reason) {
63005
+ setRowField(idFieldKey, null, source);
63006
+ emit2("update:value", null);
63007
+ state.data = [];
63008
+ lastSelectedValue = void 0;
63009
+ message.error(reason);
63010
+ return;
63011
+ }
63012
+ const id = record?.id_ ?? null;
62992
63013
  if (source === "async") markRowFieldUserModified(idFieldKey);
62993
63014
  setRowField(idFieldKey, id, source);
62994
63015
  } catch (e) {
@@ -62998,6 +63019,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
62998
63019
  function onAutoChange(val) {
62999
63020
  emit2("change");
63000
63021
  if (val !== lastSelectedValue) {
63022
+ fetchSeq += 1;
63001
63023
  isManualInput = true;
63002
63024
  setRowField(idFieldKey, null, "user");
63003
63025
  }
@@ -63016,6 +63038,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
63016
63038
  }
63017
63039
  function onChangeSelect(record, noEmit) {
63018
63040
  const { __VALUE__, __SHOW_LABEL__, id_ } = record || {};
63041
+ fetchSeq += 1;
63019
63042
  isManualInput = false;
63020
63043
  lastSelectedValue = __VALUE__;
63021
63044
  state.data = [
@@ -63097,7 +63120,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
63097
63120
  };
63098
63121
  }
63099
63122
  });
63100
- const TraceMaterialLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__scopeId", "data-v-c018a964"]]);
63123
+ const TraceMaterialLotSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__scopeId", "data-v-965a808f"]]);
63101
63124
  const _sfc_main$2e = /* @__PURE__ */ defineComponent({
63102
63125
  __name: "auto-complete-render",
63103
63126
  props: {
@@ -67306,7 +67329,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
67306
67329
  }
67307
67330
  });
67308
67331
  const VueVideoPlayer = defineAsyncComponent(
67309
- () => import("./VueVideoPlayer-DjIr6Duj.js")
67332
+ () => import("./VueVideoPlayer-abpwAqu3.js")
67310
67333
  );
67311
67334
  const _hoisted_1$1a = {
67312
67335
  key: 0,
@@ -85326,9 +85349,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
85326
85349
  "model-key": "em_product",
85327
85350
  placeholder: _ctx.$t("sys.chooseText"),
85328
85351
  parentToDefault: false,
85329
- "query-data": { "product_type_.ne": "finishedProduct" },
85352
+ "query-data": { "product_type_.ne": unref(ProductTypeEnum).FINISHED_PRODUCT },
85330
85353
  onChange: (productId, node) => onSubstituteProductChange(record, productId, node)
85331
- }, null, 8, ["model-value", "placeholder", "onChange"])
85354
+ }, null, 8, ["model-value", "placeholder", "query-data", "onChange"])
85332
85355
  ]),
85333
85356
  _: 2
85334
85357
  }, 1032, ["name", "rules", "validate-status", "help"])) : column.key === "action" ? (openBlock(), createBlock(_component_a_button, {
@@ -85350,7 +85373,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
85350
85373
  };
85351
85374
  }
85352
85375
  });
85353
- const SubstitutePolicyItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-33847404"]]);
85376
+ const SubstitutePolicyItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-d8f30f7a"]]);
85354
85377
  const _hoisted_1$i = { class: "bom-entry-modal__content" };
85355
85378
  const _hoisted_2$b = { class: "bom-entry-modal__section-title" };
85356
85379
  const _hoisted_3$9 = { class: "bom-entry-modal__section-title" };
@@ -85701,9 +85724,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
85701
85724
  "model-key": "em_product",
85702
85725
  placeholder: _ctx.$t("sys.chooseText"),
85703
85726
  parentToDefault: false,
85704
- "query-data": { "product_type_.ne": "finishedProduct" },
85727
+ "query-data": { "product_type_.ne": unref(ProductTypeEnum).FINISHED_PRODUCT },
85705
85728
  onChange: onMainProductChange
85706
- }, null, 8, ["model-value", "placeholder"])
85729
+ }, null, 8, ["model-value", "placeholder", "query-data"])
85707
85730
  ]),
85708
85731
  _: 1
85709
85732
  }, 8, ["label", "validate-status", "help"])
@@ -85895,7 +85918,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
85895
85918
  };
85896
85919
  }
85897
85920
  });
85898
- const bomModal = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-27684a85"]]);
85921
+ const bomModal = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-30b7ea32"]]);
85899
85922
  var ParameterTypeEnum = /* @__PURE__ */ ((ParameterTypeEnum2) => {
85900
85923
  ParameterTypeEnum2["String"] = "String";
85901
85924
  ParameterTypeEnum2["Number"] = "Number";
@@ -88900,8 +88923,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
88900
88923
  printTask = (async () => {
88901
88924
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
88902
88925
  await nextTick();
88903
- const { printRuntimeInstance } = await import("./print-runtime-instance-CT3EaCDJ.js");
88904
- const { default: renderer } = await import("./print-snapshot-renderer-Bm-fpHUt.js");
88926
+ const { printRuntimeInstance } = await import("./print-runtime-instance-Bq1p758u.js");
88927
+ const { default: renderer } = await import("./print-snapshot-renderer-BWVZ-Lql.js");
88905
88928
  if (abort.signal.aborted) throw new Error("打印已取消");
88906
88929
  printRenderer.value = markRaw(renderer);
88907
88930
  await printRuntimeInstance(
@@ -1,4 +1,4 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
2
  import "vue";
3
3
  import { pick } from "lodash-es";
4
4
  import "dayjs";
@@ -1,10 +1,10 @@
1
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
1
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
2
  import "vue";
3
3
  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-DLZKDd1x.js";
7
+ import { A as AsyncGctOnlineComponents } from "./index-6_pgVPOb.js";
8
8
  class Tr {
9
9
  component = "tr";
10
10
  wrapperCmpConfig({ data, parent }) {
@@ -1,9 +1,9 @@
1
- import { p as api, a9 as _export_sfc, cJ as getAugmentedNamespace, N as commonjsGlobal, Q as getDefaultExportFromCjs, cf as getParseRuleConfig, aW as renderUtils, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
1
+ import { p as api, a9 as _export_sfc, cK as getAugmentedNamespace, N as commonjsGlobal, Q as getDefaultExportFromCjs, cg as getParseRuleConfig, aW as renderUtils, bv as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.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-BW27j2qa.js";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-CDFmykM_.js";
7
7
  import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
8
8
  import { VxeGrid } from "vxe-table";
9
9
  const uploadApis = {
@@ -1,10 +1,10 @@
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-CxqmyuOf.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  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-BcxRArl9.js";
7
+ import { B as BaseComponent } from "./BaseComponent-BlDgF4NL.js";
8
8
  class Userpicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Userpicker;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
1
  import { get } from "lodash-es";
2
- import { C as ComponentTypeEnum, O as Orientation, a2 as BooleanShowMode, a1 as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
2
+ import { C as ComponentTypeEnum, O as Orientation, a2 as BooleanShowMode, a1 as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  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-BcxRArl9.js";
7
+ import { B as BaseComponent } from "./BaseComponent-BlDgF4NL.js";
8
8
  class DynValue extends BaseComponent {
9
9
  component = ComponentTypeEnum.DynValue;
10
10
  wrapperCmpConfig({ data }) {
@@ -1,11 +1,11 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
2
+ import { C as ComponentTypeEnum, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  import "vue";
4
4
  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-DLZKDd1x.js";
8
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-6_pgVPOb.js";
9
9
  class CombineFields {
10
10
  component = ComponentTypeEnum.CombineFields;
11
11
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, aD as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
2
+ import { C as ComponentTypeEnum, aD as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  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-BcxRArl9.js";
7
+ import { B as BaseComponent } from "./BaseComponent-BlDgF4NL.js";
8
8
  class UploadImage extends BaseComponent {
9
9
  component = ComponentTypeEnum.UploadImage;
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-CxqmyuOf.js";
3
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
4
4
  import "vue";
5
5
  import "dayjs";
6
6
  import "@gct-paas/form-base";
@@ -1,10 +1,10 @@
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-CxqmyuOf.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  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-BcxRArl9.js";
7
+ import { B as BaseComponent } from "./BaseComponent-BlDgF4NL.js";
8
8
  class Timepicker extends BaseComponent {
9
9
  component = ComponentTypeEnum.Timepicker;
10
10
  wrapperCmpConfig({ data }) {