@cobre-npm/ds-v3 0.67.3 → 0.68.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/cobre-ds-v3-lib.es.js +9273 -9297
- package/dist/style.css +1 -1
- package/dist/types/App.vue.d.ts +1 -1
- package/dist/types/components/HelloWorld.vue.d.ts +13 -3
- package/dist/types/components/atoms/CobreAlert/CobreAlert.vue.d.ts +34 -17
- package/dist/types/components/atoms/CobreAvatar/CobreAvatar.vue.d.ts +11 -1
- package/dist/types/components/atoms/CobreBankLogo/CobreBankLogo.vue.d.ts +25 -2
- package/dist/types/components/atoms/CobreButton/CobreButton.vue.d.ts +10 -10
- package/dist/types/components/atoms/CobreButtonMenu/CobreButtonMenu.vue.d.ts +8 -8
- package/dist/types/components/atoms/CobreCardButton/CobreCardButton.vue.d.ts +25 -2
- package/dist/types/components/atoms/CobreCheckbox/CobreCheckbox.vue.d.ts +29 -16
- package/dist/types/components/atoms/CobreColumnTable/CobreColumnTable.vue.d.ts +32 -13
- package/dist/types/components/atoms/CobreCountryFlag/CobreCountryFlag.vue.d.ts +23 -2
- package/dist/types/components/atoms/CobreEmptyResults/CobreEmptyResults.vue.d.ts +28 -3
- package/dist/types/components/atoms/CobreEmptyState/CobreEmptyState.vue.d.ts +16 -12
- package/dist/types/components/atoms/CobreIndicative/CobreIndicative.vue.d.ts +43 -20
- package/dist/types/components/atoms/CobreInfoDetail/CobreInfoDetail.vue.d.ts +31 -10
- package/dist/types/components/atoms/CobreInputLabel/CobreInputLabel.vue.d.ts +10 -1
- package/dist/types/components/atoms/CobreOptionsSwitch/CobreOptionsSwitch.vue.d.ts +26 -8
- package/dist/types/components/atoms/CobrePager/CobrePager.vue.d.ts +31 -4
- package/dist/types/components/atoms/CobreRadio/CobreRadio.vue.d.ts +31 -4
- package/dist/types/components/atoms/CobreSwitch/CobreSwitch.vue.d.ts +20 -3
- package/dist/types/components/atoms/CobreTabMenu/CobreTabMenu.vue.d.ts +5 -5
- package/dist/types/components/atoms/CobreToastAlert/CobreToastAlert.vue.d.ts +30 -7
- package/dist/types/components/atoms/CobreTruncateTooltipText/CobreTruncateTooltipText.vue.d.ts +23 -4
- package/dist/types/components/atoms/CobreUploader/CobreUploader.vue.d.ts +30 -5
- package/dist/types/components/molecules/CobreAccountCpButton/CobreAccountCpButton.vue.d.ts +12 -3
- package/dist/types/components/molecules/CobreAccountInfoFiled/CobreAccountInfoField.vue.d.ts +33 -4
- package/dist/types/components/molecules/CobreActionList/CobreActionList.vue.d.ts +34 -17
- package/dist/types/components/molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue.d.ts +14 -3
- package/dist/types/components/molecules/CobreBadge/CobreBadge.vue.d.ts +33 -14
- package/dist/types/components/molecules/CobreChips/CobreChips.vue.d.ts +27 -4
- package/dist/types/components/molecules/CobreCopyTextBox/CobreCopyTextBox.vue.d.ts +31 -4
- package/dist/types/components/molecules/CobreDrawer/CobreDrawer.vue.d.ts +41 -16
- package/dist/types/components/molecules/CobreDropdownButton/CobreDropdownButton.vue.d.ts +27 -12
- package/dist/types/components/molecules/CobreFieldLogo/CobreFieldLogo.vue.d.ts +27 -10
- package/dist/types/components/molecules/CobreFlowResult/CobreFlowResult.vue.d.ts +33 -12
- package/dist/types/components/molecules/CobreFormOtp/CobreFormOtp.vue.d.ts +45 -262
- package/dist/types/components/molecules/CobreInput/CobreInput.vue.d.ts +46 -5
- package/dist/types/components/molecules/CobreInputAmount/CobreInputAmount.vue.d.ts +44 -9
- package/dist/types/components/molecules/CobreInputCurrency/CobreInputCurrency.vue.d.ts +52 -15
- package/dist/types/components/molecules/CobreInputPhoneNumber/CobreInputPhoneNumber.vue.d.ts +46 -5
- package/dist/types/components/molecules/CobreInputUrl/CobreInputUrl.vue.d.ts +46 -5
- package/dist/types/components/molecules/CobreKebabMenu/CobreKebabMenu.vue.d.ts +12 -3
- package/dist/types/components/molecules/CobreLogoField/CobreLogoField.vue.d.ts +27 -10
- package/dist/types/components/molecules/CobreModal/CobreModal.vue.d.ts +33 -14
- package/dist/types/components/molecules/CobreModalAction/CobreModalAction.vue.d.ts +63 -0
- package/dist/types/components/molecules/CobreRowTable/CobreRowTable.vue.d.ts +59 -23
- package/dist/types/components/molecules/CobreSelect/CobreSelect.vue.d.ts +66 -43
- package/dist/types/components/molecules/CobreSnackBar/CobreSnackBar.vue.d.ts +31 -2
- package/dist/types/components/molecules/CobreTableCellCopy/CobreTableCellCopy.vue.d.ts +39 -12
- package/dist/types/components/molecules/CobreTextArea/CobreTextArea.vue.d.ts +46 -5
- package/dist/types/components/molecules/Toolbar/CobreInputSearch/CobreInputSearch.vue.d.ts +27 -6
- package/dist/types/components/organisms/CobreDateFilter/CobreDateFilter.vue.d.ts +65 -0
- package/dist/types/components/organisms/CobreHeader/CobreHeader.vue.d.ts +28 -13
- package/dist/types/components/organisms/CobreHeader/components/Navbar.vue.d.ts +29 -4
- package/dist/types/components/organisms/CobreSideMenu/CobreSideMenu.vue.d.ts +33 -14
- package/dist/types/components/organisms/CobreSideMenu/components/SideMenuItem.vue.d.ts +12 -5
- package/dist/types/components/organisms/CobreSideMenu/components/SubItems.vue.d.ts +12 -3
- package/dist/types/components/organisms/CobreTimeline/CobreTimeline.vue.d.ts +27 -12
- package/package.json +1 -1
|
@@ -8,37 +8,62 @@ interface Props {
|
|
|
8
8
|
closeOnClickOutside?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
content?(_: {}): any;
|
|
15
|
-
footer?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
rootEl: any;
|
|
11
|
+
onlyWrapper?(_: {}): any;
|
|
12
|
+
content?(_: {}): any;
|
|
13
|
+
footer?(_: {}): any;
|
|
19
14
|
};
|
|
20
|
-
|
|
21
|
-
|
|
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
|
+
}>, {
|
|
22
23
|
toggleModal: () => void;
|
|
23
|
-
isOpen: import("vue").Ref<boolean
|
|
24
|
-
},
|
|
24
|
+
isOpen: import("vue").Ref<boolean>;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
26
|
close: (...args: any[]) => void;
|
|
26
27
|
"close-button": (...args: any[]) => void;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
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
|
+
}>>> & {
|
|
28
36
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
29
37
|
"onClose-button"?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}
|
|
38
|
+
}, {
|
|
31
39
|
size: string;
|
|
32
40
|
hasCloseButton: boolean;
|
|
33
41
|
position: Positions;
|
|
34
42
|
blurred: boolean;
|
|
35
43
|
btnChevronHide: boolean;
|
|
36
44
|
closeOnClickOutside: boolean;
|
|
37
|
-
}, {}
|
|
38
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
45
|
+
}, {}>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
39
47
|
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
|
+
} & {};
|
|
40
56
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
57
|
new (): {
|
|
42
58
|
$slots: S;
|
|
43
59
|
};
|
|
44
60
|
};
|
|
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,27 +7,42 @@ interface Props {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
}
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
-
|
|
11
|
-
slots: {
|
|
12
|
-
content?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
10
|
+
content?(_: {}): any;
|
|
16
11
|
};
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
|
+
actionListOptions: () => never[];
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
15
|
clickOption: (...args: any[]) => void;
|
|
20
16
|
"button-click": (...args: any[]) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
|
+
actionListOptions: () => never[];
|
|
19
|
+
}>>> & {
|
|
22
20
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
23
21
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}
|
|
22
|
+
}, {
|
|
25
23
|
actionListOptions: Array<Option>;
|
|
26
|
-
}, {}
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
}, {}>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
26
|
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
|
+
} & {};
|
|
29
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
36
|
new (): {
|
|
31
37
|
$slots: S;
|
|
32
38
|
};
|
|
33
39
|
};
|
|
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,22 +3,39 @@ interface Props {
|
|
|
3
3
|
idLogo: string;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
7
|
-
slots: {
|
|
8
|
-
end?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: HTMLDivElement;
|
|
6
|
+
end?(_: {}): any;
|
|
12
7
|
};
|
|
13
|
-
|
|
14
|
-
|
|
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
|
+
}>>>, {
|
|
15
15
|
label: string;
|
|
16
16
|
idLogo: string;
|
|
17
|
-
}, {}
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
17
|
+
}, {}>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
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
|
+
} & {};
|
|
20
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
29
|
new (): {
|
|
22
30
|
$slots: S;
|
|
23
31
|
};
|
|
24
32
|
};
|
|
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
|
+
};
|
|
@@ -13,32 +13,53 @@ interface Props {
|
|
|
13
13
|
showActionsBorder?: boolean;
|
|
14
14
|
}
|
|
15
15
|
declare function __VLS_template(): {
|
|
16
|
-
|
|
17
|
-
slots: {
|
|
18
|
-
content?(_: {}): any;
|
|
19
|
-
};
|
|
20
|
-
refs: {};
|
|
21
|
-
rootEl: HTMLElement;
|
|
16
|
+
content?(_: {}): any;
|
|
22
17
|
};
|
|
23
|
-
|
|
24
|
-
|
|
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, {
|
|
25
24
|
close: (...args: any[]) => void;
|
|
26
25
|
clickPrimary: (...args: any[]) => void;
|
|
27
26
|
clickSecondary: (...args: any[]) => void;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
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
33
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
30
34
|
onClickPrimary?: ((...args: any[]) => any) | undefined;
|
|
31
35
|
onClickSecondary?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}
|
|
36
|
+
}, {
|
|
33
37
|
hasCloseButton: boolean;
|
|
34
38
|
isDisabledBtnPrimary: boolean;
|
|
35
39
|
themeBtnPrimary: ButtonThemes;
|
|
36
40
|
showActionsBorder: boolean;
|
|
37
|
-
}, {}
|
|
38
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
41
|
+
}, {}>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
39
43
|
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
|
+
} & {};
|
|
40
52
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
53
|
new (): {
|
|
42
54
|
$slots: S;
|
|
43
55
|
};
|
|
44
56
|
};
|
|
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,284 +10,67 @@ interface Props {
|
|
|
10
10
|
showActionsBorder?: boolean;
|
|
11
11
|
}
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
|
-
|
|
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;
|
|
13
|
+
bottom?(_: {}): any;
|
|
142
14
|
};
|
|
143
|
-
|
|
144
|
-
|
|
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
|
+
}>, {
|
|
145
25
|
clearInput: () => void | undefined;
|
|
146
|
-
},
|
|
147
|
-
cancel: (...args: any[]) => void;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
148
27
|
submit: (...args: any[]) => void;
|
|
28
|
+
cancel: (...args: any[]) => void;
|
|
149
29
|
onComplete: (...args: any[]) => void;
|
|
150
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
151
|
-
|
|
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
|
+
}>>> & {
|
|
152
40
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
153
42
|
onOnComplete?: ((...args: any[]) => any) | undefined;
|
|
154
|
-
}
|
|
43
|
+
}, {
|
|
155
44
|
title: string;
|
|
156
|
-
isLoading: boolean;
|
|
157
45
|
description: string;
|
|
46
|
+
isLoading: boolean;
|
|
158
47
|
errorMsg: string;
|
|
159
48
|
textCancelButton: string;
|
|
160
49
|
textSubmitButton: string;
|
|
161
50
|
hideIcon: boolean;
|
|
162
51
|
isInvalidOtp: boolean;
|
|
163
|
-
}, {}
|
|
164
|
-
|
|
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"]>;
|
|
52
|
+
}, {}>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
288
54
|
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
|
+
} & {};
|
|
289
63
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
290
64
|
new (): {
|
|
291
65
|
$slots: S;
|
|
292
66
|
};
|
|
293
67
|
};
|
|
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
|
+
};
|
|
@@ -16,7 +16,19 @@ interface Props {
|
|
|
16
16
|
iconInfoLabel?: boolean;
|
|
17
17
|
showErrors?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const _default: import("vue").DefineComponent<Props
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
20
|
+
isRequired: boolean;
|
|
21
|
+
minlength: string;
|
|
22
|
+
maxlength: string;
|
|
23
|
+
errorMsg: string;
|
|
24
|
+
isDisabled: boolean;
|
|
25
|
+
type: string;
|
|
26
|
+
labelOptional: string;
|
|
27
|
+
infoLabel: string;
|
|
28
|
+
iconInfoLabel: boolean;
|
|
29
|
+
theme: string;
|
|
30
|
+
showErrors: boolean;
|
|
31
|
+
}>, {
|
|
20
32
|
isValid: import("vue").ComputedRef<boolean>;
|
|
21
33
|
isValidMinlength: import("vue").ComputedRef<boolean>;
|
|
22
34
|
isValidMaxlength: import("vue").ComputedRef<boolean>;
|
|
@@ -25,11 +37,23 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
25
37
|
isValidEmail: import("vue").ComputedRef<boolean>;
|
|
26
38
|
areValidLetters: import("vue").ComputedRef<boolean>;
|
|
27
39
|
isDirty: import("vue").ComputedRef<boolean>;
|
|
28
|
-
},
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
41
|
"update:modelValue": (...args: any[]) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
42
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
43
|
+
isRequired: boolean;
|
|
44
|
+
minlength: string;
|
|
45
|
+
maxlength: string;
|
|
46
|
+
errorMsg: string;
|
|
47
|
+
isDisabled: boolean;
|
|
48
|
+
type: string;
|
|
49
|
+
labelOptional: string;
|
|
50
|
+
infoLabel: string;
|
|
51
|
+
iconInfoLabel: boolean;
|
|
52
|
+
theme: string;
|
|
53
|
+
showErrors: boolean;
|
|
54
|
+
}>>> & {
|
|
31
55
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}
|
|
56
|
+
}, {
|
|
33
57
|
type: "alphanumeric" | "numeric" | "letters" | "anyCharacter" | "password" | "email";
|
|
34
58
|
theme: "white" | "cloudy";
|
|
35
59
|
isRequired: boolean;
|
|
@@ -41,5 +65,22 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
41
65
|
infoLabel: string | null;
|
|
42
66
|
iconInfoLabel: boolean;
|
|
43
67
|
showErrors: boolean;
|
|
44
|
-
}, {}
|
|
68
|
+
}, {}>;
|
|
45
69
|
export default _default;
|
|
70
|
+
type __VLS_WithDefaults<P, D> = {
|
|
71
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
+
default: D[K];
|
|
73
|
+
}> : P[K];
|
|
74
|
+
};
|
|
75
|
+
type __VLS_Prettify<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
78
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
79
|
+
type __VLS_TypePropsToOption<T> = {
|
|
80
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
81
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
82
|
+
} : {
|
|
83
|
+
type: import('vue').PropType<T[K]>;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
};
|