@maltjoy/core-vue 3.16.0 → 3.16.2
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/JoyAvatar/VJoyAvatar.vue.d.ts +6 -2
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +1 -1
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +3 -4
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +1 -1
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +4 -4
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +2 -4
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +1 -1
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +2 -2
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +17 -12
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +32 -10
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +1 -1
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +7 -3
- package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +4 -4
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +1 -1
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +6 -6
- package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +4 -4
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +4 -5
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +7 -3
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +3 -4
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +3 -4
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +22 -6
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +17 -3
- package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +6 -2
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +2 -2
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +6 -6
- package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +2 -2
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +3 -3
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +2 -2
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +1 -1
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +2 -2
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +2 -2
- package/dist/components/JoyTab/TabButton.vue.d.ts +1 -1
- package/dist/components/JoyTab/VJoyTab.vue.d.ts +10 -3
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +3 -3
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +15 -3
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +8 -2
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +7 -7
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +4 -2
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/joy-vue.js +1456 -1792
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -27,7 +27,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
}, {
|
|
28
28
|
isAnonymous: import("vue").ComputedRef<boolean>;
|
|
29
29
|
initials: import("vue").ComputedRef<string>;
|
|
30
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
click: () => void;
|
|
32
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
33
|
/** 3 different sizes of avatar */
|
|
32
34
|
size: {
|
|
33
35
|
type: PropType<TJoyAvatarSizes>;
|
|
@@ -51,7 +53,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
53
|
type: PropType<"default" | "strategy">;
|
|
52
54
|
default: string;
|
|
53
55
|
};
|
|
54
|
-
}
|
|
56
|
+
}>> & {
|
|
57
|
+
onClick?: (() => any) | undefined;
|
|
58
|
+
}, {
|
|
55
59
|
link: boolean;
|
|
56
60
|
size: TJoyAvatarSizes;
|
|
57
61
|
color: "primary" | "secondary" | "neutral" | "tertiary" | "quaternary" | "transparent";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyBadgeVariants } from './JoyBadge.types';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
3
|
/**
|
|
5
4
|
* Display the colored bulletpoint on the left
|
|
@@ -20,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
20
19
|
*/
|
|
21
20
|
variant: {
|
|
22
21
|
type: PropType<"info" | "gray" | "green" | "orange" | "red" | "teal" | "pink" | "dark-blue" | "yellow">;
|
|
23
|
-
validator(variant:
|
|
22
|
+
validator(variant: "info" | "gray" | "green" | "orange" | "red" | "teal" | "pink" | "dark-blue" | "yellow"): boolean;
|
|
24
23
|
};
|
|
25
24
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
25
|
/**
|
|
@@ -42,13 +41,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
42
41
|
*/
|
|
43
42
|
variant: {
|
|
44
43
|
type: PropType<"info" | "gray" | "green" | "orange" | "red" | "teal" | "pink" | "dark-blue" | "yellow">;
|
|
45
|
-
validator(variant:
|
|
44
|
+
validator(variant: "info" | "gray" | "green" | "orange" | "red" | "teal" | "pink" | "dark-blue" | "yellow"): boolean;
|
|
46
45
|
};
|
|
47
46
|
}>>, {
|
|
48
47
|
label: string;
|
|
49
48
|
bulletpoint: boolean;
|
|
50
49
|
}, {}>, {
|
|
51
|
-
default
|
|
50
|
+
default?(_: {}): any;
|
|
52
51
|
}>;
|
|
53
52
|
export default _default;
|
|
54
53
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -35,7 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
35
35
|
superMalterLevel: number;
|
|
36
36
|
visibleText: boolean;
|
|
37
37
|
}, {}>, {
|
|
38
|
-
default
|
|
38
|
+
default?(_: {}): any;
|
|
39
39
|
}>;
|
|
40
40
|
export default _default;
|
|
41
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TJoyButtonSizes
|
|
1
|
+
import { TJoyButtonSizes } from './JoyButton.types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
/**
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
variant: {
|
|
34
34
|
type: PropType<"main" | "primary" | "secondary" | "white" | "admin" | "ghost">;
|
|
35
35
|
default: string;
|
|
36
|
-
validator(variant:
|
|
36
|
+
validator(variant: "main" | "primary" | "secondary" | "white" | "admin" | "ghost"): boolean;
|
|
37
37
|
};
|
|
38
38
|
/** Button or Link size */
|
|
39
39
|
size: {
|
|
@@ -76,7 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
76
76
|
variant: {
|
|
77
77
|
type: PropType<"main" | "primary" | "secondary" | "white" | "admin" | "ghost">;
|
|
78
78
|
default: string;
|
|
79
|
-
validator(variant:
|
|
79
|
+
validator(variant: "main" | "primary" | "secondary" | "white" | "admin" | "ghost"): boolean;
|
|
80
80
|
};
|
|
81
81
|
/** Button or Link size */
|
|
82
82
|
size: {
|
|
@@ -91,7 +91,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
91
91
|
variant: "main" | "primary" | "secondary" | "white" | "admin" | "ghost";
|
|
92
92
|
iconPosition: "left" | "right";
|
|
93
93
|
}, {}>, {
|
|
94
|
-
default
|
|
94
|
+
default?(_: {}): any;
|
|
95
95
|
}>;
|
|
96
96
|
export default _default;
|
|
97
97
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -52,9 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
isIndeterminate: import("vue").Ref<boolean>;
|
|
53
53
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
54
|
"update:checked": (value: boolean) => void;
|
|
55
|
-
} & {
|
|
56
55
|
focus: () => void;
|
|
57
|
-
} & {
|
|
58
56
|
blur: () => void;
|
|
59
57
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
58
|
/** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
|
|
@@ -119,8 +117,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
119
117
|
invalid: boolean;
|
|
120
118
|
value: string;
|
|
121
119
|
}, {}>, {
|
|
122
|
-
default
|
|
123
|
-
|
|
120
|
+
default?(_: {}): any;
|
|
121
|
+
"checkbox-content"?(_: {}): any;
|
|
124
122
|
}>;
|
|
125
123
|
export default _default;
|
|
126
124
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -156,7 +156,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
156
156
|
modelValue: number;
|
|
157
157
|
step: number;
|
|
158
158
|
}, {}>, {
|
|
159
|
-
default
|
|
159
|
+
default?(_: {}): any;
|
|
160
160
|
}>;
|
|
161
161
|
export default _default;
|
|
162
162
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
11
11
|
}>>, {
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
}, {}>, {
|
|
14
|
-
default
|
|
15
|
-
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
"divider-content"?(_: {}): any;
|
|
16
16
|
}>;
|
|
17
17
|
export default _default;
|
|
18
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
*/
|
|
53
53
|
options: {
|
|
54
54
|
type: PropType<Option[]>;
|
|
55
|
-
validator(value:
|
|
55
|
+
validator(value: Option[]): boolean;
|
|
56
56
|
default(): never[];
|
|
57
57
|
};
|
|
58
58
|
size: {
|
|
@@ -103,11 +103,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
103
103
|
generatedId: string;
|
|
104
104
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
105
105
|
"update:modelValue": (value: string | undefined) => void;
|
|
106
|
-
} & {
|
|
107
106
|
"dropdown:open": () => void;
|
|
108
|
-
} & {
|
|
109
107
|
"dropdown:hide": () => void;
|
|
110
|
-
} & {
|
|
111
108
|
"dropdown:reset": () => void;
|
|
112
109
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
113
110
|
/** DOM valid selector to give to Vue3 Teleport "to" property */
|
|
@@ -146,7 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
146
143
|
*/
|
|
147
144
|
options: {
|
|
148
145
|
type: PropType<Option[]>;
|
|
149
|
-
validator(value:
|
|
146
|
+
validator(value: Option[]): boolean;
|
|
150
147
|
default(): never[];
|
|
151
148
|
};
|
|
152
149
|
size: {
|
|
@@ -199,11 +196,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
199
196
|
"onDropdown:reset"?: (() => any) | undefined;
|
|
200
197
|
}, {
|
|
201
198
|
size: TJoyDropdownListSizes;
|
|
199
|
+
width: string;
|
|
200
|
+
height: string;
|
|
202
201
|
modelValue: string;
|
|
203
202
|
reset: boolean;
|
|
204
203
|
options: Option[];
|
|
205
|
-
width: string;
|
|
206
|
-
height: string;
|
|
207
204
|
appendTo: string | import("vue").RendererElement | null | undefined;
|
|
208
205
|
disableTeleport: boolean;
|
|
209
206
|
closeOnSelect: boolean;
|
|
@@ -211,11 +208,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
211
208
|
justify: "left" | "right";
|
|
212
209
|
dropdownGap: string;
|
|
213
210
|
}, {}>, {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
211
|
+
"dropdown-button"?(_: {}): any;
|
|
212
|
+
"dropdown-header"?(_: {}): any;
|
|
213
|
+
"dropdown-items"?(_: {}): any;
|
|
214
|
+
"dropdown-item"?(_: {
|
|
215
|
+
[x: string]: any;
|
|
216
|
+
id?: string | undefined;
|
|
217
|
+
value?: string | undefined;
|
|
218
|
+
label: string;
|
|
219
|
+
href?: string | undefined;
|
|
220
|
+
disabled?: boolean | undefined;
|
|
221
|
+
checked?: boolean | undefined;
|
|
222
|
+
}): any;
|
|
223
|
+
"dropdown-footer"?(_: {}): any;
|
|
219
224
|
}>;
|
|
220
225
|
export default _default;
|
|
221
226
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
21
|
*/
|
|
22
22
|
options: {
|
|
23
23
|
type: PropType<Option[]>;
|
|
24
|
-
validator(value:
|
|
24
|
+
validator(value: Option[]): boolean;
|
|
25
25
|
default(): never[];
|
|
26
26
|
};
|
|
27
27
|
/** Customize the actual size of each items. */
|
|
@@ -56,13 +56,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
56
|
};
|
|
57
57
|
}, {
|
|
58
58
|
isSelected: import("vue").ComputedRef<(option: Option) => boolean>;
|
|
59
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
61
|
+
reset: () => void;
|
|
62
|
+
"close:dropdownList": () => void;
|
|
63
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
64
|
/**
|
|
61
65
|
* In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
62
66
|
*/
|
|
63
67
|
options: {
|
|
64
68
|
type: PropType<Option[]>;
|
|
65
|
-
validator(value:
|
|
69
|
+
validator(value: Option[]): boolean;
|
|
66
70
|
default(): never[];
|
|
67
71
|
};
|
|
68
72
|
/** Customize the actual size of each items. */
|
|
@@ -95,17 +99,35 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
95
99
|
ariaLabel: {
|
|
96
100
|
type: StringConstructor;
|
|
97
101
|
};
|
|
98
|
-
}
|
|
102
|
+
}>> & {
|
|
103
|
+
onReset?: (() => any) | undefined;
|
|
104
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
105
|
+
"onClose:dropdownList"?: (() => any) | undefined;
|
|
106
|
+
}, {
|
|
99
107
|
size: TJoyDropdownListSizes;
|
|
100
|
-
reset: boolean;
|
|
101
|
-
options: Option[];
|
|
102
108
|
width: string;
|
|
103
109
|
height: string;
|
|
110
|
+
reset: boolean;
|
|
111
|
+
options: Option[];
|
|
104
112
|
}, {}>, {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
label
|
|
108
|
-
|
|
113
|
+
"dropdown-list-header"?(_: {}): any;
|
|
114
|
+
"dropdown-list-items"?(_: {}): any;
|
|
115
|
+
label?(_: {
|
|
116
|
+
[x: string]: any;
|
|
117
|
+
id?: string | undefined;
|
|
118
|
+
value?: string | undefined;
|
|
119
|
+
label: string;
|
|
120
|
+
href?: string | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
disabled?: boolean | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @default false
|
|
127
|
+
*/
|
|
128
|
+
checked?: boolean | undefined;
|
|
129
|
+
}): any;
|
|
130
|
+
"dropdown-list-footer"?(_: {}): any;
|
|
109
131
|
}>;
|
|
110
132
|
export default _default;
|
|
111
133
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
3
3
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
4
|
ariaLabel: StringConstructor;
|
|
5
5
|
}>>, {}, {}>, {
|
|
6
|
-
default
|
|
6
|
+
default?(_: {}): any;
|
|
7
7
|
}>;
|
|
8
8
|
export default _default;
|
|
9
9
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,7 +8,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
filter: (value: string) => void;
|
|
13
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
14
|
label: StringConstructor;
|
|
13
15
|
value: {
|
|
14
16
|
type: StringConstructor;
|
|
@@ -18,10 +20,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
20
|
type: BooleanConstructor;
|
|
19
21
|
default: boolean;
|
|
20
22
|
};
|
|
21
|
-
}
|
|
23
|
+
}>> & {
|
|
24
|
+
onFilter?: ((value: string) => any) | undefined;
|
|
25
|
+
}, {
|
|
22
26
|
active: boolean;
|
|
23
27
|
}, {}>, {
|
|
24
|
-
default
|
|
28
|
+
default?(_: {}): any;
|
|
25
29
|
}>;
|
|
26
30
|
export default _default;
|
|
27
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
-
'footer-left': (
|
|
3
|
-
'footer-right': (
|
|
4
|
-
}
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{
|
|
2
|
+
'footer-left': () => any;
|
|
3
|
+
'footer-right': () => any;
|
|
4
|
+
}>>;
|
|
5
5
|
export default _default;
|
|
6
6
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
7
|
new (): {
|
|
@@ -39,12 +39,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
39
|
profile: TJoyFunnelProfiles;
|
|
40
40
|
hideShapes: boolean;
|
|
41
41
|
layoutWidth: TJoyFunnelLayoutWidths;
|
|
42
|
-
}, {}>, {
|
|
43
|
-
|
|
44
|
-
'funnel-
|
|
45
|
-
|
|
46
|
-
'funnel-footer'
|
|
47
|
-
}
|
|
42
|
+
}, {}>, Readonly<{
|
|
43
|
+
default: () => any;
|
|
44
|
+
'funnel-header': () => any;
|
|
45
|
+
'funnel-stepper'?: (() => any) | undefined;
|
|
46
|
+
'funnel-footer'?: (() => any) | undefined;
|
|
47
|
+
}>>;
|
|
48
48
|
export default _default;
|
|
49
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
50
|
new (): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
-
'header-left': (
|
|
3
|
-
'header-right': (
|
|
4
|
-
}
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{
|
|
2
|
+
'header-left': () => any;
|
|
3
|
+
'header-right': () => any;
|
|
4
|
+
}>>;
|
|
5
5
|
export default _default;
|
|
6
6
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
7
|
new (): {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyHighlightLevels } from './JoyHighlight.types';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
3
|
accent: {
|
|
5
4
|
type: BooleanConstructor;
|
|
@@ -15,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
14
|
level: {
|
|
16
15
|
type: PropType<"neutral" | "success" | "info" | "warning" | "error">;
|
|
17
16
|
default: string;
|
|
18
|
-
validator(level:
|
|
17
|
+
validator(level: "neutral" | "success" | "info" | "warning" | "error"): boolean;
|
|
19
18
|
};
|
|
20
19
|
}, {
|
|
21
20
|
getRelevantIcon: import("vue").ComputedRef<import("@maltjoy/icons").JoyIconsId>;
|
|
@@ -34,15 +33,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
33
|
level: {
|
|
35
34
|
type: PropType<"neutral" | "success" | "info" | "warning" | "error">;
|
|
36
35
|
default: string;
|
|
37
|
-
validator(level:
|
|
36
|
+
validator(level: "neutral" | "success" | "info" | "warning" | "error"): boolean;
|
|
38
37
|
};
|
|
39
38
|
}>>, {
|
|
40
39
|
accent: boolean;
|
|
41
40
|
displayIcon: boolean;
|
|
42
41
|
level: "neutral" | "success" | "info" | "warning" | "error";
|
|
43
42
|
}, {}>, {
|
|
44
|
-
|
|
45
|
-
default
|
|
43
|
+
"highlight-title"?(_: {}): any;
|
|
44
|
+
default?(_: {}): any;
|
|
46
45
|
}>;
|
|
47
46
|
export default _default;
|
|
48
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -62,7 +62,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
62
|
};
|
|
63
63
|
/** Adds a legend like symbol on the right of the component. Made for number based values */
|
|
64
64
|
unit: StringConstructor;
|
|
65
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
|
+
"update:modelValue": (value: string) => void;
|
|
67
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
68
|
modelValue: {
|
|
67
69
|
type: PropType<string | number | null>;
|
|
68
70
|
};
|
|
@@ -124,7 +126,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
124
126
|
};
|
|
125
127
|
/** Adds a legend like symbol on the right of the component. Made for number based values */
|
|
126
128
|
unit: StringConstructor;
|
|
127
|
-
}
|
|
129
|
+
}>> & {
|
|
130
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
131
|
+
}, {
|
|
128
132
|
type: string;
|
|
129
133
|
size: TJoyInputSizes;
|
|
130
134
|
required: boolean;
|
|
@@ -137,7 +141,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
137
141
|
};
|
|
138
142
|
clearable: boolean;
|
|
139
143
|
}, {}>, {
|
|
140
|
-
default
|
|
144
|
+
default?(_: {}): any;
|
|
141
145
|
}>;
|
|
142
146
|
export default _default;
|
|
143
147
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyLabelSizes } from './JoyLabel.types';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
3
|
size: {
|
|
5
4
|
type: PropType<"small" | "large" | "medium">;
|
|
6
5
|
default: string;
|
|
7
|
-
validator(size:
|
|
6
|
+
validator(size: "small" | "large" | "medium"): boolean;
|
|
8
7
|
};
|
|
9
8
|
tagName: {
|
|
10
9
|
type: PropType<"label" | "legend">;
|
|
@@ -22,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
21
|
size: {
|
|
23
22
|
type: PropType<"small" | "large" | "medium">;
|
|
24
23
|
default: string;
|
|
25
|
-
validator(size:
|
|
24
|
+
validator(size: "small" | "large" | "medium"): boolean;
|
|
26
25
|
};
|
|
27
26
|
tagName: {
|
|
28
27
|
type: PropType<"label" | "legend">;
|
|
@@ -41,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
41
40
|
required: boolean;
|
|
42
41
|
tagName: "label" | "legend";
|
|
43
42
|
}, {}>, {
|
|
44
|
-
default
|
|
43
|
+
default?(_: {}): any;
|
|
45
44
|
}>;
|
|
46
45
|
export default _default;
|
|
47
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { LinkColors } from './JoyLink.types';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
3
|
href: {
|
|
5
4
|
type: StringConstructor;
|
|
@@ -8,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
8
7
|
color: {
|
|
9
8
|
type: PropType<"white" | "teal">;
|
|
10
9
|
default: string;
|
|
11
|
-
validator(color:
|
|
10
|
+
validator(color: "white" | "teal"): boolean;
|
|
12
11
|
};
|
|
13
12
|
icon: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
14
13
|
text: PropType<string | null>;
|
|
@@ -20,14 +19,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
20
19
|
color: {
|
|
21
20
|
type: PropType<"white" | "teal">;
|
|
22
21
|
default: string;
|
|
23
|
-
validator(color:
|
|
22
|
+
validator(color: "white" | "teal"): boolean;
|
|
24
23
|
};
|
|
25
24
|
icon: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
26
25
|
text: PropType<string | null>;
|
|
27
26
|
}>>, {
|
|
28
27
|
color: "white" | "teal";
|
|
29
28
|
}, {}>, {
|
|
30
|
-
default
|
|
29
|
+
default?(_: {}): any;
|
|
31
30
|
}>;
|
|
32
31
|
export default _default;
|
|
33
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IJoyMenuItem } from './JoyMenu.types';
|
|
3
|
+
declare function getItems(): HTMLElement[];
|
|
4
|
+
declare function getItemId(item: IJoyMenuItem): string;
|
|
5
|
+
declare function getFocusedItem(): HTMLElement | undefined;
|
|
3
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
7
|
/**
|
|
5
8
|
* In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
@@ -16,10 +19,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
16
19
|
};
|
|
17
20
|
}, {
|
|
18
21
|
activeMenuItemId: import("vue").Ref<string | undefined>;
|
|
19
|
-
getItems:
|
|
20
|
-
getItemId:
|
|
21
|
-
getFocusedItem:
|
|
22
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
getItems: typeof getItems;
|
|
23
|
+
getItemId: typeof getItemId;
|
|
24
|
+
getFocusedItem: typeof getFocusedItem;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
selectItem: (value: IJoyMenuItem) => void;
|
|
27
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
28
|
/**
|
|
24
29
|
* In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
25
30
|
*/
|
|
@@ -33,10 +38,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
38
|
ariaLabel: {
|
|
34
39
|
type: StringConstructor;
|
|
35
40
|
};
|
|
36
|
-
}
|
|
41
|
+
}>> & {
|
|
42
|
+
onSelectItem?: ((value: IJoyMenuItem) => any) | undefined;
|
|
43
|
+
}, {
|
|
37
44
|
items: IJoyMenuItem[];
|
|
38
45
|
}, {}>, {
|
|
39
|
-
|
|
46
|
+
"menu-item"?(_: {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
label: string;
|
|
50
|
+
href?: string | undefined;
|
|
51
|
+
to?: string | undefined;
|
|
52
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
53
|
+
current?: boolean | undefined;
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
|
+
}): any;
|
|
40
56
|
}>;
|
|
41
57
|
export default _default;
|
|
42
58
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
options: {
|
|
19
19
|
type: PropType<Option[]>;
|
|
20
20
|
required: true;
|
|
21
|
-
validator(value:
|
|
21
|
+
validator(value: Option[]): boolean;
|
|
22
22
|
};
|
|
23
23
|
id: StringConstructor;
|
|
24
24
|
value: {
|
|
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
45
|
options: {
|
|
46
46
|
type: PropType<Option[]>;
|
|
47
47
|
required: true;
|
|
48
|
-
validator(value:
|
|
48
|
+
validator(value: Option[]): boolean;
|
|
49
49
|
};
|
|
50
50
|
id: StringConstructor;
|
|
51
51
|
value: {
|
|
@@ -74,7 +74,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
74
74
|
labelSize: "small" | "large" | "medium";
|
|
75
75
|
requiredMark: boolean;
|
|
76
76
|
}, {}>, {
|
|
77
|
-
checkbox
|
|
77
|
+
checkbox?(_: {
|
|
78
|
+
id: string;
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
value: string;
|
|
81
|
+
label: string;
|
|
82
|
+
subLabel?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
disabled?: boolean | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* @default false
|
|
89
|
+
*/
|
|
90
|
+
required?: boolean | undefined;
|
|
91
|
+
}): any;
|
|
78
92
|
}>;
|
|
79
93
|
export default _default;
|
|
80
94
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -11,7 +11,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
click: () => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
17
|
label: {
|
|
16
18
|
type: StringConstructor;
|
|
17
19
|
required: false;
|
|
@@ -24,7 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
26
|
type: BooleanConstructor;
|
|
25
27
|
default: boolean;
|
|
26
28
|
};
|
|
27
|
-
}
|
|
29
|
+
}>> & {
|
|
30
|
+
onClick?: (() => any) | undefined;
|
|
31
|
+
}, {
|
|
28
32
|
disabled: boolean;
|
|
29
33
|
next: boolean;
|
|
30
34
|
}, {}>;
|
|
@@ -58,8 +58,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
58
58
|
currentPage: number;
|
|
59
59
|
totalPages: number;
|
|
60
60
|
}, {}>, {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
"pagination-prev"?(_: {}): any;
|
|
62
|
+
"pagination-next"?(_: {}): any;
|
|
63
63
|
}>;
|
|
64
64
|
export default _default;
|
|
65
65
|
type __VLS_WithTemplateSlots<T, S> = T & {
|