@upsoftware_tech/svarium 1.0.3 → 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 CHANGED
@@ -18,31 +18,31 @@ declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, Component
18
18
 
19
19
  declare const __VLS_component_10: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
20
 
21
- declare const __VLS_component_11: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_18> & Readonly<{}>, {
21
+ declare const __VLS_component_11: DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_19> & Readonly<{}>, {
22
22
  right: boolean;
23
23
  left: boolean;
24
24
  orientation: "horizontal" | "vertical";
25
25
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
26
26
 
27
- declare const __VLS_component_2: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
27
+ declare const __VLS_component_2: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
28
28
  as: AsTag | Component;
29
29
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
30
30
 
31
31
  declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
32
32
 
33
- declare const __VLS_component_4: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
33
+ declare const __VLS_component_4: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_4> & Readonly<{}>, {
34
34
  action: string;
35
35
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
36
36
 
37
- declare const __VLS_component_5: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_4> & Readonly<{}>, {
37
+ declare const __VLS_component_5: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_5> & Readonly<{}>, {
38
38
  label: string;
39
39
  name: string;
40
40
  hint: string;
41
41
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
42
42
 
43
- declare const __VLS_component_6: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
43
+ declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
44
44
  "update:modelValue": (value: string | number) => any;
45
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
45
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
46
46
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
47
47
  }>, {
48
48
  copy: boolean;
@@ -61,14 +61,14 @@ showPasswordRequired: boolean;
61
61
 
62
62
  declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
63
63
 
64
- declare const __VLS_component_8: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
64
+ declare const __VLS_component_8: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
65
65
  label: string;
66
66
  name: string;
67
67
  value: string | number | boolean;
68
68
  hint: string;
69
69
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
70
70
 
71
- declare const __VLS_component_9: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
71
+ declare const __VLS_component_9: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_18> & Readonly<{}>, {
72
72
  offset: number;
73
73
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
74
74
  sidebar: HTMLDivElement;
@@ -78,12 +78,18 @@ sidebar_bottom: HTMLDivElement;
78
78
  sidebar_footer: HTMLDivElement;
79
79
  }, any>;
80
80
 
81
- declare type __VLS_Props = Props_5;
81
+ declare type __VLS_Props = Props;
82
+
83
+ declare type __VLS_Props_2 = Props_6;
82
84
 
83
85
  declare type __VLS_PublicProps = {
84
- modelValue?: string | number;
86
+ modelValue?: boolean;
85
87
  } & __VLS_Props;
86
88
 
89
+ declare type __VLS_PublicProps_2 = {
90
+ modelValue?: string | number;
91
+ } & __VLS_Props_2;
92
+
87
93
  declare function __VLS_template(): {
88
94
  attrs: Partial<{}>;
89
95
  slots: {
@@ -287,7 +293,7 @@ export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component,
287
293
 
288
294
  export declare const AuthLayout: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
289
295
 
290
- export declare const BlockFormLogin: DefineComponent<Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_6> & Readonly<{}>, {
296
+ export declare const BlockFormLogin: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_7> & Readonly<{}>, {
291
297
  action: string;
292
298
  showResetLink: boolean;
293
299
  resetLabel: string;
@@ -295,25 +301,26 @@ resetLink: string;
295
301
  submitLabel: string;
296
302
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
297
303
 
298
- export declare const BlockFormLoginMethodVerification: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_10> & Readonly<{}>, {
304
+ export declare const BlockFormLoginMethodVerification: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
299
305
  verificationMethods: VerificationMethod[] | Record<string, VerificationMethod>;
300
306
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
301
307
 
302
- export declare const BlockFormReset: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_7> & Readonly<{}>, {
308
+ export declare const BlockFormReset: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_8> & Readonly<{}>, {
303
309
  action: string;
304
310
  submitLabel: string;
305
311
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
306
312
 
307
- export declare const BlockFormResetPassword: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_8> & Readonly<{}>, {
313
+ export declare const BlockFormResetPassword: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_9> & Readonly<{}>, {
308
314
  action: string;
309
315
  submitLabel: string;
310
316
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
311
317
 
312
- export declare const BlockFormVerification: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
318
+ export declare const BlockFormVerification: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_12> & Readonly<{}>, {
313
319
  session: string;
320
+ remember: boolean;
314
321
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
315
322
 
316
- export declare const BlockPageLogin: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_12> & Readonly<{}>, {
323
+ export declare const BlockPageLogin: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
317
324
  title: string;
318
325
  minimal: boolean;
319
326
  showResetLink: boolean;
@@ -331,7 +338,7 @@ orLabel: string;
331
338
  onlySocialName: boolean;
332
339
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
333
340
 
334
- export declare const BlockPageReset: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_9> & Readonly<{}>, {
341
+ export declare const BlockPageReset: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_10> & Readonly<{}>, {
335
342
  title: string;
336
343
  subtitle: string;
337
344
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -351,7 +358,7 @@ declare const buttonVariants: (props?: ({
351
358
  size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
352
359
  } & ClassProp) | undefined) => string;
353
360
 
354
- export declare const ColorMode: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
361
+ export declare const ColorMode: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
355
362
 
356
363
  declare type ColorModeVariants = VariantProps<typeof colorModeVariants>;
357
364
 
@@ -386,7 +393,7 @@ export declare type LogoConfig = string | {
386
393
  small?: ThemeableSrc;
387
394
  };
388
395
 
389
- export declare const NavigationVertical: DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
396
+ export declare const NavigationVertical: DefineComponent<Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
390
397
 
391
398
  declare interface OptionGroup {
392
399
  label: string;
@@ -406,7 +413,7 @@ declare interface OptionItem {
406
413
  value?: string | number;
407
414
  }
408
415
 
409
- export declare const Pin: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
416
+ export declare const Pin: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
410
417
  label: string;
411
418
  name: string;
412
419
  hint: string;
@@ -416,23 +423,29 @@ maxlength: number;
416
423
  declare const plugin: Plugin_2<[SvariumOptions]>;
417
424
  export default plugin;
418
425
 
419
- declare interface Props extends PrimitiveProps {
420
- variant?: ButtonVariants["variant"];
421
- size?: ButtonVariants["size"];
422
- class?: HTMLAttributes["class"];
426
+ declare interface Props {
427
+ label?: string;
428
+ hint?: string;
429
+ name?: string;
423
430
  }
424
431
 
425
432
  declare interface Props_10 {
433
+ title?: string;
434
+ subtitle?: string;
435
+ }
436
+
437
+ declare interface Props_11 {
426
438
  verificationMethods?: VerificationMethod[] | Record<string, VerificationMethod>;
427
439
  session: string;
428
440
  }
429
441
 
430
- declare interface Props_11 {
442
+ declare interface Props_12 {
431
443
  type: 'login' | 'register' | 'reset';
432
444
  session: string;
445
+ remember: boolean;
433
446
  }
434
447
 
435
- declare interface Props_12 {
448
+ declare interface Props_13 {
436
449
  socials?: SocialLink[];
437
450
  showRegisterLink?: boolean;
438
451
  registerLabel?: string;
@@ -450,28 +463,28 @@ declare interface Props_12 {
450
463
  onlySocialName?: boolean;
451
464
  }
452
465
 
453
- declare interface Props_13 {
466
+ declare interface Props_14 {
454
467
  value?: string | number | boolean;
455
468
  name: string;
456
469
  label?: string;
457
470
  hint?: string;
458
471
  }
459
472
 
460
- declare interface Props_14 {
473
+ declare interface Props_15 {
461
474
  name?: string;
462
475
  maxlength?: number;
463
476
  hint?: string;
464
477
  label?: string;
465
478
  }
466
479
 
467
- declare interface Props_15 {
480
+ declare interface Props_16 {
468
481
  uri?: string;
469
482
  data?: any;
470
483
  columns?: any;
471
484
  rows?: any;
472
485
  }
473
486
 
474
- declare interface Props_16 {
487
+ declare interface Props_17 {
475
488
  placeholder?: string;
476
489
  options?: OptionItem[] | OptionGroup[];
477
490
  name?: string;
@@ -481,36 +494,42 @@ declare interface Props_16 {
481
494
  modelValue?: any;
482
495
  }
483
496
 
484
- declare interface Props_17 {
497
+ declare interface Props_18 {
485
498
  navigation_id: string | number;
486
499
  offset?: number;
487
500
  }
488
501
 
489
- declare interface Props_18 {
502
+ declare interface Props_19 {
490
503
  orientation?: 'horizontal' | 'vertical';
491
504
  left?: boolean;
492
505
  right?: boolean;
493
506
  }
494
507
 
495
- declare interface Props_19 {
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 {
496
515
  navigation_id: string | number;
497
516
  }
498
517
 
499
- declare interface Props_2 extends PrimitiveProps {
518
+ declare interface Props_3 extends PrimitiveProps {
500
519
  variant?: ColorModeVariants["variant"];
501
520
  }
502
521
 
503
- declare interface Props_3 {
522
+ declare interface Props_4 {
504
523
  action: string;
505
524
  }
506
525
 
507
- declare interface Props_4 {
526
+ declare interface Props_5 {
508
527
  name?: string;
509
528
  label?: string;
510
529
  hint?: string;
511
530
  }
512
531
 
513
- declare interface Props_5 {
532
+ declare interface Props_6 {
514
533
  name?: string;
515
534
  type?: string;
516
535
  password?: boolean;
@@ -525,7 +544,7 @@ declare interface Props_5 {
525
544
  showPasswordRequired?: boolean;
526
545
  }
527
546
 
528
- declare interface Props_6 {
547
+ declare interface Props_7 {
529
548
  action?: string;
530
549
  showResetLink?: boolean;
531
550
  resetLabel?: string;
@@ -533,29 +552,24 @@ declare interface Props_6 {
533
552
  submitLabel?: string;
534
553
  }
535
554
 
536
- declare interface Props_7 {
555
+ declare interface Props_8 {
537
556
  action?: string;
538
557
  submitLabel?: string;
539
558
  }
540
559
 
541
- declare interface Props_8 {
560
+ declare interface Props_9 {
542
561
  action?: string;
543
562
  submitLabel?: string;
544
563
  session: string;
545
564
  }
546
565
 
547
- declare interface Props_9 {
548
- title?: string;
549
- subtitle?: string;
550
- }
551
-
552
566
  export declare const Radio: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
553
567
 
554
568
  export declare const ScrollArea: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
555
569
 
556
- export declare const Select: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
570
+ export declare const Select: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
557
571
  "update:modelValue": (...args: any[]) => void;
558
- }, string, PublicProps, Readonly<Props_16> & Readonly<{
572
+ }, string, PublicProps, Readonly<Props_17> & Readonly<{
559
573
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
560
574
  }>, {
561
575
  placeholder: string;
@@ -593,7 +607,13 @@ export declare interface SvariumState {
593
607
  logo?: LogoConfig;
594
608
  }
595
609
 
596
- export declare const Table: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
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, {
597
617
  tableRef: HTMLDivElement;
598
618
  }, HTMLDivElement>;
599
619
 
@@ -604,6 +624,10 @@ export declare type ThemeableSrc = string | {
604
624
 
605
625
  export declare const Title: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
606
626
 
627
+ export declare function (): {
628
+ minimal: Ref<boolean, boolean>;
629
+ };
630
+
607
631
  export declare function (): {
608
632
  state: SvariumState;
609
633
  logo: ComputedRef< {
@@ -30,10 +30,12 @@ defineOptions({
30
30
 
31
31
  interface Props {
32
32
  type: 'login' | 'register' | 'reset';
33
- session: string
33
+ session: string,
34
+ remember: boolean
34
35
  }
35
36
 
36
37
  const props = withDefaults(defineProps<Props>(), {
37
- session: ''
38
+ session: '',
39
+ remember: false
38
40
  })
39
41
  </script>