@adyen/bento-vue2 0.4.0 → 0.5.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/@types/components/button/button.demo.d.ts +6 -0
  2. package/dist/@types/components/button/button.vue.d.ts +1 -0
  3. package/dist/@types/components/button/components/button-actions/button-actions.vue.d.ts +4 -4
  4. package/dist/@types/components/card/card.vue.d.ts +1 -0
  5. package/dist/@types/components/currency/currency.vue.d.ts +9 -0
  6. package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +15 -0
  7. package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +55 -11
  8. package/dist/@types/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +38 -0
  9. package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.types.d.ts +4 -0
  10. package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +7 -5
  11. package/dist/@types/components/data-grid/components/index.d.ts +1 -1
  12. package/dist/@types/components/data-grid/composables/index.d.ts +2 -1
  13. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -0
  14. package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +64 -0
  15. package/dist/@types/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +68 -0
  16. package/dist/@types/components/data-grid/composables/useResizer.d.ts +3 -1
  17. package/dist/@types/components/data-grid/composables/useSorter.d.ts +2 -1
  18. package/dist/@types/components/data-grid/data-grid.types.d.ts +1 -0
  19. package/dist/@types/components/data-grid/data-grid.vue.d.ts +116 -1
  20. package/dist/@types/components/date/date.vue.d.ts +3 -3
  21. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +3 -1
  22. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +2 -2
  23. package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +2 -4
  24. package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -3
  25. package/dist/@types/components/dropdown/components/index.d.ts +1 -0
  26. package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
  27. package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
  28. package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
  29. package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
  30. package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
  31. package/dist/@types/components/dropdown/dropdown.vue.d.ts +12 -0
  32. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +3 -28
  33. package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +5 -3
  34. package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +3 -2
  35. package/dist/@types/components/header/header.types.d.ts +4 -0
  36. package/dist/@types/components/header/header.vue.d.ts +66 -0
  37. package/dist/@types/components/header/index.d.ts +1 -0
  38. package/dist/@types/components/internal/base-button/base-button.types.d.ts +15 -0
  39. package/dist/@types/components/internal/base-button/base-button.vue.d.ts +47 -0
  40. package/dist/@types/components/internal/base-button/index.d.ts +2 -0
  41. package/dist/@types/components/link/link.vue.d.ts +5 -3
  42. package/dist/@types/components/menu/components/index.d.ts +2 -0
  43. package/dist/@types/components/menu/components/menu-item/index.d.ts +2 -0
  44. package/dist/@types/components/menu/components/menu-item/menu-item.types.d.ts +11 -0
  45. package/dist/@types/components/menu/components/menu-item/menu-item.vue.d.ts +84 -0
  46. package/dist/@types/components/menu/components/menu-item-list/index.d.ts +1 -0
  47. package/dist/@types/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +49 -0
  48. package/dist/@types/components/menu/index.d.ts +2 -0
  49. package/dist/@types/components/menu/menu.types.d.ts +3 -0
  50. package/dist/@types/components/menu/menu.vue.d.ts +53 -0
  51. package/dist/@types/components/popover/popover.vue.d.ts +10 -0
  52. package/dist/@types/components/tooltip/tooltip.vue.d.ts +4 -5
  53. package/dist/@types/components.d.ts +4 -2
  54. package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +4 -4
  55. package/dist/@types/index.d.ts +1 -0
  56. package/dist/@types/utils/ts/currency/currency.d.ts +2 -2
  57. package/dist/index.js +3610 -2929
  58. package/dist/index.js.map +1 -1
  59. package/dist/web-types.json +4936 -0
  60. package/package.json +14 -13
  61. package/dist/@types/components/data-grid/composables/useConfigSettings.d.ts +0 -7
  62. package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +0 -22
  63. package/dist/@types/components/page-header/index.d.ts +0 -1
  64. package/dist/@types/components/page-header/page-header.vue.d.ts +0 -22
  65. package/dist/@types/components/tooltip/index.d.ts +0 -1
@@ -0,0 +1,47 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoBaseButtonEvent } from './base-button.types';
3
+ import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
+ import { Booleanish } from '@/types';
5
+ declare const _default: import("vue").DefineComponent<{
6
+ disabled: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ critical: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ type: {
15
+ type: PropType<"button" | "reset" | "submit">;
16
+ default: string;
17
+ };
18
+ }, {
19
+ BentoTypographyElement: typeof BentoTypographyElement;
20
+ BentoTypographyVariant: typeof BentoTypographyVariant;
21
+ ariaAttributes: import("vue").ComputedRef<{
22
+ 'aria-expanded': Booleanish;
23
+ }>;
24
+ conditionalClasses: import("vue").ComputedRef<{
25
+ [x: string]: boolean;
26
+ }>;
27
+ onClickButton: (e: MouseEvent) => void;
28
+ hasSlot: (name: string) => boolean;
29
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoBaseButtonEvent[], string, Readonly<import("vue").ExtractPropTypes<{
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ critical: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ type: {
39
+ type: PropType<"button" | "reset" | "submit">;
40
+ default: string;
41
+ };
42
+ }>>, {
43
+ type: "button" | "reset" | "submit";
44
+ disabled: boolean;
45
+ critical: boolean;
46
+ }>;
47
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as BaseButton } from './base-button.vue';
2
+ export * from './base-button.types';
@@ -6,16 +6,18 @@ export interface Props extends RouterLinkProps, AnchorHTMLAttributes {
6
6
  variant?: BentoLinkVariant;
7
7
  }
8
8
  import { BentoLinkVariant } from './link.types';
9
- import type { RouterLinkProps } from 'vue-router/types/router';
9
+ import type { RouterLinkProps, RouterLinkSlotArgument } from 'vue-router/types/router';
10
10
  import type { AnchorHTMLAttributes } from 'vue/types/jsx';
11
11
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
12
  variant: BentoLinkVariant;
13
- }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
14
+ click: (clickEvent: MouseEvent) => void;
15
+ }, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
16
  variant: BentoLinkVariant;
15
17
  }>>>, {
16
18
  variant: BentoLinkVariant;
17
19
  }>, {
18
- default: (_: import("vue-router/types/router").RouterLinkSlotArgument) => any;
20
+ default: (_: RouterLinkSlotArgument) => any;
19
21
  }>;
20
22
  export default _default;
21
23
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,2 @@
1
+ export * from './menu-item';
2
+ export * from './menu-item-list';
@@ -0,0 +1,2 @@
1
+ export { default as MenuItem } from './menu-item.vue';
2
+ export * from './menu-item.types';
@@ -0,0 +1,11 @@
1
+ import type { VueNodeElement } from '@/types';
2
+ export interface BentoMenuItem {
3
+ text: string;
4
+ handler: () => void;
5
+ secondaryText?: string;
6
+ disabled?: boolean;
7
+ chevron?: boolean;
8
+ icon?: VueNodeElement;
9
+ critical?: boolean;
10
+ indent?: boolean;
11
+ }
@@ -0,0 +1,84 @@
1
+ import { PropType } from 'vue';
2
+ import type { VueNodeElement } from '@/types';
3
+ import { BentoBaseButtonEvent } from '@/components/internal/base-button';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ text: {
6
+ type: StringConstructor;
7
+ required: true;
8
+ };
9
+ handler: {
10
+ type: PropType<() => void>;
11
+ required: true;
12
+ };
13
+ secondaryText: {
14
+ type: StringConstructor;
15
+ default: any;
16
+ };
17
+ chevron: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ icon: {
22
+ type: PropType<VueNodeElement>;
23
+ default: any;
24
+ };
25
+ disabled: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ indent: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ critical: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ }, {
38
+ conditionalClasses: import("vue").ComputedRef<{
39
+ 'b-menu-item--critical': boolean;
40
+ 'b-menu-item--indent': boolean;
41
+ }>;
42
+ onClick: () => void;
43
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoBaseButtonEvent.CLICK[], string, Readonly<import("vue").ExtractPropTypes<{
44
+ text: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ handler: {
49
+ type: PropType<() => void>;
50
+ required: true;
51
+ };
52
+ secondaryText: {
53
+ type: StringConstructor;
54
+ default: any;
55
+ };
56
+ chevron: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ icon: {
61
+ type: PropType<VueNodeElement>;
62
+ default: any;
63
+ };
64
+ disabled: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ indent: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ critical: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ }>>, {
77
+ disabled: boolean;
78
+ icon: VueNodeElement;
79
+ critical: boolean;
80
+ secondaryText: string;
81
+ chevron: boolean;
82
+ indent: boolean;
83
+ }>;
84
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as MenuItemList } from './menu-item-list.vue';
@@ -0,0 +1,49 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoMenuItem } from '../menu-item';
3
+ import { BentoMenuEvent } from '../../menu.types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ data: {
6
+ type: PropType<BentoMenuItem[]>;
7
+ required: true;
8
+ };
9
+ indentItems: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ id: {
14
+ type: StringConstructor;
15
+ required: true;
16
+ };
17
+ focusLastElement: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ }, {
22
+ computedData: import("vue").ComputedRef<BentoMenuItem[]>;
23
+ focusedIndex: import("vue").Ref<number>;
24
+ menuItemListRef: any;
25
+ closeMenu: () => void;
26
+ focusPrevious: () => void;
27
+ focusNext: () => void;
28
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoMenuEvent[], string, Readonly<import("vue").ExtractPropTypes<{
29
+ data: {
30
+ type: PropType<BentoMenuItem[]>;
31
+ required: true;
32
+ };
33
+ indentItems: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ id: {
38
+ type: StringConstructor;
39
+ required: true;
40
+ };
41
+ focusLastElement: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ }>>, {
46
+ indentItems: boolean;
47
+ focusLastElement: boolean;
48
+ }>;
49
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as BentoMenu } from './menu.vue';
2
+ export * from './menu.types';
@@ -0,0 +1,3 @@
1
+ export declare enum BentoMenuEvent {
2
+ CLOSE = "close"
3
+ }
@@ -0,0 +1,53 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoButtonVariant } from '@/components/button';
3
+ import { BentoMenuItem } from './components';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ data: {
6
+ type: PropType<BentoMenuItem[]>;
7
+ required: true;
8
+ };
9
+ ghostButton: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ }, {
14
+ BentoButtonVariant: typeof BentoButtonVariant;
15
+ BentoPopoverPositions: {
16
+ AUTO: import("../popper-container").PopperContainerPositionExtended.AUTO;
17
+ AUTO_START: import("../popper-container").PopperContainerPositionExtended.AUTO_START;
18
+ AUTO_END: import("../popper-container").PopperContainerPositionExtended.AUTO_END;
19
+ TOP_START: import("../popper-container").PopperContainerPositionExtended.TOP_START;
20
+ TOP_END: import("../popper-container").PopperContainerPositionExtended.TOP_END;
21
+ RIGHT_START: import("../popper-container").PopperContainerPositionExtended.RIGHT_START;
22
+ RIGHT_END: import("../popper-container").PopperContainerPositionExtended.RIGHT_END;
23
+ BOTTOM_START: import("../popper-container").PopperContainerPositionExtended.BOTTOM_START;
24
+ BOTTOM_END: import("../popper-container").PopperContainerPositionExtended.BOTTOM_END;
25
+ LEFT_START: import("../popper-container").PopperContainerPositionExtended.LEFT_START;
26
+ LEFT_END: import("../popper-container").PopperContainerPositionExtended.LEFT_END;
27
+ TOP: import("../popper-container").PopperContainerPositionBasic.TOP;
28
+ RIGHT: import("../popper-container").PopperContainerPositionBasic.RIGHT;
29
+ BOTTOM: import("../popper-container").PopperContainerPositionBasic.BOTTOM;
30
+ LEFT: import("../popper-container").PopperContainerPositionBasic.LEFT;
31
+ };
32
+ menuButtonRef: any;
33
+ menuId: string;
34
+ showMenu: import("vue").Ref<boolean>;
35
+ computedMenuButtonVariant: import("vue").ComputedRef<BentoButtonVariant.SECONDARY | BentoButtonVariant.TERTIARY>;
36
+ isLastElementFocused: import("vue").Ref<boolean>;
37
+ onKeyDown: () => void;
38
+ onKeyUp: () => void;
39
+ closeMenu: () => void;
40
+ toggleShowMenu: () => void;
41
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
42
+ data: {
43
+ type: PropType<BentoMenuItem[]>;
44
+ required: true;
45
+ };
46
+ ghostButton: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ }>>, {
51
+ ghostButton: boolean;
52
+ }>;
53
+ export default _default;
@@ -57,11 +57,16 @@ declare const _default: import("vue").DefineComponent<{
57
57
  type: PropType<import("../..").VueNodeElement>;
58
58
  required: true;
59
59
  };
60
+ withoutSpace: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
60
64
  }, {
61
65
  conditionalClasses: import("vue").ComputedRef<{
62
66
  'b-popover--small': boolean;
63
67
  'b-popover--with-divider': boolean;
64
68
  'b-popover--large': boolean;
69
+ 'b-popover--without-space': boolean;
65
70
  }>;
66
71
  contentConditionalClasses: import("vue").ComputedRef<{
67
72
  'b-popover__content--with-title': boolean;
@@ -124,6 +129,10 @@ declare const _default: import("vue").DefineComponent<{
124
129
  type: PropType<import("../..").VueNodeElement>;
125
130
  required: true;
126
131
  };
132
+ withoutSpace: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
127
136
  }>>, {
128
137
  small: boolean;
129
138
  position: import("@/components/popper-container").PopperContainerPosition;
@@ -137,5 +146,6 @@ declare const _default: import("vue").DefineComponent<{
137
146
  divider: boolean;
138
147
  disableFocusTrap: boolean;
139
148
  dismissible: boolean;
149
+ withoutSpace: boolean;
140
150
  }>;
141
151
  export default _default;
@@ -1,13 +1,14 @@
1
1
  import { PropType } from 'vue';
2
2
  import { PopperContainerAriaRole, PopperContainerPositionExtended } from '@/components/popper-container';
3
3
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
+ import { VueNodeElement } from '../../types';
4
5
  declare const _default: import("vue").DefineComponent<{
5
6
  id: {
6
7
  type: StringConstructor;
7
8
  default: any;
8
9
  };
9
10
  targetElement: {
10
- type: PropType<import("../../index.js").VueNodeElement>;
11
+ type: PropType<VueNodeElement>;
11
12
  required: true;
12
13
  };
13
14
  position: {
@@ -36,13 +37,13 @@ declare const _default: import("vue").DefineComponent<{
36
37
  [x: string]: boolean;
37
38
  }>;
38
39
  tabIndex: import("vue").ComputedRef<number>;
39
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
40
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
40
41
  id: {
41
42
  type: StringConstructor;
42
43
  default: any;
43
44
  };
44
45
  targetElement: {
45
- type: PropType<import("../../index.js").VueNodeElement>;
46
+ type: PropType<VueNodeElement>;
46
47
  required: true;
47
48
  };
48
49
  position: {
@@ -69,5 +70,3 @@ declare const _default: import("vue").DefineComponent<{
69
70
  isShown: boolean;
70
71
  }>;
71
72
  export default _default;
72
- export declare class Tooltip {
73
- }
@@ -3,7 +3,6 @@ import {
3
3
  // AdlAccordion,
4
4
  // AdlAccordionItem,
5
5
  // AdlBadge,
6
- // AdlPageHeader,
7
6
  // AdlSegmentedControl,
8
7
  // AdlSegmentedOption,
9
8
  // AdlTab,
@@ -28,11 +27,13 @@ import {
28
27
  BentoDropdownCountry,
29
28
  BentoDropdownCurrency,
30
29
  BentoDropdownPaymentMethod,
30
+ // BentoHeader,
31
31
  BentoInfoIcon,
32
32
  BentoInputField,
33
33
  BentoLink,
34
34
  BentoLoadingButton,
35
35
  BentoLoadingIndicator,
36
+ BentoMenu,
36
37
  BentoPagination,
37
38
  BentoPaymentMethod,
38
39
  BentoPopover,
@@ -52,7 +53,6 @@ declare module 'vue' {
52
53
  // AdlAccordion: typeof AdlAccordion;
53
54
  // AdlAccordionItem: typeof AdlAccordionItem;
54
55
  // AdlBadge: typeof AdlBadge;
55
- // AdlPageHeader: typeof AdlPageHeader;
56
56
  // AdlSegmentedControl: typeof AdlSegmentedControl;
57
57
  // AdlSegmentedOption: typeof AdlSegmentedOption;
58
58
  // AdlTabs: typeof AdlTabs;
@@ -75,6 +75,7 @@ declare module 'vue' {
75
75
  BentoDropdown: typeof BentoDropdown;
76
76
  BentoDropdownAvatar: typeof BentoDropdownAvatar;
77
77
  BentoDropdownCountry: typeof BentoDropdownCountry;
78
+ // BentoHeader: typeof BentoHeader;
78
79
  BentoInfoIcon: typeof BentoInfoIcon;
79
80
  BentoDropdownCurrency: typeof BentoDropdownCurrency;
80
81
  BentoDropdownPaymentMethod: typeof BentoDropdownPaymentMethod;
@@ -82,6 +83,7 @@ declare module 'vue' {
82
83
  BentoLink: typeof BentoLink;
83
84
  BentoLoadingButton: typeof BentoLoadingButton;
84
85
  BentoLoadingIndicator: typeof BentoLoadingIndicator;
86
+ BentoMenu: typeof BentoMenu;
85
87
  BentoPagination: typeof BentoPagination;
86
88
  BentoPaymentMethod: typeof BentoPaymentMethod;
87
89
  BentoPopover: typeof BentoPopover;
@@ -1,7 +1,7 @@
1
- import type { ComputedRef, Ref } from 'vue';
2
- import type { Fn } from '@/types';
3
- import { BentoListboxMultiSelectValue, BentoListboxOptions } from '@/types';
4
- export declare const useCheckboxSelectAll: (selectedItemsList: Ref<BentoListboxMultiSelectValue>, items: ComputedRef<BentoListboxOptions>, selectAll: Fn, unselectAll: Fn) => {
1
+ import type { ComputedRef } from 'vue';
2
+ import type { BentoListboxMultiSelectValue, Fn } from '@/types';
3
+ import { BentoListboxOptions } from '@/types';
4
+ export declare const useCheckboxSelectAll: (selectedItemsList: ComputedRef<BentoListboxMultiSelectValue>, items: ComputedRef<BentoListboxOptions>, selectAll: Fn, unselectAll: Fn) => {
5
5
  isAllSelected: ComputedRef<boolean>;
6
6
  isIndeterminate: ComputedRef<boolean>;
7
7
  toggleSelectAll: (selectedValue: boolean) => void;
@@ -14,6 +14,7 @@ export * from './components/info-icon';
14
14
  export * from './components/input-field';
15
15
  export * from './components/loading-indicator';
16
16
  export * from './components/link';
17
+ export * from './components/menu';
17
18
  export * from './components/pagination';
18
19
  export * from './components/payment-method';
19
20
  export * from './components/popover';
@@ -2,5 +2,5 @@ import { CurrencyAmount, CurrencyOptions, NumberFormatOptionsResult } from './cu
2
2
  export declare const getExponent: (currencyCode: string) => number;
3
3
  export declare const getMinorUnitsAmount: (amount: CurrencyAmount) => number;
4
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;
5
+ export declare function getNumberFormatOptions(amount: CurrencyAmount, options?: CurrencyOptions, majorUnits?: boolean): NumberFormatOptionsResult;
6
+ export declare const getLocalizedCurrencyValue: (amountValue: string, currency: string, isShort?: boolean, majorUnits?: boolean) => string;