@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
@@ -16,19 +16,7 @@ interface Props {
16
16
  iconInfoLabel?: boolean;
17
17
  showErrors?: boolean;
18
18
  }
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
- }>, {
19
+ declare const _default: import("vue").DefineComponent<Props, {
32
20
  isValid: import("vue").ComputedRef<boolean>;
33
21
  isValidMinlength: import("vue").ComputedRef<boolean>;
34
22
  isValidMaxlength: import("vue").ComputedRef<boolean>;
@@ -37,23 +25,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
25
  isValidEmail: import("vue").ComputedRef<boolean>;
38
26
  areValidLetters: import("vue").ComputedRef<boolean>;
39
27
  isDirty: import("vue").ComputedRef<boolean>;
40
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
29
  "update:modelValue": (...args: any[]) => void;
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
- }>>> & {
30
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
55
31
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
- }, {
32
+ }>, {
57
33
  type: "alphanumeric" | "numeric" | "letters" | "anyCharacter" | "password" | "email";
58
34
  theme: "white" | "cloudy";
59
35
  isRequired: boolean;
@@ -65,22 +41,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
65
41
  infoLabel: string | null;
66
42
  iconInfoLabel: boolean;
67
43
  showErrors: boolean;
68
- }, {}>;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
69
45
  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
- };
@@ -15,63 +15,28 @@ interface Props {
15
15
  labelOptional?: string;
16
16
  allowDecimals?: boolean;
17
17
  }
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
- min: number;
25
- max: number;
26
- labelOptional: string;
27
- allowDecimals: boolean;
28
- }>, {
18
+ declare const _default: import("vue").DefineComponent<Props, {
29
19
  isValid: import("vue").ComputedRef<boolean>;
30
20
  isDirty: import("vue").ComputedRef<boolean>;
31
21
  showErrors: () => void;
32
22
  isValidMinAmount: import("vue").ComputedRef<boolean>;
33
23
  isValidMaxAmount: import("vue").ComputedRef<boolean>;
34
24
  handleSetValue: (value: number) => void;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
26
  "update:modelValue": (...args: any[]) => void;
37
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
38
- isRequired: boolean;
39
- minlength: string;
40
- maxlength: string;
41
- errorMsg: string;
42
- disabled: boolean;
43
- min: number;
44
- max: number;
45
- labelOptional: string;
46
- allowDecimals: boolean;
47
- }>>> & {
27
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
48
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
49
- }, {
29
+ }>, {
50
30
  disabled: boolean;
51
31
  isRequired: boolean;
52
- max: number;
53
- min: number;
54
32
  minlength: string;
55
33
  maxlength: string;
56
34
  errorMsg: string;
57
35
  labelOptional: string;
36
+ min: number;
37
+ max: number;
58
38
  allowDecimals: boolean;
59
- }, {}>;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
40
+ inputRef: HTMLInputElement;
41
+ }, HTMLDivElement>;
60
42
  export default _default;
61
- type __VLS_WithDefaults<P, D> = {
62
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
- default: D[K];
64
- }> : P[K];
65
- };
66
- type __VLS_Prettify<T> = {
67
- [K in keyof T]: T[K];
68
- } & {};
69
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
- type __VLS_TypePropsToOption<T> = {
71
- [K in keyof T]-?: {} extends Pick<T, K> ? {
72
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
- } : {
74
- type: import('vue').PropType<T[K]>;
75
- required: true;
76
- };
77
- };
@@ -24,75 +24,38 @@ interface Props {
24
24
  hideCountrySelector?: boolean;
25
25
  allowZero?: boolean;
26
26
  }
27
- declare let __VLS_typeProps: Props;
28
- declare const currencySelected: import("vue").ModelRef<string | undefined, string>;
27
+ type __VLS_Props = Props;
28
+ declare const currencySelected: import("vue").ModelRef<string | undefined, string, string | undefined, string | undefined>;
29
29
  type __VLS_PublicProps = {
30
- 'currencySelected'?: NonNullable<typeof currencySelected['value']>;
31
- } & typeof __VLS_typeProps;
32
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
33
- isRequired: boolean;
34
- minlength: string;
35
- maxlength: string;
36
- errorMsg: string;
37
- isDisabled: boolean;
38
- min: number;
39
- max: number;
40
- labelOptional: string;
41
- allowZero: boolean;
42
- hideCountrySelector: boolean;
43
- }>, {
30
+ 'currencySelected'?: typeof currencySelected['value'];
31
+ } & __VLS_Props;
32
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
44
33
  isValid: import("vue").ComputedRef<boolean>;
45
34
  isDirty: import("vue").ComputedRef<boolean>;
46
35
  isValidMinAmount: import("vue").ComputedRef<boolean>;
47
36
  isValidMaxAmount: import("vue").ComputedRef<boolean>;
48
37
  handleSetValue: (value: number | null) => void;
49
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
- "update:currencySelected": (currencySelected: string) => void;
38
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
39
  "update:modelValue": (...args: any[]) => void;
52
40
  "update:amount": (...args: any[]) => void;
53
41
  "update:currency": (...args: any[]) => void;
54
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
55
- isRequired: boolean;
56
- minlength: string;
57
- maxlength: string;
58
- errorMsg: string;
59
- isDisabled: boolean;
60
- min: number;
61
- max: number;
62
- labelOptional: string;
63
- allowZero: boolean;
64
- hideCountrySelector: boolean;
65
- }>>> & {
42
+ "update:currencySelected": (value: string | undefined) => void;
43
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
66
44
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
67
45
  "onUpdate:amount"?: ((...args: any[]) => any) | undefined;
68
46
  "onUpdate:currency"?: ((...args: any[]) => any) | undefined;
69
- "onUpdate:currencySelected"?: ((currencySelected: string) => any) | undefined;
70
- }, {
47
+ "onUpdate:currencySelected"?: ((value: string | undefined) => any) | undefined;
48
+ }>, {
71
49
  isRequired: boolean;
72
- max: number;
73
- min: number;
74
50
  minlength: string;
75
51
  maxlength: string;
76
52
  errorMsg: string;
77
53
  labelOptional: string;
54
+ min: number;
55
+ max: number;
78
56
  hideCountrySelector: boolean;
79
57
  allowZero: boolean;
80
- }, {}>;
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
59
+ inputRef: HTMLInputElement;
60
+ }, HTMLDivElement>;
81
61
  export default _default;
82
- type __VLS_WithDefaults<P, D> = {
83
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
84
- default: D[K];
85
- }> : P[K];
86
- };
87
- type __VLS_Prettify<T> = {
88
- [K in keyof T]: T[K];
89
- } & {};
90
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
91
- type __VLS_TypePropsToOption<T> = {
92
- [K in keyof T]-?: {} extends Pick<T, K> ? {
93
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
94
- } : {
95
- type: import('vue').PropType<T[K]>;
96
- required: true;
97
- };
98
- };
@@ -15,40 +15,16 @@ interface Props {
15
15
  iconInfoLabel?: boolean;
16
16
  showErrors?: boolean;
17
17
  }
18
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- isRequired: boolean;
20
- minlength: string;
21
- maxlength: string;
22
- placeholder: string;
23
- errorMsg: string;
24
- isDisabled: boolean;
25
- labelOptional: string;
26
- infoLabel: string;
27
- iconInfoLabel: boolean;
28
- theme: string;
29
- showErrors: boolean;
30
- }>, {
18
+ declare const _default: import("vue").DefineComponent<Props, {
31
19
  isValid: import("vue").ComputedRef<boolean>;
32
20
  isValidMinlength: import("vue").ComputedRef<boolean>;
33
21
  isValidMaxlength: import("vue").ComputedRef<boolean>;
34
22
  isValidNumeric: import("vue").ComputedRef<boolean>;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
24
  "update:modelValue": (...args: any[]) => void;
37
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
38
- isRequired: boolean;
39
- minlength: string;
40
- maxlength: string;
41
- placeholder: string;
42
- errorMsg: string;
43
- isDisabled: boolean;
44
- labelOptional: string;
45
- infoLabel: string;
46
- iconInfoLabel: boolean;
47
- theme: string;
48
- showErrors: boolean;
49
- }>>> & {
25
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
50
26
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
51
- }, {
27
+ }>, {
52
28
  theme: "white" | "cloudy";
53
29
  placeholder: string;
54
30
  isRequired: boolean;
@@ -60,22 +36,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
36
  infoLabel: string | null;
61
37
  iconInfoLabel: boolean;
62
38
  showErrors: boolean;
63
- }, {}>;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
64
40
  export default _default;
65
- type __VLS_WithDefaults<P, D> = {
66
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
- default: D[K];
68
- }> : P[K];
69
- };
70
- type __VLS_Prettify<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
73
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- type __VLS_TypePropsToOption<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: import('vue').PropType<T[K]>;
79
- required: true;
80
- };
81
- };
@@ -15,37 +15,13 @@ interface Props {
15
15
  iconInfoLabel?: boolean;
16
16
  showErrors?: boolean;
17
17
  }
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
- }>, {
18
+ declare const _default: import("vue").DefineComponent<Props, {
31
19
  isValid: import("vue").ComputedRef<boolean>;
32
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
21
  "update:modelValue": (...args: any[]) => void;
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
- }>>> & {
22
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
47
23
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
- }, {
24
+ }>, {
49
25
  theme: "white" | "cloudy";
50
26
  isRequired: boolean;
51
27
  minlength: string;
@@ -55,22 +31,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
55
31
  infoLabel: string | null;
56
32
  iconInfoLabel: boolean;
57
33
  showErrors: boolean;
58
- }, {}>;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
59
35
  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,18 +9,9 @@ export interface Option {
9
9
  interface Props {
10
10
  options: Option[];
11
11
  }
12
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  clickOption: (...args: any[]) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
14
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
15
  onClickOption?: ((...args: any[]) => any) | undefined;
16
- }, {}, {}>;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
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,39 +4,22 @@ interface Props {
4
4
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'auto';
5
5
  }
6
6
  declare function __VLS_template(): {
7
- end?(_: {}): any;
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ end?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
8
13
  };
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
- }>>>, {
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
16
  size: "xs" | "sm" | "md" | "lg" | "auto";
17
17
  idLogo: string;
18
- }, {}>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
- } & {};
29
21
  type __VLS_WithTemplateSlots<T, S> = T & {
30
22
  new (): {
31
23
  $slots: S;
32
24
  };
33
25
  };
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,49 +4,30 @@ interface Props {
4
4
  theme?: 'dark' | 'light';
5
5
  }
6
6
  declare function __VLS_template(): {
7
- content?(_: {}): any;
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ content?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
8
13
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
- hasCloseButton: boolean;
11
- size: string;
12
- theme: string;
13
- }>, {
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
14
16
  toggleModal: () => void;
15
- isOpen: import("vue").Ref<boolean>;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ isOpen: import("vue").Ref<boolean, boolean>;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
19
  close: (...args: any[]) => void;
18
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
- hasCloseButton: boolean;
20
- size: string;
21
- theme: string;
22
- }>>> & {
20
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
23
21
  onClose?: ((...args: any[]) => any) | undefined;
24
- }, {
22
+ }>, {
25
23
  size: "xs" | "md" | "lg";
26
24
  theme: "dark" | "light";
27
25
  hasCloseButton: boolean;
28
- }, {}>;
29
- 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"]>;
30
28
  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
- } & {};
39
29
  type __VLS_WithTemplateSlots<T, S> = T & {
40
30
  new (): {
41
31
  $slots: S;
42
32
  };
43
33
  };
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
- };
@@ -1,4 +1,3 @@
1
- import { Ref } from 'vue';
2
1
  import { Option } from '../CobreKebabMenu/CobreKebabMenu.vue';
3
2
  export interface Column {
4
3
  key: string;
@@ -36,50 +35,32 @@ interface Props {
36
35
  kebabMenuOptions?: Option[];
37
36
  tableWrap?: boolean;
38
37
  }
39
- declare let __VLS_typeProps: Props;
40
- declare const selectedRows: Ref<Item[]>;
38
+ type __VLS_Props = Props;
39
+ declare const __VLS_defaults: {
40
+ selectedRows: never[];
41
+ };
41
42
  type __VLS_PublicProps = {
42
- 'selectedRows'?: NonNullable<typeof selectedRows['value']>;
43
- } & typeof __VLS_typeProps;
44
- declare function __VLS_template(): Partial<Record<string, (_: {
45
- data: Item;
46
- index: number;
47
- }) => any>> & Partial<Record<`bellowRow${number}`, (_: {}) => any>>;
48
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
49
- emptyResultTitle: string;
50
- emptyResultMsg: string;
51
- dataKey: string;
52
- height: string;
53
- isResponsive: boolean;
54
- allowNavigation: boolean;
55
- showCheckboxes: boolean;
56
- isColumnCheckboxEnabled: boolean;
57
- isMultipleCheckEnabled: boolean;
58
- haveToolbar: boolean;
59
- isToolbarOpen: boolean;
60
- tableWrap: boolean;
61
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
- "update:selectedRows": (selectedRows: Item[]) => void;
43
+ 'selectedRows'?: typeof __VLS_defaults['selectedRows'];
44
+ } & __VLS_Props;
45
+ declare function __VLS_template(): {
46
+ attrs: Partial<{}>;
47
+ slots: Partial<Record<string, (_: {
48
+ data: Item;
49
+ index: number;
50
+ }) => any>> & Partial<Record<`bellowRow${number}`, (_: {}) => any>>;
51
+ refs: {};
52
+ rootEl: HTMLElement;
53
+ };
54
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
55
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
56
  selectItem: (...args: any[]) => void;
64
57
  clickKebabOption: (...args: any[]) => void;
65
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
66
- emptyResultTitle: string;
67
- emptyResultMsg: string;
68
- dataKey: string;
69
- height: string;
70
- isResponsive: boolean;
71
- allowNavigation: boolean;
72
- showCheckboxes: boolean;
73
- isColumnCheckboxEnabled: boolean;
74
- isMultipleCheckEnabled: boolean;
75
- haveToolbar: boolean;
76
- isToolbarOpen: boolean;
77
- tableWrap: boolean;
78
- }>>> & {
58
+ "update:selectedRows": (value: never[]) => void;
59
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
60
+ "onUpdate:selectedRows"?: ((value: never[]) => any) | undefined;
79
61
  onSelectItem?: ((...args: any[]) => any) | undefined;
80
62
  onClickKebabOption?: ((...args: any[]) => any) | undefined;
81
- "onUpdate:selectedRows"?: ((selectedRows: Item[]) => any) | undefined;
82
- }, {
63
+ }>, {
83
64
  height: string;
84
65
  dataKey: string;
85
66
  emptyResultTitle: string;
@@ -91,28 +72,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
91
72
  haveToolbar: boolean;
92
73
  isToolbarOpen: boolean;
93
74
  tableWrap: boolean;
94
- }, {}>;
95
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
75
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
76
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
77
  export default _default;
97
- type __VLS_WithDefaults<P, D> = {
98
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
99
- default: D[K];
100
- }> : P[K];
101
- };
102
- type __VLS_Prettify<T> = {
103
- [K in keyof T]: T[K];
104
- } & {};
105
78
  type __VLS_WithTemplateSlots<T, S> = T & {
106
79
  new (): {
107
80
  $slots: S;
108
81
  };
109
82
  };
110
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
- type __VLS_TypePropsToOption<T> = {
112
- [K in keyof T]-?: {} extends Pick<T, K> ? {
113
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
114
- } : {
115
- type: import('vue').PropType<T[K]>;
116
- required: true;
117
- };
118
- };