manolis-ui 0.18.1 → 0.19.2

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
@@ -56,18 +56,28 @@ successMessage: string;
56
56
  inputElement: HTMLInputElement;
57
57
  }, HTMLDivElement>;
58
58
 
59
- declare const __VLS_component_12: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
59
+ declare const __VLS_component_12: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
60
+ "update:modelValue": (value: boolean) => any;
61
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
62
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
63
+ }>, {
64
+ type: AlertType;
65
+ modelValue: boolean;
66
+ closable: boolean;
67
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
68
+
69
+ declare const __VLS_component_13: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
60
70
  collapseOnMobile: boolean;
61
71
  rows: number;
62
72
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
63
73
 
64
- declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
74
+ declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
65
75
 
66
- declare const __VLS_component_14: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
76
+ declare const __VLS_component_15: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
67
77
  isCollapsed: boolean;
68
78
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
69
79
 
70
- declare const __VLS_component_15: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
80
+ declare const __VLS_component_16: DefineComponent<Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
71
81
  "tab-changed": (...args: any[]) => void;
72
82
  }, string, PublicProps, Readonly<Props_18> & Readonly<{
73
83
  "onTab-changed"?: ((...args: any[]) => any) | undefined;
@@ -269,6 +279,13 @@ declare type __VLS_Props_2 = {
269
279
  modelValue: string | number | object | null;
270
280
  };
271
281
 
282
+ declare type __VLS_Props_3 = {
283
+ type?: AlertType;
284
+ message: string;
285
+ closable?: boolean;
286
+ modelValue?: boolean;
287
+ };
288
+
272
289
  declare function __VLS_template(): {
273
290
  attrs: Partial<{}>;
274
291
  slots: {
@@ -307,6 +324,18 @@ declare function __VLS_template_11(): {
307
324
  };
308
325
 
309
326
  declare function __VLS_template_12(): {
327
+ attrs: Partial<{}>;
328
+ slots: {
329
+ icon?(_: {
330
+ class: string;
331
+ }): any;
332
+ default?(_: {}): any;
333
+ };
334
+ refs: {};
335
+ rootEl: any;
336
+ };
337
+
338
+ declare function __VLS_template_13(): {
310
339
  attrs: Partial<{}>;
311
340
  slots: {
312
341
  'extra-row'?(_: {}): any;
@@ -316,7 +345,7 @@ declare function __VLS_template_12(): {
316
345
  rootEl: HTMLDivElement;
317
346
  };
318
347
 
319
- declare function __VLS_template_13(): {
348
+ declare function __VLS_template_14(): {
320
349
  attrs: Partial<{}>;
321
350
  slots: {
322
351
  title?(_: {}): any;
@@ -331,7 +360,7 @@ declare function __VLS_template_13(): {
331
360
  rootEl: HTMLDivElement;
332
361
  };
333
362
 
334
- declare function __VLS_template_14(): {
363
+ declare function __VLS_template_15(): {
335
364
  attrs: Partial<{}>;
336
365
  slots: {
337
366
  start?(_: {}): any;
@@ -343,7 +372,7 @@ declare function __VLS_template_14(): {
343
372
  rootEl: HTMLElement;
344
373
  };
345
374
 
346
- declare function __VLS_template_15(): {
375
+ declare function __VLS_template_16(): {
347
376
  attrs: Partial<{}>;
348
377
  slots: Partial<Record<`${string}-tab`, (_: {}) => any>> & {
349
378
  default?(_: {}): any;
@@ -459,6 +488,8 @@ declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
459
488
 
460
489
  declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
461
490
 
491
+ declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
492
+
462
493
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
463
494
 
464
495
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -517,6 +548,12 @@ declare type __VLS_WithTemplateSlots_15<T, S> = T & {
517
548
  };
518
549
  };
519
550
 
551
+ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
552
+ new (): {
553
+ $slots: S;
554
+ };
555
+ };
556
+
520
557
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
521
558
  new (): {
522
559
  $slots: S;
@@ -577,6 +614,10 @@ declare interface Accordion_2 {
577
614
 
578
615
  export declare const AdvancedSearch: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
579
616
 
617
+ export declare const Alert: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
618
+
619
+ declare type AlertType = 'info' | 'success' | 'warning' | 'error' | 'default';
620
+
580
621
  export declare const Avatar: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_7> & Readonly<{}>, {
581
622
  onlineStatus: "online" | "offline" | "none";
582
623
  fullyRounded: boolean;
@@ -676,7 +717,7 @@ declare const errorMessage: Ref<string, string>;
676
717
 
677
718
  export { FilterableSelect }
678
719
 
679
- export declare const Footer: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
720
+ export declare const Footer: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
680
721
 
681
722
  declare interface FooterNavigation {
682
723
  title: string;
@@ -689,7 +730,7 @@ declare interface FooterNavigationItem {
689
730
  enabled: Boolean;
690
731
  }
691
732
 
692
- export declare const Hero: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
733
+ export declare const Hero: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
693
734
 
694
735
  export declare const InputField: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
695
736
 
@@ -712,7 +753,7 @@ declare const modalPosition: {
712
753
  center: string;
713
754
  };
714
755
 
715
- export declare const NavigationBar: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
756
+ export declare const NavigationBar: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
716
757
 
717
758
  declare interface Props {
718
759
  outlined?: boolean;
@@ -899,7 +940,7 @@ selectElement: HTMLSelectElement;
899
940
 
900
941
  export declare const Swap: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
901
942
 
902
- export declare const Tab: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
943
+ export declare const Tab: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
903
944
 
904
945
  declare interface Tab_2 {
905
946
  name: string;
@@ -929,4 +970,61 @@ lightTheme: string;
929
970
  darkTheme: string;
930
971
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
931
972
 
973
+ export declare const Toast: DefineComponent<ExtractPropTypes< {
974
+ position: {
975
+ type: PropType<ToastPosition>;
976
+ default: string;
977
+ };
978
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
979
+ position: {
980
+ type: PropType<ToastPosition>;
981
+ default: string;
982
+ };
983
+ }>> & Readonly<{}>, {
984
+ position: ToastPosition;
985
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
986
+
987
+ declare interface Toast_2 {
988
+ id: string;
989
+ message: string;
990
+ type: ToastType;
991
+ duration: number;
992
+ }
993
+
994
+ export declare function ToastComposable(): {
995
+ toasts: Readonly<Ref<readonly {
996
+ readonly id: string;
997
+ readonly message: string;
998
+ readonly type: ToastType;
999
+ readonly duration: number;
1000
+ }[], readonly {
1001
+ readonly id: string;
1002
+ readonly message: string;
1003
+ readonly type: ToastType;
1004
+ readonly duration: number;
1005
+ }[]>>;
1006
+ addToast: (message: string, type?: ToastType, duration?: number) => void;
1007
+ removeToast: (id: string) => void;
1008
+ };
1009
+
1010
+ export declare const ToastNotification: DefineComponent<ExtractPropTypes< {
1011
+ toast: {
1012
+ type: PropType<Toast_2>;
1013
+ required: true;
1014
+ };
1015
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1016
+ remove: (...args: any[]) => void;
1017
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
1018
+ toast: {
1019
+ type: PropType<Toast_2>;
1020
+ required: true;
1021
+ };
1022
+ }>> & Readonly<{
1023
+ onRemove?: ((...args: any[]) => any) | undefined;
1024
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1025
+
1026
+ declare type ToastPosition = 'top-start' | 'top-center' | 'top-end' | 'middle-start' | 'middle-center' | 'middle-end' | 'bottom-start' | 'bottom-center' | 'bottom-end';
1027
+
1028
+ declare type ToastType = 'info' | 'success' | 'warning' | 'error' | 'default';
1029
+
932
1030
  export { }
@@ -1 +1 @@
1
- .cursor-grabbing .carousel-item[data-v-d9ad9601]{cursor:grabbing!important;pointer-events:none}.carousel-vertical[data-v-d9ad9601]{overflow:hidden}.pointer-events-none[data-v-d9ad9601]{pointer-events:none}.carousel[data-v-d9ad9601]{overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-d9ad9601]::-webkit-scrollbar{display:none}.fade-enter-active[data-v-d9ad9601],.fade-leave-active[data-v-d9ad9601]{transition:opacity .3s ease}.fade-enter-from[data-v-d9ad9601],.fade-leave-to[data-v-d9ad9601]{opacity:0}.fade-leave-active[data-v-d9ad9601]{pointer-events:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-577c3624]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-577c3624]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-577c3624],.tabs button .text-xs[data-v-577c3624]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-577c3624]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-577c3624]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-577c3624]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-577c3624]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-577c3624]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-577c3624]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-577c3624],.tabs-boxed .tab.tab-active[data-v-577c3624]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-577c3624]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-577c3624] *{color:var(--color-base-content)}input[type=time][data-v-e0b34494]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;height:100%;width:100%}.cally[data-v-e0b34494] ::part(selected){border-radius:var(--radius-field)!important;background:var(--color-primary)!important;color:var(--color-primary-content)!important}.cally[data-v-e0b34494] ::part(day){font-size:var(--text-base)!important}.cally div[part=container][data-v-e0b34494]{padding:0!important}.cally[data-v-e0b34494] ::part(button day today){background:var(--color-secondary);color:var(--color-secondary-content)}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}
1
+ .cursor-grabbing .carousel-item[data-v-d9ad9601]{cursor:grabbing!important;pointer-events:none}.carousel-vertical[data-v-d9ad9601]{overflow:hidden}.pointer-events-none[data-v-d9ad9601]{pointer-events:none}.carousel[data-v-d9ad9601]{overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-d9ad9601]::-webkit-scrollbar{display:none}.fade-enter-active[data-v-d9ad9601],.fade-leave-active[data-v-d9ad9601]{transition:opacity .3s ease}.fade-enter-from[data-v-d9ad9601],.fade-leave-to[data-v-d9ad9601]{opacity:0}.fade-leave-active[data-v-d9ad9601]{pointer-events:none}.carousel-item[data-v-507384bc]{flex-shrink:0}.tab-content[data-v-577c3624]{background-color:var(--color-base-100);padding:1rem;border-radius:var(--radius-box, .5rem);box-shadow:var(--tw-shadow-lg);border:1px solid var(--color-base-300)}.tabs button[data-v-577c3624]{cursor:pointer;flex-grow:1;flex-shrink:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:0 1rem;position:relative}.tabs button .text-sm[data-v-577c3624],.tabs button .text-xs[data-v-577c3624]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.tabs button>.inline-component-wrapper[data-v-577c3624]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem;background-color:var(--color-base-100);z-index:1}.tabs button.tab-active-inline .flex-col[data-v-577c3624]{visibility:hidden}@media (max-width: 768px){.tab-content[data-v-577c3624]{width:90%;left:50%!important;transform:translate(-50%)!important;top:auto!important;bottom:unset!important;margin-top:10px;position:fixed;max-height:80vh;overflow-y:auto}}@media (min-width: 769px){.tab-content[data-v-577c3624]{width:auto;left:unset;transform:unset;position:absolute;max-height:unset;overflow-y:visible}.tabs-boxed .tab[data-v-577c3624]{flex-basis:0}}@media (max-width: 768px){.collapse-title>div[data-v-577c3624]:last-child{opacity:.75}}.tabs-boxed .tab.tab-active[data-v-577c3624],.tabs-boxed .tab.tab-active[data-v-577c3624]:hover{background-color:var(--color-primary);color:var(--color-primary-content)}.tabs-boxed .tab.tab-active-inline[data-v-577c3624]{background-color:var(--color-primary);color:var(--color-primary-content);flex:6}.tabs button>.inline-component-wrapper[data-v-577c3624] *{color:var(--color-base-content)}input[type=time][data-v-e0b34494]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;height:100%;width:100%}.cally[data-v-e0b34494] ::part(selected){border-radius:var(--radius-field)!important;background:var(--color-primary)!important;color:var(--color-primary-content)!important}.cally[data-v-e0b34494] ::part(day){font-size:var(--text-base)!important}.cally div[part=container][data-v-e0b34494]{padding:0!important}.cally[data-v-e0b34494] ::part(button day today){background:var(--color-secondary);color:var(--color-secondary-content)}.alert[data-v-08105eee]{position:relative;padding-bottom:.75rem}.progress[data-v-08105eee]{height:4px;opacity:.8;transition:value .05s linear}.toast-fade-enter-active[data-v-f910f41f],.toast-fade-leave-active[data-v-f910f41f]{transition:all .5s ease}.toast-fade-enter-from[data-v-f910f41f],.toast-fade-leave-to[data-v-f910f41f]{opacity:0;transform:translate(30px)}.toast-start .toast-fade-enter-from[data-v-f910f41f],.toast-start .toast-fade-leave-to[data-v-f910f41f]{transform:translate(-30px)}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}