vft 0.0.398 → 0.0.400
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/component.js +83 -81
- package/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/button/index.d.ts +9 -9
- package/es/components/client-only/client-only.vue.d.ts +12 -0
- package/es/components/client-only/client-only.vue.js +4 -0
- package/es/components/client-only/client-only.vue2.js +13 -0
- package/es/components/client-only/index.d.ts +19 -0
- package/es/components/client-only/index.js +13 -0
- package/es/components/client-only/style/css.d.ts +1 -0
- package/es/components/client-only/style/css.js +2 -0
- package/es/components/client-only/style/index.d.ts +1 -0
- package/es/components/client-only/style/index.js +2 -0
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +30 -30
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +391 -389
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/select.vue.d.ts +4 -4
- package/es/components/select/useSelect.d.ts +4 -4
- package/es/components/side-menu/side-menu.vue2.js +87 -88
- package/es/components/skeleton/skeleton.vue.d.ts +0 -1
- package/es/components/skeleton/skeleton.vue2.js +0 -1
- package/es/components/super-form/super-form-item.vue2.js +3 -2
- package/es/components/table/style/css.d.ts +2 -0
- package/es/components/table/style/css.js +2 -0
- package/es/components/table/style/index.d.ts +2 -0
- package/es/components/table/style/index.js +3 -1
- package/es/components/table/table.vue2.js +123 -118
- package/es/index.js +1 -0
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/component.cjs +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +6 -6
- package/lib/components/button/index.d.ts +9 -9
- package/lib/components/client-only/client-only.vue.cjs +1 -0
- package/lib/components/client-only/client-only.vue.d.ts +12 -0
- package/lib/components/client-only/client-only.vue2.cjs +1 -0
- package/lib/components/client-only/index.cjs +1 -0
- package/lib/components/client-only/index.d.ts +19 -0
- package/lib/components/client-only/style/css.cjs +1 -0
- package/lib/components/client-only/style/css.d.ts +1 -0
- package/lib/components/client-only/style/index.cjs +1 -0
- package/lib/components/client-only/style/index.d.ts +1 -0
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +30 -30
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +4 -4
- package/lib/components/select/select.vue.d.ts +4 -4
- package/lib/components/select/useSelect.d.ts +4 -4
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/skeleton/skeleton.vue.d.ts +0 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/table/style/css.cjs +1 -1
- package/lib/components/table/style/css.d.ts +2 -0
- package/lib/components/table/style/index.cjs +1 -1
- package/lib/components/table/style/index.d.ts +2 -0
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +4 -4
- package/theme-style/src/client-only.scss +0 -0
- package/theme-style/src/index.scss +1 -0
- package/theme-style/vft-client-only.css +0 -0
- package/web-types.json +1 -1
package/es/component.js
CHANGED
|
@@ -26,10 +26,10 @@ import { VftDivider as L } from "./components/divider/index.js";
|
|
|
26
26
|
import { VftDrawer as R } from "./components/drawer/index.js";
|
|
27
27
|
import { VftDropdownItem as x, VftDropdownMenu as A, VftDropdown as G } from "./components/dropdown/index.js";
|
|
28
28
|
import { VftEmpty as H } from "./components/empty/index.js";
|
|
29
|
-
import { VftFooterLayout as
|
|
30
|
-
import { VftForm as
|
|
31
|
-
import { VftFullScreen as
|
|
32
|
-
import { VftHeaderLayout as
|
|
29
|
+
import { VftFooterLayout as O } from "./components/footer-layout/index.js";
|
|
30
|
+
import { VftForm as W, VftFormItem as z } from "./components/form/index.js";
|
|
31
|
+
import { VftFullScreen as E } from "./components/full-screen/index.js";
|
|
32
|
+
import { VftHeaderLayout as N } from "./components/header-layout/index.js";
|
|
33
33
|
import { VftHorizontalMenu as Q } from "./components/horizontal-menu/index.js";
|
|
34
34
|
import { VftIcon as U } from "./components/icon/index.js";
|
|
35
35
|
import { VftIconText as j } from "./components/icon-text/index.js";
|
|
@@ -46,80 +46,81 @@ import { VftMdCodeTabs as ot } from "./components/md-code-tabs/index.js";
|
|
|
46
46
|
import { VftCarousel as rt, VftCarouselItem as mt } from "./components/carousel/index.js";
|
|
47
47
|
import { VftStep as ft, VftSteps as it } from "./components/steps/index.js";
|
|
48
48
|
import { VftTimeline as pt, VftTimelineItem as Vt } from "./components/timeline/index.js";
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
49
|
+
import { VftClientOnly as et } from "./components/client-only/index.js";
|
|
50
|
+
import { VftBreadcrumb as at, VftBreadcrumbItem as nt } from "./components/breadcrumb/index.js";
|
|
51
|
+
import { VftCollapse as lt, VftCollapseItem as ut } from "./components/collapse/index.js";
|
|
52
|
+
import { VftStatistic as dt } from "./components/statistic/index.js";
|
|
53
|
+
import { VftCountdown as ct } from "./components/countdown/index.js";
|
|
54
|
+
import { VftInputTag as st } from "./components/input-tag/index.js";
|
|
55
|
+
import { VftCascader as Ct } from "./components/cascader/index.js";
|
|
56
|
+
import { VftCascaderPanel as Tt } from "./components/cascader-panel/index.js";
|
|
57
|
+
import { VftMdComment as It } from "./components/md-comment/index.js";
|
|
58
|
+
import { VftMdContainer as St } from "./components/md-container/index.js";
|
|
59
|
+
import { VftMdTabs as gt } from "./components/md-tabs/index.js";
|
|
60
|
+
import { VftMdVuePlayground as Mt } from "./components/md-vue-playground/index.js";
|
|
61
|
+
import { VftMenu as bt, VftMenuItem as Pt, VftMenuItemGroup as kt, VftSubMenu as Dt } from "./components/menu/index.js";
|
|
62
|
+
import { VftModal as wt } from "./components/modal/index.js";
|
|
63
|
+
import { VftMultipleTabs as yt } from "./components/multiple-tabs/index.js";
|
|
64
|
+
import { VftOverlay as Bt } from "./components/overlay/index.js";
|
|
65
|
+
import { VftPageWrapper as ht } from "./components/page-wrapper/index.js";
|
|
66
|
+
import { VftPagination as vt } from "./components/pagination/index.js";
|
|
67
|
+
import { VftPopconfirm as Ft } from "./components/popconfirm/index.js";
|
|
68
|
+
import { VftPopover as Lt } from "./components/popover/index.js";
|
|
69
|
+
import { VftPopper as Rt } from "./components/popper/index.js";
|
|
70
|
+
import { VftProgress as xt } from "./components/progress/index.js";
|
|
71
|
+
import { VftQrcode as At } from "./components/qrcode/index.js";
|
|
72
|
+
import { VftRadioButton as Gt, VftRadio as Ht, VftRadioGroup as Ot } from "./components/radio/index.js";
|
|
72
73
|
import { VftResult as Wt } from "./components/result/index.js";
|
|
73
74
|
import { VftRouterViewContent as zt } from "./components/router-view-content/index.js";
|
|
74
75
|
import { VftRow as Et } from "./components/row/index.js";
|
|
75
76
|
import { VftScrollbar as Nt } from "./components/scrollbar/index.js";
|
|
76
|
-
import { VftSearch as
|
|
77
|
-
import { VftSelect as
|
|
78
|
-
import { VftSideMenu as
|
|
79
|
-
import { VftSkeleton as
|
|
80
|
-
import { VftSlider as
|
|
81
|
-
import { VftSpace as
|
|
82
|
-
import { VftSwitch as
|
|
83
|
-
import { VftTable as
|
|
84
|
-
import { VftTabs as
|
|
85
|
-
import { VftTag as
|
|
86
|
-
import { VftTimePicker as
|
|
87
|
-
import { VftTooltip as
|
|
88
|
-
import { VftTree as
|
|
89
|
-
import { VftUpload as
|
|
90
|
-
import { VftVerifyCode as
|
|
91
|
-
import { VftSuperForm as
|
|
92
|
-
import { VftProgressI as
|
|
93
|
-
const
|
|
77
|
+
import { VftSearch as Qt } from "./components/search/index.js";
|
|
78
|
+
import { VftSelect as Ut } from "./components/select/index.js";
|
|
79
|
+
import { VftSideMenu as jt } from "./components/side-menu/index.js";
|
|
80
|
+
import { VftSkeleton as qt, VftSkeletonItem as Jt } from "./components/skeleton/index.js";
|
|
81
|
+
import { VftSlider as Kt } from "./components/slider/index.js";
|
|
82
|
+
import { VftSpace as Xt } from "./components/space/index.js";
|
|
83
|
+
import { VftSwitch as Yt } from "./components/switch/index.js";
|
|
84
|
+
import { VftTable as Zt } from "./components/table/index.js";
|
|
85
|
+
import { VftTabs as _t, VftTabPane as $t } from "./components/tabs/index.js";
|
|
86
|
+
import { VftTag as to } from "./components/tag/index.js";
|
|
87
|
+
import { VftTimePicker as oo } from "./components/time-picker/index.js";
|
|
88
|
+
import { VftTooltip as ro } from "./components/tooltip/index.js";
|
|
89
|
+
import { VftTree as mo } from "./components/tree/index.js";
|
|
90
|
+
import { VftUpload as fo } from "./components/upload/index.js";
|
|
91
|
+
import { VftVerifyCode as io } from "./components/verify-code/index.js";
|
|
92
|
+
import { VftSuperForm as po } from "./components/super-form/index.js";
|
|
93
|
+
import { VftProgressI as Vo } from "./components/progress-i/index.js";
|
|
94
|
+
const Kr = [
|
|
94
95
|
// phone
|
|
95
|
-
|
|
96
|
+
Vo,
|
|
96
97
|
//
|
|
97
98
|
rt,
|
|
98
99
|
mt,
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
fo,
|
|
101
|
+
xt,
|
|
101
102
|
Y,
|
|
102
103
|
o,
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
Kt,
|
|
105
|
+
wt,
|
|
105
106
|
// VftRate,
|
|
106
107
|
R,
|
|
107
108
|
t,
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
Ut,
|
|
110
|
+
Ft,
|
|
110
111
|
V,
|
|
111
|
-
|
|
112
|
-
jt,
|
|
112
|
+
Xt,
|
|
113
113
|
qt,
|
|
114
|
-
|
|
114
|
+
Jt,
|
|
115
|
+
mo,
|
|
115
116
|
e,
|
|
116
|
-
|
|
117
|
+
St,
|
|
117
118
|
ot,
|
|
118
119
|
tt,
|
|
120
|
+
Mt,
|
|
119
121
|
gt,
|
|
120
|
-
St,
|
|
121
122
|
w,
|
|
122
|
-
|
|
123
|
+
It,
|
|
123
124
|
M,
|
|
124
125
|
b,
|
|
125
126
|
P,
|
|
@@ -127,59 +128,59 @@ const qr = [
|
|
|
127
128
|
D,
|
|
128
129
|
Q,
|
|
129
130
|
T,
|
|
130
|
-
|
|
131
|
+
oo,
|
|
131
132
|
Et,
|
|
132
133
|
F,
|
|
133
134
|
B,
|
|
134
135
|
_,
|
|
135
136
|
K,
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
Zt,
|
|
138
|
+
io,
|
|
138
139
|
x,
|
|
139
140
|
A,
|
|
140
141
|
G,
|
|
141
142
|
Nt,
|
|
142
143
|
S,
|
|
143
|
-
|
|
144
|
-
At,
|
|
144
|
+
Yt,
|
|
145
145
|
Gt,
|
|
146
146
|
Ht,
|
|
147
|
+
Ot,
|
|
147
148
|
l,
|
|
148
149
|
u,
|
|
149
150
|
d,
|
|
150
151
|
i,
|
|
151
152
|
p,
|
|
153
|
+
W,
|
|
152
154
|
z,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
Bt,
|
|
155
|
+
Qt,
|
|
156
|
+
ht,
|
|
156
157
|
c,
|
|
157
158
|
s,
|
|
158
159
|
C,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
At,
|
|
161
|
+
Bt,
|
|
162
|
+
to,
|
|
163
|
+
jt,
|
|
164
|
+
vt,
|
|
164
165
|
Z,
|
|
165
166
|
X,
|
|
166
167
|
J,
|
|
167
168
|
j,
|
|
168
|
-
|
|
169
|
+
E,
|
|
169
170
|
h,
|
|
170
171
|
v,
|
|
171
172
|
g,
|
|
172
173
|
f,
|
|
173
174
|
zt,
|
|
174
175
|
q,
|
|
175
|
-
W,
|
|
176
176
|
O,
|
|
177
|
+
N,
|
|
177
178
|
$,
|
|
178
|
-
|
|
179
|
-
Mt,
|
|
179
|
+
yt,
|
|
180
180
|
bt,
|
|
181
181
|
Pt,
|
|
182
182
|
kt,
|
|
183
|
+
Dt,
|
|
183
184
|
I,
|
|
184
185
|
L,
|
|
185
186
|
U,
|
|
@@ -187,16 +188,15 @@ const qr = [
|
|
|
187
188
|
m,
|
|
188
189
|
H,
|
|
189
190
|
Wt,
|
|
190
|
-
Zt,
|
|
191
191
|
_t,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
$t,
|
|
193
|
+
ro,
|
|
194
194
|
Lt,
|
|
195
|
+
Rt,
|
|
195
196
|
pt,
|
|
196
197
|
Vt,
|
|
197
198
|
ft,
|
|
198
199
|
it,
|
|
199
|
-
et,
|
|
200
200
|
at,
|
|
201
201
|
nt,
|
|
202
202
|
lt,
|
|
@@ -205,11 +205,13 @@ const qr = [
|
|
|
205
205
|
ct,
|
|
206
206
|
st,
|
|
207
207
|
Ct,
|
|
208
|
+
Tt,
|
|
208
209
|
y,
|
|
209
210
|
a,
|
|
210
211
|
n,
|
|
211
|
-
|
|
212
|
+
po,
|
|
213
|
+
et
|
|
212
214
|
];
|
|
213
215
|
export {
|
|
214
|
-
|
|
216
|
+
Kr as default
|
|
215
217
|
};
|
|
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
63
63
|
readonly effect?: "light" | "dark" | undefined;
|
|
64
64
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
65
|
-
readonly visible?: boolean | undefined;
|
|
66
65
|
readonly teleported?: boolean | undefined;
|
|
67
66
|
readonly open?: boolean | undefined;
|
|
67
|
+
readonly visible?: boolean | undefined;
|
|
68
68
|
readonly arrowOffset?: number | undefined;
|
|
69
69
|
readonly gpuAcceleration?: boolean | undefined;
|
|
70
70
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
480
480
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
481
481
|
readonly effect?: "light" | "dark" | undefined;
|
|
482
482
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
483
|
-
readonly visible?: boolean | undefined;
|
|
484
483
|
readonly teleported?: boolean | undefined;
|
|
485
484
|
readonly open?: boolean | undefined;
|
|
485
|
+
readonly visible?: boolean | undefined;
|
|
486
486
|
readonly arrowOffset?: number | undefined;
|
|
487
487
|
readonly gpuAcceleration?: boolean | undefined;
|
|
488
488
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -86,9 +86,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
86
86
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
87
87
|
readonly effect?: "light" | "dark" | undefined;
|
|
88
88
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
89
|
-
readonly visible?: boolean | undefined;
|
|
90
89
|
readonly teleported?: boolean | undefined;
|
|
91
90
|
readonly open?: boolean | undefined;
|
|
91
|
+
readonly visible?: boolean | undefined;
|
|
92
92
|
readonly arrowOffset?: number | undefined;
|
|
93
93
|
readonly gpuAcceleration?: boolean | undefined;
|
|
94
94
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -504,9 +504,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
504
504
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
505
505
|
readonly effect?: "light" | "dark" | undefined;
|
|
506
506
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
507
|
-
readonly visible?: boolean | undefined;
|
|
508
507
|
readonly teleported?: boolean | undefined;
|
|
509
508
|
readonly open?: boolean | undefined;
|
|
509
|
+
readonly visible?: boolean | undefined;
|
|
510
510
|
readonly arrowOffset?: number | undefined;
|
|
511
511
|
readonly gpuAcceleration?: boolean | undefined;
|
|
512
512
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1007,9 +1007,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1007
1007
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1008
1008
|
readonly effect?: "light" | "dark" | undefined;
|
|
1009
1009
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1010
|
-
readonly visible?: boolean | undefined;
|
|
1011
1010
|
readonly teleported?: boolean | undefined;
|
|
1012
1011
|
readonly open?: boolean | undefined;
|
|
1012
|
+
readonly visible?: boolean | undefined;
|
|
1013
1013
|
readonly arrowOffset?: number | undefined;
|
|
1014
1014
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1015
1015
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1425,9 +1425,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1425
1425
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1426
1426
|
readonly effect?: "light" | "dark" | undefined;
|
|
1427
1427
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1428
|
-
readonly visible?: boolean | undefined;
|
|
1429
1428
|
readonly teleported?: boolean | undefined;
|
|
1430
1429
|
readonly open?: boolean | undefined;
|
|
1430
|
+
readonly visible?: boolean | undefined;
|
|
1431
1431
|
readonly arrowOffset?: number | undefined;
|
|
1432
1432
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1433
1433
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1917,9 +1917,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1917
1917
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1918
1918
|
readonly effect?: "light" | "dark" | undefined;
|
|
1919
1919
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
1920
|
-
readonly visible?: boolean | undefined;
|
|
1921
1920
|
readonly teleported?: boolean | undefined;
|
|
1922
1921
|
readonly open?: boolean | undefined;
|
|
1922
|
+
readonly visible?: boolean | undefined;
|
|
1923
1923
|
readonly arrowOffset?: number | undefined;
|
|
1924
1924
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1925
1925
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -2335,9 +2335,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
2335
2335
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
2336
2336
|
readonly effect?: "light" | "dark" | undefined;
|
|
2337
2337
|
readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
|
|
2338
|
-
readonly visible?: boolean | undefined;
|
|
2339
2338
|
readonly teleported?: boolean | undefined;
|
|
2340
2339
|
readonly open?: boolean | undefined;
|
|
2340
|
+
readonly visible?: boolean | undefined;
|
|
2341
2341
|
readonly arrowOffset?: number | undefined;
|
|
2342
2342
|
readonly gpuAcceleration?: boolean | undefined;
|
|
2343
2343
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -24,12 +24,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
24
|
autofocus: {
|
|
25
25
|
type: import("vue").PropType<boolean>;
|
|
26
26
|
};
|
|
27
|
-
icon: {
|
|
28
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
29
|
-
};
|
|
30
27
|
dark: {
|
|
31
28
|
type: import("vue").PropType<boolean>;
|
|
32
29
|
};
|
|
30
|
+
icon: {
|
|
31
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
32
|
+
};
|
|
33
33
|
loading: {
|
|
34
34
|
type: import("vue").PropType<boolean>;
|
|
35
35
|
};
|
|
@@ -114,12 +114,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
114
114
|
autofocus: {
|
|
115
115
|
type: import("vue").PropType<boolean>;
|
|
116
116
|
};
|
|
117
|
-
icon: {
|
|
118
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
119
|
-
};
|
|
120
117
|
dark: {
|
|
121
118
|
type: import("vue").PropType<boolean>;
|
|
122
119
|
};
|
|
120
|
+
icon: {
|
|
121
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
122
|
+
};
|
|
123
123
|
loading: {
|
|
124
124
|
type: import("vue").PropType<boolean>;
|
|
125
125
|
};
|
|
@@ -199,12 +199,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
199
199
|
autofocus: {
|
|
200
200
|
type: import("vue").PropType<boolean>;
|
|
201
201
|
};
|
|
202
|
-
icon: {
|
|
203
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
204
|
-
};
|
|
205
202
|
dark: {
|
|
206
203
|
type: import("vue").PropType<boolean>;
|
|
207
204
|
};
|
|
205
|
+
icon: {
|
|
206
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
207
|
+
};
|
|
208
208
|
loading: {
|
|
209
209
|
type: import("vue").PropType<boolean>;
|
|
210
210
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
fallback?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineComponent as o, ref as l, onMounted as r, renderSlot as n } from "vue";
|
|
2
|
+
const f = /* @__PURE__ */ o({
|
|
3
|
+
__name: "client-only",
|
|
4
|
+
setup(a) {
|
|
5
|
+
const e = l(!1);
|
|
6
|
+
return r(() => {
|
|
7
|
+
e.value = !0;
|
|
8
|
+
}), (t, s) => e.value ? n(t.$slots, "default", { key: 0 }) : n(t.$slots, "fallback", { key: 1 });
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
f as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const VftClientOnly: import("vft/es/utils").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
fallback?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
})> & Record<string, any>;
|
|
19
|
+
export default VftClientOnly;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "@vueuse/core";
|
|
2
|
+
import "@vft/utils";
|
|
3
|
+
import "../config-provider/hooks/use-global-config.js";
|
|
4
|
+
import "vue";
|
|
5
|
+
import { withInstall as t } from "../../utils/vue/install.js";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "../form/index.js";
|
|
8
|
+
import o from "./client-only.vue2.js";
|
|
9
|
+
const s = t(o);
|
|
10
|
+
export {
|
|
11
|
+
s as VftClientOnly,
|
|
12
|
+
s as default
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vft/theme-style/vft-client-only.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'vft/theme-style/src/client-only.scss';
|
|
@@ -32,10 +32,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
32
32
|
}>>> & Readonly<{
|
|
33
33
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
required: boolean;
|
|
36
35
|
labelWidth: string | number;
|
|
37
36
|
inlineMessage: string | boolean;
|
|
38
37
|
showMessage: boolean;
|
|
38
|
+
required: boolean;
|
|
39
39
|
hideLabel: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|