@maltjoy/core-vue 5.13.1 → 5.14.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/JoyFormGroup/VJoyFormGroup.vue.d.ts +13 -0
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +1 -1
- package/dist/components/JoyInputDigit/JoyInputDigit.types.d.ts +14 -0
- package/dist/components/JoyInputDigit/VJoyInputDigit.vue.d.ts +24 -0
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +1 -0
- package/dist/components/JoyPasswordRequirement/JoyPasswordRequirement.types.d.ts +7 -0
- package/dist/components/JoyPasswordRequirement/VJoyPasswordRequirement.vue.d.ts +13 -0
- package/dist/components/components.types.d.ts +1 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/core-vue.js +2589 -2379
- package/dist/core-vue.umd.cjs +2 -2
- package/dist/joy-core-vue-manifest.json +8 -5
- package/dist/style.css +1 -1
- package/joy-components.d.ts +3 -0
- package/package.json +4 -4
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
2
|
+
/** Use it to render the content of the form group. Most of the time JoyLabel, any form component, and JoyFormError. */
|
|
3
|
+
default?: (() => any) | undefined;
|
|
4
|
+
}> & {
|
|
5
|
+
/** Use it to render the content of the form group. Most of the time JoyLabel, any form component, and JoyFormError. */
|
|
6
|
+
default?: (() => any) | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJ
|
|
|
13
13
|
required: boolean;
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
autofocus: boolean;
|
|
16
|
-
labelSize: import("../
|
|
16
|
+
labelSize: import("../JoyLabel/JoyLabel.types").TJoyLabelSizes;
|
|
17
17
|
requiredMark: boolean;
|
|
18
18
|
modelModifiers: Partial<Record<"number" | "trim" | "lazy", boolean>>;
|
|
19
19
|
clearable: boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface VJoyInputDigitProps {
|
|
2
|
+
/** Joined value of all input slots. */
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
/** Number of displayed input slots. */
|
|
5
|
+
length?: number;
|
|
6
|
+
/** Applies invalid visual state on every slot. */
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
/** Disables all input slots. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Name prefix used for each generated input. */
|
|
11
|
+
name?: string;
|
|
12
|
+
/** Base aria-label used for each input, indexed automatically (e.g. "Digit 1 of 6"). */
|
|
13
|
+
inputAriaLabel?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { VJoyInputDigitProps } from './JoyInputDigit.types';
|
|
2
|
+
declare function focusInput(index: number): void;
|
|
3
|
+
declare const _default: import("vue").DefineComponent<VJoyInputDigitProps, {
|
|
4
|
+
focusInput: typeof focusInput;
|
|
5
|
+
tokens: import("vue").Ref<string[], string[]>;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
blur: (event: FocusEvent) => any;
|
|
8
|
+
change: (value: string, event: Event) => any;
|
|
9
|
+
focus: (event: FocusEvent) => any;
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<VJoyInputDigitProps> & Readonly<{
|
|
12
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
13
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
14
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
invalid: boolean;
|
|
18
|
+
length: number;
|
|
19
|
+
name: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
modelValue: string;
|
|
22
|
+
inputAriaLabel: string;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TLevels } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* - neutral : The password field is focused but not this rule is not valid
|
|
4
|
+
* - valid : This rule is valid
|
|
5
|
+
* - invalid : This field is not focused and this rule is invalid
|
|
6
|
+
*/
|
|
7
|
+
export type TVJoyPasswordRequirementStatus = Extract<TLevels, 'success' | 'error' | 'neutral'>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TVJoyPasswordRequirementStatus } from './JoyPasswordRequirement.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
/** Label of the password strength rule */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Status of the password requirement */
|
|
6
|
+
status?: TVJoyPasswordRequirementStatus | undefined;
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
|
+
/** Label of the password strength rule */
|
|
9
|
+
label: string;
|
|
10
|
+
/** Status of the password requirement */
|
|
11
|
+
status?: TVJoyPasswordRequirementStatus | undefined;
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -14,6 +14,7 @@ export * from './JoyHighlight/JoyHighlight.types';
|
|
|
14
14
|
export * from './JoyIcon/JoyIcon.types';
|
|
15
15
|
export * from './JoyIndicators/JoyIndicators.types';
|
|
16
16
|
export * from './JoyInput/JoyInput.types';
|
|
17
|
+
export * from './JoyInputDigit/JoyInputDigit.types';
|
|
17
18
|
export * from './JoyLabel/JoyLabel.types';
|
|
18
19
|
export * from './JoyLink/JoyLink.types';
|
|
19
20
|
export * from './JoyLink/JoyLink.types';
|
|
@@ -24,6 +24,7 @@ import { default as VJoyFilterBar } from './JoyFilterBar/VJoyFilterBar.vue';
|
|
|
24
24
|
import { default as VJoyFilterBarButton } from './JoyFilterBarButton/VJoyFilterBarButton.vue';
|
|
25
25
|
import { default as VJoyFormError } from './JoyFormError/VJoyFormError.vue';
|
|
26
26
|
import { default as VJoyFormFieldSkeleton } from './JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue';
|
|
27
|
+
import { default as VJoyFormGroup } from './JoyFormGroup/VJoyFormGroup.vue';
|
|
27
28
|
import { default as VJoyFunnel } from './JoyFunnel/VJoyFunnel.vue';
|
|
28
29
|
import { default as VJoyFunnelFooter } from './JoyFunnelFooter/VJoyFunnelFooter.vue';
|
|
29
30
|
import { default as VJoyFunnelHeader } from './JoyFunnelHeader/VJoyFunnelHeader.vue';
|
|
@@ -32,6 +33,7 @@ import { default as VJoyIcon } from './JoyIcon/VJoyIcon.vue';
|
|
|
32
33
|
import { default as VJoyIndicator } from './JoyIndicator/VJoyIndicator.vue';
|
|
33
34
|
import { default as VJoyIndicators } from './JoyIndicators/VJoyIndicators.vue';
|
|
34
35
|
import { default as VJoyInput } from './JoyInput/VJoyInput.vue';
|
|
36
|
+
import { default as VJoyInputDigit } from './JoyInputDigit/VJoyInputDigit.vue';
|
|
35
37
|
import { default as VJoyLabel } from './JoyLabel/VJoyLabel.vue';
|
|
36
38
|
import { default as VJoyLink } from './JoyLink/VJoyLink.vue';
|
|
37
39
|
import { default as VJoyListItem } from './JoyListItem/VJoyListItem.vue';
|
|
@@ -41,6 +43,7 @@ import { default as VJoyMultiCheckbox } from './JoyMultiCheckbox/VJoyMultiCheckb
|
|
|
41
43
|
import { default as VJoyPagination } from './JoyPagination/VJoyPagination.vue';
|
|
42
44
|
import { default as VJoyPanel } from './JoyPanel/VJoyPanel.vue';
|
|
43
45
|
import { default as VJoyPanelSection } from './JoyPanelSection/VJoyPanelSection.vue';
|
|
46
|
+
import { default as VJoyPasswordRequirement } from './JoyPasswordRequirement/VJoyPasswordRequirement.vue';
|
|
44
47
|
import { default as VJoyProductTour } from './JoyProductTour/VJoyProductTour.vue';
|
|
45
48
|
import { default as VJoyProductTourTrigger } from './JoyProductTourTrigger/VJoyProductTourTrigger.vue';
|
|
46
49
|
import { default as VJoyProgressBar } from './JoyProgressBar/VJoyProgressBar.vue';
|
|
@@ -72,4 +75,4 @@ import { default as VJoyUserCard } from './JoyUserCard/VJoyUserCard.vue';
|
|
|
72
75
|
import { default as VJoyWalkthrough } from './JoyWalkthrough/VJoyWalkthrough.vue';
|
|
73
76
|
import { default as VJoyWalkthroughTrigger } from './JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue';
|
|
74
77
|
import { default as VJoyWrapper } from './JoyWrapper/VJoyWrapper.vue';
|
|
75
|
-
export { VJoyAdminBanner, VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyBlockSkeleton, VJoyBottomSheet, VJoyBottomSheetTrigger, VJoyButton, VJoyCheckbox, VJoyCollapse, VJoyCollapseItem, VJoyCompanyAvatar, VJoyDialog, VJoyDialogTrigger, VJoyDot, VJoyDrawer, VJoyDrawerTrigger, VJoyDropdown, VJoyDropdownList, VJoyDropzone, VJoyFilterBar, VJoyFilterBarButton, VJoyFormError, VJoyFormFieldSkeleton, VJoyFunnel, VJoyFunnelFooter, VJoyFunnelHeader, 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, };
|
|
78
|
+
export { VJoyAdminBanner, VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyBlockSkeleton, VJoyBottomSheet, VJoyBottomSheetTrigger, VJoyButton, VJoyCheckbox, VJoyCollapse, VJoyCollapseItem, VJoyCompanyAvatar, VJoyDialog, VJoyDialogTrigger, VJoyDot, VJoyDrawer, VJoyDrawerTrigger, VJoyDropdown, VJoyDropdownList, VJoyDropzone, VJoyFilterBar, VJoyFilterBarButton, VJoyFormError, VJoyFormFieldSkeleton, VJoyFormGroup, VJoyFunnel, VJoyFunnelFooter, VJoyFunnelHeader, VJoyHighlight, VJoyIcon, VJoyIndicator, VJoyIndicators, VJoyInput, VJoyInputDigit, VJoyLabel, VJoyLink, VJoyListItem, VJoyMenu, VJoyMenuItem, VJoyMultiCheckbox, VJoyPagination, VJoyPanel, VJoyPanelSection, VJoyPasswordRequirement, 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, };
|