@maltjoy/core-vue 5.13.1 → 5.14.0-alpha.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.
@@ -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;
@@ -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';
@@ -32,6 +32,7 @@ import { default as VJoyIcon } from './JoyIcon/VJoyIcon.vue';
32
32
  import { default as VJoyIndicator } from './JoyIndicator/VJoyIndicator.vue';
33
33
  import { default as VJoyIndicators } from './JoyIndicators/VJoyIndicators.vue';
34
34
  import { default as VJoyInput } from './JoyInput/VJoyInput.vue';
35
+ import { default as VJoyInputDigit } from './JoyInputDigit/VJoyInputDigit.vue';
35
36
  import { default as VJoyLabel } from './JoyLabel/VJoyLabel.vue';
36
37
  import { default as VJoyLink } from './JoyLink/VJoyLink.vue';
37
38
  import { default as VJoyListItem } from './JoyListItem/VJoyListItem.vue';
@@ -72,4 +73,4 @@ import { default as VJoyUserCard } from './JoyUserCard/VJoyUserCard.vue';
72
73
  import { default as VJoyWalkthrough } from './JoyWalkthrough/VJoyWalkthrough.vue';
73
74
  import { default as VJoyWalkthroughTrigger } from './JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue';
74
75
  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, };
76
+ 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, VJoyInputDigit, 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, };