@upsoftware_tech/svarium 1.0.2 → 1.0.3
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 +205 -75
- 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 +4 -3
- package/dist/svarium.css +1 -1
- package/dist/svarium.es.js +17530 -15768
- 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 +4 -3
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_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_18> & 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, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & 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_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
|
|
24
34
|
action: string;
|
|
25
35
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
26
36
|
|
|
27
|
-
declare const
|
|
37
|
+
declare const __VLS_component_5: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_4> & 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, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
44
|
"update:modelValue": (value: string | number) => any;
|
|
35
45
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & 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_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & 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_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
|
|
57
72
|
offset: number;
|
|
58
73
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
59
74
|
sidebar: HTMLDivElement;
|
|
@@ -63,9 +78,7 @@ sidebar_bottom: HTMLDivElement;
|
|
|
63
78
|
sidebar_footer: HTMLDivElement;
|
|
64
79
|
}, any>;
|
|
65
80
|
|
|
66
|
-
declare
|
|
67
|
-
|
|
68
|
-
declare type __VLS_Props = Props_4;
|
|
81
|
+
declare type __VLS_Props = Props_5;
|
|
69
82
|
|
|
70
83
|
declare type __VLS_PublicProps = {
|
|
71
84
|
modelValue?: string | number;
|
|
@@ -80,6 +93,24 @@ declare function __VLS_template(): {
|
|
|
80
93
|
rootEl: any;
|
|
81
94
|
};
|
|
82
95
|
|
|
96
|
+
declare function __VLS_template_10(): {
|
|
97
|
+
attrs: Partial<{}>;
|
|
98
|
+
slots: {
|
|
99
|
+
default?(_: {}): any;
|
|
100
|
+
};
|
|
101
|
+
refs: {};
|
|
102
|
+
rootEl: any;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
declare function __VLS_template_11(): {
|
|
106
|
+
attrs: Partial<{}>;
|
|
107
|
+
slots: {
|
|
108
|
+
default?(_: {}): any;
|
|
109
|
+
};
|
|
110
|
+
refs: {};
|
|
111
|
+
rootEl: HTMLDivElement;
|
|
112
|
+
};
|
|
113
|
+
|
|
83
114
|
declare function __VLS_template_2(): {
|
|
84
115
|
attrs: Partial<{}>;
|
|
85
116
|
slots: {
|
|
@@ -99,6 +130,15 @@ declare function __VLS_template_3(): {
|
|
|
99
130
|
};
|
|
100
131
|
|
|
101
132
|
declare function __VLS_template_4(): {
|
|
133
|
+
attrs: Partial<{}>;
|
|
134
|
+
slots: {
|
|
135
|
+
default?(_: {}): any;
|
|
136
|
+
};
|
|
137
|
+
refs: {};
|
|
138
|
+
rootEl: any;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
declare function __VLS_template_5(): {
|
|
102
142
|
attrs: Partial<{}>;
|
|
103
143
|
slots: {
|
|
104
144
|
default?(_: {
|
|
@@ -110,7 +150,7 @@ declare function __VLS_template_4(): {
|
|
|
110
150
|
rootEl: HTMLDivElement;
|
|
111
151
|
};
|
|
112
152
|
|
|
113
|
-
declare function
|
|
153
|
+
declare function __VLS_template_6(): {
|
|
114
154
|
attrs: Partial<{}>;
|
|
115
155
|
slots: {
|
|
116
156
|
addon?(_: {}): any;
|
|
@@ -120,7 +160,7 @@ declare function __VLS_template_5(): {
|
|
|
120
160
|
rootEl: any;
|
|
121
161
|
};
|
|
122
162
|
|
|
123
|
-
declare function
|
|
163
|
+
declare function __VLS_template_7(): {
|
|
124
164
|
attrs: Partial<{}>;
|
|
125
165
|
slots: {
|
|
126
166
|
default?(_: {}): any;
|
|
@@ -129,7 +169,7 @@ declare function __VLS_template_6(): {
|
|
|
129
169
|
rootEl: HTMLDivElement;
|
|
130
170
|
};
|
|
131
171
|
|
|
132
|
-
declare function
|
|
172
|
+
declare function __VLS_template_8(): {
|
|
133
173
|
attrs: Partial<{}>;
|
|
134
174
|
slots: {
|
|
135
175
|
default?(_: {}): any;
|
|
@@ -138,7 +178,7 @@ declare function __VLS_template_7(): {
|
|
|
138
178
|
rootEl: HTMLDivElement;
|
|
139
179
|
};
|
|
140
180
|
|
|
141
|
-
declare function
|
|
181
|
+
declare function __VLS_template_9(): {
|
|
142
182
|
attrs: Partial<{}>;
|
|
143
183
|
slots: {
|
|
144
184
|
header?(_: {}): any;
|
|
@@ -155,17 +195,12 @@ declare function __VLS_template_8(): {
|
|
|
155
195
|
rootEl: any;
|
|
156
196
|
};
|
|
157
197
|
|
|
158
|
-
declare function __VLS_template_9(): {
|
|
159
|
-
attrs: Partial<{}>;
|
|
160
|
-
slots: {
|
|
161
|
-
default?(_: {}): any;
|
|
162
|
-
};
|
|
163
|
-
refs: {};
|
|
164
|
-
rootEl: any;
|
|
165
|
-
};
|
|
166
|
-
|
|
167
198
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
168
199
|
|
|
200
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
201
|
+
|
|
202
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
203
|
+
|
|
169
204
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
170
205
|
|
|
171
206
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -188,6 +223,18 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
188
223
|
};
|
|
189
224
|
};
|
|
190
225
|
|
|
226
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
227
|
+
new (): {
|
|
228
|
+
$slots: S;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
233
|
+
new (): {
|
|
234
|
+
$slots: S;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
|
|
191
238
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
192
239
|
new (): {
|
|
193
240
|
$slots: S;
|
|
@@ -236,27 +283,42 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
236
283
|
};
|
|
237
284
|
};
|
|
238
285
|
|
|
239
|
-
export declare const
|
|
286
|
+
export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
287
|
+
|
|
288
|
+
export declare const AuthLayout: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
240
289
|
|
|
241
|
-
export declare const BlockFormLogin: DefineComponent<
|
|
290
|
+
export declare const BlockFormLogin: DefineComponent<Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_6> & Readonly<{}>, {
|
|
242
291
|
action: string;
|
|
243
292
|
showResetLink: boolean;
|
|
244
293
|
resetLabel: string;
|
|
294
|
+
resetLink: string;
|
|
245
295
|
submitLabel: string;
|
|
246
296
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
247
297
|
|
|
248
|
-
export declare const BlockFormLoginMethodVerification: DefineComponent<
|
|
298
|
+
export declare const BlockFormLoginMethodVerification: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_10> & Readonly<{}>, {
|
|
249
299
|
verificationMethods: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
250
300
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
251
301
|
|
|
252
|
-
export declare const
|
|
302
|
+
export declare const BlockFormReset: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_7> & Readonly<{}>, {
|
|
303
|
+
action: string;
|
|
304
|
+
submitLabel: string;
|
|
305
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
306
|
+
|
|
307
|
+
export declare const BlockFormResetPassword: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_8> & Readonly<{}>, {
|
|
308
|
+
action: string;
|
|
309
|
+
submitLabel: string;
|
|
310
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
311
|
+
|
|
312
|
+
export declare const BlockFormVerification: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
|
|
253
313
|
session: string;
|
|
254
314
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
255
315
|
|
|
256
|
-
export declare const BlockPageLogin: DefineComponent<
|
|
316
|
+
export declare const BlockPageLogin: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_12> & Readonly<{}>, {
|
|
257
317
|
title: string;
|
|
318
|
+
minimal: boolean;
|
|
258
319
|
showResetLink: boolean;
|
|
259
320
|
resetLabel: string;
|
|
321
|
+
resetLink: string;
|
|
260
322
|
submitLabel: string;
|
|
261
323
|
socials: SocialLink[];
|
|
262
324
|
showRegisterLink: boolean;
|
|
@@ -264,26 +326,44 @@ registerLabel: string;
|
|
|
264
326
|
registerLinkLabel: string;
|
|
265
327
|
registerLink: string;
|
|
266
328
|
subtitle: string;
|
|
329
|
+
cols: number;
|
|
330
|
+
orLabel: string;
|
|
331
|
+
onlySocialName: boolean;
|
|
267
332
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
268
333
|
|
|
269
|
-
export declare const
|
|
334
|
+
export declare const BlockPageReset: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_9> & Readonly<{}>, {
|
|
335
|
+
title: string;
|
|
336
|
+
subtitle: string;
|
|
337
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
338
|
+
|
|
339
|
+
export declare const Button: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
270
340
|
|
|
271
341
|
export declare const ButtonClear: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
272
342
|
|
|
273
343
|
export declare const ButtonIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
274
344
|
|
|
275
|
-
export declare const ButtonSubmit:
|
|
345
|
+
export declare const ButtonSubmit: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
276
346
|
|
|
277
347
|
declare type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
278
348
|
|
|
279
349
|
declare const buttonVariants: (props?: ({
|
|
280
350
|
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
281
|
-
size?: "default" | "
|
|
351
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
282
352
|
} & ClassProp) | undefined) => string;
|
|
283
353
|
|
|
284
|
-
export declare const
|
|
354
|
+
export declare const ColorMode: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
285
355
|
|
|
286
|
-
|
|
356
|
+
declare type ColorModeVariants = VariantProps<typeof colorModeVariants>;
|
|
357
|
+
|
|
358
|
+
declare const colorModeVariants: (props?: ({
|
|
359
|
+
variant?: "default" | "switch" | "group" | "dropdown" | null | undefined;
|
|
360
|
+
} & ClassProp) | undefined) => string;
|
|
361
|
+
|
|
362
|
+
export declare const FlashMessage: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
363
|
+
|
|
364
|
+
export declare const Form: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
365
|
+
|
|
366
|
+
export declare const FormControl: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
287
367
|
|
|
288
368
|
export declare const FormError: DefineComponent<ExtractPropTypes< {
|
|
289
369
|
errors: {
|
|
@@ -297,29 +377,36 @@ type: (ObjectConstructor | StringConstructor)[];
|
|
|
297
377
|
|
|
298
378
|
export { Icon }
|
|
299
379
|
|
|
300
|
-
export declare const Input:
|
|
380
|
+
export declare const Input: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
381
|
+
|
|
382
|
+
export declare const LocaleSelect: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
301
383
|
|
|
302
384
|
export declare type LogoConfig = string | {
|
|
303
385
|
default: ThemeableSrc;
|
|
304
386
|
small?: ThemeableSrc;
|
|
305
387
|
};
|
|
306
388
|
|
|
307
|
-
export declare const NavigationVertical: DefineComponent<
|
|
389
|
+
export declare const NavigationVertical: DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
308
390
|
|
|
309
391
|
declare interface OptionGroup {
|
|
310
392
|
label: string;
|
|
311
393
|
items: OptionItem[];
|
|
312
394
|
}
|
|
313
395
|
|
|
396
|
+
declare interface OptionIcon {
|
|
397
|
+
type: string;
|
|
398
|
+
value: string;
|
|
399
|
+
}
|
|
400
|
+
|
|
314
401
|
declare interface OptionItem {
|
|
315
402
|
id?: string | number;
|
|
316
403
|
name?: string;
|
|
317
404
|
label?: string;
|
|
318
|
-
icon?:
|
|
405
|
+
icon?: OptionIcon;
|
|
319
406
|
value?: string | number;
|
|
320
407
|
}
|
|
321
408
|
|
|
322
|
-
export declare const Pin: DefineComponent<
|
|
409
|
+
export declare const Pin: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
|
|
323
410
|
label: string;
|
|
324
411
|
name: string;
|
|
325
412
|
hint: string;
|
|
@@ -336,20 +423,55 @@ declare interface Props extends PrimitiveProps {
|
|
|
336
423
|
}
|
|
337
424
|
|
|
338
425
|
declare interface Props_10 {
|
|
426
|
+
verificationMethods?: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
427
|
+
session: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
declare interface Props_11 {
|
|
431
|
+
type: 'login' | 'register' | 'reset';
|
|
432
|
+
session: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
declare interface Props_12 {
|
|
436
|
+
socials?: SocialLink[];
|
|
437
|
+
showRegisterLink?: boolean;
|
|
438
|
+
registerLabel?: string;
|
|
439
|
+
registerLinkLabel?: string;
|
|
440
|
+
registerLink?: string;
|
|
441
|
+
showResetLink?: boolean;
|
|
442
|
+
title?: string;
|
|
443
|
+
subtitle?: string;
|
|
444
|
+
resetLabel?: string;
|
|
445
|
+
resetLink?: string;
|
|
446
|
+
submitLabel?: string;
|
|
447
|
+
minimal?: boolean;
|
|
448
|
+
cols?: number;
|
|
449
|
+
orLabel?: string;
|
|
450
|
+
onlySocialName?: boolean;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare interface Props_13 {
|
|
454
|
+
value?: string | number | boolean;
|
|
455
|
+
name: string;
|
|
456
|
+
label?: string;
|
|
457
|
+
hint?: string;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare interface Props_14 {
|
|
339
461
|
name?: string;
|
|
340
462
|
maxlength?: number;
|
|
341
463
|
hint?: string;
|
|
342
464
|
label?: string;
|
|
343
465
|
}
|
|
344
466
|
|
|
345
|
-
declare interface
|
|
467
|
+
declare interface Props_15 {
|
|
346
468
|
uri?: string;
|
|
347
469
|
data?: any;
|
|
348
470
|
columns?: any;
|
|
349
471
|
rows?: any;
|
|
350
472
|
}
|
|
351
473
|
|
|
352
|
-
declare interface
|
|
474
|
+
declare interface Props_16 {
|
|
353
475
|
placeholder?: string;
|
|
354
476
|
options?: OptionItem[] | OptionGroup[];
|
|
355
477
|
name?: string;
|
|
@@ -359,26 +481,36 @@ declare interface Props_12 {
|
|
|
359
481
|
modelValue?: any;
|
|
360
482
|
}
|
|
361
483
|
|
|
362
|
-
declare interface
|
|
484
|
+
declare interface Props_17 {
|
|
363
485
|
navigation_id: string | number;
|
|
364
|
-
offset
|
|
486
|
+
offset?: number;
|
|
365
487
|
}
|
|
366
488
|
|
|
367
|
-
declare interface
|
|
489
|
+
declare interface Props_18 {
|
|
490
|
+
orientation?: 'horizontal' | 'vertical';
|
|
491
|
+
left?: boolean;
|
|
492
|
+
right?: boolean;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
declare interface Props_19 {
|
|
368
496
|
navigation_id: string | number;
|
|
369
497
|
}
|
|
370
498
|
|
|
371
|
-
declare interface Props_2 {
|
|
372
|
-
|
|
499
|
+
declare interface Props_2 extends PrimitiveProps {
|
|
500
|
+
variant?: ColorModeVariants["variant"];
|
|
373
501
|
}
|
|
374
502
|
|
|
375
503
|
declare interface Props_3 {
|
|
504
|
+
action: string;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare interface Props_4 {
|
|
376
508
|
name?: string;
|
|
377
509
|
label?: string;
|
|
378
510
|
hint?: string;
|
|
379
511
|
}
|
|
380
512
|
|
|
381
|
-
declare interface
|
|
513
|
+
declare interface Props_5 {
|
|
382
514
|
name?: string;
|
|
383
515
|
type?: string;
|
|
384
516
|
password?: boolean;
|
|
@@ -386,60 +518,55 @@ declare interface Props_4 {
|
|
|
386
518
|
hint?: string;
|
|
387
519
|
placeholder?: string;
|
|
388
520
|
addon?: string;
|
|
521
|
+
clear?: boolean;
|
|
522
|
+
passwordGenerator?: boolean;
|
|
523
|
+
stringGeneratorLength?: number;
|
|
524
|
+
copy?: boolean;
|
|
525
|
+
showPasswordRequired?: boolean;
|
|
389
526
|
}
|
|
390
527
|
|
|
391
|
-
declare interface
|
|
528
|
+
declare interface Props_6 {
|
|
392
529
|
action?: string;
|
|
393
530
|
showResetLink?: boolean;
|
|
394
531
|
resetLabel?: string;
|
|
532
|
+
resetLink?: string;
|
|
395
533
|
submitLabel?: string;
|
|
396
534
|
}
|
|
397
535
|
|
|
398
|
-
declare interface Props_6 {
|
|
399
|
-
verificationMethods?: VerificationMethod[] | Record<string, VerificationMethod>;
|
|
400
|
-
session: string;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
536
|
declare interface Props_7 {
|
|
404
|
-
|
|
537
|
+
action?: string;
|
|
538
|
+
submitLabel?: string;
|
|
405
539
|
}
|
|
406
540
|
|
|
407
541
|
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;
|
|
542
|
+
action?: string;
|
|
417
543
|
submitLabel?: string;
|
|
544
|
+
session: string;
|
|
418
545
|
}
|
|
419
546
|
|
|
420
547
|
declare interface Props_9 {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
label?: string;
|
|
424
|
-
hint?: string;
|
|
548
|
+
title?: string;
|
|
549
|
+
subtitle?: string;
|
|
425
550
|
}
|
|
426
551
|
|
|
427
|
-
export declare const Radio:
|
|
552
|
+
export declare const Radio: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
428
553
|
|
|
429
|
-
export declare const ScrollArea:
|
|
554
|
+
export declare const ScrollArea: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
430
555
|
|
|
431
|
-
export declare const Select: DefineComponent<
|
|
556
|
+
export declare const Select: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
432
557
|
"update:modelValue": (...args: any[]) => void;
|
|
433
|
-
}, string, PublicProps, Readonly<
|
|
558
|
+
}, string, PublicProps, Readonly<Props_16> & Readonly<{
|
|
434
559
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
435
560
|
}>, {
|
|
436
|
-
options: OptionItem[] | OptionGroup[];
|
|
437
561
|
placeholder: string;
|
|
438
562
|
clear: boolean;
|
|
439
563
|
modelValue: any;
|
|
564
|
+
options: OptionItem[] | OptionGroup[];
|
|
440
565
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
441
566
|
|
|
442
|
-
export declare const
|
|
567
|
+
export declare const Separator: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
568
|
+
|
|
569
|
+
export declare const Sidebar: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
443
570
|
|
|
444
571
|
export declare const SidebarToggle: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
445
572
|
|
|
@@ -450,6 +577,7 @@ declare interface SocialLink {
|
|
|
450
577
|
url?: string;
|
|
451
578
|
label: string;
|
|
452
579
|
icon: string;
|
|
580
|
+
provider: string;
|
|
453
581
|
}
|
|
454
582
|
|
|
455
583
|
export declare interface SvariumOptions {
|
|
@@ -465,7 +593,7 @@ export declare interface SvariumState {
|
|
|
465
593
|
logo?: LogoConfig;
|
|
466
594
|
}
|
|
467
595
|
|
|
468
|
-
export declare const Table: DefineComponent<
|
|
596
|
+
export declare const Table: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
469
597
|
tableRef: HTMLDivElement;
|
|
470
598
|
}, HTMLDivElement>;
|
|
471
599
|
|
|
@@ -474,6 +602,8 @@ export declare type ThemeableSrc = string | {
|
|
|
474
602
|
dark: string;
|
|
475
603
|
};
|
|
476
604
|
|
|
605
|
+
export declare const Title: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
606
|
+
|
|
477
607
|
export declare function (): {
|
|
478
608
|
state: SvariumState;
|
|
479
609
|
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>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex flex-col gap-6">
|
|
3
|
+
<div class="flex flex-col gap-6">
|
|
4
|
+
<div class="flex gap-x-4">
|
|
5
|
+
<div>
|
|
6
|
+
<Link :href="`/auth/reset`" class="w-8 h-8 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-800">
|
|
7
|
+
<Icon icon="lucide:chevron-left" class="text-xl" />
|
|
8
|
+
</Link>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="flex flex-1 flex-col gap-2 pt-0.5">
|
|
11
|
+
<h1 class="text-xl font-bold">{{ $t(title) }}</h1>
|
|
12
|
+
<div class="text-sm">{{ $t(subtitle) }}</div>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="flex flex-col gap-4">
|
|
16
|
+
<BlockFormResetPassword v-bind="$props" />
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script setup lang="ts">
|
|
23
|
+
import { AuthLayout, BlockFormResetPassword } from '@upsoftware_tech/svarium';
|
|
24
|
+
import { Icon } from '@iconify/vue';
|
|
25
|
+
import { Link } from "@inertiajs/vue3";
|
|
26
|
+
|
|
27
|
+
defineOptions({
|
|
28
|
+
layout: AuthLayout
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
interface Props {
|
|
32
|
+
title?: string;
|
|
33
|
+
subtitle?: string;
|
|
34
|
+
session: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
38
|
+
title: 'Set a new password',
|
|
39
|
+
subtitle: 'Enter a new password and repeat it to confirm'
|
|
40
|
+
})
|
|
41
|
+
</script>
|