vft 0.0.243 → 0.0.244
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/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +12 -12
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/button/button.vue.d.ts +2 -2
- package/es/components/button/index.d.ts +24 -24
- package/es/components/button/use-button.d.ts +2 -2
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +51 -51
- package/es/components/col/col.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +9 -9
- package/es/components/color-picker/index.d.ts +8 -8
- 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/props/date-picker.d.ts +1 -1
- package/es/components/divider/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +1 -1
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +48 -48
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/radio/index.d.ts +48 -48
- package/es/components/radio/radio.vue.d.ts +1 -1
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/select/useSelect.d.ts +5 -5
- package/es/components/slider/index.d.ts +4 -4
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/switch/index.d.ts +15 -15
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/tabs/index.d.ts +3 -3
- package/es/components/tabs/tab-pane.vue2.js +37 -35
- package/es/components/tabs/tabs.vue.d.ts +1 -1
- package/es/components/tabs/tabs.vue2.js +61 -61
- package/es/components/time-picker/common/picker.vue.d.ts +3 -3
- package/es/components/time-picker/common/props.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +6 -6
- package/es/components/time-picker/time-picker.d.ts +3 -3
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +6 -6
- package/es/components/tree/tree-node.vue.d.ts +36 -36
- package/es/components/upload/index.d.ts +9 -9
- package/es/hooks/use-ordered-children/index.js +25 -25
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/hooks/use-size/index.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +12 -12
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/button/button.vue.d.ts +2 -2
- package/lib/components/button/index.d.ts +24 -24
- package/lib/components/button/use-button.d.ts +2 -2
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +51 -51
- package/lib/components/col/col.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +9 -9
- package/lib/components/color-picker/index.d.ts +8 -8
- 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/props/date-picker.d.ts +1 -1
- package/lib/components/divider/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +48 -48
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/radio/index.d.ts +48 -48
- package/lib/components/radio/radio.vue.d.ts +1 -1
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/select/useSelect.d.ts +5 -5
- package/lib/components/slider/index.d.ts +4 -4
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/switch/index.d.ts +15 -15
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +3 -3
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +3 -3
- package/lib/components/time-picker/common/props.d.ts +1 -1
- package/lib/components/time-picker/index.d.ts +6 -6
- package/lib/components/time-picker/time-picker.d.ts +3 -3
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/timeline/index.d.ts +6 -6
- package/lib/components/tree/tree-node.vue.d.ts +36 -36
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/hooks/use-size/index.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/web-types.json +1 -1
|
@@ -99,12 +99,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
99
99
|
})>;
|
|
100
100
|
VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
101
101
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
-
value: {
|
|
103
|
-
type: import("vue").PropType<string | number | boolean | object>;
|
|
104
|
-
};
|
|
105
102
|
label: {
|
|
106
103
|
type: import("vue").PropType<string | number>;
|
|
107
104
|
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: import("vue").PropType<boolean>;
|
|
107
|
+
};
|
|
108
|
+
value: {
|
|
109
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
110
|
+
};
|
|
108
111
|
border: {
|
|
109
112
|
type: import("vue").PropType<boolean>;
|
|
110
113
|
};
|
|
@@ -114,11 +117,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
114
117
|
id: {
|
|
115
118
|
type: import("vue").PropType<string>;
|
|
116
119
|
};
|
|
117
|
-
disabled: {
|
|
118
|
-
type: import("vue").PropType<boolean>;
|
|
119
|
-
};
|
|
120
120
|
size: {
|
|
121
|
-
type: import("vue").PropType<"" | "
|
|
121
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
122
122
|
};
|
|
123
123
|
modelValue: {
|
|
124
124
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -161,12 +161,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
161
|
M: {};
|
|
162
162
|
Defaults: {};
|
|
163
163
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
-
value: {
|
|
165
|
-
type: import("vue").PropType<string | number | boolean | object>;
|
|
166
|
-
};
|
|
167
164
|
label: {
|
|
168
165
|
type: import("vue").PropType<string | number>;
|
|
169
166
|
};
|
|
167
|
+
disabled: {
|
|
168
|
+
type: import("vue").PropType<boolean>;
|
|
169
|
+
};
|
|
170
|
+
value: {
|
|
171
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
172
|
+
};
|
|
170
173
|
border: {
|
|
171
174
|
type: import("vue").PropType<boolean>;
|
|
172
175
|
};
|
|
@@ -176,11 +179,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
176
179
|
id: {
|
|
177
180
|
type: import("vue").PropType<string>;
|
|
178
181
|
};
|
|
179
|
-
disabled: {
|
|
180
|
-
type: import("vue").PropType<boolean>;
|
|
181
|
-
};
|
|
182
182
|
size: {
|
|
183
|
-
type: import("vue").PropType<"" | "
|
|
183
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
184
184
|
};
|
|
185
185
|
modelValue: {
|
|
186
186
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -217,12 +217,15 @@ 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
|
-
value: {
|
|
221
|
-
type: import("vue").PropType<string | number | boolean | object>;
|
|
222
|
-
};
|
|
223
220
|
label: {
|
|
224
221
|
type: import("vue").PropType<string | number>;
|
|
225
222
|
};
|
|
223
|
+
disabled: {
|
|
224
|
+
type: import("vue").PropType<boolean>;
|
|
225
|
+
};
|
|
226
|
+
value: {
|
|
227
|
+
type: import("vue").PropType<string | number | boolean | object>;
|
|
228
|
+
};
|
|
226
229
|
border: {
|
|
227
230
|
type: import("vue").PropType<boolean>;
|
|
228
231
|
};
|
|
@@ -232,11 +235,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
232
235
|
id: {
|
|
233
236
|
type: import("vue").PropType<string>;
|
|
234
237
|
};
|
|
235
|
-
disabled: {
|
|
236
|
-
type: import("vue").PropType<boolean>;
|
|
237
|
-
};
|
|
238
238
|
size: {
|
|
239
|
-
type: import("vue").PropType<"" | "
|
|
239
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
240
240
|
};
|
|
241
241
|
modelValue: {
|
|
242
242
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -315,7 +315,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
315
315
|
type: import("vue").PropType<boolean>;
|
|
316
316
|
};
|
|
317
317
|
size: {
|
|
318
|
-
type: import("vue").PropType<"" | "
|
|
318
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
319
319
|
};
|
|
320
320
|
tabindex: {
|
|
321
321
|
type: import("vue").PropType<string | number>;
|
|
@@ -374,7 +374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
374
374
|
type: import("vue").PropType<boolean>;
|
|
375
375
|
};
|
|
376
376
|
size: {
|
|
377
|
-
type: import("vue").PropType<"" | "
|
|
377
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
378
378
|
};
|
|
379
379
|
tabindex: {
|
|
380
380
|
type: import("vue").PropType<string | number>;
|
|
@@ -427,7 +427,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
427
427
|
type: import("vue").PropType<boolean>;
|
|
428
428
|
};
|
|
429
429
|
size: {
|
|
430
|
-
type: import("vue").PropType<"" | "
|
|
430
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
431
431
|
};
|
|
432
432
|
tabindex: {
|
|
433
433
|
type: import("vue").PropType<string | number>;
|
|
@@ -448,17 +448,17 @@ 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
|
-
fill: {
|
|
452
|
-
type: import("vue").PropType<string>;
|
|
453
|
-
};
|
|
454
451
|
label: {
|
|
455
452
|
type: import("vue").PropType<string>;
|
|
456
453
|
};
|
|
457
454
|
disabled: {
|
|
458
455
|
type: import("vue").PropType<boolean>;
|
|
459
456
|
};
|
|
457
|
+
fill: {
|
|
458
|
+
type: import("vue").PropType<string>;
|
|
459
|
+
};
|
|
460
460
|
size: {
|
|
461
|
-
type: import("vue").PropType<"" | "
|
|
461
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
462
462
|
};
|
|
463
463
|
modelValue: {
|
|
464
464
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -505,17 +505,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
505
505
|
M: {};
|
|
506
506
|
Defaults: {};
|
|
507
507
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
508
|
-
fill: {
|
|
509
|
-
type: import("vue").PropType<string>;
|
|
510
|
-
};
|
|
511
508
|
label: {
|
|
512
509
|
type: import("vue").PropType<string>;
|
|
513
510
|
};
|
|
514
511
|
disabled: {
|
|
515
512
|
type: import("vue").PropType<boolean>;
|
|
516
513
|
};
|
|
514
|
+
fill: {
|
|
515
|
+
type: import("vue").PropType<string>;
|
|
516
|
+
};
|
|
517
517
|
size: {
|
|
518
|
-
type: import("vue").PropType<"" | "
|
|
518
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
519
519
|
};
|
|
520
520
|
modelValue: {
|
|
521
521
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -556,17 +556,17 @@ 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
|
-
fill: {
|
|
560
|
-
type: import("vue").PropType<string>;
|
|
561
|
-
};
|
|
562
559
|
label: {
|
|
563
560
|
type: import("vue").PropType<string>;
|
|
564
561
|
};
|
|
565
562
|
disabled: {
|
|
566
563
|
type: import("vue").PropType<boolean>;
|
|
567
564
|
};
|
|
565
|
+
fill: {
|
|
566
|
+
type: import("vue").PropType<string>;
|
|
567
|
+
};
|
|
568
568
|
size: {
|
|
569
|
-
type: import("vue").PropType<"" | "
|
|
569
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
570
570
|
};
|
|
571
571
|
modelValue: {
|
|
572
572
|
type: import("vue").PropType<import("vft/es/components/checkbox").CheckboxGroupValueType>;
|
|
@@ -3,6 +3,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
data: {
|
|
4
4
|
type: import("vue").PropType<Record<string, any>>;
|
|
5
5
|
};
|
|
6
|
+
disabled: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
8
|
+
};
|
|
6
9
|
drag: {
|
|
7
10
|
type: import("vue").PropType<boolean>;
|
|
8
11
|
default: boolean;
|
|
@@ -24,9 +27,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
27
|
type: import("vue").PropType<string>;
|
|
25
28
|
default: string;
|
|
26
29
|
};
|
|
27
|
-
disabled: {
|
|
28
|
-
type: import("vue").PropType<boolean>;
|
|
29
|
-
};
|
|
30
30
|
multiple: {
|
|
31
31
|
type: import("vue").PropType<boolean>;
|
|
32
32
|
default: boolean;
|
|
@@ -120,6 +120,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
120
120
|
data: {
|
|
121
121
|
type: import("vue").PropType<Record<string, any>>;
|
|
122
122
|
};
|
|
123
|
+
disabled: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
};
|
|
123
126
|
drag: {
|
|
124
127
|
type: import("vue").PropType<boolean>;
|
|
125
128
|
default: boolean;
|
|
@@ -141,9 +144,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
141
144
|
type: import("vue").PropType<string>;
|
|
142
145
|
default: string;
|
|
143
146
|
};
|
|
144
|
-
disabled: {
|
|
145
|
-
type: import("vue").PropType<boolean>;
|
|
146
|
-
};
|
|
147
147
|
multiple: {
|
|
148
148
|
type: import("vue").PropType<boolean>;
|
|
149
149
|
default: boolean;
|
|
@@ -234,6 +234,9 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
234
234
|
data: {
|
|
235
235
|
type: import("vue").PropType<Record<string, any>>;
|
|
236
236
|
};
|
|
237
|
+
disabled: {
|
|
238
|
+
type: import("vue").PropType<boolean>;
|
|
239
|
+
};
|
|
237
240
|
drag: {
|
|
238
241
|
type: import("vue").PropType<boolean>;
|
|
239
242
|
default: boolean;
|
|
@@ -255,9 +258,6 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
255
258
|
type: import("vue").PropType<string>;
|
|
256
259
|
default: string;
|
|
257
260
|
};
|
|
258
|
-
disabled: {
|
|
259
|
-
type: import("vue").PropType<boolean>;
|
|
260
|
-
};
|
|
261
261
|
multiple: {
|
|
262
262
|
type: import("vue").PropType<boolean>;
|
|
263
263
|
default: boolean;
|
|
@@ -3,43 +3,43 @@ import "@vft/utils";
|
|
|
3
3
|
import "../../utils/ns-cover.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import { flattedChildren as v } from "../../utils/vue/vnode.js";
|
|
6
|
-
import { shallowRef as m, defineComponent as x, h as M, triggerRef as
|
|
7
|
-
const S = (
|
|
8
|
-
(e) => R(e) && e.type?.name ===
|
|
9
|
-
).map((e) => e.component.uid).map((e) =>
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
if (!d.has(
|
|
14
|
-
d.set(
|
|
15
|
-
const
|
|
16
|
-
|
|
6
|
+
import { shallowRef as m, defineComponent as x, h as M, triggerRef as a, onMounted as O, isVNode as R } from "vue";
|
|
7
|
+
const S = (u, c, t) => v(u.subTree).filter(
|
|
8
|
+
(e) => R(e) && e.type?.name === c && !!e.component
|
|
9
|
+
).map((e) => e.component.uid).map((e) => t[e]).filter((e) => !!e), I = (u, c) => {
|
|
10
|
+
const t = m({}), s = m([]), d = /* @__PURE__ */ new WeakMap(), e = (n) => {
|
|
11
|
+
t.value[n.uid] = n, a(t), O(() => {
|
|
12
|
+
const r = n.getVnode().el, o = r.parentNode;
|
|
13
|
+
if (!d.has(o)) {
|
|
14
|
+
d.set(o, []);
|
|
15
|
+
const i = o.insertBefore.bind(o);
|
|
16
|
+
o.insertBefore = (l, p) => (d.get(o).some((h) => l === h || p === h) && a(t), i(l, p));
|
|
17
17
|
}
|
|
18
|
-
d.get(
|
|
18
|
+
d.get(o).push(r);
|
|
19
19
|
});
|
|
20
|
-
}, f = (
|
|
21
|
-
delete
|
|
22
|
-
const
|
|
23
|
-
|
|
20
|
+
}, f = (n) => {
|
|
21
|
+
delete t.value[n.uid], a(t);
|
|
22
|
+
const r = n.getVnode().el, o = r.parentNode, i = d.get(o), l = i.indexOf(r);
|
|
23
|
+
i.splice(l, 1);
|
|
24
24
|
}, C = () => {
|
|
25
|
-
|
|
26
|
-
l,
|
|
25
|
+
s.value = S(
|
|
27
26
|
u,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
c,
|
|
28
|
+
t.value
|
|
29
|
+
), console.log(s.value, "---");
|
|
30
|
+
}, g = (n) => n.render(), N = x({
|
|
31
|
+
setup(n, { slots: r }) {
|
|
32
|
+
return () => (C(), r.default ? (
|
|
33
33
|
// Create a new `ReactiveEffect` to ensure `ChildrenSorter` doesn't track any extra dependencies
|
|
34
34
|
// @ts-ignore TODO: Remove this after Vue is upgraded
|
|
35
35
|
M(g, {
|
|
36
|
-
render:
|
|
36
|
+
render: r.default
|
|
37
37
|
})
|
|
38
38
|
) : null);
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
return {
|
|
42
|
-
children:
|
|
42
|
+
children: s,
|
|
43
43
|
addChild: e,
|
|
44
44
|
removeChild: f,
|
|
45
45
|
ChildrenSorter: N
|
|
@@ -41,11 +41,11 @@ export declare const usePopper: (referenceElementRef: Ref<ReferenceElement>, pop
|
|
|
41
41
|
popperEscapeOffsets: import("@popperjs/core").SideObject;
|
|
42
42
|
};
|
|
43
43
|
offset?: {
|
|
44
|
-
|
|
44
|
+
top?: import("@popperjs/core").Offsets | undefined;
|
|
45
|
+
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
45
46
|
left?: import("@popperjs/core").Offsets | undefined;
|
|
46
47
|
right?: import("@popperjs/core").Offsets | undefined;
|
|
47
|
-
|
|
48
|
-
top?: import("@popperjs/core").Offsets | undefined;
|
|
48
|
+
auto?: import("@popperjs/core").Offsets | undefined;
|
|
49
49
|
"auto-start"?: import("@popperjs/core").Offsets | undefined;
|
|
50
50
|
"auto-end"?: import("@popperjs/core").Offsets | undefined;
|
|
51
51
|
"top-start"?: import("@popperjs/core").Offsets | undefined;
|
|
@@ -4,4 +4,4 @@ export interface SizeContext {
|
|
|
4
4
|
size: Ref<ComponentSize>;
|
|
5
5
|
}
|
|
6
6
|
export declare const SIZE_INJECTION_KEY: InjectionKey<SizeContext>;
|
|
7
|
-
export declare const useGlobalSize: () => import("vue").ComputedRef<"" | "
|
|
7
|
+
export declare const useGlobalSize: () => import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
|
@@ -4,7 +4,7 @@ export declare const affixProps: {
|
|
|
4
4
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
5
5
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
6
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
7
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
7
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
8
8
|
};
|
|
9
9
|
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
10
10
|
export declare const affixEmits: {
|
|
@@ -5,7 +5,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
5
5
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
6
6
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7
7
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
8
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
8
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
9
9
|
}>, {
|
|
10
10
|
/** @description update affix status */
|
|
11
11
|
update: () => void;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
21
21
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
22
22
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
23
23
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
24
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
24
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
25
25
|
}>> & Readonly<{
|
|
26
26
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
27
27
|
onScroll?: ((args_0: {
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
30
30
|
}) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
readonly target: string;
|
|
33
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
33
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom", unknown>;
|
|
34
34
|
readonly zIndex: number;
|
|
35
35
|
readonly offset: number;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -3,7 +3,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
4
4
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
5
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
6
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
7
7
|
}>> & Readonly<{
|
|
8
8
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
9
9
|
onScroll?: ((args_0: {
|
|
@@ -21,7 +21,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
21
21
|
change: (fixed: boolean) => void;
|
|
22
22
|
}, import("vue").PublicProps, {
|
|
23
23
|
readonly target: string;
|
|
24
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
24
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom", unknown>;
|
|
25
25
|
readonly zIndex: number;
|
|
26
26
|
readonly offset: number;
|
|
27
27
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -35,7 +35,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
35
35
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
36
36
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
37
37
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
38
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
38
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
39
39
|
}>> & Readonly<{
|
|
40
40
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
41
41
|
onScroll?: ((args_0: {
|
|
@@ -47,7 +47,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
47
47
|
updateRoot: () => void;
|
|
48
48
|
}, {}, {}, {}, {
|
|
49
49
|
readonly target: string;
|
|
50
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
50
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom", unknown>;
|
|
51
51
|
readonly zIndex: number;
|
|
52
52
|
readonly offset: number;
|
|
53
53
|
}>;
|
|
@@ -58,7 +58,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
58
58
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
59
59
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
60
60
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
61
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
61
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
62
62
|
}>> & Readonly<{
|
|
63
63
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
64
64
|
onScroll?: ((args_0: {
|
|
@@ -76,7 +76,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
76
76
|
change: (fixed: boolean) => void;
|
|
77
77
|
}, string, {
|
|
78
78
|
readonly target: string;
|
|
79
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
79
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "top" | "bottom", unknown>;
|
|
80
80
|
readonly zIndex: number;
|
|
81
81
|
readonly offset: number;
|
|
82
82
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -42,12 +42,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
42
42
|
$data: {};
|
|
43
43
|
$props: Partial<{}> & Omit<{
|
|
44
44
|
readonly style?: string | false | import("vue").CSSProperties | StyleValue[] | null | undefined;
|
|
45
|
+
readonly disabled?: boolean | undefined;
|
|
45
46
|
readonly content?: string | undefined;
|
|
46
47
|
readonly zIndex?: number | undefined;
|
|
47
48
|
readonly offset?: number | undefined;
|
|
48
49
|
readonly transition?: string | undefined;
|
|
49
|
-
readonly onBlur?: Function | undefined;
|
|
50
50
|
readonly onClick?: Function | undefined;
|
|
51
|
+
readonly onBlur?: Function | undefined;
|
|
51
52
|
readonly onContextmenu?: Function | undefined;
|
|
52
53
|
readonly onFocus?: Function | undefined;
|
|
53
54
|
readonly onKeydown?: Function | undefined;
|
|
@@ -57,7 +58,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
57
58
|
readonly id?: string | undefined;
|
|
58
59
|
readonly ariaLabel?: string | undefined;
|
|
59
60
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
60
|
-
readonly disabled?: boolean | undefined;
|
|
61
61
|
readonly showAfter?: number | undefined;
|
|
62
62
|
readonly hideAfter?: number | undefined;
|
|
63
63
|
readonly open?: boolean | undefined;
|
|
@@ -460,12 +460,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
460
460
|
$data: {};
|
|
461
461
|
$props: Partial<{}> & Omit<{
|
|
462
462
|
readonly style?: string | false | import("vue").CSSProperties | StyleValue[] | null | undefined;
|
|
463
|
+
readonly disabled?: boolean | undefined;
|
|
463
464
|
readonly content?: string | undefined;
|
|
464
465
|
readonly zIndex?: number | undefined;
|
|
465
466
|
readonly offset?: number | undefined;
|
|
466
467
|
readonly transition?: string | undefined;
|
|
467
|
-
readonly onBlur?: Function | undefined;
|
|
468
468
|
readonly onClick?: Function | undefined;
|
|
469
|
+
readonly onBlur?: Function | undefined;
|
|
469
470
|
readonly onContextmenu?: Function | undefined;
|
|
470
471
|
readonly onFocus?: Function | undefined;
|
|
471
472
|
readonly onKeydown?: Function | undefined;
|
|
@@ -475,7 +476,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
475
476
|
readonly id?: string | undefined;
|
|
476
477
|
readonly ariaLabel?: string | undefined;
|
|
477
478
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
478
|
-
readonly disabled?: boolean | undefined;
|
|
479
479
|
readonly showAfter?: number | undefined;
|
|
480
480
|
readonly hideAfter?: number | undefined;
|
|
481
481
|
readonly open?: boolean | undefined;
|
|
@@ -66,12 +66,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
66
66
|
$data: {};
|
|
67
67
|
$props: Partial<{}> & Omit<{
|
|
68
68
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
69
|
+
readonly disabled?: boolean | undefined;
|
|
69
70
|
readonly content?: string | undefined;
|
|
70
71
|
readonly zIndex?: number | undefined;
|
|
71
72
|
readonly offset?: number | undefined;
|
|
72
73
|
readonly transition?: string | undefined;
|
|
73
|
-
readonly onBlur?: Function | undefined;
|
|
74
74
|
readonly onClick?: Function | undefined;
|
|
75
|
+
readonly onBlur?: Function | undefined;
|
|
75
76
|
readonly onContextmenu?: Function | undefined;
|
|
76
77
|
readonly onFocus?: Function | undefined;
|
|
77
78
|
readonly onKeydown?: Function | undefined;
|
|
@@ -81,7 +82,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
81
82
|
readonly id?: string | undefined;
|
|
82
83
|
readonly ariaLabel?: string | undefined;
|
|
83
84
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
84
|
-
readonly disabled?: boolean | undefined;
|
|
85
85
|
readonly showAfter?: number | undefined;
|
|
86
86
|
readonly hideAfter?: number | undefined;
|
|
87
87
|
readonly open?: boolean | undefined;
|
|
@@ -484,12 +484,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
484
484
|
$data: {};
|
|
485
485
|
$props: Partial<{}> & Omit<{
|
|
486
486
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
487
|
+
readonly disabled?: boolean | undefined;
|
|
487
488
|
readonly content?: string | undefined;
|
|
488
489
|
readonly zIndex?: number | undefined;
|
|
489
490
|
readonly offset?: number | undefined;
|
|
490
491
|
readonly transition?: string | undefined;
|
|
491
|
-
readonly onBlur?: Function | undefined;
|
|
492
492
|
readonly onClick?: Function | undefined;
|
|
493
|
+
readonly onBlur?: Function | undefined;
|
|
493
494
|
readonly onContextmenu?: Function | undefined;
|
|
494
495
|
readonly onFocus?: Function | undefined;
|
|
495
496
|
readonly onKeydown?: Function | undefined;
|
|
@@ -499,7 +500,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
499
500
|
readonly id?: string | undefined;
|
|
500
501
|
readonly ariaLabel?: string | undefined;
|
|
501
502
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
502
|
-
readonly disabled?: boolean | undefined;
|
|
503
503
|
readonly showAfter?: number | undefined;
|
|
504
504
|
readonly hideAfter?: number | undefined;
|
|
505
505
|
readonly open?: boolean | undefined;
|
|
@@ -987,12 +987,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
987
987
|
$data: {};
|
|
988
988
|
$props: Partial<{}> & Omit<{
|
|
989
989
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
990
|
+
readonly disabled?: boolean | undefined;
|
|
990
991
|
readonly content?: string | undefined;
|
|
991
992
|
readonly zIndex?: number | undefined;
|
|
992
993
|
readonly offset?: number | undefined;
|
|
993
994
|
readonly transition?: string | undefined;
|
|
994
|
-
readonly onBlur?: Function | undefined;
|
|
995
995
|
readonly onClick?: Function | undefined;
|
|
996
|
+
readonly onBlur?: Function | undefined;
|
|
996
997
|
readonly onContextmenu?: Function | undefined;
|
|
997
998
|
readonly onFocus?: Function | undefined;
|
|
998
999
|
readonly onKeydown?: Function | undefined;
|
|
@@ -1002,7 +1003,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1002
1003
|
readonly id?: string | undefined;
|
|
1003
1004
|
readonly ariaLabel?: string | undefined;
|
|
1004
1005
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
1005
|
-
readonly disabled?: boolean | undefined;
|
|
1006
1006
|
readonly showAfter?: number | undefined;
|
|
1007
1007
|
readonly hideAfter?: number | undefined;
|
|
1008
1008
|
readonly open?: boolean | undefined;
|
|
@@ -1405,12 +1405,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1405
1405
|
$data: {};
|
|
1406
1406
|
$props: Partial<{}> & Omit<{
|
|
1407
1407
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
1408
|
+
readonly disabled?: boolean | undefined;
|
|
1408
1409
|
readonly content?: string | undefined;
|
|
1409
1410
|
readonly zIndex?: number | undefined;
|
|
1410
1411
|
readonly offset?: number | undefined;
|
|
1411
1412
|
readonly transition?: string | undefined;
|
|
1412
|
-
readonly onBlur?: Function | undefined;
|
|
1413
1413
|
readonly onClick?: Function | undefined;
|
|
1414
|
+
readonly onBlur?: Function | undefined;
|
|
1414
1415
|
readonly onContextmenu?: Function | undefined;
|
|
1415
1416
|
readonly onFocus?: Function | undefined;
|
|
1416
1417
|
readonly onKeydown?: Function | undefined;
|
|
@@ -1420,7 +1421,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1420
1421
|
readonly id?: string | undefined;
|
|
1421
1422
|
readonly ariaLabel?: string | undefined;
|
|
1422
1423
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
1423
|
-
readonly disabled?: boolean | undefined;
|
|
1424
1424
|
readonly showAfter?: number | undefined;
|
|
1425
1425
|
readonly hideAfter?: number | undefined;
|
|
1426
1426
|
readonly open?: boolean | undefined;
|
|
@@ -1897,12 +1897,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1897
1897
|
$data: {};
|
|
1898
1898
|
$props: Partial<{}> & Omit<{
|
|
1899
1899
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
1900
|
+
readonly disabled?: boolean | undefined;
|
|
1900
1901
|
readonly content?: string | undefined;
|
|
1901
1902
|
readonly zIndex?: number | undefined;
|
|
1902
1903
|
readonly offset?: number | undefined;
|
|
1903
1904
|
readonly transition?: string | undefined;
|
|
1904
|
-
readonly onBlur?: Function | undefined;
|
|
1905
1905
|
readonly onClick?: Function | undefined;
|
|
1906
|
+
readonly onBlur?: Function | undefined;
|
|
1906
1907
|
readonly onContextmenu?: Function | undefined;
|
|
1907
1908
|
readonly onFocus?: Function | undefined;
|
|
1908
1909
|
readonly onKeydown?: Function | undefined;
|
|
@@ -1912,7 +1913,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1912
1913
|
readonly id?: string | undefined;
|
|
1913
1914
|
readonly ariaLabel?: string | undefined;
|
|
1914
1915
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
1915
|
-
readonly disabled?: boolean | undefined;
|
|
1916
1916
|
readonly showAfter?: number | undefined;
|
|
1917
1917
|
readonly hideAfter?: number | undefined;
|
|
1918
1918
|
readonly open?: boolean | undefined;
|
|
@@ -2315,12 +2315,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2315
2315
|
$data: {};
|
|
2316
2316
|
$props: Partial<{}> & Omit<{
|
|
2317
2317
|
readonly style?: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null | undefined;
|
|
2318
|
+
readonly disabled?: boolean | undefined;
|
|
2318
2319
|
readonly content?: string | undefined;
|
|
2319
2320
|
readonly zIndex?: number | undefined;
|
|
2320
2321
|
readonly offset?: number | undefined;
|
|
2321
2322
|
readonly transition?: string | undefined;
|
|
2322
|
-
readonly onBlur?: Function | undefined;
|
|
2323
2323
|
readonly onClick?: Function | undefined;
|
|
2324
|
+
readonly onBlur?: Function | undefined;
|
|
2324
2325
|
readonly onContextmenu?: Function | undefined;
|
|
2325
2326
|
readonly onFocus?: Function | undefined;
|
|
2326
2327
|
readonly onKeydown?: Function | undefined;
|
|
@@ -2330,7 +2331,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2330
2331
|
readonly id?: string | undefined;
|
|
2331
2332
|
readonly ariaLabel?: string | undefined;
|
|
2332
2333
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
2333
|
-
readonly disabled?: boolean | undefined;
|
|
2334
2334
|
readonly showAfter?: number | undefined;
|
|
2335
2335
|
readonly hideAfter?: number | undefined;
|
|
2336
2336
|
readonly open?: boolean | undefined;
|