@shwfed/nuxt 0.10.13 → 0.10.15
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/dist/module.json +1 -1
- package/dist/module.mjs +1 -0
- package/dist/runtime/components/app.d.vue.ts +2 -1
- package/dist/runtime/components/app.vue.d.ts +2 -1
- package/dist/runtime/components/button.d.vue.ts +63 -4
- package/dist/runtime/components/button.vue +12 -2
- package/dist/runtime/components/button.vue.d.ts +63 -4
- package/dist/runtime/components/modal.d.vue.ts +53 -0
- package/dist/runtime/components/modal.vue +141 -0
- package/dist/runtime/components/modal.vue.d.ts +53 -0
- package/dist/runtime/components/ui/app/App.d.vue.ts +7 -5
- package/dist/runtime/components/ui/app/App.vue +23 -8
- package/dist/runtime/components/ui/app/App.vue.d.ts +7 -5
- package/dist/runtime/components/ui/app/OverlayHost.d.vue.ts +3 -0
- package/dist/runtime/components/ui/app/OverlayHost.vue +91 -0
- package/dist/runtime/components/ui/app/OverlayHost.vue.d.ts +3 -0
- package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.d.vue.ts +52 -0
- package/dist/runtime/components/ui/button-configurator/ButtonConfiguratorDialog.vue.d.ts +52 -0
- package/dist/runtime/components/ui/buttons/Buttons.d.vue.ts +54 -2
- package/dist/runtime/components/ui/buttons/Buttons.vue +56 -3
- package/dist/runtime/components/ui/buttons/Buttons.vue.d.ts +54 -2
- package/dist/runtime/components/ui/buttons/schema.d.ts +307 -0
- package/dist/runtime/components/ui/buttons/schema.js +11 -2
- package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +31 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue +38 -0
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +31 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue +19 -0
- package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +20 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue +50 -0
- package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +20 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue +26 -0
- package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
- package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +7 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +19 -0
- package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue +26 -0
- package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +19 -0
- package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/drawer/index.d.ts +8 -0
- package/dist/runtime/components/ui/drawer/index.js +8 -0
- package/dist/runtime/composables/useOverlay.d.ts +86 -0
- package/dist/runtime/composables/useOverlay.js +201 -0
- package/dist/runtime/layouts/default.d.vue.ts +2 -1
- package/dist/runtime/layouts/default.vue.d.ts +2 -1
- package/dist/runtime/plugins/overlay/index.d.ts +6 -0
- package/dist/runtime/plugins/overlay/index.js +12 -0
- package/dist/runtime/plugins/toast/index.d.ts +2 -2
- package/package.json +2 -1
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
import type { ButtonVariants } from '../button/index.js';
|
|
3
3
|
export declare const ButtonsStyleC: z.ZodOptional<z.ZodString>;
|
|
4
|
+
export declare const ButtonModalC: z.ZodReadonly<z.ZodObject<{
|
|
5
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
6
|
+
locale: z.ZodEnum<{
|
|
7
|
+
zh: "zh";
|
|
8
|
+
ja: "ja";
|
|
9
|
+
en: "en";
|
|
10
|
+
ko: "ko";
|
|
11
|
+
}>;
|
|
12
|
+
message: z.ZodString;
|
|
13
|
+
}, z.core.$strip>>>>;
|
|
14
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
15
|
+
locale: z.ZodEnum<{
|
|
16
|
+
zh: "zh";
|
|
17
|
+
ja: "ja";
|
|
18
|
+
en: "en";
|
|
19
|
+
ko: "ko";
|
|
20
|
+
}>;
|
|
21
|
+
message: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>>>;
|
|
23
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
25
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
}, z.core.$strict>>;
|
|
4
27
|
export declare const ButtonActionC: z.ZodReadonly<z.ZodObject<{
|
|
5
28
|
id: z.ZodUUID;
|
|
6
29
|
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -29,6 +52,80 @@ export declare const ButtonActionC: z.ZodReadonly<z.ZodObject<{
|
|
|
29
52
|
ghost: "ghost";
|
|
30
53
|
}>>;
|
|
31
54
|
hideTitle: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
56
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
57
|
+
locale: z.ZodEnum<{
|
|
58
|
+
zh: "zh";
|
|
59
|
+
ja: "ja";
|
|
60
|
+
en: "en";
|
|
61
|
+
ko: "ko";
|
|
62
|
+
}>;
|
|
63
|
+
message: z.ZodString;
|
|
64
|
+
}, z.core.$strip>>>>;
|
|
65
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
66
|
+
locale: z.ZodEnum<{
|
|
67
|
+
zh: "zh";
|
|
68
|
+
ja: "ja";
|
|
69
|
+
en: "en";
|
|
70
|
+
ko: "ko";
|
|
71
|
+
}>;
|
|
72
|
+
message: z.ZodString;
|
|
73
|
+
}, z.core.$strip>>>>;
|
|
74
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
76
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
}, z.core.$strict>>>;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
declare const DropdownButtonActionC: z.ZodReadonly<z.ZodObject<{
|
|
80
|
+
id: z.ZodUUID;
|
|
81
|
+
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
82
|
+
locale: z.ZodEnum<{
|
|
83
|
+
zh: "zh";
|
|
84
|
+
ja: "ja";
|
|
85
|
+
en: "en";
|
|
86
|
+
ko: "ko";
|
|
87
|
+
}>;
|
|
88
|
+
message: z.ZodString;
|
|
89
|
+
}, z.core.$strip>>>;
|
|
90
|
+
tooltip: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
91
|
+
locale: z.ZodEnum<{
|
|
92
|
+
zh: "zh";
|
|
93
|
+
ja: "ja";
|
|
94
|
+
en: "en";
|
|
95
|
+
ko: "ko";
|
|
96
|
+
}>;
|
|
97
|
+
message: z.ZodString;
|
|
98
|
+
}, z.core.$strip>>>>;
|
|
99
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
100
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
101
|
+
default: "default";
|
|
102
|
+
destructive: "destructive";
|
|
103
|
+
primary: "primary";
|
|
104
|
+
ghost: "ghost";
|
|
105
|
+
}>>;
|
|
106
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
107
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
108
|
+
locale: z.ZodEnum<{
|
|
109
|
+
zh: "zh";
|
|
110
|
+
ja: "ja";
|
|
111
|
+
en: "en";
|
|
112
|
+
ko: "ko";
|
|
113
|
+
}>;
|
|
114
|
+
message: z.ZodString;
|
|
115
|
+
}, z.core.$strip>>>>;
|
|
116
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
117
|
+
locale: z.ZodEnum<{
|
|
118
|
+
zh: "zh";
|
|
119
|
+
ja: "ja";
|
|
120
|
+
en: "en";
|
|
121
|
+
ko: "ko";
|
|
122
|
+
}>;
|
|
123
|
+
message: z.ZodString;
|
|
124
|
+
}, z.core.$strip>>>>;
|
|
125
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
127
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strict>>>;
|
|
32
129
|
}, z.core.$strict>>;
|
|
33
130
|
export declare const ButtonDropdownC: z.ZodReadonly<z.ZodObject<{
|
|
34
131
|
id: z.ZodUUID;
|
|
@@ -69,6 +166,29 @@ export declare const ButtonDropdownC: z.ZodReadonly<z.ZodObject<{
|
|
|
69
166
|
primary: "primary";
|
|
70
167
|
ghost: "ghost";
|
|
71
168
|
}>>;
|
|
169
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
170
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
171
|
+
locale: z.ZodEnum<{
|
|
172
|
+
zh: "zh";
|
|
173
|
+
ja: "ja";
|
|
174
|
+
en: "en";
|
|
175
|
+
ko: "ko";
|
|
176
|
+
}>;
|
|
177
|
+
message: z.ZodString;
|
|
178
|
+
}, z.core.$strip>>>>;
|
|
179
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
180
|
+
locale: z.ZodEnum<{
|
|
181
|
+
zh: "zh";
|
|
182
|
+
ja: "ja";
|
|
183
|
+
en: "en";
|
|
184
|
+
ko: "ko";
|
|
185
|
+
}>;
|
|
186
|
+
message: z.ZodString;
|
|
187
|
+
}, z.core.$strip>>>>;
|
|
188
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
190
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
}, z.core.$strict>>>;
|
|
72
192
|
}, z.core.$strict>>>>;
|
|
73
193
|
}, z.core.$strict>>;
|
|
74
194
|
export declare const ButtonGroupItemC: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
@@ -99,6 +219,29 @@ export declare const ButtonGroupItemC: z.ZodUnion<readonly [z.ZodReadonly<z.ZodO
|
|
|
99
219
|
ghost: "ghost";
|
|
100
220
|
}>>;
|
|
101
221
|
hideTitle: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
223
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
224
|
+
locale: z.ZodEnum<{
|
|
225
|
+
zh: "zh";
|
|
226
|
+
ja: "ja";
|
|
227
|
+
en: "en";
|
|
228
|
+
ko: "ko";
|
|
229
|
+
}>;
|
|
230
|
+
message: z.ZodString;
|
|
231
|
+
}, z.core.$strip>>>>;
|
|
232
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
233
|
+
locale: z.ZodEnum<{
|
|
234
|
+
zh: "zh";
|
|
235
|
+
ja: "ja";
|
|
236
|
+
en: "en";
|
|
237
|
+
ko: "ko";
|
|
238
|
+
}>;
|
|
239
|
+
message: z.ZodString;
|
|
240
|
+
}, z.core.$strip>>>>;
|
|
241
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
243
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
}, z.core.$strict>>>;
|
|
102
245
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
103
246
|
id: z.ZodUUID;
|
|
104
247
|
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -138,6 +281,29 @@ export declare const ButtonGroupItemC: z.ZodUnion<readonly [z.ZodReadonly<z.ZodO
|
|
|
138
281
|
primary: "primary";
|
|
139
282
|
ghost: "ghost";
|
|
140
283
|
}>>;
|
|
284
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
285
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
286
|
+
locale: z.ZodEnum<{
|
|
287
|
+
zh: "zh";
|
|
288
|
+
ja: "ja";
|
|
289
|
+
en: "en";
|
|
290
|
+
ko: "ko";
|
|
291
|
+
}>;
|
|
292
|
+
message: z.ZodString;
|
|
293
|
+
}, z.core.$strip>>>>;
|
|
294
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
295
|
+
locale: z.ZodEnum<{
|
|
296
|
+
zh: "zh";
|
|
297
|
+
ja: "ja";
|
|
298
|
+
en: "en";
|
|
299
|
+
ko: "ko";
|
|
300
|
+
}>;
|
|
301
|
+
message: z.ZodString;
|
|
302
|
+
}, z.core.$strip>>>>;
|
|
303
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
304
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
305
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
+
}, z.core.$strict>>>;
|
|
141
307
|
}, z.core.$strict>>>>;
|
|
142
308
|
}, z.core.$strict>>]>;
|
|
143
309
|
export declare const ButtonGroupC: z.ZodReadonly<z.ZodObject<{
|
|
@@ -170,6 +336,29 @@ export declare const ButtonGroupC: z.ZodReadonly<z.ZodObject<{
|
|
|
170
336
|
ghost: "ghost";
|
|
171
337
|
}>>;
|
|
172
338
|
hideTitle: z.ZodOptional<z.ZodBoolean>;
|
|
339
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
340
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
341
|
+
locale: z.ZodEnum<{
|
|
342
|
+
zh: "zh";
|
|
343
|
+
ja: "ja";
|
|
344
|
+
en: "en";
|
|
345
|
+
ko: "ko";
|
|
346
|
+
}>;
|
|
347
|
+
message: z.ZodString;
|
|
348
|
+
}, z.core.$strip>>>>;
|
|
349
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
350
|
+
locale: z.ZodEnum<{
|
|
351
|
+
zh: "zh";
|
|
352
|
+
ja: "ja";
|
|
353
|
+
en: "en";
|
|
354
|
+
ko: "ko";
|
|
355
|
+
}>;
|
|
356
|
+
message: z.ZodString;
|
|
357
|
+
}, z.core.$strip>>>>;
|
|
358
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
360
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
}, z.core.$strict>>>;
|
|
173
362
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
174
363
|
id: z.ZodUUID;
|
|
175
364
|
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -209,6 +398,29 @@ export declare const ButtonGroupC: z.ZodReadonly<z.ZodObject<{
|
|
|
209
398
|
primary: "primary";
|
|
210
399
|
ghost: "ghost";
|
|
211
400
|
}>>;
|
|
401
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
402
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
403
|
+
locale: z.ZodEnum<{
|
|
404
|
+
zh: "zh";
|
|
405
|
+
ja: "ja";
|
|
406
|
+
en: "en";
|
|
407
|
+
ko: "ko";
|
|
408
|
+
}>;
|
|
409
|
+
message: z.ZodString;
|
|
410
|
+
}, z.core.$strip>>>>;
|
|
411
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
412
|
+
locale: z.ZodEnum<{
|
|
413
|
+
zh: "zh";
|
|
414
|
+
ja: "ja";
|
|
415
|
+
en: "en";
|
|
416
|
+
ko: "ko";
|
|
417
|
+
}>;
|
|
418
|
+
message: z.ZodString;
|
|
419
|
+
}, z.core.$strip>>>>;
|
|
420
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
422
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
}, z.core.$strict>>>;
|
|
212
424
|
}, z.core.$strict>>>>;
|
|
213
425
|
}, z.core.$strict>>]>>>;
|
|
214
426
|
}, z.core.$strict>>;
|
|
@@ -245,6 +457,29 @@ export declare const ButtonConfigC: z.ZodReadonly<z.ZodObject<{
|
|
|
245
457
|
ghost: "ghost";
|
|
246
458
|
}>>;
|
|
247
459
|
hideTitle: z.ZodOptional<z.ZodBoolean>;
|
|
460
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
461
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
462
|
+
locale: z.ZodEnum<{
|
|
463
|
+
zh: "zh";
|
|
464
|
+
ja: "ja";
|
|
465
|
+
en: "en";
|
|
466
|
+
ko: "ko";
|
|
467
|
+
}>;
|
|
468
|
+
message: z.ZodString;
|
|
469
|
+
}, z.core.$strip>>>>;
|
|
470
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
471
|
+
locale: z.ZodEnum<{
|
|
472
|
+
zh: "zh";
|
|
473
|
+
ja: "ja";
|
|
474
|
+
en: "en";
|
|
475
|
+
ko: "ko";
|
|
476
|
+
}>;
|
|
477
|
+
message: z.ZodString;
|
|
478
|
+
}, z.core.$strip>>>>;
|
|
479
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
480
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
481
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
482
|
+
}, z.core.$strict>>>;
|
|
248
483
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
249
484
|
id: z.ZodUUID;
|
|
250
485
|
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -284,6 +519,29 @@ export declare const ButtonConfigC: z.ZodReadonly<z.ZodObject<{
|
|
|
284
519
|
primary: "primary";
|
|
285
520
|
ghost: "ghost";
|
|
286
521
|
}>>;
|
|
522
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
523
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
524
|
+
locale: z.ZodEnum<{
|
|
525
|
+
zh: "zh";
|
|
526
|
+
ja: "ja";
|
|
527
|
+
en: "en";
|
|
528
|
+
ko: "ko";
|
|
529
|
+
}>;
|
|
530
|
+
message: z.ZodString;
|
|
531
|
+
}, z.core.$strip>>>>;
|
|
532
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
533
|
+
locale: z.ZodEnum<{
|
|
534
|
+
zh: "zh";
|
|
535
|
+
ja: "ja";
|
|
536
|
+
en: "en";
|
|
537
|
+
ko: "ko";
|
|
538
|
+
}>;
|
|
539
|
+
message: z.ZodString;
|
|
540
|
+
}, z.core.$strip>>>>;
|
|
541
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
542
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
543
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
544
|
+
}, z.core.$strict>>>;
|
|
287
545
|
}, z.core.$strict>>>>;
|
|
288
546
|
}, z.core.$strict>>]>>>;
|
|
289
547
|
}, z.core.$strict>>>>;
|
|
@@ -321,6 +579,29 @@ export declare const ButtonConfigInputC: z.ZodReadonly<z.ZodObject<{
|
|
|
321
579
|
ghost: "ghost";
|
|
322
580
|
}>>;
|
|
323
581
|
hideTitle: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
583
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
584
|
+
locale: z.ZodEnum<{
|
|
585
|
+
zh: "zh";
|
|
586
|
+
ja: "ja";
|
|
587
|
+
en: "en";
|
|
588
|
+
ko: "ko";
|
|
589
|
+
}>;
|
|
590
|
+
message: z.ZodString;
|
|
591
|
+
}, z.core.$strip>>>>;
|
|
592
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
593
|
+
locale: z.ZodEnum<{
|
|
594
|
+
zh: "zh";
|
|
595
|
+
ja: "ja";
|
|
596
|
+
en: "en";
|
|
597
|
+
ko: "ko";
|
|
598
|
+
}>;
|
|
599
|
+
message: z.ZodString;
|
|
600
|
+
}, z.core.$strip>>>>;
|
|
601
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
602
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
603
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
604
|
+
}, z.core.$strict>>>;
|
|
324
605
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
325
606
|
id: z.ZodUUID;
|
|
326
607
|
title: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -360,15 +641,41 @@ export declare const ButtonConfigInputC: z.ZodReadonly<z.ZodObject<{
|
|
|
360
641
|
primary: "primary";
|
|
361
642
|
ghost: "ghost";
|
|
362
643
|
}>>;
|
|
644
|
+
modal: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
645
|
+
title: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
646
|
+
locale: z.ZodEnum<{
|
|
647
|
+
zh: "zh";
|
|
648
|
+
ja: "ja";
|
|
649
|
+
en: "en";
|
|
650
|
+
ko: "ko";
|
|
651
|
+
}>;
|
|
652
|
+
message: z.ZodString;
|
|
653
|
+
}, z.core.$strip>>>>;
|
|
654
|
+
description: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
655
|
+
locale: z.ZodEnum<{
|
|
656
|
+
zh: "zh";
|
|
657
|
+
ja: "ja";
|
|
658
|
+
en: "en";
|
|
659
|
+
ko: "ko";
|
|
660
|
+
}>;
|
|
661
|
+
message: z.ZodString;
|
|
662
|
+
}, z.core.$strip>>>>;
|
|
663
|
+
showCloseButton: z.ZodOptional<z.ZodBoolean>;
|
|
664
|
+
breakpoint: z.ZodOptional<z.ZodString>;
|
|
665
|
+
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
666
|
+
}, z.core.$strict>>>;
|
|
363
667
|
}, z.core.$strict>>>>;
|
|
364
668
|
}, z.core.$strict>>]>>>;
|
|
365
669
|
}, z.core.$strict>>>>;
|
|
366
670
|
}, z.core.$strict>>;
|
|
671
|
+
export type ButtonModal = z.infer<typeof ButtonModalC>;
|
|
367
672
|
export type ButtonAction = z.infer<typeof ButtonActionC>;
|
|
368
673
|
export type ButtonDropdown = z.infer<typeof ButtonDropdownC>;
|
|
674
|
+
export type ButtonDropdownAction = z.infer<typeof DropdownButtonActionC>;
|
|
369
675
|
export type ButtonGroupItem = z.infer<typeof ButtonGroupItemC>;
|
|
370
676
|
export type ButtonGroup = z.infer<typeof ButtonGroupC>;
|
|
371
677
|
export type ButtonConfig = z.infer<typeof ButtonConfigC>;
|
|
372
678
|
export type ButtonConfigInput = z.infer<typeof ButtonConfigInputC>;
|
|
373
679
|
export declare function normalizeButtonConfigInput(value: unknown): unknown;
|
|
374
680
|
export type ButtonVariant = ButtonVariants['variant'];
|
|
681
|
+
export {};
|
|
@@ -4,20 +4,29 @@ const buttonIdC = z.uuid().describe("\u6309\u94AE\u552F\u4E00\u6807\u8BC6\uFF0C\
|
|
|
4
4
|
const buttonGroupIdC = z.uuid().describe("\u6309\u94AE\u7EC4\u552F\u4E00\u6807\u8BC6\uFF0C\u5FC5\u987B\u662F UUID");
|
|
5
5
|
const buttonVariantC = z.enum(["default", "primary", "destructive", "ghost"]).optional().describe("\u6309\u94AE\u53D8\u4F53");
|
|
6
6
|
export const ButtonsStyleC = expressionC(/^map/).optional().describe("\u8FD4\u56DE\u6309\u94AE\u5BB9\u5668\u6837\u5F0F\u5BF9\u8C61\u7684 CEL \u8868\u8FBE\u5F0F");
|
|
7
|
+
export const ButtonModalC = z.strictObject({
|
|
8
|
+
title: localeC.optional().describe("Modal \u6807\u9898\u7684\u672C\u5730\u5316\u663E\u793A\u6587\u672C"),
|
|
9
|
+
description: localeC.optional().describe("Modal \u63CF\u8FF0\u7684\u672C\u5730\u5316\u663E\u793A\u6587\u672C"),
|
|
10
|
+
showCloseButton: z.boolean().optional().describe("\u662F\u5426\u663E\u793A Modal \u5173\u95ED\u6309\u94AE"),
|
|
11
|
+
breakpoint: z.string().optional().describe("\u5207\u6362\u684C\u9762 Dialog \u4E0E\u79FB\u52A8\u7AEF Drawer \u7684\u5A92\u4F53\u67E5\u8BE2\u65AD\u70B9"),
|
|
12
|
+
dismissible: z.boolean().optional().describe("\u662F\u5426\u5141\u8BB8\u901A\u8FC7\u5916\u90E8\u4EA4\u4E92\u5173\u95ED Modal")
|
|
13
|
+
}).readonly();
|
|
7
14
|
export const ButtonActionC = z.strictObject({
|
|
8
15
|
id: buttonIdC,
|
|
9
16
|
title: localeC.describe("\u6309\u94AE\u540D\u79F0\u7684\u672C\u5730\u5316\u663E\u793A\u6587\u672C"),
|
|
10
17
|
tooltip: localeC.optional().describe("\u6309\u94AE\u63D0\u793A\u7684\u672C\u5730\u5316\u663E\u793A\u6587\u672C"),
|
|
11
18
|
icon: z.string().optional().describe("Iconify \u56FE\u6807\u6807\u8BC6\u7B26"),
|
|
12
19
|
variant: buttonVariantC,
|
|
13
|
-
hideTitle: z.boolean().optional().describe("\u4EC5\u5BF9\u975E\u4E0B\u62C9\u6309\u94AE\u751F\u6548\uFF1B\u4E3A true \u65F6\u9690\u85CF\u6309\u94AE\u6587\u5B57\uFF0C\u4EC5\u663E\u793A\u56FE\u6807")
|
|
20
|
+
hideTitle: z.boolean().optional().describe("\u4EC5\u5BF9\u975E\u4E0B\u62C9\u6309\u94AE\u751F\u6548\uFF1B\u4E3A true \u65F6\u9690\u85CF\u6309\u94AE\u6587\u5B57\uFF0C\u4EC5\u663E\u793A\u56FE\u6807"),
|
|
21
|
+
modal: ButtonModalC.optional().describe("\u4E0E\u5F53\u524D\u6309\u94AE UUID \u540C\u540D slot \u6253\u5F00\u65F6\u4F7F\u7528\u7684\u9ED8\u8BA4 Modal \u58F3\u914D\u7F6E")
|
|
14
22
|
}).readonly();
|
|
15
23
|
const DropdownButtonActionC = z.strictObject({
|
|
16
24
|
id: buttonIdC,
|
|
17
25
|
title: localeC.describe("\u4E0B\u62C9\u9879\u6309\u94AE\u540D\u79F0\u7684\u672C\u5730\u5316\u663E\u793A\u6587\u672C"),
|
|
18
26
|
tooltip: localeC.optional().describe("\u4E0B\u62C9\u9879\u6309\u94AE\u63D0\u793A\u7684\u672C\u5730\u5316\u663E\u793A\u6587\u672C"),
|
|
19
27
|
icon: z.string().optional().describe("Iconify \u56FE\u6807\u6807\u8BC6\u7B26"),
|
|
20
|
-
variant: buttonVariantC
|
|
28
|
+
variant: buttonVariantC,
|
|
29
|
+
modal: ButtonModalC.optional().describe("\u4E0E\u5F53\u524D\u4E0B\u62C9\u6309\u94AE UUID \u540C\u540D slot \u6253\u5F00\u65F6\u4F7F\u7528\u7684\u9ED8\u8BA4 Modal \u58F3\u914D\u7F6E")
|
|
21
30
|
}).readonly();
|
|
22
31
|
export const ButtonDropdownC = z.strictObject({
|
|
23
32
|
id: buttonIdC,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { DrawerRootProps } from 'vaul-vue';
|
|
2
|
+
type Props = Omit<DrawerRootProps, 'direction'>;
|
|
3
|
+
declare var __VLS_8: {
|
|
4
|
+
open: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
close: () => any;
|
|
11
|
+
"update:open": (open: boolean) => any;
|
|
12
|
+
animationEnd: (open: boolean) => any;
|
|
13
|
+
drag: (percentageDragged: number) => any;
|
|
14
|
+
release: (open: boolean) => any;
|
|
15
|
+
"update:activeSnapPoint": (val: string | number) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
19
|
+
onAnimationEnd?: ((open: boolean) => any) | undefined;
|
|
20
|
+
onDrag?: ((percentageDragged: number) => any) | undefined;
|
|
21
|
+
onRelease?: ((open: boolean) => any) | undefined;
|
|
22
|
+
"onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useForwardPropsEmits } from "reka-ui";
|
|
3
|
+
import { DrawerRoot } from "vaul-vue";
|
|
4
|
+
defineOptions({
|
|
5
|
+
inheritAttrs: false
|
|
6
|
+
});
|
|
7
|
+
const props = defineProps({
|
|
8
|
+
activeSnapPoint: { type: [Number, String, null], required: false },
|
|
9
|
+
closeThreshold: { type: Number, required: false },
|
|
10
|
+
shouldScaleBackground: { type: Boolean, required: false },
|
|
11
|
+
setBackgroundColorOnScale: { type: Boolean, required: false },
|
|
12
|
+
scrollLockTimeout: { type: Number, required: false },
|
|
13
|
+
fixed: { type: Boolean, required: false },
|
|
14
|
+
dismissible: { type: Boolean, required: false },
|
|
15
|
+
modal: { type: Boolean, required: false },
|
|
16
|
+
open: { type: Boolean, required: false },
|
|
17
|
+
defaultOpen: { type: Boolean, required: false },
|
|
18
|
+
nested: { type: Boolean, required: false },
|
|
19
|
+
noBodyStyles: { type: Boolean, required: false },
|
|
20
|
+
handleOnly: { type: Boolean, required: false },
|
|
21
|
+
preventScrollRestoration: { type: Boolean, required: false },
|
|
22
|
+
snapPoints: { type: Array, required: false },
|
|
23
|
+
fadeFromIndex: { type: null, required: false }
|
|
24
|
+
});
|
|
25
|
+
const emits = defineEmits(["drag", "release", "close", "update:open", "update:activeSnapPoint", "animationEnd"]);
|
|
26
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<DrawerRoot
|
|
31
|
+
v-slot="slotProps"
|
|
32
|
+
data-slot="drawer"
|
|
33
|
+
direction="bottom"
|
|
34
|
+
v-bind="forwarded"
|
|
35
|
+
>
|
|
36
|
+
<slot v-bind="slotProps" />
|
|
37
|
+
</DrawerRoot>
|
|
38
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { DrawerRootProps } from 'vaul-vue';
|
|
2
|
+
type Props = Omit<DrawerRootProps, 'direction'>;
|
|
3
|
+
declare var __VLS_8: {
|
|
4
|
+
open: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
close: () => any;
|
|
11
|
+
"update:open": (open: boolean) => any;
|
|
12
|
+
animationEnd: (open: boolean) => any;
|
|
13
|
+
drag: (percentageDragged: number) => any;
|
|
14
|
+
release: (open: boolean) => any;
|
|
15
|
+
"update:activeSnapPoint": (val: string | number) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
19
|
+
onAnimationEnd?: ((open: boolean) => any) | undefined;
|
|
20
|
+
onDrag?: ((percentageDragged: number) => any) | undefined;
|
|
21
|
+
onRelease?: ((open: boolean) => any) | undefined;
|
|
22
|
+
"onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DrawerCloseProps } from 'vaul-vue';
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<DrawerCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DrawerCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { DrawerClose } from "vaul-vue";
|
|
3
|
+
defineOptions({
|
|
4
|
+
inheritAttrs: false
|
|
5
|
+
});
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
asChild: { type: Boolean, required: false },
|
|
8
|
+
as: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<DrawerClose
|
|
14
|
+
data-slot="drawer-close"
|
|
15
|
+
v-bind="props"
|
|
16
|
+
>
|
|
17
|
+
<slot />
|
|
18
|
+
</DrawerClose>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DrawerCloseProps } from 'vaul-vue';
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<DrawerCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DrawerCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
showCloseButton?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_19: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_19) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
showCloseButton: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { Icon } from "@iconify/vue";
|
|
4
|
+
import { useForwardProps } from "reka-ui";
|
|
5
|
+
import {
|
|
6
|
+
DrawerClose,
|
|
7
|
+
DrawerContent,
|
|
8
|
+
DrawerPortal
|
|
9
|
+
} from "vaul-vue";
|
|
10
|
+
import { cn } from "../../../utils/cn";
|
|
11
|
+
import DrawerOverlay from "./DrawerOverlay.vue";
|
|
12
|
+
defineOptions({
|
|
13
|
+
inheritAttrs: false
|
|
14
|
+
});
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
class: { type: null, required: false },
|
|
17
|
+
showCloseButton: { type: Boolean, required: false, default: true }
|
|
18
|
+
});
|
|
19
|
+
const delegatedProps = reactiveOmit(props, "class", "showCloseButton");
|
|
20
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<DrawerPortal>
|
|
25
|
+
<DrawerOverlay />
|
|
26
|
+
<DrawerContent
|
|
27
|
+
data-slot="drawer-content"
|
|
28
|
+
v-bind="{ ...$attrs, ...forwardedProps }"
|
|
29
|
+
:class="
|
|
30
|
+
cn(
|
|
31
|
+
'data-[state=closed]:animate-out data-[state=open]:animate-in data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom fixed inset-x-0 bottom-0 z-50 mt-24 flex max-h-[90vh] flex-col gap-4 rounded-t-lg border border-zinc-200 bg-white p-6 shadow-lg outline-hidden',
|
|
32
|
+
props.class
|
|
33
|
+
)
|
|
34
|
+
"
|
|
35
|
+
>
|
|
36
|
+
<div class="mx-auto -mt-2 h-2 w-16 rounded-full bg-zinc-200" />
|
|
37
|
+
|
|
38
|
+
<slot />
|
|
39
|
+
|
|
40
|
+
<DrawerClose
|
|
41
|
+
v-if="showCloseButton"
|
|
42
|
+
data-slot="drawer-close-button"
|
|
43
|
+
class="data-[state=open]:bg-zinc-100 data-[state=open]:text-zinc-700 absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
|
|
44
|
+
>
|
|
45
|
+
<Icon icon="fluent:dismiss-20-filled" />
|
|
46
|
+
<span class="sr-only">Close</span>
|
|
47
|
+
</DrawerClose>
|
|
48
|
+
</DrawerContent>
|
|
49
|
+
</DrawerPortal>
|
|
50
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
showCloseButton?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_19: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_19) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
showCloseButton: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|