manolis-ui 0.3.2 → 0.4.0

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
@@ -2,6 +2,7 @@ import { ComponentOptionsMixin } from 'vue';
2
2
  import { ComponentProvideOptions } from 'vue';
3
3
  import { default as DatetimePicker } from './components/data-input/datetimePicker.vue';
4
4
  import { DefineComponent } from 'vue';
5
+ import { ExtractPropTypes } from 'vue';
5
6
  import { PublicProps } from 'vue';
6
7
 
7
8
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -10,13 +11,25 @@ active: boolean;
10
11
  loading: boolean;
11
12
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
12
13
 
13
- declare const __VLS_component_10: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
15
+ "update:modelValue": (value: string[]) => any;
16
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
19
+ inputRef: HTMLInputElement;
20
+ }, HTMLDivElement>;
14
21
 
15
- declare const __VLS_component_11: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
22
+ declare const __VLS_component_11: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
23
+ collapseOnMobile: boolean;
24
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
25
+
26
+ declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
27
+
28
+ declare const __VLS_component_13: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_15> & Readonly<{}>, {
16
29
  isCollapsed: boolean;
17
30
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
18
31
 
19
- declare const __VLS_component_12: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
32
+ declare const __VLS_component_14: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
33
  "tab-changed": (...args: any[]) => void;
21
34
  }, string, PublicProps, Readonly<Props_16> & Readonly<{
22
35
  "onTab-changed"?: ((...args: any[]) => any) | undefined;
@@ -60,7 +73,67 @@ description: string;
60
73
  background: string;
61
74
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
62
75
 
63
- declare const __VLS_component_7: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
76
+ declare const __VLS_component_7: DefineComponent<ExtractPropTypes< {
77
+ showIndicators: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ initialSlide: {
82
+ type: NumberConstructor;
83
+ default: number;
84
+ };
85
+ slidesPerView: {
86
+ type: NumberConstructor;
87
+ default: number;
88
+ validator: (value: number) => boolean;
89
+ };
90
+ gap: {
91
+ type: NumberConstructor;
92
+ default: number;
93
+ validator: (value: number) => boolean;
94
+ };
95
+ slideDuration: {
96
+ type: NumberConstructor;
97
+ default: number;
98
+ validator: (value: number) => boolean;
99
+ };
100
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
101
+ showIndicators: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ initialSlide: {
106
+ type: NumberConstructor;
107
+ default: number;
108
+ };
109
+ slidesPerView: {
110
+ type: NumberConstructor;
111
+ default: number;
112
+ validator: (value: number) => boolean;
113
+ };
114
+ gap: {
115
+ type: NumberConstructor;
116
+ default: number;
117
+ validator: (value: number) => boolean;
118
+ };
119
+ slideDuration: {
120
+ type: NumberConstructor;
121
+ default: number;
122
+ validator: (value: number) => boolean;
123
+ };
124
+ }>> & Readonly<{}>, {
125
+ showIndicators: boolean;
126
+ initialSlide: number;
127
+ slidesPerView: number;
128
+ gap: number;
129
+ slideDuration: number;
130
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
131
+ carouselContainer: HTMLDivElement;
132
+ }, HTMLDivElement>;
133
+
134
+ declare const __VLS_component_8: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
135
+
136
+ declare const __VLS_component_9: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
64
137
  search: () => any;
65
138
  "update:search-data": (payload: {
66
139
  tab: string;
@@ -76,18 +149,6 @@ data: any;
76
149
  searchContainer: HTMLDivElement;
77
150
  }, any>;
78
151
 
79
- declare const __VLS_component_8: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
80
- "update:modelValue": (value: string[]) => any;
81
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
82
- "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
83
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
84
- inputRef: HTMLInputElement;
85
- }, HTMLDivElement>;
86
-
87
- declare const __VLS_component_9: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
88
- collapseOnMobile: boolean;
89
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
90
-
91
152
  declare type __VLS_Props = {
92
153
  modelValue: string[];
93
154
  maxTagAmount?: number;
@@ -105,6 +166,32 @@ declare function __VLS_template(): {
105
166
  };
106
167
 
107
168
  declare function __VLS_template_10(): {
169
+ attrs: Partial<{}>;
170
+ slots: {
171
+ tag?(_: {
172
+ key: string;
173
+ tag: string;
174
+ }): any;
175
+ input?(_: {
176
+ showInput: boolean;
177
+ }): any;
178
+ };
179
+ refs: {
180
+ inputRef: HTMLInputElement;
181
+ };
182
+ rootEl: HTMLDivElement;
183
+ };
184
+
185
+ declare function __VLS_template_11(): {
186
+ attrs: Partial<{}>;
187
+ slots: {
188
+ default?(_: {}): any;
189
+ };
190
+ refs: {};
191
+ rootEl: HTMLDivElement;
192
+ };
193
+
194
+ declare function __VLS_template_12(): {
108
195
  attrs: Partial<{}>;
109
196
  slots: {
110
197
  title?(_: {}): any;
@@ -119,7 +206,7 @@ declare function __VLS_template_10(): {
119
206
  rootEl: HTMLDivElement;
120
207
  };
121
208
 
122
- declare function __VLS_template_11(): {
209
+ declare function __VLS_template_13(): {
123
210
  attrs: Partial<{}>;
124
211
  slots: {
125
212
  start?(_: {}): any;
@@ -131,7 +218,7 @@ declare function __VLS_template_11(): {
131
218
  rootEl: HTMLElement;
132
219
  };
133
220
 
134
- declare function __VLS_template_12(): {
221
+ declare function __VLS_template_14(): {
135
222
  attrs: Partial<{}>;
136
223
  slots: Partial<Record<`${string}-tab`, (_: {}) => any>> & {
137
224
  default?(_: {}): any;
@@ -201,38 +288,34 @@ declare function __VLS_template_6(): {
201
288
  declare function __VLS_template_7(): {
202
289
  attrs: Partial<{}>;
203
290
  slots: {
204
- additionalForMobile?(_: {}): any;
291
+ default?(_: {}): any;
292
+ prevButton?(_: {}): any;
293
+ nextButton?(_: {}): any;
205
294
  };
206
295
  refs: {
207
- searchContainer: HTMLDivElement;
296
+ carouselContainer: HTMLDivElement;
208
297
  };
209
- rootEl: any;
298
+ rootEl: HTMLDivElement;
210
299
  };
211
300
 
212
301
  declare function __VLS_template_8(): {
213
302
  attrs: Partial<{}>;
214
303
  slots: {
215
- tag?(_: {
216
- key: string;
217
- tag: string;
218
- }): any;
219
- input?(_: {
220
- showInput: boolean;
221
- }): any;
222
- };
223
- refs: {
224
- inputRef: HTMLInputElement;
304
+ default?(_: {}): any;
225
305
  };
306
+ refs: {};
226
307
  rootEl: HTMLDivElement;
227
308
  };
228
309
 
229
310
  declare function __VLS_template_9(): {
230
311
  attrs: Partial<{}>;
231
312
  slots: {
232
- default?(_: {}): any;
313
+ additionalForMobile?(_: {}): any;
233
314
  };
234
- refs: {};
235
- rootEl: HTMLDivElement;
315
+ refs: {
316
+ searchContainer: HTMLDivElement;
317
+ };
318
+ rootEl: any;
236
319
  };
237
320
 
238
321
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -243,6 +326,10 @@ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
243
326
 
244
327
  declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
245
328
 
329
+ declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
330
+
331
+ declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
332
+
246
333
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
247
334
 
248
335
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -283,6 +370,18 @@ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
283
370
  };
284
371
  };
285
372
 
373
+ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
374
+ new (): {
375
+ $slots: S;
376
+ };
377
+ };
378
+
379
+ declare type __VLS_WithTemplateSlots_14<T, S> = T & {
380
+ new (): {
381
+ $slots: S;
382
+ };
383
+ };
384
+
286
385
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
287
386
  new (): {
288
387
  $slots: S;
@@ -340,7 +439,7 @@ declare interface Accordion_2 {
340
439
  content: string;
341
440
  }
342
441
 
343
- export declare const AdvancedSearch: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
442
+ export declare const AdvancedSearch: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
344
443
 
345
444
  export declare const Avatar: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_7> & Readonly<{}>, {
346
445
  onlineStatus: "online" | "offline" | "none";
@@ -353,6 +452,10 @@ export declare const ButtonComponent: __VLS_WithTemplateSlots<typeof __VLS_compo
353
452
 
354
453
  export declare const Card: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
355
454
 
455
+ export declare const Carousel: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
456
+
457
+ export declare const CarouselItem: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
458
+
356
459
  declare interface Category {
357
460
  category: string;
358
461
  tabs: Tab_3[];
@@ -385,7 +488,7 @@ declare const dropdownPosition: {
385
488
  top: string;
386
489
  };
387
490
 
388
- export declare const Footer: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
491
+ export declare const Footer: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
389
492
 
390
493
  declare interface FooterNavigation {
391
494
  title: string;
@@ -398,7 +501,7 @@ declare interface FooterNavigationItem {
398
501
  enabled: Boolean;
399
502
  }
400
503
 
401
- export declare const Hero: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
504
+ export declare const Hero: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
402
505
 
403
506
  export declare const Loader: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_12> & Readonly<{}>, {
404
507
  loading: boolean;
@@ -415,7 +518,7 @@ declare const modalPosition: {
415
518
  center: string;
416
519
  };
417
520
 
418
- export declare const NavigationBar: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
521
+ export declare const NavigationBar: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
419
522
 
420
523
  declare interface Props {
421
524
  outlined?: boolean;
@@ -536,7 +639,7 @@ isInteractive: boolean;
536
639
 
537
640
  export declare const Swap: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
538
641
 
539
- export declare const Tab: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
642
+ export declare const Tab: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
540
643
 
541
644
  declare interface Tab_2 {
542
645
  name: string | any;
@@ -556,7 +659,7 @@ declare interface Tab_3 {
556
659
  value?: any;
557
660
  }
558
661
 
559
- export declare const TagInput: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
662
+ export declare const TagInput: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
560
663
 
561
664
  export declare const ThemeController: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_5> & Readonly<{}>, {
562
665
  lightTheme: string;
@@ -1 +1 @@
1
- .tabs button[data-v-08fa37eb]{cursor:pointer}.tab-content[data-v-08fa37eb]{position:absolute;z-index:10;transform-origin:top center;transition:opacity .3s ease}.tabs-boxed[data-v-08fa37eb] :is(.tab-active,[aria-selected=true]):not(.tab-disabled):not([disabled]),.tabs-boxed[data-v-08fa37eb] :is(input:checked){background-color:var(--color-base-300);color:var(--color-base-content)}@media (max-width: 768px){.tab-content[data-v-08fa37eb]{width:100%;left:50%;transform:translate(-50%);top:auto;bottom:0}}@media (min-width: 769px){.tab-content[data-v-08fa37eb]{width:auto;left:unset;transform:unset}}.input[data-v-488ecabe]{cursor:pointer}.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
+ .carousel[data-v-f820adac]{-ms-overflow-style:none;scrollbar-width:none}.carousel[data-v-f820adac]::-webkit-scrollbar{display:none}.carousel-item[data-v-b38df5e3]{flex-shrink:0}.tabs button[data-v-08fa37eb]{cursor:pointer}.tab-content[data-v-08fa37eb]{position:absolute;z-index:10;transform-origin:top center;transition:opacity .3s ease}.tabs-boxed[data-v-08fa37eb] :is(.tab-active,[aria-selected=true]):not(.tab-disabled):not([disabled]),.tabs-boxed[data-v-08fa37eb] :is(input:checked){background-color:var(--color-base-300);color:var(--color-base-content)}@media (max-width: 768px){.tab-content[data-v-08fa37eb]{width:100%;left:50%;transform:translate(-50%);top:auto;bottom:0}}@media (min-width: 769px){.tab-content[data-v-08fa37eb]{width:auto;left:unset;transform:unset}}.input[data-v-488ecabe]{cursor:pointer}.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}