@maltjoy/core-vue 6.4.0 → 6.5.0-beta.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/core-vue.js +3176 -2959
- package/dist/core-vue.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/App.vue.d.ts +0 -2
- package/dist/components/JoyAdminBanner/VJoyAdminBanner.vue.d.ts +0 -7
- package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +0 -1
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +0 -10
- package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +0 -5
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +0 -68
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +0 -27
- package/dist/components/JoyBadge/JoyBadge.types.d.ts +0 -2
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +0 -66
- package/dist/components/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +0 -12
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +0 -49
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +0 -32
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +0 -49
- package/dist/components/JoyButton/JoyButton.types.d.ts +0 -6
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +0 -101
- package/dist/components/JoyButtonCard/JoyButtonCard.types.d.ts +0 -13
- package/dist/components/JoyButtonCard/VJoyButtonCard.vue.d.ts +0 -18
- package/dist/components/JoyCheckbox/JoyCheckbox.types.d.ts +0 -26
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +0 -36
- package/dist/components/JoyCheckboxCard/JoyCheckboxCard.types.d.ts +0 -7
- package/dist/components/JoyCheckboxCard/VJoyCheckboxCard.vue.d.ts +0 -35
- package/dist/components/JoyCheckboxGroup/VJoyCheckboxGroup.vue.d.ts +0 -67
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +0 -215
- package/dist/components/JoyCollapseItem/JoyCollapseItem.types.d.ts +0 -5
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +0 -101
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +0 -2
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +0 -39
- package/dist/components/JoyDialog/JoyDialog.types.d.ts +0 -2
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +0 -227
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +0 -563
- package/dist/components/JoyDot/VJoyDot.types.d.ts +0 -1
- package/dist/components/JoyDot/VJoyDot.vue.d.ts +0 -15
- package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +0 -1
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +0 -192
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +0 -497
- package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +0 -18
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +0 -220
- package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +0 -2
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +0 -136
- package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +0 -153
- package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +0 -84
- package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +0 -26
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +0 -19
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +0 -43
- package/dist/components/JoyFloatingActionsBar/VJoyFloatingActionsBar.vue.d.ts +0 -30
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +0 -63
- package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +0 -41
- package/dist/components/JoyFormGroup/VJoyFormGroup.vue.d.ts +0 -13
- package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +0 -3
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +0 -71
- package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +0 -13
- package/dist/components/JoyFunnelHeader/VJoyFunnelHeader.vue.d.ts +0 -13
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +0 -3
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +0 -76
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +0 -5
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +0 -62
- package/dist/components/JoyIconButton/JoyIconButton.types.d.ts +0 -5
- package/dist/components/JoyIconButton/VJoyIconButton.vue.d.ts +0 -80
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +0 -44
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +0 -1
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +0 -74
- package/dist/components/JoyInput/JoyInput.types.d.ts +0 -33
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +0 -38
- package/dist/components/JoyInputDigit/JoyInputDigit.types.d.ts +0 -14
- package/dist/components/JoyInputDigit/VJoyInputDigit.vue.d.ts +0 -24
- package/dist/components/JoyInputNumber/VJoyInputNumber.vue.d.ts +0 -33
- package/dist/components/JoyInputPassword/VJoyInputPassword.vue.d.ts +0 -31
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +0 -3
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +0 -57
- package/dist/components/JoyLink/JoyLink.types.d.ts +0 -2
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +0 -41
- package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +0 -21
- package/dist/components/JoyMenu/JoyMenu.types.d.ts +0 -13
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +0 -59
- package/dist/components/JoyMenuItem/JoyMenuItem.types.d.ts +0 -13
- package/dist/components/JoyMenuItem/VJoyMenuItem.vue.d.ts +0 -73
- package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +0 -35
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +0 -84
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +0 -4
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +0 -103
- package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +0 -10
- package/dist/components/JoyPasswordRequirement/JoyPasswordRequirement.types.d.ts +0 -7
- package/dist/components/JoyPasswordRequirement/VJoyPasswordRequirement.vue.d.ts +0 -13
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +0 -174
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +0 -38
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +0 -6
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +0 -21
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +0 -27
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +0 -167
- package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +0 -2
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +0 -67
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +0 -1
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +0 -117
- package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +0 -1
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +0 -33
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +0 -2
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +0 -51
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +0 -1
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +0 -44
- package/dist/components/JoySelect/JoySelect.types.d.ts +0 -2
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +0 -121
- package/dist/components/JoySelectableItem/VJoySelectableItem.types.d.ts +0 -8
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +0 -76
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +0 -93
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +0 -3
- package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +0 -24
- package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +0 -19
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +0 -104
- package/dist/components/JoySnackbar/VJoySnackbarService.d.ts +0 -25
- package/dist/components/JoySnackbar/index.d.ts +0 -1
- package/dist/components/JoySpinner/JoySpinner.types.d.ts +0 -1
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +0 -12
- package/dist/components/JoyStep/TJoyStep.types.d.ts +0 -1
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +0 -86
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +0 -171
- package/dist/components/JoyTab/TabButton.vue.d.ts +0 -79
- package/dist/components/JoyTab/VJoyTab.vue.d.ts +0 -81
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +0 -103
- package/dist/components/JoyTag/JoyTag.types.d.ts +0 -14
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +0 -52
- package/dist/components/JoyTagsInput/JoyTagsInput.service.d.ts +0 -5
- package/dist/components/JoyTagsInput/JoyTagsInput.types.d.ts +0 -4
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +0 -124
- package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +0 -4
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +0 -140
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +0 -1
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +0 -92
- package/dist/components/JoyTemplate/_JoyTemplateShape/TemplateShape.vue.d.ts +0 -2
- package/dist/components/JoyText/JoyText.types.d.ts +0 -4
- package/dist/components/JoyText/VJoyText.vue.d.ts +0 -40
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +0 -155
- package/dist/components/JoyTitleBrand/VJoyTitleBrand.vue.d.ts +0 -19
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +0 -104
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +0 -112
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +0 -71
- package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +0 -39
- package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +0 -9
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +0 -5
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +0 -100
- package/dist/components/compat.d.ts +0 -1
- package/dist/components/component-metadata.d.ts +0 -22
- package/dist/components/components.d.ts +0 -8
- package/dist/components/components.types.d.ts +0 -42
- package/dist/components/index.d.ts +0 -84
- package/dist/composables/events.d.ts +0 -5
- package/dist/composables/helpers.d.ts +0 -9
- package/dist/composables/index.d.ts +0 -4
- package/dist/directives/index.d.ts +0 -1
- package/dist/directives/ripple.d.ts +0 -4
- package/dist/events/bus.d.ts +0 -3
- package/dist/events/index.d.ts +0 -1
- package/dist/helpers/index.d.ts +0 -15
- package/dist/joy-core-vue-manifest.json +0 -96
- package/dist/main.d.ts +0 -1
- package/dist/pages/FunnelAndStepper.vue.d.ts +0 -2
- package/dist/pages/FunnelMode.vue.d.ts +0 -2
- package/dist/pages/IndexPage.vue.d.ts +0 -2
- package/dist/stories/fixtures/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -27
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RadioThemes } from './JoyRadio.types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
disabled: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
id: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
};
|
|
11
|
-
name: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
};
|
|
14
|
-
required: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
modelValue: {
|
|
19
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
20
|
-
};
|
|
21
|
-
/** Change the layout by using this property */
|
|
22
|
-
theme: {
|
|
23
|
-
type: PropType<RadioThemes>;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
value: {
|
|
27
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Invalid state of the component
|
|
32
|
-
*
|
|
33
|
-
* If not explicitly provided, will inherit from parent VJoyRadioGroup's invalid prop.
|
|
34
|
-
* Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state).
|
|
35
|
-
*/
|
|
36
|
-
invalid: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
}>, {
|
|
41
|
-
checked: import("vue").ComputedRef<boolean>;
|
|
42
|
-
isExpanded: import("vue").Ref<boolean, boolean>;
|
|
43
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
44
|
-
"update:modelValue": (value: string | number) => any;
|
|
45
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
disabled: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
id: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
};
|
|
53
|
-
name: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
};
|
|
56
|
-
required: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
modelValue: {
|
|
61
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
62
|
-
};
|
|
63
|
-
/** Change the layout by using this property */
|
|
64
|
-
theme: {
|
|
65
|
-
type: PropType<RadioThemes>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
value: {
|
|
69
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Invalid state of the component
|
|
74
|
-
*
|
|
75
|
-
* If not explicitly provided, will inherit from parent VJoyRadioGroup's invalid prop.
|
|
76
|
-
* Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state).
|
|
77
|
-
*/
|
|
78
|
-
invalid: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
default: undefined;
|
|
81
|
-
};
|
|
82
|
-
}>> & Readonly<{
|
|
83
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
84
|
-
}>, {
|
|
85
|
-
invalid: boolean;
|
|
86
|
-
required: boolean;
|
|
87
|
-
disabled: boolean;
|
|
88
|
-
theme: RadioThemes;
|
|
89
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
90
|
-
/** Default label of the radio */
|
|
91
|
-
default(): any;
|
|
92
|
-
/** Sub label, pre-styled. */
|
|
93
|
-
'radio-sublabel': () => any;
|
|
94
|
-
/** Radio content, styled like the expandable-content but always visible. */
|
|
95
|
-
'radio-content': () => any;
|
|
96
|
-
/** When using the theme outline, use this slot to inject hidden content */
|
|
97
|
-
'expandable-content': () => any;
|
|
98
|
-
/** Top right corner slot to display short informations */
|
|
99
|
-
'radio-header-right': () => any;
|
|
100
|
-
}> & {
|
|
101
|
-
/** Default label of the radio */
|
|
102
|
-
default(): any;
|
|
103
|
-
/** Sub label, pre-styled. */
|
|
104
|
-
'radio-sublabel': () => any;
|
|
105
|
-
/** Radio content, styled like the expandable-content but always visible. */
|
|
106
|
-
'radio-content': () => any;
|
|
107
|
-
/** When using the theme outline, use this slot to inject hidden content */
|
|
108
|
-
'expandable-content': () => any;
|
|
109
|
-
/** Top right corner slot to display short informations */
|
|
110
|
-
'radio-header-right': () => any;
|
|
111
|
-
}>;
|
|
112
|
-
export default _default;
|
|
113
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
114
|
-
new (): {
|
|
115
|
-
$slots: S;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type RadioGroupDirection = 'vertical' | 'horizontal';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { RadioGroupDirection } from './JoyRadioGroup.types';
|
|
2
|
-
export interface RadioGroupProps {
|
|
3
|
-
direction?: RadioGroupDirection;
|
|
4
|
-
form?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
/**
|
|
7
|
-
* Invalid state of the radio group
|
|
8
|
-
*
|
|
9
|
-
* When set to true, all child VJoyRadio components will inherit this invalid state.
|
|
10
|
-
* Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state at the radio level).
|
|
11
|
-
*/
|
|
12
|
-
invalid?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{}>, {
|
|
15
|
-
invalid: boolean;
|
|
16
|
-
direction: RadioGroupDirection;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
18
|
-
/** Label of the radio group */
|
|
19
|
-
'radio-group-legend': () => any;
|
|
20
|
-
/** Use it to render the VJoyRadio */
|
|
21
|
-
default(): any;
|
|
22
|
-
}> & {
|
|
23
|
-
/** Label of the radio group */
|
|
24
|
-
'radio-group-legend': () => any;
|
|
25
|
-
/** Use it to render the VJoyRadio */
|
|
26
|
-
default(): any;
|
|
27
|
-
}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyRatingStarsSizes } from './JoyRatingStars.types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
/** Between 0 and 5 */
|
|
5
|
-
ratingValue: {
|
|
6
|
-
type: NumberConstructor;
|
|
7
|
-
default: number;
|
|
8
|
-
};
|
|
9
|
-
/** Display the amount of review leading to the rating value */
|
|
10
|
-
reviewCount: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
default: number;
|
|
13
|
-
};
|
|
14
|
-
size: {
|
|
15
|
-
type: PropType<TJoyRatingStarsSizes>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
}>, {
|
|
19
|
-
setStars: import("vue").ComputedRef<string[]>;
|
|
20
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
/** Between 0 and 5 */
|
|
22
|
-
ratingValue: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
default: number;
|
|
25
|
-
};
|
|
26
|
-
/** Display the amount of review leading to the rating value */
|
|
27
|
-
reviewCount: {
|
|
28
|
-
type: NumberConstructor;
|
|
29
|
-
default: number;
|
|
30
|
-
};
|
|
31
|
-
size: {
|
|
32
|
-
type: PropType<TJoyRatingStarsSizes>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
}>> & Readonly<{}>, {
|
|
36
|
-
size: TJoyRatingStarsSizes;
|
|
37
|
-
ratingValue: number;
|
|
38
|
-
reviewCount: number;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
40
|
-
/** Use this to inject some basic text */
|
|
41
|
-
'rating-stars-content': () => any;
|
|
42
|
-
}> & {
|
|
43
|
-
/** Use this to inject some basic text */
|
|
44
|
-
'rating-stars-content': () => any;
|
|
45
|
-
}>;
|
|
46
|
-
export default _default;
|
|
47
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
-
new (): {
|
|
49
|
-
$slots: S;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TJoyScreenLoaderColors = 'dark' | 'light';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyScreenLoaderColors } from './VJoyScreenLoader.types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
/** Light or dark. Changes the spinner and background color */
|
|
5
|
-
color: {
|
|
6
|
-
type: PropType<TJoyScreenLoaderColors>;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
/** The overlay mode set the component in an absolute position, and covers all the parent's area. */
|
|
10
|
-
overlay: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
/** Light or dark. Changes the spinner and background color */
|
|
16
|
-
color: {
|
|
17
|
-
type: PropType<TJoyScreenLoaderColors>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
/** The overlay mode set the component in an absolute position, and covers all the parent's area. */
|
|
21
|
-
overlay: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
}>> & Readonly<{}>, {
|
|
26
|
-
color: TJoyScreenLoaderColors;
|
|
27
|
-
overlay: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
29
|
-
/** Override the spinner */
|
|
30
|
-
spinner?: (() => any) | undefined;
|
|
31
|
-
/** Inject text or whatever you want below the spinner */
|
|
32
|
-
content?: (() => any) | undefined;
|
|
33
|
-
}> & {
|
|
34
|
-
/** Override the spinner */
|
|
35
|
-
spinner?: (() => any) | undefined;
|
|
36
|
-
/** Inject text or whatever you want below the spinner */
|
|
37
|
-
content?: (() => any) | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
export default _default;
|
|
40
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
-
new (): {
|
|
42
|
-
$slots: S;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { PropType, VNode } from 'vue';
|
|
2
|
-
import { TJoySelectSizes } from './JoySelect.types';
|
|
3
|
-
import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
/** aria-label is available only if 'label' property is undefined **/
|
|
6
|
-
ariaLabel: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
disabled: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
id: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
};
|
|
16
|
-
invalid: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
name: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
};
|
|
23
|
-
required: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
/** Display a label on top of the element. Handy if you only need to pass a string. If you need more, use the VJoyLabel. */
|
|
28
|
-
label: StringConstructor;
|
|
29
|
-
labelSize: {
|
|
30
|
-
type: PropType<TJoyLabelSizes>;
|
|
31
|
-
};
|
|
32
|
-
optionalLabel: StringConstructor;
|
|
33
|
-
requiredMark: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
/** Made to use the built-in v-model */
|
|
38
|
-
modelValue: {
|
|
39
|
-
type: PropType<string | number | null>;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
size: {
|
|
43
|
-
type: PropType<TJoySelectSizes>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
}>, {
|
|
47
|
-
select: import("vue").Ref<HTMLSelectElement | undefined, HTMLSelectElement | undefined>;
|
|
48
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
49
|
-
"update:modelValue": (value: string) => any;
|
|
50
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
-
/** aria-label is available only if 'label' property is undefined **/
|
|
52
|
-
ariaLabel: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
};
|
|
55
|
-
disabled: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
id: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
};
|
|
62
|
-
invalid: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
name: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
};
|
|
69
|
-
required: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
/** Display a label on top of the element. Handy if you only need to pass a string. If you need more, use the VJoyLabel. */
|
|
74
|
-
label: StringConstructor;
|
|
75
|
-
labelSize: {
|
|
76
|
-
type: PropType<TJoyLabelSizes>;
|
|
77
|
-
};
|
|
78
|
-
optionalLabel: StringConstructor;
|
|
79
|
-
requiredMark: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
/** Made to use the built-in v-model */
|
|
84
|
-
modelValue: {
|
|
85
|
-
type: PropType<string | number | null>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
size: {
|
|
89
|
-
type: PropType<TJoySelectSizes>;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
}>> & Readonly<{
|
|
93
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
94
|
-
}>, {
|
|
95
|
-
invalid: boolean;
|
|
96
|
-
size: TJoySelectSizes;
|
|
97
|
-
required: boolean;
|
|
98
|
-
disabled: boolean;
|
|
99
|
-
requiredMark: boolean;
|
|
100
|
-
modelValue: string | number | null;
|
|
101
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
102
|
-
/** Use native <option> tags here */
|
|
103
|
-
default(): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
104
|
-
[key: string]: any;
|
|
105
|
-
}>[];
|
|
106
|
-
/** DEPRECATED. Label above the select. You can use a simple text node or the VJoyLabel component. */
|
|
107
|
-
'select-label'?: (() => any) | undefined;
|
|
108
|
-
}> & {
|
|
109
|
-
/** Use native <option> tags here */
|
|
110
|
-
default(): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
111
|
-
[key: string]: any;
|
|
112
|
-
}>[];
|
|
113
|
-
/** DEPRECATED. Label above the select. You can use a simple text node or the VJoyLabel component. */
|
|
114
|
-
'select-label'?: (() => any) | undefined;
|
|
115
|
-
}>;
|
|
116
|
-
export default _default;
|
|
117
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
118
|
-
new (): {
|
|
119
|
-
$slots: S;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import VJoySelectableItem from './VJoySelectableItem.vue';
|
|
2
|
-
import type { ComponentProps } from 'vue-component-type-helpers';
|
|
3
|
-
export type TVJoySelectableItemProps = ComponentProps<typeof VJoySelectableItem>;
|
|
4
|
-
export interface TJoySelectableItemOption extends TVJoySelectableItemProps {
|
|
5
|
-
attrs?: {
|
|
6
|
-
[k: string]: any;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
declare const _default: <T extends unknown>(__VLS_props: {
|
|
2
|
-
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
3
|
-
disabled?: boolean | undefined;
|
|
4
|
-
id?: string | undefined;
|
|
5
|
-
invalid?: boolean | undefined;
|
|
6
|
-
multiple?: boolean | undefined;
|
|
7
|
-
name?: string | undefined;
|
|
8
|
-
required?: boolean | undefined;
|
|
9
|
-
checked?: boolean | undefined;
|
|
10
|
-
value?: T | undefined;
|
|
11
|
-
label?: string | undefined;
|
|
12
|
-
subLabel?: string | undefined;
|
|
13
|
-
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
14
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
15
|
-
slots: {
|
|
16
|
-
default?(_: {}): any;
|
|
17
|
-
default?(_: {}): any;
|
|
18
|
-
"selectable-item-sublabel"?(_: {}): any;
|
|
19
|
-
};
|
|
20
|
-
attrs: any;
|
|
21
|
-
emit: (e: 'update:checked', value: T | undefined) => void;
|
|
22
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
23
|
-
props: {
|
|
24
|
-
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
25
|
-
disabled?: boolean | undefined;
|
|
26
|
-
id?: string | undefined;
|
|
27
|
-
invalid?: boolean | undefined;
|
|
28
|
-
multiple?: boolean | undefined;
|
|
29
|
-
name?: string | undefined;
|
|
30
|
-
required?: boolean | undefined;
|
|
31
|
-
checked?: boolean | undefined;
|
|
32
|
-
value?: T | undefined;
|
|
33
|
-
label?: string | undefined;
|
|
34
|
-
subLabel?: string | undefined;
|
|
35
|
-
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
36
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
37
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
38
|
-
attrs: any;
|
|
39
|
-
slots: {
|
|
40
|
-
default?(_: {}): any;
|
|
41
|
-
default?(_: {}): any;
|
|
42
|
-
"selectable-item-sublabel"?(_: {}): any;
|
|
43
|
-
};
|
|
44
|
-
emit: (e: 'update:checked', value: T | undefined) => void;
|
|
45
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
|
-
[key: string]: any;
|
|
47
|
-
}> & {
|
|
48
|
-
__ctx?: {
|
|
49
|
-
props: {
|
|
50
|
-
readonly "onUpdate:checked"?: ((value: T | undefined) => any) | undefined;
|
|
51
|
-
disabled?: boolean | undefined;
|
|
52
|
-
id?: string | undefined;
|
|
53
|
-
invalid?: boolean | undefined;
|
|
54
|
-
multiple?: boolean | undefined;
|
|
55
|
-
name?: string | undefined;
|
|
56
|
-
required?: boolean | undefined;
|
|
57
|
-
checked?: boolean | undefined;
|
|
58
|
-
value?: T | undefined;
|
|
59
|
-
label?: string | undefined;
|
|
60
|
-
subLabel?: string | undefined;
|
|
61
|
-
icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
62
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
63
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
64
|
-
attrs: any;
|
|
65
|
-
slots: {
|
|
66
|
-
default?(_: {}): any;
|
|
67
|
-
default?(_: {}): any;
|
|
68
|
-
"selectable-item-sublabel"?(_: {}): any;
|
|
69
|
-
};
|
|
70
|
-
emit: (e: 'update:checked', value: T | undefined) => void;
|
|
71
|
-
} | undefined;
|
|
72
|
-
};
|
|
73
|
-
export default _default;
|
|
74
|
-
type __VLS_PrettifyLocal<T> = {
|
|
75
|
-
[K in keyof T]: T[K];
|
|
76
|
-
} & {};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
|
|
2
|
-
import { TJoySelectableItemOption } from '../JoySelectableItem/VJoySelectableItem.types';
|
|
3
|
-
declare const _default: <T extends TJoySelectableItemOption>(__VLS_props: {
|
|
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
|
-
multiple?: boolean | undefined;
|
|
10
|
-
fullWidth?: boolean | undefined;
|
|
11
|
-
required?: boolean | undefined;
|
|
12
|
-
label?: string | undefined;
|
|
13
|
-
labelKey?: keyof T | undefined;
|
|
14
|
-
labelSize?: TJoyLabelSizes | undefined;
|
|
15
|
-
optionalLabel?: string | undefined;
|
|
16
|
-
requiredMark?: boolean | undefined;
|
|
17
|
-
invalid?: boolean | undefined;
|
|
18
|
-
errorMessage?: string | undefined;
|
|
19
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
20
|
-
slots: Readonly<{
|
|
21
|
-
/** Customize the inner HTML of each VJoySelectableItem */
|
|
22
|
-
item: (option: T) => any;
|
|
23
|
-
}> & {
|
|
24
|
-
/** Customize the inner HTML of each VJoySelectableItem */
|
|
25
|
-
item: (option: T) => any;
|
|
26
|
-
};
|
|
27
|
-
attrs: any;
|
|
28
|
-
emit: (e: 'update:value', value: string | any[]) => void;
|
|
29
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
30
|
-
props: {
|
|
31
|
-
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
32
|
-
options: T[];
|
|
33
|
-
id?: string | undefined;
|
|
34
|
-
value?: string | any[] | null | undefined;
|
|
35
|
-
valueKey?: keyof T | undefined;
|
|
36
|
-
multiple?: boolean | undefined;
|
|
37
|
-
fullWidth?: boolean | undefined;
|
|
38
|
-
required?: boolean | undefined;
|
|
39
|
-
label?: string | undefined;
|
|
40
|
-
labelKey?: keyof T | undefined;
|
|
41
|
-
labelSize?: TJoyLabelSizes | undefined;
|
|
42
|
-
optionalLabel?: string | undefined;
|
|
43
|
-
requiredMark?: boolean | undefined;
|
|
44
|
-
invalid?: boolean | undefined;
|
|
45
|
-
errorMessage?: string | undefined;
|
|
46
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
47
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
48
|
-
attrs: any;
|
|
49
|
-
slots: Readonly<{
|
|
50
|
-
/** Customize the inner HTML of each VJoySelectableItem */
|
|
51
|
-
item: (option: T) => any;
|
|
52
|
-
}> & {
|
|
53
|
-
/** Customize the inner HTML of each VJoySelectableItem */
|
|
54
|
-
item: (option: T) => any;
|
|
55
|
-
};
|
|
56
|
-
emit: (e: 'update:value', value: string | any[]) => void;
|
|
57
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
58
|
-
[key: string]: any;
|
|
59
|
-
}> & {
|
|
60
|
-
__ctx?: {
|
|
61
|
-
props: {
|
|
62
|
-
readonly "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
63
|
-
options: T[];
|
|
64
|
-
id?: string | undefined;
|
|
65
|
-
value?: string | any[] | null | undefined;
|
|
66
|
-
valueKey?: keyof T | undefined;
|
|
67
|
-
multiple?: boolean | undefined;
|
|
68
|
-
fullWidth?: boolean | undefined;
|
|
69
|
-
required?: boolean | undefined;
|
|
70
|
-
label?: string | undefined;
|
|
71
|
-
labelKey?: keyof T | undefined;
|
|
72
|
-
labelSize?: TJoyLabelSizes | undefined;
|
|
73
|
-
optionalLabel?: string | undefined;
|
|
74
|
-
requiredMark?: boolean | undefined;
|
|
75
|
-
invalid?: boolean | undefined;
|
|
76
|
-
errorMessage?: string | undefined;
|
|
77
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
78
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
79
|
-
attrs: any;
|
|
80
|
-
slots: Readonly<{
|
|
81
|
-
/** Customize the inner HTML of each VJoySelectableItem */
|
|
82
|
-
item: (option: T) => any;
|
|
83
|
-
}> & {
|
|
84
|
-
/** Customize the inner HTML of each VJoySelectableItem */
|
|
85
|
-
item: (option: T) => any;
|
|
86
|
-
};
|
|
87
|
-
emit: (e: 'update:value', value: string | any[]) => void;
|
|
88
|
-
} | undefined;
|
|
89
|
-
};
|
|
90
|
-
export default _default;
|
|
91
|
-
type __VLS_PrettifyLocal<T> = {
|
|
92
|
-
[K in keyof T]: T[K];
|
|
93
|
-
} & {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { TJoySeparatorSizes } from './JoySeparator.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
/** Main text to apply in the central area */
|
|
5
|
-
text: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
};
|
|
8
|
-
size: {
|
|
9
|
-
type: PropType<TJoySeparatorSizes>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
/** Main text to apply in the central area */
|
|
14
|
-
text: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
};
|
|
17
|
-
size: {
|
|
18
|
-
type: PropType<TJoySeparatorSizes>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
size: TJoySeparatorSizes;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { App } from 'vue';
|
|
2
|
-
import { Emitter } from 'mitt';
|
|
3
|
-
import VJoySnackbar from './VJoySnackbar.vue';
|
|
4
|
-
import { TLevels } from '../../types';
|
|
5
|
-
export type TJoySnackbarLevels = Exclude<TLevels, 'neutral'>;
|
|
6
|
-
export type TJoySnackbarEvents = {
|
|
7
|
-
'snackbar:hide': undefined;
|
|
8
|
-
'snackbar:show': undefined;
|
|
9
|
-
'snackbar:action-click': undefined;
|
|
10
|
-
};
|
|
11
|
-
export interface IJoynackbarServiceOptions {
|
|
12
|
-
disableStacking?: boolean;
|
|
13
|
-
snackbarHostId?: string;
|
|
14
|
-
props: InstanceType<typeof VJoySnackbar>['$props'];
|
|
15
|
-
}
|
|
16
|
-
export interface IJoynackbarServiceReturn {
|
|
17
|
-
snackbarEventBus: Emitter<TJoySnackbarEvents>;
|
|
18
|
-
snackbarApp: App<Element>;
|
|
19
|
-
}
|