@db-ux/v-core-components 2.3.1 → 2.4.0
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 +1 -1
- package/dist/components/accordion-item/accordion-item.vue.d.ts +2 -2
- package/dist/components/badge/badge.vue.d.ts +2 -2
- package/dist/components/badge/model.d.ts +1 -1
- package/dist/components/brand/brand.vue.d.ts +1 -1
- package/dist/components/button/button.vue.d.ts +9 -9
- package/dist/components/card/card.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.vue.d.ts +4 -3
- package/dist/components/custom-select/custom-select.vue.d.ts +7 -6
- package/dist/components/custom-select/model.d.ts +1 -1
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +4 -4
- package/dist/components/divider/divider.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +8 -7
- package/dist/components/drawer/model.d.ts +11 -2
- package/dist/components/header/header.vue.d.ts +10 -10
- package/dist/components/header/model.d.ts +6 -6
- package/dist/components/icon/icon.vue.d.ts +1 -1
- package/dist/components/infotext/infotext.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +8 -7
- package/dist/components/link/link.vue.d.ts +2 -2
- package/dist/components/navigation-item/navigation-item.vue.d.ts +5 -5
- package/dist/components/notification/model.d.ts +3 -3
- package/dist/components/notification/notification.vue.d.ts +6 -6
- package/dist/components/page/page.vue.d.ts +1 -1
- package/dist/components/popover/popover.vue.d.ts +3 -3
- package/dist/components/radio/radio.vue.d.ts +4 -3
- package/dist/components/select/select.vue.d.ts +9 -8
- package/dist/components/stack/stack.vue.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +5 -4
- package/dist/components/tab-item/tab-item.vue.d.ts +2 -2
- package/dist/components/tabs/model.d.ts +1 -1
- package/dist/components/tabs/tabs.vue.d.ts +5 -5
- package/dist/components/tag/model.d.ts +1 -1
- package/dist/components/tag/tag.vue.d.ts +5 -5
- package/dist/components/textarea/textarea.vue.d.ts +5 -4
- package/dist/components/tooltip/tooltip.vue.d.ts +4 -4
- package/dist/db-ux.es.js +3021 -2992
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +15 -16
- package/dist/shared/model.d.ts +12 -2
- package/package.json +5 -5
|
@@ -6,13 +6,13 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_component: import("vue").DefineComponent<DBAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionProps> & Readonly<{}>, {
|
|
8
8
|
name: string;
|
|
9
|
-
variant: import("./model").AccordionVariantType;
|
|
10
9
|
children: any;
|
|
11
10
|
className: string;
|
|
12
11
|
id: string;
|
|
13
12
|
behavior: import("./model").AccordionBehaviorType;
|
|
14
13
|
initOpenIndex: number[];
|
|
15
14
|
items: DBAccordionItemDefaultProps[] | string;
|
|
15
|
+
variant: import("./model").AccordionVariantType;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
18
|
export default _default;
|
|
@@ -8,13 +8,13 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
declare const __VLS_component: import("vue").DefineComponent<DBAccordionItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionItemProps> & Readonly<{}>, {
|
|
9
9
|
name: string;
|
|
10
10
|
text: string;
|
|
11
|
+
defaultOpen: boolean;
|
|
11
12
|
disabled: boolean | string;
|
|
13
|
+
headlinePlain: string;
|
|
12
14
|
children: any;
|
|
13
15
|
className: string;
|
|
14
16
|
id: string;
|
|
15
17
|
onToggle: (open: boolean) => void;
|
|
16
|
-
defaultOpen: boolean;
|
|
17
|
-
headlinePlain: string;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
20
|
export default _default;
|
|
@@ -9,9 +9,9 @@ declare const __VLS_component: import("vue").DefineComponent<DBBadgeProps, {}, {
|
|
|
9
9
|
children: any;
|
|
10
10
|
className: string;
|
|
11
11
|
id: string;
|
|
12
|
-
size: import("../..").SizeType;
|
|
13
|
-
semantic: import("../..").SemanticType;
|
|
14
12
|
placement: import("./model").BadgePlacementType;
|
|
13
|
+
semantic: import("../..").SemanticType;
|
|
14
|
+
size: import("../..").SizeType;
|
|
15
15
|
emphasis: import("../..").EmphasisType;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GlobalProps, GlobalState, InitializedState, SemanticProps, SizeProps,
|
|
1
|
+
import { EmphasisProps, GlobalProps, GlobalState, InitializedState, SemanticProps, SizeProps, TextProps } from '../../shared/model';
|
|
2
2
|
export declare const BadgePlacementList: readonly ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"];
|
|
3
3
|
export type BadgePlacementType = (typeof BadgePlacementList)[number];
|
|
4
4
|
export type DBBadgeDefaultProps = {
|
|
@@ -8,9 +8,9 @@ declare const __VLS_component: import("vue").DefineComponent<DBBrandProps, {}, {
|
|
|
8
8
|
children: any;
|
|
9
9
|
className: string;
|
|
10
10
|
id: string;
|
|
11
|
+
hideLogo: boolean;
|
|
11
12
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
12
13
|
showIcon: boolean | string;
|
|
13
|
-
hideLogo: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
16
|
export default _default;
|
|
@@ -4,27 +4,27 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<DBButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBButtonProps> & Readonly<{}>, {
|
|
7
|
+
value: string;
|
|
7
8
|
name: string;
|
|
8
9
|
form: string;
|
|
9
10
|
label: string;
|
|
10
11
|
text: string;
|
|
11
|
-
ariaexpanded: boolean;
|
|
12
|
-
ariapressed: boolean;
|
|
13
12
|
disabled: boolean | string;
|
|
14
|
-
noText: boolean | string;
|
|
15
|
-
state: import("./model").ButtonStateType;
|
|
16
|
-
type: import("./model").ButtonTypeType;
|
|
17
|
-
value: string;
|
|
18
|
-
variant: import("./model").ButtonVariantType | string;
|
|
19
13
|
children: any;
|
|
20
14
|
className: string;
|
|
21
15
|
describedbyid: string;
|
|
22
16
|
id: string;
|
|
17
|
+
type: import("./model").ButtonTypeType;
|
|
23
18
|
onClick: (event: import("../..").ClickEvent<HTMLButtonElement>) => void;
|
|
24
|
-
|
|
25
|
-
width: import("../..").WidthType | string;
|
|
19
|
+
variant: import("./model").ButtonVariantType | string;
|
|
26
20
|
size: import("../..").SizeType;
|
|
21
|
+
icon: import("@db-ux/core-foundations").IconTypes;
|
|
27
22
|
showIcon: boolean | string;
|
|
23
|
+
ariaexpanded: boolean;
|
|
24
|
+
ariapressed: boolean;
|
|
25
|
+
noText: boolean | string;
|
|
26
|
+
state: import("./model").ButtonStateType;
|
|
27
|
+
width: import("../..").WidthType | string;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
30
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DBCheckboxProps } from "./model";
|
|
2
1
|
import { ChangeEvent, InteractionEvent } from "../../shared/model";
|
|
2
|
+
import { DBCheckboxProps } from "./model";
|
|
3
3
|
declare var __VLS_1: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -9,21 +9,22 @@ declare const __VLS_component: import("vue").DefineComponent<DBCheckboxProps, {}
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<DBCheckboxProps> & Readonly<{
|
|
10
10
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
value: any;
|
|
12
13
|
name: string;
|
|
13
14
|
label: string;
|
|
14
15
|
disabled: boolean | string;
|
|
15
|
-
value: any;
|
|
16
16
|
children: any;
|
|
17
17
|
className: string;
|
|
18
18
|
id: string;
|
|
19
|
-
size: import("../../shared/model").SizeType;
|
|
20
19
|
onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
21
20
|
onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
22
21
|
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
22
|
+
size: import("../../shared/model").SizeType;
|
|
23
23
|
indeterminate: boolean | string;
|
|
24
24
|
ariaDescribedBy: string;
|
|
25
25
|
validation: import("../../shared/model").ValidationType;
|
|
26
26
|
required: boolean | string;
|
|
27
|
+
showRequiredAsterisk: boolean | string;
|
|
27
28
|
showLabel: boolean | string;
|
|
28
29
|
checked: boolean | string;
|
|
29
30
|
message: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomSelectOptionType, DBCustomSelectProps } from "./model";
|
|
2
1
|
import { GeneralEvent, InputEvent } from "../../shared/model";
|
|
2
|
+
import { CustomSelectOptionType, DBCustomSelectProps } from "./model";
|
|
3
3
|
declare var __VLS_1: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -14,16 +14,19 @@ declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectProps
|
|
|
14
14
|
label: string;
|
|
15
15
|
values: string[];
|
|
16
16
|
disabled: boolean | string;
|
|
17
|
-
variant: import("../../shared/model").LabelVariantType;
|
|
18
17
|
children: any;
|
|
19
18
|
className: string;
|
|
20
19
|
id: string;
|
|
20
|
+
open: boolean;
|
|
21
|
+
multiple: boolean | string;
|
|
22
|
+
variant: import("../../shared/model").LabelVariantType;
|
|
23
|
+
placement: import("../../shared/model").PlacementVerticalType;
|
|
21
24
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
22
25
|
showIcon: boolean | string;
|
|
23
|
-
placement: import("../../shared/model").PlacementVerticalType;
|
|
24
26
|
ariaDescribedBy: string;
|
|
25
27
|
validation: import("../../shared/model").ValidationType;
|
|
26
28
|
required: boolean | string;
|
|
29
|
+
showRequiredAsterisk: boolean | string;
|
|
27
30
|
showLabel: boolean | string;
|
|
28
31
|
placeholder: string;
|
|
29
32
|
message: string;
|
|
@@ -31,9 +34,6 @@ declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectProps
|
|
|
31
34
|
invalidMessage: string;
|
|
32
35
|
messageIcon: import("@db-ux/core-foundations").IconTypes;
|
|
33
36
|
showMessage: boolean | string;
|
|
34
|
-
open: boolean;
|
|
35
|
-
multiple: boolean | string;
|
|
36
|
-
options: CustomSelectOptionType[];
|
|
37
37
|
amountText: string;
|
|
38
38
|
ariaListLabel: string;
|
|
39
39
|
clearSelectionText: string;
|
|
@@ -42,6 +42,7 @@ declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectProps
|
|
|
42
42
|
loadingText: string;
|
|
43
43
|
mobileCloseButtonText: string;
|
|
44
44
|
noResultsText: string;
|
|
45
|
+
options: CustomSelectOptionType[];
|
|
45
46
|
removeTagsTexts: string[];
|
|
46
47
|
searchFilter: (option: CustomSelectOptionType, filterText: string) => boolean;
|
|
47
48
|
searchLabel: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseFormProps, ClickEvent, CloseEventState, CustomFormProps, DocumentScrollState, FormMessageProps, FormState, FromValidState, GeneralEvent, GlobalProps, GlobalState, IconProps, InputEvent, InteractionEvent, PlacementVerticalType, RequiredProps, ShowIconProps, ShowLabelProps, ValidationType, WidthType } from '../../shared/model';
|
|
2
|
-
import { DBCustomSelectFormFieldDefaultProps } from '../custom-select-form-field/model';
|
|
3
2
|
import { CustomSelectDropdownWidthType } from '../custom-select-dropdown/model';
|
|
3
|
+
import { DBCustomSelectFormFieldDefaultProps } from '../custom-select-form-field/model';
|
|
4
4
|
import { DBCustomSelectListItemExtraProps } from '../custom-select-list-item/model';
|
|
5
5
|
export type CustomSelectOptionType = {
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DBCustomSelectListItemProps } from "./model";
|
|
2
1
|
import { ChangeEvent } from "../../shared/model";
|
|
2
|
+
import { DBCustomSelectListItemProps } from "./model";
|
|
3
3
|
declare var __VLS_1: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -9,17 +9,17 @@ declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectListI
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<DBCustomSelectListItemProps> & Readonly<{
|
|
10
10
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
value: any;
|
|
12
13
|
name: string;
|
|
13
14
|
label: string;
|
|
14
15
|
disabled: boolean | string;
|
|
15
|
-
type: import("./model").CustomSelectListItemTypeType;
|
|
16
|
-
value: any;
|
|
17
16
|
children: any;
|
|
18
17
|
className: string;
|
|
19
18
|
id: string;
|
|
19
|
+
type: import("./model").CustomSelectListItemTypeType;
|
|
20
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
20
21
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
21
22
|
showIcon: boolean | string;
|
|
22
|
-
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
23
23
|
checked: boolean | string;
|
|
24
24
|
groupTitle: string;
|
|
25
25
|
isGroupTitle: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DBDividerProps } from "./model";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<DBDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBDividerProps> & Readonly<{}>, {
|
|
3
|
-
variant: import("./model").DividerVariantType;
|
|
4
3
|
className: string;
|
|
5
4
|
id: string;
|
|
6
|
-
|
|
5
|
+
variant: import("./model").DividerVariantType;
|
|
7
6
|
emphasis: import("../..").EmphasisType;
|
|
7
|
+
width: import("../..").WidthType | string;
|
|
8
8
|
margin: "none";
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
export default _default;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { DBDrawerProps } from "./model";
|
|
2
|
-
declare var __VLS_1: {},
|
|
2
|
+
declare var __VLS_1: {}, __VLS_7: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
'drawer-header'?: (props: typeof __VLS_1) => any;
|
|
5
5
|
} & {
|
|
6
|
-
default?: (props: typeof
|
|
6
|
+
default?: (props: typeof __VLS_7) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: import("vue").DefineComponent<DBDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBDrawerProps> & Readonly<{}>, {
|
|
9
|
-
variant: import("./model").DrawerVariantType;
|
|
10
9
|
children: any;
|
|
11
10
|
className: string;
|
|
12
11
|
id: string;
|
|
12
|
+
open: boolean | string;
|
|
13
|
+
variant: import("./model").DrawerVariantType;
|
|
13
14
|
width: import("../../shared/model").WidthType | string;
|
|
14
|
-
onClose: (event?: KeyboardEvent | MouseEvent | undefined) => void;
|
|
15
|
-
closeButtonId: string;
|
|
16
|
-
closeButtonText: string;
|
|
17
15
|
spacing: import("../../shared/model").SpacingType | string;
|
|
18
16
|
backdrop: import("./model").DrawerBackdropType;
|
|
19
17
|
direction: import("./model").DrawerDirectionType;
|
|
20
|
-
open: boolean | string;
|
|
21
18
|
rounded: boolean | string;
|
|
19
|
+
position: import("./model").DrawerPositionType;
|
|
20
|
+
onClose: (event?: KeyboardEvent | MouseEvent | undefined) => void;
|
|
21
|
+
closeButtonId: string;
|
|
22
|
+
closeButtonText: string;
|
|
22
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
24
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
25
|
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { ClickEvent, CloseEventProps, CloseEventState, GeneralKeyboardEvent, GlobalProps, GlobalState, InnerCloseButtonProps, SpacingProps, WidthProps } from '../../shared/model';
|
|
1
|
+
import { ClickEvent, CloseEventProps, CloseEventState, GeneralKeyboardEvent, GlobalProps, GlobalState, InitializedState, InnerCloseButtonProps, SpacingProps, WidthProps } from '../../shared/model';
|
|
2
2
|
export declare const DrawerBackdropList: readonly ["none", "strong", "weak", "invisible"];
|
|
3
3
|
export type DrawerBackdropType = (typeof DrawerBackdropList)[number];
|
|
4
4
|
export declare const DrawerDirectionList: readonly ["left", "right", "up", "down"];
|
|
5
5
|
export type DrawerDirectionType = (typeof DrawerDirectionList)[number];
|
|
6
6
|
export declare const DrawerVariantList: readonly ["modal", "inside"];
|
|
7
7
|
export type DrawerVariantType = (typeof DrawerVariantList)[number];
|
|
8
|
+
export declare const DrawerPositionList: readonly ["fixed", "absolute"];
|
|
9
|
+
export type DrawerPositionType = (typeof DrawerPositionList)[number];
|
|
8
10
|
export type DBDrawerDefaultProps = {
|
|
9
11
|
/**
|
|
10
12
|
* The backdrop attribute changes the opacity of the backdrop.
|
|
@@ -33,9 +35,16 @@ export type DBDrawerDefaultProps = {
|
|
|
33
35
|
* Set the variant modal|inside. Defaults to modal.
|
|
34
36
|
*/
|
|
35
37
|
variant?: DrawerVariantType;
|
|
38
|
+
/**
|
|
39
|
+
* The position attribute changes the css-position (fixed or absolute) of the drawer.
|
|
40
|
+
*
|
|
41
|
+
* - `fixed` (default): Renders with `showModal()`, creating a true modal with a focus trap.
|
|
42
|
+
* - `absolute`: Renders with `show()`, acting as a simple overlay **without** a focus trap.
|
|
43
|
+
*/
|
|
44
|
+
position?: DrawerPositionType;
|
|
36
45
|
};
|
|
37
46
|
export type DBDrawerProps = DBDrawerDefaultProps & GlobalProps & CloseEventProps<ClickEvent<HTMLButtonElement | HTMLDialogElement> | GeneralKeyboardEvent<HTMLDialogElement>> & InnerCloseButtonProps & WidthProps & SpacingProps;
|
|
38
47
|
export type DBDrawerDefaultState = {
|
|
39
48
|
handleDialogOpen: () => void;
|
|
40
49
|
};
|
|
41
|
-
export type DBDrawerState = DBDrawerDefaultState & GlobalState & CloseEventState<ClickEvent<HTMLButtonElement | HTMLDialogElement> | GeneralKeyboardEvent<HTMLDialogElement
|
|
50
|
+
export type DBDrawerState = DBDrawerDefaultState & GlobalState & CloseEventState<ClickEvent<HTMLButtonElement | HTMLDialogElement> | GeneralKeyboardEvent<HTMLDialogElement>> & InitializedState;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { DBHeaderProps } from "./model";
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_23: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_5) => any;
|
|
5
5
|
} & {
|
|
6
|
-
'meta-navigation'?: (props: typeof
|
|
6
|
+
'meta-navigation'?: (props: typeof __VLS_7) => any;
|
|
7
7
|
} & {
|
|
8
|
-
'secondary-action'?: (props: typeof
|
|
8
|
+
'secondary-action'?: (props: typeof __VLS_9) => any;
|
|
9
9
|
} & {
|
|
10
|
-
'meta-navigation'?: (props: typeof
|
|
10
|
+
'meta-navigation'?: (props: typeof __VLS_11) => any;
|
|
11
11
|
} & {
|
|
12
|
-
brand?: (props: typeof
|
|
12
|
+
brand?: (props: typeof __VLS_13) => any;
|
|
13
13
|
} & {
|
|
14
|
-
default?: (props: typeof
|
|
14
|
+
default?: (props: typeof __VLS_15) => any;
|
|
15
15
|
} & {
|
|
16
|
-
'primary-action'?: (props: typeof
|
|
16
|
+
'primary-action'?: (props: typeof __VLS_17) => any;
|
|
17
17
|
} & {
|
|
18
|
-
'secondary-action'?: (props: typeof
|
|
18
|
+
'secondary-action'?: (props: typeof __VLS_23) => any;
|
|
19
19
|
};
|
|
20
20
|
declare const __VLS_component: import("vue").DefineComponent<DBHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBHeaderProps> & Readonly<{}>, {
|
|
21
21
|
children: any;
|
|
22
22
|
className: string;
|
|
23
23
|
id: string;
|
|
24
|
+
onToggle: (open: boolean) => void;
|
|
24
25
|
width: import("../..").MaxWidthType;
|
|
25
26
|
drawerOpen: boolean | string;
|
|
26
27
|
forceMobile: boolean | string;
|
|
27
28
|
burgerMenuLabel: string;
|
|
28
|
-
onToggle: (open: boolean) => void;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
31
|
export default _default;
|
|
@@ -6,20 +6,20 @@ export type DBHeaderDefaultProps = {
|
|
|
6
6
|
brand?: any;
|
|
7
7
|
/**
|
|
8
8
|
* Slot to pass in a meta navigation.
|
|
9
|
-
* Desktop: Above the regular header
|
|
10
|
-
* Mobile: Inside the drawer
|
|
9
|
+
* - Desktop: Above the regular header
|
|
10
|
+
* - Mobile: Inside the drawer
|
|
11
11
|
*/
|
|
12
12
|
metaNavigation?: any;
|
|
13
13
|
/**
|
|
14
14
|
* Slot to pass one or more elements like DBButton (e.g. search) as primary action.
|
|
15
|
-
* Desktop: Shown next to the main-navigation
|
|
16
|
-
* Mobile: Shown next to the brand
|
|
15
|
+
* - Desktop: Shown next to the main-navigation
|
|
16
|
+
* - Mobile: Shown next to the brand
|
|
17
17
|
*/
|
|
18
18
|
primaryAction?: any;
|
|
19
19
|
/**
|
|
20
20
|
* Slot to pass one or more elements like DBButton (e.g. profile, language, etc.) as secondary action.
|
|
21
|
-
* Desktop: Shown
|
|
22
|
-
* Mobile: Shown inside the drawer at the bottom.
|
|
21
|
+
* - Desktop: Shown separated by divider at the end of the header
|
|
22
|
+
* - Mobile: Shown inside the drawer at the bottom.
|
|
23
23
|
*/
|
|
24
24
|
secondaryAction?: any;
|
|
25
25
|
/**
|
|
@@ -5,10 +5,10 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<DBIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBIconProps> & Readonly<{}>, {
|
|
7
7
|
text: string;
|
|
8
|
-
variant: string;
|
|
9
8
|
children: any;
|
|
10
9
|
className: string;
|
|
11
10
|
id: string;
|
|
11
|
+
variant: string;
|
|
12
12
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
13
13
|
weight: import("./model").IconWeightType;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -8,10 +8,10 @@ declare const __VLS_component: import("vue").DefineComponent<DBInfotextProps, {}
|
|
|
8
8
|
children: any;
|
|
9
9
|
className: string;
|
|
10
10
|
id: string;
|
|
11
|
-
|
|
11
|
+
semantic: import("../..").SemanticType;
|
|
12
12
|
size: import("../..").SizeType;
|
|
13
|
+
icon: import("@db-ux/core-foundations").IconTypes;
|
|
13
14
|
showIcon: boolean | string;
|
|
14
|
-
semantic: import("../..").SemanticType;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
17
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DBInputProps } from "./model";
|
|
2
1
|
import { ChangeEvent, InputEvent, InteractionEvent, ValueLabelType } from "../../shared/model";
|
|
2
|
+
import { DBInputProps } from "./model";
|
|
3
3
|
declare var __VLS_1: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -9,6 +9,7 @@ declare const __VLS_component: import("vue").DefineComponent<DBInputProps, {}, {
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<DBInputProps> & Readonly<{
|
|
10
10
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
value: any;
|
|
12
13
|
name: string;
|
|
13
14
|
step: number | string;
|
|
14
15
|
form: string;
|
|
@@ -16,23 +17,23 @@ declare const __VLS_component: import("vue").DefineComponent<DBInputProps, {}, {
|
|
|
16
17
|
label: string;
|
|
17
18
|
pattern: string;
|
|
18
19
|
disabled: boolean | string;
|
|
19
|
-
type: import("./model").InputTypeType | string;
|
|
20
|
-
value: any;
|
|
21
|
-
variant: import("../../shared/model").LabelVariantType;
|
|
22
20
|
children: any;
|
|
23
21
|
className: string;
|
|
24
22
|
id: string;
|
|
25
23
|
autofocus: boolean | string;
|
|
26
|
-
|
|
27
|
-
size: number;
|
|
28
|
-
showIcon: boolean | string;
|
|
24
|
+
type: import("./model").InputTypeType | string;
|
|
29
25
|
onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
30
26
|
onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
31
27
|
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
32
28
|
onInput: (event: InputEvent<HTMLInputElement>) => void;
|
|
29
|
+
variant: import("../../shared/model").LabelVariantType;
|
|
30
|
+
size: number;
|
|
31
|
+
icon: import("@db-ux/core-foundations").IconTypes;
|
|
32
|
+
showIcon: boolean | string;
|
|
33
33
|
ariaDescribedBy: string;
|
|
34
34
|
validation: import("../../shared/model").ValidationType;
|
|
35
35
|
required: boolean | string;
|
|
36
|
+
showRequiredAsterisk: boolean | string;
|
|
36
37
|
showLabel: boolean | string;
|
|
37
38
|
placeholder: string;
|
|
38
39
|
message: string;
|
|
@@ -8,15 +8,15 @@ declare const __VLS_component: import("vue").DefineComponent<DBLinkProps, {}, {}
|
|
|
8
8
|
label: string;
|
|
9
9
|
text: string;
|
|
10
10
|
disabled: boolean | string;
|
|
11
|
-
variant: import("./model").LinkVariantType;
|
|
12
11
|
children: any;
|
|
13
12
|
className: string;
|
|
14
13
|
id: string;
|
|
15
14
|
onClick: (event: import("../..").ClickEvent<HTMLAnchorElement>) => void;
|
|
15
|
+
variant: import("./model").LinkVariantType;
|
|
16
16
|
size: import("./model").LinkSizeType;
|
|
17
17
|
showIcon: boolean | string;
|
|
18
|
-
target: import("../..").LinkTargetType;
|
|
19
18
|
role: string;
|
|
19
|
+
target: import("../..").LinkTargetType;
|
|
20
20
|
current: boolean | import("../..").LinkCurrentType;
|
|
21
21
|
href: string;
|
|
22
22
|
hreflang: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DBNavigationItemProps } from "./model";
|
|
2
1
|
import { ClickEvent } from "../../shared/model";
|
|
3
|
-
|
|
2
|
+
import { DBNavigationItemProps } from "./model";
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_9: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
7
|
default?: (props: typeof __VLS_3) => any;
|
|
8
8
|
} & {
|
|
9
|
-
'sub-navigation'?: (props: typeof
|
|
9
|
+
'sub-navigation'?: (props: typeof __VLS_9) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_component: import("vue").DefineComponent<DBNavigationItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBNavigationItemProps> & Readonly<{}>, {
|
|
12
12
|
text: string;
|
|
@@ -16,11 +16,11 @@ declare const __VLS_component: import("vue").DefineComponent<DBNavigationItemPro
|
|
|
16
16
|
id: string;
|
|
17
17
|
onClick: (event: ClickEvent<HTMLButtonElement>) => void;
|
|
18
18
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
19
|
-
width: import("../../shared/model").WidthType | string;
|
|
20
19
|
showIcon: boolean | string;
|
|
20
|
+
width: import("../../shared/model").WidthType | string;
|
|
21
21
|
active: boolean;
|
|
22
|
-
wrap: boolean | string;
|
|
23
22
|
subNavigationExpanded: boolean | string;
|
|
23
|
+
wrap: boolean | string;
|
|
24
24
|
backButtonId: string;
|
|
25
25
|
backButtonText: string;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -46,9 +46,9 @@ export type DBNotificationDefaultProps = {
|
|
|
46
46
|
showTimestamp?: boolean | string;
|
|
47
47
|
/**
|
|
48
48
|
* The variant attribute changes the styling of the notification.
|
|
49
|
-
* The docked notifications are used e.g. between header and main content to show a global alert.
|
|
50
|
-
* The standalone notifications are used e.g. inside a form to show an alert for a specific field.
|
|
51
|
-
* The overlay notifications are used for absolute and floating notifications like snackbars etc.
|
|
49
|
+
* - The docked notifications are used e.g. between header and main content to show a global alert.
|
|
50
|
+
* - The standalone notifications are used e.g. inside a form to show an alert for a specific field.
|
|
51
|
+
* - The overlay notifications are used for absolute and floating notifications like snackbars etc.
|
|
52
52
|
*/
|
|
53
53
|
variant?: NotificationVariantType;
|
|
54
54
|
};
|
|
@@ -9,23 +9,23 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_component: import("vue").DefineComponent<DBNotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBNotificationProps> & Readonly<{}>, {
|
|
11
11
|
text: string;
|
|
12
|
-
|
|
12
|
+
headline: string | any;
|
|
13
13
|
children: any;
|
|
14
14
|
className: string;
|
|
15
15
|
id: string;
|
|
16
|
+
variant: import("./model").NotificationVariantType;
|
|
17
|
+
semantic: import("../../shared/model").SemanticType;
|
|
16
18
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
17
19
|
showIcon: boolean | string;
|
|
20
|
+
onClose: (event?: MouseEvent | undefined) => void;
|
|
21
|
+
closeButtonId: string;
|
|
22
|
+
closeButtonText: string;
|
|
18
23
|
ariaLive: import("./model").NotificationAriaLiveType;
|
|
19
24
|
closeable: boolean | string;
|
|
20
|
-
headline: string | any;
|
|
21
25
|
linkVariant: import("./model").NotificationLinkVariantType;
|
|
22
26
|
showHeadline: boolean | string;
|
|
23
27
|
timestamp: string;
|
|
24
28
|
showTimestamp: boolean | string;
|
|
25
|
-
onClose: (event?: MouseEvent | undefined) => void;
|
|
26
|
-
semantic: import("../../shared/model").SemanticType;
|
|
27
|
-
closeButtonId: string;
|
|
28
|
-
closeButtonText: string;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
31
|
export default _default;
|
|
@@ -8,10 +8,10 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
footer?: (props: typeof __VLS_5) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_component: import("vue").DefineComponent<DBPageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBPageProps> & Readonly<{}>, {
|
|
11
|
-
variant: import("./model").PageVariantType;
|
|
12
11
|
children: any;
|
|
13
12
|
className: string;
|
|
14
13
|
id: string;
|
|
14
|
+
variant: import("./model").PageVariantType;
|
|
15
15
|
documentOverflow: import("./model").PageDocumentOverflowType;
|
|
16
16
|
fadeIn: boolean | string;
|
|
17
17
|
mainClass: string;
|
|
@@ -9,12 +9,12 @@ declare const __VLS_component: import("vue").DefineComponent<DBPopoverProps, {},
|
|
|
9
9
|
children: any;
|
|
10
10
|
className: string;
|
|
11
11
|
id: string;
|
|
12
|
+
open: boolean | string;
|
|
13
|
+
placement: import("../..").PlacementType;
|
|
12
14
|
width: import("../..").PopoverWidthType;
|
|
15
|
+
spacing: import("../..").SpacingType | string;
|
|
13
16
|
delay: import("../..").PopoverDelayType;
|
|
14
17
|
animation: boolean | string;
|
|
15
|
-
placement: import("../..").PlacementType;
|
|
16
|
-
spacing: import("../..").SpacingType | string;
|
|
17
|
-
open: boolean | string;
|
|
18
18
|
gap: boolean | string;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DBRadioProps } from "./model";
|
|
2
1
|
import { ChangeEvent, InteractionEvent } from "../../shared/model";
|
|
2
|
+
import { DBRadioProps } from "./model";
|
|
3
3
|
declare var __VLS_1: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
@@ -9,21 +9,22 @@ declare const __VLS_component: import("vue").DefineComponent<DBRadioProps, {}, {
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<DBRadioProps> & Readonly<{
|
|
10
10
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
value: any;
|
|
12
13
|
name: string;
|
|
13
14
|
label: string;
|
|
14
15
|
disabled: boolean | string;
|
|
15
|
-
value: any;
|
|
16
16
|
children: any;
|
|
17
17
|
className: string;
|
|
18
18
|
describedbyid: string;
|
|
19
19
|
id: string;
|
|
20
|
-
size: import("../../shared/model").SizeType;
|
|
21
20
|
onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
22
21
|
onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
23
22
|
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
23
|
+
size: import("../../shared/model").SizeType;
|
|
24
24
|
ariaDescribedBy: string;
|
|
25
25
|
validation: import("../../shared/model").ValidationType;
|
|
26
26
|
required: boolean | string;
|
|
27
|
+
showRequiredAsterisk: boolean | string;
|
|
27
28
|
showLabel: boolean | string;
|
|
28
29
|
checked: boolean | string;
|
|
29
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|