@db-ux/v-core-components 2.0.3 → 2.0.4
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/accordion/accordion.vue.d.ts +3 -25
- package/dist/components/accordion-item/accordion-item.vue.d.ts +3 -30
- package/dist/components/badge/badge.vue.d.ts +2 -21
- package/dist/components/brand/brand.vue.d.ts +2 -20
- package/dist/components/button/button.vue.d.ts +3 -37
- package/dist/components/card/card.vue.d.ts +3 -20
- package/dist/components/checkbox/checkbox.vue.d.ts +3 -65
- package/dist/components/custom-select/custom-select.vue.d.ts +3 -199
- package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +2 -14
- package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +2 -13
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +2 -15
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +3 -41
- package/dist/components/drawer/drawer.vue.d.ts +3 -33
- package/dist/components/header/header.vue.d.ts +3 -34
- package/dist/components/icon/icon.vue.d.ts +2 -17
- package/dist/components/infotext/infotext.vue.d.ts +2 -19
- package/dist/components/input/input.vue.d.ts +3 -98
- package/dist/components/link/link.vue.d.ts +3 -33
- package/dist/components/navigation/navigation.vue.d.ts +2 -16
- package/dist/components/navigation-item/navigation-item.vue.d.ts +3 -59
- package/dist/components/notification/notification.vue.d.ts +3 -39
- package/dist/components/page/page.vue.d.ts +2 -20
- package/dist/components/popover/popover.vue.d.ts +3 -26
- package/dist/components/radio/radio.vue.d.ts +3 -41
- package/dist/components/section/section.vue.d.ts +2 -17
- package/dist/components/select/select.vue.d.ts +3 -84
- package/dist/components/stack/stack.vue.d.ts +2 -20
- package/dist/components/switch/switch.vue.d.ts +3 -48
- package/dist/components/tab-item/tab-item.vue.d.ts +3 -38
- package/dist/components/tab-list/tab-list.vue.d.ts +2 -15
- package/dist/components/tab-panel/tab-panel.vue.d.ts +2 -15
- package/dist/components/tabs/tabs.vue.d.ts +3 -45
- package/dist/components/tag/tag.vue.d.ts +3 -33
- package/dist/components/tooltip/tooltip.vue.d.ts +3 -26
- package/package.json +4 -4
|
@@ -1,31 +1,9 @@
|
|
|
1
1
|
import { DBAccordionItemDefaultProps } from "../accordion-item/model";
|
|
2
|
-
import { DBAccordionProps
|
|
3
|
-
import { cls } from "../../utils";
|
|
4
|
-
import DBAccordionItem from "../accordion-item/accordion-item.vue";
|
|
5
|
-
declare const _id: import("vue").Ref<string | undefined, string | undefined>;
|
|
6
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
7
|
-
declare function convertItems(): ReturnType<DBAccordionState["convertItems"]>;
|
|
8
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
import { DBAccordionProps } from "./model";
|
|
9
3
|
declare var __VLS_1: {};
|
|
10
|
-
type __VLS_Slots =
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
11
5
|
default?: (props: typeof __VLS_1) => any;
|
|
12
|
-
}
|
|
13
|
-
declare const __VLS_self: import("vue").DefineComponent<DBAccordionProps, {
|
|
14
|
-
cls: typeof cls;
|
|
15
|
-
DBAccordionItem: typeof DBAccordionItem;
|
|
16
|
-
_id: typeof _id;
|
|
17
|
-
_ref: typeof _ref;
|
|
18
|
-
convertItems: typeof convertItems;
|
|
19
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionProps> & Readonly<{}>, {
|
|
20
|
-
name: string;
|
|
21
|
-
variant: import("./model").AccordionVariantType;
|
|
22
|
-
children: any;
|
|
23
|
-
className: string;
|
|
24
|
-
id: string;
|
|
25
|
-
behavior: import("./model").AccordionBehaviorType;
|
|
26
|
-
initOpenIndex: number[];
|
|
27
|
-
items: DBAccordionItemDefaultProps[] | string;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
29
7
|
declare const __VLS_component: import("vue").DefineComponent<DBAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionProps> & Readonly<{}>, {
|
|
30
8
|
name: string;
|
|
31
9
|
variant: import("./model").AccordionVariantType;
|
|
@@ -1,37 +1,10 @@
|
|
|
1
|
-
import { DBAccordionItemProps
|
|
2
|
-
import { cls, getBooleanAsString } from "../../utils";
|
|
3
|
-
import { ClickEvent } from "../../shared/model";
|
|
4
|
-
declare const _id: import("vue").Ref<string | undefined, string | undefined>;
|
|
5
|
-
declare const _open: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
6
|
-
declare const _name: import("vue").Ref<string | undefined, string | undefined>;
|
|
7
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
8
|
-
declare function handleToggle(event: ClickEvent<HTMLElement> | any): ReturnType<DBAccordionItemState["handleToggle"]>;
|
|
9
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
1
|
+
import { DBAccordionItemProps } from "./model";
|
|
10
2
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
11
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
12
4
|
headline?: (props: typeof __VLS_1) => any;
|
|
13
5
|
} & {
|
|
14
6
|
default?: (props: typeof __VLS_3) => any;
|
|
15
|
-
}
|
|
16
|
-
declare const __VLS_self: import("vue").DefineComponent<DBAccordionItemProps, {
|
|
17
|
-
cls: typeof cls;
|
|
18
|
-
getBooleanAsString: typeof getBooleanAsString;
|
|
19
|
-
_id: typeof _id;
|
|
20
|
-
_open: typeof _open;
|
|
21
|
-
_name: typeof _name;
|
|
22
|
-
_ref: typeof _ref;
|
|
23
|
-
handleToggle: typeof handleToggle;
|
|
24
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionItemProps> & Readonly<{}>, {
|
|
25
|
-
name: string;
|
|
26
|
-
text: string;
|
|
27
|
-
disabled: boolean | string;
|
|
28
|
-
children: any;
|
|
29
|
-
className: string;
|
|
30
|
-
id: string;
|
|
31
|
-
onToggle: (open: boolean | any) => void;
|
|
32
|
-
defaultOpen: boolean;
|
|
33
|
-
headlinePlain: string;
|
|
34
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
};
|
|
35
8
|
declare const __VLS_component: import("vue").DefineComponent<DBAccordionItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionItemProps> & Readonly<{}>, {
|
|
36
9
|
name: string;
|
|
37
10
|
text: string;
|
|
@@ -1,27 +1,8 @@
|
|
|
1
1
|
import { DBBadgeProps } from "./model";
|
|
2
|
-
import { cls } from "../../utils";
|
|
3
|
-
import { DEFAULT_LABEL } from "../../shared/constants";
|
|
4
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
5
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
6
2
|
declare var __VLS_1: {};
|
|
7
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
8
4
|
default?: (props: typeof __VLS_1) => any;
|
|
9
|
-
}
|
|
10
|
-
declare const __VLS_self: import("vue").DefineComponent<DBBadgeProps, {
|
|
11
|
-
cls: typeof cls;
|
|
12
|
-
DEFAULT_LABEL: typeof DEFAULT_LABEL;
|
|
13
|
-
_ref: typeof _ref;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBBadgeProps> & Readonly<{}>, {
|
|
15
|
-
label: string;
|
|
16
|
-
text: string;
|
|
17
|
-
children: any;
|
|
18
|
-
className: string;
|
|
19
|
-
id: string;
|
|
20
|
-
size: import("../..").SizeType;
|
|
21
|
-
semantic: import("../..").SemanticType;
|
|
22
|
-
placement: import("./model").BadgePlacementType;
|
|
23
|
-
emphasis: import("../..").EmphasisType;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
25
6
|
declare const __VLS_component: import("vue").DefineComponent<DBBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBBadgeProps> & Readonly<{}>, {
|
|
26
7
|
label: string;
|
|
27
8
|
text: string;
|
|
@@ -1,26 +1,8 @@
|
|
|
1
|
-
import { cls, getHideProp } from "../../utils";
|
|
2
1
|
import { DBBrandProps } from "./model";
|
|
3
|
-
import { DEFAULT_ICON } from "../../shared/constants";
|
|
4
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
5
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
6
2
|
declare var __VLS_1: {};
|
|
7
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
8
4
|
default?: (props: typeof __VLS_1) => any;
|
|
9
|
-
}
|
|
10
|
-
declare const __VLS_self: import("vue").DefineComponent<DBBrandProps, {
|
|
11
|
-
cls: typeof cls;
|
|
12
|
-
getHideProp: typeof getHideProp;
|
|
13
|
-
DEFAULT_ICON: typeof DEFAULT_ICON;
|
|
14
|
-
_ref: typeof _ref;
|
|
15
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBBrandProps> & Readonly<{}>, {
|
|
16
|
-
text: string;
|
|
17
|
-
children: any;
|
|
18
|
-
className: string;
|
|
19
|
-
id: string;
|
|
20
|
-
icon: import("@db-ux/core-foundations").IconTypes;
|
|
21
|
-
showIcon: boolean | string;
|
|
22
|
-
hideLogo: boolean;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
24
6
|
declare const __VLS_component: import("vue").DefineComponent<DBBrandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBBrandProps> & Readonly<{}>, {
|
|
25
7
|
text: string;
|
|
26
8
|
children: any;
|
|
@@ -1,43 +1,9 @@
|
|
|
1
|
-
import type { DBButtonProps
|
|
2
|
-
import { cls, getBoolean, getBooleanAsString, getHideProp } from "../../utils";
|
|
1
|
+
import type { DBButtonProps } from "./model";
|
|
3
2
|
import { ClickEvent } from "../../shared/model";
|
|
4
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
5
|
-
declare function handleClick(event: ClickEvent<HTMLButtonElement>): ReturnType<DBButtonState["handleClick"]>;
|
|
6
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
7
3
|
declare var __VLS_1: {};
|
|
8
|
-
type __VLS_Slots =
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
9
5
|
default?: (props: typeof __VLS_1) => any;
|
|
10
|
-
}
|
|
11
|
-
declare const __VLS_self: import("vue").DefineComponent<DBButtonProps, {
|
|
12
|
-
cls: typeof cls;
|
|
13
|
-
getBoolean: typeof getBoolean;
|
|
14
|
-
getBooleanAsString: typeof getBooleanAsString;
|
|
15
|
-
getHideProp: typeof getHideProp;
|
|
16
|
-
_ref: typeof _ref;
|
|
17
|
-
handleClick: typeof handleClick;
|
|
18
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBButtonProps> & Readonly<{}>, {
|
|
19
|
-
name: string;
|
|
20
|
-
form: string;
|
|
21
|
-
label: string;
|
|
22
|
-
text: string;
|
|
23
|
-
ariaexpanded: boolean;
|
|
24
|
-
ariapressed: boolean;
|
|
25
|
-
disabled: boolean | string;
|
|
26
|
-
noText: boolean | string;
|
|
27
|
-
state: import("./model").ButtonStateType;
|
|
28
|
-
type: import("./model").ButtonTypeType;
|
|
29
|
-
value: string;
|
|
30
|
-
variant: import("./model").ButtonVariantType | string;
|
|
31
|
-
children: any;
|
|
32
|
-
className: string;
|
|
33
|
-
describedbyid: string;
|
|
34
|
-
id: string;
|
|
35
|
-
onClick: (event: ClickEvent<HTMLButtonElement>) => void;
|
|
36
|
-
icon: import("@db-ux/core-foundations").IconTypes;
|
|
37
|
-
width: import("../../shared/model").WidthType | string;
|
|
38
|
-
size: import("../../shared/model").SizeType;
|
|
39
|
-
showIcon: boolean | string;
|
|
40
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
41
7
|
declare const __VLS_component: import("vue").DefineComponent<DBButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBButtonProps> & Readonly<{}>, {
|
|
42
8
|
name: string;
|
|
43
9
|
form: string;
|
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
import type { DBCardProps
|
|
2
|
-
import { cls } from "../../utils";
|
|
1
|
+
import type { DBCardProps } from "./model";
|
|
3
2
|
import { ClickEvent } from "../../shared/model";
|
|
4
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
5
|
-
declare function handleClick(event: ClickEvent<HTMLElement>): ReturnType<DBCardState["handleClick"]>;
|
|
6
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
7
3
|
declare var __VLS_1: {};
|
|
8
|
-
type __VLS_Slots =
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
9
5
|
default?: (props: typeof __VLS_1) => any;
|
|
10
|
-
}
|
|
11
|
-
declare const __VLS_self: import("vue").DefineComponent<DBCardProps, {
|
|
12
|
-
cls: typeof cls;
|
|
13
|
-
_ref: typeof _ref;
|
|
14
|
-
handleClick: typeof handleClick;
|
|
15
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCardProps> & Readonly<{}>, {
|
|
16
|
-
children: any;
|
|
17
|
-
className: string;
|
|
18
|
-
id: string;
|
|
19
|
-
onClick: (event: ClickEvent<HTMLElement>) => void;
|
|
20
|
-
behavior: import("./model").CardBehaviorType;
|
|
21
|
-
elevationLevel: import("./model").CardElevationLevelType;
|
|
22
|
-
spacing: import("../../shared/model").SpacingType | string;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
24
7
|
declare const __VLS_component: import("vue").DefineComponent<DBCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCardProps> & Readonly<{}>, {
|
|
25
8
|
children: any;
|
|
26
9
|
className: string;
|
|
@@ -1,71 +1,9 @@
|
|
|
1
|
-
import { DBCheckboxProps
|
|
2
|
-
import { DEFAULT_VALID_MESSAGE } from "../../shared/constants";
|
|
1
|
+
import { DBCheckboxProps } from "./model";
|
|
3
2
|
import { ChangeEvent, InteractionEvent } from "../../shared/model";
|
|
4
|
-
import DBInfotext from "../infotext/infotext.vue";
|
|
5
|
-
import { cls, getBoolean, getHideProp, stringPropVisible } from "../../utils";
|
|
6
|
-
declare const _id: import("vue").Ref<string | undefined, string | undefined>;
|
|
7
|
-
declare const _messageId: import("vue").Ref<string | undefined, string | undefined>;
|
|
8
|
-
declare const _validMessageId: import("vue").Ref<string | undefined, string | undefined>;
|
|
9
|
-
declare const _invalidMessageId: import("vue").Ref<string | undefined, string | undefined>;
|
|
10
|
-
declare const _invalidMessage: import("vue").Ref<string | undefined, string | undefined>;
|
|
11
|
-
declare const _descByIds: import("vue").Ref<string | undefined, string | undefined>;
|
|
12
|
-
declare const _voiceOverFallback: import("vue").Ref<string | undefined, string | undefined>;
|
|
13
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
14
|
-
declare function hasValidState(): ReturnType<DBCheckboxState["hasValidState"]>;
|
|
15
|
-
declare function handleChange(event: ChangeEvent<HTMLInputElement>): ReturnType<DBCheckboxState["handleChange"]>;
|
|
16
|
-
declare function handleBlur(event: InteractionEvent<HTMLInputElement> | any): ReturnType<DBCheckboxState["handleBlur"]>;
|
|
17
|
-
declare function handleFocus(event: InteractionEvent<HTMLInputElement> | any): ReturnType<DBCheckboxState["handleFocus"]>;
|
|
18
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
3
|
declare var __VLS_1: {};
|
|
20
|
-
type __VLS_Slots =
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
21
5
|
default?: (props: typeof __VLS_1) => any;
|
|
22
|
-
}
|
|
23
|
-
declare const __VLS_self: import("vue").DefineComponent<DBCheckboxProps, {
|
|
24
|
-
DEFAULT_VALID_MESSAGE: typeof DEFAULT_VALID_MESSAGE;
|
|
25
|
-
DBInfotext: typeof DBInfotext;
|
|
26
|
-
cls: typeof cls;
|
|
27
|
-
getBoolean: typeof getBoolean;
|
|
28
|
-
getHideProp: typeof getHideProp;
|
|
29
|
-
stringPropVisible: typeof stringPropVisible;
|
|
30
|
-
_id: typeof _id;
|
|
31
|
-
_messageId: typeof _messageId;
|
|
32
|
-
_validMessageId: typeof _validMessageId;
|
|
33
|
-
_invalidMessageId: typeof _invalidMessageId;
|
|
34
|
-
_invalidMessage: typeof _invalidMessage;
|
|
35
|
-
_descByIds: typeof _descByIds;
|
|
36
|
-
_voiceOverFallback: typeof _voiceOverFallback;
|
|
37
|
-
_ref: typeof _ref;
|
|
38
|
-
hasValidState: typeof hasValidState;
|
|
39
|
-
handleChange: typeof handleChange;
|
|
40
|
-
handleBlur: typeof handleBlur;
|
|
41
|
-
handleFocus: typeof handleFocus;
|
|
42
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
-
"update:checked": (...args: any[]) => void;
|
|
44
|
-
}, string, import("vue").PublicProps, Readonly<DBCheckboxProps> & Readonly<{
|
|
45
|
-
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
}>, {
|
|
47
|
-
name: string;
|
|
48
|
-
label: string;
|
|
49
|
-
disabled: boolean | string;
|
|
50
|
-
value: any;
|
|
51
|
-
children: any;
|
|
52
|
-
className: string;
|
|
53
|
-
id: string;
|
|
54
|
-
size: import("../../shared/model").SizeType;
|
|
55
|
-
onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
56
|
-
onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
57
|
-
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
58
|
-
indeterminate: boolean | string;
|
|
59
|
-
validation: import("../../shared/model").ValidationType;
|
|
60
|
-
required: boolean | string;
|
|
61
|
-
showLabel: boolean | string;
|
|
62
|
-
checked: boolean | string;
|
|
63
|
-
message: string;
|
|
64
|
-
validMessage: string;
|
|
65
|
-
invalidMessage: string;
|
|
66
|
-
messageIcon: import("@db-ux/core-foundations").IconTypes;
|
|
67
|
-
showMessage: boolean | string;
|
|
68
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
69
7
|
declare const __VLS_component: import("vue").DefineComponent<DBCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
8
|
"update:checked": (...args: any[]) => void;
|
|
71
9
|
}, string, import("vue").PublicProps, Readonly<DBCheckboxProps> & Readonly<{
|
|
@@ -1,204 +1,8 @@
|
|
|
1
|
-
import { DBCustomSelectProps,
|
|
2
|
-
import { cls, getBoolean, getBooleanAsString, getHideProp, stringPropVisible } from "../../utils";
|
|
3
|
-
import { DEFAULT_CLOSE_BUTTON, DEFAULT_LABEL, DEFAULT_MESSAGE, DEFAULT_VALID_MESSAGE } from "../../shared/constants";
|
|
4
|
-
import DBCustomSelectList from "../custom-select-list/custom-select-list.vue";
|
|
5
|
-
import DBCustomSelectListItem from "../custom-select-list-item/custom-select-list-item.vue";
|
|
6
|
-
import DBCustomSelectDropdown from "../custom-select-dropdown/custom-select-dropdown.vue";
|
|
7
|
-
import DBInfotext from "../infotext/infotext.vue";
|
|
8
|
-
import DBTag from "../tag/tag.vue";
|
|
9
|
-
import DBButton from "../button/button.vue";
|
|
10
|
-
import DBTooltip from "../tooltip/tooltip.vue";
|
|
11
|
-
import DBInput from "../input/input.vue";
|
|
12
|
-
declare const _id: import("vue").Ref<string | undefined, string | undefined>;
|
|
13
|
-
declare const _messageId: import("vue").Ref<string | undefined, string | undefined>;
|
|
14
|
-
declare const _validMessageId: import("vue").Ref<string | undefined, string | undefined>;
|
|
15
|
-
declare const _invalidMessageId: import("vue").Ref<string | undefined, string | undefined>;
|
|
16
|
-
declare const _invalidMessage: import("vue").Ref<string | undefined, string | undefined>;
|
|
17
|
-
declare const _selectId: import("vue").Ref<string | undefined, string | undefined>;
|
|
18
|
-
declare const _labelId: import("vue").Ref<string | undefined, string | undefined>;
|
|
19
|
-
declare const _summaryId: import("vue").Ref<string | undefined, string | undefined>;
|
|
20
|
-
declare const _placeholderId: import("vue").Ref<string | undefined, string | undefined>;
|
|
21
|
-
declare const _infoTextId: import("vue").Ref<string | undefined, string | undefined>;
|
|
22
|
-
declare const _validity: import("vue").Ref<"invalid" | "valid" | "no-validation" | undefined, "invalid" | "valid" | "no-validation" | undefined>;
|
|
23
|
-
declare const _selectedLabels: import("vue").Ref<string | undefined, string | undefined>;
|
|
24
|
-
declare const _selectedLabelsId: import("vue").Ref<string | undefined, string | undefined>;
|
|
25
|
-
declare const _voiceOverFallback: import("vue").Ref<string | undefined, string | undefined>;
|
|
26
|
-
declare const _selectedOptions: import("vue").Ref<{
|
|
27
|
-
disabled?: boolean | undefined;
|
|
28
|
-
id?: string | undefined;
|
|
29
|
-
label?: string | undefined;
|
|
30
|
-
value?: string | undefined;
|
|
31
|
-
isGroupTitle?: boolean | undefined;
|
|
32
|
-
showDivider?: boolean | undefined;
|
|
33
|
-
icon?: import("@db-ux/core-foundations").IconTypes | undefined;
|
|
34
|
-
showIcon?: boolean | string | undefined;
|
|
35
|
-
}[] | undefined, CustomSelectOptionType[] | {
|
|
36
|
-
disabled?: boolean | undefined;
|
|
37
|
-
id?: string | undefined;
|
|
38
|
-
label?: string | undefined;
|
|
39
|
-
value?: string | undefined;
|
|
40
|
-
isGroupTitle?: boolean | undefined;
|
|
41
|
-
showDivider?: boolean | undefined;
|
|
42
|
-
icon?: import("@db-ux/core-foundations").IconTypes | undefined;
|
|
43
|
-
showIcon?: boolean | string | undefined;
|
|
44
|
-
}[] | undefined>;
|
|
45
|
-
declare const selectAllEnabled: import("vue").Ref<boolean, boolean>;
|
|
46
|
-
declare const searchEnabled: import("vue").Ref<boolean, boolean>;
|
|
47
|
-
declare const _values: import("vue").Ref<string[] | undefined, string[] | undefined>;
|
|
48
|
-
declare const _options: import("vue").Ref<{
|
|
49
|
-
disabled?: boolean | undefined;
|
|
50
|
-
id?: string | undefined;
|
|
51
|
-
label?: string | undefined;
|
|
52
|
-
value?: string | undefined;
|
|
53
|
-
isGroupTitle?: boolean | undefined;
|
|
54
|
-
showDivider?: boolean | undefined;
|
|
55
|
-
icon?: import("@db-ux/core-foundations").IconTypes | undefined;
|
|
56
|
-
showIcon?: boolean | string | undefined;
|
|
57
|
-
}[] | undefined, CustomSelectOptionType[] | {
|
|
58
|
-
disabled?: boolean | undefined;
|
|
59
|
-
id?: string | undefined;
|
|
60
|
-
label?: string | undefined;
|
|
61
|
-
value?: string | undefined;
|
|
62
|
-
isGroupTitle?: boolean | undefined;
|
|
63
|
-
showDivider?: boolean | undefined;
|
|
64
|
-
icon?: import("@db-ux/core-foundations").IconTypes | undefined;
|
|
65
|
-
showIcon?: boolean | string | undefined;
|
|
66
|
-
}[] | undefined>;
|
|
67
|
-
declare const _hasNoOptions: import("vue").Ref<boolean, boolean>;
|
|
68
|
-
declare const selectAllChecked: import("vue").Ref<boolean, boolean>;
|
|
69
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
70
|
-
declare const detailsRef: import("vue").Ref<any, any>;
|
|
71
|
-
declare const selectRef: import("vue").Ref<any, any>;
|
|
72
|
-
declare const selectAllRef: import("vue").Ref<any, any>;
|
|
73
|
-
declare const searchInputRef: import("vue").Ref<any, any>;
|
|
74
|
-
declare function hasValidState(): ReturnType<DBCustomSelectState["hasValidState"]>;
|
|
75
|
-
declare function handleDropdownToggle(event: any): ReturnType<DBCustomSelectState["handleDropdownToggle"]>;
|
|
76
|
-
declare function getSelectAllLabel(): ReturnType<DBCustomSelectState["getSelectAllLabel"]>;
|
|
77
|
-
declare function getOptionLabel(option: CustomSelectOptionType): ReturnType<DBCustomSelectState["getOptionLabel"]>;
|
|
78
|
-
declare function getOptionChecked(value?: string): ReturnType<DBCustomSelectState["getOptionChecked"]>;
|
|
79
|
-
declare function getTagRemoveLabel(index: number): ReturnType<DBCustomSelectState["getTagRemoveLabel"]>;
|
|
80
|
-
declare function handleTagRemove(option: CustomSelectOptionType, event: any): ReturnType<DBCustomSelectState["handleTagRemove"]>;
|
|
81
|
-
declare function handleKeyboardPress(event: any): ReturnType<DBCustomSelectState["handleKeyboardPress"]>;
|
|
82
|
-
declare function handleClose(event: any): ReturnType<DBCustomSelectState["handleClose"]>;
|
|
83
|
-
declare function handleSelect(value?: string): ReturnType<DBCustomSelectState["handleSelect"]>;
|
|
84
|
-
declare function handleSelectAll(): ReturnType<DBCustomSelectState["handleSelectAll"]>;
|
|
85
|
-
declare function handleSearch(event: any): ReturnType<DBCustomSelectState["handleSearch"]>;
|
|
86
|
-
declare function handleClearAll(): ReturnType<DBCustomSelectState["handleClearAll"]>;
|
|
87
|
-
declare function satisfyReact(): void;
|
|
88
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
1
|
+
import { DBCustomSelectProps, CustomSelectOptionType } from "./model";
|
|
89
2
|
declare var __VLS_1: {};
|
|
90
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
91
4
|
default?: (props: typeof __VLS_1) => any;
|
|
92
|
-
}
|
|
93
|
-
declare const __VLS_self: import("vue").DefineComponent<DBCustomSelectProps, {
|
|
94
|
-
cls: typeof cls;
|
|
95
|
-
getBoolean: typeof getBoolean;
|
|
96
|
-
getBooleanAsString: typeof getBooleanAsString;
|
|
97
|
-
getHideProp: typeof getHideProp;
|
|
98
|
-
stringPropVisible: typeof stringPropVisible;
|
|
99
|
-
DEFAULT_CLOSE_BUTTON: typeof DEFAULT_CLOSE_BUTTON;
|
|
100
|
-
DEFAULT_LABEL: typeof DEFAULT_LABEL;
|
|
101
|
-
DEFAULT_MESSAGE: typeof DEFAULT_MESSAGE;
|
|
102
|
-
DEFAULT_VALID_MESSAGE: typeof DEFAULT_VALID_MESSAGE;
|
|
103
|
-
DBCustomSelectList: typeof DBCustomSelectList;
|
|
104
|
-
DBCustomSelectListItem: typeof DBCustomSelectListItem;
|
|
105
|
-
DBCustomSelectDropdown: typeof DBCustomSelectDropdown;
|
|
106
|
-
DBInfotext: typeof DBInfotext;
|
|
107
|
-
DBTag: typeof DBTag;
|
|
108
|
-
DBButton: typeof DBButton;
|
|
109
|
-
DBTooltip: typeof DBTooltip;
|
|
110
|
-
DBInput: typeof DBInput;
|
|
111
|
-
_id: typeof _id;
|
|
112
|
-
_messageId: typeof _messageId;
|
|
113
|
-
_validMessageId: typeof _validMessageId;
|
|
114
|
-
_invalidMessageId: typeof _invalidMessageId;
|
|
115
|
-
_invalidMessage: typeof _invalidMessage;
|
|
116
|
-
_selectId: typeof _selectId;
|
|
117
|
-
_labelId: typeof _labelId;
|
|
118
|
-
_summaryId: typeof _summaryId;
|
|
119
|
-
_placeholderId: typeof _placeholderId;
|
|
120
|
-
_infoTextId: typeof _infoTextId;
|
|
121
|
-
_validity: typeof _validity;
|
|
122
|
-
_selectedLabels: typeof _selectedLabels;
|
|
123
|
-
_selectedLabelsId: typeof _selectedLabelsId;
|
|
124
|
-
_voiceOverFallback: typeof _voiceOverFallback;
|
|
125
|
-
_selectedOptions: typeof _selectedOptions;
|
|
126
|
-
selectAllEnabled: typeof selectAllEnabled;
|
|
127
|
-
searchEnabled: typeof searchEnabled;
|
|
128
|
-
_values: typeof _values;
|
|
129
|
-
_options: typeof _options;
|
|
130
|
-
_hasNoOptions: typeof _hasNoOptions;
|
|
131
|
-
selectAllChecked: typeof selectAllChecked;
|
|
132
|
-
_ref: typeof _ref;
|
|
133
|
-
detailsRef: typeof detailsRef;
|
|
134
|
-
selectRef: typeof selectRef;
|
|
135
|
-
selectAllRef: typeof selectAllRef;
|
|
136
|
-
searchInputRef: typeof searchInputRef;
|
|
137
|
-
hasValidState: typeof hasValidState;
|
|
138
|
-
handleDropdownToggle: typeof handleDropdownToggle;
|
|
139
|
-
getSelectAllLabel: typeof getSelectAllLabel;
|
|
140
|
-
getOptionLabel: typeof getOptionLabel;
|
|
141
|
-
getOptionChecked: typeof getOptionChecked;
|
|
142
|
-
getTagRemoveLabel: typeof getTagRemoveLabel;
|
|
143
|
-
handleTagRemove: typeof handleTagRemove;
|
|
144
|
-
handleKeyboardPress: typeof handleKeyboardPress;
|
|
145
|
-
handleClose: typeof handleClose;
|
|
146
|
-
handleSelect: typeof handleSelect;
|
|
147
|
-
handleSelectAll: typeof handleSelectAll;
|
|
148
|
-
handleSearch: typeof handleSearch;
|
|
149
|
-
handleClearAll: typeof handleClearAll;
|
|
150
|
-
satisfyReact: typeof satisfyReact;
|
|
151
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
152
|
-
"update:values": (...args: any[]) => void;
|
|
153
|
-
}, string, import("vue").PublicProps, Readonly<DBCustomSelectProps> & Readonly<{
|
|
154
|
-
"onUpdate:values"?: ((...args: any[]) => any) | undefined;
|
|
155
|
-
}>, {
|
|
156
|
-
name: string;
|
|
157
|
-
form: string;
|
|
158
|
-
label: string;
|
|
159
|
-
disabled: boolean | string;
|
|
160
|
-
variant: import("../../shared/model").LabelVariantType;
|
|
161
|
-
children: any;
|
|
162
|
-
className: string;
|
|
163
|
-
id: string;
|
|
164
|
-
icon: import("@db-ux/core-foundations").IconTypes;
|
|
165
|
-
showIcon: boolean | string;
|
|
166
|
-
values: string[];
|
|
167
|
-
placement: import("../../shared/model").PlacementVerticalType;
|
|
168
|
-
validation: import("../../shared/model").ValidationType;
|
|
169
|
-
required: boolean | string;
|
|
170
|
-
showLabel: boolean | string;
|
|
171
|
-
placeholder: string;
|
|
172
|
-
message: string;
|
|
173
|
-
validMessage: string;
|
|
174
|
-
invalidMessage: string;
|
|
175
|
-
messageIcon: import("@db-ux/core-foundations").IconTypes;
|
|
176
|
-
showMessage: boolean | string;
|
|
177
|
-
open: boolean;
|
|
178
|
-
multiple: boolean | string;
|
|
179
|
-
options: CustomSelectOptionType[];
|
|
180
|
-
ariaListLabel: string;
|
|
181
|
-
amountText: string;
|
|
182
|
-
clearSelectionText: string;
|
|
183
|
-
dropdownWidth: import("../custom-select-dropdown/model").CustomSelectDropdownWidthType | string;
|
|
184
|
-
formFieldWidth: import("../../shared/model").WidthType | string;
|
|
185
|
-
loadingText: string;
|
|
186
|
-
mobileCloseButtonText: string;
|
|
187
|
-
noResultsText: string;
|
|
188
|
-
removeTagsTexts: string[];
|
|
189
|
-
searchLabel: string;
|
|
190
|
-
searchPlaceholder: string;
|
|
191
|
-
selectAllLabel: string;
|
|
192
|
-
selectedType: import("./model").SelectedTypeType;
|
|
193
|
-
showClearSelection: boolean;
|
|
194
|
-
showLoading: boolean;
|
|
195
|
-
showNoResults: boolean;
|
|
196
|
-
showSearch: boolean;
|
|
197
|
-
showSelectAll: boolean;
|
|
198
|
-
onAmountChange: (amount: number) => void;
|
|
199
|
-
onOptionSelected: (values: string[]) => void;
|
|
200
|
-
onDropdownToggle: (event: any) => void;
|
|
201
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
202
6
|
declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
203
7
|
"update:values": (...args: any[]) => void;
|
|
204
8
|
}, string, import("vue").PublicProps, Readonly<DBCustomSelectProps> & Readonly<{
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import { DBCustomSelectDropdownProps } from "./model";
|
|
2
|
-
import { cls } from "../../utils";
|
|
3
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
4
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
2
|
declare var __VLS_1: {};
|
|
6
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
7
4
|
default?: (props: typeof __VLS_1) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const __VLS_self: import("vue").DefineComponent<DBCustomSelectDropdownProps, {
|
|
10
|
-
cls: typeof cls;
|
|
11
|
-
_ref: typeof _ref;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCustomSelectDropdownProps> & Readonly<{}>, {
|
|
13
|
-
children: any;
|
|
14
|
-
className: string;
|
|
15
|
-
id: string;
|
|
16
|
-
width: import("./model").CustomSelectDropdownWidthType | string;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
18
6
|
declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCustomSelectDropdownProps> & Readonly<{}>, {
|
|
19
7
|
children: any;
|
|
20
8
|
className: string;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import { cls } from "../../utils";
|
|
2
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
3
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
4
1
|
declare var __VLS_1: {};
|
|
5
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
6
3
|
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
}
|
|
8
|
-
declare const __VLS_self: import("vue").DefineComponent<import("../..").GlobalProps, {
|
|
9
|
-
cls: typeof cls;
|
|
10
|
-
_ref: typeof _ref;
|
|
11
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../..").GlobalProps> & Readonly<{}>, {
|
|
12
|
-
children: any;
|
|
13
|
-
className: string;
|
|
14
|
-
id: string;
|
|
15
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
};
|
|
16
5
|
declare const __VLS_component: import("vue").DefineComponent<import("../..").GlobalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../..").GlobalProps> & Readonly<{}>, {
|
|
17
6
|
children: any;
|
|
18
7
|
className: string;
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import { DBCustomSelectListProps } from "./model";
|
|
2
|
-
import { cls } from "../../utils";
|
|
3
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
4
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
2
|
declare var __VLS_1: {};
|
|
6
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
7
4
|
default?: (props: typeof __VLS_1) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const __VLS_self: import("vue").DefineComponent<DBCustomSelectListProps, {
|
|
10
|
-
cls: typeof cls;
|
|
11
|
-
_ref: typeof _ref;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCustomSelectListProps> & Readonly<{}>, {
|
|
13
|
-
label: string;
|
|
14
|
-
children: any;
|
|
15
|
-
className: string;
|
|
16
|
-
id: string;
|
|
17
|
-
multiple: boolean;
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
};
|
|
19
6
|
declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCustomSelectListProps> & Readonly<{}>, {
|
|
20
7
|
label: string;
|
|
21
8
|
children: any;
|
|
@@ -1,47 +1,9 @@
|
|
|
1
|
-
import { DBCustomSelectListItemProps
|
|
2
|
-
import { cls, getBoolean, getBooleanAsString, getHideProp } from "../../utils";
|
|
1
|
+
import { DBCustomSelectListItemProps } from "./model";
|
|
3
2
|
import { ChangeEvent } from "../../shared/model";
|
|
4
|
-
declare const _id: import("vue").Ref<string | undefined, string | undefined>;
|
|
5
|
-
declare const hasDivider: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
6
|
-
declare const _ref: import("vue").Ref<any, any>;
|
|
7
|
-
declare function handleChange(event: ChangeEvent<HTMLInputElement>): ReturnType<DBCustomSelectListItemState["handleChange"]>;
|
|
8
|
-
declare function getIconAfter(): ReturnType<DBCustomSelectListItemState["getIconAfter"]>;
|
|
9
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
10
3
|
declare var __VLS_1: {};
|
|
11
|
-
type __VLS_Slots =
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
12
5
|
default?: (props: typeof __VLS_1) => any;
|
|
13
|
-
}
|
|
14
|
-
declare const __VLS_self: import("vue").DefineComponent<DBCustomSelectListItemProps, {
|
|
15
|
-
cls: typeof cls;
|
|
16
|
-
getBoolean: typeof getBoolean;
|
|
17
|
-
getBooleanAsString: typeof getBooleanAsString;
|
|
18
|
-
getHideProp: typeof getHideProp;
|
|
19
|
-
_id: typeof _id;
|
|
20
|
-
hasDivider: typeof hasDivider;
|
|
21
|
-
_ref: typeof _ref;
|
|
22
|
-
handleChange: typeof handleChange;
|
|
23
|
-
getIconAfter: typeof getIconAfter;
|
|
24
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
"update:checked": (...args: any[]) => void;
|
|
26
|
-
}, string, import("vue").PublicProps, Readonly<DBCustomSelectListItemProps> & Readonly<{
|
|
27
|
-
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
}>, {
|
|
29
|
-
name: string;
|
|
30
|
-
label: string;
|
|
31
|
-
disabled: boolean | string;
|
|
32
|
-
type: import("./model").CustomSelectListItemTypeType;
|
|
33
|
-
value: any;
|
|
34
|
-
children: any;
|
|
35
|
-
className: string;
|
|
36
|
-
id: string;
|
|
37
|
-
icon: import("@db-ux/core-foundations").IconTypes;
|
|
38
|
-
showIcon: boolean | string;
|
|
39
|
-
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
40
|
-
checked: boolean | string;
|
|
41
|
-
groupTitle: string;
|
|
42
|
-
isGroupTitle: boolean;
|
|
43
|
-
showDivider: boolean;
|
|
44
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
};
|
|
45
7
|
declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
8
|
"update:checked": (...args: any[]) => void;
|
|
47
9
|
}, string, import("vue").PublicProps, Readonly<DBCustomSelectListItemProps> & Readonly<{
|