@avenirs-esr/avenirs-dsav 0.1.7 → 0.1.8
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/avenirs-dsav.es.js +166 -166
- package/dist/avenirs-dsav.umd.js +5 -5
- package/dist/components/badges/AvBadge/AvBadge.stub.d.ts +17 -29
- package/dist/components/base/AvVIcon/AvVIcon.stub.d.ts +5 -9
- package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +6 -15
- package/dist/components/interaction/lists/AvList/AvList.stub.d.ts +5 -5
- package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +6 -19
- package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stub.d.ts +5 -11
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +6 -28
- package/dist/components/interaction/selects/AvSelect/AvSelect.stub.d.ts +11 -15
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stub.d.ts +11 -16
- package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stub.d.ts +6 -11
- package/dist/tests/stubs.d.ts +39 -60
- package/package.json +1 -1
|
@@ -1,30 +1,18 @@
|
|
|
1
|
-
export declare const AvBadgeStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const AvBadgeStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
template: string;
|
|
4
|
+
props: {
|
|
5
|
+
label: StringConstructor;
|
|
6
|
+
small: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
ellipsis: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
color: StringConstructor;
|
|
15
|
+
backgroundColor: StringConstructor;
|
|
16
|
+
iconPath: StringConstructor;
|
|
6
17
|
};
|
|
7
|
-
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
color: StringConstructor;
|
|
12
|
-
backgroundColor: StringConstructor;
|
|
13
|
-
iconPath: StringConstructor;
|
|
14
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
label: StringConstructor;
|
|
16
|
-
small: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
ellipsis: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
color: StringConstructor;
|
|
25
|
-
backgroundColor: StringConstructor;
|
|
26
|
-
iconPath: StringConstructor;
|
|
27
|
-
}>> & Readonly<{}>, {
|
|
28
|
-
small: boolean;
|
|
29
|
-
ellipsis: boolean;
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
export declare const AvVIconStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
size?: any;
|
|
7
|
-
name?: any;
|
|
8
|
-
color?: any;
|
|
9
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvVIconStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
template: string;
|
|
5
|
+
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
export declare const AvButtonStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{
|
|
8
|
-
label?: any;
|
|
9
|
-
type?: any;
|
|
10
|
-
variant?: any;
|
|
11
|
-
isLoading?: any;
|
|
12
|
-
disabled?: any;
|
|
13
|
-
}> & Readonly<{
|
|
14
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvButtonStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
emits: string[];
|
|
5
|
+
template: string;
|
|
6
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const AvListStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export declare const AvListStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
template: string;
|
|
5
|
+
};
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
export declare const AvListItemStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
colorOnHover?: any;
|
|
8
|
-
clickable?: any;
|
|
9
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{
|
|
10
|
-
icon?: any;
|
|
11
|
-
selected?: any;
|
|
12
|
-
iconSize?: any;
|
|
13
|
-
iconColor?: any;
|
|
14
|
-
hoverBackgroundColor?: any;
|
|
15
|
-
colorOnHover?: any;
|
|
16
|
-
clickable?: any;
|
|
17
|
-
}> & Readonly<{
|
|
18
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvListItemStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
emits: string[];
|
|
5
|
+
template: string;
|
|
6
|
+
};
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
export declare const AvTagPickerStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
-
label?: any;
|
|
8
|
-
selected?: any;
|
|
9
|
-
options?: any;
|
|
10
|
-
handleSelectChange?: any;
|
|
11
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvTagPickerStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
template: string;
|
|
5
|
+
};
|
|
@@ -1,28 +1,6 @@
|
|
|
1
|
-
export declare const AvAutocompleteStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
getOptionLabel?: any;
|
|
8
|
-
getOptionKey?: any;
|
|
9
|
-
maxDropdownHeight?: any;
|
|
10
|
-
enableLoadMore?: any;
|
|
11
|
-
serverSideFiltering?: any;
|
|
12
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:modelValue" | "loadMore" | "clear")[], "search" | "update:modelValue" | "loadMore" | "clear", import("vue").PublicProps, Readonly<{
|
|
13
|
-
modelValue?: any;
|
|
14
|
-
loading?: any;
|
|
15
|
-
inputOptions?: any;
|
|
16
|
-
options?: any;
|
|
17
|
-
multiSelect?: any;
|
|
18
|
-
getOptionLabel?: any;
|
|
19
|
-
getOptionKey?: any;
|
|
20
|
-
maxDropdownHeight?: any;
|
|
21
|
-
enableLoadMore?: any;
|
|
22
|
-
serverSideFiltering?: any;
|
|
23
|
-
}> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
onLoadMore?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvAutocompleteStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
emits: string[];
|
|
5
|
+
template: string;
|
|
6
|
+
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
export declare const AvSelectStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
dense: boolean;
|
|
15
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvSelectStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: {
|
|
4
|
+
modelValue: (NumberConstructor | StringConstructor)[];
|
|
5
|
+
options: ArrayConstructor;
|
|
6
|
+
defaultUnselectedText: StringConstructor;
|
|
7
|
+
dense: BooleanConstructor;
|
|
8
|
+
};
|
|
9
|
+
emits: string[];
|
|
10
|
+
template: string;
|
|
11
|
+
};
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
export declare const AvSideNavigationStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
"onUpdate:selectedItem"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
"onUpdate:isSideMenuCollapsed"?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}>, {
|
|
15
|
-
isSideMenuCollapsed: boolean;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvSideNavigationStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: {
|
|
4
|
+
items: ArrayConstructor;
|
|
5
|
+
selectedItem: StringConstructor;
|
|
6
|
+
isSideMenuCollapsed: BooleanConstructor;
|
|
7
|
+
collapsedWidth: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
emits: string[];
|
|
10
|
+
template: string;
|
|
11
|
+
};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
export declare const AvDrawerStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
show?: any;
|
|
8
|
-
position?: any;
|
|
9
|
-
}> & Readonly<{
|
|
10
|
-
"onEscape-pressed"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const AvDrawerStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
props: string[];
|
|
4
|
+
emits: string[];
|
|
5
|
+
template: string;
|
|
6
|
+
};
|
package/dist/tests/stubs.d.ts
CHANGED
|
@@ -1,62 +1,41 @@
|
|
|
1
|
-
export declare const DsfrBadgeStub:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, {}, {}, {}, {
|
|
16
|
-
triggerEscape(): void;
|
|
17
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "keydown"[], "keydown", import("vue").PublicProps, Readonly<{
|
|
18
|
-
title?: any;
|
|
19
|
-
opened?: any;
|
|
20
|
-
}> & Readonly<{
|
|
21
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
export declare const DsfrNavigationStub: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
24
|
-
navItems: {
|
|
25
|
-
(arrayLength: number): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
26
|
-
(...items: (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][]): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
27
|
-
new (arrayLength: number): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
28
|
-
new (...items: (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][]): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
29
|
-
isArray(arg: any): arg is any[];
|
|
30
|
-
readonly prototype: any[];
|
|
31
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
32
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
33
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
34
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
35
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
36
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1
|
+
export declare const DsfrBadgeStub: {
|
|
2
|
+
name: string;
|
|
3
|
+
template: string;
|
|
4
|
+
props: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare const DsfrModalStub: {
|
|
7
|
+
name: string;
|
|
8
|
+
props: string[];
|
|
9
|
+
template: string;
|
|
10
|
+
emits: string[];
|
|
11
|
+
methods: {
|
|
12
|
+
triggerEscape(this: {
|
|
13
|
+
$emit: (event: string, payload?: any) => void;
|
|
14
|
+
}): void;
|
|
37
15
|
};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
16
|
+
};
|
|
17
|
+
export declare const DsfrNavigationStub: {
|
|
18
|
+
name: string;
|
|
19
|
+
props: {
|
|
20
|
+
navItems: {
|
|
21
|
+
(arrayLength: number): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
22
|
+
(...items: (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][]): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
23
|
+
new (arrayLength: number): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
24
|
+
new (...items: (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][]): (import("@gouvminint/vue-dsfr").DsfrNavigationMenuLinkProps | import("@gouvminint/vue-dsfr").DsfrNavigationMenuProps | import("@gouvminint/vue-dsfr").DsfrNavigationMegaMenuProps)[][];
|
|
25
|
+
isArray(arg: any): arg is any[];
|
|
26
|
+
readonly prototype: any[];
|
|
27
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
30
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
31
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
32
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
33
|
+
};
|
|
52
34
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
name
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
name?: any;
|
|
61
|
-
color?: any;
|
|
62
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
template: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const VIconStub: {
|
|
38
|
+
name: string;
|
|
39
|
+
props: string[];
|
|
40
|
+
template: string;
|
|
41
|
+
};
|