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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,11 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
8
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-Dlihqay0.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-DiPWQwMU.js";
9
8
  class Select extends BaseComponent {
10
9
  component = ComponentTypeEnum.Select;
11
10
  wrapperCmpConfig({ data }) {
@@ -29,6 +28,9 @@ class Select extends BaseComponent {
29
28
  ];
30
29
  }
31
30
  if (isSubtableMfgOrder) {
31
+ if (!["pretreatment-list", "PRETREATMENT_LIST"].includes(data.info.subModelType ?? "")) {
32
+ return [{ key: "code_", name: $t("sys.edhr.field.code") }];
33
+ }
32
34
  return [
33
35
  { key: "code_", name: $t("sys.edhr.field.code") },
34
36
  { key: "product_id_name_", name: "产品名称" },
@@ -1,10 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
8
7
  class UploadFile extends BaseComponent {
9
8
  component = ComponentTypeEnum.UploadFile;
10
9
  wrapperCmpConfig({ data }) {
@@ -1,8 +1,7 @@
1
- import { C as ComponentTypeEnum, F as FIELD_TYPE, h as SubTableType, d4 as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { C as ComponentTypeEnum, F as FIELD_TYPE, f as SubTableType, cM as resolveGroupByWarehouse } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
2
  import "vue";
3
3
  import { pick, has, isEmpty } from "lodash-es";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
6
  class SubTable {
8
7
  component = ComponentTypeEnum.SUB_TABLE;
@@ -1,10 +1,9 @@
1
1
  import { get } from "lodash-es";
2
- import { C as ComponentTypeEnum, a3 as SignatureImageDirectionEnum, a4 as FallbackSignTypeEnum, aD as ImageDisplayModeEnum, a5 as SignatureNumberTypeEnum, a6 as SignatureTimeTypeEnum, a7 as SignShowTypeEnum, a8 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { C as ComponentTypeEnum, a1 as SignatureImageDirectionEnum, a2 as FallbackSignTypeEnum, az as ImageDisplayModeEnum, a3 as SignatureNumberTypeEnum, a4 as SignatureTimeTypeEnum, a5 as SignShowTypeEnum, a6 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
8
7
  class Sign extends BaseComponent {
9
8
  component = ComponentTypeEnum.Sign;
10
9
  wrapperCmpConfig({ data }) {
@@ -1,10 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
8
7
  class Userpicker extends BaseComponent {
9
8
  component = ComponentTypeEnum.Userpicker;
10
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,9 @@
1
- import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
2
- import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-Dlihqay0.js";
3
- import { C as ComponentTypeEnum, A as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { pick, has, cloneDeep, get } from "lodash-es";
2
+ import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-DiPWQwMU.js";
3
+ import { j as isCellAutoLineBreak } from "./dynamic-table-action-Dw7AIthU.js";
4
+ import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
4
5
  import "vue";
5
6
  import "dayjs";
6
- import "@gct-paas/form-base";
7
7
  import "ant-design-vue";
8
8
  class Td {
9
9
  component = "td";
@@ -11,7 +11,7 @@ class Td {
11
11
  const cmp = {
12
12
  props: {
13
13
  ...pick(data.attrs ?? {}, ["colspan", "rowspan"]),
14
- autoLineBreak: false,
14
+ autoLineBreak: isCellAutoLineBreak(data.style),
15
15
  sourceBorderAttrs: ["cbt", "cbr", "cbb", "cbl", "bold"].filter((key) => data[key])
16
16
  },
17
17
  style: { ...pick(data.style, "backgroundColor") },
@@ -19,9 +19,6 @@ class Td {
19
19
  xAutoMerge: data.xAutoMerge || false,
20
20
  fillDirection: data.fillDirection || void 0
21
21
  };
22
- if (!isEmpty(data.style) && has(data.style, "whiteSpace") && has(data.style, "wordBreak") && data.style.whiteSpace === "pre-wrap" && data.style.wordBreak === "break-all") {
23
- cmp.props.autoLineBreak = true;
24
- }
25
22
  const fixedTableFieldMap = dataCenter[ComponentTypeEnum.PAPER].props.fixedTableFieldMap;
26
23
  let config = data;
27
24
  if (has(data, "cellRef") && data.cellRef && data.subTableType === "CHECK" && fixedTableFieldMap[data.cellRef]) {
@@ -1,9 +1,9 @@
1
- import { p as api, a9 as _export_sfc, cL as getAugmentedNamespace, N as commonjsGlobal, Q as getDefaultExportFromCjs, ch as getParseRuleConfig, aX as renderUtils, bw as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { E as api, a7 as _export_sfc, cs as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, c3 as getParseRuleConfig, aU as renderUtils, bn as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
2
  import { message, Modal, Form } from "ant-design-vue";
3
3
  import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
4
4
  import { debounce, cloneDeep } from "lodash-es";
5
5
  import "dayjs";
6
- import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-_IUbyYCY.js";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-sgVmAe6_.js";
7
7
  import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
8
8
  import { VxeGrid } from "vxe-table";
9
9
  const uploadApis = {
@@ -1,8 +1,7 @@
1
- import { s as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { p as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
2
  import "vue";
3
3
  import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
6
  const PageSize2FormatOpt = {
8
7
  [PageSizeEnum.A3]: [297, 420],
@@ -1,10 +1,9 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { C as ComponentTypeEnum, F as FIELD_TYPE, ay as RangeCompareOp, ax as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { C as ComponentTypeEnum, F as FIELD_TYPE, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
- import { B as BaseComponent } from "./BaseComponent-DKaXUiq4.js";
6
+ import { B as BaseComponent } from "./BaseComponent-CD_dAL9D.js";
8
7
  class DateTimepicker extends BaseComponent {
9
8
  component = ComponentTypeEnum.DateTimepicker;
10
9
  wrapperCmpConfig({ data }) {
@@ -1,9 +1,8 @@
1
1
  import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
2
- import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
6
- import "@gct-paas/form-base";
7
6
  import "ant-design-vue";
8
7
  class Serialnumber {
9
8
  component = ComponentTypeEnum.Serialnumber;
package/dist/index.es.js CHANGED
@@ -1,6 +1,5 @@
1
- import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, h } from "./index-Dlihqay0.js";
2
- import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js";
3
- import { DataSources } from "@gct-paas/form-base";
1
+ import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-DiPWQwMU.js";
2
+ import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DDJetWQU.js";
4
3
  export {
5
4
  G as AiTmplEditor,
6
5
  H as AiTmplModal,
@@ -16,7 +15,6 @@ export {
16
15
  X as CellWidgetRenderComp,
17
16
  Y as CodeHelper,
18
17
  Z as ContextMenu,
19
- DataSources,
20
18
  $ as DesignMode,
21
19
  a0 as DomParser,
22
20
  a1 as EXCEL_PACKAGE_NAME,
@@ -46,15 +44,13 @@ export {
46
44
  aj as XlsxParser,
47
45
  ak as calcUsedFields,
48
46
  al as createDefaultExcelStores,
49
- am as getPlacedFieldsByType,
50
- an as getPlacedSealFields,
51
- ao as installFormBaseModal,
52
- ap as isReverseModelingEnabled,
53
- aq as openVersionDiff,
54
- ar as registerExcelHostComponents,
55
- as as registerExcelLocale,
56
- at as scanField,
57
- au as setupExcel,
58
- av as useCheckItem,
47
+ am as installFormBaseModal,
48
+ an as isReverseModelingEnabled,
49
+ ao as openVersionDiff,
50
+ ap as registerExcelHostComponents,
51
+ aq as registerExcelLocale,
52
+ ar as scanField,
53
+ as as setupExcel,
54
+ at as useCheckItem,
59
55
  h as useModelFields
60
56
  };
@@ -1,5 +1,5 @@
1
1
  import { reactive, inject, provide } from "vue";
2
- import { p as api, F as FIELD_TYPE, I as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  class MCRender {
4
4
  /**
5
5
  * 提示信息
@@ -1,9 +1,8 @@
1
1
  import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
2
2
  import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { Z as FormTypeEnum, a9 as _export_sfc, aE as FormDesignEnum, p as api, K as useModal, bR as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
3
+ import { X as FormTypeEnum, a7 as _export_sfc, aA as FormDesignEnum, E as api, J as useModal, bE as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
4
4
  import { isArray, cloneDeep, orderBy } from "lodash-es";
5
5
  import "dayjs";
6
- import "@gct-paas/form-base";
7
6
  import { Form } from "ant-design-vue";
8
7
  import { VxeTable, VxeColumn } from "vxe-table";
9
8
  var ProductTypeEnum = /* @__PURE__ */ ((ProductTypeEnum2) => {
@@ -1,10 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
2
- import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
- import "@gct-paas/form-base";
6
5
  import "ant-design-vue";
7
- import { j as calcText } from "./index-Dlihqay0.js";
6
+ import { j as calcText } from "./index-DiPWQwMU.js";
8
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
8
  __name: "pagination-design",
10
9
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-DiPWQwMU.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-Dlihqay0.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-DiPWQwMU.js";
2
2
  async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
3
3
  if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
4
4
  const snapshot = await record.controller.preparePrintSnapshot(
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
2
- import { R as RuntimeFormStateStore, L as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-CHY5xNLE.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-B0YWwWSA.js";
4
- import { _ as _sfc_main$1 } from "./index-Dlihqay0.js";
2
+ import { W as RuntimeFormStateStore, Y as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Dw7AIthU.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-D-GcNTOB.js";
4
+ import { _ as _sfc_main$1 } from "./index-DiPWQwMU.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "print-snapshot-renderer",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-Dlihqay0.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-DiPWQwMU.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -1,4 +1,4 @@
1
- import { dr as registerInstance, ds as createEvent, dt as getColumnByProp, du as timeout, dv as getVisibleSourceItem, dw as getColumns, dx as rowTypes, dy as GroupingRowPlugin, dz as StretchColumn, dA as isStretchPlugin, dB as AutoSizeColumnPlugin, dC as FilterPlugin, dD as ExportFilePlugin, dE as SortingPlugin, dF as ColumnMovePlugin, dG as ThemeService, dH as h, dI as Host, dJ as getElement, dK as BasePlugin, dL as reduce, dM as columnTypes, dN as debounce, dO as RESIZE_INTERVAL, dP as DimensionStore, dQ as gatherTrimmedItems, dR as getColumnSizes, dS as getItemByIndex, dT as DataStore, dU as getSourceItem, dV as getSourceItemVirtualIndexByProp, dW as getColumnType, dX as setSourceByPhysicalIndex, dY as setSourceByVirtualIndex, dZ as SelectionStore, d_ as cropCellToMax, d$ as nextCell, e0 as isRowType, e1 as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { d7 as registerInstance, d8 as createEvent, d9 as getColumnByProp, da as timeout, db as getVisibleSourceItem, dc as getColumns, dd as rowTypes, de as GroupingRowPlugin, df as StretchColumn, dg as isStretchPlugin, dh as AutoSizeColumnPlugin, di as FilterPlugin, dj as ExportFilePlugin, dk as SortingPlugin, dl as ColumnMovePlugin, dm as ThemeService, dn as h, dp as Host, dq as getElement, dr as BasePlugin, ds as reduce, dt as columnTypes, du as debounce, dv as RESIZE_INTERVAL, dw as DimensionStore, dx as gatherTrimmedItems, dy as getColumnSizes, dz as getItemByIndex, dA as DataStore, dB as getSourceItem, dC as getSourceItemVirtualIndexByProp, dD as getColumnType, dE as setSourceByPhysicalIndex, dF as setSourceByVirtualIndex, dG as SelectionStore, dH as cropCellToMax, dI as nextCell, dJ as isRowType, dK as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
2
  import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
3
3
  import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
4
4
  class ColumnDataProvider {
@@ -1,8 +1,8 @@
1
- import { dr as registerInstance, dH as h, dI as Host, ds as createEvent, dU as getSourceItem, dJ as getElement, e6 as ColumnService, e7 as MOBILE_CLASS, e8 as SELECTION_BORDER_CLASS, e9 as getCellData, ea as getCellEditor, eb as getRange, ec as isRangeSingleCell, ed as codesLetter, e1 as ViewportStore, dT as DataStore, ee as calculateRowHeaderSize, ef as ROW_HEADER_TYPE, eg as getScrollbarSize, eh as FOCUS_CLASS, dS as getItemByIndex, du as timeout, ei as CELL_HANDLER_CLASS, dN as debounce, ej as TMP_SELECTION_BG_CLASS, dO as RESIZE_INTERVAL, ek as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { d7 as registerInstance, dn as h, dp as Host, d8 as createEvent, dB as getSourceItem, dq as getElement, dP as ColumnService, dQ as MOBILE_CLASS, dR as SELECTION_BORDER_CLASS, dS as getCellData, dT as getCellEditor, dU as getRange, dV as isRangeSingleCell, dW as codesLetter, dK as ViewportStore, dA as DataStore, dX as calculateRowHeaderSize, dY as ROW_HEADER_TYPE, dZ as getScrollbarSize, d_ as FOCUS_CLASS, dz as getItemByIndex, da as timeout, d$ as CELL_HANDLER_CLASS, du as debounce, e0 as TMP_SELECTION_BG_CLASS, dv as RESIZE_INTERVAL, e1 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
2
  import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
3
- import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-Cu6obgSA.js";
3
+ import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-B7lpVZjb.js";
4
4
  import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
5
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BVommE6v.js";
5
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-B4SDzSMU.js";
6
6
  const Attribution = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
@@ -1,5 +1,5 @@
1
- import { du as timeout, dr as registerInstance, ds as createEvent, dH as h, el as EDIT_INPUT_WR, dI as Host, dJ as getElement, dN as debounce, eo as DRAGG_TEXT, dU as getSourceItem, ek as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
- import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-Cu6obgSA.js";
1
+ import { da as timeout, d7 as registerInstance, d8 as createEvent, dn as h, e2 as EDIT_INPUT_WR, dp as Host, dq as getElement, du as debounce, e5 as DRAGG_TEXT, dB as getSourceItem, e1 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
+ import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-B7lpVZjb.js";
3
3
  class TextEditor {
4
4
  constructor(data, saveCallback) {
5
5
  this.data = data;
@@ -1,5 +1,5 @@
1
- import { ep as PSEUDO_GROUP_ITEM, eq as GROUP_EXPANDED, er as GROUP_DEPTH, dH as h, es as GROUP_EXPAND_BTN, et as DATA_ROW, dU as getSourceItem, eu as isGroupingColumn, ev as GROUP_COLUMN_PROP, ew as getCellRaw, ex as DATA_COL, ey as CELL_CLASS, ez as Build, eA as isRowDragService, eB as DRAG_ICON_CLASS, eC as DRAGGABLE_CLASS, eD as getCellDataParsed, eE as GROUP_EXPAND_EVENT, dr as registerInstance, ds as createEvent, e6 as ColumnService, eF as isGrouping, dI as Host, dJ as getElement, dS as getItemByIndex, eG as HEADER_ROW_CLASS, eH as HEADER_ACTUAL_ROW_CLASS, eI as ROW_FOCUSED_CLASS, eJ as HEADER_SORTABLE_CLASS, eK as MIN_COL_SIZE, eh as FOCUS_CLASS, eL as FilterButton, eM as HeaderCellRenderer, eN as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BVommE6v.js";
1
+ import { e6 as PSEUDO_GROUP_ITEM, e7 as GROUP_EXPANDED, e8 as GROUP_DEPTH, dn as h, e9 as GROUP_EXPAND_BTN, ea as DATA_ROW, dB as getSourceItem, eb as isGroupingColumn, ec as GROUP_COLUMN_PROP, ed as getCellRaw, ee as DATA_COL, ef as CELL_CLASS, eg as Build, eh as isRowDragService, ei as DRAG_ICON_CLASS, ej as DRAGGABLE_CLASS, ek as getCellDataParsed, el as GROUP_EXPAND_EVENT, d7 as registerInstance, d8 as createEvent, dP as ColumnService, em as isGrouping, dp as Host, dq as getElement, dz as getItemByIndex, en as HEADER_ROW_CLASS, eo as HEADER_ACTUAL_ROW_CLASS, ep as ROW_FOCUSED_CLASS, eq as HEADER_SORTABLE_CLASS, er as MIN_COL_SIZE, d_ as FOCUS_CLASS, es as FilterButton, et as HeaderCellRenderer, eu as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-B4SDzSMU.js";
3
3
  import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
4
4
  const SortingSign = ({ column }) => {
5
5
  var _a;
@@ -1,4 +1,4 @@
1
- import { dr as registerInstance, ds as createEvent, dN as debounce, dH as h, e2 as AndOrButton, e3 as ReorderButton, e4 as TrashButton, e5 as isFilterBtn, dI as Host, dJ as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
1
+ import { d7 as registerInstance, d8 as createEvent, du as debounce, dn as h, dL as AndOrButton, dM as ReorderButton, dN as TrashButton, dO as isFilterBtn, dp as Host, dq as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
2
  (function closest() {
3
3
  if (!Element.prototype.matches) {
4
4
  Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-DiPWQwMU.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
2
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "serialnumber-design",
@@ -1,5 +1,5 @@
1
- import { aJ, aF, u, cM, I, aK, aL, cN, au, aw, F, Y, ag, H, aE, bp, b0, cO, av, T, cP, X, W, bq, aa, V } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
- import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CnQiVFDN.js";
1
+ import { aF, aB, q, ct, H, aG, aH, cu, aq, as, F, V, ac, G, aA, bh, a_, cv, ar, T, cw, U, W, bi, a8, R } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
2
+ import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DDJetWQU.js";
3
3
  var Platform = /* @__PURE__ */ ((Platform2) => {
4
4
  Platform2["WEB"] = "web";
5
5
  Platform2["MOBILE"] = "mobile";
@@ -49,43 +49,43 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
49
49
  return GctMqttTopsEnum2;
50
50
  })(GctMqttTopsEnum || {});
51
51
  export {
52
- aJ as ASSIGNMENTSTRATEGY_ENUM,
53
- aF as BASIC_FIELD_TYPES,
54
- u as BUSINESS_FIELD_TYPES,
52
+ aF as ASSIGNMENTSTRATEGY_ENUM,
53
+ aB as BASIC_FIELD_TYPES,
54
+ q as BUSINESS_FIELD_TYPES,
55
55
  ButtonOpeEnum,
56
56
  ButtonSize,
57
57
  ButtonStyle,
58
58
  ButtonType,
59
59
  ButtonType_vant,
60
- cM as CardControlEnum,
61
- I as CreateType,
62
- aK as Dependency_ENUM,
63
- aL as EntityModelCategoryEnum,
64
- cN as EntityModelTypeEnum,
65
- au as ExpressionModeEnum,
66
- aw as ExpressionTabEnum,
60
+ ct as CardControlEnum,
61
+ H as CreateType,
62
+ aG as Dependency_ENUM,
63
+ aH as EntityModelCategoryEnum,
64
+ cu as EntityModelTypeEnum,
65
+ aq as ExpressionModeEnum,
66
+ as as ExpressionTabEnum,
67
67
  F as FIELD_TYPE,
68
- Y as FieldDefaultValueTypeEnum,
69
- ag as FieldIconMap,
70
- H as FieldTypeToJs,
71
- aE as FormDesignEnum,
72
- bp as FormulaRuleFieldKeyEnum,
68
+ V as FieldDefaultValueTypeEnum,
69
+ ac as FieldIconMap,
70
+ G as FieldTypeToJs,
71
+ aA as FormDesignEnum,
72
+ bh as FormulaRuleFieldKeyEnum,
73
73
  GctMqttTopsEnum,
74
74
  O as OnlineFormModelModal,
75
75
  _ as OnlineFormModelSelect,
76
76
  Platform,
77
77
  P as ProductTypeEnum,
78
- b0 as ProductionIdentificationTypeEnum,
79
- cO as RecordNoGenerateEnum,
80
- av as ReturnTypeEnum,
78
+ a_ as ProductionIdentificationTypeEnum,
79
+ cv as RecordNoGenerateEnum,
80
+ ar as ReturnTypeEnum,
81
81
  S as SEARCH_SEVICE,
82
82
  SignatureTypeEnum,
83
83
  T as TRACE_FIELD_TYPES,
84
- cP as TagTypeEnum,
85
- X as UniqueConstraintType,
84
+ cw as TagTypeEnum,
85
+ U as UniqueConstraintType,
86
86
  V2 as VersionSelect,
87
87
  W as WAREHOUSE_FIELD_TYPES,
88
- bq as formulaRuleFieldDict,
89
- aa as normalizeFieldType,
90
- V as onlineFormMasterModelTypeEnum
88
+ bi as formulaRuleFieldDict,
89
+ a8 as normalizeFieldType,
90
+ R as onlineFormMasterModelTypeEnum
91
91
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-Dlihqay0.js";
4
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-DiPWQwMU.js";
4
+ import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-8yB6zly8.js";
2
+ import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DEjLEs33.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -26,12 +26,8 @@ export declare const F: {
26
26
  readonly targetMaterialNo: "target_material_no_";
27
27
  /** 替换物料批号 ID */
28
28
  readonly targetMaterialNoId: "target_material_no__id_";
29
- /** 替换物料批号展示值 */
30
- readonly targetMaterialNoLb: "target_material_no__lb_";
31
29
  /** 替换物料 */
32
30
  readonly targetProduct: "target_product_id_";
33
- /** 替换物料展示值 */
34
- readonly targetProductLb: "target_product_id__lb_";
35
31
  /** 替换物料名称 */
36
32
  readonly targetProductName: "target_product_id_name_";
37
33
  /** 替换物料编码 */
@@ -46,66 +42,34 @@ export type MaterialSubstitutionFieldKey = (typeof F)[keyof typeof F];
46
42
  export declare const DISABLED_INPUT_FIELDS: readonly ["source_material_no_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
47
43
  export declare const CLEAR_ON_SOURCE_PRODUCT_EMPTY: readonly ["source_material_no_", "source_material_no__lb_", "source_product_id__lb_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_"];
48
44
  /** 替换物料批号清空 / 手输时需清空的物料字段 */
49
- export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_product_id_", "target_product_id__lb_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
45
+ export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
50
46
  /** 历史消耗选项 → 被替换物料行字段 */
51
47
  export declare const FILL_FROM_SOURCE_PRODUCT_OPTION: readonly [{
52
48
  readonly optionField: "material_name_";
53
49
  readonly toField: "source_material_no_";
54
- readonly name: "物料批号";
55
50
  }, {
56
51
  readonly optionField: "product_id_.name_";
57
52
  readonly toField: "source_product_id_name_";
58
- readonly name: "物料名称";
59
53
  }, {
60
54
  readonly optionField: "product_id_.code_";
61
55
  readonly toField: "source_product_id_code_";
62
- readonly name: "物料编码";
63
56
  }, {
64
57
  readonly optionField: "product_id_.spec_";
65
58
  readonly toField: "source_product_id_spec_";
66
- readonly name: "物料规格";
67
59
  }, {
68
60
  readonly optionField: "qty_consumed_";
69
61
  readonly toField: "source_qty_consumed_";
70
- readonly name: "已消耗数量";
71
62
  }];
72
63
  /** 替换物料批号选项 → 替换物料信息 */
73
64
  export declare const FILL_FROM_TARGET_MATERIAL_NO_OPTION: readonly [{
74
- readonly optionField: "product_id_";
75
- readonly toField: "target_product_id_";
76
- readonly name: "物料";
77
- }, {
78
65
  readonly optionField: "product_id_name_";
79
66
  readonly toField: "target_product_id_name_";
80
- readonly name: "物料名称";
81
67
  }, {
82
68
  readonly optionField: "product_id_code_";
83
69
  readonly toField: "target_product_id_code_";
84
- readonly name: "物料编码";
85
70
  }, {
86
71
  readonly optionField: "product_id_spec_";
87
72
  readonly toField: "target_product_id_spec_";
88
- readonly name: "物料规格";
89
73
  }];
90
74
  /** SN / 工序不影响扫码结果能否复用当前空行。 */
91
75
  export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "source_product_id_", "target_material_no_", "target_product_id_"];
92
- /** LOT/SN 选项 → 替换物料行字段;替换数量保留用户输入。 */
93
- export declare const FILL_FROM_TARGET_PRODUCT_OPTION: readonly [{
94
- readonly optionField: "name_";
95
- readonly toField: "target_material_no_";
96
- readonly name: "物料批号";
97
- }, {
98
- readonly optionField: "product_id_name_";
99
- readonly toField: "target_product_id_name_";
100
- readonly name: "物料名称";
101
- }, {
102
- readonly optionField: "product_id_code_";
103
- readonly toField: "target_product_id_code_";
104
- readonly name: "物料编码";
105
- }, {
106
- readonly optionField: "product_id_spec_";
107
- readonly toField: "target_product_id_spec_";
108
- readonly name: "物料规格";
109
- }];
110
- /** 替换物料清空时同步清除批次、物料信息和数量。 */
111
- export declare const CLEAR_ON_TARGET_PRODUCT_EMPTY: readonly ["target_product_id__lb_", "target_material_no_", "target_material_no__id_", "target_material_no__lb_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_", "target_qty_consumed_"];
@@ -4,6 +4,3 @@ export declare function handleSourceProductChange(ctx: {
4
4
  export declare function handleTargetMaterialNoChange(ctx: {
5
5
  rowData: Record<string, any>;
6
6
  }): void;
7
- export declare function handleTargetProductChange(ctx: {
8
- rowData: Record<string, any>;
9
- }): void;
@@ -4,8 +4,6 @@ import { AutofillTemplate } from '../types';
4
4
  * @example product_id_ → product_id → product_id_name_
5
5
  */
6
6
  export declare function normalizeRefFieldKey(fieldKey: string): string;
7
- /** 将 AutofillTemplate 中的 toField 解析为字符串 */
8
- export declare function resolveAutofillToField(template: AutofillTemplate, sourceFieldKey: string): string;
9
7
  interface ExpandAutofillContext {
10
8
  /** 拖入的源字段 key,如 product_id_ */
11
9
  sourceFieldKey: string;
@@ -6,12 +6,6 @@ interface ApplyFieldProfileInput {
6
6
  /** 子表 SubTableType 或业务子模型 refModelType */
7
7
  subModelType?: string;
8
8
  }
9
- /** 设计态展示用的内置填充映射,与拖入字段时写入的模板共用一份 Profile。 */
10
- export declare function getBuiltInAutofillRules(field: ApplyFieldProfileInput): {
11
- fromField: string;
12
- toField: string;
13
- fromFieldLabel: string | undefined;
14
- }[];
15
9
  /**
16
10
  * 按子表类型 + 字段 key 应用 Profile,返回合并后的 widget 配置片段
17
11
  */
@@ -1,6 +1,6 @@
1
1
  export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './design/ribbon-options';
2
2
  export { resolveSubTableCreate, resolvePanelTypeByTableType } from './design/create-subtable';
3
- export { applyFieldProfileOnAttach, getBuiltInAutofillRules } from './design/hooks/on-field-attach';
3
+ export { applyFieldProfileOnAttach } from './design/hooks/on-field-attach';
4
4
  export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './design/panel-type';
5
5
  export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './design/panel-features';
6
6
  export { resolveTableLabelKey } from './design/label';
@@ -44,8 +44,6 @@ export interface ContextAssignmentDef {
44
44
  /** 数据填充模板:拖入关联字段时展开为 autofillRules(设计态消费) */
45
45
  export interface AutofillTemplate {
46
46
  fromField: string;
47
- /** 自定义选项数据源中的字段名称;设计态展示内置规则时使用 */
48
- fromFieldLabel?: string;
49
47
  toField: string | ((ctx: {
50
48
  sourceFieldKey: string;
51
49
  }) => string);
@@ -19,8 +19,6 @@ export { calcUsedFields, isReverseModelingEnabled, FieldSceneType, scanField, }
19
19
  export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/src/views/designer/constants';
20
20
  export { XlsxParser } from './online-form/src/views/designer/utils/xlsx-parser';
21
21
  export { DomParser } from './online-form/src/views/designer/utils/dom-parser';
22
- export { getPlacedFieldsByType, getPlacedSealFields, } from './online-form/src/views/designer/utils/template-placed-fields';
23
- export type { PlacedFormField } from './online-form/src/views/designer/utils/placed-fields';
24
22
  export { VersionSelect } from './shared/components/version-select';
25
23
  export { OnlineFormModelSelect, OnlineFormModelModal, } from './shared/components/online-form-model-select';
26
24
  export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
@@ -32,9 +30,3 @@ export { default as AiTmplEditor } from './online-form/src/views/designer/module
32
30
  export { default as AiTmplModal } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue';
33
31
  export type { AiTmplEditorExpose, AiTmplEditorProps, FieldOption, PrecisionOption, } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types';
34
32
  export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
35
- /**
36
- * 共用数据获取列表:设计配置与运行时查看、手动加载
37
- * word, excel 都暴露出去了,gct-dhr-kit 可从中任用一个
38
- */
39
- export { DataSources } from '@gct-paas/form-base';
40
- export type { DataSourceManager } from '@gct-paas/form-base';
@@ -35,6 +35,8 @@ export declare class SubTableCoreFactory {
35
35
  initSubTableCore(context: RuntimePageCtx): void;
36
36
  /** 通过tid获取子表核心 */
37
37
  getSubCoreByTid(tid: string): SubTableCore | undefined;
38
+ /** 只按已注册的业务类型识别,普通数据表及未知类型不参与空行过滤。 */
39
+ getBusinessTableFields(): string[];
38
40
  /**
39
41
  * 初始化表单数据
40
42
  * @param params