@db-ux/v-core-components 2.0.0-0-custom-select-16b8cce → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/accordion.vue.d.ts +33 -8
- package/dist/components/accordion/model.d.ts +2 -2
- package/dist/components/accordion-item/accordion-item.vue.d.ts +40 -8
- package/dist/components/accordion-item/model.d.ts +5 -5
- package/dist/components/badge/badge.vue.d.ts +30 -8
- package/dist/components/badge/model.d.ts +2 -2
- package/dist/components/brand/brand.vue.d.ts +27 -6
- package/dist/components/button/button.vue.d.ts +54 -15
- package/dist/components/button/model.d.ts +11 -7
- package/dist/components/card/card.vue.d.ts +30 -9
- package/dist/components/checkbox/checkbox.vue.d.ts +83 -20
- package/dist/components/checkbox/model.d.ts +3 -3
- package/dist/components/custom-select/custom-select.vue.d.ts +221 -22
- package/dist/components/custom-select/model.d.ts +49 -29
- package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +20 -5
- package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +18 -4
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +20 -4
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +53 -12
- package/dist/components/divider/divider.vue.d.ts +3 -3
- package/dist/components/drawer/drawer.vue.d.ts +47 -13
- package/dist/components/drawer/model.d.ts +2 -2
- package/dist/components/header/header.vue.d.ts +57 -13
- package/dist/components/header/model.d.ts +2 -2
- package/dist/components/icon/icon.vue.d.ts +25 -7
- package/dist/components/infotext/infotext.vue.d.ts +28 -8
- package/dist/components/input/input.vue.d.ts +131 -33
- package/dist/components/input/model.d.ts +3 -3
- package/dist/components/link/link.vue.d.ts +48 -14
- package/dist/components/navigation/navigation.vue.d.ts +21 -4
- package/dist/components/navigation-item/model.d.ts +6 -3
- package/dist/components/navigation-item/navigation-item.vue.d.ts +76 -12
- package/dist/components/notification/model.d.ts +3 -3
- package/dist/components/notification/notification.vue.d.ts +58 -17
- package/dist/components/page/model.d.ts +1 -1
- package/dist/components/page/page.vue.d.ts +32 -9
- package/dist/components/popover/model.d.ts +1 -1
- package/dist/components/popover/popover.vue.d.ts +40 -13
- package/dist/components/radio/radio.vue.d.ts +56 -17
- package/dist/components/section/section.vue.d.ts +24 -6
- package/dist/components/select/model.d.ts +2 -2
- package/dist/components/select/select.vue.d.ts +106 -24
- package/dist/components/stack/model.d.ts +1 -1
- package/dist/components/stack/stack.vue.d.ts +31 -10
- package/dist/components/switch/model.d.ts +2 -2
- package/dist/components/switch/switch.vue.d.ts +67 -21
- package/dist/components/tab-item/model.d.ts +6 -6
- package/dist/components/tab-item/tab-item.vue.d.ts +52 -14
- package/dist/components/tab-list/tab-list.vue.d.ts +20 -4
- package/dist/components/tab-panel/tab-panel.vue.d.ts +20 -4
- package/dist/components/tabs/model.d.ts +11 -3
- package/dist/components/tabs/tabs.vue.d.ts +60 -15
- package/dist/components/tag/model.d.ts +9 -5
- package/dist/components/tag/tag.vue.d.ts +49 -15
- package/dist/components/textarea/model.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +24 -23
- package/dist/components/tooltip/model.d.ts +1 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +37 -11
- package/dist/db-ux.es.js +1969 -1812
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/model.d.ts +56 -31
- package/dist/utils/document-click-listener.d.ts +8 -0
- package/dist/utils/index.d.ts +5 -28
- package/package.json +8 -7
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DBTextareaProps } from "./model";
|
|
2
|
+
import { ChangeEvent, InputEvent, InteractionEvent } from "../../shared/model";
|
|
2
3
|
declare const _default: import("vue").DefineComponent<DBTextareaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
4
|
"update:value": (...args: any[]) => void;
|
|
4
5
|
}, string, import("vue").PublicProps, Readonly<DBTextareaProps> & Readonly<{
|
|
@@ -6,37 +7,37 @@ declare const _default: import("vue").DefineComponent<DBTextareaProps, {}, {}, {
|
|
|
6
7
|
}>, {
|
|
7
8
|
name: string;
|
|
8
9
|
form: string;
|
|
9
|
-
input: (event:
|
|
10
|
+
input: (event: InputEvent<HTMLTextAreaElement>) => void;
|
|
10
11
|
label: string;
|
|
11
|
-
disabled: boolean;
|
|
12
|
+
disabled: boolean | string;
|
|
12
13
|
value: any;
|
|
13
|
-
variant: "
|
|
14
|
+
variant: import("../../shared/model").LabelVariantType;
|
|
14
15
|
className: string;
|
|
15
16
|
id: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
validation: "invalid" | "valid" | "no-validation";
|
|
25
|
-
required: boolean;
|
|
26
|
-
showLabel: boolean;
|
|
17
|
+
resize: import("./model").TextareaResizeType;
|
|
18
|
+
onFocus: (event: InteractionEvent<HTMLTextAreaElement>) => void;
|
|
19
|
+
onBlur: (event: InteractionEvent<HTMLTextAreaElement>) => void;
|
|
20
|
+
onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
21
|
+
onInput: (event: InputEvent<HTMLTextAreaElement>) => void;
|
|
22
|
+
validation: import("../../shared/model").ValidationType;
|
|
23
|
+
required: boolean | string;
|
|
24
|
+
showLabel: boolean | string;
|
|
27
25
|
placeholder: string;
|
|
28
26
|
message: string;
|
|
29
27
|
validMessage: string;
|
|
30
28
|
invalidMessage: string;
|
|
31
|
-
messageIcon: import("@db-ux/core-foundations").
|
|
32
|
-
autocomplete: string;
|
|
33
|
-
showMessage: boolean;
|
|
34
|
-
maxLength: number;
|
|
35
|
-
minLength: number;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
messageIcon: import("@db-ux/core-foundations").IconTypes;
|
|
30
|
+
autocomplete: string | import("../../shared/model").AutoCompleteType;
|
|
31
|
+
showMessage: boolean | string;
|
|
32
|
+
maxLength: number | string;
|
|
33
|
+
minLength: number | string;
|
|
34
|
+
maxlength: number | string;
|
|
35
|
+
minlength: number | string;
|
|
36
|
+
readOnly: boolean | string;
|
|
37
|
+
readonly: boolean | string;
|
|
38
|
+
cols: number | string;
|
|
39
|
+
rows: number | string;
|
|
39
40
|
spellCheck: boolean;
|
|
40
|
-
wrap: "
|
|
41
|
+
wrap: import("./model").TextareaWrapType;
|
|
41
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
43
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClickEventState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
|
|
2
2
|
export type DBTooltipDefaultProps = {
|
|
3
|
-
showArrow?: boolean;
|
|
3
|
+
showArrow?: boolean | string;
|
|
4
4
|
};
|
|
5
5
|
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps;
|
|
6
6
|
export type DBTooltipDefaultState = {};
|
|
@@ -1,17 +1,43 @@
|
|
|
1
|
-
import { DBTooltipProps } from "./model";
|
|
2
|
-
|
|
1
|
+
import { DBTooltipProps, DBTooltipState } from "./model";
|
|
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 _ref: import("vue").Ref<any, any>;
|
|
6
|
+
declare function handleClick(event: ClickEvent<HTMLElement>): ReturnType<DBTooltipState["handleClick"]>;
|
|
7
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
}>;
|
|
12
|
+
declare const __VLS_self: import("vue").DefineComponent<DBTooltipProps, {
|
|
13
|
+
cls: typeof cls;
|
|
14
|
+
getBooleanAsString: typeof getBooleanAsString;
|
|
15
|
+
_id: typeof _id;
|
|
16
|
+
_ref: typeof _ref;
|
|
17
|
+
handleClick: typeof handleClick;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTooltipProps> & Readonly<{}>, {
|
|
3
19
|
children: any;
|
|
4
20
|
className: string;
|
|
5
21
|
id: string;
|
|
6
|
-
width: "
|
|
7
|
-
delay: "
|
|
8
|
-
animation: boolean;
|
|
9
|
-
placement: "
|
|
10
|
-
emphasis: "
|
|
11
|
-
showArrow: boolean;
|
|
12
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
width: import("../../shared/model").PopoverWidthType;
|
|
23
|
+
delay: import("../../shared/model").PopoverDelayType;
|
|
24
|
+
animation: boolean | string;
|
|
25
|
+
placement: import("../../shared/model").PlacementType;
|
|
26
|
+
emphasis: import("../../shared/model").EmphasisType;
|
|
27
|
+
showArrow: boolean | string;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_component: import("vue").DefineComponent<DBTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTooltipProps> & Readonly<{}>, {
|
|
30
|
+
children: any;
|
|
31
|
+
className: string;
|
|
32
|
+
id: string;
|
|
33
|
+
width: import("../../shared/model").PopoverWidthType;
|
|
34
|
+
delay: import("../../shared/model").PopoverDelayType;
|
|
35
|
+
animation: boolean | string;
|
|
36
|
+
placement: import("../../shared/model").PlacementType;
|
|
37
|
+
emphasis: import("../../shared/model").EmphasisType;
|
|
38
|
+
showArrow: boolean | string;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
41
|
export default _default;
|
|
16
42
|
type __VLS_WithSlots<T, S> = T & {
|
|
17
43
|
new (): {
|