@adyen/bento-vue2 0.1.0 → 0.1.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 (41) hide show
  1. package/dist/@types/components/avatar/avatar.vue.d.ts +13 -2
  2. package/dist/@types/components/button/button.vue.d.ts +1 -1
  3. package/dist/@types/components/currency/currency.types.d.ts +170 -0
  4. package/dist/@types/components/currency/currency.vue.d.ts +32 -0
  5. package/dist/@types/components/currency/index.d.ts +2 -0
  6. package/dist/@types/components/data-grid/data-grid.vue.d.ts +1 -0
  7. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +53 -0
  8. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +62 -21
  9. package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +129 -0
  10. package/dist/@types/components/dropdown/components/dropdown-options-container/components/{dropdown-option/dropdown-option.vue.d.ts → dropdown-single-select-option/dropdown-single-select-option.vue.d.ts} +18 -4
  11. package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/index.d.ts +1 -0
  12. package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +22 -13
  13. package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -1
  14. package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +128 -0
  15. package/dist/@types/components/dropdown/components/index.d.ts +1 -0
  16. package/dist/@types/components/dropdown/dropdown.types.d.ts +1 -0
  17. package/dist/@types/components/dropdown/dropdown.vue.d.ts +60 -1
  18. package/dist/@types/components/filter-bar/components/base-filter/components/filter-button/filter-button.vue.d.ts +32 -0
  19. package/dist/@types/components/search-bar/search-bar.vue.d.ts +1 -1
  20. package/dist/@types/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
  21. package/dist/@types/components/tag/tag.vue.d.ts +10 -1
  22. package/dist/@types/components/user-profile/index.d.ts +1 -0
  23. package/dist/@types/components/user-profile/user-profile.vue.d.ts +40 -0
  24. package/dist/@types/components.d.ts +4 -0
  25. package/dist/@types/composables/index.d.ts +1 -0
  26. package/dist/@types/composables/initials.d.ts +3 -0
  27. package/dist/@types/index.d.ts +2 -0
  28. package/dist/@types/types/index.d.ts +1 -0
  29. package/dist/@types/types/prop-types.d.ts +1 -0
  30. package/dist/@types/utils/ts/currency/countries-list.d.ts +4 -0
  31. package/dist/@types/utils/ts/currency/currency.d.ts +6 -0
  32. package/dist/@types/utils/ts/currency/currency.types.d.ts +24 -0
  33. package/dist/@types/utils/ts/debounce/debounce.d.ts +1 -2
  34. package/dist/@types/utils/ts/deep-merge/deep-merge.d.ts +1 -0
  35. package/dist/@types/utils/ts/deep-merge/index.d.ts +1 -0
  36. package/dist/index.js +2671 -2169
  37. package/dist/index.js.map +1 -1
  38. package/package.json +2 -2
  39. package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +0 -68
  40. package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +0 -1
  41. package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AdlDropdownOptionItem, AdlDropdownOptions, AdlDropdownValue } from '../../dropdown.types';
2
+ import type { BentoDropdownIsOptionDisabled, AdlDropdownOptionItem as BentoDropdownOptionItem, AdlDropdownOptions as BentoDropdownOptions, AdlDropdownValue as BentoDropdownValue } from '../../dropdown.types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  ariaLabel: {
5
5
  type: StringConstructor;
@@ -13,16 +13,20 @@ declare const _default: import("vue").DefineComponent<{
13
13
  type: StringConstructor;
14
14
  required: true;
15
15
  };
16
- open: {
17
- type: BooleanConstructor;
18
- required: true;
16
+ isOptionDisabled: {
17
+ type: PropType<BentoDropdownIsOptionDisabled>;
18
+ default: any;
19
19
  };
20
20
  items: {
21
- type: PropType<AdlDropdownOptions>;
21
+ type: PropType<BentoDropdownOptions>;
22
+ required: true;
23
+ };
24
+ open: {
25
+ type: BooleanConstructor;
22
26
  required: true;
23
27
  };
24
28
  selectedValue: {
25
- type: PropType<AdlDropdownValue>;
29
+ type: PropType<BentoDropdownValue>;
26
30
  default: any;
27
31
  };
28
32
  targetElement: {
@@ -48,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
48
52
  BOTTOM: import("@/components/popper-container").PopperContainerPositionBasic.BOTTOM;
49
53
  LEFT: import("@/components/popper-container").PopperContainerPositionBasic.LEFT;
50
54
  };
51
- onOptionSelected: (selectedOption: AdlDropdownOptionItem) => void;
55
+ onOptionSelected: (selectedOption: BentoDropdownOptionItem) => void;
52
56
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
53
57
  ariaLabel: {
54
58
  type: StringConstructor;
@@ -62,16 +66,20 @@ declare const _default: import("vue").DefineComponent<{
62
66
  type: StringConstructor;
63
67
  required: true;
64
68
  };
65
- open: {
66
- type: BooleanConstructor;
67
- required: true;
69
+ isOptionDisabled: {
70
+ type: PropType<BentoDropdownIsOptionDisabled>;
71
+ default: any;
68
72
  };
69
73
  items: {
70
- type: PropType<AdlDropdownOptions>;
74
+ type: PropType<BentoDropdownOptions>;
75
+ required: true;
76
+ };
77
+ open: {
78
+ type: BooleanConstructor;
71
79
  required: true;
72
80
  };
73
81
  selectedValue: {
74
- type: PropType<AdlDropdownValue>;
82
+ type: PropType<BentoDropdownValue>;
75
83
  default: any;
76
84
  };
77
85
  targetElement: {
@@ -81,6 +89,7 @@ declare const _default: import("vue").DefineComponent<{
81
89
  }>>, {
82
90
  ariaLabel: string;
83
91
  disabled: boolean;
84
- selectedValue: AdlDropdownValue;
92
+ isOptionDisabled: BentoDropdownIsOptionDisabled;
93
+ selectedValue: BentoDropdownValue;
85
94
  }>;
86
95
  export default _default;
@@ -1 +1 @@
1
- export { default as AdlDropdownOptionsContainer } from './dropdown-options-container.vue';
1
+ export { default as BentoDropdownOptionsContainer } from './dropdown-options-container.vue';
@@ -0,0 +1,128 @@
1
+ import { PropType } from 'vue';
2
+ import { Booleanish } from '@/types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ additionalItemsSelected: {
5
+ type: NumberConstructor;
6
+ default: number;
7
+ };
8
+ ariaControls: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ ariaExpanded: {
13
+ type: PropType<Booleanish>;
14
+ required: true;
15
+ };
16
+ ariaLabel: {
17
+ type: StringConstructor;
18
+ default: any;
19
+ };
20
+ ariaLabelledby: {
21
+ type: StringConstructor;
22
+ default: any;
23
+ };
24
+ debounceTime: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ displayValue: {
33
+ type: StringConstructor;
34
+ default: any;
35
+ };
36
+ dynamicFiltering: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ isInvalid: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ open: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ placeholder: {
49
+ type: StringConstructor;
50
+ default: any;
51
+ };
52
+ value: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ }, {
57
+ conditionalClasses: import("vue").ComputedRef<{
58
+ 'b-dropdown-small-textbox--disabled': boolean;
59
+ 'b-dropdown-small-textbox--opened': boolean;
60
+ }>;
61
+ isDropdownOpen: import("vue").ComputedRef<boolean>;
62
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
63
+ additionalItemsSelected: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ };
67
+ ariaControls: {
68
+ type: StringConstructor;
69
+ required: true;
70
+ };
71
+ ariaExpanded: {
72
+ type: PropType<Booleanish>;
73
+ required: true;
74
+ };
75
+ ariaLabel: {
76
+ type: StringConstructor;
77
+ default: any;
78
+ };
79
+ ariaLabelledby: {
80
+ type: StringConstructor;
81
+ default: any;
82
+ };
83
+ debounceTime: {
84
+ type: NumberConstructor;
85
+ default: number;
86
+ };
87
+ disabled: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ displayValue: {
92
+ type: StringConstructor;
93
+ default: any;
94
+ };
95
+ dynamicFiltering: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ isInvalid: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ open: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ placeholder: {
108
+ type: StringConstructor;
109
+ default: any;
110
+ };
111
+ value: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ }>>, {
116
+ open: boolean;
117
+ value: string;
118
+ ariaLabel: string;
119
+ disabled: boolean;
120
+ placeholder: string;
121
+ debounceTime: number;
122
+ additionalItemsSelected: number;
123
+ ariaLabelledby: string;
124
+ displayValue: string;
125
+ dynamicFiltering: boolean;
126
+ isInvalid: boolean;
127
+ }>;
128
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as DropdownInputDefault } from './dropdown-default-textbox/dropdown-default-textbox.vue';
@@ -5,3 +5,4 @@ export interface AdlDropdownOptionItem extends BentoSearchBarItem {
5
5
  }
6
6
  export type AdlDropdownSelectedValue = AdlDropdownValue;
7
7
  export type AdlDropdownOptions = Array<AdlDropdownOptionItem>;
8
+ export type BentoDropdownIsOptionDisabled = (optionValue: AdlDropdownOptionItem) => boolean | undefined;
@@ -1,5 +1,6 @@
1
1
  import { PropType } from 'vue';
2
- import { AdlDropdownOptionItem, AdlDropdownOptions } from './dropdown.types';
2
+ import { AdlDropdownOptionItem, AdlDropdownOptions, BentoDropdownIsOptionDisabled } from './dropdown.types';
3
+ import { BentoTypographyElement } from '../typography';
3
4
  declare const _default: import("vue").DefineComponent<{
4
5
  ariaLabel: {
5
6
  type: StringConstructor;
@@ -9,6 +10,22 @@ declare const _default: import("vue").DefineComponent<{
9
10
  type: BooleanConstructor;
10
11
  default: boolean;
11
12
  };
13
+ dynamicFiltering: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ label: {
18
+ type: StringConstructor;
19
+ default: any;
20
+ };
21
+ description: {
22
+ type: StringConstructor;
23
+ default: any;
24
+ };
25
+ optional: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
12
29
  placeholder: {
13
30
  type: StringConstructor;
14
31
  default: any;
@@ -17,18 +34,30 @@ declare const _default: import("vue").DefineComponent<{
17
34
  type: PropType<import("./dropdown.types").AdlDropdownValue>;
18
35
  default: any;
19
36
  };
37
+ isOptionDisabled: {
38
+ type: PropType<BentoDropdownIsOptionDisabled>;
39
+ default: any;
40
+ };
20
41
  items: {
21
42
  type: PropType<AdlDropdownOptions>;
22
43
  default: () => any[];
23
44
  };
45
+ required: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
24
49
  }, {
25
50
  isDropdownOpen: import("vue").Ref<boolean>;
26
51
  displayValue: import("vue").ComputedRef<string>;
27
52
  dropdownOptionsContainerId: string;
53
+ filteredItems: import("vue").ComputedRef<AdlDropdownOptionItem[]>;
54
+ searchTerm: import("vue").Ref<string>;
55
+ labelId: string;
28
56
  inputContainerRef: any;
29
57
  closeOpenedDropdown: () => void;
30
58
  toggleDropdown: () => void;
31
59
  onOptionSelected: (selectedOption: AdlDropdownOptionItem) => void;
60
+ BentoTypographyElement: typeof BentoTypographyElement;
32
61
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
33
62
  ariaLabel: {
34
63
  type: StringConstructor;
@@ -38,6 +67,22 @@ declare const _default: import("vue").DefineComponent<{
38
67
  type: BooleanConstructor;
39
68
  default: boolean;
40
69
  };
70
+ dynamicFiltering: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ label: {
75
+ type: StringConstructor;
76
+ default: any;
77
+ };
78
+ description: {
79
+ type: StringConstructor;
80
+ default: any;
81
+ };
82
+ optional: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
41
86
  placeholder: {
42
87
  type: StringConstructor;
43
88
  default: any;
@@ -46,15 +91,29 @@ declare const _default: import("vue").DefineComponent<{
46
91
  type: PropType<import("./dropdown.types").AdlDropdownValue>;
47
92
  default: any;
48
93
  };
94
+ isOptionDisabled: {
95
+ type: PropType<BentoDropdownIsOptionDisabled>;
96
+ default: any;
97
+ };
49
98
  items: {
50
99
  type: PropType<AdlDropdownOptions>;
51
100
  default: () => any[];
52
101
  };
102
+ required: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
53
106
  }>>, {
107
+ required: boolean;
108
+ optional: boolean;
54
109
  value: import("./dropdown.types").AdlDropdownValue;
110
+ label: string;
55
111
  ariaLabel: string;
56
112
  disabled: boolean;
113
+ description: string;
57
114
  placeholder: string;
58
115
  items: AdlDropdownOptions;
116
+ isOptionDisabled: BentoDropdownIsOptionDisabled;
117
+ dynamicFiltering: boolean;
59
118
  }>;
60
119
  export default _default;
@@ -0,0 +1,32 @@
1
+ import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ amountAppliedValues: {
4
+ type: NumberConstructor;
5
+ default: any;
6
+ };
7
+ disabled: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }, {
12
+ BentoTypographyElement: typeof BentoTypographyElement;
13
+ BentoTypographyVariant: typeof BentoTypographyVariant;
14
+ computedAriaLabel: import("vue").ComputedRef<string>;
15
+ conditionalClasses: import("vue").ComputedRef<{
16
+ "b-filter-button--with-counter": number;
17
+ }>;
18
+ onClickButton: () => void;
19
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
20
+ amountAppliedValues: {
21
+ type: NumberConstructor;
22
+ default: any;
23
+ };
24
+ disabled: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ }>>, {
29
+ disabled: boolean;
30
+ amountAppliedValues: number;
31
+ }>;
32
+ export default _default;
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  }, {
16
16
  searchTerm: import("vue").Ref<string>;
17
17
  onClearSearch: () => void;
18
- onInputEvent: (...args: void[]) => void;
18
+ onInputEvent: () => void;
19
19
  BentoInputFieldType: typeof BentoInputFieldType;
20
20
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "clear")[], string, Readonly<import("vue").ExtractPropTypes<{
21
21
  ariaLabel: {
@@ -1,3 +1,3 @@
1
1
  import { Ref } from 'vue';
2
- import { BentoSearchBarData } from './search-bar.types';
3
- export declare const useSearchBarFilter: (searchTerm: Ref<string>, data: Ref<BentoSearchBarData>) => import("vue").ComputedRef<import("./search-bar.types").BentoSearchBarItem[]>;
2
+ import { BentoSearchBarItem } from './search-bar.types';
3
+ export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<T[]>): import("vue").ComputedRef<T[]>;
@@ -2,6 +2,10 @@ import { PropType } from 'vue';
2
2
  import { BentoTagVariant } from './tag.types';
3
3
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
4
  declare const _default: import("vue").DefineComponent<{
5
+ label: {
6
+ type: StringConstructor;
7
+ default: any;
8
+ };
5
9
  variant: {
6
10
  type: PropType<BentoTagVariant>;
7
11
  default: BentoTagVariant;
@@ -13,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
13
17
  };
14
18
  }, {
15
19
  computedAriaLabel: import("vue").ComputedRef<string>;
16
- textFromSlot: string;
20
+ textFromSlot: import("vue").ComputedRef<string>;
17
21
  formattedText: import("vue").ComputedRef<string>;
18
22
  tagConditionalClasses: import("vue").ComputedRef<{
19
23
  [x: string]: BentoTagVariant;
@@ -22,6 +26,10 @@ declare const _default: import("vue").DefineComponent<{
22
26
  BentoTypographyVariant: typeof BentoTypographyVariant;
23
27
  BentoTypographyElement: typeof BentoTypographyElement;
24
28
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
29
+ label: {
30
+ type: StringConstructor;
31
+ default: any;
32
+ };
25
33
  variant: {
26
34
  type: PropType<BentoTagVariant>;
27
35
  default: BentoTagVariant;
@@ -32,6 +40,7 @@ declare const _default: import("vue").DefineComponent<{
32
40
  default: any;
33
41
  };
34
42
  }>>, {
43
+ label: string;
35
44
  variant: BentoTagVariant;
36
45
  truncate: number;
37
46
  }>;
@@ -0,0 +1 @@
1
+ export { default as BentoUserProfile } from './user-profile.vue';
@@ -0,0 +1,40 @@
1
+ import { BentoAvatarColor, BentoAvatarVariant } from '@/components/avatar';
2
+ import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ iconOnly: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ username: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ src: {
13
+ type: StringConstructor;
14
+ default: any;
15
+ };
16
+ }, {
17
+ BentoAvatarVariant: typeof BentoAvatarVariant;
18
+ BentoTypographyElement: typeof BentoTypographyElement;
19
+ BentoTypographyVariant: typeof BentoTypographyVariant;
20
+ computedAriaLabel: import("vue").ComputedRef<string>;
21
+ computedUsername: import("vue").ComputedRef<string>;
22
+ avatarColor: import("vue").ComputedRef<BentoAvatarColor>;
23
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
24
+ iconOnly: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ username: {
29
+ type: StringConstructor;
30
+ required: true;
31
+ };
32
+ src: {
33
+ type: StringConstructor;
34
+ default: any;
35
+ };
36
+ }>>, {
37
+ src: string;
38
+ iconOnly: boolean;
39
+ }>;
40
+ export default _default;
@@ -22,6 +22,7 @@ import {
22
22
  BentoCheckboxGroup,
23
23
  BentoClickOutside,
24
24
  BentoCountry,
25
+ BentoCurrency,
25
26
  BentoDataGrid,
26
27
  BentoInputField,
27
28
  BentoLink,
@@ -35,6 +36,7 @@ import {
35
36
  BentoTag,
36
37
  BentoToggle,
37
38
  BentoTypography,
39
+ BentoUserProfile,
38
40
  } from './index';
39
41
 
40
42
  declare module 'vue' {
@@ -62,6 +64,7 @@ declare module 'vue' {
62
64
  BentoCheckboxGroup: typeof BentoCheckboxGroup;
63
65
  BentoClickOutside: typeof BentoClickOutside;
64
66
  BentoCountry: typeof BentoCountry;
67
+ BentoCurrency: typeof BentoCurrency;
65
68
  BentoDataGrid: typeof BentoDataGrid;
66
69
  BentoInputField: typeof BentoInputField;
67
70
  BentoLink: typeof BentoLink;
@@ -75,5 +78,6 @@ declare module 'vue' {
75
78
  BentoTag: typeof BentoTag;
76
79
  BentoToggle: typeof BentoToggle;
77
80
  BentoTypography: typeof BentoTypography;
81
+ BentoUserProfile: typeof BentoUserProfile;
78
82
  }
79
83
  }
@@ -0,0 +1 @@
1
+ export * from './initials';
@@ -0,0 +1,3 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { MaybeRef } from '../types';
3
+ export declare const useInitials: (username: MaybeRef<string | null>) => ComputedRef<string | null>;
@@ -5,6 +5,7 @@ export * from './components/data-grid';
5
5
  export * from './components/checkbox';
6
6
  export * from './components/click-outside';
7
7
  export * from './components/country';
8
+ export * from './components/currency';
8
9
  export * from './components/filter-bar';
9
10
  export * from './components/input-field';
10
11
  export * from './components/loading-indicator';
@@ -17,6 +18,7 @@ export * from './components/status';
17
18
  export * from './components/tag';
18
19
  export * from './components/toggle';
19
20
  export * from './components/typography';
21
+ export * from './components/user-profile';
20
22
  export * from './types';
21
23
  export * from './directives';
22
24
  export default BentoVue;
@@ -1,4 +1,5 @@
1
1
  export * from './elements';
2
2
  export * from './functions';
3
3
  export * from './label-position';
4
+ export * from './prop-types';
4
5
  export * from './refs';
@@ -0,0 +1 @@
1
+ export type Booleanish = boolean | 'true' | 'false';
@@ -0,0 +1,4 @@
1
+ export declare const currencyExponentMap: {
2
+ exponent: number;
3
+ currencies: string[];
4
+ }[];
@@ -0,0 +1,6 @@
1
+ import { CurrencyAmount, CurrencyOptions, NumberFormatOptionsResult } from './currency.types';
2
+ export declare const getExponent: (currencyCode: string) => number;
3
+ export declare const getMinorUnitsAmount: (amount: CurrencyAmount) => number;
4
+ export declare const getNormalizedAmount: (amount: CurrencyAmount, exponent: number) => number;
5
+ export declare function getNumberFormatOptions(amount: CurrencyAmount, options?: CurrencyOptions): NumberFormatOptionsResult;
6
+ export declare const getLocalizedCurrencyValue: (amountValue: string, currency: string, isShort?: boolean) => string;
@@ -0,0 +1,24 @@
1
+ export interface CurrencyAmount {
2
+ value: number;
3
+ currency: string;
4
+ }
5
+ export interface CurrencyOptions {
6
+ style?: string;
7
+ exponent?: number;
8
+ optionalFractions?: boolean;
9
+ highPrecision?: boolean;
10
+ }
11
+ export interface CurrencyFormatOptions {
12
+ amount: CurrencyAmount;
13
+ options?: CurrencyOptions;
14
+ }
15
+ export interface NumberFormatOptionsResult {
16
+ value: number;
17
+ format: {
18
+ currency: string;
19
+ currencyDisplay: string;
20
+ maximumFractionDigits: number;
21
+ minimumFractionDigits: number;
22
+ style: string;
23
+ };
24
+ }
@@ -1,2 +1 @@
1
- import { AnyFn } from '../../../types';
2
- export declare const debounce: <T>(callback: AnyFn<T>, debounceTime: number) => (...args: T[]) => void;
1
+ export declare const debounce: <T extends (...args: any[]) => any>(callback: T, debounceTime?: number) => T;
@@ -0,0 +1 @@
1
+ export declare function deepMerge(target: object, source: object): object;
@@ -0,0 +1 @@
1
+ export * from './deep-merge';