@gct-paas/excel 0.1.40-beta.9 → 0.1.41

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 (170) hide show
  1. package/dist/{BaseComponent-DKaXUiq4.js → BaseComponent-CD_dAL9D.js} +3 -4
  2. package/dist/{VueVideoPlayer-BeylL5J6.js → VueVideoPlayer-DQQlv_cp.js} +2 -2
  3. package/dist/{align-editor-r0dHXFka.js → align-editor-DchzBHaC.js} +1 -1
  4. package/dist/{barcode-design-BTNQYLEC.js → barcode-design-BBW5cG3v.js} +2 -3
  5. package/dist/base/index.es.js +306 -465
  6. package/dist/{diagonal-design-ByuNrPs-.js → diagonal-design-CawGqmc7.js} +2 -3
  7. package/dist/{dynamic-table-action-CHY5xNLE.js → dynamic-table-action-Dw7AIthU.js} +941 -315
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js} +1190 -1809
  9. package/dist/{edit.utils-CXmmCnxE-Cu6obgSA.js → edit.utils-CXmmCnxE-B7lpVZjb.js} +1 -1
  10. package/dist/excel.css +4664 -3585
  11. package/dist/{exceljs.min-BAX9-ZsR.js → exceljs.min-DDPQIUli.js} +2 -2
  12. package/dist/{font-editor-DiFflAdU.js → font-editor-n8zk8Vt2.js} +3 -3
  13. package/dist/{image-design-FDLY6DFg.js → image-design-D4mIDz9K.js} +2 -2
  14. package/dist/{index-ChINVccu.js → index--MetH_r4.js} +3 -4
  15. package/dist/{index-dXOMuxrp.js → index-1klMDz7G.js} +2 -3
  16. package/dist/{index-Go0PUrqy.js → index-4p1VXlOx.js} +1 -2
  17. package/dist/{index-hllsJVUF.js → index-B0u6FHDq.js} +4 -5
  18. package/dist/{index-AGp5c3cl.js → index-BMsHMGap.js} +2 -3
  19. package/dist/{index-rZVFumSM.js → index-BW95iBc7.js} +2 -3
  20. package/dist/{index-B8pwnxas.js → index-BWoOPv6-.js} +2 -3
  21. package/dist/{index-CRIhEnfm.js → index-BZ7bC20P.js} +1 -2
  22. package/dist/{index-DsQp4UCs.js → index-BcHwRIXW.js} +3 -4
  23. package/dist/{index-DJiuJgNx.js → index-Bm8wYtHB.js} +1 -2
  24. package/dist/{index-B-hfUWEs.js → index-Boy8--Ns.js} +2 -3
  25. package/dist/{index-De6oWEZJ.js → index-C-NpFAft.js} +3 -3
  26. package/dist/{index-DgLLlaiF.js → index-C4t8sSlN.js} +1 -2
  27. package/dist/{index-7u6Pmaax.js → index-CAc9drK5.js} +1 -2
  28. package/dist/{index-BCsDTwbK.js → index-CI6Hl1Ns.js} +1 -2
  29. package/dist/{index-DDvfW5-d.js → index-CXnuud67.js} +2 -3
  30. package/dist/{index-D3s4H_1P.js → index-CYSJt1Zc.js} +3 -7
  31. package/dist/{index-BIeu5JwZ.js → index-Ch88zDje.js} +2 -3
  32. package/dist/{index-gGYvWSjX.js → index-CmjTSiUa.js} +2 -3
  33. package/dist/{index-2WkF904L.js → index-DPf5_q0T.js} +3 -4
  34. package/dist/{index-BTfYHAPC.js → index-DUztXGMj.js} +2 -3
  35. package/dist/{index-C6jVSwAq.js → index-DfFakGrF.js} +2 -3
  36. package/dist/{index-C3SyXJii.js → index-DgybKcgI.js} +2 -3
  37. package/dist/{index-DGODLCja.js → index-Dh0_kanw.js} +1 -2
  38. package/dist/{index-Dlihqay0.js → index-DiPWQwMU.js} +29517 -27220
  39. package/dist/{index-C8LoodYv.js → index-DiWzNeZJ.js} +6 -4
  40. package/dist/{index-CbmHekMw.js → index-Do-QyvWW.js} +2 -3
  41. package/dist/{index-DEHsGK91.js → index-DvMu7-8y.js} +1 -2
  42. package/dist/{index-Dl_ZgCRB.js → index-H4f-e99t.js} +2 -3
  43. package/dist/{index-DXNSTk5n.js → index-S8Dj5ycu.js} +2 -3
  44. package/dist/{index-jkltWTT1.js → index-TZy8JxSW.js} +5 -8
  45. package/dist/{index-CFVecFFb.js → index-_Ec5LAW9.js} +2 -2
  46. package/dist/{index-KxrgWfEL.js → index-gHOlYnAA.js} +1 -2
  47. package/dist/{index-DkYlfWLa.js → index-r0yHBje3.js} +2 -3
  48. package/dist/{index-BdFPuj12.js → index-r9t3crs-.js} +1 -2
  49. package/dist/index.es.js +10 -14
  50. package/dist/{mb-render-_IUbyYCY.js → mb-render-sgVmAe6_.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DDJetWQU.js} +1 -2
  52. package/dist/{pagination-design-BPbb9CiE.js → pagination-design-lckCQWcK.js} +2 -3
  53. package/dist/paper-widget-design-Nd5VjI7n.js +4 -0
  54. package/dist/{print-runtime-instance-BmJ9GNr2.js → print-runtime-instance-Dckul2Bk.js} +1 -1
  55. package/dist/{print-snapshot-renderer-NCND8gig.js → print-snapshot-renderer-lub7u9sp.js} +3 -3
  56. package/dist/{qrcode-design-00WrOrbQ.js → qrcode-design-M0HzGVjM.js} +1 -1
  57. package/dist/{revo-grid.entry-BZADj2ve.js → revo-grid.entry-Dr4S1tgO.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-DbQASE7d.js → revogr-attribution_7.entry-27u9hxgM.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-BUDhUelS.js → revogr-clipboard_3.entry-DxjljgJl.js} +2 -2
  60. package/dist/{revogr-data_4.entry-0V57Lz9p.js → revogr-data_4.entry-CnSalg4D.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-BJEYteeW.js → revogr-filter-panel.entry-CSsekbYc.js} +1 -1
  62. package/dist/seal-design-kuAsmNq1.js +4 -0
  63. package/dist/{serialnumber-design-BbjW4gnZ.js → serialnumber-design-DUiLiTSj.js} +1 -1
  64. package/dist/shared/index.es.js +25 -25
  65. package/dist/{single-field-drop-CZmE1hGc.js → single-field-drop-CF_r0dCX.js} +2 -2
  66. package/dist/{size-editor-CcYZKUn5.js → size-editor-DNMqRicI.js} +1 -1
  67. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +1 -37
  68. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -3
  69. package/dist/src/domain/table/design/autofill-expander.d.ts +0 -2
  70. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +0 -6
  71. package/dist/src/domain/table/index.d.ts +1 -1
  72. package/dist/src/domain/table/types.d.ts +0 -2
  73. package/dist/src/index.d.ts +0 -8
  74. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
  75. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +3 -3
  76. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -1
  77. package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +2 -1
  78. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +9 -7
  79. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +17 -14
  80. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -0
  81. package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +6 -0
  82. package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +3 -1
  83. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +7 -3
  84. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +1 -7
  85. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +2 -8
  86. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +6 -46
  87. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -21
  88. package/dist/src/nocode-base/src/interface/ref-loader.d.ts +1 -12
  89. package/dist/src/nocode-base/src/interface/transform.d.ts +5 -0
  90. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
  91. package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +2 -0
  92. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
  93. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
  94. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -1
  95. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +2 -5
  96. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
  97. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
  98. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -0
  99. package/dist/src/nocode-base/src/types/common/base.d.ts +0 -4
  100. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  101. package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
  102. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
  103. package/dist/src/online-form/src/views/designer/constants/index.d.ts +0 -1
  104. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +1 -1
  105. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +35 -124
  106. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +16 -63
  107. package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
  108. package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
  109. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +2 -0
  110. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +12 -6
  111. package/dist/src/online-form/src/views/designer/modules/xlsx-import-summary.vue.d.ts +11 -0
  112. package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -5
  113. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
  114. package/dist/src/online-form/src/views/designer/utils/cell-field-placements.d.ts +12 -0
  115. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +9 -3
  116. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  117. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +1 -0
  118. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +1 -0
  119. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +4 -1
  120. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -1
  121. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
  122. package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +2 -162
  123. package/dist/src/shared/components/Signature/logic/index.d.ts +0 -14
  124. package/dist/src/shared/enum/field-type.d.ts +2 -7
  125. package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
  126. package/dist/src/shared/utils/field-size.d.ts +2 -0
  127. package/dist/src/shared/utils/grid-size.d.ts +2 -0
  128. package/dist/src/shared/utils/lot2sn.d.ts +14 -1
  129. package/dist/src/shared/utils/query-filter.d.ts +24 -0
  130. package/dist/{sub-table-factory-B0YWwWSA.js → sub-table-factory-D-GcNTOB.js} +106 -209
  131. package/dist/{text-design-BjtdVSoz.js → text-design-BfZf4B27.js} +5 -5
  132. package/dist/{throttle-Cpk1LoGk-BVommE6v.js → throttle-Cpk1LoGk-B4SDzSMU.js} +1 -1
  133. package/dist/{timediff-design-DLlIUaqv.js → timediff-design-BeO94tLR.js} +1 -2
  134. package/dist/{trace-like-wrapper-D91DvdFd.js → trace-like-wrapper-Xc4cr21n.js} +5 -3
  135. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CoD8ISWI.js → value-editor.vue_vue_type_style_index_0_lang-CMpVHBLK.js} +2 -3
  136. package/dist/web-render/index.es.js +3 -4
  137. package/dist/{widget-barcode-BYiE3tsx.js → widget-barcode-CrfBj8iv.js} +4 -5
  138. package/dist/{widget-diagonal-DHQFi6CR.js → widget-diagonal-C3Nho_Um.js} +3 -4
  139. package/dist/{widget-image-id71BcU3.js → widget-image-CjsL9QW8.js} +5 -5
  140. package/dist/{widget-line-Cp0b7r3U.js → widget-line-BtvpVv_s.js} +2 -3
  141. package/dist/{widget-pagination-BtlUxqBg.js → widget-pagination-DAUQo2nI.js} +5 -6
  142. package/dist/{widget-power-DHRfJ48L.js → widget-power-yUHZ4Hoc.js} +3 -4
  143. package/dist/{widget-qrcode-DNCRxnIr.js → widget-qrcode-DJtT9NaM.js} +3 -4
  144. package/dist/{widget-rangelimit-BSSBKq1C.js → widget-rangelimit-BhadVdCu.js} +3 -3
  145. package/dist/{widget-serialnumber-CUluNTQw.js → widget-serialnumber-WMHB8nl6.js} +1 -1
  146. package/dist/{widget-text-BdzPeniw.js → widget-text-C4dD9JF3.js} +5 -5
  147. package/dist/{widget-timediff-DerdwjRU.js → widget-timediff-C9d8_3hY.js} +2 -3
  148. package/package.json +2 -2
  149. package/dist/paper-widget-design-BBuWfCac.js +0 -4
  150. package/dist/seal-design-CJuuDF64.js +0 -4
  151. package/dist/src/domain/document-business/business/product-release/profile.d.ts +0 -2
  152. package/dist/src/domain/document-business/business/product-release/service.d.ts +0 -2
  153. package/dist/src/domain/document-business/index.d.ts +0 -2
  154. package/dist/src/domain/document-business/registry.d.ts +0 -2
  155. package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
  156. package/dist/src/domain/document-business/types.d.ts +0 -24
  157. package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +0 -2
  158. package/dist/src/domain/field/query-filter.d.ts +0 -15
  159. package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +0 -8
  160. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -2
  161. package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +0 -19
  162. package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +0 -15
  163. package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +0 -4
  164. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
  165. package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +0 -3
  166. package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +0 -9
  167. package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +0 -7
  168. package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +0 -41
  169. package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +0 -16
  170. package/dist/src/shared/utils/withRequestCache.d.ts +0 -27
@@ -1,6 +1,6 @@
1
- import { has, isEmpty, keyBy, pick, isNil, mapKeys, cloneDeep, flatMap, omit, merge, pickBy, isObject as isObject$1, defaults, groupBy, omitBy, isEqual, get as get$1, last, first } from "lodash-es";
1
+ import { has, keyBy, pick, isNil, isEmpty, mapKeys, cloneDeep, flatMap, omit, merge, pickBy, isObject as isObject$1, omitBy, defaults, groupBy, isEqual, get as get$1, last, first } from "lodash-es";
2
2
  import dayjs from "dayjs";
3
- import { computed, defineComponent, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, vShow, createVNode, render as render$1, toRaw, inject, defineAsyncComponent, getCurrentInstance, h as h$1 } from "vue";
3
+ import { computed, toRaw, defineComponent, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, vShow, createVNode, render as render$1, inject, defineAsyncComponent, getCurrentInstance, h as h$1 } from "vue";
4
4
  import { api as api$1 } from "@gct-paas/api";
5
5
  var PlatformEnum = /* @__PURE__ */ ((PlatformEnum2) => {
6
6
  PlatformEnum2["INTEGRATION_PAAS_DP"] = "INTEGRATION_PAAS_DP";
@@ -642,7 +642,6 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
642
642
  FIELD_TYPE2["SCRAP_MATERIAL_NO"] = "scrap_material_no";
643
643
  FIELD_TYPE2["DESTRUCTIVE_TEST_QTY"] = "destructive_test_qty";
644
644
  FIELD_TYPE2["PRODUCT_CHECK_QTY"] = "product_check_qty";
645
- FIELD_TYPE2["PRODUCT_RELEASE_QTY"] = "product_release_qty";
646
645
  FIELD_TYPE2["MATERIAL_CHECK_QTY"] = "material_check_qty";
647
646
  FIELD_TYPE2["INSPECTION_QTY"] = "inspection_qty";
648
647
  FIELD_TYPE2["INSPECTION_MODULE_QTY"] = "inspection_module_qty";
@@ -743,7 +742,6 @@ const BUSINESS_FIELD_TYPES = [
743
742
  "scrap_material_no",
744
743
  "destructive_test_qty",
745
744
  "product_check_qty",
746
- "product_release_qty",
747
745
  "material_check_qty",
748
746
  "inspection_qty",
749
747
  "inspection_module_qty",
@@ -1062,10 +1060,6 @@ const FieldTypeToJs = {
1062
1060
  "product_check_qty"
1063
1061
  /* PRODUCT_CHECK_QTY */
1064
1062
  ]: "number",
1065
- [
1066
- "product_release_qty"
1067
- /* PRODUCT_RELEASE_QTY */
1068
- ]: "number",
1069
1063
  [
1070
1064
  "material_check_qty"
1071
1065
  /* MATERIAL_CHECK_QTY */
@@ -1471,10 +1465,6 @@ const FieldIconMap = {
1471
1465
  "product_check_qty"
1472
1466
  /* PRODUCT_CHECK_QTY */
1473
1467
  ]: "icon-icon_chanpinjianyanshuliang",
1474
- [
1475
- "product_release_qty"
1476
- /* PRODUCT_RELEASE_QTY */
1477
- ]: "icon-xiaoshu",
1478
1468
  [
1479
1469
  "material_check_qty"
1480
1470
  /* MATERIAL_CHECK_QTY */
@@ -1976,17 +1966,14 @@ const fields$g = [
1976
1966
  autofillTemplates: [
1977
1967
  {
1978
1968
  fromField: "name_",
1979
- fromFieldLabel: "物料名称",
1980
1969
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
1981
1970
  },
1982
1971
  {
1983
1972
  fromField: "code_",
1984
- fromFieldLabel: "物料编码",
1985
1973
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
1986
1974
  },
1987
1975
  {
1988
1976
  fromField: "spec_",
1989
- fromFieldLabel: "物料规格",
1990
1977
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
1991
1978
  }
1992
1979
  ]
@@ -2204,24 +2191,6 @@ function handleProductIdChange$3(ctx) {
2204
2191
  registerRowHandler(TABLE_TYPE$f, "on-product-id-change", ({ rowData }) => {
2205
2192
  handleProductIdChange$3({ rowData });
2206
2193
  });
2207
- const PART_OPTION_FIELD_LABELS = {
2208
- part_name_: "备件名称",
2209
- part_code_: "备件编码",
2210
- specification_: "备件规格",
2211
- unit_: "数量单位"
2212
- };
2213
- const INVENTORY_OPTION_FIELD_LABELS = {
2214
- id_: "库存记录",
2215
- part_id_name_: "备件名称",
2216
- part_id_code_: "备件编码",
2217
- part_id_spec_: "备件规格",
2218
- warehouse_id_: "仓库",
2219
- storage_zone_id_: "库区",
2220
- location_id_: "库位",
2221
- uom_id_: "数量单位",
2222
- validate_: "有效期",
2223
- stock_num_: "库存数量"
2224
- };
2225
2194
  const F$a = {
2226
2195
  /** 备件 */
2227
2196
  part: "part_id_",
@@ -2264,7 +2233,6 @@ const fields$e = [
2264
2233
  },
2265
2234
  autofillTemplates: FILL_FROM_PART_OPTION.map(({ optionField, toField }) => ({
2266
2235
  fromField: optionField,
2267
- fromFieldLabel: PART_OPTION_FIELD_LABELS[optionField],
2268
2236
  toField
2269
2237
  }))
2270
2238
  },
@@ -2394,7 +2362,6 @@ const fields$d = [
2394
2362
  match: { fieldKey: F$9.part },
2395
2363
  autofillTemplates: FILL_FROM_INVENTORY_OPTION$3.map(({ optionField, toField }) => ({
2396
2364
  fromField: optionField,
2397
- fromFieldLabel: INVENTORY_OPTION_FIELD_LABELS[optionField],
2398
2365
  toField
2399
2366
  }))
2400
2367
  },
@@ -2824,7 +2791,6 @@ const fields$b = [
2824
2791
  match: { fieldKey: F$7.part },
2825
2792
  autofillTemplates: FILL_FROM_INVENTORY_OPTION$2.map(({ optionField, toField }) => ({
2826
2793
  fromField: optionField,
2827
- fromFieldLabel: INVENTORY_OPTION_FIELD_LABELS[optionField],
2828
2794
  toField
2829
2795
  }))
2830
2796
  },
@@ -2991,7 +2957,6 @@ const fields$a = [
2991
2957
  match: { fieldKey: F$6.part },
2992
2958
  autofillTemplates: FILL_FROM_INVENTORY_OPTION$1.map(({ optionField, toField }) => ({
2993
2959
  fromField: optionField,
2994
- fromFieldLabel: INVENTORY_OPTION_FIELD_LABELS[optionField],
2995
2960
  toField
2996
2961
  }))
2997
2962
  },
@@ -3296,17 +3261,14 @@ const fields$6 = [
3296
3261
  autofillTemplates: [
3297
3262
  {
3298
3263
  fromField: "name_",
3299
- fromFieldLabel: "物料名称",
3300
3264
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
3301
3265
  },
3302
3266
  {
3303
3267
  fromField: "code_",
3304
- fromFieldLabel: "物料编码",
3305
3268
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
3306
3269
  },
3307
3270
  {
3308
3271
  fromField: "spec_",
3309
- fromFieldLabel: "物料规格",
3310
3272
  toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
3311
3273
  }
3312
3274
  ]
@@ -3398,12 +3360,8 @@ const F$3 = {
3398
3360
  targetMaterialNo: "target_material_no_",
3399
3361
  /** 替换物料批号 ID */
3400
3362
  targetMaterialNoId: "target_material_no__id_",
3401
- /** 替换物料批号展示值 */
3402
- targetMaterialNoLb: "target_material_no__lb_",
3403
3363
  /** 替换物料 */
3404
3364
  targetProduct: "target_product_id_",
3405
- /** 替换物料展示值 */
3406
- targetProductLb: "target_product_id__lb_",
3407
3365
  /** 替换物料名称 */
3408
3366
  targetProductName: "target_product_id_name_",
3409
3367
  /** 替换物料编码 */
@@ -3433,24 +3391,21 @@ const CLEAR_ON_SOURCE_PRODUCT_EMPTY = [
3433
3391
  F$3.sourceQtyConsumed
3434
3392
  ];
3435
3393
  const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY = [
3436
- F$3.targetProduct,
3437
- F$3.targetProductLb,
3438
3394
  F$3.targetProductName,
3439
3395
  F$3.targetProductCode,
3440
3396
  F$3.targetProductSpec
3441
3397
  ];
3442
3398
  const FILL_FROM_SOURCE_PRODUCT_OPTION = [
3443
- { optionField: "material_name_", toField: F$3.sourceMaterialNo, name: "物料批号" },
3444
- { optionField: "product_id_.name_", toField: F$3.sourceProductName, name: "物料名称" },
3445
- { optionField: "product_id_.code_", toField: F$3.sourceProductCode, name: "物料编码" },
3446
- { optionField: "product_id_.spec_", toField: F$3.sourceProductSpec, name: "物料规格" },
3447
- { optionField: "qty_consumed_", toField: F$3.sourceQtyConsumed, name: "已消耗数量" }
3399
+ { optionField: "material_name_", toField: F$3.sourceMaterialNo },
3400
+ { optionField: "product_id_.name_", toField: F$3.sourceProductName },
3401
+ { optionField: "product_id_.code_", toField: F$3.sourceProductCode },
3402
+ { optionField: "product_id_.spec_", toField: F$3.sourceProductSpec },
3403
+ { optionField: "qty_consumed_", toField: F$3.sourceQtyConsumed }
3448
3404
  ];
3449
3405
  const FILL_FROM_TARGET_MATERIAL_NO_OPTION = [
3450
- { optionField: "product_id_", toField: F$3.targetProduct, name: "物料" },
3451
- { optionField: "product_id_name_", toField: F$3.targetProductName, name: "物料名称" },
3452
- { optionField: "product_id_code_", toField: F$3.targetProductCode, name: "物料编码" },
3453
- { optionField: "product_id_spec_", toField: F$3.targetProductSpec, name: "物料规格" }
3406
+ { optionField: "product_id_name_", toField: F$3.targetProductName },
3407
+ { optionField: "product_id_code_", toField: F$3.targetProductCode },
3408
+ { optionField: "product_id_spec_", toField: F$3.targetProductSpec }
3454
3409
  ];
3455
3410
  const SCAN_ROW_CONTENT_FIELDS = [
3456
3411
  F$3.sourceMaterialNo,
@@ -3458,49 +3413,21 @@ const SCAN_ROW_CONTENT_FIELDS = [
3458
3413
  F$3.targetMaterialNo,
3459
3414
  F$3.targetProduct
3460
3415
  ];
3461
- const FILL_FROM_TARGET_PRODUCT_OPTION = [
3462
- { optionField: "name_", toField: F$3.targetMaterialNo, name: "物料批号" },
3463
- { optionField: "product_id_name_", toField: F$3.targetProductName, name: "物料名称" },
3464
- { optionField: "product_id_code_", toField: F$3.targetProductCode, name: "物料编码" },
3465
- { optionField: "product_id_spec_", toField: F$3.targetProductSpec, name: "物料规格" }
3466
- ];
3467
- const CLEAR_ON_TARGET_PRODUCT_EMPTY = [
3468
- F$3.targetProductLb,
3469
- F$3.targetMaterialNo,
3470
- F$3.targetMaterialNoId,
3471
- F$3.targetMaterialNoLb,
3472
- F$3.targetProductName,
3473
- F$3.targetProductCode,
3474
- F$3.targetProductSpec,
3475
- F$3.targetQtyConsumed
3476
- ];
3477
3416
  const fields$5 = [
3478
3417
  {
3479
- match: { fieldKey: F$3.targetProduct },
3480
- autofillTemplates: FILL_FROM_TARGET_PRODUCT_OPTION.map(({ optionField, toField, name: name2 }) => ({
3418
+ match: { fieldKey: F$3.sourceProduct },
3419
+ autofillTemplates: FILL_FROM_SOURCE_PRODUCT_OPTION.map(({ optionField, toField }) => ({
3481
3420
  fromField: optionField,
3482
- fromFieldLabel: name2,
3483
3421
  toField
3484
3422
  }))
3485
3423
  },
3486
3424
  {
3487
- match: { fieldKey: F$3.sourceProduct },
3488
- autofillTemplates: FILL_FROM_SOURCE_PRODUCT_OPTION.map(({ optionField, toField, name: name2 }) => ({
3425
+ match: { fieldKey: F$3.targetMaterialNo },
3426
+ autofillTemplates: FILL_FROM_TARGET_MATERIAL_NO_OPTION.map(({ optionField, toField }) => ({
3489
3427
  fromField: optionField,
3490
- fromFieldLabel: name2,
3491
3428
  toField
3492
3429
  }))
3493
3430
  },
3494
- {
3495
- match: { fieldKey: F$3.targetMaterialNo },
3496
- autofillTemplates: FILL_FROM_TARGET_MATERIAL_NO_OPTION.map(
3497
- ({ optionField, toField, name: name2 }) => ({
3498
- fromField: optionField,
3499
- fromFieldLabel: name2,
3500
- toField
3501
- })
3502
- )
3503
- },
3504
3431
  {
3505
3432
  match: { fieldKey: F$3.sourceQtyConsumed },
3506
3433
  defaultProps: {
@@ -3547,11 +3474,6 @@ const profile$6 = {
3547
3474
  },
3548
3475
  fields: fields$5,
3549
3476
  rowHandlers: [
3550
- {
3551
- when: "onFieldChange",
3552
- watch: [F$3.targetProduct],
3553
- handler: "on-target-product-change"
3554
- },
3555
3477
  {
3556
3478
  when: "onFieldChange",
3557
3479
  watch: [F$3.sourceProduct],
@@ -3592,13 +3514,6 @@ function handleTargetMaterialNoChange(ctx) {
3592
3514
  return;
3593
3515
  }
3594
3516
  clearFields$1(ctx.rowData, CLEAR_ON_TARGET_MATERIAL_NO_EMPTY);
3595
- if (isBlank$3(ctx.rowData[F$3.targetMaterialNo])) {
3596
- clearFields$1(ctx.rowData, [F$3.targetMaterialNoId, F$3.targetMaterialNoLb]);
3597
- }
3598
- }
3599
- function handleTargetProductChange(ctx) {
3600
- if (!isBlank$3(ctx.rowData[F$3.targetProduct])) return;
3601
- clearFields$1(ctx.rowData, CLEAR_ON_TARGET_PRODUCT_EMPTY);
3602
3517
  }
3603
3518
  registerRowHandler(TABLE_TYPE$5, "on-source-product-change", ({ rowData }) => {
3604
3519
  handleSourceProductChange({ rowData });
@@ -3606,9 +3521,6 @@ registerRowHandler(TABLE_TYPE$5, "on-source-product-change", ({ rowData }) => {
3606
3521
  registerRowHandler(TABLE_TYPE$5, "on-target-material-no-change", ({ rowData }) => {
3607
3522
  handleTargetMaterialNoChange({ rowData });
3608
3523
  });
3609
- registerRowHandler(TABLE_TYPE$5, "on-target-product-change", ({ rowData }) => {
3610
- handleTargetProductChange({ rowData });
3611
- });
3612
3524
  const F$2 = {
3613
3525
  /** 点检日期 */
3614
3526
  inspectionDate: "inspection_date_",
@@ -3699,15 +3611,15 @@ const profile$4 = {
3699
3611
  },
3700
3612
  fields: fields$3
3701
3613
  };
3702
- const LOCKED_INPUT_FIELDS = [
3703
- "product_id_",
3704
- "product_id_name_",
3705
- "product_id_code_",
3706
- "product_id_spec_",
3707
- "mfg_order_code_",
3708
- "mfg_order_id_"
3709
- ];
3710
3614
  const fields$2 = [
3615
+ {
3616
+ match: { fieldKey: "qty_" },
3617
+ defaultProps: {
3618
+ enableRangeValidate: true,
3619
+ minValidateMode: RangeValidateMode.Fixed_Number,
3620
+ minValue: 0
3621
+ }
3622
+ },
3711
3623
  {
3712
3624
  match: {
3713
3625
  fieldKey: [
@@ -3724,25 +3636,13 @@ const fields$2 = [
3724
3636
  fieldDisabled: true,
3725
3637
  required: false
3726
3638
  }
3727
- },
3728
- {
3729
- match: { fieldKey: "qty_" },
3730
- defaultProps: {
3731
- enableRangeValidate: true,
3732
- minValidateMode: RangeValidateMode.Fixed_Number,
3733
- minValue: 0
3734
- }
3735
- },
3736
- {
3737
- match: { fieldKey: [...LOCKED_INPUT_FIELDS] },
3738
- defaultProps: { required: true, disabled: true, fieldDisabled: true }
3739
3639
  }
3740
3640
  ];
3741
3641
  const TABLE_TYPE$2 = "entrust-steril-batch-list";
3742
3642
  const profile$3 = {
3743
3643
  type: TABLE_TYPE$2,
3744
- label: "生产批次灭菌表",
3745
- labelKey: "dhr.pageDesigner.fieldCmp.sterilize_batch",
3644
+ label: "委托灭菌生产批次表",
3645
+ labelKey: "sys.onlineForm.subTableType.STERILIZE_BATCH",
3746
3646
  category: "business",
3747
3647
  ribbonAction: "entrust-steril-batch-list",
3748
3648
  ribbonGroup: "灭菌",
@@ -3919,11 +3819,11 @@ const fields$1 = [
3919
3819
  const TABLE_TYPE$1 = "pretreatment-list";
3920
3820
  const profile$2 = {
3921
3821
  type: TABLE_TYPE$1,
3922
- label: "产前表",
3923
- labelKey: "dhr.pageDesigner.fieldCmp.pretreatment_list",
3822
+ label: "预处理表",
3823
+ labelKey: "sys.onlineForm.subTableType.PRETREATMENT_LIST",
3924
3824
  category: "business",
3925
3825
  ribbonAction: "pretreatment-list",
3926
- ribbonGroup: "产前",
3826
+ ribbonGroup: "预处理",
3927
3827
  icon: "pretreatment-list",
3928
3828
  enabled: true,
3929
3829
  seedTableKeyOnCreate: true,
@@ -4263,7 +4163,241 @@ function resolveDesignPanelFeatures(tableType) {
4263
4163
  showConfigSection
4264
4164
  };
4265
4165
  }
4266
- const manifest$1h = {
4166
+ const uuid2 = (len, radix) => {
4167
+ const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
4168
+ let uuid = [], i2;
4169
+ radix = radix || chars.length;
4170
+ if (len) {
4171
+ for (i2 = 0; i2 < len; i2++) uuid[i2] = chars[0 | Math.random() * radix];
4172
+ } else {
4173
+ let r;
4174
+ uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-";
4175
+ uuid[14] = "4";
4176
+ for (i2 = 0; i2 < 36; i2++) {
4177
+ if (!uuid[i2]) {
4178
+ r = 0 | Math.random() * 16;
4179
+ uuid[i2] = chars[i2 == 19 ? r & 3 | 8 : r];
4180
+ }
4181
+ }
4182
+ }
4183
+ return uuid.join("");
4184
+ };
4185
+ const normalizeToArray = (val) => Array.isArray(val) ? val.filter((v) => !isNil(v)) : !isNil(val) ? [val] : [];
4186
+ const safeParseArray = (str) => {
4187
+ try {
4188
+ if (!str) return [];
4189
+ const v = JSON.parse(str);
4190
+ return Array.isArray(v) ? v : [];
4191
+ } catch {
4192
+ return [];
4193
+ }
4194
+ };
4195
+ const mergeByMultiKey = (A, B, {
4196
+ keyFields = ["type", "isCustom"],
4197
+ fieldsToMerge = ["alias", "enable"],
4198
+ isAllowMerge = true,
4199
+ isConcat = false
4200
+ } = {}) => {
4201
+ if (!Array.isArray(A)) return [];
4202
+ if (!isAllowMerge || !Array.isArray(B) || B.length === 0) return [...A];
4203
+ if (isConcat && Array.isArray(A) && A.length === 0) return [...B];
4204
+ const keyFn = (item) => keyFields.map((k) => {
4205
+ const v = item?.[k];
4206
+ if (typeof v === "boolean") return String(v);
4207
+ return v == null ? "" : String(v);
4208
+ }).join("::");
4209
+ const bMap = keyBy(B, keyFn);
4210
+ const result = A.map((a) => {
4211
+ const info = bMap[keyFn(a)];
4212
+ return info ? { ...a, ...pick(info, fieldsToMerge) } : { ...a };
4213
+ });
4214
+ return result;
4215
+ };
4216
+ const CLIENT_ROW_UID_KEY = "__gct_rv_uid";
4217
+ const FRONT_ROW_KEY = "front_row_key_";
4218
+ function ensureFrontRowKey(row) {
4219
+ if (!row) return "";
4220
+ const existing = row[FRONT_ROW_KEY];
4221
+ if (existing != null && String(existing).trim() !== "") return String(existing);
4222
+ const uid = Array.isArray(row._2DTABLE_) && row.group_ != null && String(row.group_).trim() !== "" ? `group:${row.group_}` : `r_${Date.now()}_${uuid2(8)}`;
4223
+ row[FRONT_ROW_KEY] = uid;
4224
+ return uid;
4225
+ }
4226
+ const getRowId = (row) => ensureFrontRowKey(row);
4227
+ function ensureTableRowKeys(rows) {
4228
+ if (!Array.isArray(rows)) return;
4229
+ rows.forEach((row) => {
4230
+ if (!row || typeof row !== "object" || Array.isArray(row)) return;
4231
+ ensureFrontRowKey(row);
4232
+ ensureTableRowKeys(row._2DTABLE_);
4233
+ });
4234
+ }
4235
+ function resetTableRowIdentity(row) {
4236
+ delete row.id_;
4237
+ delete row[FRONT_ROW_KEY];
4238
+ if (Array.isArray(row._2DTABLE_) && row.group_ != null) row.group_ = `dyn${uuid2(16)}`;
4239
+ ensureFrontRowKey(row);
4240
+ if (Array.isArray(row._2DTABLE_)) row._2DTABLE_.forEach(resetTableRowIdentity);
4241
+ }
4242
+ const RUNTIME_COLUMN_ROW_KEY = "_column_row_key_";
4243
+ const MAX_FRONT_ROW_KEY_LENGTH = 255;
4244
+ const TABLE_2D_ROW_KEY_PREFIX = "2d1.";
4245
+ function encodeBase64Url(value) {
4246
+ return btoa(
4247
+ Array.from(new TextEncoder().encode(value), (byte) => String.fromCharCode(byte)).join("")
4248
+ ).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4249
+ }
4250
+ function decodeBase64Url(value) {
4251
+ const base64 = value.replace(/-/g, "+").replace(/_/g, "/");
4252
+ const padded = base64 + "=".repeat((4 - base64.length % 4) % 4);
4253
+ return new TextDecoder().decode(Uint8Array.from(atob(padded), (char) => char.charCodeAt(0)));
4254
+ }
4255
+ function decodeTableCellRowKey(rowKey) {
4256
+ if (typeof rowKey !== "string" || !rowKey.startsWith(TABLE_2D_ROW_KEY_PREFIX)) return void 0;
4257
+ try {
4258
+ const parsed = JSON.parse(decodeBase64Url(rowKey.slice(TABLE_2D_ROW_KEY_PREFIX.length)));
4259
+ if (!Array.isArray(parsed) || parsed.length !== 2 || parsed.some((item) => typeof item !== "string" || item === ""))
4260
+ return void 0;
4261
+ return { cellRowKey: parsed[0], columnRowKey: parsed[1] };
4262
+ } catch {
4263
+ return void 0;
4264
+ }
4265
+ }
4266
+ function encodeTableCellRowKey(cellRowKey, columnRowKey) {
4267
+ const decoded = decodeTableCellRowKey(cellRowKey);
4268
+ const originalCellRowKey = decoded?.cellRowKey ?? String(cellRowKey ?? "");
4269
+ const persistedColumnRowKey = String(columnRowKey ?? "");
4270
+ if (!originalCellRowKey || !persistedColumnRowKey)
4271
+ throw new Error("二维表子行或关联列缺少 front_row_key_");
4272
+ if (decoded?.columnRowKey === persistedColumnRowKey) return String(cellRowKey);
4273
+ const encoded = `${TABLE_2D_ROW_KEY_PREFIX}${encodeBase64Url(
4274
+ JSON.stringify([originalCellRowKey, persistedColumnRowKey])
4275
+ )}`;
4276
+ if (encoded.length > MAX_FRONT_ROW_KEY_LENGTH)
4277
+ throw new Error(`二维表内置关联键长度超过 ${MAX_FRONT_ROW_KEY_LENGTH},不能提交`);
4278
+ return encoded;
4279
+ }
4280
+ function isTableRowKeyMatch(rowKey, expected) {
4281
+ if (rowKey == null || expected == null) return false;
4282
+ const actual = String(rowKey);
4283
+ const target = String(expected);
4284
+ return actual === target || decodeTableCellRowKey(actual)?.cellRowKey === target;
4285
+ }
4286
+ function splitRuntimeDataPath(path) {
4287
+ const parts = path.split(".");
4288
+ const result = [];
4289
+ for (let index2 = 0; index2 < parts.length; index2++) {
4290
+ const part = parts[index2];
4291
+ const candidate = `${part}.${parts[index2 + 1] ?? ""}`;
4292
+ if (part === "2d1" && decodeTableCellRowKey(candidate)) {
4293
+ result.push(candidate);
4294
+ index2++;
4295
+ } else result.push(part);
4296
+ }
4297
+ return result;
4298
+ }
4299
+ function findRuntimeTableRow(rows, rowKey) {
4300
+ if (!rowKey || !Array.isArray(rows)) return void 0;
4301
+ for (const row of rows) {
4302
+ if (!row || row.deleted_) continue;
4303
+ if (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey)) return row;
4304
+ const child = findRuntimeTableRow(row._2DTABLE_, rowKey);
4305
+ if (child) return child;
4306
+ }
4307
+ return void 0;
4308
+ }
4309
+ function findRuntimeParentRow(rows, rowKey) {
4310
+ if (!rowKey || !Array.isArray(rows)) return void 0;
4311
+ return rows.find(
4312
+ (row) => !row?.deleted_ && (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey) || row._2DTABLE_?.some(
4313
+ (child) => !child?.deleted_ && isTableRowKeyMatch(child[FRONT_ROW_KEY], rowKey)
4314
+ ))
4315
+ );
4316
+ }
4317
+ function findRuntimeTableCell(parent, columnRowKey) {
4318
+ if (!columnRowKey || !Array.isArray(parent?._2DTABLE_)) return void 0;
4319
+ return parent._2DTABLE_.find(
4320
+ (child) => !child?.deleted_ && child[RUNTIME_COLUMN_ROW_KEY] === columnRowKey
4321
+ );
4322
+ }
4323
+ function getRenderedRuntimeTableCell(state, info, parent, displayColumn) {
4324
+ if (!info?.colSubFieldKey) {
4325
+ return parent?._2DTABLE_?.at(displayColumn);
4326
+ }
4327
+ const column = state[info.colSubFieldKey]?.at(displayColumn);
4328
+ return column ? findRuntimeTableCell(parent, ensureFrontRowKey(column)) : void 0;
4329
+ }
4330
+ function bindRuntimeTableColumns(state, relations) {
4331
+ const expandedTables = /* @__PURE__ */ new Set();
4332
+ for (const info of relations) {
4333
+ const rows = state[info.rowSubFieldKey];
4334
+ const columns = info.colSubFieldKey ? state[info.colSubFieldKey] : void 0;
4335
+ if (!Array.isArray(rows) || !Array.isArray(columns)) continue;
4336
+ ensureTableRowKeys(columns);
4337
+ for (const parent of rows) {
4338
+ if (!Array.isArray(parent?._2DTABLE_)) continue;
4339
+ ensureTableRowKeys([parent]);
4340
+ const existingKeys = parent._2DTABLE_.map((child) => child[RUNTIME_COLUMN_ROW_KEY]).filter(Boolean);
4341
+ const bound = new Set(existingKeys);
4342
+ if (bound.size !== existingKeys.length)
4343
+ throw new Error(`二维表「${info.rowSubFieldKey}」存在重复的关联列行键`);
4344
+ const available = columns.filter(
4345
+ (column) => !column.deleted_ && !bound.has(ensureFrontRowKey(column))
4346
+ );
4347
+ for (const child of parent._2DTABLE_) {
4348
+ if (child[RUNTIME_COLUMN_ROW_KEY]) continue;
4349
+ const persistedIdentity = decodeTableCellRowKey(child[FRONT_ROW_KEY]);
4350
+ const reference = info.rowRefFieldKey ? child[info.rowRefFieldKey] : void 0;
4351
+ let businessColumn;
4352
+ if (reference != null && reference !== "" && info.colRefFieldKey) {
4353
+ const matches = columns.filter(
4354
+ (candidate) => String(candidate[info.colRefFieldKey]) === String(reference)
4355
+ );
4356
+ if (matches.length !== 1)
4357
+ throw new Error(
4358
+ `二维表「${info.rowSubFieldKey}」的关联列引用「${reference}」无法唯一匹配`
4359
+ );
4360
+ businessColumn = matches[0];
4361
+ }
4362
+ const persistedColumn = persistedIdentity ? columns.find(
4363
+ (candidate) => ensureFrontRowKey(candidate) === persistedIdentity.columnRowKey
4364
+ ) : void 0;
4365
+ if (persistedIdentity && !persistedColumn)
4366
+ throw new Error(
4367
+ `二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的内置关联列不存在`
4368
+ );
4369
+ if (businessColumn && persistedColumn && businessColumn !== persistedColumn)
4370
+ throw new Error(
4371
+ `二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的业务引用与内置关联冲突`
4372
+ );
4373
+ const column = businessColumn ?? persistedColumn ?? available.shift();
4374
+ if (!column) throw new Error(`二维表「${info.rowSubFieldKey}」缺少可绑定的关联列行`);
4375
+ const columnKey = ensureFrontRowKey(column);
4376
+ if (bound.has(columnKey))
4377
+ throw new Error(`二维表「${info.rowSubFieldKey}」重复绑定关联列行「${columnKey}」`);
4378
+ toRaw(child)[RUNTIME_COLUMN_ROW_KEY] = columnKey;
4379
+ bound.add(columnKey);
4380
+ const availablePosition = available.indexOf(column);
4381
+ if (availablePosition >= 0) available.splice(availablePosition, 1);
4382
+ }
4383
+ if (!parent.deleted_) {
4384
+ for (const column of available) {
4385
+ const child = {
4386
+ _DICT: {},
4387
+ _OPCT: {},
4388
+ _MCTABLE: {},
4389
+ [RUNTIME_COLUMN_ROW_KEY]: ensureFrontRowKey(column)
4390
+ };
4391
+ ensureFrontRowKey(child);
4392
+ parent._2DTABLE_.push(child);
4393
+ expandedTables.add(info.rowSubFieldKey);
4394
+ }
4395
+ }
4396
+ }
4397
+ }
4398
+ return Array.from(expandedTables);
4399
+ }
4400
+ const manifest$1g = {
4267
4401
  type: FIELD_TYPE.MATERIAL_CONTAINER,
4268
4402
  design: "fw:auto-complete",
4269
4403
  render: "rd:auto-complete",
@@ -4273,9 +4407,9 @@ const manifest$1h = {
4273
4407
  };
4274
4408
  const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4275
4409
  __proto__: null,
4276
- manifest: manifest$1h
4410
+ manifest: manifest$1g
4277
4411
  }, Symbol.toStringTag, { value: "Module" }));
4278
- const manifest$1g = {
4412
+ const manifest$1f = {
4279
4413
  type: FIELD_TYPE.MATERIAL_NO,
4280
4414
  design: "fw:auto-complete",
4281
4415
  render: "rd:auto-complete",
@@ -4285,9 +4419,9 @@ const manifest$1g = {
4285
4419
  };
4286
4420
  const __vite_glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4287
4421
  __proto__: null,
4288
- manifest: manifest$1g
4422
+ manifest: manifest$1f
4289
4423
  }, Symbol.toStringTag, { value: "Module" }));
4290
- const manifest$1f = {
4424
+ const manifest$1e = {
4291
4425
  type: FIELD_TYPE.RELATED_LOT_NO,
4292
4426
  design: "fw:auto-complete",
4293
4427
  render: "rd:auto-complete",
@@ -4297,9 +4431,9 @@ const manifest$1f = {
4297
4431
  };
4298
4432
  const __vite_glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4299
4433
  __proto__: null,
4300
- manifest: manifest$1f
4434
+ manifest: manifest$1e
4301
4435
  }, Symbol.toStringTag, { value: "Module" }));
4302
- const manifest$1e = {
4436
+ const manifest$1d = {
4303
4437
  type: FIELD_TYPE.SCRAP_MATERIAL_NO,
4304
4438
  design: "fw:auto-complete",
4305
4439
  render: "rd:auto-complete",
@@ -4309,9 +4443,9 @@ const manifest$1e = {
4309
4443
  };
4310
4444
  const __vite_glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4311
4445
  __proto__: null,
4312
- manifest: manifest$1e
4446
+ manifest: manifest$1d
4313
4447
  }, Symbol.toStringTag, { value: "Module" }));
4314
- const manifest$1d = {
4448
+ const manifest$1c = {
4315
4449
  type: FIELD_TYPE.STERILIZATION_CONTAINER,
4316
4450
  design: "fw:auto-complete",
4317
4451
  render: "rd:auto-complete",
@@ -4321,9 +4455,9 @@ const manifest$1d = {
4321
4455
  };
4322
4456
  const __vite_glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4323
4457
  __proto__: null,
4324
- manifest: manifest$1d
4458
+ manifest: manifest$1c
4325
4459
  }, Symbol.toStringTag, { value: "Module" }));
4326
- const manifest$1c = {
4460
+ const manifest$1b = {
4327
4461
  type: FIELD_TYPE.DATE,
4328
4462
  design: "fw:date",
4329
4463
  render: "rd:date",
@@ -4333,9 +4467,9 @@ const manifest$1c = {
4333
4467
  };
4334
4468
  const __vite_glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4335
4469
  __proto__: null,
4336
- manifest: manifest$1c
4470
+ manifest: manifest$1b
4337
4471
  }, Symbol.toStringTag, { value: "Module" }));
4338
- const manifest$1b = {
4472
+ const manifest$1a = {
4339
4473
  type: FIELD_TYPE.DATE_TIME,
4340
4474
  design: "fw:date-time",
4341
4475
  render: "rd:date-time",
@@ -4345,9 +4479,9 @@ const manifest$1b = {
4345
4479
  };
4346
4480
  const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4347
4481
  __proto__: null,
4348
- manifest: manifest$1b
4482
+ manifest: manifest$1a
4349
4483
  }, Symbol.toStringTag, { value: "Module" }));
4350
- const manifest$1a = {
4484
+ const manifest$19 = {
4351
4485
  type: FIELD_TYPE.PRODUCTION_DATE,
4352
4486
  design: "fw:date",
4353
4487
  render: "rd:date",
@@ -4357,9 +4491,9 @@ const manifest$1a = {
4357
4491
  };
4358
4492
  const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4359
4493
  __proto__: null,
4360
- manifest: manifest$1a
4494
+ manifest: manifest$19
4361
4495
  }, Symbol.toStringTag, { value: "Module" }));
4362
- const manifest$19 = {
4496
+ const manifest$18 = {
4363
4497
  type: FIELD_TYPE.RE_INSPECTION_DATE,
4364
4498
  design: "fw:date",
4365
4499
  render: "rd:date",
@@ -4369,9 +4503,9 @@ const manifest$19 = {
4369
4503
  };
4370
4504
  const __vite_glob_0_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4371
4505
  __proto__: null,
4372
- manifest: manifest$19
4506
+ manifest: manifest$18
4373
4507
  }, Symbol.toStringTag, { value: "Module" }));
4374
- const manifest$18 = {
4508
+ const manifest$17 = {
4375
4509
  type: FIELD_TYPE.REPORT_END_TIME,
4376
4510
  design: "fw:date-time",
4377
4511
  render: "rd:date-time",
@@ -4381,9 +4515,9 @@ const manifest$18 = {
4381
4515
  };
4382
4516
  const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4383
4517
  __proto__: null,
4384
- manifest: manifest$18
4518
+ manifest: manifest$17
4385
4519
  }, Symbol.toStringTag, { value: "Module" }));
4386
- const manifest$17 = {
4520
+ const manifest$16 = {
4387
4521
  type: FIELD_TYPE.REPORT_START_TIME,
4388
4522
  design: "fw:date-time",
4389
4523
  render: "rd:date-time",
@@ -4393,9 +4527,9 @@ const manifest$17 = {
4393
4527
  };
4394
4528
  const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4395
4529
  __proto__: null,
4396
- manifest: manifest$17
4530
+ manifest: manifest$16
4397
4531
  }, Symbol.toStringTag, { value: "Module" }));
4398
- const manifest$16 = {
4532
+ const manifest$15 = {
4399
4533
  type: FIELD_TYPE.STERILIZATION_DATE,
4400
4534
  design: "fw:date",
4401
4535
  render: "rd:date",
@@ -4405,9 +4539,9 @@ const manifest$16 = {
4405
4539
  };
4406
4540
  const __vite_glob_0_11 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4407
4541
  __proto__: null,
4408
- manifest: manifest$16
4542
+ manifest: manifest$15
4409
4543
  }, Symbol.toStringTag, { value: "Module" }));
4410
- const manifest$15 = {
4544
+ const manifest$14 = {
4411
4545
  type: FIELD_TYPE.TIME,
4412
4546
  design: "fw:time",
4413
4547
  render: "rd:time",
@@ -4417,9 +4551,9 @@ const manifest$15 = {
4417
4551
  };
4418
4552
  const __vite_glob_0_12 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4419
4553
  __proto__: null,
4420
- manifest: manifest$15
4554
+ manifest: manifest$14
4421
4555
  }, Symbol.toStringTag, { value: "Module" }));
4422
- const manifest$14 = {
4556
+ const manifest$13 = {
4423
4557
  type: FIELD_TYPE.TRACE_DATE,
4424
4558
  design: "fw:date",
4425
4559
  render: "rd:date",
@@ -4429,9 +4563,9 @@ const manifest$14 = {
4429
4563
  };
4430
4564
  const __vite_glob_0_13 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4431
4565
  __proto__: null,
4432
- manifest: manifest$14
4566
+ manifest: manifest$13
4433
4567
  }, Symbol.toStringTag, { value: "Module" }));
4434
- const manifest$13 = {
4568
+ const manifest$12 = {
4435
4569
  type: FIELD_TYPE.VALIDITY,
4436
4570
  design: "fw:date",
4437
4571
  render: "rd:date",
@@ -4441,9 +4575,9 @@ const manifest$13 = {
4441
4575
  };
4442
4576
  const __vite_glob_0_14 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4443
4577
  __proto__: null,
4444
- manifest: manifest$13
4578
+ manifest: manifest$12
4445
4579
  }, Symbol.toStringTag, { value: "Module" }));
4446
- const manifest$12 = {
4580
+ const manifest$11 = {
4447
4581
  type: FIELD_TYPE.WAREHOUSE_RECEIPT_DATE,
4448
4582
  design: "fw:date",
4449
4583
  render: "rd:date",
@@ -4453,9 +4587,9 @@ const manifest$12 = {
4453
4587
  };
4454
4588
  const __vite_glob_0_15 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4455
4589
  __proto__: null,
4456
- manifest: manifest$12
4590
+ manifest: manifest$11
4457
4591
  }, Symbol.toStringTag, { value: "Module" }));
4458
- const manifest$11 = {
4592
+ const manifest$10 = {
4459
4593
  type: FIELD_TYPE.DECIMAL,
4460
4594
  design: "fw:number",
4461
4595
  render: "rd:number",
@@ -4465,9 +4599,9 @@ const manifest$11 = {
4465
4599
  };
4466
4600
  const __vite_glob_0_16 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4467
4601
  __proto__: null,
4468
- manifest: manifest$11
4602
+ manifest: manifest$10
4469
4603
  }, Symbol.toStringTag, { value: "Module" }));
4470
- const manifest$10 = {
4604
+ const manifest$$ = {
4471
4605
  type: FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
4472
4606
  design: "fw:number",
4473
4607
  render: "rd:double",
@@ -4480,9 +4614,9 @@ const manifest$10 = {
4480
4614
  };
4481
4615
  const __vite_glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4482
4616
  __proto__: null,
4483
- manifest: manifest$10
4617
+ manifest: manifest$$
4484
4618
  }, Symbol.toStringTag, { value: "Module" }));
4485
- const manifest$$ = {
4619
+ const manifest$_ = {
4486
4620
  type: FIELD_TYPE.DOUBLE,
4487
4621
  design: "fw:number",
4488
4622
  render: "rd:double",
@@ -4492,9 +4626,9 @@ const manifest$$ = {
4492
4626
  };
4493
4627
  const __vite_glob_0_18 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4494
4628
  __proto__: null,
4495
- manifest: manifest$$
4629
+ manifest: manifest$_
4496
4630
  }, Symbol.toStringTag, { value: "Module" }));
4497
- const manifest$_ = {
4631
+ const manifest$Z = {
4498
4632
  type: FIELD_TYPE.GOOD_QTY,
4499
4633
  design: "fw:number",
4500
4634
  render: "rd:double",
@@ -4507,9 +4641,9 @@ const manifest$_ = {
4507
4641
  };
4508
4642
  const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4509
4643
  __proto__: null,
4510
- manifest: manifest$_
4644
+ manifest: manifest$Z
4511
4645
  }, Symbol.toStringTag, { value: "Module" }));
4512
- const manifest$Z = {
4646
+ const manifest$Y = {
4513
4647
  type: FIELD_TYPE.INSPECTION_MODULE_QTY,
4514
4648
  design: "fw:number",
4515
4649
  render: "rd:double",
@@ -4522,9 +4656,9 @@ const manifest$Z = {
4522
4656
  };
4523
4657
  const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4524
4658
  __proto__: null,
4525
- manifest: manifest$Z
4659
+ manifest: manifest$Y
4526
4660
  }, Symbol.toStringTag, { value: "Module" }));
4527
- const manifest$Y = {
4661
+ const manifest$X = {
4528
4662
  type: FIELD_TYPE.INSPECTION_QTY,
4529
4663
  design: "fw:number",
4530
4664
  render: "rd:double",
@@ -4537,9 +4671,9 @@ const manifest$Y = {
4537
4671
  };
4538
4672
  const __vite_glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4539
4673
  __proto__: null,
4540
- manifest: manifest$Y
4674
+ manifest: manifest$X
4541
4675
  }, Symbol.toStringTag, { value: "Module" }));
4542
- const manifest$X = {
4676
+ const manifest$W = {
4543
4677
  type: FIELD_TYPE.INTEGER,
4544
4678
  design: "fw:number",
4545
4679
  render: "rd:number",
@@ -4549,9 +4683,9 @@ const manifest$X = {
4549
4683
  };
4550
4684
  const __vite_glob_0_22 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4551
4685
  __proto__: null,
4552
- manifest: manifest$X
4686
+ manifest: manifest$W
4553
4687
  }, Symbol.toStringTag, { value: "Module" }));
4554
- const manifest$W = {
4688
+ const manifest$V = {
4555
4689
  type: FIELD_TYPE.LONG,
4556
4690
  design: "fw:number",
4557
4691
  render: "rd:number",
@@ -4561,9 +4695,9 @@ const manifest$W = {
4561
4695
  };
4562
4696
  const __vite_glob_0_23 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4563
4697
  __proto__: null,
4564
- manifest: manifest$W
4698
+ manifest: manifest$V
4565
4699
  }, Symbol.toStringTag, { value: "Module" }));
4566
- const manifest$V = {
4700
+ const manifest$U = {
4567
4701
  type: FIELD_TYPE.MATERIAL_CHECK_QTY,
4568
4702
  design: "fw:number",
4569
4703
  render: "rd:double",
@@ -4576,9 +4710,9 @@ const manifest$V = {
4576
4710
  };
4577
4711
  const __vite_glob_0_24 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4578
4712
  __proto__: null,
4579
- manifest: manifest$V
4713
+ manifest: manifest$U
4580
4714
  }, Symbol.toStringTag, { value: "Module" }));
4581
- const manifest$U = {
4715
+ const manifest$T = {
4582
4716
  type: FIELD_TYPE.NOT_GOOD_QTY,
4583
4717
  design: "fw:number",
4584
4718
  render: "rd:double",
@@ -4591,9 +4725,9 @@ const manifest$U = {
4591
4725
  };
4592
4726
  const __vite_glob_0_25 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4593
4727
  __proto__: null,
4594
- manifest: manifest$U
4728
+ manifest: manifest$T
4595
4729
  }, Symbol.toStringTag, { value: "Module" }));
4596
- const manifest$T = {
4730
+ const manifest$S = {
4597
4731
  type: FIELD_TYPE.OF_INST_NUM,
4598
4732
  design: "fw:number",
4599
4733
  render: "rd:number",
@@ -4606,9 +4740,9 @@ const manifest$T = {
4606
4740
  };
4607
4741
  const __vite_glob_0_26 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4608
4742
  __proto__: null,
4609
- manifest: manifest$T
4743
+ manifest: manifest$S
4610
4744
  }, Symbol.toStringTag, { value: "Module" }));
4611
- const manifest$S = {
4745
+ const manifest$R = {
4612
4746
  type: FIELD_TYPE.OPERATION_OUTPUT_QTY,
4613
4747
  design: "fw:number",
4614
4748
  render: "rd:double",
@@ -4621,9 +4755,9 @@ const manifest$S = {
4621
4755
  };
4622
4756
  const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4623
4757
  __proto__: null,
4624
- manifest: manifest$S
4758
+ manifest: manifest$R
4625
4759
  }, Symbol.toStringTag, { value: "Module" }));
4626
- const manifest$R = {
4760
+ const manifest$Q = {
4627
4761
  type: FIELD_TYPE.OPERATION_RECEIVE_QTY,
4628
4762
  design: "fw:number",
4629
4763
  render: "rd:double",
@@ -4638,26 +4772,11 @@ const manifest$R = {
4638
4772
  }
4639
4773
  };
4640
4774
  const __vite_glob_0_28 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4641
- __proto__: null,
4642
- manifest: manifest$R
4643
- }, Symbol.toStringTag, { value: "Module" }));
4644
- const manifest$Q = {
4645
- type: FIELD_TYPE.PRODUCT_CHECK_QTY,
4646
- design: "fw:number",
4647
- render: "rd:double",
4648
- defaultProps: {
4649
- placeholder: "请输入",
4650
- enableRangeValidate: true,
4651
- minValidateMode: RangeValidateMode.Fixed_Number,
4652
- minValue: 0
4653
- }
4654
- };
4655
- const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4656
4775
  __proto__: null,
4657
4776
  manifest: manifest$Q
4658
4777
  }, Symbol.toStringTag, { value: "Module" }));
4659
4778
  const manifest$P = {
4660
- type: FIELD_TYPE.PRODUCT_RELEASE_QTY,
4779
+ type: FIELD_TYPE.PRODUCT_CHECK_QTY,
4661
4780
  design: "fw:number",
4662
4781
  render: "rd:double",
4663
4782
  defaultProps: {
@@ -4667,7 +4786,7 @@ const manifest$P = {
4667
4786
  minValue: 0
4668
4787
  }
4669
4788
  };
4670
- const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4789
+ const __vite_glob_0_29 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4671
4790
  __proto__: null,
4672
4791
  manifest: manifest$P
4673
4792
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4682,7 +4801,7 @@ const manifest$O = {
4682
4801
  minValue: 0
4683
4802
  }
4684
4803
  };
4685
- const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4804
+ const __vite_glob_0_30 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4686
4805
  __proto__: null,
4687
4806
  manifest: manifest$O
4688
4807
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4697,7 +4816,7 @@ const manifest$N = {
4697
4816
  minValue: 0
4698
4817
  }
4699
4818
  };
4700
- const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4819
+ const __vite_glob_0_31 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4701
4820
  __proto__: null,
4702
4821
  manifest: manifest$N
4703
4822
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4712,7 +4831,7 @@ const manifest$M = {
4712
4831
  minValue: 0
4713
4832
  }
4714
4833
  };
4715
- const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4834
+ const __vite_glob_0_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4716
4835
  __proto__: null,
4717
4836
  manifest: manifest$M
4718
4837
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4727,7 +4846,7 @@ const manifest$L = {
4727
4846
  minValue: 0
4728
4847
  }
4729
4848
  };
4730
- const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4849
+ const __vite_glob_0_33 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4731
4850
  __proto__: null,
4732
4851
  manifest: manifest$L
4733
4852
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4742,7 +4861,7 @@ const manifest$K = {
4742
4861
  minValue: 0
4743
4862
  }
4744
4863
  };
4745
- const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4864
+ const __vite_glob_0_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4746
4865
  __proto__: null,
4747
4866
  manifest: manifest$K
4748
4867
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4757,7 +4876,7 @@ const manifest$J = {
4757
4876
  minValue: 0
4758
4877
  }
4759
4878
  };
4760
- const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4879
+ const __vite_glob_0_35 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4761
4880
  __proto__: null,
4762
4881
  manifest: manifest$J
4763
4882
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4769,7 +4888,7 @@ const manifest$I = {
4769
4888
  placeholder: "请选择"
4770
4889
  }
4771
4890
  };
4772
- const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4891
+ const __vite_glob_0_36 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4773
4892
  __proto__: null,
4774
4893
  manifest: manifest$I
4775
4894
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4781,7 +4900,7 @@ const manifest$H = {
4781
4900
  placeholder: "请选择"
4782
4901
  }
4783
4902
  };
4784
- const __vite_glob_0_38 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4903
+ const __vite_glob_0_37 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4785
4904
  __proto__: null,
4786
4905
  manifest: manifest$H
4787
4906
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4793,7 +4912,7 @@ const manifest$G = {
4793
4912
  placeholder: "请选择"
4794
4913
  }
4795
4914
  };
4796
- const __vite_glob_0_39 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4915
+ const __vite_glob_0_38 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4797
4916
  __proto__: null,
4798
4917
  manifest: manifest$G
4799
4918
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4805,7 +4924,7 @@ const manifest$F = {
4805
4924
  placeholder: "请选择"
4806
4925
  }
4807
4926
  };
4808
- const __vite_glob_0_40 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4927
+ const __vite_glob_0_39 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4809
4928
  __proto__: null,
4810
4929
  manifest: manifest$F
4811
4930
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4817,7 +4936,7 @@ const manifest$E = {
4817
4936
  placeholder: "请选择"
4818
4937
  }
4819
4938
  };
4820
- const __vite_glob_0_41 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4939
+ const __vite_glob_0_40 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4821
4940
  __proto__: null,
4822
4941
  manifest: manifest$E
4823
4942
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4829,7 +4948,7 @@ const manifest$D = {
4829
4948
  placeholder: "请选择"
4830
4949
  }
4831
4950
  };
4832
- const __vite_glob_0_42 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4951
+ const __vite_glob_0_41 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4833
4952
  __proto__: null,
4834
4953
  manifest: manifest$D
4835
4954
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4841,7 +4960,7 @@ const manifest$C = {
4841
4960
  placeholder: "请选择"
4842
4961
  }
4843
4962
  };
4844
- const __vite_glob_0_43 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4963
+ const __vite_glob_0_42 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4845
4964
  __proto__: null,
4846
4965
  manifest: manifest$C
4847
4966
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4853,7 +4972,7 @@ const manifest$B = {
4853
4972
  placeholder: "请选择"
4854
4973
  }
4855
4974
  };
4856
- const __vite_glob_0_44 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4975
+ const __vite_glob_0_43 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4857
4976
  __proto__: null,
4858
4977
  manifest: manifest$B
4859
4978
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4863,7 +4982,7 @@ const manifest$A = {
4863
4982
  render: "rd:seal",
4864
4983
  defaultProps: { placeholder: "盖章", diameterMm: 42 }
4865
4984
  };
4866
- const __vite_glob_0_45 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4985
+ const __vite_glob_0_44 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4867
4986
  __proto__: null,
4868
4987
  manifest: manifest$A
4869
4988
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4875,7 +4994,7 @@ const manifest$z = {
4875
4994
  placeholder: "请选择"
4876
4995
  }
4877
4996
  };
4878
- const __vite_glob_0_46 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4997
+ const __vite_glob_0_45 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4879
4998
  __proto__: null,
4880
4999
  manifest: manifest$z
4881
5000
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4887,7 +5006,7 @@ const manifest$y = {
4887
5006
  placeholder: "请选择"
4888
5007
  }
4889
5008
  };
4890
- const __vite_glob_0_47 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5009
+ const __vite_glob_0_46 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4891
5010
  __proto__: null,
4892
5011
  manifest: manifest$y
4893
5012
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4899,7 +5018,7 @@ const manifest$x = {
4899
5018
  placeholder: "请选择"
4900
5019
  }
4901
5020
  };
4902
- const __vite_glob_0_48 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5021
+ const __vite_glob_0_47 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4903
5022
  __proto__: null,
4904
5023
  manifest: manifest$x
4905
5024
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4911,7 +5030,7 @@ const manifest$w = {
4911
5030
  placeholder: "请选择"
4912
5031
  }
4913
5032
  };
4914
- const __vite_glob_0_49 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5033
+ const __vite_glob_0_48 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4915
5034
  __proto__: null,
4916
5035
  manifest: manifest$w
4917
5036
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4923,7 +5042,7 @@ const manifest$v = {
4923
5042
  placeholder: "请选择"
4924
5043
  }
4925
5044
  };
4926
- const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5045
+ const __vite_glob_0_49 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4927
5046
  __proto__: null,
4928
5047
  manifest: manifest$v
4929
5048
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4935,7 +5054,7 @@ const manifest$u = {
4935
5054
  placeholder: "请选择"
4936
5055
  }
4937
5056
  };
4938
- const __vite_glob_0_51 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5057
+ const __vite_glob_0_50 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4939
5058
  __proto__: null,
4940
5059
  manifest: manifest$u
4941
5060
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4947,7 +5066,7 @@ const manifest$t = {
4947
5066
  placeholder: "请选择"
4948
5067
  }
4949
5068
  };
4950
- const __vite_glob_0_52 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5069
+ const __vite_glob_0_51 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4951
5070
  __proto__: null,
4952
5071
  manifest: manifest$t
4953
5072
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4959,7 +5078,7 @@ const manifest$s = {
4959
5078
  placeholder: "请选择"
4960
5079
  }
4961
5080
  };
4962
- const __vite_glob_0_53 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5081
+ const __vite_glob_0_52 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4963
5082
  __proto__: null,
4964
5083
  manifest: manifest$s
4965
5084
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4971,7 +5090,7 @@ const manifest$r = {
4971
5090
  placeholder: "请选择"
4972
5091
  }
4973
5092
  };
4974
- const __vite_glob_0_54 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5093
+ const __vite_glob_0_53 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4975
5094
  __proto__: null,
4976
5095
  manifest: manifest$r
4977
5096
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4983,7 +5102,7 @@ const manifest$q = {
4983
5102
  placeholder: "请选择"
4984
5103
  }
4985
5104
  };
4986
- const __vite_glob_0_55 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5105
+ const __vite_glob_0_54 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4987
5106
  __proto__: null,
4988
5107
  manifest: manifest$q
4989
5108
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4995,7 +5114,7 @@ const manifest$p = {
4995
5114
  placeholder: "请选择"
4996
5115
  }
4997
5116
  };
4998
- const __vite_glob_0_56 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5117
+ const __vite_glob_0_55 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4999
5118
  __proto__: null,
5000
5119
  manifest: manifest$p
5001
5120
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5007,7 +5126,7 @@ const manifest$o = {
5007
5126
  placeholder: "请选择"
5008
5127
  }
5009
5128
  };
5010
- const __vite_glob_0_57 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5129
+ const __vite_glob_0_56 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5011
5130
  __proto__: null,
5012
5131
  manifest: manifest$o
5013
5132
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5019,7 +5138,7 @@ const manifest$n = {
5019
5138
  placeholder: "请选择"
5020
5139
  }
5021
5140
  };
5022
- const __vite_glob_0_58 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5141
+ const __vite_glob_0_57 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5023
5142
  __proto__: null,
5024
5143
  manifest: manifest$n
5025
5144
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5031,7 +5150,7 @@ const manifest$m = {
5031
5150
  placeholder: "请选择"
5032
5151
  }
5033
5152
  };
5034
- const __vite_glob_0_59 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5153
+ const __vite_glob_0_58 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5035
5154
  __proto__: null,
5036
5155
  manifest: manifest$m
5037
5156
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5043,7 +5162,7 @@ const manifest$l = {
5043
5162
  placeholder: "请选择"
5044
5163
  }
5045
5164
  };
5046
- const __vite_glob_0_60 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5165
+ const __vite_glob_0_59 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5047
5166
  __proto__: null,
5048
5167
  manifest: manifest$l
5049
5168
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5055,7 +5174,7 @@ const manifest$k = {
5055
5174
  placeholder: "请选择"
5056
5175
  }
5057
5176
  };
5058
- const __vite_glob_0_61 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5177
+ const __vite_glob_0_60 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5059
5178
  __proto__: null,
5060
5179
  manifest: manifest$k
5061
5180
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5067,7 +5186,7 @@ const manifest$j = {
5067
5186
  placeholder: "请选择"
5068
5187
  }
5069
5188
  };
5070
- const __vite_glob_0_62 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5189
+ const __vite_glob_0_61 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5071
5190
  __proto__: null,
5072
5191
  manifest: manifest$j
5073
5192
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5079,7 +5198,7 @@ const manifest$i = {
5079
5198
  placeholder: "请选择"
5080
5199
  }
5081
5200
  };
5082
- const __vite_glob_0_63 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5201
+ const __vite_glob_0_62 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5083
5202
  __proto__: null,
5084
5203
  manifest: manifest$i
5085
5204
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5091,7 +5210,7 @@ const manifest$h = {
5091
5210
  placeholder: "请选择"
5092
5211
  }
5093
5212
  };
5094
- const __vite_glob_0_64 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5213
+ const __vite_glob_0_63 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5095
5214
  __proto__: null,
5096
5215
  manifest: manifest$h
5097
5216
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5103,7 +5222,7 @@ const manifest$g = {
5103
5222
  placeholder: "请选择"
5104
5223
  }
5105
5224
  };
5106
- const __vite_glob_0_65 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5225
+ const __vite_glob_0_64 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5107
5226
  __proto__: null,
5108
5227
  manifest: manifest$g
5109
5228
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5115,7 +5234,7 @@ const manifest$f = {
5115
5234
  placeholder: "请选择"
5116
5235
  }
5117
5236
  };
5118
- const __vite_glob_0_66 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5237
+ const __vite_glob_0_65 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5119
5238
  __proto__: null,
5120
5239
  manifest: manifest$f
5121
5240
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5127,7 +5246,7 @@ const manifest$e = {
5127
5246
  placeholder: "请选择"
5128
5247
  }
5129
5248
  };
5130
- const __vite_glob_0_67 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5249
+ const __vite_glob_0_66 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5131
5250
  __proto__: null,
5132
5251
  manifest: manifest$e
5133
5252
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5139,7 +5258,7 @@ const manifest$d = {
5139
5258
  placeholder: "请选择"
5140
5259
  }
5141
5260
  };
5142
- const __vite_glob_0_68 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5261
+ const __vite_glob_0_67 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5143
5262
  __proto__: null,
5144
5263
  manifest: manifest$d
5145
5264
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5151,7 +5270,7 @@ const manifest$c = {
5151
5270
  placeholder: "请输入"
5152
5271
  }
5153
5272
  };
5154
- const __vite_glob_0_69 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5273
+ const __vite_glob_0_68 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5155
5274
  __proto__: null,
5156
5275
  manifest: manifest$c
5157
5276
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5163,7 +5282,7 @@ const manifest$b = {
5163
5282
  placeholder: "请输入"
5164
5283
  }
5165
5284
  };
5166
- const __vite_glob_0_70 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5285
+ const __vite_glob_0_69 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5167
5286
  __proto__: null,
5168
5287
  manifest: manifest$b
5169
5288
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5175,7 +5294,7 @@ const manifest$a = {
5175
5294
  placeholder: "请输入"
5176
5295
  }
5177
5296
  };
5178
- const __vite_glob_0_71 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5297
+ const __vite_glob_0_70 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5179
5298
  __proto__: null,
5180
5299
  manifest: manifest$a
5181
5300
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5187,7 +5306,7 @@ const manifest$9 = {
5187
5306
  placeholder: "请输入"
5188
5307
  }
5189
5308
  };
5190
- const __vite_glob_0_72 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5309
+ const __vite_glob_0_71 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5191
5310
  __proto__: null,
5192
5311
  manifest: manifest$9
5193
5312
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5199,7 +5318,7 @@ const manifest$8 = {
5199
5318
  placeholder: "请输入"
5200
5319
  }
5201
5320
  };
5202
- const __vite_glob_0_73 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5321
+ const __vite_glob_0_72 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5203
5322
  __proto__: null,
5204
5323
  manifest: manifest$8
5205
5324
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5211,7 +5330,7 @@ const manifest$7 = {
5211
5330
  placeholder: "请输入"
5212
5331
  }
5213
5332
  };
5214
- const __vite_glob_0_74 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5333
+ const __vite_glob_0_73 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5215
5334
  __proto__: null,
5216
5335
  manifest: manifest$7
5217
5336
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5223,7 +5342,7 @@ const manifest$6 = {
5223
5342
  placeholder: "请输入"
5224
5343
  }
5225
5344
  };
5226
- const __vite_glob_0_75 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5345
+ const __vite_glob_0_74 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5227
5346
  __proto__: null,
5228
5347
  manifest: manifest$6
5229
5348
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5235,7 +5354,7 @@ const manifest$5 = {
5235
5354
  placeholder: "请输入"
5236
5355
  }
5237
5356
  };
5238
- const __vite_glob_0_76 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5357
+ const __vite_glob_0_75 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5239
5358
  __proto__: null,
5240
5359
  manifest: manifest$5
5241
5360
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5247,7 +5366,7 @@ const manifest$4 = {
5247
5366
  placeholder: "上传附件"
5248
5367
  }
5249
5368
  };
5250
- const __vite_glob_0_77 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5369
+ const __vite_glob_0_76 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5251
5370
  __proto__: null,
5252
5371
  manifest: manifest$4
5253
5372
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5259,7 +5378,7 @@ const manifest$3 = {
5259
5378
  placeholder: "上传图片"
5260
5379
  }
5261
5380
  };
5262
- const __vite_glob_0_78 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5381
+ const __vite_glob_0_77 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5263
5382
  __proto__: null,
5264
5383
  manifest: manifest$3
5265
5384
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5271,7 +5390,7 @@ const manifest$2 = {
5271
5390
  placeholder: "添加签名"
5272
5391
  }
5273
5392
  };
5274
- const __vite_glob_0_79 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5393
+ const __vite_glob_0_78 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5275
5394
  __proto__: null,
5276
5395
  manifest: manifest$2
5277
5396
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5283,7 +5402,7 @@ const manifest$1 = {
5283
5402
  placeholder: "添加签名"
5284
5403
  }
5285
5404
  };
5286
- const __vite_glob_0_80 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5405
+ const __vite_glob_0_79 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5287
5406
  __proto__: null,
5288
5407
  manifest: manifest$1
5289
5408
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5295,7 +5414,7 @@ const manifest = {
5295
5414
  placeholder: "添加签名"
5296
5415
  }
5297
5416
  };
5298
- const __vite_glob_0_81 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5417
+ const __vite_glob_0_80 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5299
5418
  __proto__: null,
5300
5419
  manifest
5301
5420
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5331,58 +5450,57 @@ function loadFieldMainSet() {
5331
5450
  "./number/operation-output-qty-manifest.ts": __vite_glob_0_27,
5332
5451
  "./number/operation-receive-qty-manifest.ts": __vite_glob_0_28,
5333
5452
  "./number/product-check-qty-manifest.ts": __vite_glob_0_29,
5334
- "./number/product-release-qty-manifest.ts": __vite_glob_0_30,
5335
- "./number/production-qty-manifest.ts": __vite_glob_0_31,
5336
- "./number/qty-consumed-manifest.ts": __vite_glob_0_32,
5337
- "./number/qty-manifest.ts": __vite_glob_0_33,
5338
- "./number/qty-required-manifest.ts": __vite_glob_0_34,
5339
- "./number/scrap-qty-manifest.ts": __vite_glob_0_35,
5340
- "./number/work-hours-manifest.ts": __vite_glob_0_36,
5341
- "./option/boolean-manifest.ts": __vite_glob_0_37,
5342
- "./option/enum-manifest.ts": __vite_glob_0_38,
5343
- "./option/enum-multi-manifest.ts": __vite_glob_0_39,
5344
- "./option/option-manifest.ts": __vite_glob_0_40,
5345
- "./option/option-multi-manifest.ts": __vite_glob_0_41,
5346
- "./rdo-select/e-sop-manifest.ts": __vite_glob_0_42,
5347
- "./rdo-select/product-manifest.ts": __vite_glob_0_43,
5348
- "./rdo-select/scrap-material-manifest.ts": __vite_glob_0_44,
5349
- "./seal/seal-manifest.ts": __vite_glob_0_45,
5350
- "./select/device-manifest.ts": __vite_glob_0_46,
5351
- "./select/device-ref-manifest.ts": __vite_glob_0_47,
5352
- "./select/device-ref-multi-manifest.ts": __vite_glob_0_48,
5353
- "./select/inspection-container-manifest.ts": __vite_glob_0_49,
5354
- "./select/location-manifest.ts": __vite_glob_0_50,
5355
- "./select/mfg-order-manifest.ts": __vite_glob_0_51,
5356
- "./select/model-relation-manifest.ts": __vite_glob_0_52,
5357
- "./select/not-good-group-manifest.ts": __vite_glob_0_53,
5358
- "./select/not-good-reason-manifest.ts": __vite_glob_0_54,
5359
- "./select/operation-manifest.ts": __vite_glob_0_55,
5360
- "./select/org-manifest.ts": __vite_glob_0_56,
5361
- "./select/org-multi-manifest.ts": __vite_glob_0_57,
5362
- "./select/production-container-manifest.ts": __vite_glob_0_58,
5363
- "./select/ref-manifest.ts": __vite_glob_0_59,
5364
- "./select/ref-multi-manifest.ts": __vite_glob_0_60,
5365
- "./select/routing-operation-manifest.ts": __vite_glob_0_61,
5366
- "./select/scrap-group-manifest.ts": __vite_glob_0_62,
5367
- "./select/scrap-reason-manifest.ts": __vite_glob_0_63,
5368
- "./select/shopfloor-manifest.ts": __vite_glob_0_64,
5369
- "./select/target-warehouse-manifest.ts": __vite_glob_0_65,
5370
- "./select/user-manifest.ts": __vite_glob_0_66,
5371
- "./select/user-multi-manifest.ts": __vite_glob_0_67,
5372
- "./select/warehouse-manifest.ts": __vite_glob_0_68,
5373
- "./text/e-sop-version-manifest.ts": __vite_glob_0_69,
5374
- "./text/external-reference-no-manifest.ts": __vite_glob_0_70,
5375
- "./text/long-text-manifest.ts": __vite_glob_0_71,
5376
- "./text/order-no-manifest.ts": __vite_glob_0_72,
5377
- "./text/record-no-manifest.ts": __vite_glob_0_73,
5378
- "./text/text-manifest.ts": __vite_glob_0_74,
5379
- "./text/udi-manifest.ts": __vite_glob_0_75,
5380
- "./text/warehouse-receipt-no-manifest.ts": __vite_glob_0_76,
5381
- "./upload/attachment-manifest.ts": __vite_glob_0_77,
5382
- "./upload/image-manifest.ts": __vite_glob_0_78,
5383
- "./upload/reporter-manifest.ts": __vite_glob_0_79,
5384
- "./upload/signature-manifest.ts": __vite_glob_0_80,
5385
- "./upload/warehouse-manager-manifest.ts": __vite_glob_0_81
5453
+ "./number/production-qty-manifest.ts": __vite_glob_0_30,
5454
+ "./number/qty-consumed-manifest.ts": __vite_glob_0_31,
5455
+ "./number/qty-manifest.ts": __vite_glob_0_32,
5456
+ "./number/qty-required-manifest.ts": __vite_glob_0_33,
5457
+ "./number/scrap-qty-manifest.ts": __vite_glob_0_34,
5458
+ "./number/work-hours-manifest.ts": __vite_glob_0_35,
5459
+ "./option/boolean-manifest.ts": __vite_glob_0_36,
5460
+ "./option/enum-manifest.ts": __vite_glob_0_37,
5461
+ "./option/enum-multi-manifest.ts": __vite_glob_0_38,
5462
+ "./option/option-manifest.ts": __vite_glob_0_39,
5463
+ "./option/option-multi-manifest.ts": __vite_glob_0_40,
5464
+ "./rdo-select/e-sop-manifest.ts": __vite_glob_0_41,
5465
+ "./rdo-select/product-manifest.ts": __vite_glob_0_42,
5466
+ "./rdo-select/scrap-material-manifest.ts": __vite_glob_0_43,
5467
+ "./seal/seal-manifest.ts": __vite_glob_0_44,
5468
+ "./select/device-manifest.ts": __vite_glob_0_45,
5469
+ "./select/device-ref-manifest.ts": __vite_glob_0_46,
5470
+ "./select/device-ref-multi-manifest.ts": __vite_glob_0_47,
5471
+ "./select/inspection-container-manifest.ts": __vite_glob_0_48,
5472
+ "./select/location-manifest.ts": __vite_glob_0_49,
5473
+ "./select/mfg-order-manifest.ts": __vite_glob_0_50,
5474
+ "./select/model-relation-manifest.ts": __vite_glob_0_51,
5475
+ "./select/not-good-group-manifest.ts": __vite_glob_0_52,
5476
+ "./select/not-good-reason-manifest.ts": __vite_glob_0_53,
5477
+ "./select/operation-manifest.ts": __vite_glob_0_54,
5478
+ "./select/org-manifest.ts": __vite_glob_0_55,
5479
+ "./select/org-multi-manifest.ts": __vite_glob_0_56,
5480
+ "./select/production-container-manifest.ts": __vite_glob_0_57,
5481
+ "./select/ref-manifest.ts": __vite_glob_0_58,
5482
+ "./select/ref-multi-manifest.ts": __vite_glob_0_59,
5483
+ "./select/routing-operation-manifest.ts": __vite_glob_0_60,
5484
+ "./select/scrap-group-manifest.ts": __vite_glob_0_61,
5485
+ "./select/scrap-reason-manifest.ts": __vite_glob_0_62,
5486
+ "./select/shopfloor-manifest.ts": __vite_glob_0_63,
5487
+ "./select/target-warehouse-manifest.ts": __vite_glob_0_64,
5488
+ "./select/user-manifest.ts": __vite_glob_0_65,
5489
+ "./select/user-multi-manifest.ts": __vite_glob_0_66,
5490
+ "./select/warehouse-manifest.ts": __vite_glob_0_67,
5491
+ "./text/e-sop-version-manifest.ts": __vite_glob_0_68,
5492
+ "./text/external-reference-no-manifest.ts": __vite_glob_0_69,
5493
+ "./text/long-text-manifest.ts": __vite_glob_0_70,
5494
+ "./text/order-no-manifest.ts": __vite_glob_0_71,
5495
+ "./text/record-no-manifest.ts": __vite_glob_0_72,
5496
+ "./text/text-manifest.ts": __vite_glob_0_73,
5497
+ "./text/udi-manifest.ts": __vite_glob_0_74,
5498
+ "./text/warehouse-receipt-no-manifest.ts": __vite_glob_0_75,
5499
+ "./upload/attachment-manifest.ts": __vite_glob_0_76,
5500
+ "./upload/image-manifest.ts": __vite_glob_0_77,
5501
+ "./upload/reporter-manifest.ts": __vite_glob_0_78,
5502
+ "./upload/signature-manifest.ts": __vite_glob_0_79,
5503
+ "./upload/warehouse-manager-manifest.ts": __vite_glob_0_80
5386
5504
  });
5387
5505
  const map = {};
5388
5506
  Object.entries(manifestModules).forEach(([path, exports2]) => {
@@ -5560,82 +5678,6 @@ function toPx(length, element) {
5560
5678
  return unit == "px" ? val : pxPerUnit(unit, element) * val;
5561
5679
  }
5562
5680
  var src = toPx;
5563
- const uuid2 = (len, radix) => {
5564
- const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
5565
- let uuid = [], i2;
5566
- radix = radix || chars.length;
5567
- if (len) {
5568
- for (i2 = 0; i2 < len; i2++) uuid[i2] = chars[0 | Math.random() * radix];
5569
- } else {
5570
- let r;
5571
- uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-";
5572
- uuid[14] = "4";
5573
- for (i2 = 0; i2 < 36; i2++) {
5574
- if (!uuid[i2]) {
5575
- r = 0 | Math.random() * 16;
5576
- uuid[i2] = chars[i2 == 19 ? r & 3 | 8 : r];
5577
- }
5578
- }
5579
- }
5580
- return uuid.join("");
5581
- };
5582
- const normalizeToArray = (val) => Array.isArray(val) ? val.filter((v) => !isNil(v)) : !isNil(val) ? [val] : [];
5583
- const safeParseArray = (str) => {
5584
- try {
5585
- if (!str) return [];
5586
- const v = JSON.parse(str);
5587
- return Array.isArray(v) ? v : [];
5588
- } catch {
5589
- return [];
5590
- }
5591
- };
5592
- const mergeByMultiKey = (A, B, {
5593
- keyFields = ["type", "isCustom"],
5594
- fieldsToMerge = ["alias", "enable"],
5595
- isAllowMerge = true,
5596
- isConcat = false
5597
- } = {}) => {
5598
- if (!Array.isArray(A)) return [];
5599
- if (!isAllowMerge || !Array.isArray(B) || B.length === 0) return [...A];
5600
- if (isConcat && Array.isArray(A) && A.length === 0) return [...B];
5601
- const keyFn = (item) => keyFields.map((k) => {
5602
- const v = item?.[k];
5603
- if (typeof v === "boolean") return String(v);
5604
- return v == null ? "" : String(v);
5605
- }).join("::");
5606
- const bMap = keyBy(B, keyFn);
5607
- const result = A.map((a) => {
5608
- const info = bMap[keyFn(a)];
5609
- return info ? { ...a, ...pick(info, fieldsToMerge) } : { ...a };
5610
- });
5611
- return result;
5612
- };
5613
- const CLIENT_ROW_UID_KEY = "__gct_rv_uid";
5614
- const FRONT_ROW_KEY = "front_row_key_";
5615
- function ensureFrontRowKey(row) {
5616
- if (!row) return "";
5617
- const existing = row[FRONT_ROW_KEY];
5618
- if (existing != null && String(existing).trim() !== "") return String(existing);
5619
- const uid = Array.isArray(row._2DTABLE_) && row.group_ != null && String(row.group_).trim() !== "" ? `group:${row.group_}` : `r_${Date.now()}_${uuid2(8)}`;
5620
- row[FRONT_ROW_KEY] = uid;
5621
- return uid;
5622
- }
5623
- const getRowId = (row) => ensureFrontRowKey(row);
5624
- function ensureTableRowKeys(rows) {
5625
- if (!Array.isArray(rows)) return;
5626
- rows.forEach((row) => {
5627
- if (!row || typeof row !== "object" || Array.isArray(row)) return;
5628
- ensureFrontRowKey(row);
5629
- ensureTableRowKeys(row._2DTABLE_);
5630
- });
5631
- }
5632
- function resetTableRowIdentity(row) {
5633
- delete row.id_;
5634
- delete row[FRONT_ROW_KEY];
5635
- if (Array.isArray(row._2DTABLE_) && row.group_ != null) row.group_ = `dyn${uuid2(16)}`;
5636
- ensureFrontRowKey(row);
5637
- if (Array.isArray(row._2DTABLE_)) row._2DTABLE_.forEach(resetTableRowIdentity);
5638
- }
5639
5681
  var Syntax;
5640
5682
  (function(Syntax2) {
5641
5683
  Syntax2["AssignmentExpression"] = "AssignmentExpression";
@@ -59814,151 +59856,6 @@ async function requestNonMedProCheckDsData(payload) {
59814
59856
  }
59815
59857
  return Object.keys(byTable).length > 0 ? { byTable } : void 0;
59816
59858
  }
59817
- const RUNTIME_COLUMN_ROW_KEY = "_column_row_key_";
59818
- const MAX_FRONT_ROW_KEY_LENGTH = 255;
59819
- const TABLE_2D_ROW_KEY_PREFIX = "2d1.";
59820
- function encodeBase64Url(value) {
59821
- return btoa(
59822
- Array.from(new TextEncoder().encode(value), (byte) => String.fromCharCode(byte)).join("")
59823
- ).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
59824
- }
59825
- function decodeBase64Url(value) {
59826
- const base64 = value.replace(/-/g, "+").replace(/_/g, "/");
59827
- const padded = base64 + "=".repeat((4 - base64.length % 4) % 4);
59828
- return new TextDecoder().decode(Uint8Array.from(atob(padded), (char) => char.charCodeAt(0)));
59829
- }
59830
- function decodeTableCellRowKey(rowKey) {
59831
- if (typeof rowKey !== "string" || !rowKey.startsWith(TABLE_2D_ROW_KEY_PREFIX)) return void 0;
59832
- try {
59833
- const parsed = JSON.parse(decodeBase64Url(rowKey.slice(TABLE_2D_ROW_KEY_PREFIX.length)));
59834
- if (!Array.isArray(parsed) || parsed.length !== 2 || parsed.some((item) => typeof item !== "string" || item === ""))
59835
- return void 0;
59836
- return { cellRowKey: parsed[0], columnRowKey: parsed[1] };
59837
- } catch {
59838
- return void 0;
59839
- }
59840
- }
59841
- function encodeTableCellRowKey(cellRowKey, columnRowKey) {
59842
- const decoded = decodeTableCellRowKey(cellRowKey);
59843
- const originalCellRowKey = decoded?.cellRowKey ?? String(cellRowKey ?? "");
59844
- const persistedColumnRowKey = String(columnRowKey ?? "");
59845
- if (!originalCellRowKey || !persistedColumnRowKey)
59846
- throw new Error("二维表子行或关联列缺少 front_row_key_");
59847
- if (decoded?.columnRowKey === persistedColumnRowKey) return String(cellRowKey);
59848
- const encoded = `${TABLE_2D_ROW_KEY_PREFIX}${encodeBase64Url(
59849
- JSON.stringify([originalCellRowKey, persistedColumnRowKey])
59850
- )}`;
59851
- if (encoded.length > MAX_FRONT_ROW_KEY_LENGTH)
59852
- throw new Error(`二维表内置关联键长度超过 ${MAX_FRONT_ROW_KEY_LENGTH},不能提交`);
59853
- return encoded;
59854
- }
59855
- function isTableRowKeyMatch(rowKey, expected) {
59856
- if (rowKey == null || expected == null) return false;
59857
- const actual = String(rowKey);
59858
- const target = String(expected);
59859
- return actual === target || decodeTableCellRowKey(actual)?.cellRowKey === target;
59860
- }
59861
- function findRuntimeTableRow(rows, rowKey) {
59862
- if (!rowKey || !Array.isArray(rows)) return void 0;
59863
- for (const row of rows) {
59864
- if (!row || row.deleted_) continue;
59865
- if (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey)) return row;
59866
- const child = findRuntimeTableRow(row._2DTABLE_, rowKey);
59867
- if (child) return child;
59868
- }
59869
- return void 0;
59870
- }
59871
- function findRuntimeParentRow(rows, rowKey) {
59872
- if (!rowKey || !Array.isArray(rows)) return void 0;
59873
- return rows.find(
59874
- (row) => !row?.deleted_ && (isTableRowKeyMatch(row[FRONT_ROW_KEY], rowKey) || row._2DTABLE_?.some(
59875
- (child) => !child?.deleted_ && isTableRowKeyMatch(child[FRONT_ROW_KEY], rowKey)
59876
- ))
59877
- );
59878
- }
59879
- function findRuntimeTableCell(parent, columnRowKey) {
59880
- if (!columnRowKey || !Array.isArray(parent?._2DTABLE_)) return void 0;
59881
- return parent._2DTABLE_.find(
59882
- (child) => !child?.deleted_ && child[RUNTIME_COLUMN_ROW_KEY] === columnRowKey
59883
- );
59884
- }
59885
- function getRenderedRuntimeTableCell(state, info, parent, displayColumn) {
59886
- if (!info?.colSubFieldKey) {
59887
- return parent?._2DTABLE_?.at(displayColumn);
59888
- }
59889
- const column = state[info.colSubFieldKey]?.at(displayColumn);
59890
- return column ? findRuntimeTableCell(parent, ensureFrontRowKey(column)) : void 0;
59891
- }
59892
- function bindRuntimeTableColumns(state, relations) {
59893
- const expandedTables = /* @__PURE__ */ new Set();
59894
- for (const info of relations) {
59895
- const rows = state[info.rowSubFieldKey];
59896
- const columns = info.colSubFieldKey ? state[info.colSubFieldKey] : void 0;
59897
- if (!Array.isArray(rows) || !Array.isArray(columns)) continue;
59898
- ensureTableRowKeys(columns);
59899
- for (const parent of rows) {
59900
- if (!Array.isArray(parent?._2DTABLE_)) continue;
59901
- ensureTableRowKeys([parent]);
59902
- const existingKeys = parent._2DTABLE_.map((child) => child[RUNTIME_COLUMN_ROW_KEY]).filter(Boolean);
59903
- const bound = new Set(existingKeys);
59904
- if (bound.size !== existingKeys.length)
59905
- throw new Error(`二维表「${info.rowSubFieldKey}」存在重复的关联列行键`);
59906
- const available = columns.filter(
59907
- (column) => !column.deleted_ && !bound.has(ensureFrontRowKey(column))
59908
- );
59909
- for (const child of parent._2DTABLE_) {
59910
- if (child[RUNTIME_COLUMN_ROW_KEY]) continue;
59911
- const persistedIdentity = decodeTableCellRowKey(child[FRONT_ROW_KEY]);
59912
- const reference = info.rowRefFieldKey ? child[info.rowRefFieldKey] : void 0;
59913
- let businessColumn;
59914
- if (reference != null && reference !== "" && info.colRefFieldKey) {
59915
- const matches = columns.filter(
59916
- (candidate) => String(candidate[info.colRefFieldKey]) === String(reference)
59917
- );
59918
- if (matches.length !== 1)
59919
- throw new Error(
59920
- `二维表「${info.rowSubFieldKey}」的关联列引用「${reference}」无法唯一匹配`
59921
- );
59922
- businessColumn = matches[0];
59923
- }
59924
- const persistedColumn = persistedIdentity ? columns.find(
59925
- (candidate) => ensureFrontRowKey(candidate) === persistedIdentity.columnRowKey
59926
- ) : void 0;
59927
- if (persistedIdentity && !persistedColumn)
59928
- throw new Error(
59929
- `二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的内置关联列不存在`
59930
- );
59931
- if (businessColumn && persistedColumn && businessColumn !== persistedColumn)
59932
- throw new Error(
59933
- `二维表「${info.rowSubFieldKey}」子行「${child[FRONT_ROW_KEY]}」的业务引用与内置关联冲突`
59934
- );
59935
- const column = businessColumn ?? persistedColumn ?? available.shift();
59936
- if (!column) throw new Error(`二维表「${info.rowSubFieldKey}」缺少可绑定的关联列行`);
59937
- const columnKey = ensureFrontRowKey(column);
59938
- if (bound.has(columnKey))
59939
- throw new Error(`二维表「${info.rowSubFieldKey}」重复绑定关联列行「${columnKey}」`);
59940
- toRaw(child)[RUNTIME_COLUMN_ROW_KEY] = columnKey;
59941
- bound.add(columnKey);
59942
- const availablePosition = available.indexOf(column);
59943
- if (availablePosition >= 0) available.splice(availablePosition, 1);
59944
- }
59945
- if (!parent.deleted_) {
59946
- for (const column of available) {
59947
- const child = {
59948
- _DICT: {},
59949
- _OPCT: {},
59950
- _MCTABLE: {},
59951
- [RUNTIME_COLUMN_ROW_KEY]: ensureFrontRowKey(column)
59952
- };
59953
- ensureFrontRowKey(child);
59954
- parent._2DTABLE_.push(child);
59955
- expandedTables.add(info.rowSubFieldKey);
59956
- }
59957
- }
59958
- }
59959
- }
59960
- return Array.from(expandedTables);
59961
- }
59962
59859
  const DEFAULT_FROM_STATE = {
59963
59860
  _DICT: {},
59964
59861
  //翻译的字段
@@ -60657,27 +60554,7 @@ const transformUtils = {
60657
60554
  merge(formState, payload.defaultData);
60658
60555
  }
60659
60556
  if (!isEmpty(payload.paramData)) {
60660
- const paramData = cloneDeep(payload.paramData);
60661
- subTableInfo?.forEach((subInfo) => {
60662
- const defaultRows = formState[subInfo.field];
60663
- const mappedRows = paramData[subInfo.field]?.data;
60664
- if (!Array.isArray(defaultRows) || !defaultRows.length || !mappedRows?.length) return;
60665
- const rows = cloneDeep(defaultRows);
60666
- const is2DTable = subInfo.subTable2d && subInfo.key === "dyn" || subInfo.checkTable2d && subInfo.key === "newfixed";
60667
- if (is2DTable) {
60668
- const crossFieldKeys = subInfo.crossFieldKeys ?? [];
60669
- merge(rows[0], omit(mappedRows[0], [...crossFieldKeys, "group_"]));
60670
- mappedRows.forEach((mappedRow, index2) => {
60671
- if (rows[0]._2DTABLE_?.[index2]) {
60672
- merge(rows[0]._2DTABLE_[index2], pick(mappedRow, crossFieldKeys));
60673
- }
60674
- });
60675
- } else {
60676
- merge(rows[0], mappedRows[0]);
60677
- }
60678
- paramData[subInfo.field] = rows;
60679
- });
60680
- merge(formState, paramData);
60557
+ merge(formState, payload.paramData);
60681
60558
  }
60682
60559
  if (!isEmpty(payload.customData)) {
60683
60560
  const mergeKeys = [...subTableInfo?.map((e) => e.field) || [], "_DICT", "_OPCT"];
@@ -60784,11 +60661,18 @@ const transformUtils = {
60784
60661
  /** 数据转成真实提交数据(二维表要平铺);layout 是所有 Sheet 的业务表汇总索引。 */
60785
60662
  getSubmitFormData: (formData, layout) => {
60786
60663
  const {
60664
+ subTableInfo = [],
60665
+ businessTableFields = [],
60787
60666
  subTable2DList = [],
60788
60667
  checkTable2DList = [],
60789
60668
  materialConsumeTableList = []
60790
60669
  } = layout || {};
60791
60670
  const list2D = [...subTable2DList, ...checkTable2DList];
60671
+ const businessFields = new Set(businessTableFields);
60672
+ const fixedTableFields = new Set(
60673
+ subTableInfo.filter((table) => table.key === "newfixed").map((table) => table.field)
60674
+ );
60675
+ const structuralColumnFields = new Set(list2D.map((table) => table.colSubFieldKey));
60792
60676
  bindRuntimeTableColumns(formData, list2D);
60793
60677
  const filterKeys = [
60794
60678
  "_DICT",
@@ -60806,6 +60690,15 @@ const transformUtils = {
60806
60690
  if (isObject$1(value)) return !isEmpty(value);
60807
60691
  return true;
60808
60692
  });
60693
+ const hasSubTableSubmitData = (row) => (
60694
+ // __CHILDREN__ 包含嵌套业务记录,不能与客户端元数据一起忽略。
60695
+ Array.isArray(row.__CHILDREN__) && row.__CHILDREN__.some((child) => isObject$1(child) && hasSubTableSubmitData(child)) || hasBusinessData(
60696
+ omitBy(
60697
+ row,
60698
+ (_value, key) => key.startsWith("_") || key.endsWith("_lb_") || key === "deleted_" || key === "delete_"
60699
+ )
60700
+ )
60701
+ );
60809
60702
  const realFormData = Object.keys(formData).reduce((acc, fieldKey) => {
60810
60703
  const info = list2D.find(
60811
60704
  (item) => (item.subTable2d || item.checkTable2d) && item.rowSubFieldKey === fieldKey
@@ -60863,6 +60756,8 @@ const transformUtils = {
60863
60756
  );
60864
60757
  acc[fieldKey] = arr;
60865
60758
  } else if (Array.isArray(formData[fieldKey])) {
60759
+ const shouldFilterEmptyRows = businessFields.has(fieldKey) && !structuralColumnFields.has(fieldKey);
60760
+ const preserveFixedRowPositions = shouldFilterEmptyRows && fixedTableFields.has(fieldKey) && formData[fieldKey].some(hasSubTableSubmitData);
60866
60761
  acc[fieldKey] = formData[fieldKey].map(
60867
60762
  (item) => Object.fromEntries(
60868
60763
  Object.entries(item).filter(([key, value]) => {
@@ -60871,6 +60766,8 @@ const transformUtils = {
60871
60766
  return true;
60872
60767
  })
60873
60768
  )
60769
+ ).filter(
60770
+ (row) => !shouldFilterEmptyRows || preserveFixedRowPositions || hasSubTableSubmitData(row)
60874
60771
  );
60875
60772
  } else {
60876
60773
  acc[fieldKey] = formData[fieldKey];
@@ -61046,122 +60943,106 @@ async function generateSnByRuleId(id) {
61046
60943
  return preview(res.data.config_);
61047
60944
  }
61048
60945
  }
61049
- const withRequestCache = {
61050
- pendingMap: /* @__PURE__ */ new Map(),
61051
- cacheMap: /* @__PURE__ */ new Map(),
61052
- defaultTTL: 2 * 60 * 1e3,
61053
- // 默认缓存有效期 2分钟
61054
- /** 生成唯一 key */
61055
- getKey(url, params) {
61056
- return `${url}_${JSON.stringify(params)}`;
61057
- },
61058
- /**
61059
- * 处理带缓存与去重的请求
61060
- * @param url 唯一逻辑标识(非实际 API 地址)
61061
- * @param params 请求参数
61062
- * @param requestFn 实际请求函数
61063
- * @param ttl 可选,缓存有效期(毫秒)
61064
- */
61065
- async handleRequest(url, params, requestFn, ttl) {
61066
- const key = this.getKey(url, params);
61067
- const now2 = Date.now();
61068
- const cacheTTL = ttl ?? this.defaultTTL;
61069
- this.cleanupExpiredCache();
61070
- const cached = this.cacheMap.get(key);
61071
- if (cached && cached.expireAt > now2) {
61072
- console.info(`[cache] 命中缓存: ${key}`);
61073
- return cached.data;
61074
- } else if (cached) {
61075
- this.cacheMap.delete(key);
61076
- }
61077
- if (this.pendingMap.has(key)) {
61078
- console.warn(`[pending] 返回进行中的 Promise: ${key}`);
61079
- return this.pendingMap.get(key);
61080
- }
61081
- const reqPromise = requestFn(params).then((res) => {
61082
- this.cacheMap.set(key, {
61083
- data: res,
61084
- expireAt: Date.now() + cacheTTL
61085
- });
61086
- return res;
61087
- }).finally(() => {
61088
- this.pendingMap.delete(key);
60946
+ const EMPTY_QUERY_VALUE = "__excel_no_matching_query_value__";
60947
+ function joinAnd$1(expressions) {
60948
+ if (expressions.length === 0) return "";
60949
+ if (expressions.length === 1) return expressions[0];
60950
+ return `AND(${expressions.join(",")})`;
60951
+ }
60952
+ function joinOr$1(expressions) {
60953
+ if (expressions.length === 0) return "";
60954
+ if (expressions.length === 1) return expressions[0];
60955
+ return `OR(${expressions.join(",")})`;
60956
+ }
60957
+ function buildLikeQuery(searchFields, keyword, extraQuery = {}, options) {
60958
+ const queryData = { ...extraQuery };
60959
+ const orExpKeys = new Set(
60960
+ Array.isArray(queryData.__orExpKeys) ? queryData.__orExpKeys : []
60961
+ );
60962
+ delete queryData.__orExpKeys;
60963
+ const filterKeys = Object.keys(queryData);
60964
+ const searchKeys = [];
60965
+ if (keyword?.trim()) {
60966
+ searchFields.forEach((field) => {
60967
+ const key = field.includes(".") ? field : `${field}.iLike`;
60968
+ queryData[key] = keyword;
60969
+ searchKeys.push(key);
61089
60970
  });
61090
- this.pendingMap.set(key, reqPromise);
61091
- return reqPromise;
61092
- },
61093
- /** 清空全部缓存 */
61094
- clearCache() {
61095
- this.cacheMap.clear();
61096
- },
61097
- /** 清空 pending 状态 */
61098
- clearPending() {
61099
- this.pendingMap.clear();
61100
- },
61101
- /** 定期清理过期缓存 */
61102
- cleanupExpiredCache() {
61103
- const now2 = Date.now();
61104
- let count = 0;
61105
- for (const [key, entry] of this.cacheMap.entries()) {
61106
- if (entry.expireAt <= now2) {
61107
- this.cacheMap.delete(key);
61108
- count++;
61109
- }
61110
- }
61111
- if (count > 0) {
61112
- console.debug(`[cache] 清理过期缓存 ${count} 项`);
61113
- }
61114
60971
  }
61115
- };
60972
+ const filterCombine = options?.filterCombine ?? "and";
60973
+ let filterExp = "";
60974
+ if (orExpKeys.size > 0 && filterCombine === "and") {
60975
+ const orKeys = filterKeys.filter((key) => orExpKeys.has(key));
60976
+ const andKeys = filterKeys.filter((key) => !orExpKeys.has(key));
60977
+ const orExp = joinOr$1(orKeys);
60978
+ const andExp = joinAnd$1(andKeys);
60979
+ filterExp = andExp && orExp ? `AND(${andExp},${orExp})` : andExp || orExp;
60980
+ } else {
60981
+ filterExp = filterCombine === "or" ? joinOr$1(filterKeys) : joinAnd$1(filterKeys);
60982
+ }
60983
+ const searchExp = joinOr$1(searchKeys);
60984
+ return {
60985
+ queryData,
60986
+ exp: filterExp && searchExp ? `AND(${filterExp},${searchExp})` : filterExp || searchExp
60987
+ };
60988
+ }
60989
+ function splitAndTerms(expression) {
60990
+ if (!expression.startsWith("AND(") || !expression.endsWith(")")) return [expression];
60991
+ const inner = expression.slice(4, -1);
60992
+ const terms = [];
60993
+ let depth = 0;
60994
+ let start = 0;
60995
+ for (let index2 = 0; index2 < inner.length; index2++) {
60996
+ const char = inner[index2];
60997
+ if (char === "(") depth++;
60998
+ if (char === ")" && --depth < 0) return [expression];
60999
+ if (char === "," && depth === 0) {
61000
+ terms.push(inner.slice(start, index2).trim());
61001
+ start = index2 + 1;
61002
+ }
61003
+ }
61004
+ terms.push(inner.slice(start).trim());
61005
+ if (depth !== 0 || terms.some((term) => !term)) return [expression];
61006
+ return terms.flatMap(splitAndTerms);
61007
+ }
61008
+ function combineQueryExpressions(...expressions) {
61009
+ return joinAnd$1([...new Set(expressions.filter(Boolean).flatMap(splitAndTerms))]);
61010
+ }
61011
+ function mergeQueryFilters(query, filters) {
61012
+ if (!filters.length) return query;
61013
+ const queryData = { ...query.queryData };
61014
+ const baseExp = query.exp || joinAnd$1(Object.keys(queryData));
61015
+ const expressions = new Set(baseExp ? splitAndTerms(baseExp) : []);
61016
+ for (const filter of filters) {
61017
+ const key = `${filter.field}.${filter.operator}`;
61018
+ let values = [...new Set(filter.values)];
61019
+ const existing = queryData[key];
61020
+ if (Array.isArray(existing) && existing.length) {
61021
+ const existingValues = new Set(existing.map(String));
61022
+ values = values.filter((value) => existingValues.has(value));
61023
+ }
61024
+ queryData[key] = values.length ? values : [EMPTY_QUERY_VALUE];
61025
+ expressions.add(key);
61026
+ }
61027
+ return { ...query, queryData, exp: joinAnd$1([...expressions]) };
61028
+ }
61116
61029
  const LOT_CONTAINER_ROLE = {
61117
61030
  /** 关联批父节点 */
61118
61031
  RELATED_PARENT: "related_parent",
61119
61032
  /** 关联批子批次 */
61120
61033
  RELATED_CHILD: "related_child"
61121
61034
  };
61122
- function joinAnd$1(keys2) {
61123
- if (keys2.length === 0) return "";
61124
- if (keys2.length === 1) return keys2[0];
61125
- return `AND(${keys2.join(",")})`;
61126
- }
61127
- function joinOr$1(keys2) {
61128
- if (keys2.length === 0) return "";
61129
- if (keys2.length === 1) return keys2[0];
61130
- return `OR(${keys2.join(",")})`;
61131
- }
61132
- function toILikeKey(field) {
61133
- return field.includes(".") ? field : `${field}.iLike`;
61134
- }
61135
61035
  function omitLikeQueryKeys(queryData = {}) {
61136
61036
  return Object.fromEntries(
61137
61037
  Object.entries(queryData).filter(([key]) => !key.endsWith(".like") && !key.endsWith(".iLike"))
61138
61038
  );
61139
61039
  }
61140
- function buildLotLikeQuery(searchFields, keyword, extraQuery = {}) {
61141
- const queryData = { ...extraQuery };
61142
- const filterKeys = Object.keys(queryData);
61143
- const searchKeys = [];
61144
- if (keyword?.trim()) {
61145
- searchFields.forEach((field) => {
61146
- const key = toILikeKey(field);
61147
- queryData[key] = keyword;
61148
- searchKeys.push(key);
61149
- });
61150
- }
61151
- const filterExp = joinAnd$1(filterKeys);
61152
- const likeExp = joinOr$1(searchKeys);
61153
- const exp = filterExp && likeExp ? `AND(${filterExp},${likeExp})` : filterExp || likeExp;
61154
- return { queryData, exp };
61040
+ function buildLotLikeQuery(...args) {
61041
+ return buildLikeQuery(...args);
61155
61042
  }
61156
61043
  function buildLotSnListQuery(keyword = "", extraQuery = {}) {
61157
61044
  return buildLotLikeQuery(
61158
- [
61159
- "name_.iLike:batch",
61160
- "related_parent_name_.iLike:related",
61161
- "product_id_$code_.iLike",
61162
- "product_id_$name_.iLike",
61163
- "product_id_$spec_.iLike"
61164
- ],
61045
+ ["name_", "related_parent_name_", "product_id_code_", "product_id_name_", "spec_"],
61165
61046
  keyword,
61166
61047
  {
61167
61048
  "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
@@ -61194,6 +61075,38 @@ function buildInspectionLotListQuery(keyword = "", extraQuery = {}) {
61194
61075
  function composeProductionLotListQuery(queryData = {}, keyword = "") {
61195
61076
  return buildProductionLotListQuery(keyword, omitLikeQueryKeys(queryData));
61196
61077
  }
61078
+ function buildMaterialLotListQuery(keyword = "", extraQuery = {}) {
61079
+ return buildLikeQuery(["name_", "product_id_code_", "product_id_name_", "spec_"], keyword, {
61080
+ "production_identification_type_.eq": ProductionIdentificationTypeEnum.MATERIAL,
61081
+ "production_identification_type_.isNull": null,
61082
+ "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
61083
+ __orExpKeys: ["production_identification_type_.eq", "production_identification_type_.isNull"],
61084
+ ...extraQuery
61085
+ });
61086
+ }
61087
+ function composeMaterialLotListQuery(queryData = {}, exp = "") {
61088
+ const query = { ...queryData };
61089
+ const searchAliases = {
61090
+ "material_no_.like": "name_.like",
61091
+ "material_no_.iLike": "name_.iLike"
61092
+ };
61093
+ for (const [alias, key] of Object.entries(searchAliases)) {
61094
+ if (!Object.prototype.hasOwnProperty.call(query, alias)) continue;
61095
+ query[key] = query[alias];
61096
+ delete query[alias];
61097
+ }
61098
+ const searchExp = (exp || "").replace(/[^(),\s]+/g, (key) => searchAliases[key] ?? key);
61099
+ const referencedKeys = new Set(searchExp.match(/[^(),\s]+/g) ?? []);
61100
+ const filters = Object.fromEntries(
61101
+ Object.entries(query).filter(([key]) => !referencedKeys.has(key))
61102
+ );
61103
+ const baseQuery = buildMaterialLotListQuery("", filters);
61104
+ delete query.__orExpKeys;
61105
+ return {
61106
+ queryData: { ...baseQuery.queryData, ...query },
61107
+ exp: combineQueryExpressions(baseQuery.exp, searchExp)
61108
+ };
61109
+ }
61197
61110
  const CACHE_TTL = 30 * 1e3;
61198
61111
  const recordCache = /* @__PURE__ */ new Map();
61199
61112
  function isPresent(value) {
@@ -61287,11 +61200,11 @@ function buildDeviceBaseQuery(extraQuery) {
61287
61200
  const { "device_type_id_.eq": deviceTypeId, ...extra } = extraQuery ?? {};
61288
61201
  return {
61289
61202
  "state_.eq": DeviceStatus.IN_USE,
61290
- "next_calibration_date_.ge": today,
61291
- "next_calibration_date_.isNull": null,
61203
+ "last_calibration_date_.ge": today,
61204
+ "last_calibration_date_.isNull": null,
61292
61205
  ...extra,
61293
61206
  ...deviceTypeId ? { "device_type_id_.eq": deviceTypeId } : {},
61294
- __orExpKeys: ["next_calibration_date_.ge", "next_calibration_date_.isNull"]
61207
+ __orExpKeys: ["last_calibration_date_.ge", "last_calibration_date_.isNull"]
61295
61208
  };
61296
61209
  }
61297
61210
  function buildDeviceFilterQuery(extraQuery) {
@@ -61633,6 +61546,73 @@ async function syncReInspectionDate(form, belongingObject, modelFields) {
61633
61546
  form.row[path] = resolved.value;
61634
61547
  }
61635
61548
  registerDateObjectHandler("sync-re-inspection-date", syncReInspectionDate);
61549
+ const requestUtils = {
61550
+ pendingMap: /* @__PURE__ */ new Map(),
61551
+ cacheMap: /* @__PURE__ */ new Map(),
61552
+ defaultTTL: 2 * 60 * 1e3,
61553
+ // 默认缓存有效期 2分钟
61554
+ /** 生成唯一 key */
61555
+ getKey(url, params) {
61556
+ return `${url}_${JSON.stringify(params)}`;
61557
+ },
61558
+ /**
61559
+ * 处理带缓存与去重的请求
61560
+ * @param url 唯一逻辑标识(非实际 API 地址)
61561
+ * @param params 请求参数
61562
+ * @param requestFn 实际请求函数
61563
+ * @param ttl 可选,缓存有效期(毫秒)
61564
+ */
61565
+ async handleRequest(url, params, requestFn, ttl) {
61566
+ const key = this.getKey(url, params);
61567
+ const now2 = Date.now();
61568
+ const cacheTTL = ttl ?? this.defaultTTL;
61569
+ this.cleanupExpiredCache();
61570
+ const cached = this.cacheMap.get(key);
61571
+ if (cached && cached.expireAt > now2) {
61572
+ console.info(`[cache] 命中缓存: ${key}`);
61573
+ return cached.data;
61574
+ } else if (cached) {
61575
+ this.cacheMap.delete(key);
61576
+ }
61577
+ if (this.pendingMap.has(key)) {
61578
+ console.warn(`[pending] 返回进行中的 Promise: ${key}`);
61579
+ return this.pendingMap.get(key);
61580
+ }
61581
+ const reqPromise = requestFn(params).then((res) => {
61582
+ this.cacheMap.set(key, {
61583
+ data: res,
61584
+ expireAt: Date.now() + cacheTTL
61585
+ });
61586
+ return res;
61587
+ }).finally(() => {
61588
+ this.pendingMap.delete(key);
61589
+ });
61590
+ this.pendingMap.set(key, reqPromise);
61591
+ return reqPromise;
61592
+ },
61593
+ /** 清空全部缓存 */
61594
+ clearCache() {
61595
+ this.cacheMap.clear();
61596
+ },
61597
+ /** 清空 pending 状态 */
61598
+ clearPending() {
61599
+ this.pendingMap.clear();
61600
+ },
61601
+ /** 定期清理过期缓存 */
61602
+ cleanupExpiredCache() {
61603
+ const now2 = Date.now();
61604
+ let count = 0;
61605
+ for (const [key, entry] of this.cacheMap.entries()) {
61606
+ if (entry.expireAt <= now2) {
61607
+ this.cacheMap.delete(key);
61608
+ count++;
61609
+ }
61610
+ }
61611
+ if (count > 0) {
61612
+ console.debug(`[cache] 清理过期缓存 ${count} 项`);
61613
+ }
61614
+ }
61615
+ };
61636
61616
  async function getDeptList() {
61637
61617
  const data = await api.apaas.designerCommon.getGetCanBeUsedOrg() || [];
61638
61618
  data?.forEach((i2) => {
@@ -61662,7 +61642,7 @@ async function getEnumList(modelKey, fieldKey) {
61662
61642
  };
61663
61643
  }
61664
61644
  async function getUserList(modelKey, fieldKey) {
61665
- const result = await withRequestCache.handleRequest(
61645
+ const result = await requestUtils.handleRequest(
61666
61646
  "/api/getUserList",
61667
61647
  { modelKey, fieldKey, onlyHasSeat: true, pageSize: 999 },
61668
61648
  api.apaas.designerCommon.getGetCanBeUsedOrgUser
@@ -61702,17 +61682,6 @@ async function getRefList({
61702
61682
  totalCount: 0
61703
61683
  };
61704
61684
  }
61705
- if ((bizType || fieldType) === FIELD_TYPE.E_SOP || refModelKey === "em_document") {
61706
- const settings = window.NocodeAdapter.hooks?.useBusinessSetting?.();
61707
- await settings?.ensureBusinessSettingLoaded?.();
61708
- if (settings?.businessSetting?.enableSopDocApprove) {
61709
- queryData = {
61710
- ...queryData,
61711
- operating_state_: true,
61712
- approve_status_: "EFFECTIVE"
61713
- };
61714
- }
61715
- }
61716
61685
  const params = {
61717
61686
  modelKey,
61718
61687
  fieldKey,
@@ -61738,7 +61707,7 @@ async function getRefList({
61738
61707
  }
61739
61708
  const useAvailableRoutingOperation = isRoutingOperationFieldType(fieldType, bizType);
61740
61709
  const url = useAvailableRoutingOperation ? "/api/routingOperation/available" : "/api/getRefList";
61741
- return withRequestCache.handleRequest(url, params, async (props) => {
61710
+ return requestUtils.handleRequest(url, params, async (props) => {
61742
61711
  const {
61743
61712
  modelKey: modelKey2,
61744
61713
  fieldKey: fieldKey2,
@@ -61847,7 +61816,7 @@ async function getLot2SnList({
61847
61816
  }
61848
61817
  const url = "/api/lot2SnList/v2";
61849
61818
  const params = { queryData, exp, pageNo, pageSize };
61850
- return withRequestCache.handleRequest(url, params, async (props) => {
61819
+ return requestUtils.handleRequest(url, params, async (props) => {
61851
61820
  const apiParams = {
61852
61821
  modelCategory: EntityModelCategoryEnum.ENTITY,
61853
61822
  modelKey: "em_production_identification",
@@ -61887,7 +61856,7 @@ async function getSterilizeLotList({
61887
61856
  } = {}) {
61888
61857
  const url = "/api/sterilizeLotList";
61889
61858
  const params = { queryData, pageNo, pageSize };
61890
- return withRequestCache.handleRequest(url, params, async (props) => {
61859
+ return requestUtils.handleRequest(url, params, async (props) => {
61891
61860
  const apiParams = {
61892
61861
  modelCategory: EntityModelCategoryEnum.ENTITY,
61893
61862
  modelKey: "em_production_identification",
@@ -61924,7 +61893,7 @@ async function getDeviceList({
61924
61893
  } = {}) {
61925
61894
  const url = "/api/deviceSearch";
61926
61895
  const params = { queryData, exp, pageNo, pageSize };
61927
- return withRequestCache.handleRequest(url, params, async (props) => {
61896
+ return requestUtils.handleRequest(url, params, async (props) => {
61928
61897
  const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
61929
61898
  DEVICE_SEARCH_API,
61930
61899
  {},
@@ -61952,25 +61921,18 @@ async function getDeviceList({
61952
61921
  async function getMaterialLotList({ queryData = {}, exp = "", pageNo = 1, pageSize = 20 } = {}) {
61953
61922
  const url = "/api/materialLotList";
61954
61923
  const params = { queryData, exp, pageNo, pageSize };
61955
- return withRequestCache.handleRequest(url, params, async (props) => {
61924
+ return requestUtils.handleRequest(url, params, async (props) => {
61956
61925
  const params2 = {
61957
61926
  modelCategory: EntityModelCategoryEnum.ENTITY,
61958
61927
  modelKey: "em_production_identification",
61959
61928
  bsKey: "biz_get_production_identification"
61960
61929
  };
61930
+ const materialQuery = composeMaterialLotListQuery(props.queryData, props.exp);
61961
61931
  const queryParams = {
61962
61932
  pageNo: props.pageNo,
61963
61933
  pageSize: props.pageSize,
61964
- exp: refUtils.splicingExp(
61965
- "AND(OR(production_identification_type_.eq,production_identification_type_.isNull),container_role_.ne)",
61966
- props.exp
61967
- ),
61968
- query: {
61969
- "production_identification_type_.eq": ProductionIdentificationTypeEnum.MATERIAL,
61970
- "production_identification_type_.isNull": null,
61971
- "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT,
61972
- ...props.queryData
61973
- }
61934
+ exp: materialQuery.exp,
61935
+ query: materialQuery.queryData
61974
61936
  };
61975
61937
  const res = await api.apaas.modelComprehensive.postBizServiceGeneralModelCategoryModelKeyBsKey(
61976
61938
  params2,
@@ -62257,7 +62219,7 @@ const renderUtils = {
62257
62219
  if ([FIELD_TYPE.INTEGER, FIELD_TYPE.LONG].includes(fieldType)) {
62258
62220
  const _val_ = parseInt(value);
62259
62221
  return isNaN(_val_) ? void 0 : _val_;
62260
- } else if ([FIELD_TYPE.DECIMAL, FIELD_TYPE.PRODUCT_RELEASE_QTY].includes(fieldType)) {
62222
+ } else if (fieldType === FIELD_TYPE.DECIMAL) {
62261
62223
  const _val_ = parseFloat(value);
62262
62224
  return isNaN(_val_) ? void 0 : _val_;
62263
62225
  } else if (fieldType === FIELD_TYPE.BOOLEAN) {
@@ -62965,7 +62927,7 @@ const renderUtils = {
62965
62927
  for (const dataCenter of dataCenters) {
62966
62928
  await processWidgets(dataCenter, pushField);
62967
62929
  }
62968
- withRequestCache.clearCache();
62930
+ requestUtils.clearCache();
62969
62931
  },
62970
62932
  /** 获取默认值集合 */
62971
62933
  getDefaultValueMapByField: ({
@@ -63052,7 +63014,7 @@ const renderUtils = {
63052
63014
  case FIELD_TYPE.ORG_MULTI:
63053
63015
  return defaultOrgId;
63054
63016
  case FIELD_TYPE.MATERIAL_NO:
63055
- return mainMaterialNo;
63017
+ return bizType === FIELD_TYPE.MATERIAL_CONTAINER ? defaultValue : mainMaterialNo;
63056
63018
  case FIELD_TYPE.RELATED_LOT_NO:
63057
63019
  return mainRelatedLotNo;
63058
63020
  case FIELD_TYPE.PRODUCT:
@@ -64377,12 +64339,16 @@ const calcUtils = {
64377
64339
  (acc, item) => {
64378
64340
  acc.containerIds.push(item.trId);
64379
64341
  Object.entries(item.mergeCells).forEach(([key, value]) => {
64342
+ const sourceTdId = value.dataFsSymbol.replace("gct.", "");
64343
+ if ((item.status === calcUtils.GH || item.status === calcUtils.SH) && value.tdId === sourceTdId) {
64344
+ delete staticMergeRemaining[sourceTdId];
64345
+ }
64380
64346
  const rowH = pageItem.dynHeights.get(item.uuid);
64381
64347
  const rowContrib = Array.isArray(rowH) ? rowH.reduce((a, b) => a + b, 0) : rowH ?? item.height ?? 0;
64382
64348
  if (!acc.mergeCells[key]) {
64383
64349
  acc.mergeCells[key] = {
64384
64350
  firstTdId: value.tdId,
64385
- sourceTdId: value.dataFsSymbol.replace("gct.", ""),
64351
+ sourceTdId,
64386
64352
  rowspan: 1,
64387
64353
  // 初始值为 1
64388
64354
  borderAttrs: value.borderAttrs,
@@ -64533,10 +64499,14 @@ const calcUtils = {
64533
64499
  if (!groups.has(sheetId)) groups.set(sheetId, []);
64534
64500
  groups.get(sheetId).push(id);
64535
64501
  }
64536
- if (groups.size) return [...groups.entries()].flatMap(([sheetId, ids]) => {
64537
- const partition = { ...runtimeJson, paper: { ...root2, nextIds: ids, props: { ...root2.props, floatingFieldIds: [] } } };
64538
- return calcUtils.initCalc(partition, formState).map((page, pageIndex) => ({ ...page, sheetId, pageIndex }));
64539
- });
64502
+ if (groups.size)
64503
+ return [...groups.entries()].flatMap(([sheetId, ids]) => {
64504
+ const partition = {
64505
+ ...runtimeJson,
64506
+ paper: { ...root2, nextIds: ids, props: { ...root2.props, floatingFieldIds: [] } }
64507
+ };
64508
+ return calcUtils.initCalc(partition, formState).map((page, pageIndex) => ({ ...page, sheetId, pageIndex }));
64509
+ });
64540
64510
  }
64541
64511
  const baseMarketObj = calcUtils.marketOverview(runtimeJson, formState);
64542
64512
  const paper = runtimeJson[ComponentTypeEnum.PAPER];
@@ -64959,140 +64929,238 @@ function resolveFieldRenderComponent(props) {
64959
64929
  }
64960
64930
  return resolveRenderComponent(props.bizType, props.fieldType);
64961
64931
  }
64962
- function getCurrentFormData(_rule, options) {
64963
- if (!_rule._subtableFieldId) return options?.formData;
64964
- return findRuntimeTableRow(options?.formData?.[_rule._subtableFieldId], _rule._rowKey);
64965
- }
64966
- function isSameOptionValue(current, expected) {
64967
- if (typeof expected === "boolean") {
64968
- return renderUtils.getBoolValue(current) === expected;
64969
- }
64970
- if (current === void 0 || current === null || current === "") {
64971
- return false;
64972
- }
64973
- return String(current) === String(expected);
64974
- }
64975
- function isAttachFieldActive(attach, formData) {
64976
- if (attach?.parent && !isAttachFieldActive(attach.parent, formData)) return false;
64977
- if (!attach?.belongFieldId || isNil(attach.optionValue)) {
64978
- return true;
64979
- }
64980
- const row = attach.subtableFieldId ? findRuntimeTableRow(formData?.[attach.subtableFieldId], attach.rowKey) : formData;
64981
- if (attach.subtableFieldId && (!attach.rowKey || !row || row === formData)) {
64982
- return false;
64983
- }
64984
- const raw = row?.[attach.belongFieldId];
64985
- if (attach.multiple) {
64986
- const current = renderUtils.getValue(raw, true);
64987
- if (!Array.isArray(current)) return false;
64988
- return current.some((v) => isSameOptionValue(v, attach.optionValue));
64989
- }
64990
- return isSameOptionValue(raw, attach.optionValue);
64932
+ const getApi$1 = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
64933
+ const postApi = api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey;
64934
+ async function materialCheck(params) {
64935
+ const res = await postApi(
64936
+ {
64937
+ bsKey: "biz_single_material_check",
64938
+ modelKey: "em_material_loading",
64939
+ modelCategory: "entity"
64940
+ },
64941
+ {},
64942
+ params
64943
+ );
64944
+ return res;
64991
64945
  }
64992
- function isReferenceOptionActive(referenceInfo, rowFormData) {
64993
- if (!referenceInfo?.belongFieldId || isNil(referenceInfo.optionValue)) {
64994
- return true;
64995
- }
64996
- return isAttachFieldActive(
64946
+ async function stockCheck(params) {
64947
+ await postApi(
64997
64948
  {
64998
- belongFieldId: referenceInfo.belongFieldId,
64999
- optionValue: referenceInfo.optionValue,
65000
- multiple: referenceInfo.multiple
64949
+ bsKey: "biz_form_single_confirm",
64950
+ modelKey: "em_material_loading",
64951
+ modelCategory: "entity"
65001
64952
  },
65002
- rowFormData
64953
+ {},
64954
+ {
64955
+ entry: params.entry,
64956
+ material_id_: params.row.product_id_,
64957
+ production_identification_name_: params.row.material_no_,
64958
+ qty_: params.row.qty_,
64959
+ operation_id_: params.row.routing_operation_id_,
64960
+ main_material_no_: params.mainMaterialNo
64961
+ }
65003
64962
  );
65004
64963
  }
65005
- const stampKeys = [
65006
- "sealId",
65007
- "sealName",
65008
- "sealType",
65009
- "sealImage",
65010
- "sealUserId",
65011
- "sealUserName",
65012
- "sealUserTime"
65013
- ];
65014
- function isSealPosition(value) {
65015
- if (!value || typeof value !== "object") return false;
65016
- const p2 = value;
65017
- return typeof p2.sheetId === "string" && !!p2.sheetId && Number.isInteger(p2.pageIndex) && p2.pageIndex >= 0 && Number.isFinite(p2.leftMm) && p2.leftMm >= 0 && Number.isFinite(p2.topMm) && p2.topMm >= 0;
64964
+ async function fetchHistoryConsume(params) {
64965
+ const res = await postApi(
64966
+ {
64967
+ bsKey: "listAll",
64968
+ modelKey: "em_material_consume",
64969
+ modelCategory: "entity"
64970
+ },
64971
+ {},
64972
+ {
64973
+ query: params
64974
+ }
64975
+ );
64976
+ console.log("查询历史消耗数据", res);
64977
+ const arr = res.data ?? [];
64978
+ arr.map((i2) => {
64979
+ i2.qty_ = i2.qty_consumed_;
64980
+ });
64981
+ return arr;
65018
64982
  }
65019
- function readSealValue(raw, fallback) {
65020
- let parsed = {};
65021
- try {
65022
- const value = typeof raw === "string" ? JSON.parse(raw || "{}") : raw;
65023
- if (value && typeof value === "object" && !Array.isArray(value)) parsed = value;
65024
- } catch {
65025
- }
65026
- const stamp = Object.fromEntries(
65027
- stampKeys.map((key) => [key, typeof parsed[key] === "string" ? parsed[key] : ""])
64983
+ async function judgeUnique(opts) {
64984
+ const res = await postApi(
64985
+ {
64986
+ bsKey: "biz_form_unique",
64987
+ modelKey: "em_material_loading",
64988
+ modelCategory: "entity"
64989
+ },
64990
+ {},
64991
+ {
64992
+ model_key_: opts.modelKey,
64993
+ datas_: opts.data
64994
+ }
65028
64995
  );
65029
- return {
65030
- ...stamp,
65031
- sealPosition: { ...isSealPosition(parsed.sealPosition) ? parsed.sealPosition : fallback }
65032
- };
64996
+ return res;
65033
64997
  }
65034
- function isSealStamped(raw) {
64998
+ async function isBomGranted() {
65035
64999
  try {
65036
- const value = typeof raw === "string" ? JSON.parse(raw || "{}") : raw;
65037
- return !!value && typeof value.sealId === "string" && !!value.sealId && typeof value.sealImage === "string" && !!value.sealImage;
65038
- } catch {
65000
+ const res = await getApi$1(
65001
+ {
65002
+ modelKey: "em_product_bom",
65003
+ bsKey: "biz_bom_granted",
65004
+ modelCategory: "entity"
65005
+ },
65006
+ {},
65007
+ {}
65008
+ );
65009
+ return res ?? false;
65010
+ } catch (error) {
65011
+ console.log("");
65039
65012
  return false;
65040
65013
  }
65041
65014
  }
65042
- function isValidSealValue(raw) {
65043
- try {
65044
- const value = typeof raw === "string" ? JSON.parse(raw || "{}") : raw;
65045
- return !!value && stampKeys.every((key) => typeof value[key] === "string") && isSealPosition(value.sealPosition) && (stampKeys.every((key) => !value[key]) || stampKeys.every((key) => !!value[key]));
65046
- } catch {
65047
- return false;
65015
+ async function getReinspectionDate(params) {
65016
+ if (!params.material_no_id_ && !params.material_no_) return;
65017
+ ({
65018
+ "product_id_.versionIn": [params.product_id_.split(":").pop()]
65019
+ });
65020
+ if (params.material_no_id_) {
65021
+ params.material_no_id_;
65022
+ } else {
65023
+ params.material_no_;
65048
65024
  }
65025
+ const res = await postApi(
65026
+ {
65027
+ modelCategory: "entity",
65028
+ modelKey: "em_production_identification",
65029
+ bsKey: "getOne"
65030
+ },
65031
+ {},
65032
+ {
65033
+ query: {
65034
+ name_: params.material_no_,
65035
+ id_: params.material_no_id_,
65036
+ "product_id_.versionEq": params.product_id_
65037
+ }
65038
+ }
65039
+ );
65040
+ const record = res?.data?.[0] ?? res?.data;
65041
+ const raw = record?.re_inspection_date_ ?? record?.retest_date_;
65042
+ if (raw == null || raw === "") return;
65043
+ const parsed = dayjs(raw);
65044
+ if (!parsed.isValid()) return;
65045
+ return parsed.format("YYYY-MM-DD");
65049
65046
  }
65050
- function moveSealValue(raw, fallback, position) {
65051
- return JSON.stringify({ ...readSealValue(raw, fallback), sealPosition: { ...position } });
65052
- }
65053
- function stampSealValue(raw, fallback, stamp) {
65054
- const current = readSealValue(raw, fallback);
65055
- const next = readSealValue({ ...stamp, sealPosition: current.sealPosition }, fallback);
65056
- return JSON.stringify(next);
65047
+ async function validateReinspectionDate(opts) {
65048
+ if (!opts.product_id_ || !opts.material_no_ && !opts.material_no_id_) return;
65049
+ const date = await getReinspectionDate({
65050
+ product_id_: opts.product_id_,
65051
+ material_no_: opts.material_no_,
65052
+ material_no_id_: opts.material_no_id_
65053
+ });
65054
+ if (!date) return;
65055
+ if (dayjs(date).isBefore(dayjs(), "day")) {
65056
+ throw new Error($t("sys.retestDateErrorTip"));
65057
+ }
65057
65058
  }
65058
- function clearSealValue(raw, fallback) {
65059
- return JSON.stringify(
65060
- readSealValue({ sealPosition: readSealValue(raw, fallback).sealPosition }, fallback)
65059
+ async function getLotLockedReason(production_identification_id_) {
65060
+ const { data = {}, dict = {} } = await postApi(
65061
+ {
65062
+ modelCategory: "entity",
65063
+ modelKey: "em_production_identification_lock_record",
65064
+ bsKey: "biz_get_one_lock_record"
65065
+ },
65066
+ {},
65067
+ {
65068
+ production_identification_id_
65069
+ }
65061
65070
  );
65071
+ return $t("sys.lotLockedReason", {
65072
+ name: dict.lock_user_id_[data.lock_user_id_],
65073
+ reason: data.lock_reason_
65074
+ });
65062
65075
  }
65063
- function normalizeSealDiameter(value) {
65064
- const diameter = Number(value);
65065
- return Number.isFinite(diameter) && diameter > 0 ? Math.min(diameter, 200) : 42;
65076
+ var Config_Fields = /* @__PURE__ */ ((Config_Fields2) => {
65077
+ Config_Fields2["materialCode"] = "materialCode";
65078
+ Config_Fields2["lot"] = "lot";
65079
+ Config_Fields2["qty"] = "qty";
65080
+ Config_Fields2["expiration"] = "expiration";
65081
+ Config_Fields2["deviceCode"] = "deviceCode";
65082
+ Config_Fields2["other"] = "other";
65083
+ return Config_Fields2;
65084
+ })(Config_Fields || {});
65085
+ const getApi = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
65086
+ async function getParseRuleInfo(params) {
65087
+ const res = await getApi(
65088
+ {
65089
+ bsKey: "rdoGetVersionById",
65090
+ modelKey: "em_barcode_parsing_rules",
65091
+ modelCategory: "entity"
65092
+ },
65093
+ params
65094
+ );
65095
+ return res.data;
65066
65096
  }
65067
- function clampSealPosition(position, widthMm, heightMm, diameterMm) {
65068
- return {
65069
- ...position,
65070
- leftMm: Math.max(0, Math.min(position.leftMm, Math.max(0, widthMm - diameterMm))),
65071
- topMm: Math.max(0, Math.min(position.topMm, Math.max(0, heightMm - diameterMm)))
65072
- };
65097
+ function handleOldConfig(config) {
65098
+ if (config.list && !config.fieldList) {
65099
+ config.fieldList = config.list.map((type) => {
65100
+ return {
65101
+ type,
65102
+ key: type === Config_Fields.other ? uuid2(32) : type
65103
+ };
65104
+ });
65105
+ delete config.list;
65106
+ }
65107
+ config.fieldList.forEach((item) => {
65108
+ if (!item.key) {
65109
+ item.key = item.type === Config_Fields.other ? uuid2(32) : item.type;
65110
+ }
65111
+ });
65112
+ return config;
65073
65113
  }
65074
- function initializeSealFields(fields2, formData) {
65075
- for (const { props } of fields2) {
65076
- if (!props.field || props.isFieldModel || props.subFieldKey) continue;
65077
- const raw = formData[props.field];
65078
- if (raw == null || raw === "") {
65079
- formData[props.field] = JSON.stringify(readSealValue("", props.sealPosition));
65080
- continue;
65114
+ function getParseRuleValue(labelStr, labelRule) {
65115
+ if (!labelRule) {
65116
+ throw new Error("请传入解析规则");
65117
+ }
65118
+ const ruleObj = JSON.parse(labelRule);
65119
+ const ruleConfig = handleOldConfig(ruleObj);
65120
+ const { separator, nullSymbol, fieldList } = ruleConfig;
65121
+ const labelArr = labelStr.split(separator);
65122
+ return labelArr.reduce((obj, e, idx) => {
65123
+ const field = fieldList[idx];
65124
+ if (field) {
65125
+ let val = nullSymbol && e === nullSymbol ? null : e;
65126
+ if (val !== null) {
65127
+ switch (field.type) {
65128
+ case Config_Fields.qty:
65129
+ val = Number(val);
65130
+ break;
65131
+ case Config_Fields.expiration:
65132
+ val = dayjs(val, field.format).format("YYYY-MM-DD HH:mm:ss");
65133
+ break;
65134
+ }
65135
+ }
65136
+ obj[field.key] = val;
65081
65137
  }
65082
- try {
65083
- const parsed = typeof raw === "string" ? JSON.parse(raw) : raw;
65084
- if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) continue;
65085
- if (!isSealPosition(parsed.sealPosition)) {
65086
- formData[props.field] = JSON.stringify({
65087
- ...parsed,
65088
- sealPosition: { ...props.sealPosition }
65138
+ return obj;
65139
+ }, {});
65140
+ }
65141
+ async function getParseRuleConfig(id) {
65142
+ const res = await getParseRuleInfo({ id });
65143
+ if (res?.rules_) {
65144
+ const ruleObj = JSON.parse(res.rules_);
65145
+ const ruleConfig = handleOldConfig(ruleObj);
65146
+ return ruleConfig;
65147
+ }
65148
+ }
65149
+ function calcFillData(data, fillMapArr) {
65150
+ const obj = {};
65151
+ if (fillMapArr?.length) {
65152
+ fillMapArr.forEach((i2) => {
65153
+ const fromKey = i2.barcodeField;
65154
+ if (fromKey && fromKey in data) {
65155
+ const val = data[fromKey];
65156
+ i2.formFields?.forEach((key) => {
65157
+ const toKey2 = key.split(".")[1];
65158
+ obj[toKey2] = val;
65089
65159
  });
65090
- } else if (typeof raw !== "string") {
65091
- formData[props.field] = JSON.stringify(parsed);
65092
65160
  }
65093
- } catch {
65094
- }
65161
+ });
65095
65162
  }
65163
+ return obj;
65096
65164
  }
65097
65165
  var isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, mathceil = Math.ceil, mathfloor = Math.floor, bignumberError = "[BigNumber Error] ", tooManyDigits = bignumberError + "Number primitive has more than 15 significant digits: ", BASE = 1e14, LOG_BASE = 14, MAX_SAFE_INTEGER$2 = 9007199254740991, POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], SQRT_BASE = 1e7, MAX = 1e9;
65098
65166
  function clone(configObject) {
@@ -66425,674 +66493,6 @@ function toFixedPoint(str, e, z) {
66425
66493
  return str;
66426
66494
  }
66427
66495
  var BigNumber = clone();
66428
- const { identify, calculate } = {
66429
- identify: (expression) => window.NocodeAdapter.utils?.formulaIdentify?.(expression) ?? [],
66430
- calculate: (expression, data) => window.NocodeAdapter.utils?.formulaCalculate?.(expression, data)
66431
- };
66432
- const getFieldDataValue = (parseInfo, formData) => {
66433
- const getTextValue = (processedKey, value) => {
66434
- const textValue = value ?? formData?.[processedKey] ?? "";
66435
- return Array.isArray(textValue) ? textValue.join() : textValue;
66436
- };
66437
- const { type, processed, hashValue } = parseInfo;
66438
- if (type === "hash") {
66439
- const tableData = toRaw(formData?.[hashValue] || []);
66440
- return tableData.filter((d) => !d.deleted_).map((row) => getTextValue(processed, row?.[processed])).filter((i2) => !isNil(i2));
66441
- }
66442
- return getTextValue(processed, formData?.[processed]);
66443
- };
66444
- const parseFormulaVar = (formulaVar) => {
66445
- const result = {
66446
- original: formulaVar,
66447
- type: "",
66448
- processed: "",
66449
- hashValue: "",
66450
- dataType: ""
66451
- };
66452
- if (/^\$([^$]+)\$\.(.+)$/.test(formulaVar)) {
66453
- const match = formulaVar.match(/^\$([^$]+)\$\.(.+)$/);
66454
- result.type = "hash";
66455
- result.processed = match[2];
66456
- result.hashValue = match[1];
66457
- result.dataType = "globType";
66458
- } else if (/^_\.(.+)$/.test(formulaVar)) {
66459
- const match = formulaVar.match(/^_\.(.+)$/);
66460
- result.type = "underscore";
66461
- result.processed = match[1];
66462
- result.dataType = "currentRowType";
66463
- } else {
66464
- result.type = "plain";
66465
- result.processed = formulaVar;
66466
- result.dataType = "globType";
66467
- }
66468
- return result;
66469
- };
66470
- const getParseFormulaVarInfos = (expr) => {
66471
- const rowArgs = expr ? identify(expr) : [];
66472
- return {
66473
- rowArgs,
66474
- parseInfos: rowArgs.map((curr) => parseFormulaVar(curr))
66475
- };
66476
- };
66477
- const calculateFormula = async (expr, formData, instanceFormState) => {
66478
- const rowArgs = identify(expr);
66479
- const formulaData = isEmpty(rowArgs) ? {} : rowArgs.reduce((total, curr) => {
66480
- const parseInfo = parseFormulaVar(curr);
66481
- total[curr] = getFieldDataValue(
66482
- parseInfo,
66483
- parseInfo.dataType === "currentRowType" ? formData : instanceFormState
66484
- );
66485
- return total;
66486
- }, {});
66487
- return calculate(expr, formulaData);
66488
- };
66489
- const isEmptyValue = (value) => {
66490
- return value === void 0 || value === null || typeof value === "string" && value.trim() === "" || Array.isArray(value) && value.length === 0;
66491
- };
66492
- const compareByOp = (left, right, op) => {
66493
- switch (op) {
66494
- case RangeCompareOp.LT:
66495
- return left < right;
66496
- case RangeCompareOp.LE:
66497
- return left <= right;
66498
- case RangeCompareOp.GT:
66499
- return left > right;
66500
- case RangeCompareOp.GE:
66501
- default:
66502
- return left >= right;
66503
- }
66504
- };
66505
- const rangeCompareMessage = (op, val) => {
66506
- switch (op) {
66507
- case RangeCompareOp.LT:
66508
- return $t("sys.fieldValueNotGreaterOrEqual", { val });
66509
- case RangeCompareOp.LE:
66510
- return $t("sys.fieldValueNoMoreThan", { val });
66511
- case RangeCompareOp.GT:
66512
- return $t("sys.fieldValueNotLessOrEqual", { val });
66513
- case RangeCompareOp.GE:
66514
- default:
66515
- return $t("sys.fieldValueNotLessThan", { val });
66516
- }
66517
- };
66518
- const toUnixTimestamp = (input) => {
66519
- if (isNil(input) || input === "") return null;
66520
- const asNumber = typeof input === "number" || typeof input === "string" && /^-?\d+(\.\d+)?$/.test(input.trim());
66521
- if (asNumber) {
66522
- const n = Number(input);
66523
- if (Number.isNaN(n)) return null;
66524
- const parsed2 = n > 1e12 ? dayjs(n) : dayjs.unix(n);
66525
- return parsed2.isValid() ? parsed2.unix() : null;
66526
- }
66527
- const parsed = dayjs(input);
66528
- return parsed.isValid() ? parsed.unix() : null;
66529
- };
66530
- const buildError = (validatorInfo, message2) => JSON.stringify({ ...validatorInfo, message: message2 });
66531
- function areValidationCommentsEqual(left, right) {
66532
- const serialize = (comments) => JSON.stringify(
66533
- comments,
66534
- (_key, value) => value && typeof value === "object" && "message" in value ? { ...value, message: value.message } : value
66535
- );
66536
- return serialize(left) === serialize(right);
66537
- }
66538
- const createRule = (validator, message2, trigger = "change") => ({
66539
- required: true,
66540
- validator,
66541
- message: message2,
66542
- trigger
66543
- });
66544
- function relocateDeletedRowsToEnd(rows = []) {
66545
- const active = [];
66546
- const deleted = [];
66547
- for (const row of rows) {
66548
- if (row?.deleted_) deleted.push(row);
66549
- else active.push(row);
66550
- }
66551
- return [...active, ...deleted];
66552
- }
66553
- const MAX_NUMERIC_DIGITS = 15;
66554
- const NUMERIC_FIELD_TYPES = /* @__PURE__ */ new Set([
66555
- FIELD_TYPE.INTEGER,
66556
- FIELD_TYPE.LONG,
66557
- FIELD_TYPE.DOUBLE,
66558
- FIELD_TYPE.DECIMAL
66559
- ]);
66560
- function filterRulesByTrigger(rules, trigger) {
66561
- return rules.filter((rule) => {
66562
- const ruleTrigger = rule.trigger;
66563
- if (!ruleTrigger) return trigger === "change";
66564
- if (trigger === "blur") {
66565
- return ruleTrigger === "blur" || ruleTrigger === "change";
66566
- }
66567
- return ruleTrigger === trigger;
66568
- });
66569
- }
66570
- function assembleRules(input) {
66571
- const { showRequired, fieldType, validatorInfo, props } = input;
66572
- const {
66573
- minlength,
66574
- maxlength,
66575
- regex,
66576
- regexHint,
66577
- validateTrue,
66578
- validateFalse,
66579
- enableRangeValidate,
66580
- maxValidateMode,
66581
- minValidateMode,
66582
- maxCompareOp,
66583
- minCompareOp,
66584
- minValue,
66585
- maxValue,
66586
- minFormulaExpr,
66587
- maxFormulaExpr,
66588
- minDate,
66589
- maxDate,
66590
- minDateFormulaExpr,
66591
- maxDateFormulaExpr,
66592
- maxDateValidateMode,
66593
- minDateValidateMode
66594
- } = props;
66595
- const resolvedMaxCompareOp = maxCompareOp ?? RangeCompareOp.LE;
66596
- const resolvedMinCompareOp = minCompareOp ?? RangeCompareOp.GE;
66597
- const RuleProps = [];
66598
- if (props.bizType === FIELD_TYPE.SEAL) {
66599
- if (showRequired) {
66600
- RuleProps.push(
66601
- createRule(
66602
- (_rule, value) => isSealStamped(value),
66603
- buildError(
66604
- { ...validatorInfo, validationCode: "seal-required" },
66605
- $t("sys.fieldRequired")
66606
- ),
66607
- "manual"
66608
- )
66609
- );
66610
- }
66611
- RuleProps.push(createRule((_rule, value) => isEmptyValue(value) || isValidSealValue(value), buildError(validatorInfo, $t("sys.seal.invalid"))));
66612
- return RuleProps;
66613
- }
66614
- if (showRequired) {
66615
- RuleProps.push(
66616
- createRule(
66617
- (_rule, value) => !isEmptyValue(value),
66618
- buildError(validatorInfo, $t("sys.fieldRequired")),
66619
- "manual"
66620
- )
66621
- );
66622
- }
66623
- if (!isNil(minlength)) {
66624
- RuleProps.push(
66625
- createRule((_rule, value) => {
66626
- if (isEmptyValue(value)) return true;
66627
- return String(value).length >= minlength;
66628
- }, buildError(validatorInfo, $t("sys.fieldLengthNotLessThan", { len: minlength })))
66629
- );
66630
- }
66631
- const effectiveMaxlength = isNil(maxlength) && fieldType === FIELD_TYPE.TEXT ? 1024 : maxlength;
66632
- if (!isNil(effectiveMaxlength)) {
66633
- RuleProps.push(
66634
- createRule((_rule, value) => {
66635
- if (isEmptyValue(value)) return true;
66636
- return String(value).length <= effectiveMaxlength;
66637
- }, buildError(validatorInfo, $t("sys.fieldLengthNoMoreThan", { len: effectiveMaxlength })))
66638
- );
66639
- }
66640
- if (regex) {
66641
- RuleProps.push(
66642
- createRule((_rule, value) => {
66643
- if (isEmptyValue(value)) return true;
66644
- return new RegExp(regex).test(value);
66645
- }, buildError(validatorInfo, regexHint ?? $t("sys.fieldFormatError")))
66646
- );
66647
- }
66648
- if (validateTrue) {
66649
- RuleProps.push({
66650
- required: true,
66651
- trigger: "manual",
66652
- validator: (_rule, value) => value === true,
66653
- message: buildError(validatorInfo, $t("sys.fieldValueNeedTrue"))
66654
- });
66655
- }
66656
- if (validateFalse) {
66657
- RuleProps.push({
66658
- required: true,
66659
- trigger: "manual",
66660
- validator: (_rule, value) => value === false,
66661
- message: buildError(validatorInfo, $t("sys.fieldValueNeedFalse"))
66662
- });
66663
- }
66664
- const maxMode = maxValidateMode ?? RangeValidateMode.No_Validate;
66665
- const minMode = minValidateMode ?? RangeValidateMode.No_Validate;
66666
- const shouldValidateNumericLength = !enableRangeValidate || maxMode === RangeValidateMode.No_Validate || minMode === RangeValidateMode.No_Validate;
66667
- if (shouldValidateNumericLength && NUMERIC_FIELD_TYPES.has(fieldType ?? "")) {
66668
- RuleProps.push(
66669
- createRule((_rule, value) => {
66670
- if (isEmptyValue(value)) return true;
66671
- const raw = String(value).trim();
66672
- const text = /e/i.test(raw) ? new BigNumber(raw).toFixed() : raw;
66673
- return text.replace(/[+\-.]/g, "").length <= MAX_NUMERIC_DIGITS;
66674
- }, buildError(validatorInfo, $t("sys.fieldNumericDigitsNoMoreThan")))
66675
- );
66676
- }
66677
- const configuredMinCoversZero = enableRangeValidate && minValidateMode === RangeValidateMode.Fixed_Number && !isEmptyValue(minValue) && Number(minValue) >= 0 && (resolvedMinCompareOp === RangeCompareOp.GE || resolvedMinCompareOp === RangeCompareOp.GT);
66678
- if (input.defaultMinValue === 0 && !configuredMinCoversZero) {
66679
- RuleProps.push(
66680
- createRule(
66681
- (_rule, value) => isEmptyValue(value) || Number(value) >= 0,
66682
- buildError(validatorInfo, rangeCompareMessage(RangeCompareOp.GE, 0))
66683
- )
66684
- );
66685
- }
66686
- if (!enableRangeValidate) {
66687
- return RuleProps;
66688
- }
66689
- if (minValidateMode === RangeValidateMode.Fixed_Number && !isEmptyValue(minValue)) {
66690
- RuleProps.push(
66691
- createRule((_rule, value) => {
66692
- if (isEmptyValue(value)) return true;
66693
- return compareByOp(Number(value), Number(minValue), resolvedMinCompareOp);
66694
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMinCompareOp, minValue)))
66695
- );
66696
- }
66697
- if (minValidateMode === RangeValidateMode.Variable_Validate && minFormulaExpr) {
66698
- RuleProps.push({
66699
- required: true,
66700
- trigger: "change",
66701
- validator: async (_rule, value, _callback, _source, options) => {
66702
- const currentFormData = getCurrentFormData(_rule, options);
66703
- const formulaValue = await calculateFormula(
66704
- minFormulaExpr,
66705
- currentFormData,
66706
- options?.formData
66707
- );
66708
- if (isEmptyValue(formulaValue)) {
66709
- return Promise.resolve();
66710
- }
66711
- const parsedMin = parseFloat(formulaValue);
66712
- if (!isNaN(parsedMin)) {
66713
- if (isEmptyValue(value)) {
66714
- return Promise.resolve();
66715
- }
66716
- if (!compareByOp(Number(value), parsedMin, resolvedMinCompareOp)) {
66717
- return Promise.reject(
66718
- new Error(
66719
- buildError(validatorInfo, rangeCompareMessage(resolvedMinCompareOp, parsedMin))
66720
- )
66721
- );
66722
- }
66723
- }
66724
- return Promise.resolve();
66725
- }
66726
- });
66727
- }
66728
- if (maxValidateMode === RangeValidateMode.Fixed_Number && !isEmptyValue(maxValue)) {
66729
- RuleProps.push(
66730
- createRule((_rule, value) => {
66731
- if (isEmptyValue(value)) return true;
66732
- return compareByOp(Number(value), Number(maxValue), resolvedMaxCompareOp);
66733
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMaxCompareOp, maxValue)))
66734
- );
66735
- }
66736
- if (maxValidateMode === RangeValidateMode.Variable_Validate && maxFormulaExpr) {
66737
- RuleProps.push({
66738
- required: true,
66739
- trigger: "change",
66740
- validator: async (_rule, value, _callback, _source, options) => {
66741
- const currentFormData = getCurrentFormData(_rule, options);
66742
- const formulaValue = await calculateFormula(
66743
- maxFormulaExpr,
66744
- currentFormData,
66745
- options?.formData
66746
- );
66747
- if (isEmptyValue(formulaValue)) {
66748
- return Promise.resolve();
66749
- }
66750
- const parsedMax = parseFloat(formulaValue);
66751
- if (!isNaN(parsedMax)) {
66752
- if (isEmptyValue(value)) {
66753
- return Promise.resolve();
66754
- }
66755
- if (!compareByOp(Number(value), parsedMax, resolvedMaxCompareOp)) {
66756
- return Promise.reject(
66757
- new Error(
66758
- buildError(validatorInfo, rangeCompareMessage(resolvedMaxCompareOp, parsedMax))
66759
- )
66760
- );
66761
- }
66762
- }
66763
- return Promise.resolve();
66764
- }
66765
- });
66766
- }
66767
- if (minDateValidateMode === RangeValidateMode.Fixed_Number && minDate) {
66768
- RuleProps.push(
66769
- createRule((_rule, value) => {
66770
- if (isEmptyValue(value)) return true;
66771
- const inputTime = dayjs(value).unix();
66772
- const minTimestamp = dayjs(minDate).unix();
66773
- if (!dayjs(value).isValid() || !dayjs(minDate).isValid()) return true;
66774
- return compareByOp(inputTime, minTimestamp, resolvedMinCompareOp);
66775
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMinCompareOp, minDate)))
66776
- );
66777
- }
66778
- if (maxDateValidateMode === RangeValidateMode.Fixed_Number && maxDate) {
66779
- RuleProps.push(
66780
- createRule((_rule, value) => {
66781
- if (isEmptyValue(value)) return true;
66782
- const inputTime = dayjs(value).unix();
66783
- const maxTimestamp = dayjs(maxDate).unix();
66784
- if (!dayjs(value).isValid() || !dayjs(maxDate).isValid()) return true;
66785
- return compareByOp(inputTime, maxTimestamp, resolvedMaxCompareOp);
66786
- }, buildError(validatorInfo, rangeCompareMessage(resolvedMaxCompareOp, maxDate)))
66787
- );
66788
- }
66789
- if (minDateValidateMode === RangeValidateMode.Variable_Validate && minDateFormulaExpr) {
66790
- RuleProps.push({
66791
- required: true,
66792
- trigger: "change",
66793
- validator: async (_rule, value, _callback, _source, options) => {
66794
- const currentFormData = getCurrentFormData(_rule, options);
66795
- const formulaValue = await calculateFormula(
66796
- minDateFormulaExpr,
66797
- currentFormData,
66798
- options?.formData
66799
- );
66800
- const limitTime = toUnixTimestamp(formulaValue);
66801
- if (limitTime !== null) {
66802
- if (isEmptyValue(value)) {
66803
- return Promise.resolve();
66804
- }
66805
- if (!dayjs(value).isValid()) {
66806
- return Promise.resolve();
66807
- }
66808
- const inputTime = dayjs(value).unix();
66809
- const fmt = fieldType === FIELD_TYPE.DATE_TIME ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
66810
- if (!compareByOp(inputTime, limitTime, resolvedMinCompareOp)) {
66811
- return Promise.reject(
66812
- new Error(
66813
- buildError(
66814
- validatorInfo,
66815
- rangeCompareMessage(resolvedMinCompareOp, dayjs.unix(limitTime).format(fmt))
66816
- )
66817
- )
66818
- );
66819
- }
66820
- }
66821
- return Promise.resolve();
66822
- }
66823
- });
66824
- }
66825
- if (maxDateValidateMode === RangeValidateMode.Variable_Validate && maxDateFormulaExpr) {
66826
- RuleProps.push({
66827
- required: true,
66828
- trigger: "change",
66829
- validator: async (_rule, value, _callback, _source, options) => {
66830
- const currentFormData = getCurrentFormData(_rule, options);
66831
- const formulaValue = await calculateFormula(
66832
- maxDateFormulaExpr,
66833
- currentFormData,
66834
- options?.formData
66835
- );
66836
- const limitTime = toUnixTimestamp(formulaValue);
66837
- if (limitTime !== null) {
66838
- if (isEmptyValue(value)) {
66839
- return Promise.resolve();
66840
- }
66841
- if (!dayjs(value).isValid()) {
66842
- return Promise.resolve();
66843
- }
66844
- const inputTime = dayjs(value).unix();
66845
- const fmt = fieldType === FIELD_TYPE.DATE_TIME ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
66846
- if (!compareByOp(inputTime, limitTime, resolvedMaxCompareOp)) {
66847
- return Promise.reject(
66848
- new Error(
66849
- buildError(
66850
- validatorInfo,
66851
- rangeCompareMessage(resolvedMaxCompareOp, dayjs.unix(limitTime).format(fmt))
66852
- )
66853
- )
66854
- );
66855
- }
66856
- }
66857
- return Promise.resolve();
66858
- }
66859
- });
66860
- }
66861
- return RuleProps;
66862
- }
66863
- const getApi$1 = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
66864
- const postApi = api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey;
66865
- async function materialCheck(params) {
66866
- const res = await postApi(
66867
- {
66868
- bsKey: "biz_single_material_check",
66869
- modelKey: "em_material_loading",
66870
- modelCategory: "entity"
66871
- },
66872
- {},
66873
- params
66874
- );
66875
- return res;
66876
- }
66877
- async function stockCheck(params) {
66878
- await postApi(
66879
- {
66880
- bsKey: "biz_form_single_confirm",
66881
- modelKey: "em_material_loading",
66882
- modelCategory: "entity"
66883
- },
66884
- {},
66885
- {
66886
- entry: params.entry,
66887
- material_id_: params.row.product_id_,
66888
- production_identification_name_: params.row.material_no_,
66889
- qty_: params.row.qty_,
66890
- operation_id_: params.row.routing_operation_id_,
66891
- main_material_no_: params.mainMaterialNo
66892
- }
66893
- );
66894
- }
66895
- async function fetchHistoryConsume(params) {
66896
- const res = await postApi(
66897
- {
66898
- bsKey: "listAll",
66899
- modelKey: "em_material_consume",
66900
- modelCategory: "entity"
66901
- },
66902
- {},
66903
- {
66904
- query: params
66905
- }
66906
- );
66907
- console.log("查询历史消耗数据", res);
66908
- const arr = res.data ?? [];
66909
- arr.map((i2) => {
66910
- i2.qty_ = i2.qty_consumed_;
66911
- });
66912
- return arr;
66913
- }
66914
- async function judgeUnique(opts) {
66915
- const res = await postApi(
66916
- {
66917
- bsKey: "biz_form_unique",
66918
- modelKey: "em_material_loading",
66919
- modelCategory: "entity"
66920
- },
66921
- {},
66922
- {
66923
- model_key_: opts.modelKey,
66924
- datas_: opts.data
66925
- }
66926
- );
66927
- return res;
66928
- }
66929
- async function isBomGranted() {
66930
- try {
66931
- const res = await getApi$1(
66932
- {
66933
- modelKey: "em_product_bom",
66934
- bsKey: "biz_bom_granted",
66935
- modelCategory: "entity"
66936
- },
66937
- {},
66938
- {}
66939
- );
66940
- return res ?? false;
66941
- } catch (error) {
66942
- console.log("");
66943
- return false;
66944
- }
66945
- }
66946
- async function getReinspectionDate(params) {
66947
- if (!params.material_no_id_ && !params.material_no_) return;
66948
- ({
66949
- "product_id_.versionIn": [params.product_id_.split(":").pop()]
66950
- });
66951
- if (params.material_no_id_) {
66952
- params.material_no_id_;
66953
- } else {
66954
- params.material_no_;
66955
- }
66956
- const res = await postApi(
66957
- {
66958
- modelCategory: "entity",
66959
- modelKey: "em_production_identification",
66960
- bsKey: "getOne"
66961
- },
66962
- {},
66963
- {
66964
- query: {
66965
- name_: params.material_no_,
66966
- id_: params.material_no_id_,
66967
- "product_id_.versionEq": params.product_id_
66968
- }
66969
- }
66970
- );
66971
- const record = res?.data?.[0] ?? res?.data;
66972
- const raw = record?.re_inspection_date_ ?? record?.retest_date_;
66973
- if (raw == null || raw === "") return;
66974
- const parsed = dayjs(raw);
66975
- if (!parsed.isValid()) return;
66976
- return parsed.format("YYYY-MM-DD");
66977
- }
66978
- async function validateReinspectionDate(opts) {
66979
- if (!opts.product_id_ || !opts.material_no_ && !opts.material_no_id_) return;
66980
- const date = await getReinspectionDate({
66981
- product_id_: opts.product_id_,
66982
- material_no_: opts.material_no_,
66983
- material_no_id_: opts.material_no_id_
66984
- });
66985
- if (!date) return;
66986
- if (dayjs(date).isBefore(dayjs(), "day")) {
66987
- throw new Error($t("sys.retestDateErrorTip"));
66988
- }
66989
- }
66990
- async function getLotLockedReason(production_identification_id_) {
66991
- const { data = {}, dict = {} } = await postApi(
66992
- {
66993
- modelCategory: "entity",
66994
- modelKey: "em_production_identification_lock_record",
66995
- bsKey: "biz_get_one_lock_record"
66996
- },
66997
- {},
66998
- {
66999
- production_identification_id_
67000
- }
67001
- );
67002
- return $t("sys.lotLockedReason", {
67003
- name: dict.lock_user_id_[data.lock_user_id_],
67004
- reason: data.lock_reason_
67005
- });
67006
- }
67007
- var Config_Fields = /* @__PURE__ */ ((Config_Fields2) => {
67008
- Config_Fields2["materialCode"] = "materialCode";
67009
- Config_Fields2["lot"] = "lot";
67010
- Config_Fields2["qty"] = "qty";
67011
- Config_Fields2["expiration"] = "expiration";
67012
- Config_Fields2["deviceCode"] = "deviceCode";
67013
- Config_Fields2["other"] = "other";
67014
- return Config_Fields2;
67015
- })(Config_Fields || {});
67016
- const getApi = api.apaas.modelComprehensive.getBizServiceModelCategoryModelKeyBsKey;
67017
- async function getParseRuleInfo(params) {
67018
- const res = await getApi(
67019
- {
67020
- bsKey: "rdoGetVersionById",
67021
- modelKey: "em_barcode_parsing_rules",
67022
- modelCategory: "entity"
67023
- },
67024
- params
67025
- );
67026
- return res.data;
67027
- }
67028
- function handleOldConfig(config) {
67029
- if (config.list && !config.fieldList) {
67030
- config.fieldList = config.list.map((type) => {
67031
- return {
67032
- type,
67033
- key: type === Config_Fields.other ? uuid2(32) : type
67034
- };
67035
- });
67036
- delete config.list;
67037
- }
67038
- config.fieldList.forEach((item) => {
67039
- if (!item.key) {
67040
- item.key = item.type === Config_Fields.other ? uuid2(32) : item.type;
67041
- }
67042
- });
67043
- return config;
67044
- }
67045
- function getParseRuleValue(labelStr, labelRule) {
67046
- if (!labelRule) {
67047
- throw new Error("请传入解析规则");
67048
- }
67049
- const ruleObj = JSON.parse(labelRule);
67050
- const ruleConfig = handleOldConfig(ruleObj);
67051
- const { separator, nullSymbol, fieldList } = ruleConfig;
67052
- const labelArr = labelStr.split(separator);
67053
- return labelArr.reduce((obj, e, idx) => {
67054
- const field = fieldList[idx];
67055
- if (field) {
67056
- let val = nullSymbol && e === nullSymbol ? null : e;
67057
- if (val !== null) {
67058
- switch (field.type) {
67059
- case Config_Fields.qty:
67060
- val = Number(val);
67061
- break;
67062
- case Config_Fields.expiration:
67063
- val = dayjs(val, field.format).format("YYYY-MM-DD HH:mm:ss");
67064
- break;
67065
- }
67066
- }
67067
- obj[field.key] = val;
67068
- }
67069
- return obj;
67070
- }, {});
67071
- }
67072
- async function getParseRuleConfig(id) {
67073
- const res = await getParseRuleInfo({ id });
67074
- if (res?.rules_) {
67075
- const ruleObj = JSON.parse(res.rules_);
67076
- const ruleConfig = handleOldConfig(ruleObj);
67077
- return ruleConfig;
67078
- }
67079
- }
67080
- function calcFillData(data, fillMapArr) {
67081
- const obj = {};
67082
- if (fillMapArr?.length) {
67083
- fillMapArr.forEach((i2) => {
67084
- const fromKey = i2.barcodeField;
67085
- if (fromKey && fromKey in data) {
67086
- const val = data[fromKey];
67087
- i2.formFields?.forEach((key) => {
67088
- const toKey2 = key.split(".")[1];
67089
- obj[toKey2] = val;
67090
- });
67091
- }
67092
- });
67093
- }
67094
- return obj;
67095
- }
67096
66496
  const NUMBER_FIELD_TYPES = /* @__PURE__ */ new Set([
67097
66497
  FIELD_TYPE.INTEGER,
67098
66498
  FIELD_TYPE.LONG,
@@ -67556,27 +66956,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
67556
66956
  case "revo-grid":
67557
66957
  return import(
67558
66958
  /* webpackMode: "lazy" */
67559
- "./revo-grid.entry-BZADj2ve.js"
66959
+ "./revo-grid.entry-Dr4S1tgO.js"
67560
66960
  ).then(processMod, consoleError);
67561
66961
  case "revogr-filter-panel":
67562
66962
  return import(
67563
66963
  /* webpackMode: "lazy" */
67564
- "./revogr-filter-panel.entry-BJEYteeW.js"
66964
+ "./revogr-filter-panel.entry-CSsekbYc.js"
67565
66965
  ).then(processMod, consoleError);
67566
66966
  case "revogr-attribution_7":
67567
66967
  return import(
67568
66968
  /* webpackMode: "lazy" */
67569
- "./revogr-attribution_7.entry-DbQASE7d.js"
66969
+ "./revogr-attribution_7.entry-27u9hxgM.js"
67570
66970
  ).then(processMod, consoleError);
67571
66971
  case "revogr-clipboard_3":
67572
66972
  return import(
67573
66973
  /* webpackMode: "lazy" */
67574
- "./revogr-clipboard_3.entry-BUDhUelS.js"
66974
+ "./revogr-clipboard_3.entry-DxjljgJl.js"
67575
66975
  ).then(processMod, consoleError);
67576
66976
  case "revogr-data_4":
67577
66977
  return import(
67578
66978
  /* webpackMode: "lazy" */
67579
- "./revogr-data_4.entry-0V57Lz9p.js"
66979
+ "./revogr-data_4.entry-CnSalg4D.js"
67580
66980
  ).then(processMod, consoleError);
67581
66981
  }
67582
66982
  }
@@ -77812,363 +77212,344 @@ function groupFixedTableRows(rows, options) {
77812
77212
  return result;
77813
77213
  }
77814
77214
  export {
77815
- isDateObjectField as $,
77816
- CellType as A,
77215
+ LabelPosition as $,
77216
+ ParamModelTypeEnum as A,
77817
77217
  BwipCodeType as B,
77818
77218
  ComponentTypeEnum as C,
77819
77219
  DateObjectContext as D,
77820
- isDynamicCellSubTable as E,
77220
+ api as E,
77821
77221
  FIELD_TYPE as F,
77822
- ParamModelTypeEnum as G,
77823
- FieldTypeToJs as H,
77824
- CreateType as I,
77825
- uuid2$1 as J,
77826
- useModal as K,
77222
+ FieldTypeToJs as G,
77223
+ CreateType as H,
77224
+ uuid2$1 as I,
77225
+ useModal as J,
77226
+ requireEstraverse as K,
77827
77227
  LineType as L,
77828
- requireEstraverse as M,
77829
- commonjsGlobal as N,
77228
+ commonjsGlobal as M,
77229
+ getDefaultExportFromCjs as N,
77830
77230
  Orientation as O,
77831
77231
  PaginationFormat as P,
77832
- getDefaultExportFromCjs as Q,
77833
- PaperWidgeValueType as R,
77232
+ PaperWidgeValueType as Q,
77233
+ onlineFormMasterModelTypeEnum as R,
77834
77234
  SUB_TABLE_PANEL_TYPE_NAME as S,
77835
77235
  TRACE_FIELD_TYPES as T,
77836
- getParseFormulaVarInfos as U,
77837
- onlineFormMasterModelTypeEnum as V,
77236
+ UniqueConstraintType as U,
77237
+ FieldDefaultValueTypeEnum as V,
77838
77238
  WAREHOUSE_FIELD_TYPES as W,
77839
- UniqueConstraintType as X,
77840
- FieldDefaultValueTypeEnum as Y,
77841
- FormTypeEnum as Z,
77842
- mitt as _,
77239
+ FormTypeEnum as X,
77240
+ mitt as Y,
77241
+ isDateObjectField as Z,
77242
+ PlatformEnum as _,
77843
77243
  getProfile as a,
77844
- validateReinspectionDate as a$,
77845
- PlatformEnum as a0,
77846
- LabelPosition as a1,
77847
- BooleanShowMode as a2,
77848
- SignatureImageDirectionEnum as a3,
77849
- FallbackSignTypeEnum as a4,
77850
- SignatureNumberTypeEnum as a5,
77851
- SignatureTimeTypeEnum as a6,
77852
- SignShowTypeEnum as a7,
77853
- SignatureTypeEnum as a8,
77854
- _export_sfc as a9,
77855
- getSubTableTypeByRefModelType as aA,
77856
- findFieldMain as aB,
77857
- DecimalDisplayMode as aC,
77858
- ImageDisplayModeEnum as aD,
77859
- FormDesignEnum as aE,
77860
- BASIC_FIELD_TYPES as aF,
77861
- getAllTableProfiles as aG,
77862
- transformUtils as aH,
77863
- EmptySymbol as aI,
77864
- ASSIGNMENTSTRATEGY_ENUM as aJ,
77865
- Dependency_ENUM as aK,
77866
- EntityModelCategoryEnum as aL,
77867
- resolveLotDisplayLabel as aM,
77868
- CheckDsTypeEnum as aN,
77869
- DeviceLink as aO,
77870
- DeviceParamsTypeTitle as aP,
77871
- AITooltips as aQ,
77872
- DenoiseMethodOptions as aR,
77873
- BinarizeMethodOptions as aS,
77874
- DateFormat as aT,
77875
- withRequestCache as aU,
77876
- LOT_CONTAINER_ROLE as aV,
77877
- buildLotSnListQuery as aW,
77878
- renderUtils as aX,
77879
- resolveLotRecordByValue as aY,
77880
- materialCheck as aZ,
77881
- getLotLockedReason as a_,
77882
- normalizeFieldType as aa,
77883
- PaperSizeMap as ab,
77884
- clampSealPosition as ac,
77885
- normalizeSealDiameter as ad,
77886
- getFieldMain as ae,
77887
- buildUUID as af,
77888
- FieldIconMap as ag,
77889
- BigNumber as ah,
77890
- FieldSysVarDefaultValueEnum as ai,
77891
- CellWidgetViewState as aj,
77892
- DiagonalDirection as ak,
77893
- WidgetImageSizeMode as al,
77894
- LineDirection as am,
77895
- TimeDiffFormat as an,
77896
- DiagonalVertex as ao,
77897
- resolveDiagonalVertex as ap,
77898
- getThemeColorByTableType as aq,
77899
- ViewTypeEnum as ar,
77900
- isDynamicSubTablePanelType as as,
77901
- isFixedSubTablePanelType as at,
77902
- ExpressionModeEnum as au,
77903
- ReturnTypeEnum as av,
77904
- ExpressionTabEnum as aw,
77905
- RangeValidateMode as ax,
77906
- RangeCompareOp as ay,
77907
- getExclusiveBusinessTypeTokens as az,
77244
+ BindCmpStyleEnum as a$,
77245
+ BooleanShowMode as a0,
77246
+ SignatureImageDirectionEnum as a1,
77247
+ FallbackSignTypeEnum as a2,
77248
+ SignatureNumberTypeEnum as a3,
77249
+ SignatureTimeTypeEnum as a4,
77250
+ SignShowTypeEnum as a5,
77251
+ SignatureTypeEnum as a6,
77252
+ _export_sfc as a7,
77253
+ normalizeFieldType as a8,
77254
+ PaperSizeMap as a9,
77255
+ FormDesignEnum as aA,
77256
+ BASIC_FIELD_TYPES as aB,
77257
+ getAllTableProfiles as aC,
77258
+ transformUtils as aD,
77259
+ EmptySymbol as aE,
77260
+ ASSIGNMENTSTRATEGY_ENUM as aF,
77261
+ Dependency_ENUM as aG,
77262
+ EntityModelCategoryEnum as aH,
77263
+ resolveLotDisplayLabel as aI,
77264
+ CheckDsTypeEnum as aJ,
77265
+ DeviceLink as aK,
77266
+ DeviceParamsTypeTitle as aL,
77267
+ AITooltips as aM,
77268
+ DenoiseMethodOptions as aN,
77269
+ BinarizeMethodOptions as aO,
77270
+ JoinModelTypeEum as aP,
77271
+ sqlUtils as aQ,
77272
+ DateFormat as aR,
77273
+ LOT_CONTAINER_ROLE as aS,
77274
+ buildLotSnListQuery as aT,
77275
+ renderUtils as aU,
77276
+ resolveLotRecordByValue as aV,
77277
+ materialCheck as aW,
77278
+ getLotLockedReason as aX,
77279
+ validateReinspectionDate as aY,
77280
+ buildMaterialLotListQuery as aZ,
77281
+ ProductionIdentificationTypeEnum as a_,
77282
+ getFieldMain as aa,
77283
+ buildUUID as ab,
77284
+ FieldIconMap as ac,
77285
+ BigNumber as ad,
77286
+ FieldSysVarDefaultValueEnum as ae,
77287
+ CellWidgetViewState as af,
77288
+ DiagonalDirection as ag,
77289
+ WidgetImageSizeMode as ah,
77290
+ LineDirection as ai,
77291
+ TimeDiffFormat as aj,
77292
+ DiagonalVertex as ak,
77293
+ resolveDiagonalVertex as al,
77294
+ getThemeColorByTableType as am,
77295
+ ViewTypeEnum as an,
77296
+ isDynamicSubTablePanelType as ao,
77297
+ isFixedSubTablePanelType as ap,
77298
+ ExpressionModeEnum as aq,
77299
+ ReturnTypeEnum as ar,
77300
+ ExpressionTabEnum as as,
77301
+ RangeValidateMode as at,
77302
+ RangeCompareOp as au,
77303
+ getExclusiveBusinessTypeTokens as av,
77304
+ getSubTableTypeByRefModelType as aw,
77305
+ findFieldMain as ax,
77306
+ DecimalDisplayMode as ay,
77307
+ ImageDisplayModeEnum as az,
77908
77308
  isBusinessSubTableProfile as b,
77909
- RUNTIME_COLUMN_ROW_KEY as b$,
77910
- ProductionIdentificationTypeEnum as b0,
77911
- BindCmpStyleEnum as b1,
77912
- getParseRuleInfo as b2,
77913
- getParseRuleValue as b3,
77914
- normalizeRefLoaderResult as b4,
77915
- STOCKTAKE_DIMENSION as b5,
77916
- F$8 as b6,
77917
- resolveStocktakeSelectApi as b7,
77918
- readSealValue as b8,
77919
- isSealStamped as b9,
77920
- isBomGranted as bA,
77921
- parseFrontConfig as bB,
77922
- baseDataUtils as bC,
77923
- initializeSealFields as bD,
77924
- normalizeToArray as bE,
77925
- safeParseArray as bF,
77926
- BpmnNodeTypeEnum as bG,
77927
- mergeByMultiKey as bH,
77928
- evaluateInspectionDecisionRule as bI,
77929
- areValidationCommentsEqual as bJ,
77930
- useNocodeEmitter as bK,
77931
- commonUtils as bL,
77932
- BpmnSignatureTypeEnum as bM,
77933
- ButtonTypeEnum as bN,
77934
- CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bO,
77935
- CodeRunner as bP,
77936
- Config_Fields as bQ,
77937
- ControlStatusEnum as bR,
77938
- DEVICE_SEARCH_API as bS,
77939
- DeviceStatus as bT,
77940
- EBR_PROVIDE_ENUM as bU,
77941
- EFieldBizTypeEnum as bV,
77942
- JoinModelTypeEum as bW,
77943
- MAX_FRONT_ROW_KEY_LENGTH as bX,
77944
- MobileFillTypeEnum as bY,
77945
- OfficeTypeEnum as bZ,
77946
- PosEnum as b_,
77947
- stampSealValue as ba,
77948
- isValidSealValue as bb,
77949
- clearSealValue as bc,
77950
- normalizeProductionContainerOptions as bd,
77951
- buildProductionLotListQuery as be,
77952
- refUtils as bf,
77953
- buildInspectionLotListQuery as bg,
77954
- buildDeviceFilterQuery as bh,
77955
- DEVICE_GROUP_QUERY_KEY as bi,
77956
- getRowId as bj,
77957
- findRuntimeTableRow as bk,
77958
- calculateFormula as bl,
77959
- RenderModeEnum as bm,
77960
- findRuntimeParentRow as bn,
77961
- useOnlineFormTransformField2Component as bo,
77962
- FormulaRuleFieldKeyEnum as bp,
77963
- formulaRuleFieldDict as bq,
77964
- resolveDesignPanelFeatures as br,
77965
- BIZ_TABLE_CONFIG_SEED_TYPES as bs,
77966
- STOCKTAKE_DIMENSION_OPTIONS as bt,
77967
- isRepeatingSubTablePanelType as bu,
77968
- moveSealValue as bv,
77969
- uuid2 as bw,
77970
- assembleRules as bx,
77971
- isAttachFieldActive as by,
77972
- fetchHistoryConsume as bz,
77309
+ fetchCustomCheckDsData as b$,
77310
+ getParseRuleInfo as b0,
77311
+ getParseRuleValue as b1,
77312
+ normalizeRefLoaderResult as b2,
77313
+ STOCKTAKE_DIMENSION as b3,
77314
+ F$8 as b4,
77315
+ resolveStocktakeSelectApi as b5,
77316
+ RenderModeEnum as b6,
77317
+ normalizeProductionContainerOptions as b7,
77318
+ buildProductionLotListQuery as b8,
77319
+ refUtils as b9,
77320
+ ButtonTypeEnum as bA,
77321
+ CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bB,
77322
+ CodeRunner as bC,
77323
+ Config_Fields as bD,
77324
+ ControlStatusEnum as bE,
77325
+ DEVICE_SEARCH_API as bF,
77326
+ DeviceStatus as bG,
77327
+ EBR_PROVIDE_ENUM as bH,
77328
+ EFieldBizTypeEnum as bI,
77329
+ MAX_FRONT_ROW_KEY_LENGTH as bJ,
77330
+ MobileFillTypeEnum as bK,
77331
+ OfficeTypeEnum as bL,
77332
+ PosEnum as bM,
77333
+ RUNTIME_COLUMN_ROW_KEY as bN,
77334
+ SummaryApproveHisTypeEnum as bO,
77335
+ applyCheckDsDataToRuntime as bP,
77336
+ applyMedProCheckDsDataToRuntime as bQ,
77337
+ bindRuntimeTableColumns as bR,
77338
+ buildDeviceBaseQuery as bS,
77339
+ calcFillData as bT,
77340
+ calcUtils as bU,
77341
+ decodeTableCellRowKey as bV,
77342
+ encodeTableCellRowKey as bW,
77343
+ ensureFrontRowKey as bX,
77344
+ ensureTableRowKeys as bY,
77345
+ extractKeywordFromQueryData as bZ,
77346
+ fetchCheckDsDataForTable as b_,
77347
+ buildInspectionLotListQuery as ba,
77348
+ buildDeviceFilterQuery as bb,
77349
+ DEVICE_GROUP_QUERY_KEY as bc,
77350
+ getRowId as bd,
77351
+ findRuntimeTableRow as be,
77352
+ findRuntimeParentRow as bf,
77353
+ useOnlineFormTransformField2Component as bg,
77354
+ FormulaRuleFieldKeyEnum as bh,
77355
+ formulaRuleFieldDict as bi,
77356
+ resolveDesignPanelFeatures as bj,
77357
+ BIZ_TABLE_CONFIG_SEED_TYPES as bk,
77358
+ STOCKTAKE_DIMENSION_OPTIONS as bl,
77359
+ isRepeatingSubTablePanelType as bm,
77360
+ uuid2 as bn,
77361
+ fetchHistoryConsume as bo,
77362
+ isBomGranted as bp,
77363
+ parseFrontConfig as bq,
77364
+ baseDataUtils as br,
77365
+ normalizeToArray as bs,
77366
+ safeParseArray as bt,
77367
+ BpmnNodeTypeEnum as bu,
77368
+ mergeByMultiKey as bv,
77369
+ evaluateInspectionDecisionRule as bw,
77370
+ useNocodeEmitter as bx,
77371
+ commonUtils as by,
77372
+ BpmnSignatureTypeEnum as bz,
77973
77373
  getProfileByTableType as c,
77974
- FILL_FROM_PART_OPTION as c$,
77975
- SummaryApproveHisTypeEnum as c0,
77976
- applyCheckDsDataToRuntime as c1,
77977
- applyMedProCheckDsDataToRuntime as c2,
77978
- bindRuntimeTableColumns as c3,
77979
- buildDeviceBaseQuery as c4,
77980
- calcFillData as c5,
77981
- calcUtils as c6,
77982
- decodeTableCellRowKey as c7,
77983
- encodeTableCellRowKey as c8,
77984
- ensureFrontRowKey as c9,
77985
- isReferenceOptionActive as cA,
77986
- FRONT_ROW_KEY as cB,
77987
- filterRulesByTrigger as cC,
77988
- isEmptyValue as cD,
77989
- buildError as cE,
77990
- resetTableRowIdentity as cF,
77991
- q as cG,
77992
- QUICK_FILL_ALLOWED_FIELDS as cH,
77993
- groupFixedTableRows as cI,
77994
- processQuickFillRows as cJ,
77995
- getIsGroupEmpty as cK,
77996
- getAugmentedNamespace as cL,
77997
- CardControlEnum as cM,
77998
- EntityModelTypeEnum as cN,
77999
- RecordNoGenerateEnum as cO,
78000
- TagTypeEnum as cP,
78001
- F$3 as cQ,
78002
- FILL_FROM_TARGET_PRODUCT_OPTION as cR,
78003
- F$6 as cS,
78004
- SCAN_ROW_CONTENT_FIELDS as cT,
78005
- F$7 as cU,
78006
- runRowHandler as cV,
78007
- F$a as cW,
78008
- F$9 as cX,
78009
- FILL_FROM_SOURCE_PRODUCT_OPTION as cY,
78010
- FILL_FROM_TARGET_MATERIAL_NO_OPTION as cZ,
78011
- FILL_FROM_INVENTORY_OPTION$2 as c_,
78012
- ensureTableRowKeys as ca,
78013
- extractKeywordFromQueryData as cb,
78014
- fetchCheckDsDataForTable as cc,
78015
- fetchCustomCheckDsData as cd,
78016
- fetchMedProCheckDsData as ce,
78017
- findRuntimeTableCell as cf,
78018
- getCheckTableSnapshotKey as cg,
78019
- getParseRuleConfig as ch,
78020
- getReinspectionDate as ci,
78021
- getRenderedRuntimeTableCell as cj,
78022
- handleOldConfig as ck,
78023
- hasAnyCheckTableSnapshot as cl,
78024
- hasByTableCheckTableSnapshot as cm,
78025
- hasSharedCheckTableSnapshot as cn,
78026
- isMedProSuite as co,
78027
- isTableRowKeyMatch as cp,
78028
- jsonSchemaUtils as cq,
78029
- judgeUnique as cr,
78030
- migrateDiagonalDirectionToVertex as cs,
78031
- relocateDeletedRowsToEnd as ct,
78032
- requestMedProCheckDsData as cu,
78033
- requestNonMedProCheckDsData as cv,
78034
- sqlUtils as cw,
78035
- stockCheck as cx,
78036
- useOnlineFormActionButton as cy,
78037
- getFieldPlaceholder as cz,
77374
+ F$c as c$,
77375
+ fetchMedProCheckDsData as c0,
77376
+ findRuntimeTableCell as c1,
77377
+ getCheckTableSnapshotKey as c2,
77378
+ getParseRuleConfig as c3,
77379
+ getReinspectionDate as c4,
77380
+ getRenderedRuntimeTableCell as c5,
77381
+ handleOldConfig as c6,
77382
+ hasAnyCheckTableSnapshot as c7,
77383
+ hasByTableCheckTableSnapshot as c8,
77384
+ hasSharedCheckTableSnapshot as c9,
77385
+ F$7 as cA,
77386
+ runRowHandler as cB,
77387
+ F$a as cC,
77388
+ F$9 as cD,
77389
+ FILL_FROM_SOURCE_PRODUCT_OPTION as cE,
77390
+ FILL_FROM_TARGET_MATERIAL_NO_OPTION as cF,
77391
+ FILL_FROM_INVENTORY_OPTION$2 as cG,
77392
+ FILL_FROM_PART_OPTION as cH,
77393
+ FILL_FROM_INVENTORY_OPTION$3 as cI,
77394
+ TABLE_TYPE$b as cJ,
77395
+ FILL_FROM_INVENTORY_OPTION$1 as cK,
77396
+ INVENTORY_BASE_FIELDS as cL,
77397
+ resolveGroupByWarehouse as cM,
77398
+ AUTO_LOAD_READONLY_SELECT_FIELDS as cN,
77399
+ buildFillFromInventoryOption as cO,
77400
+ resolveStocktakeInventoryApi as cP,
77401
+ F$5 as cQ,
77402
+ FILL_FROM_INVENTORY_OPTION as cR,
77403
+ composeProductionLotListQuery as cS,
77404
+ F as cT,
77405
+ isProductManuallyEditable as cU,
77406
+ applyFillFromMfgOrderOption as cV,
77407
+ applyFillFromOption as cW,
77408
+ applyFillFromProductOption as cX,
77409
+ mergeQueryFilters as cY,
77410
+ composeMaterialLotListQuery as cZ,
77411
+ MATERIAL_CONTAINER_ID as c_,
77412
+ isMedProSuite as ca,
77413
+ isTableRowKeyMatch as cb,
77414
+ jsonSchemaUtils as cc,
77415
+ judgeUnique as cd,
77416
+ migrateDiagonalDirectionToVertex as ce,
77417
+ requestMedProCheckDsData as cf,
77418
+ requestNonMedProCheckDsData as cg,
77419
+ splitRuntimeDataPath as ch,
77420
+ stockCheck as ci,
77421
+ useOnlineFormActionButton as cj,
77422
+ getFieldPlaceholder as ck,
77423
+ FRONT_ROW_KEY as cl,
77424
+ resetTableRowIdentity as cm,
77425
+ q as cn,
77426
+ QUICK_FILL_ALLOWED_FIELDS as co,
77427
+ groupFixedTableRows as cp,
77428
+ processQuickFillRows as cq,
77429
+ getIsGroupEmpty as cr,
77430
+ getAugmentedNamespace as cs,
77431
+ CardControlEnum as ct,
77432
+ EntityModelTypeEnum as cu,
77433
+ RecordNoGenerateEnum as cv,
77434
+ TagTypeEnum as cw,
77435
+ F$6 as cx,
77436
+ SCAN_ROW_CONTENT_FIELDS as cy,
77437
+ F$3 as cz,
78038
77438
  getBusinessProfileByRefModelType as d,
78039
- nextCell as d$,
78040
- FILL_FROM_INVENTORY_OPTION$3 as d0,
78041
- TABLE_TYPE$b as d1,
78042
- FILL_FROM_INVENTORY_OPTION$1 as d2,
78043
- INVENTORY_BASE_FIELDS as d3,
78044
- resolveGroupByWarehouse as d4,
78045
- AUTO_LOAD_READONLY_SELECT_FIELDS as d5,
78046
- buildFillFromInventoryOption as d6,
78047
- resolveStocktakeInventoryApi as d7,
78048
- F$5 as d8,
78049
- FILL_FROM_INVENTORY_OPTION as d9,
78050
- isStretchPlugin as dA,
78051
- AutoSizeColumnPlugin as dB,
78052
- FilterPlugin as dC,
78053
- ExportFilePlugin as dD,
78054
- SortingPlugin as dE,
78055
- ColumnMovePlugin as dF,
78056
- ThemeService as dG,
78057
- h as dH,
78058
- Host as dI,
78059
- getElement as dJ,
78060
- BasePlugin as dK,
78061
- reduce as dL,
78062
- columnTypes as dM,
78063
- debounce$1 as dN,
78064
- RESIZE_INTERVAL as dO,
78065
- DimensionStore as dP,
78066
- gatherTrimmedItems as dQ,
78067
- getColumnSizes as dR,
78068
- getItemByIndex as dS,
78069
- DataStore as dT,
78070
- getSourceItem as dU,
78071
- getSourceItemVirtualIndexByProp as dV,
78072
- getColumnType as dW,
78073
- setSourceByPhysicalIndex as dX,
78074
- setSourceByVirtualIndex as dY,
78075
- SelectionStore as dZ,
78076
- cropCellToMax as d_,
78077
- LOCKED_INPUT_FIELDS as da,
78078
- composeProductionLotListQuery as db,
78079
- F as dc,
78080
- isProductManuallyEditable as dd,
78081
- applyFillFromMfgOrderOption as de,
78082
- applyFillFromOption as df,
78083
- applyFillFromProductOption as dg,
78084
- MATERIAL_CONTAINER_ID as dh,
78085
- F$c as di,
78086
- PRODUCT_QUICK_SEARCH_FIELDS as dj,
78087
- PRODUCT_QUICK_SEARCH_EXP as dk,
78088
- isProductManuallyEditable$1 as dl,
78089
- applyFillFromMaterialNoOption as dm,
78090
- applyFillFromProductOption$1 as dn,
78091
- F$b as dp,
78092
- FILL_FROM_INVENTORY_OPTION$4 as dq,
78093
- registerInstance as dr,
78094
- createEvent as ds,
78095
- getColumnByProp as dt,
78096
- timeout as du,
78097
- getVisibleSourceItem as dv,
78098
- getColumns as dw,
78099
- rowTypes as dx,
78100
- GroupingRowPlugin as dy,
78101
- StretchColumn as dz,
77439
+ CELL_HANDLER_CLASS as d$,
77440
+ PRODUCT_QUICK_SEARCH_FIELDS as d0,
77441
+ PRODUCT_QUICK_SEARCH_EXP as d1,
77442
+ isProductManuallyEditable$1 as d2,
77443
+ applyFillFromMaterialNoOption as d3,
77444
+ applyFillFromProductOption$1 as d4,
77445
+ F$b as d5,
77446
+ FILL_FROM_INVENTORY_OPTION$4 as d6,
77447
+ registerInstance as d7,
77448
+ createEvent as d8,
77449
+ getColumnByProp as d9,
77450
+ DataStore as dA,
77451
+ getSourceItem as dB,
77452
+ getSourceItemVirtualIndexByProp as dC,
77453
+ getColumnType as dD,
77454
+ setSourceByPhysicalIndex as dE,
77455
+ setSourceByVirtualIndex as dF,
77456
+ SelectionStore as dG,
77457
+ cropCellToMax as dH,
77458
+ nextCell as dI,
77459
+ isRowType as dJ,
77460
+ ViewportStore as dK,
77461
+ AndOrButton as dL,
77462
+ ReorderButton as dM,
77463
+ TrashButton as dN,
77464
+ isFilterBtn as dO,
77465
+ ColumnService as dP,
77466
+ MOBILE_CLASS as dQ,
77467
+ SELECTION_BORDER_CLASS as dR,
77468
+ getCellData as dS,
77469
+ getCellEditor as dT,
77470
+ getRange as dU,
77471
+ isRangeSingleCell as dV,
77472
+ codesLetter as dW,
77473
+ calculateRowHeaderSize as dX,
77474
+ ROW_HEADER_TYPE as dY,
77475
+ getScrollbarSize as dZ,
77476
+ FOCUS_CLASS as d_,
77477
+ timeout as da,
77478
+ getVisibleSourceItem as db,
77479
+ getColumns as dc,
77480
+ rowTypes as dd,
77481
+ GroupingRowPlugin as de,
77482
+ StretchColumn as df,
77483
+ isStretchPlugin as dg,
77484
+ AutoSizeColumnPlugin as dh,
77485
+ FilterPlugin as di,
77486
+ ExportFilePlugin as dj,
77487
+ SortingPlugin as dk,
77488
+ ColumnMovePlugin as dl,
77489
+ ThemeService as dm,
77490
+ h as dn,
77491
+ Host as dp,
77492
+ getElement as dq,
77493
+ BasePlugin as dr,
77494
+ reduce as ds,
77495
+ columnTypes as dt,
77496
+ debounce$1 as du,
77497
+ RESIZE_INTERVAL as dv,
77498
+ DimensionStore as dw,
77499
+ gatherTrimmedItems as dx,
77500
+ getColumnSizes as dy,
77501
+ getItemByIndex as dz,
78102
77502
  expandAutofillTemplates as e,
78103
- isRowType as e0,
78104
- ViewportStore as e1,
78105
- AndOrButton as e2,
78106
- ReorderButton as e3,
78107
- TrashButton as e4,
78108
- isFilterBtn as e5,
78109
- ColumnService as e6,
78110
- MOBILE_CLASS as e7,
78111
- SELECTION_BORDER_CLASS as e8,
78112
- getCellData as e9,
78113
- isRowDragService as eA,
78114
- DRAG_ICON_CLASS as eB,
78115
- DRAGGABLE_CLASS as eC,
78116
- getCellDataParsed as eD,
78117
- GROUP_EXPAND_EVENT as eE,
78118
- isGrouping as eF,
78119
- HEADER_ROW_CLASS as eG,
78120
- HEADER_ACTUAL_ROW_CLASS as eH,
78121
- ROW_FOCUSED_CLASS as eI,
78122
- HEADER_SORTABLE_CLASS as eJ,
78123
- MIN_COL_SIZE as eK,
78124
- FilterButton as eL,
78125
- HeaderCellRenderer as eM,
78126
- HEADER_CLASS as eN,
78127
- getCellEditor as ea,
78128
- getRange as eb,
78129
- isRangeSingleCell as ec,
78130
- codesLetter as ed,
78131
- calculateRowHeaderSize as ee,
78132
- ROW_HEADER_TYPE as ef,
78133
- getScrollbarSize as eg,
78134
- FOCUS_CLASS as eh,
78135
- CELL_HANDLER_CLASS as ei,
78136
- TMP_SELECTION_BG_CLASS as ej,
78137
- getItemByPosition as ek,
78138
- EDIT_INPUT_WR as el,
78139
- keyValues as em,
78140
- isObject as en,
78141
- DRAGG_TEXT as eo,
78142
- PSEUDO_GROUP_ITEM as ep,
78143
- GROUP_EXPANDED as eq,
78144
- GROUP_DEPTH as er,
78145
- GROUP_EXPAND_BTN as es,
78146
- DATA_ROW as et,
78147
- isGroupingColumn as eu,
78148
- GROUP_COLUMN_PROP as ev,
78149
- getCellRaw as ew,
78150
- DATA_COL as ex,
78151
- CELL_CLASS as ey,
78152
- Build as ez,
78153
- resolveAutofillToField as f,
77503
+ TMP_SELECTION_BG_CLASS as e0,
77504
+ getItemByPosition as e1,
77505
+ EDIT_INPUT_WR as e2,
77506
+ keyValues as e3,
77507
+ isObject as e4,
77508
+ DRAGG_TEXT as e5,
77509
+ PSEUDO_GROUP_ITEM as e6,
77510
+ GROUP_EXPANDED as e7,
77511
+ GROUP_DEPTH as e8,
77512
+ GROUP_EXPAND_BTN as e9,
77513
+ DATA_ROW as ea,
77514
+ isGroupingColumn as eb,
77515
+ GROUP_COLUMN_PROP as ec,
77516
+ getCellRaw as ed,
77517
+ DATA_COL as ee,
77518
+ CELL_CLASS as ef,
77519
+ Build as eg,
77520
+ isRowDragService as eh,
77521
+ DRAG_ICON_CLASS as ei,
77522
+ DRAGGABLE_CLASS as ej,
77523
+ getCellDataParsed as ek,
77524
+ GROUP_EXPAND_EVENT as el,
77525
+ isGrouping as em,
77526
+ HEADER_ROW_CLASS as en,
77527
+ HEADER_ACTUAL_ROW_CLASS as eo,
77528
+ ROW_FOCUSED_CLASS as ep,
77529
+ HEADER_SORTABLE_CLASS as eq,
77530
+ MIN_COL_SIZE as er,
77531
+ FilterButton as es,
77532
+ HeaderCellRenderer as et,
77533
+ HEADER_CLASS as eu,
77534
+ SubTableType as f,
78154
77535
  getAllDataProfiles as g,
78155
- SubTableType as h,
77536
+ getAllBusinessRefModelTypes as h,
78156
77537
  isDataTableProfile as i,
78157
- getAllBusinessRefModelTypes as j,
78158
- isBlank as k,
78159
- isSameFieldValue as l,
78160
- runDateObjectHandler as m,
78161
- companionIdKey as n,
78162
- companionLabelKey as o,
78163
- api as p,
78164
- PaperWidgeType as q,
77538
+ isBlank as j,
77539
+ isSameFieldValue as k,
77540
+ runDateObjectHandler as l,
77541
+ companionIdKey as m,
77542
+ companionLabelKey as n,
77543
+ PaperWidgeType as o,
77544
+ PageSizeEnum as p,
77545
+ BUSINESS_FIELD_TYPES as q,
78165
77546
  resolveCreateTargetByTableType as r,
78166
- PageSizeEnum as s,
78167
- src as t,
78168
- BUSINESS_FIELD_TYPES as u,
78169
- resolveFieldRenderComponent as v,
78170
- parse as w,
78171
- estraverse as x,
78172
- Syntax as y,
78173
- isDynamicCreateTarget as z
77547
+ src as s,
77548
+ resolveFieldRenderComponent as t,
77549
+ parse as u,
77550
+ estraverse as v,
77551
+ Syntax as w,
77552
+ isDynamicCreateTarget as x,
77553
+ CellType as y,
77554
+ isDynamicCellSubTable as z
78174
77555
  };