@maltjoy/core-vue 3.11.0 → 3.12.0
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/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +12 -0
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +45 -0
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +3 -0
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +22 -0
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +22 -0
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +3 -0
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +43 -0
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +4 -0
- package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +24 -0
- package/dist/components/components.types.d.ts +3 -0
- package/dist/components/index.d.ts +6 -1
- package/dist/joy-vue.js +1527 -1167
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/joy-components.d.ts +5 -0
- package/package.json +4 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum JoyBadgeLevelEnum {
|
|
2
|
+
HIGH_POTENTIAL = "highpotential",
|
|
3
|
+
HIGH_POTENTIAL_AUTO = "high-potential-auto",
|
|
4
|
+
MALT_LINKER = "maltlinker",
|
|
5
|
+
NEW = "new",
|
|
6
|
+
SUPER_MALTER = "supermalter",
|
|
7
|
+
VERIFIED = "verified"
|
|
8
|
+
}
|
|
9
|
+
export declare enum JoyBadgeProgramEnum {
|
|
10
|
+
HIGH_POTENTIAL = "program_high-potential"
|
|
11
|
+
}
|
|
12
|
+
export type BadgesTypes = `${JoyBadgeLevelEnum | JoyBadgeProgramEnum}`;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
/** Badge type. HIGH_POTENTIAL, SUPERMALTER, etc... */
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<"highpotential" | "high-potential-auto" | "maltlinker" | "new" | "supermalter" | "verified" | "program_high-potential">;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
/** If supermalter type is given, specify the level (from 1 to 3) */
|
|
9
|
+
superMalterLevel: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
/** Display the default badge label */
|
|
14
|
+
visibleText: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
/** Badge type. HIGH_POTENTIAL, SUPERMALTER, etc... */
|
|
20
|
+
type: {
|
|
21
|
+
type: PropType<"highpotential" | "high-potential-auto" | "maltlinker" | "new" | "supermalter" | "verified" | "program_high-potential">;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
/** If supermalter type is given, specify the level (from 1 to 3) */
|
|
25
|
+
superMalterLevel: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
/** Display the default badge label */
|
|
30
|
+
visibleText: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
superMalterLevel: number;
|
|
36
|
+
visibleText: boolean;
|
|
37
|
+
}, {}>, {
|
|
38
|
+
default: (_: {}) => any;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CompanyAvatarSizes } from './JoyCompanyAvatar.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
imgSrc: StringConstructor;
|
|
5
|
+
imgAlt: StringConstructor;
|
|
6
|
+
companyName: StringConstructor;
|
|
7
|
+
size: {
|
|
8
|
+
type: PropType<CompanyAvatarSizes>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
imgSrc: StringConstructor;
|
|
13
|
+
imgAlt: StringConstructor;
|
|
14
|
+
companyName: StringConstructor;
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<CompanyAvatarSizes>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
size: CompanyAvatarSizes;
|
|
21
|
+
}, {}>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
disabled: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
disabled: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}>, {
|
|
14
|
+
default: (_: {}) => any;
|
|
15
|
+
'divider-content': (_: {}) => any;
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { RatingStarsSizes } from './JoyRatingStars.types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
ratingValue: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
reviewCount: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<RatingStarsSizes>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
setStars: import("vue").ComputedRef<string[]>;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
ratingValue: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
reviewCount: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: PropType<RatingStarsSizes>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>>, {
|
|
32
|
+
size: RatingStarsSizes;
|
|
33
|
+
ratingValue: number;
|
|
34
|
+
reviewCount: number;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
'rating-stars-content': (_: {}) => any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SeparatorSizes } from './JoySeparator.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/** Main text to apply in the central area */
|
|
5
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<SeparatorSizes>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/** Main text to apply in the central area */
|
|
14
|
+
text: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: PropType<SeparatorSizes>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
size: SeparatorSizes;
|
|
23
|
+
}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './JoyAvailability/JoyAvailability.types';
|
|
2
2
|
export * from './JoyAvatar/JoyAvatar.types';
|
|
3
3
|
export * from './JoyBadge/JoyBadge.types';
|
|
4
|
+
export * from './JoyBadgeLevel/JoyBadgeLevel.types';
|
|
4
5
|
export * from './JoyButton/JoyButton.types';
|
|
6
|
+
export * from './JoyCompanyAvatar/JoyCompanyAvatar.types';
|
|
5
7
|
export * from './JoyDropdown/JoyDropdown.types';
|
|
6
8
|
export * from './JoyDropdownList/JoyDropdownList.types';
|
|
7
9
|
export * from './JoyHighlight/JoyHighlight.types';
|
|
@@ -16,6 +18,7 @@ export * from './JoyRadio/JoyRadio.types';
|
|
|
16
18
|
export * from './JoyRadioGroup/JoyRadioGroup.types';
|
|
17
19
|
export * from './JoyScreenLoader/VJoyScreenLoader.types';
|
|
18
20
|
export * from './JoySelect/JoySelect.types';
|
|
21
|
+
export * from './JoySeparator/JoySeparator.types';
|
|
19
22
|
export * from './JoySpinner/JoySpinner.types';
|
|
20
23
|
export * from './JoyTag/JoyTag.types';
|
|
21
24
|
export * from './JoyTagsList/JoyTagsList.types';
|
|
@@ -2,9 +2,12 @@ import VJoyAvailability from '@/components/JoyAvailability/VJoyAvailability.vue'
|
|
|
2
2
|
import VJoyAvatar from '@/components/JoyAvatar/VJoyAvatar.vue';
|
|
3
3
|
import VJoyAvatarsList from '@/components/JoyAvatarsList/VJoyAvatarsList.vue';
|
|
4
4
|
import VJoyBadge from '@/components/JoyBadge/VJoyBadge.vue';
|
|
5
|
+
import VJoyBadgeLevel from '@/components/JoyBadgeLevel/VJoyBadgeLevel.vue';
|
|
5
6
|
import VJoyButton from '@/components/JoyButton/VJoyButton.vue';
|
|
6
7
|
import VJoyCheckbox from '@/components/JoyCheckbox/VJoyCheckbox.vue';
|
|
8
|
+
import VJoyCompanyAvatar from '@/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue';
|
|
7
9
|
import VJoyCounter from '@/components/JoyCounter/VJoyCounter.vue';
|
|
10
|
+
import VJoyDividerCta from '@/components/JoyDividerCta/VJoyDividerCta.vue';
|
|
8
11
|
import VJoyDropdown from '@/components/JoyDropdown/VJoyDropdown.vue';
|
|
9
12
|
import VJoyDropdownList from '@/components/JoyDropdownList/VJoyDropdownList.vue';
|
|
10
13
|
import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
|
|
@@ -18,10 +21,12 @@ import VJoyPanel from '@/components/JoyPanel/VJoyPanel.vue';
|
|
|
18
21
|
import VJoyPanelSection from '@/components/JoyPanelSection/VJoyPanelSection.vue';
|
|
19
22
|
import VJoyRadio from '@/components/JoyRadio/VJoyRadio.vue';
|
|
20
23
|
import VJoyRadioGroup from '@/components/JoyRadioGroup/VJoyRadioGroup.vue';
|
|
24
|
+
import VJoyRatingStars from '@/components/JoyRatingStars/VJoyRatingStars.vue';
|
|
21
25
|
import VJoyScreenLoader from '@/components/JoyScreenLoader/VJoyScreenLoader.vue';
|
|
22
26
|
import VJoySelect from '@/components/JoySelect/VJoySelect.vue';
|
|
23
27
|
import VJoySelectableItem from '@/components/JoySelectableItem/VJoySelectableItem.vue';
|
|
24
28
|
import VJoySelectableItemGroup from '@/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue';
|
|
29
|
+
import VJoySeparator from '@/components/JoySeparator/VJoySeparator.vue';
|
|
25
30
|
import VJoySpinner from '@/components/JoySpinner/VJoySpinner.vue';
|
|
26
31
|
import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
|
|
27
32
|
import VJoyTag from '@/components/JoyTag/VJoyTag.vue';
|
|
@@ -29,4 +34,4 @@ import VJoyTagsList from '@/components/JoyTagsList/VJoyTagsList.vue';
|
|
|
29
34
|
import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
|
|
30
35
|
import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
|
|
31
36
|
import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
|
|
32
|
-
export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyButton, VJoyCheckbox, VJoyCounter, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };
|
|
37
|
+
export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };
|