@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.
Files changed (65) hide show
  1. package/dist/cobre-ds-v3-lib.es.js +9622 -9637
  2. package/dist/style.css +1 -1
  3. package/dist/types/App.vue.d.ts +1 -1
  4. package/dist/types/components/HelloWorld.vue.d.ts +13 -3
  5. package/dist/types/components/atoms/CobreAlert/CobreAlert.vue.d.ts +34 -17
  6. package/dist/types/components/atoms/CobreAvatar/CobreAvatar.vue.d.ts +11 -1
  7. package/dist/types/components/atoms/CobreBankLogo/CobreBankLogo.vue.d.ts +25 -2
  8. package/dist/types/components/atoms/CobreButton/CobreButton.vue.d.ts +10 -10
  9. package/dist/types/components/atoms/CobreButtonMenu/CobreButtonMenu.vue.d.ts +8 -8
  10. package/dist/types/components/atoms/CobreCardButton/CobreCardButton.vue.d.ts +25 -2
  11. package/dist/types/components/atoms/CobreCheckbox/CobreCheckbox.vue.d.ts +29 -16
  12. package/dist/types/components/atoms/CobreColumnTable/CobreColumnTable.vue.d.ts +32 -13
  13. package/dist/types/components/atoms/CobreCountryFlag/CobreCountryFlag.vue.d.ts +27 -2
  14. package/dist/types/components/atoms/CobreEmptyResults/CobreEmptyResults.vue.d.ts +28 -3
  15. package/dist/types/components/atoms/CobreEmptyState/CobreEmptyState.vue.d.ts +16 -12
  16. package/dist/types/components/atoms/CobreIndicative/CobreIndicative.vue.d.ts +43 -20
  17. package/dist/types/components/atoms/CobreInfoDetail/CobreInfoDetail.vue.d.ts +31 -10
  18. package/dist/types/components/atoms/CobreInputLabel/CobreInputLabel.vue.d.ts +10 -1
  19. package/dist/types/components/atoms/CobreOptionsSwitch/CobreOptionsSwitch.vue.d.ts +26 -8
  20. package/dist/types/components/atoms/CobrePager/CobrePager.vue.d.ts +31 -4
  21. package/dist/types/components/atoms/CobreRadio/CobreRadio.vue.d.ts +35 -12
  22. package/dist/types/components/atoms/CobreRowActions/CobreRowActions.vue.d.ts +18 -6
  23. package/dist/types/components/atoms/CobreSwitch/CobreSwitch.vue.d.ts +20 -3
  24. package/dist/types/components/atoms/CobreTabMenu/CobreTabMenu.vue.d.ts +5 -5
  25. package/dist/types/components/atoms/CobreTabMenuV2/CobreTabMenu.vue.d.ts +20 -7
  26. package/dist/types/components/atoms/CobreToastAlert/CobreToastAlert.vue.d.ts +30 -7
  27. package/dist/types/components/atoms/CobreTruncateTooltipText/CobreTruncateTooltipText.vue.d.ts +23 -4
  28. package/dist/types/components/atoms/CobreUploader/CobreUploader.vue.d.ts +30 -5
  29. package/dist/types/components/molecules/CobreAccountCpButton/CobreAccountCpButton.vue.d.ts +25 -4
  30. package/dist/types/components/molecules/CobreAccountInfoFiled/CobreAccountInfoField.vue.d.ts +33 -4
  31. package/dist/types/components/molecules/CobreActionList/CobreActionList.vue.d.ts +34 -17
  32. package/dist/types/components/molecules/CobreAvatarsGroup/CobreAvatarsGroup.vue.d.ts +14 -3
  33. package/dist/types/components/molecules/CobreBadge/CobreBadge.vue.d.ts +35 -14
  34. package/dist/types/components/molecules/CobreCardIcon/CobreCardIcon.vue.d.ts +35 -14
  35. package/dist/types/components/molecules/CobreChips/CobreChips.vue.d.ts +27 -4
  36. package/dist/types/components/molecules/CobreCopyTextBox/CobreCopyTextBox.vue.d.ts +31 -4
  37. package/dist/types/components/molecules/CobreDrawer/CobreDrawer.vue.d.ts +41 -16
  38. package/dist/types/components/molecules/CobreDropdownButton/CobreDropdownButton.vue.d.ts +27 -12
  39. package/dist/types/components/molecules/CobreFieldLogo/CobreFieldLogo.vue.d.ts +27 -10
  40. package/dist/types/components/molecules/CobreFlowResult/CobreFlowResult.vue.d.ts +35 -12
  41. package/dist/types/components/molecules/CobreFormOtp/CobreFormOtp.vue.d.ts +45 -262
  42. package/dist/types/components/molecules/CobreInput/CobreInput.vue.d.ts +50 -5
  43. package/dist/types/components/molecules/CobreInputAmount/CobreInputAmount.vue.d.ts +44 -9
  44. package/dist/types/components/molecules/CobreInputCurrency/CobreInputCurrency.vue.d.ts +52 -15
  45. package/dist/types/components/molecules/CobreInputPhoneNumber/CobreInputPhoneNumber.vue.d.ts +46 -5
  46. package/dist/types/components/molecules/CobreInputUrl/CobreInputUrl.vue.d.ts +46 -5
  47. package/dist/types/components/molecules/CobreKebabMenu/CobreKebabMenu.vue.d.ts +12 -3
  48. package/dist/types/components/molecules/CobreLogoField/CobreLogoField.vue.d.ts +27 -10
  49. package/dist/types/components/molecules/CobreModal/CobreModal.vue.d.ts +33 -14
  50. package/dist/types/components/molecules/CobreModalAction/CobreModalAction.vue.d.ts +63 -0
  51. package/dist/types/components/molecules/CobreRowTable/CobreRowTable.vue.d.ts +59 -23
  52. package/dist/types/components/molecules/CobreSelect/CobreSelect.vue.d.ts +66 -43
  53. package/dist/types/components/molecules/CobreSnackBar/CobreSnackBar.vue.d.ts +31 -2
  54. package/dist/types/components/molecules/CobreTableCellCopy/CobreTableCellCopy.vue.d.ts +39 -12
  55. package/dist/types/components/molecules/CobreTextArea/CobreTextArea.vue.d.ts +46 -5
  56. package/dist/types/components/molecules/Toolbar/CobreInputSearch/CobreInputSearch.vue.d.ts +27 -6
  57. package/dist/types/components/molecules/Toolbar/CobreInputSearchV2/CobreInputSearchV2.vue.d.ts +29 -6
  58. package/dist/types/components/organisms/CobreDateFilter/CobreDateFilter.vue.d.ts +67 -0
  59. package/dist/types/components/organisms/CobreHeader/CobreHeader.vue.d.ts +28 -13
  60. package/dist/types/components/organisms/CobreHeader/components/Navbar.vue.d.ts +29 -4
  61. package/dist/types/components/organisms/CobreSideMenu/CobreSideMenu.vue.d.ts +33 -14
  62. package/dist/types/components/organisms/CobreSideMenu/components/SideMenuItem.vue.d.ts +12 -5
  63. package/dist/types/components/organisms/CobreSideMenu/components/SubItems.vue.d.ts +12 -3
  64. package/dist/types/components/organisms/CobreTimeline/CobreTimeline.vue.d.ts +27 -12
  65. 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
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
33
  "update:modelValue": (...args: any[]) => void;
22
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
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, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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> & Readonly<{
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
15
15
  onClickOption?: ((...args: any[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
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
- attrs: Partial<{}>;
8
- slots: {
9
- end?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
7
+ end?(_: {}): any;
13
8
  };
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<{}>, {
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
- attrs: Partial<{}>;
8
- slots: {
9
- content?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
7
+ content?(_: {}): any;
13
8
  };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import("vue").DefineComponent<Props, {
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, boolean>;
18
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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> & Readonly<{
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
- type __VLS_Props = Props;
41
- declare const __VLS_defaults: {
42
- selectedRows: never[];
43
- };
41
+ declare let __VLS_typeProps: Props;
42
+ declare const selectedRows: Ref<Item[]>;
44
43
  type __VLS_PublicProps = {
45
- 'selectedRows'?: typeof __VLS_defaults['selectedRows'];
46
- } & __VLS_Props;
47
- declare function __VLS_template(): {
48
- attrs: Partial<{}>;
49
- slots: Partial<Record<string, (_: {
50
- data: Item;
51
- index: number;
52
- }) => any>> & Partial<Record<`bellowRow${number}`, (_: {}) => any>>;
53
- refs: {};
54
- rootEl: HTMLElement;
55
- };
56
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
57
- declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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
- "update:selectedRows": (value: never[]) => void;
62
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
80
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
- attrs: Partial<{}>;
13
- slots: {
14
- option?(_: {
15
- option: never;
16
- }): any;
17
- 'open-indicator'?(_: {
18
- attributes: any;
19
- }): any;
20
- 'selected-option'?(_: {
21
- option: never;
22
- }): any;
23
- 'no-options'?(_: {
24
- search: never;
25
- searching: never;
26
- loading: never;
27
- noOptionsMessage: never;
28
- }): any;
29
- 'no-results'?(_: {
30
- search: never;
31
- noResultsMessage: never;
32
- }): any;
33
- deselect?(_: {
34
- deselect: any;
35
- option: any;
36
- attributes: any;
37
- }): any;
38
- 'list-footer'?(_: {
39
- search: any;
40
- loading: any;
41
- attributes: any;
42
- }): any;
43
- 'list-header'?(_: {
44
- search: any;
45
- loading: any;
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
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
53
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
59
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
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
- attrs: Partial<{}>;
11
- slots: {
12
- content?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: HTMLDivElement;
10
+ content?(_: {}): any;
16
11
  };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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> & Readonly<{
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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
+ };