@muenchen/muc-patternlab-vue 1.14.0-beta.2 → 1.15.0-beta.1
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/assets/temporary/custom-style.css +1 -1
- package/components/Banner/MucBanner.stories.d.ts +1 -3
- package/components/BuisnessHours/BusinessHours.stories.d.ts +1 -5
- package/components/Button/MucButton.stories.d.ts +1 -8
- package/components/Calendar/MucCalendar.stories.d.ts +73 -0
- package/components/Calendar/MucCalendar.vue.d.ts +36 -0
- package/components/Calendar/MucCalendarDay.vue.d.ts +41 -0
- package/components/Calendar/MucCalendarMonth.vue.d.ts +16 -0
- package/components/Calendar/MucCalendarType.d.ts +66 -0
- package/components/Calendar/MucCalendarYear.vue.d.ts +16 -0
- package/components/Calendar/MucDayTile.vue.d.ts +24 -0
- package/components/Calendar/index.d.ts +2 -0
- package/components/Callout/MucCallout.stories.d.ts +1 -3
- package/components/Card/MucCard.stories.d.ts +2 -12
- package/components/Card/MucCardContainer.stories.d.ts +4 -9
- package/components/Comment/MucComment.stories.d.ts +1 -4
- package/components/Form/MucCheckboxGroup.stories.d.ts +4 -12
- package/components/Form/MucInput.stories.d.ts +1 -15
- package/components/Form/MucRadioButton.stories.d.ts +1 -9
- package/components/Intro/MucIntro.stories.d.ts +1 -5
- package/components/Link/MucLink.stories.d.ts +1 -7
- package/package.json +2 -2
|
@@ -2,9 +2,7 @@ declare const _default: {
|
|
|
2
2
|
component: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
type?: "info" | "success" | "warning" | "emergency";
|
|
5
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
6
|
-
type?: "info" | "success" | "warning" | "emergency";
|
|
7
|
-
}> & Readonly<{}>, {
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
8
6
|
type: "info" | "success" | "warning" | "emergency";
|
|
9
7
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
8
|
P: {};
|
|
@@ -4,11 +4,7 @@ declare const _default: {
|
|
|
4
4
|
businessHours: import('./BusinessHourType').BusinessHourType[];
|
|
5
5
|
toggleable?: boolean;
|
|
6
6
|
icon?: string;
|
|
7
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
8
|
-
businessHours: import('./BusinessHourType').BusinessHourType[];
|
|
9
|
-
toggleable?: boolean;
|
|
10
|
-
icon?: string;
|
|
11
|
-
}> & Readonly<{}>, {
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
12
8
|
icon: string;
|
|
13
9
|
toggleable: boolean;
|
|
14
10
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -9,14 +9,7 @@ declare const _default: {
|
|
|
9
9
|
onClick?: (() => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
11
|
click: () => any;
|
|
12
|
-
}, import('vue').
|
|
13
|
-
variant?: "primary" | "secondary" | "ghost";
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
icon?: string;
|
|
16
|
-
iconAnimated?: boolean;
|
|
17
|
-
}> & Readonly<{
|
|
18
|
-
onClick?: (() => any) | undefined;
|
|
19
|
-
}>, {
|
|
12
|
+
}, import('vue').PublicProps, {
|
|
20
13
|
variant: "primary" | "secondary" | "ghost";
|
|
21
14
|
disabled: boolean;
|
|
22
15
|
iconAnimated: boolean;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import('vue').DefineComponent<{
|
|
3
|
+
modelValue?: import('./MucCalendarType').MucCalendarSelected;
|
|
4
|
+
} & {
|
|
5
|
+
viewMonth?: Date;
|
|
6
|
+
showAdjacentMonths?: boolean;
|
|
7
|
+
variant?: import('./MucCalendarType').CalendarTypes;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
noAnimation?: boolean;
|
|
10
|
+
allowedDates?: import('./MucCalendarType').AllowedDateFunction;
|
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (modelValue: import('./MucCalendarType').MucCalendarSelected) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
14
|
+
modelValue?: import('./MucCalendarType').MucCalendarSelected;
|
|
15
|
+
} & {
|
|
16
|
+
viewMonth?: Date;
|
|
17
|
+
showAdjacentMonths?: boolean;
|
|
18
|
+
variant?: import('./MucCalendarType').CalendarTypes;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
noAnimation?: boolean;
|
|
21
|
+
allowedDates?: import('./MucCalendarType').AllowedDateFunction;
|
|
22
|
+
}> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((modelValue: import('./MucCalendarType').MucCalendarSelected) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
title: string;
|
|
26
|
+
tags: string[];
|
|
27
|
+
parameters: {
|
|
28
|
+
docs: {
|
|
29
|
+
description: {
|
|
30
|
+
component: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
36
|
+
export declare const Single: {
|
|
37
|
+
args: {
|
|
38
|
+
variant: string;
|
|
39
|
+
showAdjacentMonths: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const MultipleWithSelectedViewMonth: {
|
|
43
|
+
args: {
|
|
44
|
+
variant: string;
|
|
45
|
+
viewMonth: Date;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export declare const Range: {
|
|
49
|
+
args: {
|
|
50
|
+
variant: string;
|
|
51
|
+
showAdjacentMonths: boolean;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export declare const DisabledWithPreSelectedDate: {
|
|
55
|
+
args: {
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
showAdjacentMonths: boolean;
|
|
58
|
+
modelValue: Date;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const AllowedDatesWithNoAnimation: {
|
|
62
|
+
args: {
|
|
63
|
+
noAnimation: boolean;
|
|
64
|
+
allowedDates: (date: Date) => boolean;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export declare const DisabledPreSelectedViewMonth: {
|
|
68
|
+
args: {
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
showAdjacentMonths: boolean;
|
|
71
|
+
viewMonth: Date;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AllowedDateFunction, CalendarTypes, MucCalendarSelected } from './MucCalendarType';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
/**
|
|
4
|
+
* Initial date to be displayed on the selection screen
|
|
5
|
+
*/
|
|
6
|
+
viewMonth?: Date;
|
|
7
|
+
/**
|
|
8
|
+
* Select if adjacent (before and after) month should be shown in the selection of the day. Defaults to false
|
|
9
|
+
*/
|
|
10
|
+
showAdjacentMonths?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Select the selection type for the user - single, multiple or range. Defaults to single
|
|
13
|
+
*/
|
|
14
|
+
variant?: CalendarTypes;
|
|
15
|
+
/**
|
|
16
|
+
* Disable the selection of dates by the user. Defaults to false
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Disables the animation
|
|
21
|
+
*/
|
|
22
|
+
noAnimation?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Function to determine if a date should be disabled or not
|
|
25
|
+
*/
|
|
26
|
+
allowedDates?: AllowedDateFunction;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_PublicProps = {
|
|
29
|
+
"modelValue"?: MucCalendarSelected;
|
|
30
|
+
} & typeof __VLS_typeProps;
|
|
31
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
"update:modelValue": (modelValue: MucCalendarSelected) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: ((modelValue: MucCalendarSelected) => any) | undefined;
|
|
35
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CalendarTypes } from './MucCalendarType';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* Current year and month in the view
|
|
5
|
+
*/
|
|
6
|
+
viewDate: Date;
|
|
7
|
+
/**
|
|
8
|
+
* Type of possible day selection - single, multiple or range
|
|
9
|
+
*/
|
|
10
|
+
variant: CalendarTypes;
|
|
11
|
+
/**
|
|
12
|
+
* Determines if selection of day should be disabled
|
|
13
|
+
*/
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Determines if days of adjacent months (before and after) should be shown or not
|
|
17
|
+
*/
|
|
18
|
+
showAdjacentMonths: boolean;
|
|
19
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
clicked: (date: Date) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
22
|
+
/**
|
|
23
|
+
* Current year and month in the view
|
|
24
|
+
*/
|
|
25
|
+
viewDate: Date;
|
|
26
|
+
/**
|
|
27
|
+
* Type of possible day selection - single, multiple or range
|
|
28
|
+
*/
|
|
29
|
+
variant: CalendarTypes;
|
|
30
|
+
/**
|
|
31
|
+
* Determines if selection of day should be disabled
|
|
32
|
+
*/
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Determines if days of adjacent months (before and after) should be shown or not
|
|
36
|
+
*/
|
|
37
|
+
showAdjacentMonths: boolean;
|
|
38
|
+
}> & Readonly<{
|
|
39
|
+
onClicked?: ((date: Date) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* current viewDate for the selection
|
|
4
|
+
*/
|
|
5
|
+
viewDate: Date;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
clicked: (date: Date) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
/**
|
|
10
|
+
* current viewDate for the selection
|
|
11
|
+
*/
|
|
12
|
+
viewDate: Date;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
onClicked?: ((date: Date) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Different possible types of date selection for the calendar
|
|
4
|
+
*/
|
|
5
|
+
type CalendarTypes = "single" | "multiple" | "range";
|
|
6
|
+
/**
|
|
7
|
+
* Types of the view displayed for selection
|
|
8
|
+
*/
|
|
9
|
+
type ViewType = "day" | "month" | "year";
|
|
10
|
+
type AllowedDateFunction = (date: Date) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Selection type for range type
|
|
13
|
+
*/
|
|
14
|
+
interface MucDateRange {
|
|
15
|
+
from: null | Date;
|
|
16
|
+
to: null | Date;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Datatypes for modelvalue of the calendar
|
|
20
|
+
*/
|
|
21
|
+
type MucCalendarSelected = null | Date | Date[] | MucDateRange;
|
|
22
|
+
/**
|
|
23
|
+
* Injection type for date selection component
|
|
24
|
+
*/
|
|
25
|
+
type MucCalendarInjection = {
|
|
26
|
+
viewDate: Readonly<Ref<Date>>;
|
|
27
|
+
selectedDate: Readonly<Ref<MucCalendarSelected>>;
|
|
28
|
+
variant: Readonly<Ref<CalendarTypes>>;
|
|
29
|
+
showAdjacentMonths: Readonly<Ref<boolean>>;
|
|
30
|
+
allowedDates: AllowedDateFunction;
|
|
31
|
+
};
|
|
32
|
+
export type { AllowedDateFunction, MucDateRange, MucCalendarSelected, CalendarTypes, MucCalendarInjection, ViewType, };
|
|
33
|
+
/**
|
|
34
|
+
* Locales for date output
|
|
35
|
+
*/
|
|
36
|
+
declare const LOCALES = "de-DE";
|
|
37
|
+
/**
|
|
38
|
+
* Number of possible selection in the broader views (months or years)
|
|
39
|
+
*/
|
|
40
|
+
declare const NUM_OF_BROAD_SELECTIONS = 12;
|
|
41
|
+
/**
|
|
42
|
+
* Key for injecting MucCalendar data into components.
|
|
43
|
+
* @type {InjectionKey<MucCalendarInjection>}
|
|
44
|
+
*/
|
|
45
|
+
declare const MucCalendarKey: InjectionKey<MucCalendarInjection>;
|
|
46
|
+
/**
|
|
47
|
+
* Checks if two dates are equal (same day, month, and year).
|
|
48
|
+
* @param date1 - The first date to compare.
|
|
49
|
+
* @param date2 - The second date to compare.
|
|
50
|
+
* @returns true if the dates are equal, otherwise false.
|
|
51
|
+
*/
|
|
52
|
+
declare const isEqualDates: (date1: Date, date2: Date) => boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Checks if the first date is after the second date.
|
|
55
|
+
* @param date1 - The first date to compare.
|
|
56
|
+
* @param date2 - The second date to compare.
|
|
57
|
+
* @returns true if the first date is after the second, otherwise false.
|
|
58
|
+
*/
|
|
59
|
+
declare const isDateAfterOther: (date1: Date, date2: Date) => boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Checks if the given object is a MucDateRange (has 'from' and 'to' properties).
|
|
62
|
+
* @param {MucCalendarSelected} obj - The object to check.
|
|
63
|
+
* @returns {boolean} True if the object is a MucDateRange, otherwise false.
|
|
64
|
+
*/
|
|
65
|
+
declare const isMucDateRange: (obj: MucCalendarSelected) => obj is MucDateRange;
|
|
66
|
+
export { isEqualDates, isMucDateRange, isDateAfterOther, MucCalendarKey, LOCALES, NUM_OF_BROAD_SELECTIONS, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* current viewDate for the selection
|
|
4
|
+
*/
|
|
5
|
+
viewDate: Date;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
clicked: (date: Date) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
9
|
+
/**
|
|
10
|
+
* current viewDate for the selection
|
|
11
|
+
*/
|
|
12
|
+
viewDate: Date;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
onClicked?: ((date: Date) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Date of for this tile to be displayed
|
|
4
|
+
*/
|
|
5
|
+
date: Date;
|
|
6
|
+
/**
|
|
7
|
+
* Determines if this date should be shown or not, depending on the month - defaults to false
|
|
8
|
+
*/
|
|
9
|
+
showAdjacentMonths?: boolean;
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
click: (date: Date) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
+
/**
|
|
14
|
+
* Date of for this tile to be displayed
|
|
15
|
+
*/
|
|
16
|
+
date: Date;
|
|
17
|
+
/**
|
|
18
|
+
* Determines if this date should be shown or not, depending on the month - defaults to false
|
|
19
|
+
*/
|
|
20
|
+
showAdjacentMonths?: boolean;
|
|
21
|
+
}> & Readonly<{
|
|
22
|
+
onClick?: ((date: Date) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -2,9 +2,7 @@ declare const _default: {
|
|
|
2
2
|
component: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
type?: "error" | "info" | "success" | "warning";
|
|
5
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
6
|
-
type?: "error" | "info" | "success" | "warning";
|
|
7
|
-
}> & Readonly<{}>, {
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
8
6
|
type: "error" | "info" | "success" | "warning";
|
|
9
7
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
8
|
P: {};
|
|
@@ -7,12 +7,7 @@ declare const _default: {
|
|
|
7
7
|
onClick?: ((click: Event) => any) | undefined;
|
|
8
8
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
9
|
click: (click: Event) => any;
|
|
10
|
-
}, import('vue').
|
|
11
|
-
title: string;
|
|
12
|
-
tagline: string;
|
|
13
|
-
}> & Readonly<{
|
|
14
|
-
onClick?: ((click: Event) => any) | undefined;
|
|
15
|
-
}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
11
|
P: {};
|
|
17
12
|
B: {};
|
|
18
13
|
D: {};
|
|
@@ -75,12 +70,7 @@ export declare const WithHeaderPrefix: () => {
|
|
|
75
70
|
onClick?: ((click: Event) => any) | undefined;
|
|
76
71
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
77
72
|
click: (click: Event) => any;
|
|
78
|
-
}, import('vue').
|
|
79
|
-
title: string;
|
|
80
|
-
tagline: string;
|
|
81
|
-
}> & Readonly<{
|
|
82
|
-
onClick?: ((click: Event) => any) | undefined;
|
|
83
|
-
}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
73
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
84
74
|
P: {};
|
|
85
75
|
B: {};
|
|
86
76
|
D: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
components: {
|
|
3
3
|
MucCardContainer: {
|
|
4
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
5
5
|
P: {};
|
|
6
6
|
B: {};
|
|
7
7
|
D: {};
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
component: {
|
|
24
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
24
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
25
25
|
P: {};
|
|
26
26
|
B: {};
|
|
27
27
|
D: {};
|
|
@@ -56,7 +56,7 @@ export default _default;
|
|
|
56
56
|
export declare const Template: () => {
|
|
57
57
|
components: {
|
|
58
58
|
MucCardContainer: {
|
|
59
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
59
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
60
60
|
P: {};
|
|
61
61
|
B: {};
|
|
62
62
|
D: {};
|
|
@@ -82,12 +82,7 @@ export declare const Template: () => {
|
|
|
82
82
|
onClick?: ((click: Event) => any) | undefined;
|
|
83
83
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
84
84
|
click: (click: Event) => any;
|
|
85
|
-
}, import('vue').
|
|
86
|
-
title: string;
|
|
87
|
-
tagline: string;
|
|
88
|
-
}> & Readonly<{
|
|
89
|
-
onClick?: ((click: Event) => any) | undefined;
|
|
90
|
-
}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
85
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
91
86
|
P: {};
|
|
92
87
|
B: {};
|
|
93
88
|
D: {};
|
|
@@ -3,10 +3,7 @@ declare const _default: {
|
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
rating: number;
|
|
5
5
|
variant?: import('./CommentType').default;
|
|
6
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
7
|
-
rating: number;
|
|
8
|
-
variant?: import('./CommentType').default;
|
|
9
|
-
}> & Readonly<{}>, {
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
10
7
|
variant: import('./CommentType').default;
|
|
11
8
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
12
9
|
P: {};
|
|
@@ -3,9 +3,7 @@ declare const _default: {
|
|
|
3
3
|
MucCheckboxGroup: {
|
|
4
4
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
5
5
|
heading?: string;
|
|
6
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
7
|
-
heading?: string;
|
|
8
|
-
}> & Readonly<{}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
7
|
P: {};
|
|
10
8
|
B: {};
|
|
11
9
|
D: {};
|
|
@@ -49,9 +47,7 @@ declare const _default: {
|
|
|
49
47
|
component: {
|
|
50
48
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
51
49
|
heading?: string;
|
|
52
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
53
|
-
heading?: string;
|
|
54
|
-
}> & Readonly<{}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
50
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
55
51
|
P: {};
|
|
56
52
|
B: {};
|
|
57
53
|
D: {};
|
|
@@ -107,9 +103,7 @@ export declare const NotCollapsable: () => {
|
|
|
107
103
|
MucCheckboxGroup: {
|
|
108
104
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
109
105
|
heading?: string;
|
|
110
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
111
|
-
heading?: string;
|
|
112
|
-
}> & Readonly<{}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
106
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
113
107
|
P: {};
|
|
114
108
|
B: {};
|
|
115
109
|
D: {};
|
|
@@ -157,9 +151,7 @@ export declare const Collapsable: () => {
|
|
|
157
151
|
MucCheckboxGroup: {
|
|
158
152
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
159
153
|
heading?: string;
|
|
160
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
161
|
-
heading?: string;
|
|
162
|
-
}> & Readonly<{}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
154
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
163
155
|
P: {};
|
|
164
156
|
B: {};
|
|
165
157
|
D: {};
|
|
@@ -18,21 +18,7 @@ declare const _default: {
|
|
|
18
18
|
"update:modelValue": (modelValue: string) => any;
|
|
19
19
|
} & {
|
|
20
20
|
suffixClick: () => any;
|
|
21
|
-
}, import('vue').
|
|
22
|
-
modelValue?: string;
|
|
23
|
-
} & {
|
|
24
|
-
errorMsg?: string;
|
|
25
|
-
placeholder?: string;
|
|
26
|
-
required?: boolean;
|
|
27
|
-
label?: string;
|
|
28
|
-
hint?: string;
|
|
29
|
-
type?: "color" | "text" | "search" | "date" | "datetime-local" | "password";
|
|
30
|
-
datalist?: string[];
|
|
31
|
-
suffixIcon?: string;
|
|
32
|
-
}> & Readonly<{
|
|
33
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
34
|
-
onSuffixClick?: (() => any) | undefined;
|
|
35
|
-
}>, {
|
|
21
|
+
}, import('vue').PublicProps, {
|
|
36
22
|
type: "color" | "text" | "search" | "date" | "datetime-local" | "password";
|
|
37
23
|
required: boolean;
|
|
38
24
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -50,15 +50,7 @@ export declare const Default: () => {
|
|
|
50
50
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
51
|
change: (value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any;
|
|
52
52
|
"update:modelValue": (modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any;
|
|
53
|
-
}, import('vue').
|
|
54
|
-
modelValue?: import('./MucRadioButtonTypes').RadioButtonValueTypes;
|
|
55
|
-
} & {
|
|
56
|
-
heading?: string;
|
|
57
|
-
disabled?: boolean;
|
|
58
|
-
}> & Readonly<{
|
|
59
|
-
onChange?: ((value: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
|
|
60
|
-
"onUpdate:modelValue"?: ((modelValue: import('./MucRadioButtonTypes').RadioButtonValueTypes) => any) | undefined;
|
|
61
|
-
}>, {
|
|
53
|
+
}, import('vue').PublicProps, {
|
|
62
54
|
disabled: boolean;
|
|
63
55
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
64
56
|
P: {};
|
|
@@ -4,11 +4,7 @@ declare const _default: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
tagline: string;
|
|
6
6
|
divider: boolean;
|
|
7
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
8
|
-
title: string;
|
|
9
|
-
tagline: string;
|
|
10
|
-
divider: boolean;
|
|
11
|
-
}> & Readonly<{}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
12
8
|
P: {};
|
|
13
9
|
B: {};
|
|
14
10
|
D: {};
|
|
@@ -6,13 +6,7 @@ declare const _default: {
|
|
|
6
6
|
icon?: string;
|
|
7
7
|
target?: string;
|
|
8
8
|
noUnderline?: boolean;
|
|
9
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
|
10
|
-
label: string;
|
|
11
|
-
href?: string;
|
|
12
|
-
icon?: string;
|
|
13
|
-
target?: string;
|
|
14
|
-
noUnderline?: boolean;
|
|
15
|
-
}> & Readonly<{}>, {
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
16
10
|
href: string;
|
|
17
11
|
target: string;
|
|
18
12
|
noUnderline: boolean;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "FabianWilms",
|
|
4
4
|
"description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.15.0-beta.1",
|
|
7
7
|
"private": false,
|
|
8
8
|
"module": "./dist/muc-patternlab-vue.es.js",
|
|
9
9
|
"main": "./dist/index.d.ts",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/jsdom": "^21.1.6",
|
|
60
60
|
"@types/node": "^20.11.10",
|
|
61
61
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
62
|
-
"@vue/eslint-config-prettier": "^
|
|
62
|
+
"@vue/eslint-config-prettier": "^10.0.0",
|
|
63
63
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
64
64
|
"@vue/test-utils": "^2.4.4",
|
|
65
65
|
"@vue/tsconfig": "^0.5.1",
|