@cobre-npm/ds-v3 0.68.0 → 0.68.2

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.
Files changed (63) hide show
  1. package/dist/cobre-ds-v3-lib.es.js +9123 -9095
  2. package/dist/style.css +1 -1
  3. package/dist/tokens/_components.scss +2 -2
  4. package/dist/types/App.vue.d.ts +1 -1
  5. package/dist/types/components/HelloWorld.vue.d.ts +3 -13
  6. package/dist/types/components/atoms/CobreAlert/CobreAlert.vue.d.ts +17 -34
  7. package/dist/types/components/atoms/CobreAvatar/CobreAvatar.vue.d.ts +1 -11
  8. package/dist/types/components/atoms/CobreBankLogo/CobreBankLogo.vue.d.ts +2 -25
  9. package/dist/types/components/atoms/CobreButton/CobreButton.vue.d.ts +10 -10
  10. package/dist/types/components/atoms/CobreButtonMenu/CobreButtonMenu.vue.d.ts +8 -8
  11. package/dist/types/components/atoms/CobreCardButton/CobreCardButton.vue.d.ts +2 -25
  12. package/dist/types/components/atoms/CobreCheckbox/CobreCheckbox.vue.d.ts +16 -29
  13. package/dist/types/components/atoms/CobreColumnTable/CobreColumnTable.vue.d.ts +13 -32
  14. package/dist/types/components/atoms/CobreCountryFlag/CobreCountryFlag.vue.d.ts +2 -23
  15. package/dist/types/components/atoms/CobreEmptyResults/CobreEmptyResults.vue.d.ts +3 -28
  16. package/dist/types/components/atoms/CobreEmptyState/CobreEmptyState.vue.d.ts +12 -16
  17. package/dist/types/components/atoms/CobreIndicative/CobreIndicative.vue.d.ts +20 -43
  18. package/dist/types/components/atoms/CobreInfoDetail/CobreInfoDetail.vue.d.ts +10 -31
  19. package/dist/types/components/atoms/CobreInputLabel/CobreInputLabel.vue.d.ts +1 -10
  20. package/dist/types/components/atoms/CobreOptionsSwitch/CobreOptionsSwitch.vue.d.ts +8 -26
  21. package/dist/types/components/atoms/CobrePager/CobrePager.vue.d.ts +4 -31
  22. package/dist/types/components/atoms/CobreRadio/CobreRadio.vue.d.ts +4 -31
  23. package/dist/types/components/atoms/CobreSwitch/CobreSwitch.vue.d.ts +3 -20
  24. package/dist/types/components/atoms/CobreTabMenu/CobreTabMenu.vue.d.ts +5 -5
  25. package/dist/types/components/atoms/CobreToastAlert/CobreToastAlert.vue.d.ts +7 -30
  26. package/dist/types/components/atoms/CobreTruncateTooltipText/CobreTruncateTooltipText.vue.d.ts +4 -23
  27. package/dist/types/components/atoms/CobreUploader/CobreUploader.vue.d.ts +5 -30
  28. package/dist/types/components/molecules/CobreAccountCpButton/CobreAccountCpButton.vue.d.ts +3 -12
  29. package/dist/types/components/molecules/CobreAccountInfoFiled/CobreAccountInfoField.vue.d.ts +4 -33
  30. package/dist/types/components/molecules/CobreActionList/CobreActionList.vue.d.ts +17 -34
  31. package/dist/types/components/molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue.d.ts +3 -14
  32. package/dist/types/components/molecules/CobreBadge/CobreBadge.vue.d.ts +14 -33
  33. package/dist/types/components/molecules/CobreChips/CobreChips.vue.d.ts +4 -27
  34. package/dist/types/components/molecules/CobreCopyTextBox/CobreCopyTextBox.vue.d.ts +4 -31
  35. package/dist/types/components/molecules/CobreDrawer/CobreDrawer.vue.d.ts +16 -41
  36. package/dist/types/components/molecules/CobreDropdownButton/CobreDropdownButton.vue.d.ts +12 -27
  37. package/dist/types/components/molecules/CobreFieldLogo/CobreFieldLogo.vue.d.ts +10 -27
  38. package/dist/types/components/molecules/CobreFlowResult/CobreFlowResult.vue.d.ts +14 -33
  39. package/dist/types/components/molecules/CobreFormOtp/CobreFormOtp.vue.d.ts +262 -45
  40. package/dist/types/components/molecules/CobreInput/CobreInput.vue.d.ts +5 -46
  41. package/dist/types/components/molecules/CobreInputAmount/CobreInputAmount.vue.d.ts +9 -44
  42. package/dist/types/components/molecules/CobreInputCurrency/CobreInputCurrency.vue.d.ts +15 -52
  43. package/dist/types/components/molecules/CobreInputPhoneNumber/CobreInputPhoneNumber.vue.d.ts +5 -46
  44. package/dist/types/components/molecules/CobreInputUrl/CobreInputUrl.vue.d.ts +5 -46
  45. package/dist/types/components/molecules/CobreKebabMenu/CobreKebabMenu.vue.d.ts +3 -12
  46. package/dist/types/components/molecules/CobreLogoField/CobreLogoField.vue.d.ts +10 -27
  47. package/dist/types/components/molecules/CobreModal/CobreModal.vue.d.ts +14 -33
  48. package/dist/types/components/molecules/CobreRowTable/CobreRowTable.vue.d.ts +23 -59
  49. package/dist/types/components/molecules/CobreSelect/CobreSelect.vue.d.ts +43 -66
  50. package/dist/types/components/molecules/CobreSnackBar/CobreSnackBar.vue.d.ts +2 -31
  51. package/dist/types/components/molecules/CobreTableCellCopy/CobreTableCellCopy.vue.d.ts +12 -39
  52. package/dist/types/components/molecules/CobreTextArea/CobreTextArea.vue.d.ts +5 -46
  53. package/dist/types/components/molecules/Toolbar/CobreInputSearch/CobreInputSearch.vue.d.ts +6 -27
  54. package/dist/types/components/organisms/CobreHeader/CobreHeader.vue.d.ts +13 -28
  55. package/dist/types/components/organisms/CobreHeader/components/Navbar.vue.d.ts +4 -29
  56. package/dist/types/components/organisms/CobreSideMenu/CobreSideMenu.vue.d.ts +14 -33
  57. package/dist/types/components/organisms/CobreSideMenu/components/SideMenuItem.vue.d.ts +5 -12
  58. package/dist/types/components/organisms/CobreSideMenu/components/SubItems.vue.d.ts +3 -12
  59. package/dist/types/components/organisms/CobreTimeline/CobreTimeline.vue.d.ts +12 -27
  60. package/dist/types/types/icon.types.d.ts +1 -1
  61. package/package.json +1 -1
  62. package/dist/types/components/molecules/CobreModalAction/CobreModalAction.vue.d.ts +0 -63
  63. package/dist/types/components/organisms/CobreDateFilter/CobreDateFilter.vue.d.ts +0 -65
@@ -4,41 +4,14 @@ interface Props {
4
4
  hoverBehavior?: boolean;
5
5
  copied?: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
8
- text: string;
9
- isLoading: boolean;
10
- hoverBehavior: boolean;
11
- copied: string;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
8
  copy: (...args: any[]) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
- text: string;
16
- isLoading: boolean;
17
- hoverBehavior: boolean;
18
- copied: string;
19
- }>>> & {
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
10
  onCopy?: ((...args: any[]) => any) | undefined;
21
- }, {
11
+ }>, {
22
12
  text: string;
23
13
  isLoading: boolean;
24
14
  copied: string;
25
15
  hoverBehavior: boolean;
26
- }, {}>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
17
  export default _default;
28
- type __VLS_WithDefaults<P, D> = {
29
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
- default: D[K];
31
- }> : P[K];
32
- };
33
- type __VLS_Prettify<T> = {
34
- [K in keyof T]: T[K];
35
- } & {};
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToOption<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
@@ -8,62 +8,37 @@ interface Props {
8
8
  closeOnClickOutside?: boolean;
9
9
  }
10
10
  declare function __VLS_template(): {
11
- onlyWrapper?(_: {}): any;
12
- content?(_: {}): any;
13
- footer?(_: {}): any;
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ onlyWrapper?(_: {}): any;
14
+ content?(_: {}): any;
15
+ footer?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ rootEl: any;
14
19
  };
15
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
- position: string;
17
- size: string;
18
- hasCloseButton: boolean;
19
- blurred: boolean;
20
- btnChevronHide: boolean;
21
- closeOnClickOutside: boolean;
22
- }>, {
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
23
22
  toggleModal: () => void;
24
- isOpen: import("vue").Ref<boolean>;
25
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ isOpen: import("vue").Ref<boolean, boolean>;
24
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
25
  close: (...args: any[]) => void;
27
26
  "close-button": (...args: any[]) => void;
28
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
29
- position: string;
30
- size: string;
31
- hasCloseButton: boolean;
32
- blurred: boolean;
33
- btnChevronHide: boolean;
34
- closeOnClickOutside: boolean;
35
- }>>> & {
27
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
36
28
  onClose?: ((...args: any[]) => any) | undefined;
37
29
  "onClose-button"?: ((...args: any[]) => any) | undefined;
38
- }, {
30
+ }>, {
39
31
  size: string;
40
32
  hasCloseButton: boolean;
41
33
  position: Positions;
42
34
  blurred: boolean;
43
35
  btnChevronHide: boolean;
44
36
  closeOnClickOutside: boolean;
45
- }, {}>;
46
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
47
39
  export default _default;
48
- type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
- default: D[K];
51
- }> : P[K];
52
- };
53
- type __VLS_Prettify<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
56
40
  type __VLS_WithTemplateSlots<T, S> = T & {
57
41
  new (): {
58
42
  $slots: S;
59
43
  };
60
44
  };
61
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
- type __VLS_TypePropsToOption<T> = {
63
- [K in keyof T]-?: {} extends Pick<T, K> ? {
64
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
65
- } : {
66
- type: import('vue').PropType<T[K]>;
67
- required: true;
68
- };
69
- };
@@ -7,42 +7,27 @@ interface Props {
7
7
  label?: string;
8
8
  }
9
9
  declare function __VLS_template(): {
10
- content?(_: {}): any;
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ content?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: any;
11
16
  };
12
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
13
- actionListOptions: () => never[];
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
19
  clickOption: (...args: any[]) => void;
16
20
  "button-click": (...args: any[]) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
- actionListOptions: () => never[];
19
- }>>> & {
21
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
20
22
  onClickOption?: ((...args: any[]) => any) | undefined;
21
23
  "onButton-click"?: ((...args: any[]) => any) | undefined;
22
- }, {
24
+ }>, {
23
25
  actionListOptions: Array<Option>;
24
- }, {}>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
28
  export default _default;
27
- type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
- default: D[K];
30
- }> : P[K];
31
- };
32
- type __VLS_Prettify<T> = {
33
- [K in keyof T]: T[K];
34
- } & {};
35
29
  type __VLS_WithTemplateSlots<T, S> = T & {
36
30
  new (): {
37
31
  $slots: S;
38
32
  };
39
33
  };
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToOption<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
@@ -3,39 +3,22 @@ interface Props {
3
3
  idLogo: string;
4
4
  }
5
5
  declare function __VLS_template(): {
6
- end?(_: {}): any;
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ end?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
7
12
  };
8
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- label: string;
10
- idLogo: string;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
- label: string;
13
- idLogo: string;
14
- }>>>, {
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
15
  label: string;
16
16
  idLogo: string;
17
- }, {}>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
19
  export default _default;
20
- type __VLS_WithDefaults<P, D> = {
21
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
- default: D[K];
23
- }> : P[K];
24
- };
25
- type __VLS_Prettify<T> = {
26
- [K in keyof T]: T[K];
27
- } & {};
28
20
  type __VLS_WithTemplateSlots<T, S> = T & {
29
21
  new (): {
30
22
  $slots: S;
31
23
  };
32
24
  };
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToOption<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
@@ -11,55 +11,36 @@ interface Props {
11
11
  icon?: IconTypeV3;
12
12
  hasCloseButton?: boolean;
13
13
  showActionsBorder?: boolean;
14
+ subtitleAlignment?: 'center' | 'start' | 'end';
14
15
  }
15
16
  declare function __VLS_template(): {
16
- content?(_: {}): any;
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ content?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLElement;
17
23
  };
18
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- themeBtnPrimary: string;
20
- hasCloseButton: boolean;
21
- isDisabledBtnPrimary: boolean;
22
- showActionsBorder: boolean;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
26
  close: (...args: any[]) => void;
25
27
  clickPrimary: (...args: any[]) => void;
26
28
  clickSecondary: (...args: any[]) => void;
27
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
- themeBtnPrimary: string;
29
- hasCloseButton: boolean;
30
- isDisabledBtnPrimary: boolean;
31
- showActionsBorder: boolean;
32
- }>>> & {
29
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
33
30
  onClose?: ((...args: any[]) => any) | undefined;
34
31
  onClickPrimary?: ((...args: any[]) => any) | undefined;
35
32
  onClickSecondary?: ((...args: any[]) => any) | undefined;
36
- }, {
33
+ }>, {
37
34
  hasCloseButton: boolean;
38
35
  isDisabledBtnPrimary: boolean;
39
36
  themeBtnPrimary: ButtonThemes;
40
37
  showActionsBorder: boolean;
41
- }, {}>;
42
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
+ subtitleAlignment: "center" | "start" | "end";
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
41
  export default _default;
44
- type __VLS_WithDefaults<P, D> = {
45
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
- default: D[K];
47
- }> : P[K];
48
- };
49
- type __VLS_Prettify<T> = {
50
- [K in keyof T]: T[K];
51
- } & {};
52
42
  type __VLS_WithTemplateSlots<T, S> = T & {
53
43
  new (): {
54
44
  $slots: S;
55
45
  };
56
46
  };
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToOption<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
@@ -10,67 +10,284 @@ interface Props {
10
10
  showActionsBorder?: boolean;
11
11
  }
12
12
  declare function __VLS_template(): {
13
- bottom?(_: {}): any;
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ bottom?(_: {}): any;
16
+ };
17
+ refs: {
18
+ otpInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
19
+ value: {
20
+ type: import("vue").PropType<string>;
21
+ required: true;
22
+ default: string;
23
+ };
24
+ placeholder: {
25
+ type: import("vue").PropType<string[]>;
26
+ };
27
+ isDisabled: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ inputmode: {
31
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
32
+ default: string;
33
+ };
34
+ numInputs: {
35
+ type: import("vue").PropType<number>;
36
+ default: number;
37
+ };
38
+ separator: {
39
+ type: import("vue").PropType<string>;
40
+ default: string;
41
+ };
42
+ inputClasses: {
43
+ type: import("vue").PropType<string | string[]>;
44
+ default: string;
45
+ };
46
+ conditionalClass: {
47
+ type: import("vue").PropType<string[]>;
48
+ };
49
+ inputType: {
50
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
51
+ };
52
+ shouldAutoFocus: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ shouldFocusOrder: {
57
+ type: import("vue").PropType<boolean>;
58
+ };
59
+ }>> & {
60
+ "onOn-change"?: ((value: string) => any) | undefined;
61
+ "onUpdate:value"?: ((value: string) => any) | undefined;
62
+ "onOn-complete"?: ((value: string) => any) | undefined;
63
+ }, {
64
+ clearInput: () => void;
65
+ fillInput: (value: string) => void;
66
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
+ "update:value": (value: string) => void;
68
+ "on-change": (value: string) => void;
69
+ "on-complete": (value: string) => void;
70
+ }, import("vue").PublicProps, {
71
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
72
+ value: string;
73
+ separator: string;
74
+ inputClasses: string | string[];
75
+ shouldAutoFocus: boolean;
76
+ numInputs: number;
77
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
78
+ P: {};
79
+ B: {};
80
+ D: {};
81
+ C: {};
82
+ M: {};
83
+ Defaults: {};
84
+ }, Readonly<import("vue").ExtractPropTypes<{
85
+ value: {
86
+ type: import("vue").PropType<string>;
87
+ required: true;
88
+ default: string;
89
+ };
90
+ placeholder: {
91
+ type: import("vue").PropType<string[]>;
92
+ };
93
+ isDisabled: {
94
+ type: import("vue").PropType<boolean>;
95
+ };
96
+ inputmode: {
97
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
98
+ default: string;
99
+ };
100
+ numInputs: {
101
+ type: import("vue").PropType<number>;
102
+ default: number;
103
+ };
104
+ separator: {
105
+ type: import("vue").PropType<string>;
106
+ default: string;
107
+ };
108
+ inputClasses: {
109
+ type: import("vue").PropType<string | string[]>;
110
+ default: string;
111
+ };
112
+ conditionalClass: {
113
+ type: import("vue").PropType<string[]>;
114
+ };
115
+ inputType: {
116
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
117
+ };
118
+ shouldAutoFocus: {
119
+ type: import("vue").PropType<boolean>;
120
+ default: boolean;
121
+ };
122
+ shouldFocusOrder: {
123
+ type: import("vue").PropType<boolean>;
124
+ };
125
+ }>> & {
126
+ "onOn-change"?: ((value: string) => any) | undefined;
127
+ "onUpdate:value"?: ((value: string) => any) | undefined;
128
+ "onOn-complete"?: ((value: string) => any) | undefined;
129
+ }, {
130
+ clearInput: () => void;
131
+ fillInput: (value: string) => void;
132
+ }, {}, {}, {}, {
133
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
134
+ value: string;
135
+ separator: string;
136
+ inputClasses: string | string[];
137
+ shouldAutoFocus: boolean;
138
+ numInputs: number;
139
+ }> | null;
140
+ };
141
+ rootEl: HTMLElement;
14
142
  };
15
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
- isLoading: boolean;
17
- title: string;
18
- description: string;
19
- textCancelButton: string;
20
- textSubmitButton: string;
21
- hideIcon: boolean;
22
- isInvalidOtp: boolean;
23
- errorMsg: string;
24
- }>, {
143
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
144
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
25
145
  clearInput: () => void | undefined;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- submit: (...args: any[]) => void;
146
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
147
  cancel: (...args: any[]) => void;
148
+ submit: (...args: any[]) => void;
29
149
  onComplete: (...args: any[]) => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
- isLoading: boolean;
32
- title: string;
33
- description: string;
34
- textCancelButton: string;
35
- textSubmitButton: string;
36
- hideIcon: boolean;
37
- isInvalidOtp: boolean;
38
- errorMsg: string;
39
- }>>> & {
40
- onSubmit?: ((...args: any[]) => any) | undefined;
150
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
41
151
  onCancel?: ((...args: any[]) => any) | undefined;
152
+ onSubmit?: ((...args: any[]) => any) | undefined;
42
153
  onOnComplete?: ((...args: any[]) => any) | undefined;
43
- }, {
154
+ }>, {
44
155
  title: string;
45
- description: string;
46
156
  isLoading: boolean;
157
+ description: string;
47
158
  errorMsg: string;
48
159
  textCancelButton: string;
49
160
  textSubmitButton: string;
50
161
  hideIcon: boolean;
51
162
  isInvalidOtp: boolean;
52
- }, {}>;
53
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
163
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
164
+ otpInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
165
+ value: {
166
+ type: import("vue").PropType<string>;
167
+ required: true;
168
+ default: string;
169
+ };
170
+ placeholder: {
171
+ type: import("vue").PropType<string[]>;
172
+ };
173
+ isDisabled: {
174
+ type: import("vue").PropType<boolean>;
175
+ };
176
+ inputmode: {
177
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
178
+ default: string;
179
+ };
180
+ numInputs: {
181
+ type: import("vue").PropType<number>;
182
+ default: number;
183
+ };
184
+ separator: {
185
+ type: import("vue").PropType<string>;
186
+ default: string;
187
+ };
188
+ inputClasses: {
189
+ type: import("vue").PropType<string | string[]>;
190
+ default: string;
191
+ };
192
+ conditionalClass: {
193
+ type: import("vue").PropType<string[]>;
194
+ };
195
+ inputType: {
196
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
197
+ };
198
+ shouldAutoFocus: {
199
+ type: import("vue").PropType<boolean>;
200
+ default: boolean;
201
+ };
202
+ shouldFocusOrder: {
203
+ type: import("vue").PropType<boolean>;
204
+ };
205
+ }>> & {
206
+ "onOn-change"?: ((value: string) => any) | undefined;
207
+ "onUpdate:value"?: ((value: string) => any) | undefined;
208
+ "onOn-complete"?: ((value: string) => any) | undefined;
209
+ }, {
210
+ clearInput: () => void;
211
+ fillInput: (value: string) => void;
212
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
213
+ "update:value": (value: string) => void;
214
+ "on-change": (value: string) => void;
215
+ "on-complete": (value: string) => void;
216
+ }, import("vue").PublicProps, {
217
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
218
+ value: string;
219
+ separator: string;
220
+ inputClasses: string | string[];
221
+ shouldAutoFocus: boolean;
222
+ numInputs: number;
223
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
224
+ P: {};
225
+ B: {};
226
+ D: {};
227
+ C: {};
228
+ M: {};
229
+ Defaults: {};
230
+ }, Readonly<import("vue").ExtractPropTypes<{
231
+ value: {
232
+ type: import("vue").PropType<string>;
233
+ required: true;
234
+ default: string;
235
+ };
236
+ placeholder: {
237
+ type: import("vue").PropType<string[]>;
238
+ };
239
+ isDisabled: {
240
+ type: import("vue").PropType<boolean>;
241
+ };
242
+ inputmode: {
243
+ type: import("vue").PropType<"text" | "search" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
244
+ default: string;
245
+ };
246
+ numInputs: {
247
+ type: import("vue").PropType<number>;
248
+ default: number;
249
+ };
250
+ separator: {
251
+ type: import("vue").PropType<string>;
252
+ default: string;
253
+ };
254
+ inputClasses: {
255
+ type: import("vue").PropType<string | string[]>;
256
+ default: string;
257
+ };
258
+ conditionalClass: {
259
+ type: import("vue").PropType<string[]>;
260
+ };
261
+ inputType: {
262
+ type: import("vue").PropType<"number" | "password" | "tel" | "letter-numeric">;
263
+ };
264
+ shouldAutoFocus: {
265
+ type: import("vue").PropType<boolean>;
266
+ default: boolean;
267
+ };
268
+ shouldFocusOrder: {
269
+ type: import("vue").PropType<boolean>;
270
+ };
271
+ }>> & {
272
+ "onOn-change"?: ((value: string) => any) | undefined;
273
+ "onUpdate:value"?: ((value: string) => any) | undefined;
274
+ "onOn-complete"?: ((value: string) => any) | undefined;
275
+ }, {
276
+ clearInput: () => void;
277
+ fillInput: (value: string) => void;
278
+ }, {}, {}, {}, {
279
+ inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
280
+ value: string;
281
+ separator: string;
282
+ inputClasses: string | string[];
283
+ shouldAutoFocus: boolean;
284
+ numInputs: number;
285
+ }> | null;
286
+ }, HTMLElement>;
287
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
288
  export default _default;
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
289
  type __VLS_WithTemplateSlots<T, S> = T & {
64
290
  new (): {
65
291
  $slots: S;
66
292
  };
67
293
  };
68
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
- type __VLS_TypePropsToOption<T> = {
70
- [K in keyof T]-?: {} extends Pick<T, K> ? {
71
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
72
- } : {
73
- type: import('vue').PropType<T[K]>;
74
- required: true;
75
- };
76
- };