@avenirs-esr/avenirs-dsav 0.1.60 → 0.1.61
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/components/badges/AvBadge/AvBadge.stub.d.ts +2 -0
- package/dist/components/badges/AvTag/AvTag.stub.d.ts +6 -6
- package/dist/components/base/AvIcon/AvIcon.stub.d.ts +2 -2
- package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +4 -4
- package/dist/components/interaction/checkboxes/AvCheckbox/AvCheckbox.stub.d.ts +1 -1
- package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +2 -2
- package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stub.d.ts +2 -2
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +22 -22
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +5 -5
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +11 -11
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +1 -1
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +7 -7
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +1 -1
- package/dist/components/interaction/toggles/AvToggle/AvToggle.stub.d.ts +2 -2
- package/dist/test-utils.cjs.js +6 -6
- package/dist/test-utils.es.js +6 -5
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare const AvBadgeStub: import("vue").DefineComponent<import("vue").Ex
|
|
|
10
10
|
};
|
|
11
11
|
color: StringConstructor;
|
|
12
12
|
backgroundColor: StringConstructor;
|
|
13
|
+
borderColor: StringConstructor;
|
|
13
14
|
iconPath: StringConstructor;
|
|
14
15
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
16
|
label: StringConstructor;
|
|
@@ -23,6 +24,7 @@ export declare const AvBadgeStub: import("vue").DefineComponent<import("vue").Ex
|
|
|
23
24
|
};
|
|
24
25
|
color: StringConstructor;
|
|
25
26
|
backgroundColor: StringConstructor;
|
|
27
|
+
borderColor: StringConstructor;
|
|
26
28
|
iconPath: StringConstructor;
|
|
27
29
|
}>> & Readonly<{}>, {
|
|
28
30
|
small: boolean;
|
|
@@ -3,21 +3,21 @@ export declare const AvTagStub: import("vue").DefineComponent<{
|
|
|
3
3
|
link?: any;
|
|
4
4
|
small?: any;
|
|
5
5
|
icon?: any;
|
|
6
|
-
|
|
6
|
+
value?: any;
|
|
7
7
|
disabled?: any;
|
|
8
8
|
iconOnly?: any;
|
|
9
|
-
selectable?: any;
|
|
10
9
|
selected?: any;
|
|
11
|
-
|
|
10
|
+
tagName?: any;
|
|
11
|
+
selectable?: any;
|
|
12
12
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
13
13
|
label?: any;
|
|
14
14
|
link?: any;
|
|
15
15
|
small?: any;
|
|
16
16
|
icon?: any;
|
|
17
|
-
|
|
17
|
+
value?: any;
|
|
18
18
|
disabled?: any;
|
|
19
19
|
iconOnly?: any;
|
|
20
|
-
selectable?: any;
|
|
21
20
|
selected?: any;
|
|
22
|
-
|
|
21
|
+
tagName?: any;
|
|
22
|
+
selectable?: any;
|
|
23
23
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const AvIconStub: import("vue").DefineComponent<{
|
|
2
2
|
title?: any;
|
|
3
|
-
color?: any;
|
|
4
3
|
size?: any;
|
|
5
4
|
name?: any;
|
|
6
5
|
animation?: any;
|
|
6
|
+
color?: any;
|
|
7
7
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
8
|
title?: any;
|
|
9
|
-
color?: any;
|
|
10
9
|
size?: any;
|
|
11
10
|
name?: any;
|
|
12
11
|
animation?: any;
|
|
12
|
+
color?: any;
|
|
13
13
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare const AvButtonStub: import("vue").DefineComponent<{
|
|
2
2
|
label?: any;
|
|
3
|
-
type?: any;
|
|
4
3
|
size?: any;
|
|
5
|
-
|
|
4
|
+
type?: any;
|
|
6
5
|
variant?: any;
|
|
7
6
|
isLoading?: any;
|
|
7
|
+
disabled?: any;
|
|
8
8
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{
|
|
9
9
|
label?: any;
|
|
10
|
-
type?: any;
|
|
11
10
|
size?: any;
|
|
12
|
-
|
|
11
|
+
type?: any;
|
|
13
12
|
variant?: any;
|
|
14
13
|
isLoading?: any;
|
|
14
|
+
disabled?: any;
|
|
15
15
|
}> & Readonly<{
|
|
16
16
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -44,6 +44,6 @@ export declare const AvCheckboxStub: import("vue").DefineComponent<import("vue")
|
|
|
44
44
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
46
|
label: string;
|
|
47
|
-
name: string;
|
|
48
47
|
id: string;
|
|
48
|
+
name: string;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const AvListItemStub: import("vue").DefineComponent<{
|
|
2
2
|
icon?: any;
|
|
3
|
-
selected?: any;
|
|
4
3
|
iconSize?: any;
|
|
5
4
|
iconColor?: any;
|
|
6
5
|
hoverBackgroundColor?: any;
|
|
7
6
|
colorOnHover?: any;
|
|
8
7
|
clickable?: any;
|
|
8
|
+
selected?: any;
|
|
9
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{
|
|
10
10
|
icon?: any;
|
|
11
|
-
selected?: any;
|
|
12
11
|
iconSize?: any;
|
|
13
12
|
iconColor?: any;
|
|
14
13
|
hoverBackgroundColor?: any;
|
|
15
14
|
colorOnHover?: any;
|
|
16
15
|
clickable?: any;
|
|
16
|
+
selected?: any;
|
|
17
17
|
}> & Readonly<{
|
|
18
18
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const AvTagPickerStub: import("vue").DefineComponent<{
|
|
2
2
|
label?: any;
|
|
3
3
|
selected?: any;
|
|
4
|
-
handleSelectChange?: any;
|
|
5
4
|
options?: any;
|
|
5
|
+
handleSelectChange?: any;
|
|
6
6
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
7
|
label?: any;
|
|
8
8
|
selected?: any;
|
|
9
|
-
handleSelectChange?: any;
|
|
10
9
|
options?: any;
|
|
10
|
+
handleSelectChange?: any;
|
|
11
11
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -34,10 +34,10 @@ interface ExtendedOption extends AvAutocompleteOption {
|
|
|
34
34
|
declare const meta: {
|
|
35
35
|
title: string;
|
|
36
36
|
component: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
|
|
37
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
38
37
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
39
|
-
readonly onClear?: (() => any) | undefined;
|
|
40
38
|
readonly onLoadMore?: (() => any) | undefined;
|
|
39
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
40
|
+
readonly onClear?: (() => any) | undefined;
|
|
41
41
|
id?: string | undefined;
|
|
42
42
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
43
43
|
options?: T[] | undefined;
|
|
@@ -60,6 +60,11 @@ declare const meta: {
|
|
|
60
60
|
serverSideFiltering?: boolean | undefined;
|
|
61
61
|
modelValue?: T[] | undefined;
|
|
62
62
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
63
|
+
emit: {
|
|
64
|
+
(e: "search", query: string): void;
|
|
65
|
+
(e: "loadMore"): void;
|
|
66
|
+
(e: "clear"): void;
|
|
67
|
+
} & ((evt: "update:modelValue", value: T[]) => void);
|
|
63
68
|
attrs: any;
|
|
64
69
|
slots: {
|
|
65
70
|
requiredTip?: (() => import("vue").Slot) | undefined;
|
|
@@ -74,17 +79,12 @@ declare const meta: {
|
|
|
74
79
|
}> | undefined;
|
|
75
80
|
empty?: import("vue").Slot | undefined;
|
|
76
81
|
};
|
|
77
|
-
emit: {
|
|
78
|
-
(e: "search", query: string): void;
|
|
79
|
-
(e: "loadMore"): void;
|
|
80
|
-
(e: "clear"): void;
|
|
81
|
-
} & ((evt: "update:modelValue", value: T[]) => void);
|
|
82
82
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
83
83
|
props: {
|
|
84
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
85
84
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
86
|
-
readonly onClear?: (() => any) | undefined;
|
|
87
85
|
readonly onLoadMore?: (() => any) | undefined;
|
|
86
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
87
|
+
readonly onClear?: (() => any) | undefined;
|
|
88
88
|
id?: string | undefined;
|
|
89
89
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
90
90
|
options?: T[] | undefined;
|
|
@@ -132,10 +132,10 @@ declare const meta: {
|
|
|
132
132
|
}> & {
|
|
133
133
|
__ctx?: {
|
|
134
134
|
props: {
|
|
135
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
136
135
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
137
|
-
readonly onClear?: (() => any) | undefined;
|
|
138
136
|
readonly onLoadMore?: (() => any) | undefined;
|
|
137
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
138
|
+
readonly onClear?: (() => any) | undefined;
|
|
139
139
|
id?: string | undefined;
|
|
140
140
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
141
141
|
options?: T[] | undefined;
|
|
@@ -319,10 +319,10 @@ export declare const WithCustomItemSlotExample: {
|
|
|
319
319
|
render(): {
|
|
320
320
|
components: {
|
|
321
321
|
AvAutocomplete: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
|
|
322
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
323
322
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
324
|
-
readonly onClear?: (() => any) | undefined;
|
|
325
323
|
readonly onLoadMore?: (() => any) | undefined;
|
|
324
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
325
|
+
readonly onClear?: (() => any) | undefined;
|
|
326
326
|
id?: string | undefined;
|
|
327
327
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
328
328
|
options?: T[] | undefined;
|
|
@@ -345,6 +345,11 @@ export declare const WithCustomItemSlotExample: {
|
|
|
345
345
|
serverSideFiltering?: boolean | undefined;
|
|
346
346
|
modelValue?: T[] | undefined;
|
|
347
347
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
348
|
+
emit: {
|
|
349
|
+
(e: "search", query: string): void;
|
|
350
|
+
(e: "loadMore"): void;
|
|
351
|
+
(e: "clear"): void;
|
|
352
|
+
} & ((evt: "update:modelValue", value: T[]) => void);
|
|
348
353
|
attrs: any;
|
|
349
354
|
slots: {
|
|
350
355
|
requiredTip?: (() => import("vue").Slot) | undefined;
|
|
@@ -359,17 +364,12 @@ export declare const WithCustomItemSlotExample: {
|
|
|
359
364
|
}> | undefined;
|
|
360
365
|
empty?: import("vue").Slot | undefined;
|
|
361
366
|
};
|
|
362
|
-
emit: {
|
|
363
|
-
(e: "search", query: string): void;
|
|
364
|
-
(e: "loadMore"): void;
|
|
365
|
-
(e: "clear"): void;
|
|
366
|
-
} & ((evt: "update:modelValue", value: T[]) => void);
|
|
367
367
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
368
368
|
props: {
|
|
369
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
370
369
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
371
|
-
readonly onClear?: (() => any) | undefined;
|
|
372
370
|
readonly onLoadMore?: (() => any) | undefined;
|
|
371
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
372
|
+
readonly onClear?: (() => any) | undefined;
|
|
373
373
|
id?: string | undefined;
|
|
374
374
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
375
375
|
options?: T[] | undefined;
|
|
@@ -417,10 +417,10 @@ export declare const WithCustomItemSlotExample: {
|
|
|
417
417
|
}> & {
|
|
418
418
|
__ctx?: {
|
|
419
419
|
props: {
|
|
420
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
421
420
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
422
|
-
readonly onClear?: (() => any) | undefined;
|
|
423
421
|
readonly onLoadMore?: (() => any) | undefined;
|
|
422
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
423
|
+
readonly onClear?: (() => any) | undefined;
|
|
424
424
|
id?: string | undefined;
|
|
425
425
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
426
426
|
options?: T[] | undefined;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const AvAutocompleteStub: import("vue").DefineComponent<{
|
|
2
2
|
modelValue?: any;
|
|
3
|
-
options?: any;
|
|
4
3
|
loading?: any;
|
|
5
4
|
inputOptions?: any;
|
|
5
|
+
options?: any;
|
|
6
6
|
multiSelect?: any;
|
|
7
7
|
getOptionLabel?: any;
|
|
8
8
|
getOptionKey?: any;
|
|
9
9
|
maxDropdownHeight?: any;
|
|
10
10
|
enableLoadMore?: any;
|
|
11
11
|
serverSideFiltering?: any;
|
|
12
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "
|
|
12
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "clear" | "update:modelValue" | "loadMore")[], "search" | "clear" | "update:modelValue" | "loadMore", import("vue").PublicProps, Readonly<{
|
|
13
13
|
modelValue?: any;
|
|
14
|
-
options?: any;
|
|
15
14
|
loading?: any;
|
|
16
15
|
inputOptions?: any;
|
|
16
|
+
options?: any;
|
|
17
17
|
multiSelect?: any;
|
|
18
18
|
getOptionLabel?: any;
|
|
19
19
|
getOptionKey?: any;
|
|
@@ -21,8 +21,8 @@ export declare const AvAutocompleteStub: import("vue").DefineComponent<{
|
|
|
21
21
|
enableLoadMore?: any;
|
|
22
22
|
serverSideFiltering?: any;
|
|
23
23
|
}> & Readonly<{
|
|
24
|
-
onSearch?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
27
25
|
onLoadMore?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Slot } from 'vue';
|
|
2
2
|
import type { AvAutocompleteOption } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
|
|
3
3
|
declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
|
|
4
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
5
4
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
6
|
-
readonly onClear?: (() => any) | undefined;
|
|
7
5
|
readonly onLoadMore?: (() => any) | undefined;
|
|
6
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
7
|
+
readonly onClear?: (() => any) | undefined;
|
|
8
8
|
id?: string | undefined;
|
|
9
9
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
10
10
|
options?: T[] | undefined;
|
|
@@ -27,6 +27,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
27
27
|
serverSideFiltering?: boolean | undefined;
|
|
28
28
|
modelValue?: T[] | undefined;
|
|
29
29
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
30
|
+
emit: {
|
|
31
|
+
(e: 'search', query: string): void;
|
|
32
|
+
(e: 'loadMore'): void;
|
|
33
|
+
(e: 'clear'): void;
|
|
34
|
+
} & ((evt: "update:modelValue", value: T[]) => void);
|
|
30
35
|
attrs: any;
|
|
31
36
|
slots: {
|
|
32
37
|
/**
|
|
@@ -58,17 +63,12 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
58
63
|
*/
|
|
59
64
|
empty?: Slot | undefined;
|
|
60
65
|
};
|
|
61
|
-
emit: {
|
|
62
|
-
(e: 'search', query: string): void;
|
|
63
|
-
(e: 'loadMore'): void;
|
|
64
|
-
(e: 'clear'): void;
|
|
65
|
-
} & ((evt: "update:modelValue", value: T[]) => void);
|
|
66
66
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
67
67
|
props: {
|
|
68
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
69
68
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
70
|
-
readonly onClear?: (() => any) | undefined;
|
|
71
69
|
readonly onLoadMore?: (() => any) | undefined;
|
|
70
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
71
|
+
readonly onClear?: (() => any) | undefined;
|
|
72
72
|
id?: string | undefined;
|
|
73
73
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
74
74
|
options?: T[] | undefined;
|
|
@@ -133,10 +133,10 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
133
133
|
}> & {
|
|
134
134
|
__ctx?: {
|
|
135
135
|
props: {
|
|
136
|
-
readonly onSearch?: ((query: string) => any) | undefined;
|
|
137
136
|
readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
138
|
-
readonly onClear?: (() => any) | undefined;
|
|
139
137
|
readonly onLoadMore?: (() => any) | undefined;
|
|
138
|
+
readonly onSearch?: ((query: string) => any) | undefined;
|
|
139
|
+
readonly onClear?: (() => any) | undefined;
|
|
140
140
|
id?: string | undefined;
|
|
141
141
|
inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
|
|
142
142
|
options?: T[] | undefined;
|
|
@@ -3,6 +3,7 @@ import { type AvAutocompleteOption } from '@/components/interaction/selects/AvAu
|
|
|
3
3
|
declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
|
|
4
4
|
readonly onLoadMore?: (() => any) | undefined;
|
|
5
5
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
6
|
+
emit: (evt: "loadMore") => void;
|
|
6
7
|
attrs: any;
|
|
7
8
|
slots: {
|
|
8
9
|
item?: Slot<{
|
|
@@ -12,7 +13,6 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
12
13
|
}> | undefined;
|
|
13
14
|
empty?: Slot | undefined;
|
|
14
15
|
};
|
|
15
|
-
emit: (evt: "loadMore") => void;
|
|
16
16
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
17
17
|
dropdownRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
18
18
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
@@ -4,11 +4,11 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
4
4
|
readonly onSearch?: ((query: string) => any) | undefined;
|
|
5
5
|
readonly onClear?: (() => any) | undefined;
|
|
6
6
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
7
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
|
|
7
8
|
attrs: any;
|
|
8
9
|
slots: {
|
|
9
10
|
requiredTip?: Slot | undefined;
|
|
10
11
|
};
|
|
11
|
-
emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
|
|
12
12
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
13
13
|
inputRef: import("vue").Ref<({
|
|
14
14
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -24,7 +24,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
24
24
|
readonly labelClass?: string | undefined;
|
|
25
25
|
readonly modelValue?: string | number | null | undefined;
|
|
26
26
|
readonly placeholder?: string | undefined;
|
|
27
|
-
readonly type?: "number" | "time" | "text" | "
|
|
27
|
+
readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
|
|
28
28
|
readonly minDate?: Date | undefined;
|
|
29
29
|
readonly maxDate?: Date | undefined;
|
|
30
30
|
readonly disabled?: boolean | undefined;
|
|
@@ -104,7 +104,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
104
104
|
readonly labelClass?: string | undefined;
|
|
105
105
|
readonly modelValue?: string | number | null | undefined;
|
|
106
106
|
readonly placeholder?: string | undefined;
|
|
107
|
-
readonly type?: "number" | "time" | "text" | "
|
|
107
|
+
readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
|
|
108
108
|
readonly minDate?: Date | undefined;
|
|
109
109
|
readonly maxDate?: Date | undefined;
|
|
110
110
|
readonly disabled?: boolean | undefined;
|
|
@@ -192,7 +192,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
192
192
|
readonly labelClass?: string | undefined;
|
|
193
193
|
readonly modelValue?: string | number | null | undefined;
|
|
194
194
|
readonly placeholder?: string | undefined;
|
|
195
|
-
readonly type?: "number" | "time" | "text" | "
|
|
195
|
+
readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
|
|
196
196
|
readonly minDate?: Date | undefined;
|
|
197
197
|
readonly maxDate?: Date | undefined;
|
|
198
198
|
readonly disabled?: boolean | undefined;
|
|
@@ -272,7 +272,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
272
272
|
readonly labelClass?: string | undefined;
|
|
273
273
|
readonly modelValue?: string | number | null | undefined;
|
|
274
274
|
readonly placeholder?: string | undefined;
|
|
275
|
-
readonly type?: "number" | "time" | "text" | "
|
|
275
|
+
readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
|
|
276
276
|
readonly minDate?: Date | undefined;
|
|
277
277
|
readonly maxDate?: Date | undefined;
|
|
278
278
|
readonly disabled?: boolean | undefined;
|
|
@@ -369,7 +369,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
369
369
|
readonly labelClass?: string | undefined;
|
|
370
370
|
readonly modelValue?: string | number | null | undefined;
|
|
371
371
|
readonly placeholder?: string | undefined;
|
|
372
|
-
readonly type?: "number" | "time" | "text" | "
|
|
372
|
+
readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
|
|
373
373
|
readonly minDate?: Date | undefined;
|
|
374
374
|
readonly maxDate?: Date | undefined;
|
|
375
375
|
readonly disabled?: boolean | undefined;
|
|
@@ -449,7 +449,7 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
449
449
|
readonly labelClass?: string | undefined;
|
|
450
450
|
readonly modelValue?: string | number | null | undefined;
|
|
451
451
|
readonly placeholder?: string | undefined;
|
|
452
|
-
readonly type?: "number" | "time" | "text" | "
|
|
452
|
+
readonly type?: "number" | "time" | "text" | "search" | "color" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range" | undefined;
|
|
453
453
|
readonly minDate?: Date | undefined;
|
|
454
454
|
readonly maxDate?: Date | undefined;
|
|
455
455
|
readonly disabled?: boolean | undefined;
|
package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Slot } from 'vue';
|
|
2
2
|
import type { AvAutocompleteOption } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
|
|
3
3
|
declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
4
|
+
emit: {};
|
|
4
5
|
attrs: any;
|
|
5
6
|
slots: {
|
|
6
7
|
selectedItem?: Slot<{
|
|
@@ -8,7 +9,6 @@ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(
|
|
|
8
9
|
remove: () => void;
|
|
9
10
|
}> | undefined;
|
|
10
11
|
};
|
|
11
|
-
emit: {};
|
|
12
12
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
13
13
|
props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
14
14
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const AvToggleStub: import("vue").DefineComponent<{
|
|
2
|
-
name?: any;
|
|
3
2
|
id?: any;
|
|
3
|
+
name?: any;
|
|
4
4
|
disabled?: any;
|
|
5
5
|
description?: any;
|
|
6
6
|
modelValue?: any;
|
|
7
7
|
activeText?: any;
|
|
8
8
|
inactiveText?: any;
|
|
9
9
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<{
|
|
10
|
-
name?: any;
|
|
11
10
|
id?: any;
|
|
11
|
+
name?: any;
|
|
12
12
|
disabled?: any;
|
|
13
13
|
description?: any;
|
|
14
14
|
modelValue?: any;
|
package/dist/test-utils.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./injection-key.cjs.js");require("@vue/test-utils");const s=e.defineComponent({name:"AvBadge",template:'<div class="av-badge-stub"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./injection-key.cjs.js");require("@vue/test-utils");const s=e.defineComponent({name:"AvBadge",template:'<div class="av-badge-stub"> {{ label }} </div>',props:{label:String,small:{type:Boolean,default:!1},ellipsis:{type:Boolean,default:!1},color:String,backgroundColor:String,borderColor:String,iconPath:String}}),c=e.defineComponent({name:"AvTag",template:'<div class="av-tag-stub" />',props:["label","link","tagName","icon","disabled","small","iconOnly","selectable","selected","value"]}),d=e.defineComponent({name:"AvFieldset",props:["id","legend","legendId","class","ariaLive"],template:"<fieldset><slot /></fieldset>"}),r=e.defineComponent({name:"AvIcon",props:["name","color","size","title","animation"],template:'<div class="av-vicon-stub" />'}),p=e.defineComponent({name:"AvAccordion",props:["title","icon"],template:`
|
|
2
2
|
<div class="av-accordion">
|
|
3
3
|
<button
|
|
4
4
|
class="fr-accordion__btn"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
@click="$emit('click')"
|
|
58
58
|
>
|
|
59
59
|
<slot />
|
|
60
|
-
</div>`}),
|
|
60
|
+
</div>`}),S=e.defineComponent({name:"AvTagPicker",props:["label","options","selected","handleSelectChange"],template:`
|
|
61
61
|
<div class="av-tag-picker-stub">
|
|
62
62
|
<button
|
|
63
63
|
v-for="option in options"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
{{ option.label }}
|
|
69
69
|
</button>
|
|
70
70
|
</div>
|
|
71
|
-
`}),
|
|
71
|
+
`}),A=e.defineComponent({name:"AvAutocomplete",props:["modelValue","options","loading","inputOptions","getOptionLabel","getOptionKey","multiSelect","serverSideFiltering","enableLoadMore","maxDropdownHeight"],emits:["update:modelValue","search","clear","loadMore"],template:`
|
|
72
72
|
<div class="av-autocomplete-stub">
|
|
73
73
|
<slot
|
|
74
74
|
name="item"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
{{ option.text }}
|
|
100
100
|
</option>
|
|
101
101
|
</select>
|
|
102
|
-
`}),
|
|
102
|
+
`}),C=e.defineComponent({name:"AvToggle",props:["id","name","modelValue","description","activeText","inactiveText","disabled"],emits:["update:modelValue"],template:`
|
|
103
103
|
<div class="av-toggle">
|
|
104
104
|
<input
|
|
105
105
|
type="checkbox"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
<span class="inactive-text">
|
|
118
118
|
{{ inactiveText }}
|
|
119
119
|
</span>
|
|
120
|
-
</div>`}),
|
|
120
|
+
</div>`}),k=e.defineComponent({name:"AvBreadcrumb",template:'<div class="av-breadcrumb-stub" />',props:["links","navigationLabel","showBreadcrumbLabel"]}),h=e.defineComponent({name:"AvSideNavigation",props:{items:Array,selectedItem:String,isSideMenuCollapsed:Boolean,collapsedWidth:String},emits:["update:selectedItem","update:isSideMenuCollapsed"],template:`
|
|
121
121
|
<div
|
|
122
122
|
class="av-side-navigation-stub"
|
|
123
123
|
@click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)"
|
|
@@ -149,4 +149,4 @@
|
|
|
149
149
|
{{ item.label }}
|
|
150
150
|
</button>
|
|
151
151
|
</div>
|
|
152
|
-
`});function L(){return{given(n,t){return describe(`🔵 GIVEN ${n}`,t),this},when(n,t){return describe(`🔶 WHEN ${n}`,t),this},and(n,t){return describe(`➕ AND ${n}`,t),this},then(n,t){return it(`🟩 THEN ${n}`,t),this}}}exports.AvAccordionStub=p;exports.AvAutocompleteStub=
|
|
152
|
+
`});function L(){return{given(n,t){return describe(`🔵 GIVEN ${n}`,t),this},when(n,t){return describe(`🔶 WHEN ${n}`,t),this},and(n,t){return describe(`➕ AND ${n}`,t),this},then(n,t){return it(`🟩 THEN ${n}`,t),this}}}exports.AvAccordionStub=p;exports.AvAutocompleteStub=A;exports.AvBadgeStub=s;exports.AvBreadcrumbStub=k;exports.AvButtonStub=u;exports.AvCancelConfirmButtonsStub=v;exports.AvCheckboxStub=m;exports.AvDrawerStub=y;exports.AvDropdownStub=B;exports.AvFieldsetStub=d;exports.AvIconStub=r;exports.AvListItemStub=g;exports.AvListStub=b;exports.AvSelectStub=f;exports.AvSideNavigationStub=h;exports.AvStepperStub=x;exports.AvTagPickerStub=S;exports.AvTagStub=c;exports.AvToggleStub=C;exports.BddTest=L;
|
package/dist/test-utils.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { r as d } from "./injection-key.es.js";
|
|
|
3
3
|
import "@vue/test-utils";
|
|
4
4
|
const v = e({
|
|
5
5
|
name: "AvBadge",
|
|
6
|
-
template: '<div class="av-badge-stub"
|
|
6
|
+
template: '<div class="av-badge-stub"> {{ label }} </div>',
|
|
7
7
|
props: {
|
|
8
8
|
label: String,
|
|
9
9
|
small: {
|
|
@@ -16,6 +16,7 @@ const v = e({
|
|
|
16
16
|
},
|
|
17
17
|
color: String,
|
|
18
18
|
backgroundColor: String,
|
|
19
|
+
borderColor: String,
|
|
19
20
|
iconPath: String
|
|
20
21
|
}
|
|
21
22
|
}), b = e({
|
|
@@ -201,7 +202,7 @@ const v = e({
|
|
|
201
202
|
/>
|
|
202
203
|
</div>
|
|
203
204
|
`
|
|
204
|
-
}),
|
|
205
|
+
}), C = e({
|
|
205
206
|
name: "AvSelect",
|
|
206
207
|
props: {
|
|
207
208
|
modelValue: [String, Number],
|
|
@@ -231,7 +232,7 @@ const v = e({
|
|
|
231
232
|
</option>
|
|
232
233
|
</select>
|
|
233
234
|
`
|
|
234
|
-
}),
|
|
235
|
+
}), B = e({
|
|
235
236
|
name: "AvToggle",
|
|
236
237
|
props: ["id", "name", "modelValue", "description", "activeText", "inactiveText", "disabled"],
|
|
237
238
|
emits: ["update:modelValue"],
|
|
@@ -354,11 +355,11 @@ export {
|
|
|
354
355
|
A as AvIconStub,
|
|
355
356
|
y as AvListItemStub,
|
|
356
357
|
x as AvListStub,
|
|
357
|
-
|
|
358
|
+
C as AvSelectStub,
|
|
358
359
|
$ as AvSideNavigationStub,
|
|
359
360
|
I as AvStepperStub,
|
|
360
361
|
V as AvTagPickerStub,
|
|
361
362
|
b as AvTagStub,
|
|
362
|
-
|
|
363
|
+
B as AvToggleStub,
|
|
363
364
|
D as BddTest
|
|
364
365
|
};
|