@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,4 +1,3 @@
1
- import { NumberInputRules } from '../LimitedNumberInput/number-input-rules';
2
1
  interface Props {
3
2
  doubleValue: any;
4
3
  isSeparator?: boolean;
@@ -10,7 +9,6 @@ interface Props {
10
9
  /** 是否启用计步器 */
11
10
  enableStepCounter?: boolean;
12
11
  rules?: 1 | 4 | 6;
13
- numberLimits?: NumberInputRules;
14
12
  }
15
13
  declare function __VLS_template(): {
16
14
  attrs: Partial<{}>;
@@ -19,86 +17,7 @@ declare function __VLS_template(): {
19
17
  'step-up'?(_: {}): any;
20
18
  };
21
19
  refs: {
22
- inputNumberRef: ({
23
- $: import('vue').ComponentInternalInstance;
24
- $data: {};
25
- $props: {
26
- readonly value?: string | number | null | undefined;
27
- readonly precision?: number | undefined;
28
- readonly limits?: NumberInputRules | undefined;
29
- readonly onChange?: ((...args: any[]) => any) | undefined;
30
- readonly onBlur?: ((...args: any[]) => any) | undefined;
31
- readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
32
- readonly onPressEnter?: ((...args: any[]) => any) | undefined;
33
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
34
- $attrs: import('vue').Attrs;
35
- $refs: {
36
- [x: string]: unknown;
37
- } & {
38
- inputRef: unknown;
39
- };
40
- $slots: Readonly<{
41
- [name: string]: import('vue').Slot<any> | undefined;
42
- }>;
43
- $root: import('vue').ComponentPublicInstance | null;
44
- $parent: import('vue').ComponentPublicInstance | null;
45
- $host: Element | null;
46
- $emit: ((event: "change", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "update:value", ...args: any[]) => void) & ((event: "pressEnter", ...args: any[]) => void);
47
- $el: any;
48
- $options: import('vue').ComponentOptionsBase<Readonly<{
49
- value?: string | number | null;
50
- precision?: number;
51
- limits?: NumberInputRules;
52
- }> & Readonly<{
53
- onChange?: ((...args: any[]) => any) | undefined;
54
- onBlur?: ((...args: any[]) => any) | undefined;
55
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
56
- onPressEnter?: ((...args: any[]) => any) | undefined;
57
- }>, {
58
- focus: () => void | undefined;
59
- blur: () => void | undefined;
60
- reset: (refocus?: boolean) => void;
61
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
- change: (...args: any[]) => void;
63
- blur: (...args: any[]) => void;
64
- "update:value": (...args: any[]) => void;
65
- pressEnter: (...args: any[]) => void;
66
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
67
- beforeCreate?: (() => void) | (() => void)[];
68
- created?: (() => void) | (() => void)[];
69
- beforeMount?: (() => void) | (() => void)[];
70
- mounted?: (() => void) | (() => void)[];
71
- beforeUpdate?: (() => void) | (() => void)[];
72
- updated?: (() => void) | (() => void)[];
73
- activated?: (() => void) | (() => void)[];
74
- deactivated?: (() => void) | (() => void)[];
75
- beforeDestroy?: (() => void) | (() => void)[];
76
- beforeUnmount?: (() => void) | (() => void)[];
77
- destroyed?: (() => void) | (() => void)[];
78
- unmounted?: (() => void) | (() => void)[];
79
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
80
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
81
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
82
- };
83
- $forceUpdate: () => void;
84
- $nextTick: typeof import('vue').nextTick;
85
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
86
- } & Readonly<{}> & Omit<Readonly<{
87
- value?: string | number | null;
88
- precision?: number;
89
- limits?: NumberInputRules;
90
- }> & Readonly<{
91
- onChange?: ((...args: any[]) => any) | undefined;
92
- onBlur?: ((...args: any[]) => any) | undefined;
93
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
94
- onPressEnter?: ((...args: any[]) => any) | undefined;
95
- }>, "blur" | "focus" | "reset"> & {
96
- focus: () => void | undefined;
97
- blur: () => void | undefined;
98
- reset: (refocus?: boolean) => void;
99
- } & {} & import('vue').ComponentCustomProperties & {} & {
100
- $slots: Partial<Record<number, (_: any) => any>>;
101
- }) | null;
20
+ inputNumberRef: unknown;
102
21
  };
103
22
  rootEl: any;
104
23
  };
@@ -116,86 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
116
35
  onBlur?: ((...args: any[]) => any) | undefined;
117
36
  "onUpdate:doubleValue"?: ((...args: any[]) => any) | undefined;
118
37
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
119
- inputNumberRef: ({
120
- $: import('vue').ComponentInternalInstance;
121
- $data: {};
122
- $props: {
123
- readonly value?: string | number | null | undefined;
124
- readonly precision?: number | undefined;
125
- readonly limits?: NumberInputRules | undefined;
126
- readonly onChange?: ((...args: any[]) => any) | undefined;
127
- readonly onBlur?: ((...args: any[]) => any) | undefined;
128
- readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
129
- readonly onPressEnter?: ((...args: any[]) => any) | undefined;
130
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
131
- $attrs: import('vue').Attrs;
132
- $refs: {
133
- [x: string]: unknown;
134
- } & {
135
- inputRef: unknown;
136
- };
137
- $slots: Readonly<{
138
- [name: string]: import('vue').Slot<any> | undefined;
139
- }>;
140
- $root: import('vue').ComponentPublicInstance | null;
141
- $parent: import('vue').ComponentPublicInstance | null;
142
- $host: Element | null;
143
- $emit: ((event: "change", ...args: any[]) => void) & ((event: "blur", ...args: any[]) => void) & ((event: "update:value", ...args: any[]) => void) & ((event: "pressEnter", ...args: any[]) => void);
144
- $el: any;
145
- $options: import('vue').ComponentOptionsBase<Readonly<{
146
- value?: string | number | null;
147
- precision?: number;
148
- limits?: NumberInputRules;
149
- }> & Readonly<{
150
- onChange?: ((...args: any[]) => any) | undefined;
151
- onBlur?: ((...args: any[]) => any) | undefined;
152
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
153
- onPressEnter?: ((...args: any[]) => any) | undefined;
154
- }>, {
155
- focus: () => void | undefined;
156
- blur: () => void | undefined;
157
- reset: (refocus?: boolean) => void;
158
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
159
- change: (...args: any[]) => void;
160
- blur: (...args: any[]) => void;
161
- "update:value": (...args: any[]) => void;
162
- pressEnter: (...args: any[]) => void;
163
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
164
- beforeCreate?: (() => void) | (() => void)[];
165
- created?: (() => void) | (() => void)[];
166
- beforeMount?: (() => void) | (() => void)[];
167
- mounted?: (() => void) | (() => void)[];
168
- beforeUpdate?: (() => void) | (() => void)[];
169
- updated?: (() => void) | (() => void)[];
170
- activated?: (() => void) | (() => void)[];
171
- deactivated?: (() => void) | (() => void)[];
172
- beforeDestroy?: (() => void) | (() => void)[];
173
- beforeUnmount?: (() => void) | (() => void)[];
174
- destroyed?: (() => void) | (() => void)[];
175
- unmounted?: (() => void) | (() => void)[];
176
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
177
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
178
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
179
- };
180
- $forceUpdate: () => void;
181
- $nextTick: typeof import('vue').nextTick;
182
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
183
- } & Readonly<{}> & Omit<Readonly<{
184
- value?: string | number | null;
185
- precision?: number;
186
- limits?: NumberInputRules;
187
- }> & Readonly<{
188
- onChange?: ((...args: any[]) => any) | undefined;
189
- onBlur?: ((...args: any[]) => any) | undefined;
190
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
191
- onPressEnter?: ((...args: any[]) => any) | undefined;
192
- }>, "blur" | "focus" | "reset"> & {
193
- focus: () => void | undefined;
194
- blur: () => void | undefined;
195
- reset: (refocus?: boolean) => void;
196
- } & {} & import('vue').ComponentCustomProperties & {} & {
197
- $slots: Partial<Record<number, (_: any) => any>>;
198
- }) | null;
38
+ inputNumberRef: unknown;
199
39
  }, any>;
200
40
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
201
41
  export default _default;
@@ -36,19 +36,6 @@ export declare function addSignHistory(opts: {
36
36
  * @return {*}
37
37
  */
38
38
  export declare function completeSignInfo(partial: PartialSignInfo): Promise<SignInfo>;
39
- export interface ImageSize {
40
- width: number;
41
- height: number;
42
- }
43
- /** 无图签名的显示尺寸,canvas 以两倍像素绘制 */
44
- export declare const FALLBACK_SIGN_DISPLAY_SIZE: {
45
- readonly width: 120;
46
- readonly height: 68;
47
- };
48
- /** 横向“姓名 + 日期”兜底签名按文字内容决定宽度,保持默认高度。 */
49
- export declare function getFormSignFallbackSize(name: string, time?: number | string, height?: 68): ImageSize;
50
- /** 仅姓名兜底签名按最长一行文字宽度和左右各 8px 留白确定画布宽度。 */
51
- export declare function getSimpleNameFallbackSize(name: string, height: number): ImageSize;
52
39
  /**
53
40
  * 获取预览url地址
54
41
  *
@@ -65,5 +52,4 @@ export declare function resolveSignatureImageDirection(direction?: string): Sign
65
52
  * 表单签名/报工人/仓管员字段预览(无图片时按兜底签名配置绘制)
66
53
  * 无配置时默认「仅用户名」。
67
54
  */
68
- export declare function getFormSignPreviewSize(name: string, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): ImageSize;
69
55
  export declare function getFormSignPreviewUrl(url: any, name: any, callback?: any, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): any;
@@ -327,20 +327,16 @@ export declare enum FIELD_TYPE {
327
327
  * 产品检验数量
328
328
  */
329
329
  PRODUCT_CHECK_QTY = "product_check_qty",
330
- /**
331
- * 放行数量
332
- */
333
- PRODUCT_RELEASE_QTY = "product_release_qty",
334
330
  /**
335
331
  * 材料检验数量
336
332
  */
337
333
  MATERIAL_CHECK_QTY = "material_check_qty",
338
334
  /**
339
- * 送检数量
335
+ * 检验数量
340
336
  */
341
337
  INSPECTION_QTY = "inspection_qty",
342
338
  /**
343
- * 检验数量
339
+ * 受检数量
344
340
  */
345
341
  INSPECTION_MODULE_QTY = "inspection_module_qty",
346
342
  /**
@@ -572,7 +568,6 @@ export declare const FieldIconMap: {
572
568
  scrap_material_no: string;
573
569
  destructive_test_qty: string;
574
570
  product_check_qty: string;
575
- product_release_qty: string;
576
571
  material_check_qty: string;
577
572
  inspection_qty: string;
578
573
  inspection_module_qty: string;
@@ -0,0 +1,9 @@
1
+ type CellWrapStyle = {
2
+ whiteSpace?: unknown;
3
+ wordBreak?: unknown;
4
+ 'white-space'?: unknown;
5
+ 'word-break'?: unknown;
6
+ };
7
+ /** 新模板使用 pre-wrap + break-all;旧模板的 pre-line 同样表示已开启换行。 */
8
+ export declare function isCellAutoLineBreak(style?: CellWrapStyle | null): boolean;
9
+ export {};
@@ -3,3 +3,5 @@ export declare const DEFAULT_FIELD_WIDTH = 75;
3
3
  /** 默认“真 / 假”双选项约需 80px,额外留出两侧间距。 */
4
4
  export declare const DEFAULT_BOOLEAN_FIELD_WIDTH = 96;
5
5
  export declare function normalizeFieldWidth(value?: number | string | null, fallback?: number): number;
6
+ /** 历史模板可能保存 undefinedpx 等无效字号,不能直接写入 CSS 字体变量。 */
7
+ export declare function normalizeFieldFontSize(value?: number | string | null, fallback?: number): string;
@@ -0,0 +1,2 @@
1
+ /** 负列宽在旧表格中不占宽度;归零保留其内容和区域引用,不能补成一整列。 */
2
+ export declare function normalizeGridColumnWidth(value: unknown): number;
@@ -1,3 +1,4 @@
1
+ import { buildLikeQuery } from './query-filter';
1
2
  export declare const LOT_CONTAINER_ROLE: {
2
3
  /** 普通批次 */
3
4
  readonly NORMAL: "normal";
@@ -15,7 +16,7 @@ export declare const LOT_CONTAINER_ROLE: {
15
16
  /**
16
17
  * 对齐 word buildLikeQuery:过滤条件写入 exp,搜索用 iLike,两者 AND。
17
18
  */
18
- export declare function buildLotLikeQuery(searchFields: string[], keyword: string, extraQuery?: Record<string, any>): {
19
+ export declare function buildLotLikeQuery(...args: Parameters<typeof buildLikeQuery>): {
19
20
  queryData: Record<string, any>;
20
21
  exp: string;
21
22
  };
@@ -39,6 +40,18 @@ export declare function composeProductionLotListQuery(queryData?: Record<string,
39
40
  queryData: Record<string, any>;
40
41
  exp: string;
41
42
  };
43
+ /** 物料批下拉与 Word 使用相同的类型 OR 分组和统一查询构建方式。 */
44
+ export declare function buildMaterialLotListQuery(keyword?: string, extraQuery?: Record<string, any>): {
45
+ queryData: Record<string, any>;
46
+ exp: string;
47
+ };
48
+ /** 兼容已有 queryData/exp 和旧批号字段名,过滤部分仍由统一构建方法生成。 */
49
+ export declare function composeMaterialLotListQuery(queryData?: Record<string, any>, exp?: string): {
50
+ queryData: {
51
+ [x: string]: any;
52
+ };
53
+ exp: string;
54
+ };
42
55
  /** 关联子批次在界面展示父批次名,但实际值仍保留子批次。 */
43
56
  export declare function resolveLotDisplayLabel(record: Record<string, any> | null | undefined, fallback?: unknown): string;
44
57
  export declare function normalizeProductionContainerOptions(options?: any[]): any[];
@@ -0,0 +1,24 @@
1
+ /** 下拉接口使用的查询结构。 */
2
+ export interface FieldQuery {
3
+ queryData?: Record<string, unknown>;
4
+ exp?: string;
5
+ }
6
+ /** 空 values 明确表示无候选,空条件列表表示不追加过滤。 */
7
+ export interface FieldQueryFilter {
8
+ field: string;
9
+ operator: 'in';
10
+ values: readonly string[];
11
+ }
12
+ /** 空 IN 可能被接口视为不筛选,使用占位值表达无候选。 */
13
+ export declare const EMPTY_QUERY_VALUE = "__excel_no_matching_query_value__";
14
+ /** 与 Word 相同的约定:搜索键 OR,过滤键 AND,__orExpKeys 指定过滤中的 OR 分组。 */
15
+ export declare function buildLikeQuery(searchFields: string[], keyword: string, extraQuery?: Record<string, any>, options?: {
16
+ filterCombine?: 'and' | 'or';
17
+ }): {
18
+ queryData: Record<string, any>;
19
+ exp: string;
20
+ };
21
+ /** 兼容已有 exp 入参时统一合并,避免破坏搜索 OR 或重复堆叠 AND。 */
22
+ export declare function combineQueryExpressions(...expressions: string[]): string;
23
+ /** 与 Word 一致:附加过滤按 AND 合并,同字段 IN 取交集。 */
24
+ export declare function mergeQueryFilters(query: FieldQuery, filters: readonly FieldQueryFilter[]): FieldQuery;