@maltjoy/core-vue 4.0.1-next → 4.1.0-beta1
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/JoySelectableItem/VJoySelectableItem.types.d.ts +2 -1
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +78 -112
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +30 -24
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +4 -0
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +2 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/joy-core-vue-manifest.json +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +2 -2
- package/dist/pages/SelectableItemGroup.vue.d.ts +2 -0
- package/dist/pages/selectable-item-group.d.ts +15 -0
- package/dist/stories/tokens/tokens.d.ts +86 -0
- package/dist/{style-CHbDRLSW.js → style-BLnk5g0D.js} +1820 -1861
- package/dist/style-Dy-ra_YN.cjs +18 -0
- package/dist/style.css +1 -1
- package/package.json +13 -12
- package/dist/style-XLG-jCR7.cjs +0 -18
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import VJoySelectableItem from './VJoySelectableItem.vue';
|
|
2
|
-
|
|
2
|
+
import type { ComponentProps } from 'vue-component-type-helpers';
|
|
3
|
+
export type TVJoySelectableItemProps = ComponentProps<typeof VJoySelectableItem>;
|
|
3
4
|
export interface TJoySelectableItemOption extends TVJoySelectableItemProps {
|
|
4
5
|
attrs?: {
|
|
5
6
|
[k: string]: any;
|
|
@@ -1,114 +1,80 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { TJoySelectableItemVariants } from './VJoySelectableItem.types';
|
|
3
|
-
declare const _default:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
required
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
};
|
|
78
|
-
value: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
required: true;
|
|
81
|
-
};
|
|
82
|
-
label: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
};
|
|
85
|
-
subLabel: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
};
|
|
88
|
-
icon: {
|
|
89
|
-
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
90
|
-
};
|
|
91
|
-
variant: {
|
|
92
|
-
type: PropType<TJoySelectableItemVariants>;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
}>> & Readonly<{
|
|
96
|
-
"onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
|
|
97
|
-
}>, {
|
|
98
|
-
invalid: boolean;
|
|
99
|
-
required: boolean;
|
|
100
|
-
variant: TJoySelectableItemVariants;
|
|
101
|
-
disabled: boolean;
|
|
102
|
-
checked: boolean;
|
|
103
|
-
multiple: boolean;
|
|
104
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
105
|
-
default?(_: {}): any;
|
|
106
|
-
default?(_: {}): any;
|
|
107
|
-
"selectable-item-sublabel"?(_: {}): any;
|
|
108
|
-
}>;
|
|
109
|
-
export default _default;
|
|
110
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
111
|
-
new (): {
|
|
112
|
-
$slots: S;
|
|
113
|
-
};
|
|
2
|
+
declare const _default: <T extends unknown>(__VLS_props: {
|
|
3
|
+
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
invalid?: boolean | undefined;
|
|
7
|
+
multiple?: boolean | undefined;
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
required?: boolean | undefined;
|
|
10
|
+
checked?: boolean | undefined;
|
|
11
|
+
value?: T | undefined;
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
subLabel?: string | undefined;
|
|
14
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
15
|
+
variant?: TJoySelectableItemVariants | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
17
|
+
attrs: any;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
"selectable-item-sublabel"?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
emit: (e: 'update:checked', value: T | undefined) => void;
|
|
24
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
25
|
+
props: {
|
|
26
|
+
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
invalid?: boolean | undefined;
|
|
30
|
+
multiple?: boolean | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
required?: boolean | undefined;
|
|
33
|
+
checked?: boolean | undefined;
|
|
34
|
+
value?: T | undefined;
|
|
35
|
+
label?: string | undefined;
|
|
36
|
+
subLabel?: string | undefined;
|
|
37
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
38
|
+
variant?: TJoySelectableItemVariants | undefined;
|
|
39
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
40
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: {
|
|
43
|
+
default?(_: {}): any;
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
"selectable-item-sublabel"?(_: {}): any;
|
|
46
|
+
};
|
|
47
|
+
emit: (e: 'update:checked', value: T | undefined) => void;
|
|
48
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}> & {
|
|
51
|
+
__ctx?: {
|
|
52
|
+
props: {
|
|
53
|
+
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
|
+
id?: string | undefined;
|
|
56
|
+
invalid?: boolean | undefined;
|
|
57
|
+
multiple?: boolean | undefined;
|
|
58
|
+
name?: string | undefined;
|
|
59
|
+
required?: boolean | undefined;
|
|
60
|
+
checked?: boolean | undefined;
|
|
61
|
+
value?: T | undefined;
|
|
62
|
+
label?: string | undefined;
|
|
63
|
+
subLabel?: string | undefined;
|
|
64
|
+
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
65
|
+
variant?: TJoySelectableItemVariants | undefined;
|
|
66
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
67
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
68
|
+
attrs: any;
|
|
69
|
+
slots: {
|
|
70
|
+
default?(_: {}): any;
|
|
71
|
+
default?(_: {}): any;
|
|
72
|
+
"selectable-item-sublabel"?(_: {}): any;
|
|
73
|
+
};
|
|
74
|
+
emit: (e: 'update:checked', value: T | undefined) => void;
|
|
75
|
+
} | undefined;
|
|
114
76
|
};
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_PrettifyLocal<T> = {
|
|
79
|
+
[K in keyof T]: T[K];
|
|
80
|
+
} & {};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
|
|
2
2
|
import { TJoySelectableItemOption } from '../JoySelectableItem/VJoySelectableItem.types';
|
|
3
3
|
declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
4
|
-
readonly
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
5
|
+
options: T[];
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
value?: string | any[] | null | undefined;
|
|
8
|
+
valueKey?: keyof T | undefined;
|
|
9
9
|
multiple?: boolean | undefined;
|
|
10
|
-
|
|
10
|
+
fullWidth?: boolean | undefined;
|
|
11
|
+
required?: boolean | undefined;
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
labelKey?: keyof T | undefined;
|
|
11
14
|
labelSize?: TJoyLabelSizes | undefined;
|
|
15
|
+
optionalLabel?: string | undefined;
|
|
12
16
|
requiredMark?: boolean | undefined;
|
|
13
|
-
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
14
|
-
fullWidth?: boolean | undefined;
|
|
15
17
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
16
18
|
attrs: any;
|
|
17
19
|
slots: Readonly<{
|
|
@@ -24,17 +26,19 @@ declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
|
24
26
|
emit: (e: 'update:value', value: string | any[]) => void;
|
|
25
27
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
26
28
|
props: {
|
|
27
|
-
readonly
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
30
|
+
options: T[];
|
|
31
|
+
id?: string | undefined;
|
|
32
|
+
value?: string | any[] | null | undefined;
|
|
33
|
+
valueKey?: keyof T | undefined;
|
|
32
34
|
multiple?: boolean | undefined;
|
|
33
|
-
|
|
35
|
+
fullWidth?: boolean | undefined;
|
|
36
|
+
required?: boolean | undefined;
|
|
37
|
+
label?: string | undefined;
|
|
38
|
+
labelKey?: keyof T | undefined;
|
|
34
39
|
labelSize?: TJoyLabelSizes | undefined;
|
|
40
|
+
optionalLabel?: string | undefined;
|
|
35
41
|
requiredMark?: boolean | undefined;
|
|
36
|
-
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
37
|
-
fullWidth?: boolean | undefined;
|
|
38
42
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
39
43
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
40
44
|
attrs: any;
|
|
@@ -51,17 +55,19 @@ declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
|
51
55
|
}> & {
|
|
52
56
|
__ctx?: {
|
|
53
57
|
props: {
|
|
54
|
-
readonly
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
59
|
+
options: T[];
|
|
60
|
+
id?: string | undefined;
|
|
61
|
+
value?: string | any[] | null | undefined;
|
|
62
|
+
valueKey?: keyof T | undefined;
|
|
59
63
|
multiple?: boolean | undefined;
|
|
60
|
-
|
|
64
|
+
fullWidth?: boolean | undefined;
|
|
65
|
+
required?: boolean | undefined;
|
|
66
|
+
label?: string | undefined;
|
|
67
|
+
labelKey?: keyof T | undefined;
|
|
61
68
|
labelSize?: TJoyLabelSizes | undefined;
|
|
69
|
+
optionalLabel?: string | undefined;
|
|
62
70
|
requiredMark?: boolean | undefined;
|
|
63
|
-
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
64
|
-
fullWidth?: boolean | undefined;
|
|
65
71
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
66
72
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
67
73
|
attrs: any;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { ProductColors } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated
|
|
4
|
+
* Secondary will be removed in the next major version, making primary the only possible variant and then, the property obsolete.
|
|
5
|
+
*/
|
|
2
6
|
export type TJoyTooltipVariants = Extract<ProductColors, 'primary' | 'secondary'>;
|
|
@@ -5,6 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
5
5
|
text: {
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
};
|
|
8
|
+
/** Deprecated: variant property will be removed in the next major version */
|
|
8
9
|
variant: {
|
|
9
10
|
type: PropType<TJoyTooltipVariants>;
|
|
10
11
|
default: string;
|
|
@@ -47,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
47
48
|
text: {
|
|
48
49
|
type: StringConstructor;
|
|
49
50
|
};
|
|
51
|
+
/** Deprecated: variant property will be removed in the next major version */
|
|
50
52
|
variant: {
|
|
51
53
|
type: PropType<TJoyTooltipVariants>;
|
|
52
54
|
default: string;
|
package/dist/components.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./style-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./style-Dy-ra_YN.cjs"),y={install:e=>{typeof window<"u"&&o.createAllSnackbarsContainer(),e.directive("joy-ripple",o.vJoyRipple),e.directive("bind-once",o.BindOnceDirective)}};exports.VJoyAvailability=o.VJoyAvailability;exports.VJoyAvatar=o.VJoyAvatar;exports.VJoyAvatarsList=o.VJoyAvatarsList;exports.VJoyBadge=o.VJoyBadge;exports.VJoyBadgeLevel=o.VJoyBadgeLevel;exports.VJoyBlockSkeleton=o.VJoyBlockSkeleton;exports.VJoyBottomSheet=o.VJoyBottomSheet;exports.VJoyBottomSheetTrigger=o._sfc_main;exports.VJoyButton=o.VJoyButton;exports.VJoyCheckbox=o.VJoyCheckbox;exports.VJoyCollapse=o.VJoyCollapse;exports.VJoyCollapseItem=o.VJoyCollapseItem;exports.VJoyCompanyAvatar=o.VJoyCompanyAvatar;exports.VJoyCounter=o.VJoyCounter;exports.VJoyDialog=o.VJoyDialog;exports.VJoyDialogTrigger=o._sfc_main$1;exports.VJoyDividerCta=o.VJoyDividerCta;exports.VJoyDot=o.VJoyDot;exports.VJoyDrawer=o.VJoyDrawer;exports.VJoyDrawerTrigger=o._sfc_main$2;exports.VJoyDropdown=o.VJoyDropdown;exports.VJoyDropdownList=o.JoyDropdownList;exports.VJoyDropzone=o.VJoyDropzone;exports.VJoyFilterBar=o.VJoyFilterBar;exports.VJoyFilterBarButton=o.VJoyFilterBarButton;exports.VJoyFormError=o.VJoyFormError;exports.VJoyFormFieldSkeleton=o.VJoyFormFieldSkeleton;exports.VJoyFunnel=o.VJoyFunnel;exports.VJoyFunnelFooter=o.VJoyFunnelFooter;exports.VJoyHeader=o.VJoyHeader;exports.VJoyHighlight=o.VJoyHighlight;exports.VJoyIcon=o._sfc_main$3;exports.VJoyIndicator=o.VJoyIndicator;exports.VJoyIndicators=o.VJoyIndicators;exports.VJoyInput=o.VJoyInput;exports.VJoyLabel=o.VJoyLabel;exports.VJoyLink=o.VJoyLink;exports.VJoyListItem=o.VJoyListItem;exports.VJoyMenu=o.VJoyMenu;exports.VJoyMultiCheckbox=o.VJoyMultiCheckbox;exports.VJoyPagination=o.VJoyPagination;exports.VJoyPanel=o.VJoyPanel;exports.VJoyPanelSection=o.VJoyPanelSection;exports.VJoyProductTour=o._sfc_main$4;exports.VJoyProductTourTrigger=o._sfc_main$5;exports.VJoyProgressBar=o.VJoyProgressBar;exports.VJoyRadio=o.VJoyRadio;exports.VJoyRadioGroup=o.VJoyRadioGroup;exports.VJoyRatingStars=o.VJoyRatingStars;exports.VJoyScreenLoader=o.VJoyScreenLoader;exports.VJoySelect=o.VJoySelect;exports.VJoySelectableItem=o.VJoySelectableItem;exports.VJoySelectableItemGroup=o.VJoySelectableItemGroup;exports.VJoySeparator=o.VJoySeparator;exports.VJoySnackbar=o.VJoySnackbar;exports.VJoySpinner=o.VJoySpinner;exports.VJoyStep=o.VJoyStep;exports.VJoyStepper=o.VJoyStepper;exports.VJoyTab=o.VJoyTab;exports.VJoyTabs=o.VJoyTabs;exports.VJoyTag=o.VJoyTag;exports.VJoyTagsInput=o.VJoyTagsInput;exports.VJoyTagsList=o.VJoyTagsList;exports.VJoyTemplate=o.VJoyTemplate;exports.VJoyTemplateShape=o.VJoyTemplateShape;exports.VJoyText=o.VJoyText;exports.VJoyTextarea=o.VJoyTextarea;exports.VJoyToggle=o.VJoyToggle;exports.VJoyTooltip=o.VJoyTooltip;exports.VJoyUserCard=o.VJoyUserCard;exports.VJoyWalkthrough=o.VJoyWalkthrough;exports.VJoyWalkthroughTrigger=o.VJoyWalkthroughTrigger;exports.VJoyWrapper=o.VJoyWrapper;exports.createAllSnackbarsContainer=o.createAllSnackbarsContainer;exports.pushVJoySnackbar=o.pushVJoySnackbar;exports.resetCount=o.resetCount;exports.vJoyRipple=o.vJoyRipple;exports.JoyVueLightPlugin=y;
|
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aj as o, ak as s, al as e } from "./style-
|
|
2
|
-
import { V as t, a as i, b as n, c as l, d as g, e as p, f as c, _ as d, g as u, h as S, i as T, j as m, k as h, l as b, m as k, n as B, o as v, p as C, q as D, r as I, s as L, J as F, t as P, u as f, v as w, w as x, x as A, y as R, z as W, A as j, B as G, C as H, D as M, E as z, F as E, G as O, H as U, I as q, K, L as N, M as Q, N as X, O as Y, P as Z, Q as _, R as $, S as aa, T as oa, U as sa, W as ea, X as ya, Y as Ja, Z as Va, $ as ra, a0 as ta, a1 as ia, a2 as na, a3 as la, a4 as ga, a5 as pa, a6 as ca, a7 as da, a8 as ua, a9 as Sa, aa as Ta, ab as ma, ac as ha, ad as ba, ae as ka, af as Ba, ag as va, ah as Ca, ai as Da, am as Ia, an as La } from "./style-
|
|
1
|
+
import { aj as o, ak as s, al as e } from "./style-BLnk5g0D.js";
|
|
2
|
+
import { V as t, a as i, b as n, c as l, d as g, e as p, f as c, _ as d, g as u, h as S, i as T, j as m, k as h, l as b, m as k, n as B, o as v, p as C, q as D, r as I, s as L, J as F, t as P, u as f, v as w, w as x, x as A, y as R, z as W, A as j, B as G, C as H, D as M, E as z, F as E, G as O, H as U, I as q, K, L as N, M as Q, N as X, O as Y, P as Z, Q as _, R as $, S as aa, T as oa, U as sa, W as ea, X as ya, Y as Ja, Z as Va, $ as ra, a0 as ta, a1 as ia, a2 as na, a3 as la, a4 as ga, a5 as pa, a6 as ca, a7 as da, a8 as ua, a9 as Sa, aa as Ta, ab as ma, ac as ha, ad as ba, ae as ka, af as Ba, ag as va, ah as Ca, ai as Da, am as Ia, an as La } from "./style-BLnk5g0D.js";
|
|
3
3
|
const J = {
|
|
4
4
|
install: (a) => {
|
|
5
5
|
typeof window < "u" && o(), a.directive("joy-ripple", s), a.directive("bind-once", e);
|
package/dist/main.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./style-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./style-Dy-ra_YN.cjs"),V=Object.freeze(Object.defineProperty({__proto__:null,VJoyAvailability:o.VJoyAvailability,VJoyAvatar:o.VJoyAvatar,VJoyAvatarsList:o.VJoyAvatarsList,VJoyBadge:o.VJoyBadge,VJoyBadgeLevel:o.VJoyBadgeLevel,VJoyBlockSkeleton:o.VJoyBlockSkeleton,VJoyBottomSheet:o.VJoyBottomSheet,VJoyBottomSheetTrigger:o._sfc_main,VJoyButton:o.VJoyButton,VJoyCheckbox:o.VJoyCheckbox,VJoyCollapse:o.VJoyCollapse,VJoyCollapseItem:o.VJoyCollapseItem,VJoyCompanyAvatar:o.VJoyCompanyAvatar,VJoyCounter:o.VJoyCounter,VJoyDialog:o.VJoyDialog,VJoyDialogTrigger:o._sfc_main$1,VJoyDividerCta:o.VJoyDividerCta,VJoyDot:o.VJoyDot,VJoyDrawer:o.VJoyDrawer,VJoyDrawerTrigger:o._sfc_main$2,VJoyDropdown:o.VJoyDropdown,VJoyDropdownList:o.JoyDropdownList,VJoyDropzone:o.VJoyDropzone,VJoyFilterBar:o.VJoyFilterBar,VJoyFilterBarButton:o.VJoyFilterBarButton,VJoyFormError:o.VJoyFormError,VJoyFormFieldSkeleton:o.VJoyFormFieldSkeleton,VJoyFunnel:o.VJoyFunnel,VJoyFunnelFooter:o.VJoyFunnelFooter,VJoyHeader:o.VJoyHeader,VJoyHighlight:o.VJoyHighlight,VJoyIcon:o._sfc_main$3,VJoyIndicator:o.VJoyIndicator,VJoyIndicators:o.VJoyIndicators,VJoyInput:o.VJoyInput,VJoyLabel:o.VJoyLabel,VJoyLink:o.VJoyLink,VJoyListItem:o.VJoyListItem,VJoyMenu:o.VJoyMenu,VJoyMultiCheckbox:o.VJoyMultiCheckbox,VJoyPagination:o.VJoyPagination,VJoyPanel:o.VJoyPanel,VJoyPanelSection:o.VJoyPanelSection,VJoyProductTour:o._sfc_main$4,VJoyProductTourTrigger:o._sfc_main$5,VJoyProgressBar:o.VJoyProgressBar,VJoyRadio:o.VJoyRadio,VJoyRadioGroup:o.VJoyRadioGroup,VJoyRatingStars:o.VJoyRatingStars,VJoyScreenLoader:o.VJoyScreenLoader,VJoySelect:o.VJoySelect,VJoySelectableItem:o.VJoySelectableItem,VJoySelectableItemGroup:o.VJoySelectableItemGroup,VJoySeparator:o.VJoySeparator,VJoySnackbar:o.VJoySnackbar,VJoySpinner:o.VJoySpinner,VJoyStep:o.VJoyStep,VJoyStepper:o.VJoyStepper,VJoyTab:o.VJoyTab,VJoyTabs:o.VJoyTabs,VJoyTag:o.VJoyTag,VJoyTagsInput:o.VJoyTagsInput,VJoyTagsList:o.VJoyTagsList,VJoyTemplate:o.VJoyTemplate,VJoyTemplateShape:o.VJoyTemplateShape,VJoyText:o.VJoyText,VJoyTextarea:o.VJoyTextarea,VJoyToggle:o.VJoyToggle,VJoyTooltip:o.VJoyTooltip,VJoyUserCard:o.VJoyUserCard,VJoyWalkthrough:o.VJoyWalkthrough,VJoyWalkthroughTrigger:o.VJoyWalkthroughTrigger,VJoyWrapper:o.VJoyWrapper},Symbol.toStringTag,{value:"Module"})),t={install:e=>{Object.entries(V).forEach(([y,J])=>{e.component(y,J)}),typeof window<"u"&&o.createAllSnackbarsContainer(),e.directive("joy-ripple",o.vJoyRipple),e.directive("bind-once",o.BindOnceDirective)}};exports.VJoyAvailability=o.VJoyAvailability;exports.VJoyAvatar=o.VJoyAvatar;exports.VJoyAvatarsList=o.VJoyAvatarsList;exports.VJoyBadge=o.VJoyBadge;exports.VJoyBadgeLevel=o.VJoyBadgeLevel;exports.VJoyBlockSkeleton=o.VJoyBlockSkeleton;exports.VJoyBottomSheet=o.VJoyBottomSheet;exports.VJoyBottomSheetTrigger=o._sfc_main;exports.VJoyButton=o.VJoyButton;exports.VJoyCheckbox=o.VJoyCheckbox;exports.VJoyCollapse=o.VJoyCollapse;exports.VJoyCollapseItem=o.VJoyCollapseItem;exports.VJoyCompanyAvatar=o.VJoyCompanyAvatar;exports.VJoyCounter=o.VJoyCounter;exports.VJoyDialog=o.VJoyDialog;exports.VJoyDialogTrigger=o._sfc_main$1;exports.VJoyDividerCta=o.VJoyDividerCta;exports.VJoyDot=o.VJoyDot;exports.VJoyDrawer=o.VJoyDrawer;exports.VJoyDrawerTrigger=o._sfc_main$2;exports.VJoyDropdown=o.VJoyDropdown;exports.VJoyDropdownList=o.JoyDropdownList;exports.VJoyDropzone=o.VJoyDropzone;exports.VJoyFilterBar=o.VJoyFilterBar;exports.VJoyFilterBarButton=o.VJoyFilterBarButton;exports.VJoyFormError=o.VJoyFormError;exports.VJoyFormFieldSkeleton=o.VJoyFormFieldSkeleton;exports.VJoyFunnel=o.VJoyFunnel;exports.VJoyFunnelFooter=o.VJoyFunnelFooter;exports.VJoyHeader=o.VJoyHeader;exports.VJoyHighlight=o.VJoyHighlight;exports.VJoyIcon=o._sfc_main$3;exports.VJoyIndicator=o.VJoyIndicator;exports.VJoyIndicators=o.VJoyIndicators;exports.VJoyInput=o.VJoyInput;exports.VJoyLabel=o.VJoyLabel;exports.VJoyLink=o.VJoyLink;exports.VJoyListItem=o.VJoyListItem;exports.VJoyMenu=o.VJoyMenu;exports.VJoyMultiCheckbox=o.VJoyMultiCheckbox;exports.VJoyPagination=o.VJoyPagination;exports.VJoyPanel=o.VJoyPanel;exports.VJoyPanelSection=o.VJoyPanelSection;exports.VJoyProductTour=o._sfc_main$4;exports.VJoyProductTourTrigger=o._sfc_main$5;exports.VJoyProgressBar=o.VJoyProgressBar;exports.VJoyRadio=o.VJoyRadio;exports.VJoyRadioGroup=o.VJoyRadioGroup;exports.VJoyRatingStars=o.VJoyRatingStars;exports.VJoyScreenLoader=o.VJoyScreenLoader;exports.VJoySelect=o.VJoySelect;exports.VJoySelectableItem=o.VJoySelectableItem;exports.VJoySelectableItemGroup=o.VJoySelectableItemGroup;exports.VJoySeparator=o.VJoySeparator;exports.VJoySnackbar=o.VJoySnackbar;exports.VJoySpinner=o.VJoySpinner;exports.VJoyStep=o.VJoyStep;exports.VJoyStepper=o.VJoyStepper;exports.VJoyTab=o.VJoyTab;exports.VJoyTabs=o.VJoyTabs;exports.VJoyTag=o.VJoyTag;exports.VJoyTagsInput=o.VJoyTagsInput;exports.VJoyTagsList=o.VJoyTagsList;exports.VJoyTemplate=o.VJoyTemplate;exports.VJoyTemplateShape=o.VJoyTemplateShape;exports.VJoyText=o.VJoyText;exports.VJoyTextarea=o.VJoyTextarea;exports.VJoyToggle=o.VJoyToggle;exports.VJoyTooltip=o.VJoyTooltip;exports.VJoyUserCard=o.VJoyUserCard;exports.VJoyWalkthrough=o.VJoyWalkthrough;exports.VJoyWalkthroughTrigger=o.VJoyWalkthroughTrigger;exports.VJoyWrapper=o.VJoyWrapper;exports.createAllSnackbarsContainer=o.createAllSnackbarsContainer;exports.pushVJoySnackbar=o.pushVJoySnackbar;exports.resetCount=o.resetCount;exports.vJoyRipple=o.vJoyRipple;exports.JoyVuePlugin=t;
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as e, a as r, b as y, c as t, d as J, e as V, f as i, _ as n, g as l, h as c, i as g, j as p, k as d, l as u, m, n as T, o as S, p as b, q as _, r as f, s as h, J as D, t as k, u as B, v, w as C, x as I, y as L, z as P, A as w, B as F, C as x, D as j, E as A, F as $, G as O, H as R, I as M, K as W, L as z, M as E, N as G, O as H, P as U, Q as q, R as K, S as N, T as Q, U as X, W as Y, X as Z, Y as aa, Z as oa, $ as sa, a0 as ea, a1 as ra, a2 as ya, a3 as ta, a4 as Ja, a5 as Va, a6 as ia, a7 as na, a8 as la, a9 as ca, aa as ga, ab as pa, ac as da, ad as ua, ae as ma, af as Ta, ag as Sa, ah as ba, ai as _a, aj as fa, ak as ha, al as Da } from "./style-
|
|
2
|
-
import { am as La, an as Pa } from "./style-
|
|
1
|
+
import { V as e, a as r, b as y, c as t, d as J, e as V, f as i, _ as n, g as l, h as c, i as g, j as p, k as d, l as u, m, n as T, o as S, p as b, q as _, r as f, s as h, J as D, t as k, u as B, v, w as C, x as I, y as L, z as P, A as w, B as F, C as x, D as j, E as A, F as $, G as O, H as R, I as M, K as W, L as z, M as E, N as G, O as H, P as U, Q as q, R as K, S as N, T as Q, U as X, W as Y, X as Z, Y as aa, Z as oa, $ as sa, a0 as ea, a1 as ra, a2 as ya, a3 as ta, a4 as Ja, a5 as Va, a6 as ia, a7 as na, a8 as la, a9 as ca, aa as ga, ab as pa, ac as da, ad as ua, ae as ma, af as Ta, ag as Sa, ah as ba, ai as _a, aj as fa, ak as ha, al as Da } from "./style-BLnk5g0D.js";
|
|
2
|
+
import { am as La, an as Pa } from "./style-BLnk5g0D.js";
|
|
3
3
|
const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
VJoyAvailability: e,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TJoySelectableItemOption } from '@/components/components.types';
|
|
2
|
+
export interface BusinessResource {
|
|
3
|
+
customId?: string;
|
|
4
|
+
customLabel?: string;
|
|
5
|
+
}
|
|
6
|
+
export type ExtendedBusinessResource = BusinessResource & TJoySelectableItemOption;
|
|
7
|
+
export declare const businessResource: ({
|
|
8
|
+
customLabel: string;
|
|
9
|
+
customId: string;
|
|
10
|
+
value: string;
|
|
11
|
+
} | {
|
|
12
|
+
customLabel: string;
|
|
13
|
+
customId: string;
|
|
14
|
+
value?: undefined;
|
|
15
|
+
})[];
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const tokens: {
|
|
2
|
+
colors: {
|
|
3
|
+
neutral: {
|
|
4
|
+
'--joy-color-neutral-10': string;
|
|
5
|
+
'--joy-color-neutral-20': string;
|
|
6
|
+
'--joy-color-neutral-30': string;
|
|
7
|
+
'--joy-color-neutral-40': string;
|
|
8
|
+
'--joy-color-neutral-50': string;
|
|
9
|
+
'--joy-color-neutral-60': string;
|
|
10
|
+
'--joy-color-neutral-70': string;
|
|
11
|
+
};
|
|
12
|
+
primary: {
|
|
13
|
+
'--joy-color-primary-10': string;
|
|
14
|
+
'--joy-color-primary-30': string;
|
|
15
|
+
'--joy-color-primary-50': string;
|
|
16
|
+
'--joy-color-primary-70': string;
|
|
17
|
+
'--joy-color-primary-90': string;
|
|
18
|
+
};
|
|
19
|
+
secondary: {
|
|
20
|
+
'--joy-color-secondary-10': string;
|
|
21
|
+
'--joy-color-secondary-30': string;
|
|
22
|
+
'--joy-color-secondary-50': string;
|
|
23
|
+
'--joy-color-secondary-90': string;
|
|
24
|
+
};
|
|
25
|
+
tertiary: {
|
|
26
|
+
'--joy-color-tertiary-10': string;
|
|
27
|
+
'--joy-color-tertiary-30': string;
|
|
28
|
+
'--joy-color-tertiary-50': string;
|
|
29
|
+
'--joy-color-tertiary-70': string;
|
|
30
|
+
};
|
|
31
|
+
quaternary: {
|
|
32
|
+
'--joy-color-quaternary-10': string;
|
|
33
|
+
'--joy-color-quaternary-30': string;
|
|
34
|
+
'--joy-color-quaternary-50': string;
|
|
35
|
+
'--joy-color-quaternary-70': string;
|
|
36
|
+
'--joy-color-quaternary-100': string;
|
|
37
|
+
};
|
|
38
|
+
'brand-primary': {
|
|
39
|
+
'--joy-color-brand-primary-10': string;
|
|
40
|
+
'--joy-color-brand-primary-30': string;
|
|
41
|
+
'--joy-color-brand-primary-50': string;
|
|
42
|
+
'--joy-color-brand-primary-70': string;
|
|
43
|
+
};
|
|
44
|
+
'brand-secondary': {
|
|
45
|
+
'--joy-color-brand-secondary-10': string;
|
|
46
|
+
'--joy-color-brand-secondary-30': string;
|
|
47
|
+
'--joy-color-brand-secondary-50': string;
|
|
48
|
+
'--joy-color-brand-secondary-70': string;
|
|
49
|
+
};
|
|
50
|
+
'ai-primary': {
|
|
51
|
+
'--joy-color-ai-primary-10': string;
|
|
52
|
+
'--joy-color-ai-primary-30': string;
|
|
53
|
+
'--joy-color-ai-primary-70': string;
|
|
54
|
+
'--joy-color-ai-primary-100': string;
|
|
55
|
+
};
|
|
56
|
+
'ai-gradient': {
|
|
57
|
+
'--joy-color-ai-gradient-10': string;
|
|
58
|
+
'--joy-color-ai-gradient-30': string;
|
|
59
|
+
'--joy-color-ai-gradient-70': string;
|
|
60
|
+
'--joy-color-ai-gradient-100': string;
|
|
61
|
+
};
|
|
62
|
+
success: {
|
|
63
|
+
'--joy-color-success-10': string;
|
|
64
|
+
'--joy-color-success-50': string;
|
|
65
|
+
'--joy-color-success-90': string;
|
|
66
|
+
};
|
|
67
|
+
information: {
|
|
68
|
+
'--joy-color-information-10': string;
|
|
69
|
+
'--joy-color-information-50': string;
|
|
70
|
+
'--joy-color-information-90': string;
|
|
71
|
+
};
|
|
72
|
+
warning: {
|
|
73
|
+
'--joy-color-warning-10': string;
|
|
74
|
+
'--joy-color-warning-50': string;
|
|
75
|
+
'--joy-color-warning-90': string;
|
|
76
|
+
};
|
|
77
|
+
error: {
|
|
78
|
+
'--joy-color-error-10': string;
|
|
79
|
+
'--joy-color-error-50': string;
|
|
80
|
+
'--joy-color-error-90': string;
|
|
81
|
+
};
|
|
82
|
+
overlay: {
|
|
83
|
+
'--joy-color-overlay': string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|