@cobre-npm/ds-v3 0.77.0 → 0.77.1
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 +9716 -9674
- package/dist/style.css +1 -1
- package/dist/types/App.vue.d.ts +1 -1
- package/dist/types/components/HelloWorld.vue.d.ts +3 -13
- package/dist/types/components/atoms/CobreAlert/CobreAlert.vue.d.ts +17 -34
- package/dist/types/components/atoms/CobreAvatar/CobreAvatar.vue.d.ts +1 -11
- package/dist/types/components/atoms/CobreBankLogo/CobreBankLogo.vue.d.ts +2 -25
- 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 +2 -25
- package/dist/types/components/atoms/CobreCheckbox/CobreCheckbox.vue.d.ts +16 -29
- package/dist/types/components/atoms/CobreColumnTable/CobreColumnTable.vue.d.ts +13 -32
- package/dist/types/components/atoms/CobreCountryFlag/CobreCountryFlag.vue.d.ts +2 -27
- package/dist/types/components/atoms/CobreEmptyResults/CobreEmptyResults.vue.d.ts +3 -28
- package/dist/types/components/atoms/CobreEmptyState/CobreEmptyState.vue.d.ts +12 -16
- package/dist/types/components/atoms/CobreIndicative/CobreIndicative.vue.d.ts +20 -43
- package/dist/types/components/atoms/CobreInfoDetail/CobreInfoDetail.vue.d.ts +10 -31
- package/dist/types/components/atoms/CobreInputLabel/CobreInputLabel.vue.d.ts +1 -10
- package/dist/types/components/atoms/CobreOptionsSwitch/CobreOptionsSwitch.vue.d.ts +8 -26
- package/dist/types/components/atoms/CobrePager/CobrePager.vue.d.ts +4 -31
- package/dist/types/components/atoms/CobreRadio/CobreRadio.vue.d.ts +12 -35
- package/dist/types/components/atoms/CobreRowActions/CobreRowActions.vue.d.ts +6 -18
- package/dist/types/components/atoms/CobreSwitch/CobreSwitch.vue.d.ts +3 -20
- package/dist/types/components/atoms/CobreTabMenu/CobreTabMenu.vue.d.ts +5 -5
- package/dist/types/components/atoms/CobreTabMenuV2/CobreTabMenu.vue.d.ts +7 -20
- package/dist/types/components/atoms/CobreToastAlert/CobreToastAlert.vue.d.ts +7 -30
- package/dist/types/components/atoms/CobreTruncateTooltipText/CobreTruncateTooltipText.vue.d.ts +4 -23
- package/dist/types/components/atoms/CobreUploader/CobreUploader.vue.d.ts +5 -30
- package/dist/types/components/molecules/CobreAccountCpButton/CobreAccountCpButton.vue.d.ts +4 -25
- package/dist/types/components/molecules/CobreAccountInfoFiled/CobreAccountInfoField.vue.d.ts +4 -33
- package/dist/types/components/molecules/CobreActionList/CobreActionList.vue.d.ts +17 -34
- package/dist/types/components/molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue.d.ts +3 -14
- package/dist/types/components/molecules/CobreBadge/CobreBadge.vue.d.ts +14 -35
- package/dist/types/components/molecules/CobreCardIcon/CobreCardIcon.vue.d.ts +14 -35
- package/dist/types/components/molecules/CobreChips/CobreChips.vue.d.ts +4 -27
- package/dist/types/components/molecules/CobreCopyTextBox/CobreCopyTextBox.vue.d.ts +4 -31
- package/dist/types/components/molecules/CobreDrawer/CobreDrawer.vue.d.ts +16 -41
- package/dist/types/components/molecules/CobreDropdownButton/CobreDropdownButton.vue.d.ts +12 -27
- package/dist/types/components/molecules/CobreFieldLogo/CobreFieldLogo.vue.d.ts +10 -27
- package/dist/types/components/molecules/CobreFlowResult/CobreFlowResult.vue.d.ts +12 -35
- package/dist/types/components/molecules/CobreFormOtp/CobreFormOtp.vue.d.ts +262 -45
- package/dist/types/components/molecules/CobreInput/CobreInput.vue.d.ts +5 -48
- package/dist/types/components/molecules/CobreInputAmount/CobreInputAmount.vue.d.ts +9 -44
- package/dist/types/components/molecules/CobreInputCurrency/CobreInputCurrency.vue.d.ts +15 -52
- package/dist/types/components/molecules/CobreInputPhoneNumber/CobreInputPhoneNumber.vue.d.ts +5 -46
- package/dist/types/components/molecules/CobreInputUrl/CobreInputUrl.vue.d.ts +5 -46
- package/dist/types/components/molecules/CobreKebabMenu/CobreKebabMenu.vue.d.ts +3 -12
- package/dist/types/components/molecules/CobreLogoField/CobreLogoField.vue.d.ts +10 -27
- package/dist/types/components/molecules/CobreModal/CobreModal.vue.d.ts +14 -33
- package/dist/types/components/molecules/CobreRowTable/CobreRowTable.vue.d.ts +23 -59
- package/dist/types/components/molecules/CobreSelect/CobreSelect.vue.d.ts +43 -66
- package/dist/types/components/molecules/CobreSnackBar/CobreSnackBar.vue.d.ts +2 -31
- package/dist/types/components/molecules/CobreTableCellCopy/CobreTableCellCopy.vue.d.ts +181 -39
- package/dist/types/components/molecules/CobreTextArea/CobreTextArea.vue.d.ts +5 -46
- package/dist/types/components/molecules/Toolbar/CobreInputSearch/CobreInputSearch.vue.d.ts +6 -27
- package/dist/types/components/molecules/Toolbar/CobreInputSearchV2/CobreInputSearchV2.vue.d.ts +6 -29
- package/dist/types/components/organisms/CobreHeader/CobreHeader.vue.d.ts +13 -28
- package/dist/types/components/organisms/CobreHeader/components/Navbar.vue.d.ts +4 -29
- package/dist/types/components/organisms/CobreSideMenu/CobreSideMenu.vue.d.ts +14 -33
- package/dist/types/components/organisms/CobreSideMenu/components/SideMenuItem.vue.d.ts +5 -12
- package/dist/types/components/organisms/CobreSideMenu/components/SubItems.vue.d.ts +3 -12
- package/dist/types/components/organisms/CobreTimeline/CobreTimeline.vue.d.ts +12 -27
- package/package.json +1 -1
- package/dist/types/components/molecules/CobreModalAction/CobreModalAction.vue.d.ts +0 -63
- package/dist/types/components/organisms/CobreDateFilter/CobreDateFilter.vue.d.ts +0 -67
|
@@ -9,38 +9,23 @@ interface Props {
|
|
|
9
9
|
itemKey?: string;
|
|
10
10
|
}
|
|
11
11
|
declare function __VLS_template(): {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
item?(_: {
|
|
15
|
+
item: Item;
|
|
16
|
+
}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLOListElement;
|
|
15
20
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
19
|
-
itemKey: string;
|
|
20
|
-
}>>>, {
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
23
|
itemKey: string;
|
|
22
|
-
}, {}>;
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLOListElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
26
|
export default _default;
|
|
25
|
-
type __VLS_WithDefaults<P, D> = {
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
33
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
28
|
new (): {
|
|
35
29
|
$slots: S;
|
|
36
30
|
};
|
|
37
31
|
};
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToOption<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: import('vue').PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
package/package.json
CHANGED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { IconTypeV3 } from '../../../types/icon.types';
|
|
2
|
-
import { ButtonThemes } from '../../../types/button.types';
|
|
3
|
-
interface Props {
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
labelPrimary?: string;
|
|
7
|
-
icon?: IconTypeV3;
|
|
8
|
-
size?: 'xs' | 'md' | 'lg';
|
|
9
|
-
hasCloseButton?: boolean;
|
|
10
|
-
subtitle?: string;
|
|
11
|
-
isLoadingBtnPrimary?: boolean;
|
|
12
|
-
labelSecondary?: string;
|
|
13
|
-
themeBtnPrimary?: ButtonThemes;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
16
|
-
title: string;
|
|
17
|
-
size: string;
|
|
18
|
-
hasCloseButton: boolean;
|
|
19
|
-
labelButtonPrimary: string;
|
|
20
|
-
labelButtonSecondary: string;
|
|
21
|
-
icon: string;
|
|
22
|
-
themeBtnPrimary: string;
|
|
23
|
-
}>, {
|
|
24
|
-
toggleModal: () => void;
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
clickPrimary: (...args: any[]) => void;
|
|
27
|
-
clickSecondary: (...args: any[]) => void;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
29
|
-
title: string;
|
|
30
|
-
size: string;
|
|
31
|
-
hasCloseButton: boolean;
|
|
32
|
-
labelButtonPrimary: string;
|
|
33
|
-
labelButtonSecondary: string;
|
|
34
|
-
icon: string;
|
|
35
|
-
themeBtnPrimary: string;
|
|
36
|
-
}>>> & {
|
|
37
|
-
onClickPrimary?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
onClickSecondary?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
size: "xs" | "md" | "lg";
|
|
41
|
-
title: string;
|
|
42
|
-
icon: IconTypeV3;
|
|
43
|
-
hasCloseButton: boolean;
|
|
44
|
-
themeBtnPrimary: ButtonThemes;
|
|
45
|
-
}, {}>;
|
|
46
|
-
export default _default;
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
-
default: D[K];
|
|
50
|
-
}> : P[K];
|
|
51
|
-
};
|
|
52
|
-
type __VLS_Prettify<T> = {
|
|
53
|
-
[K in keyof T]: T[K];
|
|
54
|
-
} & {};
|
|
55
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
type __VLS_TypePropsToOption<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: import('vue').PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import '@vuepic/vue-datepicker/dist/main.css';
|
|
2
|
-
type CalendarTypes = 'equal' | 'range' | 'after' | 'before';
|
|
3
|
-
interface Props {
|
|
4
|
-
modelValue: object;
|
|
5
|
-
label?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
availableTypes?: {
|
|
9
|
-
type: CalendarTypes;
|
|
10
|
-
label: string;
|
|
11
|
-
}[];
|
|
12
|
-
type?: CalendarTypes;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
15
|
-
placeholder: string;
|
|
16
|
-
label: string;
|
|
17
|
-
type: string;
|
|
18
|
-
title: string;
|
|
19
|
-
availableTypes: () => {
|
|
20
|
-
type: string;
|
|
21
|
-
label: string;
|
|
22
|
-
}[];
|
|
23
|
-
}>, {
|
|
24
|
-
clearDate: () => void;
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (...args: any[]) => void;
|
|
27
|
-
change: (...args: any[]) => void;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
29
|
-
placeholder: string;
|
|
30
|
-
label: string;
|
|
31
|
-
type: string;
|
|
32
|
-
title: string;
|
|
33
|
-
availableTypes: () => {
|
|
34
|
-
type: string;
|
|
35
|
-
label: string;
|
|
36
|
-
}[];
|
|
37
|
-
}>>> & {
|
|
38
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
type: CalendarTypes;
|
|
42
|
-
label: string;
|
|
43
|
-
title: string;
|
|
44
|
-
placeholder: string;
|
|
45
|
-
availableTypes: {
|
|
46
|
-
type: CalendarTypes;
|
|
47
|
-
label: string;
|
|
48
|
-
}[];
|
|
49
|
-
}, {}>;
|
|
50
|
-
export default _default;
|
|
51
|
-
type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
-
default: D[K];
|
|
54
|
-
}> : P[K];
|
|
55
|
-
};
|
|
56
|
-
type __VLS_Prettify<T> = {
|
|
57
|
-
[K in keyof T]: T[K];
|
|
58
|
-
} & {};
|
|
59
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
-
type __VLS_TypePropsToOption<T> = {
|
|
61
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
-
} : {
|
|
64
|
-
type: import('vue').PropType<T[K]>;
|
|
65
|
-
required: true;
|
|
66
|
-
};
|
|
67
|
-
};
|