vft 0.0.390 → 0.0.392
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/autocomplete/autocomplete.vue.d.ts +3 -3
- package/es/components/autocomplete/index.d.ts +7 -7
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +12 -12
- package/es/components/button/use-button.d.ts +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/cascader/cascader.vue.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +27 -27
- package/es/components/color-picker/index.d.ts +6 -6
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +2 -2
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/es/components/date-picker/date-picker.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +6 -6
- package/es/components/date-picker/panel-utils.d.ts +6 -6
- package/es/components/date-picker/props/date-picker.d.ts +1 -1
- package/es/components/date-picker/props/panel-date-pick.d.ts +1 -1
- package/es/components/date-picker/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker/props/shared.d.ts +1 -1
- package/es/components/dropdown/index.d.ts +9 -9
- package/es/components/form/index.d.ts +18 -18
- package/es/components/index.js +163 -155
- package/es/components/input/index.d.ts +5 -5
- package/es/components/input/input.vue.d.ts +2 -2
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-number/index.d.ts +1 -1
- package/es/components/input-number/input-number.vue.d.ts +1 -1
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/input-tag/input-tag.vue.d.ts +4 -4
- package/es/components/radio/index.d.ts +18 -18
- package/es/components/search/index.d.ts +3 -3
- package/es/components/search/search.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +2 -2
- package/es/components/select/select.vue.d.ts +2 -2
- package/es/components/slider/index.d.ts +1 -1
- package/es/components/slider/slider.vue.d.ts +1 -1
- package/es/components/super-form/component-map.d.ts +42 -1
- package/es/components/super-form/component-map.js +60 -30
- package/es/components/super-form/index.js +20 -12
- package/es/components/super-form/super-form-item.vue2.js +4 -5
- package/es/components/super-form/types.d.ts +2 -2
- package/es/components/super-form/types.js +1 -5
- package/es/components/super-form/use/helper.d.ts +1 -1
- package/es/components/super-form/use/helper.js +32 -37
- package/es/components/super-form/use/use-auto-focus.js +15 -19
- package/es/components/super-form/use/use-form-events.js +67 -70
- package/es/components/switch/index.d.ts +6 -6
- package/es/components/table/index.d.ts +9 -9
- package/es/components/table/table.vue2.js +22 -22
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/tabs.vue.d.ts +2 -2
- package/es/components/time-picker/common/picker.vue.d.ts +2 -2
- package/es/components/tree/tree-node.vue.d.ts +18 -18
- package/es/index.js +1 -2
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/index.d.ts +0 -1
- package/es/utils/index.js +71 -80
- package/es/utils/vue/vnode.js +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +3 -3
- package/lib/components/autocomplete/index.d.ts +7 -7
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +12 -12
- package/lib/components/button/use-button.d.ts +1 -1
- package/lib/components/cascader/cascader.vue.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +27 -27
- package/lib/components/color-picker/index.d.ts +6 -6
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +2 -2
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/lib/components/date-picker/date-picker.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +6 -6
- package/lib/components/date-picker/panel-utils.d.ts +6 -6
- package/lib/components/date-picker/props/date-picker.d.ts +1 -1
- package/lib/components/date-picker/props/panel-date-pick.d.ts +1 -1
- package/lib/components/date-picker/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker/props/shared.d.ts +1 -1
- package/lib/components/dropdown/index.d.ts +9 -9
- package/lib/components/form/index.d.ts +18 -18
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.d.ts +5 -5
- package/lib/components/input/input.vue.d.ts +2 -2
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.d.ts +1 -1
- package/lib/components/input-number/input-number.vue.d.ts +1 -1
- package/lib/components/input-tag/input-tag.vue.d.ts +4 -4
- package/lib/components/radio/index.d.ts +18 -18
- package/lib/components/search/index.d.ts +3 -3
- package/lib/components/search/search.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +2 -2
- package/lib/components/select/select.vue.d.ts +2 -2
- package/lib/components/slider/index.d.ts +1 -1
- package/lib/components/slider/slider.vue.d.ts +1 -1
- package/lib/components/super-form/component-map.cjs +1 -1
- package/lib/components/super-form/component-map.d.ts +42 -1
- package/lib/components/super-form/index.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/types.cjs +1 -1
- package/lib/components/super-form/types.d.ts +2 -2
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/super-form/use/helper.d.ts +1 -1
- package/lib/components/super-form/use/use-auto-focus.cjs +1 -1
- package/lib/components/super-form/use/use-form-events.cjs +1 -1
- package/lib/components/switch/index.d.ts +6 -6
- package/lib/components/table/index.d.ts +9 -9
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/tabs.vue.d.ts +2 -2
- package/lib/components/time-picker/common/picker.vue.d.ts +2 -2
- package/lib/components/tree/tree-node.vue.d.ts +18 -18
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +0 -1
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/es/utils/form-register.d.ts +0 -42
- package/es/utils/form-register.js +0 -35
- package/lib/utils/form-register.cjs +0 -1
- package/lib/utils/form-register.d.ts +0 -42
|
@@ -99,9 +99,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
})>;
|
|
100
100
|
TreeCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
101
101
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
size: {
|
|
103
|
-
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
104
|
-
};
|
|
105
102
|
label: {
|
|
106
103
|
type: import("vue").PropType<string | number>;
|
|
107
104
|
};
|
|
@@ -120,6 +117,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
120
117
|
id: {
|
|
121
118
|
type: import("vue").PropType<string>;
|
|
122
119
|
};
|
|
120
|
+
size: {
|
|
121
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
122
|
+
};
|
|
123
123
|
modelValue: {
|
|
124
124
|
type: import("vue").PropType<string | number | boolean>;
|
|
125
125
|
};
|
|
@@ -161,9 +161,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
M: {};
|
|
162
162
|
Defaults: {};
|
|
163
163
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
-
size: {
|
|
165
|
-
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
166
|
-
};
|
|
167
164
|
label: {
|
|
168
165
|
type: import("vue").PropType<string | number>;
|
|
169
166
|
};
|
|
@@ -182,6 +179,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
179
|
id: {
|
|
183
180
|
type: import("vue").PropType<string>;
|
|
184
181
|
};
|
|
182
|
+
size: {
|
|
183
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
184
|
+
};
|
|
185
185
|
modelValue: {
|
|
186
186
|
type: import("vue").PropType<string | number | boolean>;
|
|
187
187
|
};
|
|
@@ -217,9 +217,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
217
217
|
__isTeleport?: never;
|
|
218
218
|
__isSuspense?: never;
|
|
219
219
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
220
|
-
size: {
|
|
221
|
-
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
222
|
-
};
|
|
223
220
|
label: {
|
|
224
221
|
type: import("vue").PropType<string | number>;
|
|
225
222
|
};
|
|
@@ -238,6 +235,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
238
235
|
id: {
|
|
239
236
|
type: import("vue").PropType<string>;
|
|
240
237
|
};
|
|
238
|
+
size: {
|
|
239
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
240
|
+
};
|
|
241
241
|
modelValue: {
|
|
242
242
|
type: import("vue").PropType<string | number | boolean>;
|
|
243
243
|
};
|
|
@@ -448,9 +448,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
448
448
|
});
|
|
449
449
|
CheckboxGroup: {
|
|
450
450
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
451
|
-
size: {
|
|
452
|
-
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
453
|
-
};
|
|
454
451
|
label: {
|
|
455
452
|
type: import("vue").PropType<string>;
|
|
456
453
|
};
|
|
@@ -460,6 +457,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
460
457
|
fill: {
|
|
461
458
|
type: import("vue").PropType<string>;
|
|
462
459
|
};
|
|
460
|
+
size: {
|
|
461
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
462
|
+
};
|
|
463
463
|
modelValue: {
|
|
464
464
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
465
465
|
default: () => never[];
|
|
@@ -505,9 +505,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
505
505
|
M: {};
|
|
506
506
|
Defaults: {};
|
|
507
507
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
508
|
-
size: {
|
|
509
|
-
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
510
|
-
};
|
|
511
508
|
label: {
|
|
512
509
|
type: import("vue").PropType<string>;
|
|
513
510
|
};
|
|
@@ -517,6 +514,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
517
514
|
fill: {
|
|
518
515
|
type: import("vue").PropType<string>;
|
|
519
516
|
};
|
|
517
|
+
size: {
|
|
518
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
519
|
+
};
|
|
520
520
|
modelValue: {
|
|
521
521
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
522
522
|
default: () => never[];
|
|
@@ -556,9 +556,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
556
556
|
__isTeleport?: never;
|
|
557
557
|
__isSuspense?: never;
|
|
558
558
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
559
|
-
size: {
|
|
560
|
-
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
561
|
-
};
|
|
562
559
|
label: {
|
|
563
560
|
type: import("vue").PropType<string>;
|
|
564
561
|
};
|
|
@@ -568,6 +565,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
568
565
|
fill: {
|
|
569
566
|
type: import("vue").PropType<string>;
|
|
570
567
|
};
|
|
568
|
+
size: {
|
|
569
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
570
|
+
};
|
|
571
571
|
modelValue: {
|
|
572
572
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
573
573
|
default: () => never[];
|
package/es/index.js
CHANGED
|
@@ -126,7 +126,6 @@ export { ZINDEX_INJECTION_KEY, defaultInitialZIndex, useZIndex, zIndexContextKey
|
|
|
126
126
|
export { useCalcInputWidth } from "./hooks/use-calc-input-width/index.js";
|
|
127
127
|
export { useComposition } from "./hooks/use-composition/index.js";
|
|
128
128
|
export { useFocusController } from "./hooks/use-focus-controller/index.js";
|
|
129
|
-
export { FormCompEnum, clearComponents, getComponent, getRegisteredComponents, hasComponent, registerComponent, registerComponents, removeComponent } from "./utils/form-register.js";
|
|
130
129
|
export { attemptFocus, focusNode, getSibling, isFocusable, isLeaf, isVisible, obtainAllFocusableElements, triggerEvent } from "./utils/dom/aria.js";
|
|
131
130
|
export { getClientXY, getOffsetTop, getOffsetTopDistance, isInContainer } from "./utils/dom/position.js";
|
|
132
131
|
export { getScrollBarWidth, getScrollContainer, isScroll, scrollIntoView } from "./utils/dom/scroll.js";
|
|
@@ -203,7 +202,7 @@ export { watermarkProps } from "./components/watermark/watermark.js";
|
|
|
203
202
|
export { vLoading, createLoadingDirective } from "./components/loading/directive.js";
|
|
204
203
|
export { Loading } from "./components/loading/service.js";
|
|
205
204
|
export { messageDefaults, messageTypes } from "./components/message/types.js";
|
|
206
|
-
export { isDatePicker, isInput, isRangePicker } from "./components/super-form/component-map.js";
|
|
205
|
+
export { FormCompEnum, clearComponents, getComponent, getRegisteredComponents, hasComponent, isDatePicker, isInput, isRangePicker, registerComponent, registerComponents, removeComponent } from "./components/super-form/component-map.js";
|
|
207
206
|
export { getDynamicProps, useForm } from "./components/super-form/use/use-form.js";
|
|
208
207
|
|
|
209
208
|
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
package/es/utils/index.d.ts
CHANGED
package/es/utils/index.js
CHANGED
|
@@ -1,82 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { PatchFlags as ce, ensureOnlyChild as xe, flattedChildren as ue, getFirstValidNode as he, getNormalizedProps as Fe, isComment as be, isFragment as Ve, isTemplate as Pe, isText as Se, isValidElementNode as we, renderBlock as ye, renderIf as Ee } from "./vue/vnode.js";
|
|
1
|
+
import { attemptFocus as o, focusNode as t, getSibling as s, isFocusable as i, isLeaf as l, isVisible as n, obtainAllFocusableElements as a, triggerEvent as p } from "./dom/aria.js";
|
|
2
|
+
import { getClientXY as f, getOffsetTop as d, getOffsetTopDistance as c, isInContainer as g } from "./dom/position.js";
|
|
3
|
+
import { getScrollBarWidth as u, getScrollContainer as C, isScroll as h, scrollIntoView as b } from "./dom/scroll.js";
|
|
4
|
+
import { debugWarn as V, throwError as P } from "./error.js";
|
|
5
|
+
import { composeEventHandlers as w, whenMouse as y } from "./event.js";
|
|
6
|
+
import { addUnit as E, castArray as T, getComponentSize as N, getSizeType as v, isValidComponentSize as z, unique as A } from "./helper.js";
|
|
7
|
+
import { cssVarValue as B, generateCssVars as D, primaryColor as R, setCssVar as W, setPrimaryColorCssvars as k } from "./ns-cover.js";
|
|
8
|
+
import { mutable as H } from "./typescript.js";
|
|
9
|
+
import { escapeStringRegexp as L } from "./vue/data-helper.js";
|
|
10
|
+
import { withInstall as U, withInstallDirective as X, withInstallFunction as Y, withNoopInstall as j } from "./vue/install.js";
|
|
11
|
+
import { buildProp as J, buildProps as Q, definePropType as Z, epPropKey as _, isEpProp as $ } from "./vue/props/runtime.js";
|
|
12
|
+
import { cAF as re, rAF as oe } from "./vue/raf.js";
|
|
13
|
+
import { composeRefs as se } from "./vue/refs.js";
|
|
14
|
+
import { PatchFlags as le, ensureOnlyChild as ne, flattedChildren as ae, getFirstValidNode as pe, getNormalizedProps as me, isComment as fe, isFragment as de, isTemplate as ce, isText as ge, isValidElementNode as xe, renderBlock as ue, renderIf as Ce } from "./vue/vnode.js";
|
|
16
15
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Y as
|
|
73
|
-
j as
|
|
74
|
-
z as throwError,
|
|
75
|
-
h as triggerEvent,
|
|
76
|
-
K as unique,
|
|
77
|
-
R as whenMouse,
|
|
78
|
-
$ as withInstall,
|
|
79
|
-
ee as withInstallDirective,
|
|
80
|
-
oe as withInstallFunction,
|
|
81
|
-
re as withNoopInstall
|
|
16
|
+
le as PatchFlags,
|
|
17
|
+
E as addUnit,
|
|
18
|
+
o as attemptFocus,
|
|
19
|
+
J as buildProp,
|
|
20
|
+
Q as buildProps,
|
|
21
|
+
re as cAF,
|
|
22
|
+
T as castArray,
|
|
23
|
+
w as composeEventHandlers,
|
|
24
|
+
se as composeRefs,
|
|
25
|
+
B as cssVarValue,
|
|
26
|
+
V as debugWarn,
|
|
27
|
+
Z as definePropType,
|
|
28
|
+
ne as ensureOnlyChild,
|
|
29
|
+
_ as epPropKey,
|
|
30
|
+
L as escapeStringRegexp,
|
|
31
|
+
ae as flattedChildren,
|
|
32
|
+
t as focusNode,
|
|
33
|
+
D as generateCssVars,
|
|
34
|
+
f as getClientXY,
|
|
35
|
+
N as getComponentSize,
|
|
36
|
+
pe as getFirstValidNode,
|
|
37
|
+
me as getNormalizedProps,
|
|
38
|
+
d as getOffsetTop,
|
|
39
|
+
c as getOffsetTopDistance,
|
|
40
|
+
u as getScrollBarWidth,
|
|
41
|
+
C as getScrollContainer,
|
|
42
|
+
s as getSibling,
|
|
43
|
+
v as getSizeType,
|
|
44
|
+
fe as isComment,
|
|
45
|
+
$ as isEpProp,
|
|
46
|
+
i as isFocusable,
|
|
47
|
+
de as isFragment,
|
|
48
|
+
g as isInContainer,
|
|
49
|
+
l as isLeaf,
|
|
50
|
+
h as isScroll,
|
|
51
|
+
ce as isTemplate,
|
|
52
|
+
ge as isText,
|
|
53
|
+
z as isValidComponentSize,
|
|
54
|
+
xe as isValidElementNode,
|
|
55
|
+
n as isVisible,
|
|
56
|
+
H as mutable,
|
|
57
|
+
a as obtainAllFocusableElements,
|
|
58
|
+
R as primaryColor,
|
|
59
|
+
oe as rAF,
|
|
60
|
+
ue as renderBlock,
|
|
61
|
+
Ce as renderIf,
|
|
62
|
+
b as scrollIntoView,
|
|
63
|
+
W as setCssVar,
|
|
64
|
+
k as setPrimaryColorCssvars,
|
|
65
|
+
P as throwError,
|
|
66
|
+
p as triggerEvent,
|
|
67
|
+
A as unique,
|
|
68
|
+
y as whenMouse,
|
|
69
|
+
U as withInstall,
|
|
70
|
+
X as withInstallDirective,
|
|
71
|
+
Y as withInstallFunction,
|
|
72
|
+
j as withNoopInstall
|
|
82
73
|
};
|
package/es/utils/vue/vnode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isArray as E, hasOwn as m, camelize as N } from "@vft/utils";
|
|
2
2
|
import { isVNode as o, Fragment as S, Comment as A, Text as s, createCommentVNode as L, createBlock as _, openBlock as C } from "vue";
|
|
3
3
|
import { debugWarn as O } from "../error.js";
|
|
4
4
|
const R = "utils/vue/vnode";
|
|
@@ -889,19 +889,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
889
889
|
/** @description highlight an item in a suggestion */
|
|
890
890
|
highlight: (index: number) => void;
|
|
891
891
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
892
|
-
input: (value: string) => void;
|
|
893
892
|
select: (item: Record<string, any>) => void;
|
|
894
|
-
clear: () => void;
|
|
895
893
|
"update:modelValue": (value: string) => void;
|
|
896
894
|
change: (value: string) => void;
|
|
895
|
+
input: (value: string) => void;
|
|
896
|
+
clear: () => void;
|
|
897
897
|
blur: (evt: FocusEvent) => void;
|
|
898
898
|
focus: (evt: FocusEvent) => void;
|
|
899
899
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AutocompleteProps>>> & Readonly<{
|
|
900
900
|
onInput?: ((value: string) => any) | undefined;
|
|
901
901
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
902
|
-
onClear?: (() => any) | undefined;
|
|
903
902
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
904
903
|
onChange?: ((value: string) => any) | undefined;
|
|
904
|
+
onClear?: (() => any) | undefined;
|
|
905
905
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
906
906
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
907
907
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -51,9 +51,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
51
51
|
}>> & Readonly<{
|
|
52
52
|
onInput?: ((value: string) => any) | undefined;
|
|
53
53
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
54
|
-
onClear?: (() => any) | undefined;
|
|
55
54
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
56
55
|
onChange?: ((value: string) => any) | undefined;
|
|
56
|
+
onClear?: (() => any) | undefined;
|
|
57
57
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
58
58
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
59
59
|
}>, {
|
|
@@ -906,11 +906,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
906
906
|
close: () => void;
|
|
907
907
|
highlight: (index: number) => void;
|
|
908
908
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
909
|
-
input: (value: string) => void;
|
|
910
909
|
select: (item: Record<string, any>) => void;
|
|
911
|
-
clear: () => void;
|
|
912
910
|
"update:modelValue": (value: string) => void;
|
|
913
911
|
change: (value: string) => void;
|
|
912
|
+
input: (value: string) => void;
|
|
913
|
+
clear: () => void;
|
|
914
914
|
blur: (evt: FocusEvent) => void;
|
|
915
915
|
focus: (evt: FocusEvent) => void;
|
|
916
916
|
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -972,9 +972,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
972
972
|
}>> & Readonly<{
|
|
973
973
|
onInput?: ((value: string) => any) | undefined;
|
|
974
974
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
975
|
-
onClear?: (() => any) | undefined;
|
|
976
975
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
977
976
|
onChange?: ((value: string) => any) | undefined;
|
|
977
|
+
onClear?: (() => any) | undefined;
|
|
978
978
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
979
979
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
980
980
|
}>, {
|
|
@@ -1882,9 +1882,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1882
1882
|
}>> & Readonly<{
|
|
1883
1883
|
onInput?: ((value: string) => any) | undefined;
|
|
1884
1884
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
1885
|
-
onClear?: (() => any) | undefined;
|
|
1886
1885
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1887
1886
|
onChange?: ((value: string) => any) | undefined;
|
|
1887
|
+
onClear?: (() => any) | undefined;
|
|
1888
1888
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
1889
1889
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
1890
1890
|
}>, {
|
|
@@ -2737,11 +2737,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2737
2737
|
close: () => void;
|
|
2738
2738
|
highlight: (index: number) => void;
|
|
2739
2739
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2740
|
-
input: (value: string) => void;
|
|
2741
2740
|
select: (item: Record<string, any>) => void;
|
|
2742
|
-
clear: () => void;
|
|
2743
2741
|
"update:modelValue": (value: string) => void;
|
|
2744
2742
|
change: (value: string) => void;
|
|
2743
|
+
input: (value: string) => void;
|
|
2744
|
+
clear: () => void;
|
|
2745
2745
|
blur: (evt: FocusEvent) => void;
|
|
2746
2746
|
focus: (evt: FocusEvent) => void;
|
|
2747
2747
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -11,7 +11,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
11
11
|
}>>, {
|
|
12
12
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
13
13
|
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
14
|
-
type: import("vue").ComputedRef<"" | "
|
|
14
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "danger" | "primary">;
|
|
15
15
|
disabled: import("vue").ComputedRef<boolean>;
|
|
16
16
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
17
17
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
-
size: {
|
|
4
|
-
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
5
|
-
};
|
|
6
3
|
link: {
|
|
7
4
|
type: import("vue").PropType<boolean>;
|
|
8
5
|
};
|
|
@@ -24,6 +21,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
21
|
autofocus: {
|
|
25
22
|
type: import("vue").PropType<boolean>;
|
|
26
23
|
};
|
|
24
|
+
size: {
|
|
25
|
+
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
26
|
+
};
|
|
27
27
|
icon: {
|
|
28
28
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
29
29
|
};
|
|
@@ -72,7 +72,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
72
72
|
}>, {
|
|
73
73
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
74
74
|
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
75
|
-
type: import("vue").ComputedRef<"" | "
|
|
75
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "danger" | "primary">;
|
|
76
76
|
disabled: import("vue").ComputedRef<boolean>;
|
|
77
77
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
78
78
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -90,9 +90,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
90
90
|
M: {};
|
|
91
91
|
Defaults: {};
|
|
92
92
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
-
size: {
|
|
94
|
-
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
95
|
-
};
|
|
96
93
|
link: {
|
|
97
94
|
type: import("vue").PropType<boolean>;
|
|
98
95
|
};
|
|
@@ -114,6 +111,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
114
111
|
autofocus: {
|
|
115
112
|
type: import("vue").PropType<boolean>;
|
|
116
113
|
};
|
|
114
|
+
size: {
|
|
115
|
+
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
116
|
+
};
|
|
117
117
|
icon: {
|
|
118
118
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
119
119
|
};
|
|
@@ -162,7 +162,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
162
162
|
}>, {
|
|
163
163
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
164
164
|
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
165
|
-
type: import("vue").ComputedRef<"" | "
|
|
165
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "danger" | "primary">;
|
|
166
166
|
disabled: import("vue").ComputedRef<boolean>;
|
|
167
167
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
168
168
|
}, {}, {}, {}, {
|
|
@@ -175,9 +175,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
175
175
|
__isTeleport?: never;
|
|
176
176
|
__isSuspense?: never;
|
|
177
177
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
178
|
-
size: {
|
|
179
|
-
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
180
|
-
};
|
|
181
178
|
link: {
|
|
182
179
|
type: import("vue").PropType<boolean>;
|
|
183
180
|
};
|
|
@@ -199,6 +196,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
199
196
|
autofocus: {
|
|
200
197
|
type: import("vue").PropType<boolean>;
|
|
201
198
|
};
|
|
199
|
+
size: {
|
|
200
|
+
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
201
|
+
};
|
|
202
202
|
icon: {
|
|
203
203
|
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
204
204
|
};
|
|
@@ -247,7 +247,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
247
247
|
}>, {
|
|
248
248
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
249
249
|
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
250
|
-
type: import("vue").ComputedRef<"" | "
|
|
250
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "danger" | "primary">;
|
|
251
251
|
disabled: import("vue").ComputedRef<boolean>;
|
|
252
252
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
253
253
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -13,7 +13,7 @@ export declare const useButton: (props: ButtonProps, emit: any) => {
|
|
|
13
13
|
}>;
|
|
14
14
|
_disabled: import("vue").ComputedRef<boolean>;
|
|
15
15
|
_size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
16
|
-
_type: import("vue").ComputedRef<"" | "
|
|
16
|
+
_type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "danger" | "primary">;
|
|
17
17
|
_ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
18
18
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
19
19
|
handleClick: (evt: MouseEvent) => void;
|
|
@@ -98,9 +98,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
98
98
|
*/
|
|
99
99
|
presentText: ComputedRef<string>;
|
|
100
100
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
101
|
-
clear: () => void;
|
|
102
101
|
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
103
102
|
change: (value: CascaderValue | null | undefined) => void;
|
|
103
|
+
clear: () => void;
|
|
104
104
|
blur: (evt: FocusEvent) => void;
|
|
105
105
|
focus: (evt: FocusEvent) => void;
|
|
106
106
|
visibleChange: (val: boolean) => void;
|
|
@@ -170,9 +170,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
170
170
|
options: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("vft/es/components/cascader-panel").CascaderOption[]) | (() => import("vft/es/components/cascader-panel").CascaderOption[]) | (((new (...args: any[]) => import("vft/es/components/cascader-panel").CascaderOption[]) | (() => import("vft/es/components/cascader-panel").CascaderOption[])) | null)[], unknown, unknown, () => import("vft/es/components/cascader-panel").CascaderOption[], boolean>;
|
|
171
171
|
props: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("vft/es/components/cascader-panel").CascaderProps) | (() => import("vft/es/components/cascader-panel").CascaderProps) | (((new (...args: any[]) => import("vft/es/components/cascader-panel").CascaderProps) | (() => import("vft/es/components/cascader-panel").CascaderProps)) | null)[], unknown, unknown, () => import("vft/es/components/cascader-panel").CascaderProps, boolean>;
|
|
172
172
|
}>> & Readonly<{
|
|
173
|
-
onClear?: (() => any) | undefined;
|
|
174
173
|
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
175
174
|
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
175
|
+
onClear?: (() => any) | undefined;
|
|
176
176
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
177
177
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
178
178
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|