@upsoftware_tech/svarium 1.0.2 → 1.0.4
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/index.d.ts +237 -83
- package/dist/src/pages/Auth/Login.vue +14 -4
- package/dist/src/pages/Auth/Method.vue +22 -0
- package/dist/src/pages/Auth/Reset.vue +11 -0
- package/dist/src/pages/Auth/ResetPassword.vue +41 -0
- package/dist/src/pages/Auth/Verification.vue +8 -5
- package/dist/svarium.css +1 -1
- package/dist/svarium.es.js +17955 -15937
- package/dist/svarium.umd.js +4 -4
- package/package.json +5 -4
- package/src/pages/Auth/Login.vue +14 -4
- package/src/pages/Auth/Method.vue +22 -0
- package/src/pages/Auth/Reset.vue +11 -0
- package/src/pages/Auth/ResetPassword.vue +41 -0
- package/src/pages/Auth/Verification.vue +8 -5
package/dist/index.d.ts
CHANGED
|
@@ -14,46 +14,61 @@ import { PublicProps } from 'vue';
|
|
|
14
14
|
import { Ref } from 'vue';
|
|
15
15
|
import { VariantProps } from 'class-variance-authority';
|
|
16
16
|
|
|
17
|
-
declare const __VLS_component: DefineComponent<
|
|
17
|
+
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
|
|
19
|
+
declare const __VLS_component_10: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
|
|
21
|
+
declare const __VLS_component_11: DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_19> & Readonly<{}>, {
|
|
22
|
+
right: boolean;
|
|
23
|
+
left: boolean;
|
|
24
|
+
orientation: "horizontal" | "vertical";
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
|
|
27
|
+
declare const __VLS_component_2: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
|
|
18
28
|
as: AsTag | Component;
|
|
19
29
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
30
|
|
|
21
|
-
declare const
|
|
31
|
+
declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22
32
|
|
|
23
|
-
declare const
|
|
33
|
+
declare const __VLS_component_4: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_4> & Readonly<{}>, {
|
|
24
34
|
action: string;
|
|
25
35
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
26
36
|
|
|
27
|
-
declare const
|
|
37
|
+
declare const __VLS_component_5: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_5> & Readonly<{}>, {
|
|
28
38
|
label: string;
|
|
29
39
|
name: string;
|
|
30
40
|
hint: string;
|
|
31
41
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
42
|
|
|
33
|
-
declare const
|
|
43
|
+
declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
44
|
"update:modelValue": (value: string | number) => any;
|
|
35
|
-
}, string, PublicProps, Readonly<
|
|
45
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
36
46
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
37
47
|
}>, {
|
|
38
|
-
|
|
48
|
+
copy: boolean;
|
|
39
49
|
type: string;
|
|
40
50
|
placeholder: string;
|
|
51
|
+
label: string;
|
|
41
52
|
name: string;
|
|
53
|
+
clear: boolean;
|
|
42
54
|
hint: string;
|
|
55
|
+
stringGeneratorLength: number;
|
|
43
56
|
password: boolean;
|
|
44
57
|
addon: string;
|
|
58
|
+
passwordGenerator: boolean;
|
|
59
|
+
showPasswordRequired: boolean;
|
|
45
60
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
46
61
|
|
|
47
|
-
declare const
|
|
62
|
+
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
48
63
|
|
|
49
|
-
declare const
|
|
64
|
+
declare const __VLS_component_8: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
|
|
50
65
|
label: string;
|
|
51
66
|
name: string;
|
|
52
|
-
hint: string;
|
|
53
67
|
value: string | number | boolean;
|
|
68
|
+
hint: string;
|
|
54
69
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
55
70
|
|
|
56
|
-
declare const
|
|
71
|
+
declare const __VLS_component_9: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_18> & Readonly<{}>, {
|
|
57
72
|
offset: number;
|
|
58
73
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
59
74
|
sidebar: HTMLDivElement;
|
|
@@ -63,14 +78,18 @@ sidebar_bottom: HTMLDivElement;
|
|
|
63
78
|
sidebar_footer: HTMLDivElement;
|
|
64
79
|
}, any>;
|
|
65
80
|
|
|
66
|
-
declare
|
|
81
|
+
declare type __VLS_Props = Props;
|
|
67
82
|
|
|
68
|
-
declare type
|
|
83
|
+
declare type __VLS_Props_2 = Props_6;
|
|
69
84
|
|
|
70
85
|
declare type __VLS_PublicProps = {
|
|
71
|
-
modelValue?:
|
|
86
|
+
modelValue?: boolean;
|
|
72
87
|
} & __VLS_Props;
|
|
73
88
|
|
|
89
|
+
declare type __VLS_PublicProps_2 = {
|
|
90
|
+
modelValue?: string | number;
|
|
91
|
+
} & __VLS_Props_2;
|
|
92
|
+
|
|
74
93
|
declare function __VLS_template(): {
|
|
75
94
|
attrs: Partial<{}>;
|
|
76
95
|
slots: {
|
|
@@ -80,6 +99,24 @@ declare function __VLS_template(): {
|
|
|
80
99
|
rootEl: any;
|
|
81
100
|
};
|
|
82
101
|
|
|
102
|
+
declare function __VLS_template_10(): {
|
|
103
|
+
attrs: Partial<{}>;
|
|
104
|
+
slots: {
|
|
105
|
+
default?(_: {}): any;
|
|
106
|
+
};
|
|
107
|
+
refs: {};
|
|
108
|
+
rootEl: any;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
declare function __VLS_template_11(): {
|
|
112
|
+
attrs: Partial<{}>;
|
|
113
|
+
slots: {
|
|
114
|
+
default?(_: {}): any;
|
|
115
|
+
};
|
|
116
|
+
refs: {};
|
|
117
|
+
rootEl: HTMLDivElement;
|
|
118
|
+
};
|
|
119
|
+
|
|
83
120
|
declare function __VLS_template_2(): {
|
|
84
121
|
attrs: Partial<{}>;
|
|
85
122
|
slots: {
|
|
@@ -99,6 +136,15 @@ declare function __VLS_template_3(): {
|
|
|
99
136
|
};
|
|
100
137
|
|
|
101
138
|
declare function __VLS_template_4(): {
|
|
139
|
+
attrs: Partial<{}>;
|
|
140
|
+
slots: {
|
|
141
|
+
default?(_: {}): any;
|
|
142
|
+
};
|
|
143
|
+
refs: {};
|
|
144
|
+
rootEl: any;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
declare function __VLS_template_5(): {
|
|
102
148
|
attrs: Partial<{}>;
|
|
103
149
|
slots: {
|
|
104
150
|
default?(_: {
|
|
@@ -110,7 +156,7 @@ declare function __VLS_template_4(): {
|
|
|
110
156
|
rootEl: HTMLDivElement;
|
|
111
157
|
};
|
|
112
158
|
|
|
113
|
-
declare function
|
|
159
|
+
declare function __VLS_template_6(): {
|
|
114
160
|
attrs: Partial<{}>;
|
|
115
161
|
slots: {
|
|
116
162
|
addon?(_: {}): any;
|
|
@@ -120,7 +166,7 @@ declare function __VLS_template_5(): {
|
|
|
120
166
|
rootEl: any;
|
|
121
167
|
};
|
|
122
168
|
|
|
123
|
-
declare function
|
|
169
|
+
declare function __VLS_template_7(): {
|
|
124
170
|
attrs: Partial<{}>;
|
|
125
171
|
slots: {
|
|
126
172
|
default?(_: {}): any;
|
|
@@ -129,7 +175,7 @@ declare function __VLS_template_6(): {
|
|
|
129
175
|
rootEl: HTMLDivElement;
|
|
130
176
|
};
|
|
131
177
|
|
|
132
|
-
declare function
|
|
178
|
+
declare function __VLS_template_8(): {
|
|
133
179
|
attrs: Partial<{}>;
|
|
134
180
|
slots: {
|
|
135
181
|
default?(_: {}): any;
|
|
@@ -138,7 +184,7 @@ declare function __VLS_template_7(): {
|
|
|
138
184
|
rootEl: HTMLDivElement;
|
|
139
185
|
};
|
|
140
186
|
|
|
141
|
-
declare function
|
|
187
|
+
declare function __VLS_template_9(): {
|
|
142
188
|
attrs: Partial<{}>;
|
|
143
189
|
slots: {
|
|
144
190
|
header?(_: {}): any;
|
|
@@ -155,17 +201,12 @@ declare function __VLS_template_8(): {
|
|
|
155
201
|
rootEl: any;
|
|
156
202
|
};
|
|
157
203
|
|
|
158
|
-
declare function __VLS_template_9(): {
|
|
159
|
-
attrs: Partial<{}>;
|
|
160
|
-
slots: {
|
|
161
|
-
default?(_: {}): any;
|
|
162
|
-
};
|
|
163
|
-
refs: {};
|
|
164
|
-
rootEl: any;
|
|
165
|
-
};
|
|
166
|
-
|
|
167
204
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
168
205
|
|
|
206
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
207
|
+
|
|
208
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
209
|
+
|
|
169
210
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
170
211
|
|
|
171
212
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -188,6 +229,18 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
188
229
|
};
|
|
189
230
|
};
|
|
190
231
|
|
|
232
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
233
|
+
new (): {
|
|
234
|
+
$slots: S;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
239
|
+
new (): {
|
|
240
|
+
$slots: S;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
|
|
191
244
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
192
245
|
new (): {
|
|
193
246
|
$slots: S;
|
|
@@ -236,27 +289,43 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
236
289
|
};
|
|
237
290
|
};
|
|
238
291
|
|
|
239
|
-
export declare const
|
|
292
|
+
export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
240
293
|
|
|
241
|
-
export declare const
|
|
294
|
+
export declare const AuthLayout: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
295
|
+
|
|
296
|
+
export declare const BlockFormLogin: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_7> & Readonly<{}>, {
|
|
242
297
|
action: string;
|
|
243
298
|
showResetLink: boolean;
|
|
244
299
|
resetLabel: string;
|
|
300
|
+
resetLink: string;
|
|
245
301
|
submitLabel: string;
|
|
246
302
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
247
303
|
|
|
248
|
-
export declare const BlockFormLoginMethodVerification: DefineComponent<
|
|
304
|
+
export declare const BlockFormLoginMethodVerification: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
|
|
249
305
|
verificationMethods: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
250
306
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
251
307
|
|
|
252
|
-
export declare const
|
|
308
|
+
export declare const BlockFormReset: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_8> & Readonly<{}>, {
|
|
309
|
+
action: string;
|
|
310
|
+
submitLabel: string;
|
|
311
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
312
|
+
|
|
313
|
+
export declare const BlockFormResetPassword: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_9> & Readonly<{}>, {
|
|
314
|
+
action: string;
|
|
315
|
+
submitLabel: string;
|
|
316
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
317
|
+
|
|
318
|
+
export declare const BlockFormVerification: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_12> & Readonly<{}>, {
|
|
253
319
|
session: string;
|
|
320
|
+
remember: boolean;
|
|
254
321
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
255
322
|
|
|
256
|
-
export declare const BlockPageLogin: DefineComponent<
|
|
323
|
+
export declare const BlockPageLogin: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
|
|
257
324
|
title: string;
|
|
325
|
+
minimal: boolean;
|
|
258
326
|
showResetLink: boolean;
|
|
259
327
|
resetLabel: string;
|
|
328
|
+
resetLink: string;
|
|
260
329
|
submitLabel: string;
|
|
261
330
|
socials: SocialLink[];
|
|
262
331
|
showRegisterLink: boolean;
|
|
@@ -264,26 +333,44 @@ registerLabel: string;
|
|
|
264
333
|
registerLinkLabel: string;
|
|
265
334
|
registerLink: string;
|
|
266
335
|
subtitle: string;
|
|
336
|
+
cols: number;
|
|
337
|
+
orLabel: string;
|
|
338
|
+
onlySocialName: boolean;
|
|
339
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
340
|
+
|
|
341
|
+
export declare const BlockPageReset: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_10> & Readonly<{}>, {
|
|
342
|
+
title: string;
|
|
343
|
+
subtitle: string;
|
|
267
344
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
268
345
|
|
|
269
|
-
export declare const Button:
|
|
346
|
+
export declare const Button: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
270
347
|
|
|
271
348
|
export declare const ButtonClear: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
272
349
|
|
|
273
350
|
export declare const ButtonIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
274
351
|
|
|
275
|
-
export declare const ButtonSubmit:
|
|
352
|
+
export declare const ButtonSubmit: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
276
353
|
|
|
277
354
|
declare type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
278
355
|
|
|
279
356
|
declare const buttonVariants: (props?: ({
|
|
280
357
|
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
281
|
-
size?: "default" | "
|
|
358
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
282
359
|
} & ClassProp) | undefined) => string;
|
|
283
360
|
|
|
284
|
-
export declare const
|
|
361
|
+
export declare const ColorMode: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
285
362
|
|
|
286
|
-
|
|
363
|
+
declare type ColorModeVariants = VariantProps<typeof colorModeVariants>;
|
|
364
|
+
|
|
365
|
+
declare const colorModeVariants: (props?: ({
|
|
366
|
+
variant?: "default" | "switch" | "group" | "dropdown" | null | undefined;
|
|
367
|
+
} & ClassProp) | undefined) => string;
|
|
368
|
+
|
|
369
|
+
export declare const FlashMessage: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
370
|
+
|
|
371
|
+
export declare const Form: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
372
|
+
|
|
373
|
+
export declare const FormControl: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
287
374
|
|
|
288
375
|
export declare const FormError: DefineComponent<ExtractPropTypes< {
|
|
289
376
|
errors: {
|
|
@@ -297,29 +384,36 @@ type: (ObjectConstructor | StringConstructor)[];
|
|
|
297
384
|
|
|
298
385
|
export { Icon }
|
|
299
386
|
|
|
300
|
-
export declare const Input:
|
|
387
|
+
export declare const Input: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
388
|
+
|
|
389
|
+
export declare const LocaleSelect: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
301
390
|
|
|
302
391
|
export declare type LogoConfig = string | {
|
|
303
392
|
default: ThemeableSrc;
|
|
304
393
|
small?: ThemeableSrc;
|
|
305
394
|
};
|
|
306
395
|
|
|
307
|
-
export declare const NavigationVertical: DefineComponent<
|
|
396
|
+
export declare const NavigationVertical: DefineComponent<Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
308
397
|
|
|
309
398
|
declare interface OptionGroup {
|
|
310
399
|
label: string;
|
|
311
400
|
items: OptionItem[];
|
|
312
401
|
}
|
|
313
402
|
|
|
403
|
+
declare interface OptionIcon {
|
|
404
|
+
type: string;
|
|
405
|
+
value: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
314
408
|
declare interface OptionItem {
|
|
315
409
|
id?: string | number;
|
|
316
410
|
name?: string;
|
|
317
411
|
label?: string;
|
|
318
|
-
icon?:
|
|
412
|
+
icon?: OptionIcon;
|
|
319
413
|
value?: string | number;
|
|
320
414
|
}
|
|
321
415
|
|
|
322
|
-
export declare const Pin: DefineComponent<
|
|
416
|
+
export declare const Pin: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
|
|
323
417
|
label: string;
|
|
324
418
|
name: string;
|
|
325
419
|
hint: string;
|
|
@@ -329,27 +423,68 @@ maxlength: number;
|
|
|
329
423
|
declare const plugin: Plugin_2<[SvariumOptions]>;
|
|
330
424
|
export default plugin;
|
|
331
425
|
|
|
332
|
-
declare interface Props
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
426
|
+
declare interface Props {
|
|
427
|
+
label?: string;
|
|
428
|
+
hint?: string;
|
|
429
|
+
name?: string;
|
|
336
430
|
}
|
|
337
431
|
|
|
338
432
|
declare interface Props_10 {
|
|
433
|
+
title?: string;
|
|
434
|
+
subtitle?: string;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare interface Props_11 {
|
|
438
|
+
verificationMethods?: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
439
|
+
session: string;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
declare interface Props_12 {
|
|
443
|
+
type: 'login' | 'register' | 'reset';
|
|
444
|
+
session: string;
|
|
445
|
+
remember: boolean;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
declare interface Props_13 {
|
|
449
|
+
socials?: SocialLink[];
|
|
450
|
+
showRegisterLink?: boolean;
|
|
451
|
+
registerLabel?: string;
|
|
452
|
+
registerLinkLabel?: string;
|
|
453
|
+
registerLink?: string;
|
|
454
|
+
showResetLink?: boolean;
|
|
455
|
+
title?: string;
|
|
456
|
+
subtitle?: string;
|
|
457
|
+
resetLabel?: string;
|
|
458
|
+
resetLink?: string;
|
|
459
|
+
submitLabel?: string;
|
|
460
|
+
minimal?: boolean;
|
|
461
|
+
cols?: number;
|
|
462
|
+
orLabel?: string;
|
|
463
|
+
onlySocialName?: boolean;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
declare interface Props_14 {
|
|
467
|
+
value?: string | number | boolean;
|
|
468
|
+
name: string;
|
|
469
|
+
label?: string;
|
|
470
|
+
hint?: string;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
declare interface Props_15 {
|
|
339
474
|
name?: string;
|
|
340
475
|
maxlength?: number;
|
|
341
476
|
hint?: string;
|
|
342
477
|
label?: string;
|
|
343
478
|
}
|
|
344
479
|
|
|
345
|
-
declare interface
|
|
480
|
+
declare interface Props_16 {
|
|
346
481
|
uri?: string;
|
|
347
482
|
data?: any;
|
|
348
483
|
columns?: any;
|
|
349
484
|
rows?: any;
|
|
350
485
|
}
|
|
351
486
|
|
|
352
|
-
declare interface
|
|
487
|
+
declare interface Props_17 {
|
|
353
488
|
placeholder?: string;
|
|
354
489
|
options?: OptionItem[] | OptionGroup[];
|
|
355
490
|
name?: string;
|
|
@@ -359,26 +494,42 @@ declare interface Props_12 {
|
|
|
359
494
|
modelValue?: any;
|
|
360
495
|
}
|
|
361
496
|
|
|
362
|
-
declare interface
|
|
497
|
+
declare interface Props_18 {
|
|
363
498
|
navigation_id: string | number;
|
|
364
|
-
offset
|
|
499
|
+
offset?: number;
|
|
365
500
|
}
|
|
366
501
|
|
|
367
|
-
declare interface
|
|
502
|
+
declare interface Props_19 {
|
|
503
|
+
orientation?: 'horizontal' | 'vertical';
|
|
504
|
+
left?: boolean;
|
|
505
|
+
right?: boolean;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
declare interface Props_2 extends PrimitiveProps {
|
|
509
|
+
variant?: ButtonVariants["variant"];
|
|
510
|
+
size?: ButtonVariants["size"];
|
|
511
|
+
class?: HTMLAttributes["class"];
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
declare interface Props_20 {
|
|
368
515
|
navigation_id: string | number;
|
|
369
516
|
}
|
|
370
517
|
|
|
371
|
-
declare interface
|
|
518
|
+
declare interface Props_3 extends PrimitiveProps {
|
|
519
|
+
variant?: ColorModeVariants["variant"];
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
declare interface Props_4 {
|
|
372
523
|
action: string;
|
|
373
524
|
}
|
|
374
525
|
|
|
375
|
-
declare interface
|
|
526
|
+
declare interface Props_5 {
|
|
376
527
|
name?: string;
|
|
377
528
|
label?: string;
|
|
378
529
|
hint?: string;
|
|
379
530
|
}
|
|
380
531
|
|
|
381
|
-
declare interface
|
|
532
|
+
declare interface Props_6 {
|
|
382
533
|
name?: string;
|
|
383
534
|
type?: string;
|
|
384
535
|
password?: boolean;
|
|
@@ -386,60 +537,50 @@ declare interface Props_4 {
|
|
|
386
537
|
hint?: string;
|
|
387
538
|
placeholder?: string;
|
|
388
539
|
addon?: string;
|
|
540
|
+
clear?: boolean;
|
|
541
|
+
passwordGenerator?: boolean;
|
|
542
|
+
stringGeneratorLength?: number;
|
|
543
|
+
copy?: boolean;
|
|
544
|
+
showPasswordRequired?: boolean;
|
|
389
545
|
}
|
|
390
546
|
|
|
391
|
-
declare interface
|
|
547
|
+
declare interface Props_7 {
|
|
392
548
|
action?: string;
|
|
393
549
|
showResetLink?: boolean;
|
|
394
550
|
resetLabel?: string;
|
|
551
|
+
resetLink?: string;
|
|
395
552
|
submitLabel?: string;
|
|
396
553
|
}
|
|
397
554
|
|
|
398
|
-
declare interface Props_6 {
|
|
399
|
-
verificationMethods?: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
400
|
-
session: string;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
declare interface Props_7 {
|
|
404
|
-
session: string;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
555
|
declare interface Props_8 {
|
|
408
|
-
|
|
409
|
-
showRegisterLink?: boolean;
|
|
410
|
-
registerLabel?: string;
|
|
411
|
-
registerLinkLabel?: string;
|
|
412
|
-
registerLink?: string;
|
|
413
|
-
showResetLink?: boolean;
|
|
414
|
-
title?: string;
|
|
415
|
-
subtitle?: string;
|
|
416
|
-
resetLabel?: string;
|
|
556
|
+
action?: string;
|
|
417
557
|
submitLabel?: string;
|
|
418
558
|
}
|
|
419
559
|
|
|
420
560
|
declare interface Props_9 {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
hint?: string;
|
|
561
|
+
action?: string;
|
|
562
|
+
submitLabel?: string;
|
|
563
|
+
session: string;
|
|
425
564
|
}
|
|
426
565
|
|
|
427
|
-
export declare const Radio:
|
|
566
|
+
export declare const Radio: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
428
567
|
|
|
429
|
-
export declare const ScrollArea:
|
|
568
|
+
export declare const ScrollArea: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
430
569
|
|
|
431
|
-
export declare const Select: DefineComponent<
|
|
570
|
+
export declare const Select: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
432
571
|
"update:modelValue": (...args: any[]) => void;
|
|
433
|
-
}, string, PublicProps, Readonly<
|
|
572
|
+
}, string, PublicProps, Readonly<Props_17> & Readonly<{
|
|
434
573
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
435
574
|
}>, {
|
|
436
|
-
options: OptionItem[] | OptionGroup[];
|
|
437
575
|
placeholder: string;
|
|
438
576
|
clear: boolean;
|
|
439
577
|
modelValue: any;
|
|
578
|
+
options: OptionItem[] | OptionGroup[];
|
|
440
579
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
441
580
|
|
|
442
|
-
export declare const
|
|
581
|
+
export declare const Separator: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
582
|
+
|
|
583
|
+
export declare const Sidebar: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
443
584
|
|
|
444
585
|
export declare const SidebarToggle: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
445
586
|
|
|
@@ -450,6 +591,7 @@ declare interface SocialLink {
|
|
|
450
591
|
url?: string;
|
|
451
592
|
label: string;
|
|
452
593
|
icon: string;
|
|
594
|
+
provider: string;
|
|
453
595
|
}
|
|
454
596
|
|
|
455
597
|
export declare interface SvariumOptions {
|
|
@@ -465,7 +607,13 @@ export declare interface SvariumState {
|
|
|
465
607
|
logo?: LogoConfig;
|
|
466
608
|
}
|
|
467
609
|
|
|
468
|
-
export declare const
|
|
610
|
+
export declare const Switch: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
611
|
+
"update:modelValue": (value: boolean) => any;
|
|
612
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
613
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
614
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
615
|
+
|
|
616
|
+
export declare const Table: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
469
617
|
tableRef: HTMLDivElement;
|
|
470
618
|
}, HTMLDivElement>;
|
|
471
619
|
|
|
@@ -474,6 +622,12 @@ export declare type ThemeableSrc = string | {
|
|
|
474
622
|
dark: string;
|
|
475
623
|
};
|
|
476
624
|
|
|
625
|
+
export declare const Title: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
626
|
+
|
|
627
|
+
export declare function (): {
|
|
628
|
+
minimal: Ref<boolean, boolean>;
|
|
629
|
+
};
|
|
630
|
+
|
|
477
631
|
export declare function (): {
|
|
478
632
|
state: SvariumState;
|
|
479
633
|
logo: ComputedRef< {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<BlockPageLogin
|
|
2
|
+
<BlockPageLogin v-bind="props" />
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
@@ -22,10 +22,15 @@ interface Props {
|
|
|
22
22
|
title?: string;
|
|
23
23
|
subtitle?: string;
|
|
24
24
|
resetLabel?: string,
|
|
25
|
-
|
|
25
|
+
resetLink?: string,
|
|
26
|
+
submitLabel?: string,
|
|
27
|
+
minimal?: boolean,
|
|
28
|
+
cols?: number,
|
|
29
|
+
orLabel?: string,
|
|
30
|
+
onlySocialName?: boolean
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
withDefaults(defineProps<Props>(), {
|
|
33
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
29
34
|
socials: () => [],
|
|
30
35
|
showRegisterLink: true,
|
|
31
36
|
registerLabel: 'If you don’t have an account',
|
|
@@ -35,7 +40,12 @@ withDefaults(defineProps<Props>(), {
|
|
|
35
40
|
title: 'Welcome back!',
|
|
36
41
|
subtitle: 'Enter your email address and password',
|
|
37
42
|
resetLabel: 'Forgot your password?',
|
|
38
|
-
|
|
43
|
+
resetLink: '/auth/reset',
|
|
44
|
+
submitLabel: 'Log in with your email address',
|
|
45
|
+
minimal: false,
|
|
46
|
+
cols: 2,
|
|
47
|
+
orLabel: 'or',
|
|
48
|
+
onlySocialName: false
|
|
39
49
|
});
|
|
40
50
|
|
|
41
51
|
defineOptions({
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BlockFormLoginMethodVerification :verification-methods="verificationMethods" :session="session" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import type { VerificationMethod } from '@upsoftware_tech/svarium';
|
|
7
|
+
import { AuthLayout, BlockFormLoginMethodVerification } from '@upsoftware_tech/svarium';
|
|
8
|
+
|
|
9
|
+
interface Props {
|
|
10
|
+
verificationMethods?: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
11
|
+
session: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
withDefaults(defineProps<Props>(), {
|
|
15
|
+
verificationMethods: () => [],
|
|
16
|
+
session: '',
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
defineOptions({
|
|
20
|
+
layout: AuthLayout,
|
|
21
|
+
});
|
|
22
|
+
</script>
|