@cobre-npm/ds-v3 0.76.5 → 0.77.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 +9622 -9637
- 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 +27 -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 +35 -12
- package/dist/types/components/atoms/CobreRowActions/CobreRowActions.vue.d.ts +18 -6
- 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/CobreTabMenuV2/CobreTabMenu.vue.d.ts +20 -7
- 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 +25 -4
- 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 +35 -14
- package/dist/types/components/molecules/CobreCardIcon/CobreCardIcon.vue.d.ts +35 -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 +35 -12
- package/dist/types/components/molecules/CobreFormOtp/CobreFormOtp.vue.d.ts +45 -262
- package/dist/types/components/molecules/CobreInput/CobreInput.vue.d.ts +50 -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/molecules/Toolbar/CobreInputSearchV2/CobreInputSearchV2.vue.d.ts +29 -6
- package/dist/types/components/organisms/CobreDateFilter/CobreDateFilter.vue.d.ts +67 -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 +2 -2
|
@@ -15,13 +15,37 @@ interface Props {
|
|
|
15
15
|
iconInfoLabel?: boolean;
|
|
16
16
|
showErrors?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: import("vue").DefineComponent<Props
|
|
18
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
19
|
+
isRequired: boolean;
|
|
20
|
+
minlength: string;
|
|
21
|
+
maxlength: string;
|
|
22
|
+
errorMsg: string;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
isSearchable: boolean;
|
|
25
|
+
labelOptional: string;
|
|
26
|
+
infoLabel: string;
|
|
27
|
+
iconInfoLabel: boolean;
|
|
28
|
+
showErrors: boolean;
|
|
29
|
+
theme: string;
|
|
30
|
+
}>, {
|
|
19
31
|
isValid: import("vue").ComputedRef<boolean>;
|
|
20
|
-
},
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
33
|
"update:modelValue": (...args: any[]) => void;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
35
|
+
isRequired: boolean;
|
|
36
|
+
minlength: string;
|
|
37
|
+
maxlength: string;
|
|
38
|
+
errorMsg: string;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
isSearchable: boolean;
|
|
41
|
+
labelOptional: string;
|
|
42
|
+
infoLabel: string;
|
|
43
|
+
iconInfoLabel: boolean;
|
|
44
|
+
showErrors: boolean;
|
|
45
|
+
theme: string;
|
|
46
|
+
}>>> & {
|
|
23
47
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}
|
|
48
|
+
}, {
|
|
25
49
|
theme: "white" | "cloudy";
|
|
26
50
|
isRequired: boolean;
|
|
27
51
|
minlength: string;
|
|
@@ -31,5 +55,22 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
31
55
|
infoLabel: string | null;
|
|
32
56
|
iconInfoLabel: boolean;
|
|
33
57
|
showErrors: boolean;
|
|
34
|
-
}, {}
|
|
58
|
+
}, {}>;
|
|
35
59
|
export default _default;
|
|
60
|
+
type __VLS_WithDefaults<P, D> = {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
+
default: D[K];
|
|
63
|
+
}> : P[K];
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Prettify<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
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
|
+
};
|
|
@@ -9,9 +9,18 @@ export interface Option {
|
|
|
9
9
|
interface Props {
|
|
10
10
|
options: Option[];
|
|
11
11
|
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<Props
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
clickOption: (...args: any[]) => void;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
|
15
15
|
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
}
|
|
16
|
+
}, {}, {}>;
|
|
17
17
|
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToOption<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -4,22 +4,39 @@ interface Props {
|
|
|
4
4
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'auto';
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
|
|
8
|
-
slots: {
|
|
9
|
-
end?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: HTMLDivElement;
|
|
7
|
+
end?(_: {}): any;
|
|
13
8
|
};
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
|
+
idLogo: string;
|
|
11
|
+
size: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
|
+
idLogo: string;
|
|
14
|
+
size: string;
|
|
15
|
+
}>>>, {
|
|
16
16
|
size: "xs" | "sm" | "md" | "lg" | "auto";
|
|
17
17
|
idLogo: string;
|
|
18
|
-
}, {}
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
18
|
+
}, {}>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
20
|
export default _default;
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Prettify<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
21
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
30
|
new (): {
|
|
23
31
|
$slots: S;
|
|
24
32
|
};
|
|
25
33
|
};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -4,30 +4,49 @@ interface Props {
|
|
|
4
4
|
theme?: 'dark' | 'light';
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
|
|
8
|
-
slots: {
|
|
9
|
-
content?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {};
|
|
12
|
-
rootEl: any;
|
|
7
|
+
content?(_: {}): any;
|
|
13
8
|
};
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
|
+
hasCloseButton: boolean;
|
|
11
|
+
size: string;
|
|
12
|
+
theme: string;
|
|
13
|
+
}>, {
|
|
16
14
|
toggleModal: () => void;
|
|
17
|
-
isOpen: import("vue").Ref<boolean
|
|
18
|
-
},
|
|
15
|
+
isOpen: import("vue").Ref<boolean>;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
17
|
close: (...args: any[]) => void;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
19
|
+
hasCloseButton: boolean;
|
|
20
|
+
size: string;
|
|
21
|
+
theme: string;
|
|
22
|
+
}>>> & {
|
|
21
23
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}
|
|
24
|
+
}, {
|
|
23
25
|
size: "xs" | "md" | "lg";
|
|
24
26
|
theme: "dark" | "light";
|
|
25
27
|
hasCloseButton: boolean;
|
|
26
|
-
}, {}
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
28
|
+
}, {}>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
30
|
export default _default;
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
29
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
40
|
new (): {
|
|
31
41
|
$slots: S;
|
|
32
42
|
};
|
|
33
43
|
};
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToOption<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
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,3 +1,4 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import { Option } from '../CobreKebabMenu/CobreKebabMenu.vue';
|
|
2
3
|
import { RowAction } from '../../atoms/CobreRowActions/interfaces/CobreRowActions.interface';
|
|
3
4
|
export interface Column {
|
|
@@ -37,34 +38,52 @@ interface Props {
|
|
|
37
38
|
tableWrap?: boolean;
|
|
38
39
|
rowActions?: RowAction[];
|
|
39
40
|
}
|
|
40
|
-
|
|
41
|
-
declare const
|
|
42
|
-
selectedRows: never[];
|
|
43
|
-
};
|
|
41
|
+
declare let __VLS_typeProps: Props;
|
|
42
|
+
declare const selectedRows: Ref<Item[]>;
|
|
44
43
|
type __VLS_PublicProps = {
|
|
45
|
-
'selectedRows'?: typeof
|
|
46
|
-
} &
|
|
47
|
-
declare function __VLS_template(): {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
'selectedRows'?: NonNullable<typeof selectedRows['value']>;
|
|
45
|
+
} & typeof __VLS_typeProps;
|
|
46
|
+
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
47
|
+
data: Item;
|
|
48
|
+
index: number;
|
|
49
|
+
}) => any>> & Partial<Record<`bellowRow${number}`, (_: {}) => any>>;
|
|
50
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
51
|
+
emptyResultTitle: string;
|
|
52
|
+
emptyResultMsg: string;
|
|
53
|
+
dataKey: string;
|
|
54
|
+
height: string;
|
|
55
|
+
isResponsive: boolean;
|
|
56
|
+
allowNavigation: boolean;
|
|
57
|
+
showCheckboxes: boolean;
|
|
58
|
+
isColumnCheckboxEnabled: boolean;
|
|
59
|
+
isMultipleCheckEnabled: boolean;
|
|
60
|
+
haveToolbar: boolean;
|
|
61
|
+
isToolbarOpen: boolean;
|
|
62
|
+
tableWrap: boolean;
|
|
63
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
|
+
"update:selectedRows": (selectedRows: Item[]) => void;
|
|
58
65
|
action: (...args: any[]) => void;
|
|
59
66
|
selectItem: (...args: any[]) => void;
|
|
60
67
|
clickKebabOption: (...args: any[]) => void;
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
69
|
+
emptyResultTitle: string;
|
|
70
|
+
emptyResultMsg: string;
|
|
71
|
+
dataKey: string;
|
|
72
|
+
height: string;
|
|
73
|
+
isResponsive: boolean;
|
|
74
|
+
allowNavigation: boolean;
|
|
75
|
+
showCheckboxes: boolean;
|
|
76
|
+
isColumnCheckboxEnabled: boolean;
|
|
77
|
+
isMultipleCheckEnabled: boolean;
|
|
78
|
+
haveToolbar: boolean;
|
|
79
|
+
isToolbarOpen: boolean;
|
|
80
|
+
tableWrap: boolean;
|
|
81
|
+
}>>> & {
|
|
63
82
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
"onUpdate:selectedRows"?: ((value: never[]) => any) | undefined;
|
|
65
83
|
onSelectItem?: ((...args: any[]) => any) | undefined;
|
|
66
84
|
onClickKebabOption?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
|
|
85
|
+
"onUpdate:selectedRows"?: ((selectedRows: Item[]) => any) | undefined;
|
|
86
|
+
}, {
|
|
68
87
|
height: string;
|
|
69
88
|
dataKey: string;
|
|
70
89
|
emptyResultTitle: string;
|
|
@@ -76,11 +95,28 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
76
95
|
haveToolbar: boolean;
|
|
77
96
|
isToolbarOpen: boolean;
|
|
78
97
|
tableWrap: boolean;
|
|
79
|
-
}, {}
|
|
80
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
98
|
+
}, {}>;
|
|
99
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
81
100
|
export default _default;
|
|
101
|
+
type __VLS_WithDefaults<P, D> = {
|
|
102
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
103
|
+
default: D[K];
|
|
104
|
+
}> : P[K];
|
|
105
|
+
};
|
|
106
|
+
type __VLS_Prettify<T> = {
|
|
107
|
+
[K in keyof T]: T[K];
|
|
108
|
+
} & {};
|
|
82
109
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
110
|
new (): {
|
|
84
111
|
$slots: S;
|
|
85
112
|
};
|
|
86
113
|
};
|
|
114
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
115
|
+
type __VLS_TypePropsToOption<T> = {
|
|
116
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
117
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
118
|
+
} : {
|
|
119
|
+
type: import('vue').PropType<T[K]>;
|
|
120
|
+
required: true;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
@@ -9,57 +9,80 @@ interface Props {
|
|
|
9
9
|
noArrow?: boolean;
|
|
10
10
|
}
|
|
11
11
|
declare function __VLS_template(): {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
attributes: any;
|
|
47
|
-
}): any;
|
|
48
|
-
};
|
|
49
|
-
refs: {};
|
|
50
|
-
rootEl: HTMLDivElement;
|
|
12
|
+
option?(_: {
|
|
13
|
+
option: never;
|
|
14
|
+
}): any;
|
|
15
|
+
"open-indicator"?(_: {
|
|
16
|
+
attributes: any;
|
|
17
|
+
}): any;
|
|
18
|
+
"selected-option"?(_: {
|
|
19
|
+
option: never;
|
|
20
|
+
}): any;
|
|
21
|
+
"no-options"?(_: {
|
|
22
|
+
search: never;
|
|
23
|
+
searching: never;
|
|
24
|
+
loading: never;
|
|
25
|
+
noOptionsMessage: never;
|
|
26
|
+
}): any;
|
|
27
|
+
"no-results"?(_: {
|
|
28
|
+
search: never;
|
|
29
|
+
noResultsMessage: never;
|
|
30
|
+
}): any;
|
|
31
|
+
deselect?(_: {
|
|
32
|
+
deselect: any;
|
|
33
|
+
option: any;
|
|
34
|
+
attributes: any;
|
|
35
|
+
}): any;
|
|
36
|
+
"list-footer"?(_: {
|
|
37
|
+
search: any;
|
|
38
|
+
loading: any;
|
|
39
|
+
attributes: any;
|
|
40
|
+
}): any;
|
|
41
|
+
"list-header"?(_: {
|
|
42
|
+
search: any;
|
|
43
|
+
loading: any;
|
|
44
|
+
attributes: any;
|
|
45
|
+
}): any;
|
|
51
46
|
};
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
48
|
+
isRequired: boolean;
|
|
49
|
+
errorMsg: string;
|
|
50
|
+
labelTooltip: string;
|
|
51
|
+
labelOptional: string;
|
|
52
|
+
options: never[];
|
|
53
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
54
|
+
isRequired: boolean;
|
|
55
|
+
errorMsg: string;
|
|
56
|
+
labelTooltip: string;
|
|
57
|
+
labelOptional: string;
|
|
58
|
+
options: never[];
|
|
59
|
+
}>>>, {
|
|
54
60
|
isRequired: boolean;
|
|
55
61
|
errorMsg: string;
|
|
56
62
|
labelTooltip: string;
|
|
57
63
|
labelOptional: string;
|
|
58
|
-
}, {}
|
|
59
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
64
|
+
}, {}>;
|
|
65
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
60
66
|
export default _default;
|
|
67
|
+
type __VLS_WithDefaults<P, D> = {
|
|
68
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
69
|
+
default: D[K];
|
|
70
|
+
}> : P[K];
|
|
71
|
+
};
|
|
72
|
+
type __VLS_Prettify<T> = {
|
|
73
|
+
[K in keyof T]: T[K];
|
|
74
|
+
} & {};
|
|
61
75
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
76
|
new (): {
|
|
63
77
|
$slots: S;
|
|
64
78
|
};
|
|
65
79
|
};
|
|
80
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
81
|
+
type __VLS_TypePropsToOption<T> = {
|
|
82
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
83
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
84
|
+
} : {
|
|
85
|
+
type: import('vue').PropType<T[K]>;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -6,11 +6,40 @@ interface Props {
|
|
|
6
6
|
btnLabel?: string;
|
|
7
7
|
btnAction?: () => void | Promise<void>;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: import("vue").DefineComponent<
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
|
+
message: string;
|
|
11
|
+
type: string;
|
|
12
|
+
btnLabel: string;
|
|
13
|
+
showCloseButton: boolean;
|
|
14
|
+
btnAction: () => void;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
16
|
+
message: string;
|
|
17
|
+
type: string;
|
|
18
|
+
btnLabel: string;
|
|
19
|
+
showCloseButton: boolean;
|
|
20
|
+
btnAction: () => void;
|
|
21
|
+
}>>>, {
|
|
10
22
|
type: "success" | "error";
|
|
11
23
|
message: string;
|
|
12
24
|
showCloseButton: boolean;
|
|
13
25
|
btnLabel: string;
|
|
14
26
|
btnAction: () => void | Promise<void>;
|
|
15
|
-
}, {}
|
|
27
|
+
}, {}>;
|
|
16
28
|
export default _default;
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -7,30 +7,57 @@ interface Props {
|
|
|
7
7
|
minLengthToShowTooltip?: number;
|
|
8
8
|
}
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
-
|
|
11
|
-
slots: {
|
|
12
|
-
content?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: HTMLDivElement;
|
|
10
|
+
content?(_: {}): any;
|
|
16
11
|
};
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
|
+
text: string;
|
|
14
|
+
allowCopy: boolean;
|
|
15
|
+
size: string;
|
|
16
|
+
minLengthToShowTooltip: number;
|
|
17
|
+
tooltipText: string;
|
|
18
|
+
copyText: string;
|
|
19
|
+
copied: string;
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
21
|
copy: (...args: any[]) => void;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<Props
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
23
|
+
text: string;
|
|
24
|
+
allowCopy: boolean;
|
|
25
|
+
size: string;
|
|
26
|
+
minLengthToShowTooltip: number;
|
|
27
|
+
tooltipText: string;
|
|
28
|
+
copyText: string;
|
|
29
|
+
copied: string;
|
|
30
|
+
}>>> & {
|
|
21
31
|
onCopy?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}
|
|
32
|
+
}, {
|
|
23
33
|
text: string;
|
|
24
34
|
tooltipText: string;
|
|
25
35
|
copied: string;
|
|
26
36
|
allowCopy: boolean;
|
|
27
37
|
copyText: string;
|
|
28
38
|
minLengthToShowTooltip: number;
|
|
29
|
-
}, {}
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
39
|
+
}, {}>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
41
|
export default _default;
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
32
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
51
|
new (): {
|
|
34
52
|
$slots: S;
|
|
35
53
|
};
|
|
36
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
|
+
};
|