vft 0.0.177 → 0.0.179
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.
- package/es/components/button/use-button.js +3 -3
- package/es/components/index.js +113 -113
- package/es/components/super-form/index.d.ts +12 -12
- package/es/components/super-form/super-form.vue.d.ts +4 -4
- package/es/components/verify-code/index.d.ts +4 -4
- package/es/components/verify-code/verify-code.vue.d.ts +4 -4
- package/es/index.js +113 -113
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/super-form/index.d.ts +12 -12
- package/lib/components/super-form/super-form.vue.d.ts +4 -4
- package/lib/components/verify-code/index.d.ts +4 -4
- package/lib/components/verify-code/verify-code.vue.d.ts +4 -4
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +5 -5
- package/web-types.json +1 -1
|
@@ -3,11 +3,11 @@ import "../form/index.js";
|
|
|
3
3
|
import { useThrottleFn as T } from "@vueuse/core";
|
|
4
4
|
import { inject as _, computed as i, ref as k, useSlots as p, Text as I } from "vue";
|
|
5
5
|
import { buttonGroupContextKey as S } from "./constants.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useFormItem as z } from "../form/hooks/use-form-item.js";
|
|
7
|
+
import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.js";
|
|
8
8
|
import { useFormSize as D, useFormDisabled as j } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const H = (t, u) => {
|
|
10
|
-
const o = _(S, void 0), m =
|
|
10
|
+
const o = _(S, void 0), m = C("button"), { form: s } = z(), d = D(i(() => o == null ? void 0 : o.size)), c = j(), f = k(), r = p(), h = i(() => t.type || (o == null ? void 0 : o.type) || ""), g = i(
|
|
11
11
|
() => {
|
|
12
12
|
var e;
|
|
13
13
|
return t.autoInsertSpace ?? ((e = m.value) == null ? void 0 : e.autoInsertSpace) ?? !1;
|
package/es/components/index.js
CHANGED
|
@@ -89,45 +89,45 @@ import { VftLoading as he } from "./loading/index.js";
|
|
|
89
89
|
import { VftMessage as Be, VftMessage as He } from "./message/index.js";
|
|
90
90
|
import { VftInfiniteScroll as Je } from "./infinite-scroll/index.js";
|
|
91
91
|
import { VftProgressI as je } from "./progress-i/index.js";
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import { default as Yt } from "./popper/
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
92
|
+
import { default as We } from "./time-picker/common/picker.vue2.js";
|
|
93
|
+
import { default as Ze } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
94
|
+
import { buttonGroupContextKey as ot } from "./button/constants.js";
|
|
95
|
+
import { checkboxGroupContextKey as et } from "./checkbox/constants.js";
|
|
96
|
+
import { configProviderContextKey as ft, messageConfig as mt } from "./config-provider/constants.js";
|
|
97
|
+
import { provideGlobalConfig as xt, useGlobalComponentSettings as at, useGlobalConfig as it } from "./config-provider/hooks/use-global-config.js";
|
|
98
|
+
import { ROOT_PICKER_INJECTION_KEY as nt, datePickerConfig as st } from "./date-picker/constants.js";
|
|
99
|
+
import { datePickerProps as ut } from "./date-picker/props/date-picker.js";
|
|
100
|
+
import { dialogInjectionKey as ct } from "./dialog/constants.js";
|
|
101
|
+
import { useDialog as Tt } from "./dialog/hooks/use-dialog.js";
|
|
102
|
+
import { DROPDOWN_INJECTION_KEY as gt } from "./dropdown/tokens.js";
|
|
103
|
+
import { EmptyEnum as Et } from "./empty/constants.js";
|
|
104
|
+
import { formContextKey as Mt, formItemContextKey as Ft } from "./form/constants.js";
|
|
105
|
+
import { useDisabled as Lt, useFormDisabled as yt, useFormSize as bt, useSize as _t } from "./form/hooks/use-form-common-props.js";
|
|
106
|
+
import { useFormItem as Kt, useFormItemInputId as kt } from "./form/hooks/use-form-item.js";
|
|
107
|
+
import { formItemValidateStates as Rt } from "./form/types.js";
|
|
108
|
+
import { MenuTypeEnum as Ot } from "./horizontal-menu/constants.js";
|
|
109
|
+
import { initAffixTabs as zt, useTabsDrag as Nt } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
110
|
+
import { useTabDropdown as Ut } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
111
|
+
import { usePagination as Ht, vftPaginationKey as qt } from "./pagination/usePagination.js";
|
|
112
|
+
import { default as Yt } from "./popper/arrow.vue2.js";
|
|
113
|
+
import { default as Qt } from "./popper/content.vue2.js";
|
|
114
|
+
import { default as Xt } from "./popper/trigger.vue2.js";
|
|
115
|
+
import { radioGroupKey as $t } from "./radio/constants.js";
|
|
116
|
+
import { rowContextKey as rf } from "./row/constants.js";
|
|
117
|
+
import { scrollbarContextKey as tf } from "./scrollbar/constants.js";
|
|
118
|
+
import { BAR_MAP as mf, GAP as pf, renderThumbStyle as xf } from "./scrollbar/util.js";
|
|
119
|
+
import { selectInjectionKey as Vf } from "./select/token.js";
|
|
120
|
+
import { sliderContextKey as sf } from "./slider/constants.js";
|
|
121
|
+
import { sliderEmits as uf } from "./slider/slider.js";
|
|
122
|
+
import { spaceProps as cf } from "./space/space.js";
|
|
123
|
+
import { useSpace as Tf } from "./space/use-space.js";
|
|
124
|
+
import { ACTION_FIELD as gf, CHECKED_FIELD as Df, CREATE_TIME_FIELD as Ef, DATE_FIELD as Pf, DATE_TIME_FIELD as Mf, ID_FIELD as Ff, NAME_FIELD as Sf, SEQ_FIELD as Lf, STATUS_FIELD as yf, UPDATE_TIME_FIELD as bf } from "./table/field.js";
|
|
125
|
+
import { useTable as Af } from "./table/use/use-table.js";
|
|
126
|
+
import { addRequire as kf, removeRequire as vf, selectMapping as Rf } from "./table/utils.js";
|
|
127
|
+
import { TabsRootContextKey as Of } from "./tabs/types.js";
|
|
128
|
+
import { timePickerDefaultProps as zf } from "./time-picker/common/props.js";
|
|
129
|
+
import { DEFAULT_FORMATS_DATE as hf, DEFAULT_FORMATS_DATEPICKER as Uf, DEFAULT_FORMATS_TIME as Bf, timeUnits as Hf } from "./time-picker/constants.js";
|
|
130
|
+
import { buildTimeList as Jf, dateEquals as Yf, extractDateFormat as jf, extractTimeFormat as Qf, formatter as Wf, makeList as Xf, parseDate as Zf, rangeArr as $f, valueEquals as om } from "./time-picker/utils.js";
|
|
131
131
|
import { TOOLTIP_INJECTION_KEY as em } from "./tooltip/constants.js";
|
|
132
132
|
import { getChildState as fm } from "./tree/model/node.js";
|
|
133
133
|
import { dragEventsKey as pm, useDragNodeHandler as xm } from "./tree/model/useDragNode.js";
|
|
@@ -140,36 +140,36 @@ import { vLoading as ym, createLoadingDirective as bm, vLoading as _m } from "./
|
|
|
140
140
|
import { Loading as Km } from "./loading/service.js";
|
|
141
141
|
import { messageDefaults as vm, messageTypes as Rm } from "./message/types.js";
|
|
142
142
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
143
|
+
gf as ACTION_FIELD,
|
|
144
|
+
mf as BAR_MAP,
|
|
145
|
+
Df as CHECKED_FIELD,
|
|
146
|
+
Ef as CREATE_TIME_FIELD,
|
|
147
|
+
We as CommonPicker,
|
|
148
|
+
Pf as DATE_FIELD,
|
|
149
|
+
Mf as DATE_TIME_FIELD,
|
|
150
|
+
hf as DEFAULT_FORMATS_DATE,
|
|
151
|
+
Uf as DEFAULT_FORMATS_DATEPICKER,
|
|
152
|
+
Bf as DEFAULT_FORMATS_TIME,
|
|
153
|
+
gt as DROPDOWN_INJECTION_KEY,
|
|
154
154
|
oe as DynamicSizeGrid,
|
|
155
155
|
ee as DynamicSizeList,
|
|
156
|
-
|
|
156
|
+
Et as EmptyEnum,
|
|
157
157
|
fe as FixedSizeGrid,
|
|
158
158
|
pe as FixedSizeList,
|
|
159
159
|
sm as FormCompEnum,
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
pf as GAP,
|
|
161
|
+
Ff as ID_FIELD,
|
|
162
162
|
Po as Icon,
|
|
163
|
-
|
|
163
|
+
Ot as MenuTypeEnum,
|
|
164
164
|
Be as Message,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
Sf as NAME_FIELD,
|
|
166
|
+
nt as ROOT_PICKER_INJECTION_KEY,
|
|
167
|
+
Lf as SEQ_FIELD,
|
|
168
|
+
yf as STATUS_FIELD,
|
|
169
169
|
em as TOOLTIP_INJECTION_KEY,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
Of as TabsRootContextKey,
|
|
171
|
+
Ze as TimePickPanel,
|
|
172
|
+
bf as UPDATE_TIME_FIELD,
|
|
173
173
|
e as VftAlert,
|
|
174
174
|
k as VftAside,
|
|
175
175
|
le as VftAutocomplete,
|
|
@@ -246,9 +246,9 @@ export {
|
|
|
246
246
|
fr as VftPopconfirm,
|
|
247
247
|
pr as VftPopover,
|
|
248
248
|
ar as VftPopper,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
Yt as VftPopperArrow,
|
|
250
|
+
Qt as VftPopperContent,
|
|
251
|
+
Xt as VftPopperTrigger,
|
|
252
252
|
Ie as VftProgress,
|
|
253
253
|
je as VftProgressI,
|
|
254
254
|
Vr as VftQrcode,
|
|
@@ -281,77 +281,77 @@ export {
|
|
|
281
281
|
De as VftUpload,
|
|
282
282
|
Zr as VftVerifyCode,
|
|
283
283
|
lm as add,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
284
|
+
kf as addRequire,
|
|
285
|
+
Jf as buildTimeList,
|
|
286
|
+
ot as buttonGroupContextKey,
|
|
287
287
|
Sm as carouselContextKey,
|
|
288
|
-
|
|
288
|
+
et as checkboxGroupContextKey,
|
|
289
289
|
um as componentMap,
|
|
290
|
-
|
|
290
|
+
ft as configProviderContextKey,
|
|
291
291
|
z as createContextMenu,
|
|
292
292
|
bm as createLoadingDirective,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
Yf as dateEquals,
|
|
294
|
+
st as datePickerConfig,
|
|
295
|
+
ut as datePickerProps,
|
|
296
296
|
dm as del,
|
|
297
297
|
N as destroyContextMenu,
|
|
298
|
-
|
|
298
|
+
ct as dialogInjectionKey,
|
|
299
299
|
pm as dragEventsKey,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
300
|
+
jf as extractDateFormat,
|
|
301
|
+
Qf as extractTimeFormat,
|
|
302
|
+
Mt as formContextKey,
|
|
303
|
+
Ft as formItemContextKey,
|
|
304
|
+
Rt as formItemValidateStates,
|
|
305
|
+
Wf as formatter,
|
|
306
306
|
Pm as genFileId,
|
|
307
307
|
fm as getChildState,
|
|
308
308
|
gm as getDynamicProps,
|
|
309
|
-
|
|
309
|
+
zt as initAffixTabs,
|
|
310
310
|
cm as isDatePicker,
|
|
311
311
|
Im as isInput,
|
|
312
312
|
Tm as isRangePicker,
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
Xf as makeList,
|
|
314
|
+
mt as messageConfig,
|
|
315
315
|
vm as messageDefaults,
|
|
316
316
|
Rm as messageTypes,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
317
|
+
Zf as parseDate,
|
|
318
|
+
xt as provideGlobalConfig,
|
|
319
|
+
$t as radioGroupKey,
|
|
320
|
+
$f as rangeArr,
|
|
321
|
+
vf as removeRequire,
|
|
322
|
+
xf as renderThumbStyle,
|
|
323
|
+
rf as rowContextKey,
|
|
324
|
+
tf as scrollbarContextKey,
|
|
325
|
+
Vf as selectInjectionKey,
|
|
326
|
+
Rf as selectMapping,
|
|
327
|
+
sf as sliderContextKey,
|
|
328
|
+
uf as sliderEmits,
|
|
329
|
+
cf as spaceProps,
|
|
330
|
+
zf as timePickerDefaultProps,
|
|
331
|
+
Hf as timeUnits,
|
|
332
332
|
Mm as uploadContextKey,
|
|
333
333
|
U as useContextMenu,
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
Tt as useDialog,
|
|
335
|
+
Lt as useDisabled,
|
|
336
336
|
xm as useDragNodeHandler,
|
|
337
337
|
Dm as useForm,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
338
|
+
yt as useFormDisabled,
|
|
339
|
+
Kt as useFormItem,
|
|
340
|
+
kt as useFormItemInputId,
|
|
341
|
+
bt as useFormSize,
|
|
342
|
+
at as useGlobalComponentSettings,
|
|
343
|
+
it as useGlobalConfig,
|
|
344
344
|
im as useModal,
|
|
345
345
|
Vm as useModalInner,
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
346
|
+
Ht as usePagination,
|
|
347
|
+
_t as useSize,
|
|
348
|
+
Tf as useSpace,
|
|
349
|
+
Ut as useTabDropdown,
|
|
350
|
+
Af as useTable,
|
|
351
|
+
Nt as useTabsDrag,
|
|
352
352
|
_m as vLoading,
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
om as valueEquals,
|
|
354
|
+
qt as vftPaginationKey,
|
|
355
355
|
ae as virtualizedGridProps,
|
|
356
356
|
ie as virtualizedListProps,
|
|
357
357
|
Ve as virtualizedProps,
|
|
@@ -147,8 +147,8 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
147
147
|
};
|
|
148
148
|
}>> & {
|
|
149
149
|
onReset?: ((data: import("vft/es/components/types").Recordable) => any) | undefined;
|
|
150
|
-
onSubmit?: ((
|
|
151
|
-
onRegister?: ((
|
|
150
|
+
onSubmit?: ((formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => any) | undefined;
|
|
151
|
+
onRegister?: ((formAction: (instance: import("./types").FormActionType) => void) => any) | undefined;
|
|
152
152
|
"onField-value-change"?: (() => any) | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
getFieldsValue: () => import("vft/es/components/types").Recordable;
|
|
@@ -166,9 +166,9 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
166
166
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
167
167
|
getSchema: globalThis.ComputedRef<import("./types").FormSchema[]>;
|
|
168
168
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
169
|
-
register: (
|
|
169
|
+
register: (formAction: (instance: import("./types").FormActionType) => void) => void;
|
|
170
170
|
reset: (data: import("vft/es/components/types").Recordable) => void;
|
|
171
|
-
submit: (
|
|
171
|
+
submit: (formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => void;
|
|
172
172
|
"field-value-change": () => void;
|
|
173
173
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
174
174
|
size: {
|
|
@@ -318,8 +318,8 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
318
318
|
};
|
|
319
319
|
}>> & {
|
|
320
320
|
onReset?: ((data: import("vft/es/components/types").Recordable) => any) | undefined;
|
|
321
|
-
onSubmit?: ((
|
|
322
|
-
onRegister?: ((
|
|
321
|
+
onSubmit?: ((formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => any) | undefined;
|
|
322
|
+
onRegister?: ((formAction: (instance: import("./types").FormActionType) => void) => any) | undefined;
|
|
323
323
|
"onField-value-change"?: (() => any) | undefined;
|
|
324
324
|
}, {
|
|
325
325
|
size: "" | "default" | "small" | "large";
|
|
@@ -496,8 +496,8 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
496
496
|
};
|
|
497
497
|
}>> & {
|
|
498
498
|
onReset?: ((data: import("vft/es/components/types").Recordable) => any) | undefined;
|
|
499
|
-
onSubmit?: ((
|
|
500
|
-
onRegister?: ((
|
|
499
|
+
onSubmit?: ((formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => any) | undefined;
|
|
500
|
+
onRegister?: ((formAction: (instance: import("./types").FormActionType) => void) => any) | undefined;
|
|
501
501
|
"onField-value-change"?: (() => any) | undefined;
|
|
502
502
|
}, {
|
|
503
503
|
getFieldsValue: () => import("vft/es/components/types").Recordable;
|
|
@@ -686,8 +686,8 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
686
686
|
};
|
|
687
687
|
}>> & {
|
|
688
688
|
onReset?: ((data: import("vft/es/components/types").Recordable) => any) | undefined;
|
|
689
|
-
onSubmit?: ((
|
|
690
|
-
onRegister?: ((
|
|
689
|
+
onSubmit?: ((formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => any) | undefined;
|
|
690
|
+
onRegister?: ((formAction: (instance: import("./types").FormActionType) => void) => any) | undefined;
|
|
691
691
|
"onField-value-change"?: (() => any) | undefined;
|
|
692
692
|
}, {
|
|
693
693
|
getFieldsValue: () => import("vft/es/components/types").Recordable;
|
|
@@ -705,9 +705,9 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
705
705
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
706
706
|
getSchema: globalThis.ComputedRef<import("./types").FormSchema[]>;
|
|
707
707
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
708
|
-
register: (
|
|
708
|
+
register: (formAction: (instance: import("./types").FormActionType) => void) => void;
|
|
709
709
|
reset: (data: import("vft/es/components/types").Recordable) => void;
|
|
710
|
-
submit: (
|
|
710
|
+
submit: (formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => void;
|
|
711
711
|
"field-value-change": () => void;
|
|
712
712
|
}, string, {
|
|
713
713
|
size: "" | "default" | "small" | "large";
|
|
@@ -39,9 +39,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
39
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
40
40
|
getSchema: globalThis.ComputedRef<FormSchema[]>;
|
|
41
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
-
register: (
|
|
42
|
+
register: (formAction: (instance: FormActionType) => void) => void;
|
|
43
43
|
reset: (data: Recordable) => void;
|
|
44
|
-
submit: (
|
|
44
|
+
submit: (formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => void;
|
|
45
45
|
"field-value-change": () => void;
|
|
46
46
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SuperFormProps>, {
|
|
47
47
|
size: string;
|
|
@@ -67,8 +67,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
67
|
actionInline: boolean;
|
|
68
68
|
}>>> & {
|
|
69
69
|
onReset?: ((data: Recordable) => any) | undefined;
|
|
70
|
-
onSubmit?: ((
|
|
71
|
-
onRegister?: ((
|
|
70
|
+
onSubmit?: ((formData: Record<string, any>, isChange?: boolean | undefined, changeData?: any[] | undefined) => any) | undefined;
|
|
71
|
+
onRegister?: ((formAction: (instance: FormActionType) => void) => any) | undefined;
|
|
72
72
|
"onField-value-change"?: (() => any) | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
size: "" | "default" | "small" | "large";
|
|
@@ -12,9 +12,7 @@ export declare const VftVerifyCode: import("vft/es/utils").SFCWithInstall<import
|
|
|
12
12
|
getCode: () => void;
|
|
13
13
|
code: globalThis.Ref<string>;
|
|
14
14
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
|
|
16
|
-
click: void;
|
|
17
|
-
} & string]: (...args: any[]) => void;
|
|
15
|
+
click: () => void;
|
|
18
16
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
19
17
|
height: {
|
|
20
18
|
type: globalThis.PropType<number>;
|
|
@@ -25,5 +23,7 @@ export declare const VftVerifyCode: import("vft/es/utils").SFCWithInstall<import
|
|
|
25
23
|
radius: {
|
|
26
24
|
type: globalThis.PropType<string | number>;
|
|
27
25
|
};
|
|
28
|
-
}
|
|
26
|
+
}>> & {
|
|
27
|
+
onClick?: (() => any) | undefined;
|
|
28
|
+
}, {}, {}>> & Record<string, any>;
|
|
29
29
|
export default VftVerifyCode;
|
|
@@ -7,10 +7,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
7
7
|
getCode: () => void;
|
|
8
8
|
code: globalThis.Ref<string>;
|
|
9
9
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
10
|
+
click: () => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<VerifyCodeProps>>> & {
|
|
12
|
+
onClick?: (() => any) | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|