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.
Files changed (72) hide show
  1. package/es/component.js +83 -81
  2. package/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
  3. package/es/components/autocomplete/index.d.ts +6 -6
  4. package/es/components/button/index.d.ts +9 -9
  5. package/es/components/client-only/client-only.vue.d.ts +12 -0
  6. package/es/components/client-only/client-only.vue.js +4 -0
  7. package/es/components/client-only/client-only.vue2.js +13 -0
  8. package/es/components/client-only/index.d.ts +19 -0
  9. package/es/components/client-only/index.js +13 -0
  10. package/es/components/client-only/style/css.d.ts +1 -0
  11. package/es/components/client-only/style/css.js +2 -0
  12. package/es/components/client-only/style/index.d.ts +1 -0
  13. package/es/components/client-only/style/index.js +2 -0
  14. package/es/components/form/form-item.vue.d.ts +1 -1
  15. package/es/components/form/index.d.ts +30 -30
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/index.js +391 -389
  18. package/es/components/popconfirm/index.d.ts +15 -15
  19. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  20. package/es/components/select/index.d.ts +4 -4
  21. package/es/components/select/select.vue.d.ts +4 -4
  22. package/es/components/select/useSelect.d.ts +4 -4
  23. package/es/components/side-menu/side-menu.vue2.js +87 -88
  24. package/es/components/skeleton/skeleton.vue.d.ts +0 -1
  25. package/es/components/skeleton/skeleton.vue2.js +0 -1
  26. package/es/components/super-form/super-form-item.vue2.js +3 -2
  27. package/es/components/table/style/css.d.ts +2 -0
  28. package/es/components/table/style/css.js +2 -0
  29. package/es/components/table/style/index.d.ts +2 -0
  30. package/es/components/table/style/index.js +3 -1
  31. package/es/components/table/table.vue2.js +123 -118
  32. package/es/index.js +1 -0
  33. package/es/package.json.d.ts +1 -1
  34. package/es/package.json.js +1 -1
  35. package/lib/component.cjs +1 -1
  36. package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
  37. package/lib/components/autocomplete/index.d.ts +6 -6
  38. package/lib/components/button/index.d.ts +9 -9
  39. package/lib/components/client-only/client-only.vue.cjs +1 -0
  40. package/lib/components/client-only/client-only.vue.d.ts +12 -0
  41. package/lib/components/client-only/client-only.vue2.cjs +1 -0
  42. package/lib/components/client-only/index.cjs +1 -0
  43. package/lib/components/client-only/index.d.ts +19 -0
  44. package/lib/components/client-only/style/css.cjs +1 -0
  45. package/lib/components/client-only/style/css.d.ts +1 -0
  46. package/lib/components/client-only/style/index.cjs +1 -0
  47. package/lib/components/client-only/style/index.d.ts +1 -0
  48. package/lib/components/form/form-item.vue.d.ts +1 -1
  49. package/lib/components/form/index.d.ts +30 -30
  50. package/lib/components/index.cjs +1 -1
  51. package/lib/components/index.d.ts +1 -0
  52. package/lib/components/popconfirm/index.d.ts +15 -15
  53. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  54. package/lib/components/select/index.d.ts +4 -4
  55. package/lib/components/select/select.vue.d.ts +4 -4
  56. package/lib/components/select/useSelect.d.ts +4 -4
  57. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  58. package/lib/components/skeleton/skeleton.vue.d.ts +0 -1
  59. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  60. package/lib/components/table/style/css.cjs +1 -1
  61. package/lib/components/table/style/css.d.ts +2 -0
  62. package/lib/components/table/style/index.cjs +1 -1
  63. package/lib/components/table/style/index.d.ts +2 -0
  64. package/lib/components/table/table.vue2.cjs +1 -1
  65. package/lib/index.cjs +1 -1
  66. package/lib/package.json.cjs +1 -1
  67. package/lib/package.json.d.ts +1 -1
  68. package/package.json +4 -4
  69. package/theme-style/src/client-only.scss +0 -0
  70. package/theme-style/src/index.scss +1 -0
  71. package/theme-style/vft-client-only.css +0 -0
  72. 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 W } from "./components/footer-layout/index.js";
30
- import { VftForm as z, VftFormItem as E } from "./components/form/index.js";
31
- import { VftFullScreen as N } from "./components/full-screen/index.js";
32
- import { VftHeaderLayout as O } from "./components/header-layout/index.js";
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 { VftBreadcrumb as et, VftBreadcrumbItem as at } from "./components/breadcrumb/index.js";
50
- import { VftCollapse as nt, VftCollapseItem as lt } from "./components/collapse/index.js";
51
- import { VftStatistic as ut } from "./components/statistic/index.js";
52
- import { VftCountdown as dt } from "./components/countdown/index.js";
53
- import { VftInputTag as ct } from "./components/input-tag/index.js";
54
- import { VftCascader as st } from "./components/cascader/index.js";
55
- import { VftCascaderPanel as Ct } from "./components/cascader-panel/index.js";
56
- import { VftMdComment as Tt } from "./components/md-comment/index.js";
57
- import { VftMdContainer as It } from "./components/md-container/index.js";
58
- import { VftMdTabs as St } from "./components/md-tabs/index.js";
59
- import { VftMdVuePlayground as gt } from "./components/md-vue-playground/index.js";
60
- import { VftMenu as Mt, VftMenuItem as bt, VftMenuItemGroup as Pt, VftSubMenu as kt } from "./components/menu/index.js";
61
- import { VftModal as Dt } from "./components/modal/index.js";
62
- import { VftMultipleTabs as wt } from "./components/multiple-tabs/index.js";
63
- import { VftOverlay as yt } from "./components/overlay/index.js";
64
- import { VftPageWrapper as Bt } from "./components/page-wrapper/index.js";
65
- import { VftPagination as ht } from "./components/pagination/index.js";
66
- import { VftPopconfirm as vt } from "./components/popconfirm/index.js";
67
- import { VftPopover as Ft } from "./components/popover/index.js";
68
- import { VftPopper as Lt } from "./components/popper/index.js";
69
- import { VftProgress as Rt } from "./components/progress/index.js";
70
- import { VftQrcode as xt } from "./components/qrcode/index.js";
71
- import { VftRadioButton as At, VftRadio as Gt, VftRadioGroup as Ht } from "./components/radio/index.js";
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 Ot } from "./components/search/index.js";
77
- import { VftSelect as Qt } from "./components/select/index.js";
78
- import { VftSideMenu as Ut } from "./components/side-menu/index.js";
79
- import { VftSkeleton as jt, VftSkeletonItem as qt } from "./components/skeleton/index.js";
80
- import { VftSlider as Jt } from "./components/slider/index.js";
81
- import { VftSpace as Kt } from "./components/space/index.js";
82
- import { VftSwitch as Xt } from "./components/switch/index.js";
83
- import { VftTable as Yt } from "./components/table/index.js";
84
- import { VftTabs as Zt, VftTabPane as _t } from "./components/tabs/index.js";
85
- import { VftTag as $t } from "./components/tag/index.js";
86
- import { VftTimePicker as to } from "./components/time-picker/index.js";
87
- import { VftTooltip as oo } from "./components/tooltip/index.js";
88
- import { VftTree as ro } from "./components/tree/index.js";
89
- import { VftUpload as mo } from "./components/upload/index.js";
90
- import { VftVerifyCode as fo } from "./components/verify-code/index.js";
91
- import { VftSuperForm as io } from "./components/super-form/index.js";
92
- import { VftProgressI as po } from "./components/progress-i/index.js";
93
- const qr = [
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
- po,
96
+ Vo,
96
97
  //
97
98
  rt,
98
99
  mt,
99
- mo,
100
- Rt,
100
+ fo,
101
+ xt,
101
102
  Y,
102
103
  o,
103
- Jt,
104
- Dt,
104
+ Kt,
105
+ wt,
105
106
  // VftRate,
106
107
  R,
107
108
  t,
108
- Qt,
109
- vt,
109
+ Ut,
110
+ Ft,
110
111
  V,
111
- Kt,
112
- jt,
112
+ Xt,
113
113
  qt,
114
- ro,
114
+ Jt,
115
+ mo,
115
116
  e,
116
- It,
117
+ St,
117
118
  ot,
118
119
  tt,
120
+ Mt,
119
121
  gt,
120
- St,
121
122
  w,
122
- Tt,
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
- to,
131
+ oo,
131
132
  Et,
132
133
  F,
133
134
  B,
134
135
  _,
135
136
  K,
136
- Yt,
137
- fo,
137
+ Zt,
138
+ io,
138
139
  x,
139
140
  A,
140
141
  G,
141
142
  Nt,
142
143
  S,
143
- Xt,
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
- E,
154
- Ot,
155
- Bt,
155
+ Qt,
156
+ ht,
156
157
  c,
157
158
  s,
158
159
  C,
159
- xt,
160
- yt,
161
- $t,
162
- Ut,
163
- ht,
160
+ At,
161
+ Bt,
162
+ to,
163
+ jt,
164
+ vt,
164
165
  Z,
165
166
  X,
166
167
  J,
167
168
  j,
168
- N,
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
- wt,
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
- oo,
193
- Ft,
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
- io
212
+ po,
213
+ et
212
214
  ];
213
215
  export {
214
- qr as default
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,4 @@
1
+ import f from "./client-only.vue2.js";
2
+ export {
3
+ f as default
4
+ };
@@ -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,2 @@
1
+ import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-client-only.css";
@@ -0,0 +1 @@
1
+ import 'vft/theme-style/src/client-only.scss';
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/src/base.scss";
2
+ 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>>;