@maltjoy/core-vue 4.7.0 → 5.0.0-alpha.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/JoyAvatar/JoyAvatar.types.d.ts +1 -7
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +41 -16
- package/dist/components/JoyButton/JoyButton.types.d.ts +1 -1
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +2 -8
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +6 -4
- package/dist/components/JoyMenuItem/JoyMenuItem.types.d.ts +13 -0
- package/dist/components/JoyMenuItem/VJoyMenuItem.vue.d.ts +73 -0
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +4 -0
- package/dist/components/JoySelectableItem/VJoySelectableItem.types.d.ts +0 -1
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +0 -4
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +6 -0
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +3 -3
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +1 -1
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +10 -14
- package/dist/components/components.types.d.ts +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/core-vue.js +1675 -1627
- package/dist/core-vue.umd.cjs +2 -2
- package/dist/joy-core-vue-manifest.json +5 -5
- package/dist/style.css +1 -1
- package/joy-components.d.ts +1 -1
- package/package.json +31 -29
- package/LICENSE +0 -21
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +0 -29
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +0 -6
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { TSizes } from '../../types';
|
|
2
2
|
import VJoyAvatar from './VJoyAvatar.vue';
|
|
3
|
-
export type FreelancerAvatarColors = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'neutral';
|
|
4
|
-
export type CompanyAvatarColors = Exclude<FreelancerAvatarColors, 'neutral'>;
|
|
5
|
-
export interface AvatarColors {
|
|
6
|
-
freelancer: FreelancerAvatarColors | 'transparent';
|
|
7
|
-
company: CompanyAvatarColors;
|
|
8
|
-
}
|
|
9
3
|
/** AVATAR SIZES */
|
|
10
|
-
export type TJoyAvatarSizes = Extract<TSizes, 'large' | 'medium' | 'small'>;
|
|
4
|
+
export type TJoyAvatarSizes = Extract<TSizes, 'large' | 'medium' | 'small' | 'xsmall'>;
|
|
11
5
|
export type TJoyAvatarProps = InstanceType<typeof VJoyAvatar>['$props'];
|
|
@@ -1,35 +1,60 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
size?: TJoyAvatarSizes;
|
|
4
|
-
/** Only visible if you apply a fullName but not any photoUrl. */
|
|
5
|
-
color?: AvatarColors['freelancer'];
|
|
1
|
+
import { TJoyAvatarSizes } from './JoyAvatar.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
size?: TJoyAvatarSizes | undefined;
|
|
6
4
|
/** Display the initials based on Firstname and Lastname */
|
|
7
|
-
fullName?: string;
|
|
5
|
+
fullName?: string | undefined;
|
|
8
6
|
/** Pass a photo URL that will be displayed over the fullname */
|
|
9
|
-
photoUrl?: string;
|
|
7
|
+
photoUrl?: string | undefined;
|
|
10
8
|
/** In a big avatar list, you may have to say "there are still XYZ more avatars". Use this to display the amount. */
|
|
11
|
-
totalNumber?: number;
|
|
9
|
+
totalNumber?: number | undefined;
|
|
12
10
|
/** No functional purpose here. Only style. You need to trigger router change manually, depending on the framework you use. */
|
|
13
|
-
link?: boolean;
|
|
11
|
+
link?: boolean | undefined;
|
|
14
12
|
/** Use it to display "strategy" tag. */
|
|
15
|
-
profile?:
|
|
13
|
+
profile?: "default" | "strategy" | undefined;
|
|
16
14
|
/** Only applied if you set a photoUrl */
|
|
17
|
-
loading?:
|
|
15
|
+
loading?: "lazy" | "eager" | undefined;
|
|
18
16
|
/** Basic state with no information */
|
|
19
|
-
isEmpty?: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
isEmpty?: boolean | undefined;
|
|
18
|
+
square?: boolean | undefined;
|
|
19
|
+
/** Placeholder icon is no photo is given, and showLetters is set to false */
|
|
20
|
+
placeholder?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
21
|
+
/** If no photo is given and this parameter is set to false, it will directly display the placeholder icon */
|
|
22
|
+
showLetters?: boolean | undefined;
|
|
23
|
+
}, {
|
|
22
24
|
isAnonymous: import("vue").ComputedRef<boolean>;
|
|
23
25
|
initials: import("vue").ComputedRef<string>;
|
|
24
26
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
27
|
click: () => any;
|
|
26
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
29
|
+
size?: TJoyAvatarSizes | undefined;
|
|
30
|
+
/** Display the initials based on Firstname and Lastname */
|
|
31
|
+
fullName?: string | undefined;
|
|
32
|
+
/** Pass a photo URL that will be displayed over the fullname */
|
|
33
|
+
photoUrl?: string | undefined;
|
|
34
|
+
/** In a big avatar list, you may have to say "there are still XYZ more avatars". Use this to display the amount. */
|
|
35
|
+
totalNumber?: number | undefined;
|
|
36
|
+
/** No functional purpose here. Only style. You need to trigger router change manually, depending on the framework you use. */
|
|
37
|
+
link?: boolean | undefined;
|
|
38
|
+
/** Use it to display "strategy" tag. */
|
|
39
|
+
profile?: "default" | "strategy" | undefined;
|
|
40
|
+
/** Only applied if you set a photoUrl */
|
|
41
|
+
loading?: "lazy" | "eager" | undefined;
|
|
42
|
+
/** Basic state with no information */
|
|
43
|
+
isEmpty?: boolean | undefined;
|
|
44
|
+
square?: boolean | undefined;
|
|
45
|
+
/** Placeholder icon is no photo is given, and showLetters is set to false */
|
|
46
|
+
placeholder?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
47
|
+
/** If no photo is given and this parameter is set to false, it will directly display the placeholder icon */
|
|
48
|
+
showLetters?: boolean | undefined;
|
|
49
|
+
}> & Readonly<{
|
|
27
50
|
onClick?: (() => any) | undefined;
|
|
28
51
|
}>, {
|
|
29
|
-
color: import("./JoyAvatar.types").FreelancerAvatarColors | "transparent";
|
|
30
52
|
size: TJoyAvatarSizes;
|
|
31
53
|
loading: "lazy" | "eager";
|
|
32
54
|
profile: "default" | "strategy";
|
|
33
55
|
isEmpty: boolean;
|
|
56
|
+
square: boolean;
|
|
57
|
+
placeholder: import("@maltjoy/icons").JoyIconsId;
|
|
58
|
+
showLetters: boolean;
|
|
34
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
60
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TGenericVariants, TPositions, TSizes } from '../../types';
|
|
2
|
-
export type TJoyDefaultButtonVariants = TGenericVariants | 'main' | 'admin' | 'ghost'
|
|
2
|
+
export type TJoyDefaultButtonVariants = TGenericVariants | 'main' | 'admin' | 'ghost';
|
|
3
3
|
export type TJoyAIButtonVariants = `${TJoyDefaultButtonVariants}-ai`;
|
|
4
4
|
export type TJoyButtonVariants = TJoyDefaultButtonVariants | Exclude<TJoyAIButtonVariants, 'admin-ai'>;
|
|
5
5
|
export type TJoyButtonSizes = Exclude<TSizes, 'xlarge'>;
|
|
@@ -21,9 +21,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
-
/**
|
|
25
|
-
* DEPRECATED Invalid state of the component
|
|
26
|
-
*/
|
|
27
24
|
invalid: {
|
|
28
25
|
type: BooleanConstructor;
|
|
29
26
|
default: boolean;
|
|
@@ -77,9 +74,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
77
74
|
type: BooleanConstructor;
|
|
78
75
|
default: boolean;
|
|
79
76
|
};
|
|
80
|
-
/**
|
|
81
|
-
* DEPRECATED Invalid state of the component
|
|
82
|
-
*/
|
|
83
77
|
invalid: {
|
|
84
78
|
type: BooleanConstructor;
|
|
85
79
|
default: boolean;
|
|
@@ -112,10 +106,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
112
106
|
invalid: boolean;
|
|
113
107
|
required: boolean;
|
|
114
108
|
disabled: boolean;
|
|
109
|
+
value: string;
|
|
110
|
+
checked: boolean;
|
|
115
111
|
indeterminate: boolean;
|
|
116
112
|
displayFocus: boolean;
|
|
117
|
-
checked: boolean;
|
|
118
|
-
value: string;
|
|
119
113
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
120
114
|
/** Default slot for checkbox label. You can as well use the label property. */
|
|
121
115
|
default(): any;
|
|
@@ -5,7 +5,7 @@ declare function getItemId(item: IJoyMenuItem): string;
|
|
|
5
5
|
declare function getFocusedItem(): HTMLElement | undefined;
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
/**
|
|
8
|
-
* In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
8
|
+
* DEPRECATED: In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
9
9
|
*/
|
|
10
10
|
items: {
|
|
11
11
|
type: PropType<IJoyMenuItem[]>;
|
|
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
26
26
|
selectItem: (value: IJoyMenuItem) => any;
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
/**
|
|
29
|
-
* In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
29
|
+
* DEPRECATED: In order to make it work with v-model, you need to pass for each option, a value or an ID.
|
|
30
30
|
*/
|
|
31
31
|
items: {
|
|
32
32
|
type: PropType<IJoyMenuItem[]>;
|
|
@@ -43,11 +43,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
43
43
|
}>, {
|
|
44
44
|
items: IJoyMenuItem[];
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
46
|
+
default: () => any;
|
|
46
47
|
/** Customize the inner content of each menu item */
|
|
47
|
-
'menu-item'
|
|
48
|
+
'menu-item'?: ((item: IJoyMenuItem) => any) | undefined;
|
|
48
49
|
}> & {
|
|
50
|
+
default: () => any;
|
|
49
51
|
/** Customize the inner content of each menu item */
|
|
50
|
-
'menu-item'
|
|
52
|
+
'menu-item'?: ((item: IJoyMenuItem) => any) | undefined;
|
|
51
53
|
}>;
|
|
52
54
|
export default _default;
|
|
53
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import { TJoyIconsColors } from '../components.types';
|
|
3
|
+
import { ComponentProps } from 'vue-component-type-helpers';
|
|
4
|
+
declare const _default: <T extends "a" | "button" | Component>(__VLS_props: {
|
|
5
|
+
readonly onClick?: (() => any) | undefined;
|
|
6
|
+
label: string;
|
|
7
|
+
href?: string | undefined;
|
|
8
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
9
|
+
current?: boolean | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
status?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
12
|
+
statusColor?: TJoyIconsColors | undefined;
|
|
13
|
+
type?: T | undefined;
|
|
14
|
+
linkProps?: ComponentProps<T> | undefined;
|
|
15
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {};
|
|
18
|
+
emit: (e: 'click') => void;
|
|
19
|
+
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
20
|
+
getProps: import("vue").ComputedRef<ComponentProps<T> | {
|
|
21
|
+
href: string | undefined;
|
|
22
|
+
} | undefined>;
|
|
23
|
+
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
24
|
+
props: {
|
|
25
|
+
readonly onClick?: (() => any) | undefined;
|
|
26
|
+
label: string;
|
|
27
|
+
href?: string | undefined;
|
|
28
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
29
|
+
current?: boolean | undefined;
|
|
30
|
+
disabled?: boolean | undefined;
|
|
31
|
+
status?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
32
|
+
statusColor?: TJoyIconsColors | undefined;
|
|
33
|
+
type?: T | undefined;
|
|
34
|
+
linkProps?: ComponentProps<T> | undefined;
|
|
35
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
36
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
37
|
+
getProps: import("vue").ComputedRef<ComponentProps<T> | {
|
|
38
|
+
href: string | undefined;
|
|
39
|
+
} | undefined>;
|
|
40
|
+
}>): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: {};
|
|
43
|
+
emit: (e: 'click') => void;
|
|
44
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}> & {
|
|
47
|
+
__ctx?: {
|
|
48
|
+
props: {
|
|
49
|
+
readonly onClick?: (() => any) | undefined;
|
|
50
|
+
label: string;
|
|
51
|
+
href?: string | undefined;
|
|
52
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
53
|
+
current?: boolean | undefined;
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
|
+
status?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
56
|
+
statusColor?: TJoyIconsColors | undefined;
|
|
57
|
+
type?: T | undefined;
|
|
58
|
+
linkProps?: ComponentProps<T> | undefined;
|
|
59
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
60
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
61
|
+
getProps: import("vue").ComputedRef<ComponentProps<T> | {
|
|
62
|
+
href: string | undefined;
|
|
63
|
+
} | undefined>;
|
|
64
|
+
}>): void;
|
|
65
|
+
attrs: any;
|
|
66
|
+
slots: {};
|
|
67
|
+
emit: (e: 'click') => void;
|
|
68
|
+
} | undefined;
|
|
69
|
+
};
|
|
70
|
+
export default _default;
|
|
71
|
+
type __VLS_PrettifyLocal<T> = {
|
|
72
|
+
[K in keyof T]: T[K];
|
|
73
|
+
} & {};
|
|
@@ -74,6 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
74
74
|
'radio-content': () => any;
|
|
75
75
|
/** When using the theme outline, use this slot to inject hidden content */
|
|
76
76
|
'expandable-content': () => any;
|
|
77
|
+
/** Top right corner slot to display short informations */
|
|
78
|
+
'radio-header-right': () => any;
|
|
77
79
|
}> & {
|
|
78
80
|
/** Default label of the radio */
|
|
79
81
|
default(): any;
|
|
@@ -83,6 +85,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
83
85
|
'radio-content': () => any;
|
|
84
86
|
/** When using the theme outline, use this slot to inject hidden content */
|
|
85
87
|
'expandable-content': () => any;
|
|
88
|
+
/** Top right corner slot to display short informations */
|
|
89
|
+
'radio-header-right': () => any;
|
|
86
90
|
}>;
|
|
87
91
|
export default _default;
|
|
88
92
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TJoySelectableItemVariants } from './VJoySelectableItem.types';
|
|
2
1
|
declare const _default: <T extends unknown>(__VLS_props: {
|
|
3
2
|
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
4
3
|
disabled?: boolean | undefined;
|
|
@@ -12,7 +11,6 @@ declare const _default: <T extends unknown>(__VLS_props: {
|
|
|
12
11
|
label?: string | undefined;
|
|
13
12
|
subLabel?: string | undefined;
|
|
14
13
|
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
15
|
-
variant?: TJoySelectableItemVariants | undefined;
|
|
16
14
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
17
15
|
attrs: any;
|
|
18
16
|
slots: {
|
|
@@ -35,7 +33,6 @@ declare const _default: <T extends unknown>(__VLS_props: {
|
|
|
35
33
|
label?: string | undefined;
|
|
36
34
|
subLabel?: string | undefined;
|
|
37
35
|
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
38
|
-
variant?: TJoySelectableItemVariants | undefined;
|
|
39
36
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
40
37
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
41
38
|
attrs: any;
|
|
@@ -62,7 +59,6 @@ declare const _default: <T extends unknown>(__VLS_props: {
|
|
|
62
59
|
label?: string | undefined;
|
|
63
60
|
subLabel?: string | undefined;
|
|
64
61
|
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
65
|
-
variant?: TJoySelectableItemVariants | undefined;
|
|
66
62
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
67
63
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
68
64
|
attrs: any;
|
|
@@ -14,6 +14,8 @@ declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
|
14
14
|
labelSize?: TJoyLabelSizes | undefined;
|
|
15
15
|
optionalLabel?: string | undefined;
|
|
16
16
|
requiredMark?: boolean | undefined;
|
|
17
|
+
invalid?: boolean | undefined;
|
|
18
|
+
errorMessage?: string | undefined;
|
|
17
19
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
18
20
|
attrs: any;
|
|
19
21
|
slots: Readonly<{
|
|
@@ -39,6 +41,8 @@ declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
|
39
41
|
labelSize?: TJoyLabelSizes | undefined;
|
|
40
42
|
optionalLabel?: string | undefined;
|
|
41
43
|
requiredMark?: boolean | undefined;
|
|
44
|
+
invalid?: boolean | undefined;
|
|
45
|
+
errorMessage?: string | undefined;
|
|
42
46
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
43
47
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
44
48
|
attrs: any;
|
|
@@ -68,6 +72,8 @@ declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
|
68
72
|
labelSize?: TJoyLabelSizes | undefined;
|
|
69
73
|
optionalLabel?: string | undefined;
|
|
70
74
|
requiredMark?: boolean | undefined;
|
|
75
|
+
invalid?: boolean | undefined;
|
|
76
|
+
errorMessage?: string | undefined;
|
|
71
77
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
72
78
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
73
79
|
attrs: any;
|
|
@@ -10,7 +10,7 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
10
10
|
size?: TJoyTagSizes | undefined;
|
|
11
11
|
modelValue?: T[] | undefined;
|
|
12
12
|
invalid?: boolean | undefined;
|
|
13
|
-
validation?: "
|
|
13
|
+
validation?: "email" | "none" | undefined;
|
|
14
14
|
duplicationError?: string | undefined;
|
|
15
15
|
invalidEmailError?: string | undefined;
|
|
16
16
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
@@ -47,7 +47,7 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
47
47
|
size?: TJoyTagSizes | undefined;
|
|
48
48
|
modelValue?: T[] | undefined;
|
|
49
49
|
invalid?: boolean | undefined;
|
|
50
|
-
validation?: "
|
|
50
|
+
validation?: "email" | "none" | undefined;
|
|
51
51
|
duplicationError?: string | undefined;
|
|
52
52
|
invalidEmailError?: string | undefined;
|
|
53
53
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -88,7 +88,7 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
88
88
|
size?: TJoyTagSizes | undefined;
|
|
89
89
|
modelValue?: T[] | undefined;
|
|
90
90
|
invalid?: boolean | undefined;
|
|
91
|
-
validation?: "
|
|
91
|
+
validation?: "email" | "none" | undefined;
|
|
92
92
|
duplicationError?: string | undefined;
|
|
93
93
|
invalidEmailError?: string | undefined;
|
|
94
94
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -65,9 +65,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
65
65
|
onRemoveTag?: ((tagValue: string | number | undefined) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
67
|
variant: TJoyTagVariants;
|
|
68
|
-
align: TJoyTagsListAlign;
|
|
69
68
|
removable: boolean;
|
|
70
69
|
selectable: boolean;
|
|
70
|
+
align: TJoyTagsListAlign;
|
|
71
71
|
tags: TJoyTagsList;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
73
73
|
tag?(_: {
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyTooltipVariants } from './JoyTooltip.types';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
3
|
/** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
|
|
5
4
|
text: {
|
|
6
5
|
type: StringConstructor;
|
|
7
6
|
};
|
|
8
|
-
/** Deprecated: variant property will be removed in the next major version */
|
|
9
|
-
variant: {
|
|
10
|
-
type: PropType<TJoyTooltipVariants>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
7
|
/** It will automatically switch to another placement if there is not enough space. Please see https://floating-ui.com/docs/tutorial#placements for available values */
|
|
14
8
|
placement: {
|
|
15
9
|
type: PropType<import("@floating-ui/vue").MaybeReadonlyRefOrGetter<import("@floating-ui/vue").Placement | undefined>>;
|
|
@@ -35,7 +29,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
35
29
|
type: NumberConstructor;
|
|
36
30
|
default: number;
|
|
37
31
|
};
|
|
38
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated
|
|
34
|
+
*
|
|
35
|
+
* This property will be activated by default. Enable interacting with the content.
|
|
36
|
+
* */
|
|
39
37
|
enableClickInContent: {
|
|
40
38
|
type: BooleanConstructor;
|
|
41
39
|
default: boolean;
|
|
@@ -51,11 +49,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
51
49
|
text: {
|
|
52
50
|
type: StringConstructor;
|
|
53
51
|
};
|
|
54
|
-
/** Deprecated: variant property will be removed in the next major version */
|
|
55
|
-
variant: {
|
|
56
|
-
type: PropType<TJoyTooltipVariants>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
52
|
/** It will automatically switch to another placement if there is not enough space. Please see https://floating-ui.com/docs/tutorial#placements for available values */
|
|
60
53
|
placement: {
|
|
61
54
|
type: PropType<import("@floating-ui/vue").MaybeReadonlyRefOrGetter<import("@floating-ui/vue").Placement | undefined>>;
|
|
@@ -81,7 +74,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
81
74
|
type: NumberConstructor;
|
|
82
75
|
default: number;
|
|
83
76
|
};
|
|
84
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated
|
|
79
|
+
*
|
|
80
|
+
* This property will be activated by default. Enable interacting with the content.
|
|
81
|
+
* */
|
|
85
82
|
enableClickInContent: {
|
|
86
83
|
type: BooleanConstructor;
|
|
87
84
|
default: boolean;
|
|
@@ -90,7 +87,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
90
87
|
type: StringConstructor;
|
|
91
88
|
};
|
|
92
89
|
}>> & Readonly<{}>, {
|
|
93
|
-
variant: TJoyTooltipVariants;
|
|
94
90
|
show: boolean;
|
|
95
91
|
placement: import("@floating-ui/vue").MaybeReadonlyRefOrGetter<import("@floating-ui/vue").Placement | undefined>;
|
|
96
92
|
event: "click" | "mouseenter";
|
|
@@ -18,6 +18,7 @@ export * from './JoyLabel/JoyLabel.types';
|
|
|
18
18
|
export * from './JoyLink/JoyLink.types';
|
|
19
19
|
export * from './JoyLink/JoyLink.types';
|
|
20
20
|
export * from './JoyMenu/JoyMenu.types';
|
|
21
|
+
export * from './JoyMenuItem/JoyMenuItem.types';
|
|
21
22
|
export * from './JoyPanel/JoyPanel.types';
|
|
22
23
|
export * from './JoyProgressBar/JoyProgressBar.types';
|
|
23
24
|
export * from './JoyRadio/JoyRadio.types';
|
|
@@ -33,5 +34,4 @@ export * from './JoyTagsInput/JoyTagsInput.types';
|
|
|
33
34
|
export * from './JoyTagsList/JoyTagsList.types';
|
|
34
35
|
export * from './JoyTemplate/JoyTemplate.types';
|
|
35
36
|
export * from './JoyText/JoyText.types';
|
|
36
|
-
export * from './JoyTooltip/JoyTooltip.types';
|
|
37
37
|
export * from './JoyWrapper/JoyWrapper.types';
|
|
@@ -15,7 +15,6 @@ import { default as VJoyCompanyAvatar } from './JoyCompanyAvatar/VJoyCompanyAvat
|
|
|
15
15
|
import { default as VJoyCounter } from './JoyCounter/VJoyCounter.vue';
|
|
16
16
|
import { default as VJoyDialog } from './JoyDialog/VJoyDialog.vue';
|
|
17
17
|
import { default as VJoyDialogTrigger } from './JoyDialogTrigger/VJoyDialogTrigger.vue';
|
|
18
|
-
import { default as VJoyDividerCta } from './JoyDividerCta/VJoyDividerCta.vue';
|
|
19
18
|
import { default as VJoyDot } from './JoyDot/VJoyDot.vue';
|
|
20
19
|
import { default as VJoyDrawer } from './JoyDrawer/VJoyDrawer.vue';
|
|
21
20
|
import { default as VJoyDrawerTrigger } from './JoyDrawerTrigger/VJoyDrawerTrigger.vue';
|
|
@@ -39,6 +38,7 @@ import { default as VJoyLabel } from './JoyLabel/VJoyLabel.vue';
|
|
|
39
38
|
import { default as VJoyLink } from './JoyLink/VJoyLink.vue';
|
|
40
39
|
import { default as VJoyListItem } from './JoyListItem/VJoyListItem.vue';
|
|
41
40
|
import { default as VJoyMenu } from './JoyMenu/VJoyMenu.vue';
|
|
41
|
+
import { default as VJoyMenuItem } from './JoyMenuItem/VJoyMenuItem.vue';
|
|
42
42
|
import { default as VJoyMultiCheckbox } from './JoyMultiCheckbox/VJoyMultiCheckbox.vue';
|
|
43
43
|
import { default as VJoyPagination } from './JoyPagination/VJoyPagination.vue';
|
|
44
44
|
import { default as VJoyPanel } from './JoyPanel/VJoyPanel.vue';
|
|
@@ -74,4 +74,4 @@ import { default as VJoyUserCard } from './JoyUserCard/VJoyUserCard.vue';
|
|
|
74
74
|
import { default as VJoyWalkthrough } from './JoyWalkthrough/VJoyWalkthrough.vue';
|
|
75
75
|
import { default as VJoyWalkthroughTrigger } from './JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue';
|
|
76
76
|
import { default as VJoyWrapper } from './JoyWrapper/VJoyWrapper.vue';
|
|
77
|
-
export { VJoyAdminBanner, VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyBlockSkeleton, VJoyBottomSheet, VJoyBottomSheetTrigger, VJoyButton, VJoyCheckbox, VJoyCollapse, VJoyCollapseItem, VJoyCompanyAvatar, VJoyCounter, VJoyDialog, VJoyDialogTrigger,
|
|
77
|
+
export { VJoyAdminBanner, VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyBlockSkeleton, VJoyBottomSheet, VJoyBottomSheetTrigger, VJoyButton, VJoyCheckbox, VJoyCollapse, VJoyCollapseItem, VJoyCompanyAvatar, VJoyCounter, VJoyDialog, VJoyDialogTrigger, VJoyDot, VJoyDrawer, VJoyDrawerTrigger, VJoyDropdown, VJoyDropdownList, VJoyDropzone, VJoyFilterBar, VJoyFilterBarButton, VJoyFormError, VJoyFormFieldSkeleton, VJoyFunnel, VJoyFunnelFooter, VJoyFunnelHeader, VJoyHeader, VJoyHighlight, VJoyIcon, VJoyIndicator, VJoyIndicators, VJoyInput, VJoyLabel, VJoyLink, VJoyListItem, VJoyMenu, VJoyMenuItem, VJoyMultiCheckbox, VJoyPagination, VJoyPanel, VJoyPanelSection, VJoyProductTour, VJoyProductTourTrigger, VJoyProgressBar, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySnackbar, VJoySpinner, VJoyStep, VJoyStepper, VJoyTab, VJoyTabs, VJoyTag, VJoyTagsInput, VJoyTagsList, VJoyTemplate, VJoyTemplateShape, VJoyText, VJoyTextarea, VJoyTitleBrand, VJoyToggle, VJoyTooltip, VJoyUserCard, VJoyWalkthrough, VJoyWalkthroughTrigger, VJoyWrapper, };
|