@cobre-npm/ds-v3 0.76.6 → 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 +9621 -9636
  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
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,5 +1,15 @@
1
- type __VLS_Props = {
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
2
  msg: string;
3
- };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ msg: string;
5
+ }>>>, {}, {}>;
5
6
  export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToOption<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -7,32 +7,49 @@ interface Props {
7
7
  hasCloseButton?: boolean;
8
8
  }
9
9
  declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- contentComponent?(_: {}): any;
13
- };
14
- refs: {
15
- imageContent: HTMLImageElement;
16
- };
17
- rootEl: HTMLElement;
10
+ contentComponent?(_: {}): any;
18
11
  };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- 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
+ type: string;
14
+ title: string;
15
+ content: string;
16
+ hasCloseButton: boolean;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
18
  close: (...args: any[]) => void;
22
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
23
- onClose?: ((...args: any[]) => any) | undefined;
24
- }>, {
19
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
+ type: string;
25
21
  title: string;
22
+ content: string;
23
+ hasCloseButton: boolean;
24
+ }>>> & {
25
+ onClose?: ((...args: any[]) => any) | undefined;
26
+ }, {
26
27
  type: IconType;
28
+ title: string;
27
29
  content: string;
28
30
  hasCloseButton: boolean;
29
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
30
- imageContent: HTMLImageElement;
31
- }, HTMLElement>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ }, {}>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
33
  export default _default;
34
+ type __VLS_WithDefaults<P, D> = {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
+ default: D[K];
37
+ }> : P[K];
38
+ };
39
+ type __VLS_Prettify<T> = {
40
+ [K in keyof T]: T[K];
41
+ } & {};
34
42
  type __VLS_WithTemplateSlots<T, S> = T & {
35
43
  new (): {
36
44
  $slots: S;
37
45
  };
38
46
  };
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToOption<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };
@@ -7,5 +7,15 @@ interface Props {
7
7
  size?: sizeAvatarType;
8
8
  hover?: boolean;
9
9
  }
10
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
11
11
  export default _default;
12
+
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
@@ -2,8 +2,31 @@ interface Props {
2
2
  idLogo: string;
3
3
  size: 'xs' | 'sm' | 'md' | 'lg' | 'auto';
4
4
  }
5
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
5
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
6
+ idLogo: string;
7
+ size: string;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
+ idLogo: string;
10
+ size: string;
11
+ }>>>, {
6
12
  size: "xs" | "sm" | "md" | "lg" | "auto";
7
13
  idLogo: string;
8
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ }, {}>;
9
15
  export default _default;
16
+ type __VLS_WithDefaults<P, D> = {
17
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
+ default: D[K];
19
+ }> : P[K];
20
+ };
21
+ type __VLS_Prettify<T> = {
22
+ [K in keyof T]: T[K];
23
+ } & {};
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToOption<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
@@ -1,6 +1,6 @@
1
1
  import { ButtonThemes } from '../../../types/button.types';
2
2
  type Sizes = 'big' | 'medium' | 'small' | 'auto';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: import("vue").DefineComponent<{
4
4
  theme: {
5
5
  type: () => ButtonThemes;
6
6
  default: string;
@@ -21,17 +21,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
21
21
  type: BooleanConstructor;
22
22
  default: boolean;
23
23
  };
24
- }>, {
24
+ }, {
25
25
  slots: Readonly<{
26
26
  [name: string]: import("vue").Slot<any> | undefined;
27
27
  }>;
28
28
  isEmptySlot: (items: any[]) => boolean;
29
- disabled: import("vue").Ref<boolean, boolean>;
30
- size: import("vue").Ref<Sizes, Sizes>;
31
- label: import("vue").Ref<string, string>;
32
- theme: import("vue").Ref<ButtonThemes, ButtonThemes>;
33
- isLoading: import("vue").Ref<boolean, boolean>;
34
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
+ disabled: import("vue").Ref<boolean>;
30
+ size: import("vue").Ref<Sizes>;
31
+ label: import("vue").Ref<string>;
32
+ theme: import("vue").Ref<ButtonThemes>;
33
+ isLoading: import("vue").Ref<boolean>;
34
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
35
  theme: {
36
36
  type: () => ButtonThemes;
37
37
  default: string;
@@ -52,11 +52,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
52
52
  type: BooleanConstructor;
53
53
  default: boolean;
54
54
  };
55
- }>> & Readonly<{}>, {
55
+ }>>, {
56
56
  disabled: boolean;
57
57
  size: Sizes;
58
58
  label: string;
59
59
  theme: ButtonThemes;
60
60
  isLoading: boolean;
61
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ }, {}>;
62
62
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  theme: {
3
3
  type: () => "item" | "subitem" | "option";
4
4
  default: string;
@@ -11,15 +11,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
- }>, {
14
+ }, {
15
15
  slots: Readonly<{
16
16
  [name: string]: import("vue").Slot<any> | undefined;
17
17
  }>;
18
18
  isEmptySlot: (items: any[]) => boolean;
19
- disabled: import("vue").Ref<boolean, boolean>;
20
- theme: import("vue").Ref<"option" | "item" | "subitem", "option" | "item" | "subitem">;
21
- isSelectedItem: import("vue").Ref<boolean, boolean>;
22
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ disabled: import("vue").Ref<boolean>;
20
+ theme: import("vue").Ref<"option" | "item" | "subitem">;
21
+ isSelectedItem: import("vue").Ref<boolean>;
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  theme: {
24
24
  type: () => "item" | "subitem" | "option";
25
25
  default: string;
@@ -32,9 +32,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
32
  type: BooleanConstructor;
33
33
  default: boolean;
34
34
  };
35
- }>> & Readonly<{}>, {
35
+ }>>, {
36
36
  disabled: boolean;
37
37
  theme: "option" | "item" | "subitem";
38
38
  isSelectedItem: boolean;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ }, {}>;
40
40
  export default _default;
@@ -5,8 +5,31 @@ interface Props {
5
5
  isSelected?: boolean;
6
6
  isDisabled?: boolean;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
8
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  isDisabled: boolean;
10
10
  isSelected: boolean;
11
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
+ isDisabled: boolean;
13
+ isSelected: boolean;
14
+ }>>>, {
15
+ isDisabled: boolean;
16
+ isSelected: boolean;
17
+ }, {}>;
12
18
  export default _default;
19
+ type __VLS_WithDefaults<P, D> = {
20
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
+ default: D[K];
22
+ }> : P[K];
23
+ };
24
+ type __VLS_Prettify<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToOption<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
@@ -7,32 +7,45 @@ interface Props {
7
7
  size?: 'sm' | 'md';
8
8
  }
9
9
  declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- option?(_: {}): any;
13
- };
14
- refs: {
15
- checkInput: HTMLInputElement;
16
- };
17
- rootEl: HTMLDivElement;
10
+ option?(_: {}): any;
18
11
  };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- 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
+ size: string;
14
+ disabled: boolean;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
16
  "update:modelValue": (...args: any[]) => void;
22
17
  changed: (...args: any[]) => void;
23
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
18
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
+ size: string;
20
+ disabled: boolean;
21
+ }>>> & {
24
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
25
23
  onChanged?: ((...args: any[]) => any) | undefined;
26
- }>, {
24
+ }, {
27
25
  disabled: boolean;
28
26
  size: "sm" | "md";
29
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
30
- checkInput: HTMLInputElement;
31
- }, HTMLDivElement>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ }, {}>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
29
  export default _default;
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
34
38
  type __VLS_WithTemplateSlots<T, S> = T & {
35
39
  new (): {
36
40
  $slots: S;
37
41
  };
38
42
  };
43
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ type __VLS_TypePropsToOption<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
46
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
+ } : {
48
+ type: import('vue').PropType<T[K]>;
49
+ required: true;
50
+ };
51
+ };
@@ -23,25 +23,44 @@ interface Props {
23
23
  activeRowIndex?: number;
24
24
  height?: string;
25
25
  }
26
- declare function __VLS_template(): {
27
- attrs: Partial<{}>;
28
- slots: Partial<Record<string, (_: {
29
- data: TableItem;
30
- index: number;
31
- }) => any>>;
32
- refs: {};
33
- rootEl: HTMLElement;
34
- };
35
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
26
+ declare function __VLS_template(): Partial<Record<string, (_: {
27
+ data: TableItem;
28
+ index: number;
29
+ }) => any>>;
30
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
+ emptyResultTitle: string;
32
+ emptyResultMsg: string;
33
+ dataKey: string;
34
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
35
+ emptyResultTitle: string;
36
+ emptyResultMsg: string;
37
+ dataKey: string;
38
+ }>>>, {
37
39
  dataKey: string;
38
40
  emptyResultTitle: string;
39
41
  emptyResultMsg: string;
40
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ }, {}>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
42
44
  export default _default;
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
+ default: D[K];
48
+ }> : P[K];
49
+ };
50
+ type __VLS_Prettify<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
43
53
  type __VLS_WithTemplateSlots<T, S> = T & {
44
54
  new (): {
45
55
  $slots: S;
46
56
  };
47
57
  };
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
+ type __VLS_TypePropsToOption<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
+ } : {
63
+ type: import('vue').PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
@@ -3,9 +3,34 @@ interface Props {
3
3
  width?: number;
4
4
  height?: number;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
6
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
+ geo: string;
8
+ width: number;
9
+ height: number;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
+ geo: string;
12
+ width: number;
13
+ height: number;
14
+ }>>>, {
7
15
  width: number;
8
16
  height: number;
9
17
  geo: string;
10
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLImageElement>;
18
+ }, {}>;
11
19
  export default _default;
20
+ type __VLS_WithDefaults<P, D> = {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
+ default: D[K];
23
+ }> : P[K];
24
+ };
25
+ type __VLS_Prettify<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToOption<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -3,9 +3,34 @@ interface Props {
3
3
  description?: string;
4
4
  icon?: 'cards' | 'box' | 'error';
5
5
  }
6
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
6
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
+ title: string;
8
+ description: string;
9
+ icon: string;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
11
  title: string;
8
- icon: "cards" | "box" | "error";
9
12
  description: string;
10
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
13
+ icon: string;
14
+ }>>>, {
15
+ title: string;
16
+ description: string;
17
+ icon: "cards" | "box" | "error";
18
+ }, {}>;
11
19
  export default _default;
20
+ type __VLS_WithDefaults<P, D> = {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
+ default: D[K];
23
+ }> : P[K];
24
+ };
25
+ type __VLS_Prettify<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToOption<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -1,20 +1,24 @@
1
- type __VLS_Props = {
2
- image: string;
3
- };
4
1
  declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- content?(_: {}): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLElement;
2
+ content?(_: {}): any;
11
3
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
4
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
+ image: string;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
+ image: string;
8
+ }>>>, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
10
  export default _default;
16
11
  type __VLS_WithTemplateSlots<T, S> = T & {
17
12
  new (): {
18
13
  $slots: S;
19
14
  };
20
15
  };
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
@@ -6,37 +6,60 @@ interface Props {
6
6
  disabled?: boolean;
7
7
  }
8
8
  declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- 'open-indicator'?(_: {
12
- attributes: any;
13
- }): any;
14
- 'selected-option'?(_: {
15
- option: never;
16
- }): any;
17
- option?(_: {
18
- option: never;
19
- }): any;
20
- };
21
- refs: {};
22
- rootEl: HTMLDivElement;
9
+ "open-indicator"?(_: {
10
+ attributes: any;
11
+ }): any;
12
+ "selected-option"?(_: {
13
+ option: never;
14
+ }): any;
15
+ option?(_: {
16
+ option: never;
17
+ }): any;
23
18
  };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
20
+ id: string;
21
+ placeholder: string;
22
+ searchable: boolean;
23
+ disabled: boolean;
24
+ isRequired: boolean;
25
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
26
  "update:modelValue": (...args: any[]) => void;
27
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
27
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
+ id: string;
29
+ placeholder: string;
30
+ searchable: boolean;
31
+ disabled: boolean;
32
+ isRequired: boolean;
33
+ }>>> & {
28
34
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
- }>, {
35
+ }, {
30
36
  disabled: boolean;
31
37
  id: string;
32
38
  placeholder: string;
33
39
  searchable: boolean;
34
40
  isRequired: boolean;
35
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
36
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
+ }, {}>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
43
  export default _default;
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
+ default: D[K];
47
+ }> : P[K];
48
+ };
49
+ type __VLS_Prettify<T> = {
50
+ [K in keyof T]: T[K];
51
+ } & {};
38
52
  type __VLS_WithTemplateSlots<T, S> = T & {
39
53
  new (): {
40
54
  $slots: S;
41
55
  };
42
56
  };
57
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
+ type __VLS_TypePropsToOption<T> = {
59
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
60
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
+ } : {
62
+ type: import('vue').PropType<T[K]>;
63
+ required: true;
64
+ };
65
+ };
@@ -5,24 +5,45 @@ interface Props {
5
5
  isLoading?: boolean;
6
6
  }
7
7
  declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- contentComponent?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: HTMLDivElement;
8
+ contentComponent?(_: {}): any;
14
9
  };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
+ title: string;
12
+ contentClass: string;
13
+ content: string;
14
+ isLoading: boolean;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
+ title: string;
17
+ contentClass: string;
18
+ content: string;
19
+ isLoading: boolean;
20
+ }>>>, {
17
21
  title: string;
18
22
  isLoading: boolean;
19
23
  content: string;
20
24
  contentClass: string;
21
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
22
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
+ }, {}>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
27
  export default _default;
28
+ type __VLS_WithDefaults<P, D> = {
29
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
+ default: D[K];
31
+ }> : P[K];
32
+ };
33
+ type __VLS_Prettify<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
24
36
  type __VLS_WithTemplateSlots<T, S> = T & {
25
37
  new (): {
26
38
  $slots: S;
27
39
  };
28
40
  };
41
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
+ type __VLS_TypePropsToOption<T> = {
43
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
44
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
+ } : {
46
+ type: import('vue').PropType<T[K]>;
47
+ required: true;
48
+ };
49
+ };