@gct-paas/excel 0.1.39-beta.2 → 0.1.40-beta.1

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 (112) hide show
  1. package/dist/{BaseComponent-vgYIyddq.js → BaseComponent-DXIDs5gk.js} +4 -3
  2. package/dist/{VueVideoPlayer-Ca2aYCnh.js → VueVideoPlayer-DhyIm-g1.js} +2 -2
  3. package/dist/{align-editor-Bpdx7EAg.js → align-editor-BcbgVXRp.js} +1 -1
  4. package/dist/{barcode-design-l88FtSJH.js → barcode-design-BiCt0aS7.js} +3 -2
  5. package/dist/base/index.es.js +156 -13
  6. package/dist/{diagonal-design-BrC_JEX_.js → diagonal-design-DmvWALIE.js} +3 -2
  7. package/dist/{dynamic-table-action--l3y-33T.js → dynamic-table-action-fDIIzS2J.js} +40 -18
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js} +199 -128
  9. package/dist/{edit.utils-CXmmCnxE-CLHOa5aM.js → edit.utils-CXmmCnxE-DxArFSxZ.js} +1 -1
  10. package/dist/excel.css +53 -53
  11. package/dist/{exceljs.min-DC03-hj2.js → exceljs.min-CjKNZPlo.js} +2 -2
  12. package/dist/{font-editor-Cdbnw5gf.js → font-editor-DseGyVgB.js} +3 -3
  13. package/dist/{image-design-B2Ujtrgf.js → image-design-Dr-L9AdG.js} +2 -2
  14. package/dist/{index-CbXb5NUR.js → index-0W-MEvEf.js} +3 -2
  15. package/dist/{index-Dfx_FNTM.js → index-4acBM2Lp.js} +3 -2
  16. package/dist/{index-NJMyznIn.js → index-B29_mID7.js} +4 -3
  17. package/dist/{index-DLURy62t.js → index-B34ZIwqL.js} +3 -2
  18. package/dist/{index-d-BkSigM.js → index-BPgCZjqV.js} +2 -1
  19. package/dist/{index-BObb1Ah_.js → index-BY7RGawr.js} +3 -2
  20. package/dist/{index-BHrga-sR.js → index-BctQMMgh.js} +3 -2
  21. package/dist/{index-BP9XsPy_.js → index-BdJ4ouEl.js} +2 -1
  22. package/dist/{index-BOw6pLMO.js → index-BjI7JCne.js} +5 -4
  23. package/dist/{index-C2NlobVm.js → index-BxZ3M7eP.js} +2 -1
  24. package/dist/{index-BqWM4biL.js → index-C4tVTc9U.js} +3 -2
  25. package/dist/{index-CinlHNlv.js → index-C6dFliaf.js} +2 -1
  26. package/dist/{index-BTt4zC25.js → index-C70T1sVm.js} +847 -478
  27. package/dist/{index-CFr4e8Xs.js → index-C8OPhJhI.js} +2 -1
  28. package/dist/{index-VbeM2qtu.js → index-CAdGL3Vp.js} +3 -2
  29. package/dist/{index-CyRyKW5Z.js → index-CEmRRPE7.js} +3 -2
  30. package/dist/{index-Cy3W1BCw.js → index-CJ9CrORT.js} +4 -3
  31. package/dist/{index-2FOQLZQX.js → index-CScWLXnC.js} +3 -2
  32. package/dist/{index-BwPjN5_z.js → index-CX_eR36M.js} +3 -2
  33. package/dist/{index-qIYTDaGB.js → index-CXh-4yX8.js} +4 -3
  34. package/dist/{index-DHi56KLO.js → index-CewKz2Ro.js} +2 -1
  35. package/dist/{index-BmkcFEIb.js → index-D5IrgJyh.js} +3 -2
  36. package/dist/{index-1RcD_jJ_.js → index-DKRpaNo1.js} +2 -1
  37. package/dist/{index-ElmEtsp1.js → index-DKf57IGi.js} +2 -1
  38. package/dist/{index-BfvMXo6W.js → index-DNC5VG8P.js} +3 -2
  39. package/dist/{index-DoKgmcyb.js → index-DcjOJuDw.js} +3 -2
  40. package/dist/{index-Bt1-V2lW.js → index-DqLVW6ej.js} +4 -3
  41. package/dist/{index-DAOq48BR.js → index-DrmR7WIs.js} +3 -2
  42. package/dist/{index-CosS1BAQ.js → index-DsCTXMxB.js} +2 -1
  43. package/dist/{index-isNDc9Eg.js → index-JkPJqZ_5.js} +3 -2
  44. package/dist/{index-Ls2829xQ.js → index-Nytm1-X9.js} +2 -2
  45. package/dist/{index-q6aP_omk.js → index-hcCJUBne.js} +2 -1
  46. package/dist/{index-CdmpbReR.js → index-iRameN0x.js} +3 -2
  47. package/dist/{index-CCJHoK5a.js → index-lwjRRvDn.js} +3 -2
  48. package/dist/{index-OtzvrfOW.js → index-r4MF8_-h.js} +3 -2
  49. package/dist/index.es.js +4 -2
  50. package/dist/{mb-render-BcBofCau.js → mb-render-BdRsSczc.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D8-YBa_f.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js} +2 -1
  52. package/dist/{pagination-design-C6BIV4Ko.js → pagination-design-9Z_iRIKM.js} +3 -2
  53. package/dist/paper-widget-design-BGotQsIf.js +4 -0
  54. package/dist/{print-runtime-instance-BuO2RPZB.js → print-runtime-instance-BBOww4jg.js} +1 -1
  55. package/dist/{print-snapshot-renderer-CJiTu8_l.js → print-snapshot-renderer-DGt44saz.js} +3 -3
  56. package/dist/{qrcode-design-DCAMHxR6.js → qrcode-design-qbUjPX-B.js} +1 -1
  57. package/dist/{revo-grid.entry-s6oHfg7z.js → revo-grid.entry-RzymRzb0.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-CBEbTBbC.js → revogr-attribution_7.entry-CxTEXm8Q.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-DtE8OXYS.js → revogr-clipboard_3.entry-DQEid83u.js} +2 -2
  60. package/dist/{revogr-data_4.entry-seTKTkAE.js → revogr-data_4.entry-ASovYZWH.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-DSQR-lUK.js → revogr-filter-panel.entry-j_V74kgz.js} +1 -1
  62. package/dist/seal-design-DP1XaAY8.js +4 -0
  63. package/dist/{serialnumber-design-B3WHGrfc.js → serialnumber-design-DXKTYOY7.js} +1 -1
  64. package/dist/shared/index.es.js +2 -2
  65. package/dist/{single-field-drop-DFjo8ISo.js → single-field-drop-CLjaHjL-.js} +2 -2
  66. package/dist/{size-editor-DKJpM9UW.js → size-editor-C62H_eRP.js} +1 -1
  67. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +21 -0
  68. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +3 -0
  69. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +2 -0
  70. package/dist/src/index.d.ts +6 -0
  71. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +2 -2
  72. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +1 -0
  73. package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +1 -2
  74. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +45 -0
  75. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +3 -0
  76. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -0
  77. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +21 -0
  78. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
  79. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +5 -2
  80. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
  81. package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
  82. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  83. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +124 -0
  84. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +62 -0
  85. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
  86. package/dist/src/online-form/src/views/designer/types/index.d.ts +5 -0
  87. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  88. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +1 -0
  89. package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +162 -2
  90. package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +41 -0
  91. package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +16 -0
  92. package/dist/{sub-table-factory-5l0MTqvt.js → sub-table-factory-sn1Ek1c9.js} +16 -14
  93. package/dist/{text-design-B69j6Z_b.js → text-design-CwHfwel0.js} +3 -2
  94. package/dist/{throttle-Cpk1LoGk-DfnQ57mt.js → throttle-Cpk1LoGk-BHDq1lM3.js} +1 -1
  95. package/dist/{timediff-design-BUqlRNkO.js → timediff-design-8kCO3aXz.js} +2 -1
  96. package/dist/{trace-like-wrapper-D5VFdJ3W.js → trace-like-wrapper-CxPz9Trr.js} +3 -2
  97. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CEuFEVMv.js → value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js} +3 -2
  98. package/dist/web-render/index.es.js +4 -3
  99. package/dist/{widget-barcode-Bt55wEEk.js → widget-barcode-CRxh3tC2.js} +5 -4
  100. package/dist/{widget-diagonal-BSkoDXjJ.js → widget-diagonal-CO586oV2.js} +4 -3
  101. package/dist/{widget-image-BxycuGZB.js → widget-image-CE6kVnu5.js} +5 -5
  102. package/dist/{widget-line-DZ9sK1Zj.js → widget-line-Br4oIssb.js} +3 -2
  103. package/dist/{widget-pagination-WerXXmx2.js → widget-pagination-BHwjrBV5.js} +6 -5
  104. package/dist/{widget-power-Bln2T1C-.js → widget-power-BySYsE15.js} +4 -3
  105. package/dist/{widget-qrcode-BQWQXzru.js → widget-qrcode-D6b0T_Qa.js} +4 -3
  106. package/dist/{widget-rangelimit-E8yqsqv3.js → widget-rangelimit-DTH7nrqC.js} +3 -3
  107. package/dist/{widget-serialnumber-Css27nM1.js → widget-serialnumber-DVtxhNC3.js} +1 -1
  108. package/dist/{widget-text-CD6_nGlp.js → widget-text-gBGybAXk.js} +5 -5
  109. package/dist/{widget-timediff-DQPeQkkV.js → widget-timediff-aY-maVkE.js} +3 -2
  110. package/package.json +2 -2
  111. package/dist/paper-widget-design-DujWhnh6.js +0 -4
  112. package/dist/seal-design--ciGkbUu.js +0 -4
@@ -1,3 +1,4 @@
1
+ import { NumberInputRules } from '../LimitedNumberInput/number-input-rules';
1
2
  interface Props {
2
3
  doubleValue: any;
3
4
  isSeparator?: boolean;
@@ -9,6 +10,7 @@ interface Props {
9
10
  /** 是否启用计步器 */
10
11
  enableStepCounter?: boolean;
11
12
  rules?: 1 | 4 | 6;
13
+ numberLimits?: NumberInputRules;
12
14
  }
13
15
  declare function __VLS_template(): {
14
16
  attrs: Partial<{}>;
@@ -17,7 +19,86 @@ declare function __VLS_template(): {
17
19
  'step-up'?(_: {}): any;
18
20
  };
19
21
  refs: {
20
- inputNumberRef: unknown;
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;
21
102
  };
22
103
  rootEl: any;
23
104
  };
@@ -35,7 +116,86 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
35
116
  onBlur?: ((...args: any[]) => any) | undefined;
36
117
  "onUpdate:doubleValue"?: ((...args: any[]) => any) | undefined;
37
118
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
38
- inputNumberRef: unknown;
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;
39
199
  }, any>;
40
200
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
201
  export default _default;
@@ -0,0 +1,41 @@
1
+ import { NumberInputRules } from './number-input-rules';
2
+ type __VLS_Props = {
3
+ value?: string | number | null;
4
+ precision?: number;
5
+ limits?: NumberInputRules;
6
+ };
7
+ /** 仅在数值组件内部已经处理过非法操作时重建,清理其内部编辑缓存。 */
8
+ declare function reset(refocus?: boolean): void;
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: Partial<Record<number, (_: any) => any>>;
12
+ refs: {
13
+ inputRef: unknown;
14
+ };
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
19
+ focus: () => void | undefined;
20
+ blur: () => void | undefined;
21
+ reset: typeof reset;
22
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ change: (...args: any[]) => void;
24
+ blur: (...args: any[]) => void;
25
+ "update:value": (...args: any[]) => void;
26
+ pressEnter: (...args: any[]) => void;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ onChange?: ((...args: any[]) => any) | undefined;
29
+ onBlur?: ((...args: any[]) => any) | undefined;
30
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
31
+ onPressEnter?: ((...args: any[]) => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ inputRef: unknown;
34
+ }, any>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,16 @@
1
+ export type NumberInputValue = string | number | null | undefined;
2
+ export interface NumberInputRules {
3
+ maxDigits?: number;
4
+ maxValue?: string | number;
5
+ precision?: number;
6
+ roundingMode?: 1 | 4 | 6;
7
+ }
8
+ export declare function normalizeNumberText(value: NumberInputValue): string;
9
+ /** 提交只接受完整数值或空值,不接受正负号、小数点等编辑中间态。 */
10
+ export declare function isNumberCommitAllowed(value: NumberInputValue, rules: NumberInputRules): boolean;
11
+ /** 编辑允许空值、正负号、小数点;禁止科学计数法绕过位数限制。 */
12
+ export declare function isNumberDraftAllowed(value: string, rules: NumberInputRules): boolean;
13
+ export declare function getNumberFieldLimits(props: {
14
+ bizType?: string;
15
+ fieldType?: string;
16
+ }): NumberInputRules;
@@ -1,6 +1,6 @@
1
1
  import { shallowReactive } from "vue";
2
- import { aE as SubTableActionMenuTypeEnum, aF as getMenuByAction, aG as SubTableActionEnum, aH as resolveScanFillData, ak as SubTableCore, aI as getInsertSubMenu, aJ as resolveScanAdjustType, aK as resolveScanQty, aL as toDateOnly, aM as getCopySubMenu, aN as resolveScanParsedValue, aO as isProductBatchEmptyRow } from "./dynamic-table-action--l3y-33T.js";
3
- import { E as api, cM as F$1, cN as SCAN_ROW_CONTENT_FIELDS, cO as F$2, cP as F$3, cQ as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cR as F$4, cS as F$5, cT as FILL_FROM_SOURCE_PRODUCT_OPTION, cU as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cV as FILL_FROM_INVENTORY_OPTION, cW as FILL_FROM_PART_OPTION, cX as FILL_FROM_INVENTORY_OPTION$1, cY as TABLE_TYPE, cZ as FILL_FROM_INVENTORY_OPTION$2, b4 as F$6, c_ as INVENTORY_BASE_FIELDS, c$ as resolveGroupByWarehouse, d0 as AUTO_LOAD_READONLY_SELECT_FIELDS, b3 as STOCKTAKE_DIMENSION, b0 as getParseRuleInfo, d1 as buildFillFromInventoryOption, c2 as calcFillData, d2 as resolveStocktakeInventoryApi, b1 as getParseRuleValue, d3 as F$7, d4 as FILL_FROM_INVENTORY_OPTION$3, c8 as extractKeywordFromQueryData, d5 as composeProductionLotListQuery, aK as resolveLotDisplayLabel, d6 as F$8, d7 as isProductManuallyEditable, d8 as applyFillFromMfgOrderOption, d9 as applyFillFromOption$1, da as applyFillFromProductOption, aU as LOT_CONTAINER_ROLE, db as MATERIAL_CONTAINER_ID, dc as F$9, dd as PRODUCT_QUICK_SEARCH_FIELDS, de as PRODUCT_QUICK_SEARCH_EXP, df as isProductManuallyEditable$1, dg as applyFillFromMaterialNoOption, dh as applyFillFromProductOption$1, di as F$a, dj as FILL_FROM_INVENTORY_OPTION$4, Y as FormTypeEnum, aF as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { aE as SubTableActionMenuTypeEnum, aF as getMenuByAction, aG as SubTableActionEnum, aH as resolveScanFillData, ak as SubTableCore, aI as getInsertSubMenu, aJ as resolveScanAdjustType, aK as resolveScanQty, aL as toDateOnly, aM as getCopySubMenu, aN as resolveScanParsedValue, aO as isProductBatchEmptyRow } from "./dynamic-table-action-fDIIzS2J.js";
3
+ import { E as api, cM as F$1, cN as SCAN_ROW_CONTENT_FIELDS, cO as F$2, cP as FILL_FROM_TARGET_PRODUCT_OPTION, cQ as F$3, cR as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cS as F$4, cT as F$5, cU as FILL_FROM_SOURCE_PRODUCT_OPTION, cV as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cW as FILL_FROM_INVENTORY_OPTION, cX as FILL_FROM_PART_OPTION, cY as FILL_FROM_INVENTORY_OPTION$1, cZ as TABLE_TYPE, c_ as FILL_FROM_INVENTORY_OPTION$2, b4 as F$6, c$ as INVENTORY_BASE_FIELDS, d0 as resolveGroupByWarehouse, d1 as AUTO_LOAD_READONLY_SELECT_FIELDS, b3 as STOCKTAKE_DIMENSION, b0 as getParseRuleInfo, d2 as buildFillFromInventoryOption, c2 as calcFillData, d3 as resolveStocktakeInventoryApi, b1 as getParseRuleValue, d4 as F$7, d5 as FILL_FROM_INVENTORY_OPTION$3, d6 as LOCKED_INPUT_FIELDS, c8 as extractKeywordFromQueryData, d7 as composeProductionLotListQuery, aK as resolveLotDisplayLabel, d8 as F$8, d9 as isProductManuallyEditable, da as applyFillFromMfgOrderOption, db as applyFillFromOption$1, dc as applyFillFromProductOption, aU as LOT_CONTAINER_ROLE, dd as MATERIAL_CONTAINER_ID, de as F$9, df as PRODUCT_QUICK_SEARCH_FIELDS, dg as PRODUCT_QUICK_SEARCH_EXP, dh as isProductManuallyEditable$1, di as applyFillFromMaterialNoOption, dj as applyFillFromProductOption$1, dk as F$a, dl as FILL_FROM_INVENTORY_OPTION$4, Y as FormTypeEnum, aF as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  function isBlank$4(value) {
6
6
  return value === void 0 || value === null || value === "";
@@ -567,7 +567,7 @@ class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
567
567
  }
568
568
  handleFieldTd = (params) => {
569
569
  const { field, tdHandler } = params;
570
- if (field === F$2.sourceProduct) {
570
+ if (field === F$2.sourceProduct || field === F$2.targetProduct) {
571
571
  tdHandler.mergeTd({
572
572
  cellWidget: {
573
573
  props: {
@@ -584,7 +584,7 @@ class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
584
584
  super.handleFieldTd(params);
585
585
  };
586
586
  calcFieldQuery = ({ field, rowData }) => {
587
- if (field !== F$2.sourceProduct) return;
587
+ if (field !== F$2.sourceProduct && field !== F$2.targetProduct) return;
588
588
  const query = {};
589
589
  if (!isBlank$3(rowData[F$2.productionContainer])) {
590
590
  query["production_identification_id_.eq"] = rowData[F$2.productionContainer];
@@ -595,7 +595,7 @@ class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
595
595
  return query;
596
596
  };
597
597
  calcFieldDataSource = ({ field }) => {
598
- if (field === F$2.sourceProduct) {
598
+ if (field === F$2.sourceProduct || field === F$2.targetProduct) {
599
599
  return createMaterialConsumeHistoryLoader();
600
600
  }
601
601
  };
@@ -613,6 +613,15 @@ class MaterialSubstitutionTableCore extends ProfileDrivenSubTableCore {
613
613
  );
614
614
  return;
615
615
  }
616
+ if (field === F$2.targetProduct) {
617
+ const record = flattenMaterialConsumeRecord(source);
618
+ rowData[F$2.targetMaterialNoId] = void 0;
619
+ rowData[F$2.targetMaterialNoLb] = void 0;
620
+ for (const { optionField, toField } of FILL_FROM_TARGET_PRODUCT_OPTION) {
621
+ rowData[toField] = record[optionField];
622
+ }
623
+ return;
624
+ }
616
625
  if (field === F$2.targetMaterialNo) {
617
626
  applyOptionFill(rowData, source, FILL_FROM_TARGET_MATERIAL_NO_OPTION);
618
627
  }
@@ -1181,14 +1190,6 @@ const F = {
1181
1190
  /** 生产日期 */
1182
1191
  productionDate: "production_date_"
1183
1192
  };
1184
- const STERILIZE_ALWAYS_DISABLED_FIELDS = [
1185
- F.product,
1186
- F.productCode,
1187
- F.productSpec,
1188
- F.productName,
1189
- F.mfgOrderCode,
1190
- F.mfgOrder
1191
- ];
1192
1193
  const CLEAR_ON_PROD_CONTAINER_EMPTY = [
1193
1194
  F.product,
1194
1195
  F.productLb,
@@ -1323,8 +1324,9 @@ class SterilizeBatchTableCore extends SubTableCore {
1323
1324
  };
1324
1325
  calcFieldStatus(params) {
1325
1326
  const result = super.calcFieldStatus(params);
1326
- if (STERILIZE_ALWAYS_DISABLED_FIELDS.includes(params.field)) {
1327
+ if (LOCKED_INPUT_FIELDS.includes(params.field)) {
1327
1328
  result.disabled = true;
1329
+ result.required = true;
1328
1330
  }
1329
1331
  return result;
1330
1332
  }
@@ -1,9 +1,10 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
3
+ import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
4
4
  import "dayjs";
5
+ import "@gct-paas/form-base";
5
6
  import "ant-design-vue";
6
- import { u as useSpreadSheet, h as useModelFields } from "./index-BTt4zC25.js";
7
+ import { u as useSpreadSheet, h as useModelFields } from "./index-C70T1sVm.js";
7
8
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "text-design",
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { eh as isObject, dH as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { ej as isObject, dJ as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,7 +1,8 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
+ import "@gct-paas/form-base";
5
6
  import "ant-design-vue";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "timediff-design",
@@ -1,9 +1,10 @@
1
1
  import { get, pick } from "lodash-es";
2
- import { F as FIELD_TYPE, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { F as FIELD_TYPE, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
+ import "@gct-paas/form-base";
5
6
  import "ant-design-vue";
6
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-BTt4zC25.js";
7
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-C70T1sVm.js";
7
8
  function getTraceLikeSelectProps(data) {
8
9
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
9
10
  const displayFields = (() => {
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-BTt4zC25.js";
4
- import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
3
+ import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-C70T1sVm.js";
4
+ import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
5
5
  import "dayjs";
6
+ import "@gct-paas/form-base";
6
7
  import "ant-design-vue";
7
8
  const _hoisted_1 = { class: "mt-4px" };
8
9
  const _hoisted_2 = ["id"];
@@ -1,10 +1,11 @@
1
- import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-Ls2829xQ.js";
2
- import { A, B, P, S, j, h, i, u } from "../index-Ls2829xQ.js";
1
+ import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-Nytm1-X9.js";
2
+ import { A, B, P, S, j, h, i, u } from "../index-Nytm1-X9.js";
3
3
  import { message } from "ant-design-vue";
4
- import { J as useModal, a8 as _export_sfc, E as api, ce as getParseRuleConfig, b1 as getParseRuleValue, c2 as calcFillData, aZ as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
4
+ import { J as useModal, a8 as _export_sfc, E as api, ce as getParseRuleConfig, b1 as getParseRuleValue, c2 as calcFillData, aZ as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
5
5
  import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, createVNode, createTextVNode, reactive, onMounted, createBlock, unref, withCtx, withKeys, withDirectives, createCommentVNode, vShow, computed, mergeProps, toHandlers } from "vue";
6
6
  import { cloneDeep } from "lodash-es";
7
7
  import "dayjs";
8
+ import "@gct-paas/form-base";
8
9
  import { VxeGrid } from "vxe-table";
9
10
  const _hoisted_1$2 = { class: "print-fill-background-selector" };
10
11
  const _hoisted_2$1 = { class: "selector-title" };
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BTt4zC25.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CEuFEVMv.js";
4
- import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-C70T1sVm.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js";
4
+ import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
+ import "@gct-paas/form-base";
7
8
  import "ant-design-vue";
8
- import { A as AlignEditor } from "./align-editor-Bpdx7EAg.js";
9
+ import { A as AlignEditor } from "./align-editor-BcbgVXRp.js";
9
10
  const _hoisted_1 = { class: "pl-6px" };
10
11
  const _hoisted_2 = { class: "flex justify-end" };
11
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, q as SelectEx } from "./index-BTt4zC25.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-C70T1sVm.js";
3
3
  import { defaults } from "lodash-es";
4
- import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cp as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
4
+ import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cp as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
5
5
  import "dayjs";
6
+ import "@gct-paas/form-base";
6
7
  import { message } from "ant-design-vue";
7
8
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
8
- import { S as SingleFieldDrop } from "./single-field-drop-DFjo8ISo.js";
9
+ import { S as SingleFieldDrop } from "./single-field-drop-CLjaHjL-.js";
9
10
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
11
  __name: "diagonal-name-editor",
11
12
  props: {
@@ -1,14 +1,14 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-BTt4zC25.js";
3
- import { S as SizeEditor } from "./size-editor-DKJpM9UW.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-C70T1sVm.js";
3
+ import { S as SizeEditor } from "./size-editor-C62H_eRP.js";
4
4
  import { message } from "ant-design-vue";
5
- import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
5
+ import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
- import { u as useWebUpload } from "./index-Ls2829xQ.js";
9
8
  import "@gct-paas/form-base";
9
+ import { u as useWebUpload } from "./index-Nytm1-X9.js";
10
10
  import "vxe-table";
11
- import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D8-YBa_f.js";
11
+ import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js";
12
12
  const resumeSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307154239'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7317'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M316%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208zM512%20622c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039zM512%20482c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039z'%20p-id='7318'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M880%20112H144c-17.7%200-32%2014.3-32%2032v736c0%2017.7%2014.3%2032%2032%2032h736c17.7%200%2032-14.3%2032-32V144c0-17.7-14.3-32-32-32z%20m-40%20728H184V184h656v656z'%20p-id='7319'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M648%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208z'%20p-id='7320'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
13
13
  const rotateSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595306944988'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1820'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M1464.3%20279.7'%20p-id='1821'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M512%20960c-60.5%200-119.1-11.9-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96s-73.4-89-96-142.4C75.9%20631.1%2064%20572.5%2064%20512s11.9-119.1%2035.2-174.4c22.6-53.4%2054.9-101.3%2096-142.4s89-73.4%20142.4-96C392.9%2075.9%20451.5%2064%20512%2064s119.1%2011.9%20174.4%2035.2c53.4%2022.6%20101.3%2054.9%20142.4%2096s73.4%2089%2096%20142.4C948.1%20392.9%20960%20451.5%20960%20512c0%2019.1-15.5%2034.6-34.6%2034.6s-34.6-15.5-34.6-34.6c0-51.2-10-100.8-29.8-147.4-19.1-45.1-46.4-85.6-81.2-120.4C745%20209.4%20704.5%20182%20659.4%20163c-46.7-19.7-96.3-29.8-147.4-29.8-51.2%200-100.8%2010-147.4%2029.8-45.1%2019.1-85.6%2046.4-120.4%2081.2S182%20319.5%20163%20364.6c-19.7%2046.7-29.8%2096.3-29.8%20147.4%200%2051.2%2010%20100.8%2029.8%20147.4%2019.1%2045.1%2046.4%2085.6%2081.2%20120.4C279%20814.6%20319.5%20842%20364.6%20861c46.7%2019.7%2096.3%2029.8%20147.4%2029.8%2064.6%200%20128.4-16.5%20184.4-47.8%2054.4-30.4%20100.9-74.1%20134.6-126.6%2010.3-16.1%2031.7-20.8%2047.8-10.4%2016.1%2010.3%2020.8%2031.7%2010.4%2047.8-39.8%2062-94.8%20113.7-159.1%20149.6-66.2%2037-141.7%2056.6-218.1%2056.6z'%20p-id='1822'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M924%20552c-19.8%200-36-16.2-36-36V228c0-19.8%2016.2-36%2036-36s36%2016.2%2036%2036v288c0%2019.8-16.2%2036-36%2036zM275.4%20575.5c9.5-2.5%2019.1%202.9%2022.3%2012.2%203.5%2010.2%209.9%2017.7%2019.1%2022.6%207.1%203.9%2015.1%205.8%2024%205.8%2016.6%200%2030.8-6.9%2042.5-20.8%2011.7-13.8%2020-32.7%2024.9-75.1-7.7%2012.2-17.3%2020.8-28.7%2025.8-11.4%205-23.7%207.4-36.8%207.4-26.7%200-47.7-8.3-63.3-24.9-15.5-16.6-23.3-37.9-23.3-64.1%200-25.1%207.7-47.1%2023-66.2%2015.3-19%2037.9-28.6%2067.8-28.6%2040.3%200%2068.1%2018.1%2083.4%2054.4%208.5%2019.9%2012.7%2044.9%2012.7%2074.9%200%2033.8-5.1%2063.8-15.3%2089.9-16.9%2043.5-45.5%2065.2-85.8%2065.2-27%200-47.6-7.1-61.6-21.2-10-10.1-16.4-22-19.3-35.8-2-9.6%204-19.1%2013.5-21.6l0.9%200.1z%20m103-74.4c9.4-7.5%2014.1-20.6%2014.1-39.3%200-16.8-4.2-29.3-12.7-37.5S360.6%20412%20347.5%20412c-14%200-25.2%204.7-33.4%2014.1-8.2%209.4-12.4%2022-12.4%2037.7%200%2014.9%203.6%2026.7%2010.9%2035.5%207.2%208.8%2018.8%2013.1%2034.6%2013.1%2011.4%200%2021.8-3.8%2031.2-11.3zM646.6%20414.4c12.4%2022.8%2018.5%2054%2018.5%2093.7%200%2037.6-5.6%2068.7-16.8%2093.3-16.2%2035.3-42.8%2052.9-79.6%2052.9-33.2%200-57.9-14.4-74.2-43.3-13.5-24.1-20.3-56.4-20.3-97%200-31.4%204.1-58.4%2012.2-80.9%2015.2-42%2042.7-63%2082.5-63%2035.9%200%2061.8%2014.8%2077.7%2044.3z%20m-40.2%20173.3c9.4-13.9%2014-39.9%2014-78%200-27.4-3.4-50-10.1-67.7-6.8-17.7-19.9-26.6-39.4-26.6-17.9%200-31%208.4-39.3%2025.2-8.3%2016.8-12.4%2041.6-12.4%2074.3%200%2024.6%202.6%2044.4%207.9%2059.4%208.1%2022.8%2022%2034.3%2041.6%2034.3%2015.7%200%2028.3-7%2037.7-20.9zM803.3%20387.2c11.2%2011.3%2016.8%2025%2016.8%2041.2%200%2016.7-5.8%2030.7-17.5%2041.8C791%20481.4%20777.4%20487%20762%20487c-17.1%200-31.2-5.8-42.1-17.4-10.9-11.6-16.4-25.1-16.4-40.6%200-16.5%205.8-30.4%2017.3-41.7%2011.5-11.3%2025.3-17%2041.2-17%2016.3%200%2030.1%205.7%2041.3%2016.9zM739.5%20451c6.2%206.2%2013.7%209.3%2022.5%209.3%208.4%200%2015.8-3.1%2022.1-9.3%206.3-6.2%209.4-13.7%209.4-22.6%200-8.5-3.1-15.9-9.3-22.1-6.2-6.2-13.6-9.3-22.2-9.3s-16.1%203.1-22.4%209.3c-6.3%206.2-9.4%2013.7-9.4%2022.6-0.1%208.4%203%2015.8%209.3%2022.1z'%20p-id='1823'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
14
14
  const scaleSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307195033'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8116'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M887.081%20904.791a25.8%2025.8%200%200%201-18.376-7.619L705.618%20734.075l-4.163%203.369c-58.255%2047.18-131.522%2073.16-206.32%2073.16-181.07%200-328.377-147.308-328.377-328.367%200-181.068%20147.308-328.376%20328.377-328.376%20181.063%200%20328.376%20147.308%20328.376%20328.376%200%2077.072-27.412%20152.07-77.169%20211.17l-3.522%204.173%20162.719%20162.744a25.846%2025.846%200%200%201%207.639%2018.432%2026.081%2026.081%200%200%201-26.051%2026.045l-0.046-0.01zM495.13%20205.957c-152.336%200-276.27%20123.935-276.27%20276.27%200%20152.33%20123.934%20276.27%20276.27%20276.27%20152.34%200%20276.275-123.94%20276.275-276.27%200-152.335-123.935-276.27-276.275-276.27z'%20fill='%23ffffff'%20p-id='8117'%3e%3c/path%3e%3cpath%20d='M626.545%20508.355h-262.83a26.127%2026.127%200%200%201%200-52.255h262.83a26.127%2026.127%200%200%201%200%2052.255z'%20fill='%23ffffff'%20p-id='8118'%3e%3c/path%3e%3cpath%20d='M495.13%20639.77a26.127%2026.127%200%200%201-26.128-26.128v-262.83a26.127%2026.127%200%200%201%2052.255%200v262.835a26.127%2026.127%200%200%201-26.127%2026.123z'%20fill='%23ffffff'%20p-id='8119'%3e%3c/path%3e%3c/svg%3e";
@@ -1,9 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, normalizeClass, toDisplayString, renderList, createBlock, normalizeStyle } from "vue";
2
- import { al as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { al as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
+ import "@gct-paas/form-base";
5
6
  import "ant-design-vue";
6
- import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-BTt4zC25.js";
7
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-C70T1sVm.js";
7
8
  const _hoisted_1 = { class: "ks-row-middle" };
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "widget-line",
@@ -1,12 +1,13 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
2
- import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
+ import "@gct-paas/form-base";
5
6
  import "ant-design-vue";
6
- import { F as FormItem, y as PaginationFormatOptions } from "./index-BTt4zC25.js";
7
- import { S as SizeEditor } from "./size-editor-DKJpM9UW.js";
8
- import { A as AlignEditor } from "./align-editor-Bpdx7EAg.js";
9
- import { F as FontEditor } from "./font-editor-Cdbnw5gf.js";
7
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-C70T1sVm.js";
8
+ import { S as SizeEditor } from "./size-editor-C62H_eRP.js";
9
+ import { A as AlignEditor } from "./align-editor-BcbgVXRp.js";
10
+ import { F as FontEditor } from "./font-editor-DseGyVgB.js";
10
11
  const _hoisted_1 = { class: "pl-6px" };
11
12
  const _hoisted_2 = { class: "pl-6px" };
12
13
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,11 +1,12 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-BTt4zC25.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DFjo8ISo.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-C70T1sVm.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-CLjaHjL-.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
- import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
5
+ import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
6
6
  import { message } from "ant-design-vue";
7
7
  import "lodash-es";
8
8
  import "dayjs";
9
+ import "@gct-paas/form-base";
9
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  __name: "widget-power",
11
12
  props: {
@@ -1,9 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BTt4zC25.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CEuFEVMv.js";
4
- import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-C70T1sVm.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js";
4
+ import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
+ import "@gct-paas/form-base";
7
8
  import "ant-design-vue";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "widget-qrcode",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-BTt4zC25.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-DFjo8ISo.js";
2
+ import { F as FormItem } from "./index-C70T1sVm.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-CLjaHjL-.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
- import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
5
+ import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
6
6
  import { message } from "ant-design-vue";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "widget-rangelimit",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-BTt4zC25.js";
2
+ import { F as FormItem } from "./index-C70T1sVm.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, F as FormItem } from "./index-BTt4zC25.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CEuFEVMv.js";
4
- import { S as SizeEditor } from "./size-editor-DKJpM9UW.js";
5
- import { A as AlignEditor } from "./align-editor-Bpdx7EAg.js";
6
- import { F as FontEditor } from "./font-editor-Cdbnw5gf.js";
2
+ import { u as useSpreadSheet, F as FormItem } from "./index-C70T1sVm.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js";
4
+ import { S as SizeEditor } from "./size-editor-C62H_eRP.js";
5
+ import { A as AlignEditor } from "./align-editor-BcbgVXRp.js";
6
+ import { F as FontEditor } from "./font-editor-DseGyVgB.js";
7
7
  const _hoisted_1 = { class: "pl-6px" };
8
8
  const _hoisted_2 = { class: "pl-6px" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-BTt4zC25.js";
3
- import { F as FIELD_TYPE, am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D-u5mq0C.js";
2
+ import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-C70T1sVm.js";
3
+ import { F as FIELD_TYPE, am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
+ import "@gct-paas/form-base";
6
7
  import "ant-design-vue";
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "widget-timediff",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/excel",
3
- "version": "0.1.39-beta.2",
3
+ "version": "0.1.40-beta.1",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@ant-design/icons-vue": "^6.1.0",
51
51
  "@gct-paas/core": "0.1.6-dev.41",
52
- "@gct-paas/form-base": "0.1.2-beta.0",
52
+ "@gct-paas/form-base": "0.1.2-beta.2",
53
53
  "@gct-paas/scss": "0.1.6-dev.41",
54
54
  "@panzoom/panzoom": "^4.6.2",
55
55
  "@revolist/vue3-datagrid": "^4.24.2",
@@ -1,4 +0,0 @@
1
- import { k as _sfc_main } from "./index-BTt4zC25.js";
2
- export {
3
- _sfc_main as default
4
- };