manolis-ui 0.5.3 → 0.6.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 +95 -11
- package/dist/manolis-ui.js +995 -714
- package/dist/manolis-ui.umd.cjs +9 -9
- package/dist/style.css +437 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
2
|
import { ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
3
4
|
import { default as DatetimePicker } from './components/data-input/datetimePicker.vue';
|
|
4
5
|
import { DefineComponent } from 'vue';
|
|
5
6
|
import { ExtractPropTypes } from 'vue';
|
|
7
|
+
import { default as FilterableSelect } from './components/data-input/filterableSelect.vue';
|
|
6
8
|
import { PublicProps } from 'vue';
|
|
9
|
+
import { Ref } from 'vue';
|
|
7
10
|
|
|
8
11
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
12
|
outlined: boolean;
|
|
@@ -19,19 +22,19 @@ declare const __VLS_component_10: DefineComponent<__VLS_Props, {}, {}, {}, {}, C
|
|
|
19
22
|
inputRef: HTMLInputElement;
|
|
20
23
|
}, HTMLDivElement>;
|
|
21
24
|
|
|
22
|
-
declare const __VLS_component_11: DefineComponent<
|
|
25
|
+
declare const __VLS_component_11: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
|
|
23
26
|
collapseOnMobile: boolean;
|
|
24
27
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
28
|
|
|
26
29
|
declare const __VLS_component_12: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
27
30
|
|
|
28
|
-
declare const __VLS_component_13: DefineComponent<
|
|
31
|
+
declare const __VLS_component_13: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_16> & Readonly<{}>, {
|
|
29
32
|
isCollapsed: boolean;
|
|
30
33
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
31
34
|
|
|
32
|
-
declare const __VLS_component_14: DefineComponent<
|
|
35
|
+
declare const __VLS_component_14: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
36
|
"tab-changed": (...args: any[]) => void;
|
|
34
|
-
}, string, PublicProps, Readonly<
|
|
37
|
+
}, string, PublicProps, Readonly<Props_17> & Readonly<{
|
|
35
38
|
"onTab-changed"?: ((...args: any[]) => any) | undefined;
|
|
36
39
|
}>, {
|
|
37
40
|
withControlls: boolean;
|
|
@@ -71,6 +74,7 @@ imgUrl: string;
|
|
|
71
74
|
alt: string;
|
|
72
75
|
description: string;
|
|
73
76
|
background: string;
|
|
77
|
+
imgHeight: string;
|
|
74
78
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
75
79
|
|
|
76
80
|
declare const __VLS_component_7: DefineComponent<ExtractPropTypes< {
|
|
@@ -180,6 +184,13 @@ declare type __VLS_Props = {
|
|
|
180
184
|
class?: string;
|
|
181
185
|
};
|
|
182
186
|
|
|
187
|
+
declare type __VLS_Props_2 = {
|
|
188
|
+
options: SelectOption[];
|
|
189
|
+
label?: string;
|
|
190
|
+
placeholder?: string;
|
|
191
|
+
modelValue: string | number | object | null;
|
|
192
|
+
};
|
|
193
|
+
|
|
183
194
|
declare function __VLS_template(): {
|
|
184
195
|
attrs: Partial<{}>;
|
|
185
196
|
slots: {
|
|
@@ -485,9 +496,9 @@ declare interface Category {
|
|
|
485
496
|
tabs: Tab_3[];
|
|
486
497
|
}
|
|
487
498
|
|
|
488
|
-
export declare const CategoryNavigation: DefineComponent<
|
|
499
|
+
export declare const CategoryNavigation: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
489
500
|
"update:currentCategory": (category: string) => any;
|
|
490
|
-
}, string, PublicProps, Readonly<
|
|
501
|
+
}, string, PublicProps, Readonly<Props_15> & Readonly<{
|
|
491
502
|
"onUpdate:currentCategory"?: ((category: string) => any) | undefined;
|
|
492
503
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
493
504
|
|
|
@@ -512,6 +523,10 @@ declare const dropdownPosition: {
|
|
|
512
523
|
top: string;
|
|
513
524
|
};
|
|
514
525
|
|
|
526
|
+
declare const errorMessage: Ref<string, string>;
|
|
527
|
+
|
|
528
|
+
export { FilterableSelect }
|
|
529
|
+
|
|
515
530
|
export declare const Footer: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
516
531
|
|
|
517
532
|
declare interface FooterNavigation {
|
|
@@ -527,7 +542,42 @@ declare interface FooterNavigationItem {
|
|
|
527
542
|
|
|
528
543
|
export declare const Hero: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
529
544
|
|
|
530
|
-
export declare const
|
|
545
|
+
export declare const InputField: DefineComponent<Props_12, {
|
|
546
|
+
focusInput: () => void;
|
|
547
|
+
isValid: typeof isValid;
|
|
548
|
+
isTouched: typeof isTouched;
|
|
549
|
+
errorMessage: typeof errorMessage;
|
|
550
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
551
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
552
|
+
validate: (isValid: boolean) => any;
|
|
553
|
+
}, string, PublicProps, Readonly<Props_12> & Readonly<{
|
|
554
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
555
|
+
onValidate?: ((isValid: boolean) => any) | undefined;
|
|
556
|
+
}>, {
|
|
557
|
+
type: string;
|
|
558
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
559
|
+
label: string;
|
|
560
|
+
style: "" | "ghost";
|
|
561
|
+
color: "" | "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
|
|
562
|
+
modelValue: string | number | null;
|
|
563
|
+
placeholder: string;
|
|
564
|
+
rules: {
|
|
565
|
+
required?: boolean;
|
|
566
|
+
minLength?: number;
|
|
567
|
+
maxLength?: number;
|
|
568
|
+
email?: boolean;
|
|
569
|
+
[key: string]: any;
|
|
570
|
+
};
|
|
571
|
+
successMessage: string;
|
|
572
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
573
|
+
inputElement: HTMLInputElement;
|
|
574
|
+
}, HTMLDivElement>;
|
|
575
|
+
|
|
576
|
+
declare const isTouched: Ref<boolean, boolean>;
|
|
577
|
+
|
|
578
|
+
declare const isValid: ComputedRef<boolean>;
|
|
579
|
+
|
|
580
|
+
export declare const Loader: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
|
|
531
581
|
loading: boolean;
|
|
532
582
|
type: "spinner" | "dots" | "ring" | "balls" | "bars" | "infinity";
|
|
533
583
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -570,29 +620,47 @@ declare interface Props_11 {
|
|
|
570
620
|
}
|
|
571
621
|
|
|
572
622
|
declare interface Props_12 {
|
|
623
|
+
modelValue: string | number | null;
|
|
624
|
+
label?: string;
|
|
625
|
+
placeholder?: string;
|
|
626
|
+
type?: string;
|
|
627
|
+
rules?: {
|
|
628
|
+
required?: boolean;
|
|
629
|
+
minLength?: number;
|
|
630
|
+
maxLength?: number;
|
|
631
|
+
email?: boolean;
|
|
632
|
+
[key: string]: any;
|
|
633
|
+
};
|
|
634
|
+
successMessage?: string;
|
|
635
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
636
|
+
color?: "" | "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
|
|
637
|
+
style?: "" | "ghost";
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
declare interface Props_13 {
|
|
573
641
|
loading?: boolean;
|
|
574
642
|
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
575
643
|
type: "spinner" | "dots" | "ring" | "balls" | "bars" | "infinity";
|
|
576
644
|
color: "primary" | "secondary" | "accent" | "neutral" | "info" | "success" | "warning" | "error";
|
|
577
645
|
}
|
|
578
646
|
|
|
579
|
-
declare interface
|
|
647
|
+
declare interface Props_14 {
|
|
580
648
|
items: Array<FooterNavigation>;
|
|
581
649
|
background?: string;
|
|
582
650
|
color?: string;
|
|
583
651
|
collapseOnMobile?: boolean;
|
|
584
652
|
}
|
|
585
653
|
|
|
586
|
-
declare interface
|
|
654
|
+
declare interface Props_15 {
|
|
587
655
|
searchOptions: Array<Category>;
|
|
588
656
|
currentCategory: string;
|
|
589
657
|
}
|
|
590
658
|
|
|
591
|
-
declare interface
|
|
659
|
+
declare interface Props_16 {
|
|
592
660
|
isCollapsed: boolean;
|
|
593
661
|
}
|
|
594
662
|
|
|
595
|
-
declare interface
|
|
663
|
+
declare interface Props_17 {
|
|
596
664
|
items: Array<string>;
|
|
597
665
|
withControlls?: boolean;
|
|
598
666
|
rotateTabsAfter?: number;
|
|
@@ -651,6 +719,7 @@ declare interface Props_9 {
|
|
|
651
719
|
class?: string;
|
|
652
720
|
background?: string;
|
|
653
721
|
color?: string;
|
|
722
|
+
imgHeight?: string;
|
|
654
723
|
}
|
|
655
724
|
|
|
656
725
|
export declare const Rating: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
|
|
@@ -661,6 +730,21 @@ halfStars: boolean;
|
|
|
661
730
|
isInteractive: boolean;
|
|
662
731
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
663
732
|
|
|
733
|
+
declare interface SelectOption {
|
|
734
|
+
value: any;
|
|
735
|
+
text: string;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export declare const Selector: DefineComponent<__VLS_Props_2, {
|
|
739
|
+
focusInput: () => void;
|
|
740
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
741
|
+
"update:modelValue": (value: string) => any;
|
|
742
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
743
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
744
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
745
|
+
selectElement: HTMLSelectElement;
|
|
746
|
+
}, HTMLDivElement>;
|
|
747
|
+
|
|
664
748
|
export declare const Swap: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
665
749
|
|
|
666
750
|
export declare const Tab: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|