@adyen/bento-vue2 0.2.0 → 0.4.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 (90) hide show
  1. package/dist/@types/components/alert/alert.vue.d.ts +1 -1
  2. package/dist/@types/components/button/button.vue.d.ts +4 -1
  3. package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +1 -1
  4. package/dist/@types/components/card/card.vue.d.ts +20 -1
  5. package/dist/@types/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -1
  6. package/dist/@types/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
  7. package/dist/@types/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +1 -1
  8. package/dist/@types/components/country/country.vue.d.ts +1 -1
  9. package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +3 -3
  10. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -1
  11. package/dist/@types/components/data-grid/composables/useConfigSettings.d.ts +4 -4
  12. package/dist/@types/components/data-grid/data-grid.types.d.ts +16 -1
  13. package/dist/@types/components/data-grid/data-grid.vue.d.ts +18 -7
  14. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +5 -1
  15. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +15 -5
  16. package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +14 -5
  17. package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +9 -0
  18. package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +1 -1
  19. package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +14 -5
  20. package/dist/@types/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +2 -2
  21. package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
  22. package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +15 -6
  23. package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +13 -4
  24. package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
  25. package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +13 -4
  26. package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +6 -0
  27. package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +123 -0
  28. package/dist/@types/components/dropdown/dropdown.vue.d.ts +14 -4
  29. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +33 -7
  30. package/dist/@types/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +43 -0
  31. package/dist/@types/components/filter-bar/components/boolean-filter/index.d.ts +1 -0
  32. package/dist/@types/components/filter-bar/components/input-filter/index.d.ts +1 -0
  33. package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +42 -0
  34. package/dist/@types/components/filter-bar/components/select-filter/index.d.ts +1 -0
  35. package/dist/@types/components/filter-bar/components/{listbox-filter/listbox-filter.vue.d.ts → select-filter/select-filter.vue.d.ts} +9 -7
  36. package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/index.d.ts +1 -0
  37. package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +44 -0
  38. package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/index.d.ts +1 -0
  39. package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +52 -0
  40. package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/index.d.ts +1 -0
  41. package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +44 -0
  42. package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/index.d.ts +1 -0
  43. package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +44 -0
  44. package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/index.d.ts +1 -0
  45. package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +55 -0
  46. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +38 -8
  47. package/dist/@types/components/input-field/input-field.types.d.ts +2 -1
  48. package/dist/@types/components/input-field/input-field.vue.d.ts +1 -0
  49. package/dist/@types/components/internal/index.d.ts +1 -0
  50. package/dist/@types/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options.vue.d.ts +37 -0
  51. package/dist/@types/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +13 -1
  52. package/dist/@types/components/internal/listbox/components/listbox-option-tag/index.d.ts +1 -0
  53. package/dist/@types/components/internal/listbox/components/{listbox-option-currency/listbox-option-currency.vue.d.ts → listbox-option-tag/listbox-option-tag.vue.d.ts} +4 -2
  54. package/dist/@types/components/internal/listbox/index.d.ts +1 -1
  55. package/dist/@types/components/internal/listbox/listbox.vue.d.ts +12 -0
  56. package/dist/@types/components/payment-method/payment-method.vue.d.ts +1 -1
  57. package/dist/@types/components/popper-container/popper-container.utils.d.ts +1 -1
  58. package/dist/@types/components/radio-group/radio-group.vue.d.ts +9 -0
  59. package/dist/@types/components/search-bar/search-bar.vue.d.ts +1 -0
  60. package/dist/@types/components/tabs/components/tab.types.d.ts +5 -0
  61. package/dist/@types/components/tabs/components/tab.vue.d.ts +3 -37
  62. package/dist/@types/components/tabs/index.d.ts +2 -3
  63. package/dist/@types/components/tabs/tabs.keys.d.ts +2 -1
  64. package/dist/@types/components/tabs/tabs.types.d.ts +4 -9
  65. package/dist/@types/components/tabs/tabs.utils.d.ts +3 -0
  66. package/dist/@types/components/tabs/tabs.vue.d.ts +13 -16
  67. package/dist/@types/components/toast/components/toast-item/toast-item.vue.d.ts +1 -0
  68. package/dist/@types/components/toast/index.d.ts +1 -1
  69. package/dist/@types/components.d.ts +2 -2
  70. package/dist/@types/composables/initials.d.ts +1 -1
  71. package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +2 -2
  72. package/dist/@types/composables/useDynamicImport.d.ts +1 -1
  73. package/dist/@types/directives/click-outside/on-click-outside.d.ts +1 -1
  74. package/dist/@types/directives/click-outside/useEventListener/index.d.ts +1 -1
  75. package/dist/@types/directives/click-outside/utils.d.ts +1 -1
  76. package/dist/@types/directives/tooltip/tooltip.types.d.ts +1 -1
  77. package/dist/@types/index.d.ts +1 -1
  78. package/dist/@types/plugins/toastController.d.ts +1 -1
  79. package/dist/@types/types/listbox.d.ts +1 -1
  80. package/dist/@types/utils/ts/aria-label.d.ts +1 -1
  81. package/dist/@types/utils/ts/events.d.ts +1 -1
  82. package/dist/index.js +4302 -3581
  83. package/dist/index.js.map +1 -1
  84. package/package.json +5 -5
  85. package/dist/@types/components/filter-bar/components/listbox-filter/index.d.ts +0 -1
  86. package/dist/@types/components/filter-bar/components/text-filter/index.d.ts +0 -1
  87. package/dist/@types/components/internal/listbox/components/listbox-option-currency/index.d.ts +0 -1
  88. /package/dist/@types/components/filter-bar/components/{text-filter/text-filter.vue.d.ts → input-filter/input-filter.vue.d.ts} +0 -0
  89. /package/dist/@types/components/{avatar → internal/avatar}/avatar.vue.d.ts +0 -0
  90. /package/dist/@types/components/{avatar → internal/avatar}/index.d.ts +0 -0
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  BentoAlertSeverityOption: typeof BentoAlertSeverityOption;
27
27
  BentoTypographyVariant: typeof BentoTypographyVariant;
28
28
  BentoTypographyElement: typeof BentoTypographyElement;
29
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "close-alert"[], string, Readonly<import("vue").ExtractPropTypes<{
29
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "close-alert"[], string, Readonly<import("vue").ExtractPropTypes<{
30
30
  severity: {
31
31
  type: PropType<BentoAlertSeverityOption>;
32
32
  default: BentoAlertSeverityOption;
@@ -1,6 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { BentoButtonVariant } from './button.types';
3
3
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
+ import { Booleanish } from '@/types';
4
5
  declare const _default: import("vue").DefineComponent<{
5
6
  disabled: {
6
7
  type: BooleanConstructor;
@@ -26,7 +27,9 @@ declare const _default: import("vue").DefineComponent<{
26
27
  }, {
27
28
  BentoTypographyElement: typeof BentoTypographyElement;
28
29
  BentoTypographyVariant: typeof BentoTypographyVariant;
29
- ariaLabel: import("vue").ComputedRef<string>;
30
+ ariaAttributes: import("vue").ComputedRef<{
31
+ 'aria-expanded': Booleanish;
32
+ }>;
30
33
  conditionalClasses: import("vue").ComputedRef<{
31
34
  [x: string]: boolean;
32
35
  }>;
@@ -1,4 +1,4 @@
1
- import type { VueNodeElement } from '../../../../types';
1
+ import type { VueNodeElement } from '@/types';
2
2
  export interface BentoButtonActionObject {
3
3
  title: string;
4
4
  event: (event: Event) => void;
@@ -11,6 +11,10 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
+ closed: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
14
18
  disabled: {
15
19
  type: BooleanConstructor;
16
20
  default: boolean;
@@ -33,13 +37,23 @@ declare const _default: import("vue").DefineComponent<{
33
37
  }>;
34
38
  cardBodyConditionalClasses: import("vue").ComputedRef<{
35
39
  'b-card__body--expandable': boolean;
40
+ 'b-card__body--without-header': boolean;
36
41
  }>;
37
42
  cardHeaderConditionalClasses: import("vue").ComputedRef<{
38
- 'b-card__header--with-body': boolean;
43
+ 'b-card__header--expandable': boolean;
44
+ 'b-card__header--without-body': boolean;
45
+ }>;
46
+ cardContentConditionalClasses: import("vue").ComputedRef<{
47
+ 'b-card__content--without-header': boolean;
48
+ 'b-card__content--expandable': boolean;
49
+ }>;
50
+ cardActionsConditionalClasses: import("vue").ComputedRef<{
51
+ 'b-card__actions--without-content': boolean;
39
52
  }>;
40
53
  showCardBody: import("vue").ComputedRef<boolean>;
41
54
  showContent: import("vue").Ref<boolean>;
42
55
  tabIndex: import("vue").ComputedRef<0 | -1>;
56
+ showHeader: import("vue").ComputedRef<boolean>;
43
57
  onClick: () => void;
44
58
  toggleExpansion: () => void;
45
59
  hasSlot: (name: string) => boolean;
@@ -54,6 +68,10 @@ declare const _default: import("vue").DefineComponent<{
54
68
  type: BooleanConstructor;
55
69
  default: boolean;
56
70
  };
71
+ closed: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
57
75
  disabled: {
58
76
  type: BooleanConstructor;
59
77
  default: boolean;
@@ -68,6 +86,7 @@ declare const _default: import("vue").DefineComponent<{
68
86
  validator: (value: BentoButtonActionsLayout) => boolean;
69
87
  };
70
88
  }>>, {
89
+ closed: boolean;
71
90
  background: BentoCardBackground;
72
91
  disabled: boolean;
73
92
  actions: BentoButtonActionsList;
@@ -1,4 +1,4 @@
1
- import { MaybeRef } from '../../../../types';
1
+ import { MaybeRef } from '@/types';
2
2
  import VueI18n from 'vue-i18n';
3
3
  export declare const useCountryCapital: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("vue").ComputedRef<VueI18n.TranslateResult>;
4
4
  export default useCountryCapital;
@@ -1,2 +1,2 @@
1
- import { MaybeRef } from '../../../../types';
1
+ import { MaybeRef } from '@/types';
2
2
  export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("vue").ComputedRef<string>;
@@ -1,3 +1,3 @@
1
- import { MaybeRef } from '../../../../types';
1
+ import { MaybeRef } from '@/types';
2
2
  export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => import("vue").ComputedRef<any>;
3
3
  export default useCountryPhoneCode;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { BentoTypographyElement } from '../typography';
2
+ import { BentoTypographyElement } from '@/components/typography';
3
3
  import { BentoCountryCode, BentoCountryVariant } from './country.types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  code: {
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
- import { BentoButtonVariant } from '../../../button';
3
- import { BentoTypographyElement, BentoTypographyVariant } from '../../../typography';
4
- import { AdlLabelPosition } from '../../../../types';
2
+ import { BentoButtonVariant } from '@/components/button';
3
+ import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
+ import { AdlLabelPosition } from '@/types';
5
5
  import { BentoColumn } from '../../data-grid.types';
6
6
  declare const _default: import("vue").DefineComponent<{
7
7
  columns: {
@@ -1,6 +1,6 @@
1
1
  import { BentoColumn, BentoColumnWidthOverridesLookup } from '../../data-grid.types';
2
2
  import { CalculateColumnWidthOptions } from './useCalculateColumnWidth.types';
3
- import { MaybeRef } from '../../../../types';
3
+ import { MaybeRef } from '@/types';
4
4
  export declare const DEFAULT_COLUMN_WIDTH = 100;
5
5
  export declare const DEFAULT_COLUMN_MIN_WIDTH = 50;
6
6
  export declare const DATAGRID_SELECT_FIELD_NAME = "b-select";
@@ -1,7 +1,7 @@
1
- import { MaybeRef } from '../../../types';
1
+ import { MaybeRef } from '@/types';
2
2
  import { BentoColumn } from '../data-grid.types';
3
- export declare const useConfigSettings: (condensed: MaybeRef<boolean>, columnsRef: MaybeRef<BentoColumn[]>, emit: (event: string, columns: BentoColumn[]) => void) => {
4
- compactView: import("vue").Ref<boolean>;
5
- onConfigSettingsUpdate: (isCompactView: boolean) => boolean;
3
+ import type { EmitFn } from 'vue/types/v3-setup-context';
4
+ export declare const useConfigSettings: (columnsRef: MaybeRef<BentoColumn[]>, emit: EmitFn) => {
5
+ onConfigSettingsUpdate: (isCompactView: boolean) => void;
6
6
  onColumnVisibiltyChange: (columnIndexes: string[]) => void;
7
7
  };
@@ -1,4 +1,4 @@
1
- import { BentoPagination } from '../pagination';
1
+ import { BentoPagination } from '@/components/pagination';
2
2
  export declare enum BentoColumnOverflow {
3
3
  WRAP = "wrap",
4
4
  ELLIPSIS = "ellipsis"
@@ -50,3 +50,18 @@ export interface BentoDatagridAllItemsSelectedState {
50
50
  allItemsSelected: boolean;
51
51
  isIndeterminate: boolean;
52
52
  }
53
+ export declare enum BentoDatagridEvent {
54
+ COLUMN_RESIZE = "column-resize",
55
+ SORT = "sort",
56
+ SELECT = "select",
57
+ NAVIGATE = "navigate",
58
+ UPDATE_FILERS = "update:filters",
59
+ ITEMS_PAGE = "items-page",
60
+ UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term",
61
+ FILTER_SEARCH_INPUT = "filter-search-input",
62
+ FILTER_SEARCH_CLEAR = "filter-search-clear",
63
+ COLUMNS = "columns",
64
+ UPDATE_COLUMNS = "update:columns",
65
+ ROW_CLICK = "row-click",
66
+ UPDATE_CONDENSED = "update:condensed"
67
+ }
@@ -1,7 +1,11 @@
1
1
  import { PropType } from 'vue';
2
- import { BentoColumn, BentoColumnOverflow, BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from './data-grid.types';
2
+ import { BentoColumn, BentoColumnOverflow, BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridEvent, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from './data-grid.types';
3
3
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
4
  declare const _default: import("vue").DefineComponent<{
5
+ allowRowClicks: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ };
5
9
  condensed: {
6
10
  type: BooleanConstructor;
7
11
  default: boolean;
@@ -19,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
19
23
  required: true;
20
24
  };
21
25
  filters: {
22
- type: PropType<import("../filter-bar").BentoFilterBarModel>;
26
+ type: PropType<import("@/components/filter-bar").BentoFilterBarModel>;
23
27
  default: any;
24
28
  };
25
29
  filterSearchTerm: {
@@ -159,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
159
163
  }>;
160
164
  conditionalRowClasses: (row: BentoDatagridDataItem) => {
161
165
  'b-data-grid__row--disabled': boolean;
166
+ 'b-data-grid__row--row-clicks-enabled': boolean;
162
167
  };
163
168
  conditionalRowCellClasses: (column: BentoColumn) => {
164
169
  [x: string]: boolean;
@@ -186,17 +191,22 @@ declare const _default: import("vue").DefineComponent<{
186
191
  onAllRowSelect: (allItemsSelected: boolean) => void;
187
192
  onRowSelect: () => void;
188
193
  DATAGRID_SELECT_FIELD_NAME: string;
189
- compactView: import("vue").Ref<boolean>;
190
- onConfigSettingsUpdate: (isCompactView: boolean) => boolean;
194
+ onRowClick: (row: BentoDatagridDataItem, event: MouseEvent) => void;
195
+ onConfigSettingsUpdate: (isCompactView: boolean) => void;
191
196
  onColumnVisibiltyChange: (columnIndexes: string[]) => void;
192
197
  BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
193
198
  BentoTypographyElement: typeof BentoTypographyElement;
194
199
  BentoTypographyVariant: typeof BentoTypographyVariant;
200
+ BentoDatagridEvent: typeof BentoDatagridEvent;
195
201
  onPaginationNavigate: (page: number) => void;
196
202
  onItemsPerPageChange: (itemsPerPage: number) => void;
197
203
  onSearchTermCleared: () => void;
198
204
  onSearchTermInput: (newSearchTerm: any) => void;
199
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("sort" | "navigate" | "select" | "items-page" | "column-resize" | "update:filters" | "update:filter-search-term" | "filter-search-input" | "filter-search-clear")[], string, Readonly<import("vue").ExtractPropTypes<{
205
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoDatagridEvent.COLUMN_RESIZE | BentoDatagridEvent.SORT | BentoDatagridEvent.SELECT | BentoDatagridEvent.NAVIGATE | BentoDatagridEvent.UPDATE_FILERS | BentoDatagridEvent.ITEMS_PAGE | BentoDatagridEvent.UPDATE_FILTER_SEARCH_TERM | BentoDatagridEvent.FILTER_SEARCH_INPUT | BentoDatagridEvent.FILTER_SEARCH_CLEAR | BentoDatagridEvent.COLUMNS | BentoDatagridEvent.UPDATE_COLUMNS | BentoDatagridEvent.ROW_CLICK)[], string, Readonly<import("vue").ExtractPropTypes<{
206
+ allowRowClicks: {
207
+ type: BooleanConstructor;
208
+ default: boolean;
209
+ };
200
210
  condensed: {
201
211
  type: BooleanConstructor;
202
212
  default: boolean;
@@ -214,7 +224,7 @@ declare const _default: import("vue").DefineComponent<{
214
224
  required: true;
215
225
  };
216
226
  filters: {
217
- type: PropType<import("../filter-bar").BentoFilterBarModel>;
227
+ type: PropType<import("@/components/filter-bar").BentoFilterBarModel>;
218
228
  default: any;
219
229
  };
220
230
  filterSearchTerm: {
@@ -326,9 +336,10 @@ declare const _default: import("vue").DefineComponent<{
326
336
  outline: boolean;
327
337
  loading: boolean;
328
338
  condensed: boolean;
329
- filters: import("../filter-bar").BentoFilterBarModel;
339
+ filters: import("@/components/filter-bar").BentoFilterBarModel;
330
340
  hasResizableColumns: boolean;
331
341
  sortBy: BentoDatagridSortByColumn[];
342
+ allowRowClicks: boolean;
332
343
  columnPanel: boolean;
333
344
  filterSearchTerm: string;
334
345
  getDataItemId: BentoDatagridGetDataItemIdFn;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { Booleanish } from '../../../../types';
2
+ import { Booleanish } from '@/types';
3
3
  export declare const DropdownBaseTextboxProps: {
4
4
  additionalItemsSelected: {
5
5
  type: NumberConstructor;
@@ -46,4 +46,8 @@ export declare const DropdownBaseTextboxProps: {
46
46
  default: number;
47
47
  };
48
48
  };
49
+ export declare enum DropdownBaseTextboxState {
50
+ DISABLED = "disabled",
51
+ HAS_ITEMS = "has-items"
52
+ }
49
53
  export default DropdownBaseTextboxProps;
@@ -52,9 +52,13 @@ declare const _default: import("vue").DefineComponent<{
52
52
  default: string;
53
53
  };
54
54
  selectedValueItem: {
55
- type: PropType<BentoListboxOptionItem>;
55
+ type: PropType<BentoListboxOptionItem | BentoListboxOptionItem[]>;
56
56
  default: any;
57
57
  };
58
+ showSlotContentInMultiple: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
58
62
  multiple: {
59
63
  type: BooleanConstructor;
60
64
  default: boolean;
@@ -63,19 +67,20 @@ declare const _default: import("vue").DefineComponent<{
63
67
  BentoTypographyElement: typeof BentoTypographyElement;
64
68
  BentoTypographyVariant: typeof BentoTypographyVariant;
65
69
  conditionalClasses: import("vue").ComputedRef<{
66
- 'b-dropdown-base-textbox--disabled': boolean;
70
+ [x: string]: boolean;
67
71
  }>;
68
72
  textboxId: string;
69
73
  textbox: any;
70
74
  isFiltering: import("vue").ComputedRef<boolean>;
71
75
  ariaAttributes: import("vue").ComputedRef<HTMLAttributes>;
76
+ selectedValueItems: import("vue").ComputedRef<BentoListboxOptionItem[]>;
72
77
  onCloseDropdown: () => void;
73
78
  onToggleDropdown: () => void;
74
79
  onClearSearch: () => void;
75
80
  onInputEvent: (event: Event) => void;
76
81
  onSpaceBar: () => void;
77
82
  hasSlot: (name: string) => boolean;
78
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
83
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
79
84
  additionalItemsSelected: {
80
85
  type: NumberConstructor;
81
86
  default: number;
@@ -125,9 +130,13 @@ declare const _default: import("vue").DefineComponent<{
125
130
  default: string;
126
131
  };
127
132
  selectedValueItem: {
128
- type: PropType<BentoListboxOptionItem>;
133
+ type: PropType<BentoListboxOptionItem | BentoListboxOptionItem[]>;
129
134
  default: any;
130
135
  };
136
+ showSlotContentInMultiple: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
131
140
  multiple: {
132
141
  type: BooleanConstructor;
133
142
  default: boolean;
@@ -144,6 +153,7 @@ declare const _default: import("vue").DefineComponent<{
144
153
  displayValue: string;
145
154
  dynamicFiltering: boolean;
146
155
  isInvalid: boolean;
147
- selectedValueItem: BentoListboxOptionItem;
156
+ selectedValueItem: BentoListboxOptionItem | BentoListboxOptionItem[];
157
+ showSlotContentInMultiple: boolean;
148
158
  }>;
149
159
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import type { BentoListboxOptionItem } from '@/types';
3
- import { Booleanish } from '../../../../types';
3
+ import { Booleanish } from '@/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  additionalItemsSelected: {
6
6
  type: NumberConstructor;
@@ -47,9 +47,13 @@ declare const _default: import("vue").DefineComponent<{
47
47
  default: boolean;
48
48
  };
49
49
  selectedValueItem: {
50
- type: PropType<BentoListboxOptionItem>;
50
+ type: PropType<BentoListboxOptionItem | BentoListboxOptionItem[]>;
51
51
  default: any;
52
52
  };
53
+ showSlotContentInMultiple: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
53
57
  value: {
54
58
  type: StringConstructor;
55
59
  default: string;
@@ -65,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
65
69
  'b-dropdown-default-textbox--opened': boolean;
66
70
  }>;
67
71
  isDropdownOpen: import("vue").ComputedRef<boolean>;
68
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
72
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
69
73
  additionalItemsSelected: {
70
74
  type: NumberConstructor;
71
75
  default: number;
@@ -111,9 +115,13 @@ declare const _default: import("vue").DefineComponent<{
111
115
  default: boolean;
112
116
  };
113
117
  selectedValueItem: {
114
- type: PropType<BentoListboxOptionItem>;
118
+ type: PropType<BentoListboxOptionItem | BentoListboxOptionItem[]>;
115
119
  default: any;
116
120
  };
121
+ showSlotContentInMultiple: {
122
+ type: BooleanConstructor;
123
+ default: boolean;
124
+ };
117
125
  value: {
118
126
  type: StringConstructor;
119
127
  default: string;
@@ -134,6 +142,7 @@ declare const _default: import("vue").DefineComponent<{
134
142
  displayValue: string;
135
143
  dynamicFiltering: boolean;
136
144
  isInvalid: boolean;
137
- selectedValueItem: BentoListboxOptionItem;
145
+ selectedValueItem: BentoListboxOptionItem | BentoListboxOptionItem[];
146
+ showSlotContentInMultiple: boolean;
138
147
  }>;
139
148
  export default _default;
@@ -33,6 +33,10 @@ declare const _default: import("vue").DefineComponent<{
33
33
  type: PropType<BentoListboxSelectedValue>;
34
34
  default: any;
35
35
  };
36
+ searching: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
36
40
  targetElement: {
37
41
  type: PropType<import("@/types").VueNodeElement>;
38
42
  required: true;
@@ -90,6 +94,10 @@ declare const _default: import("vue").DefineComponent<{
90
94
  type: PropType<BentoListboxSelectedValue>;
91
95
  default: any;
92
96
  };
97
+ searching: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
93
101
  targetElement: {
94
102
  type: PropType<import("@/types").VueNodeElement>;
95
103
  required: true;
@@ -99,6 +107,7 @@ declare const _default: import("vue").DefineComponent<{
99
107
  disabled: boolean;
100
108
  multiple: boolean;
101
109
  isOptionDisabled: BentoListboxIsOptionDisabled;
110
+ searching: boolean;
102
111
  selectedValue: BentoListboxSelectedValue;
103
112
  }>;
104
113
  export default _default;
@@ -1,4 +1,4 @@
1
- import { BentoListboxOptionItem } from '../../../../../types';
1
+ import { BentoListboxOptionItem } from '@/types';
2
2
  export type BentoAvatarListboxOptionItem = Omit<BentoListboxOptionItem, 'data'> & {
3
3
  src?: string;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { BentoListboxSelectedValue } from '../../../../../types';
2
+ import { BentoListboxSelectedValue } from '@/types';
3
3
  import { BentoAvatarListboxOptions } from './dropdown-avatar.types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  items: {
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  default: any;
28
28
  };
29
29
  isOptionDisabled: {
30
- type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
30
+ type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
31
31
  default: any;
32
32
  };
33
33
  multiple: {
@@ -42,13 +42,17 @@ declare const _default: import("vue").DefineComponent<{
42
42
  type: BooleanConstructor;
43
43
  default: boolean;
44
44
  };
45
+ showSlotContentInMultiple: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
45
49
  value: {
46
50
  type: PropType<BentoListboxSelectedValue>;
47
51
  default: any;
48
52
  };
49
53
  }, {
50
54
  dropdownItems: import("vue").ComputedRef<{
51
- value: import("../../../../../types").BentoListboxValue;
55
+ value: import("@/types").BentoListboxValue;
52
56
  label: string;
53
57
  data: string;
54
58
  }[]>;
@@ -79,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
79
83
  default: any;
80
84
  };
81
85
  isOptionDisabled: {
82
- type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
86
+ type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
83
87
  default: any;
84
88
  };
85
89
  multiple: {
@@ -94,6 +98,10 @@ declare const _default: import("vue").DefineComponent<{
94
98
  type: BooleanConstructor;
95
99
  default: boolean;
96
100
  };
101
+ showSlotContentInMultiple: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
97
105
  value: {
98
106
  type: PropType<BentoListboxSelectedValue>;
99
107
  default: any;
@@ -108,7 +116,8 @@ declare const _default: import("vue").DefineComponent<{
108
116
  multiple: boolean;
109
117
  description: string;
110
118
  items: BentoAvatarListboxOptions;
111
- isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
119
+ isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
112
120
  dynamicFiltering: boolean;
121
+ showSlotContentInMultiple: boolean;
113
122
  }>;
114
123
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
- import { BentoCountryVariant } from '../../../../../country';
2
+ import { BentoCountryVariant } from '@/components/country';
3
3
  import { BentoCountryListboxOptions } from '../dropdown-country.types';
4
- import { BentoListboxOptions } from '../../../../../../types';
4
+ import { BentoListboxOptions } from '@/types';
5
5
  export declare const useCountryItems: (variant: Ref<BentoCountryVariant>, items: Ref<BentoCountryListboxOptions>) => ComputedRef<BentoListboxOptions>;
@@ -1,5 +1,5 @@
1
- import { BentoListboxOptionItem, OmitStrict } from '../../../../../types';
2
- import { BentoCountryCode } from '../../../../country';
1
+ import { BentoListboxOptionItem, OmitStrict } from '@/types';
2
+ import { BentoCountryCode } from '@/components/country';
3
3
  export type BentoCountryListboxOptionItem = OmitStrict<BentoListboxOptionItem, 'value' | 'label'> & {
4
4
  value: BentoCountryCode;
5
5
  label?: string;
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { BentoCountryListboxOptions } from './dropdown-country.types';
3
- import { BentoListboxSelectedValue } from '../../../../../types';
4
- import { BentoCountryVariant } from '../../../../country';
3
+ import { BentoListboxSelectedValue } from '@/types';
4
+ import { BentoCountryVariant } from '@/components/country';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  items: {
7
7
  type: PropType<BentoCountryListboxOptions>;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  default: any;
34
34
  };
35
35
  isOptionDisabled: {
36
- type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
36
+ type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
37
37
  default: any;
38
38
  };
39
39
  multiple: {
@@ -48,12 +48,16 @@ declare const _default: import("vue").DefineComponent<{
48
48
  type: BooleanConstructor;
49
49
  default: boolean;
50
50
  };
51
+ showSlotContentInMultiple: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
51
55
  value: {
52
56
  type: PropType<BentoListboxSelectedValue>;
53
57
  default: any;
54
58
  };
55
59
  }, {
56
- countryItems: import("vue").ComputedRef<import("../../../../../types").BentoListboxOptions>;
60
+ countryItems: import("vue").ComputedRef<import("@/types").BentoListboxOptions>;
57
61
  onInput: (selectedValue: BentoListboxSelectedValue) => void;
58
62
  BentoCountryVariant: typeof BentoCountryVariant;
59
63
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
@@ -87,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
87
91
  default: any;
88
92
  };
89
93
  isOptionDisabled: {
90
- type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
94
+ type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
91
95
  default: any;
92
96
  };
93
97
  multiple: {
@@ -102,6 +106,10 @@ declare const _default: import("vue").DefineComponent<{
102
106
  type: BooleanConstructor;
103
107
  default: boolean;
104
108
  };
109
+ showSlotContentInMultiple: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
105
113
  value: {
106
114
  type: PropType<BentoListboxSelectedValue>;
107
115
  default: any;
@@ -117,7 +125,8 @@ declare const _default: import("vue").DefineComponent<{
117
125
  description: string;
118
126
  variant: BentoCountryVariant;
119
127
  items: BentoCountryListboxOptions;
120
- isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
128
+ isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
121
129
  dynamicFiltering: boolean;
130
+ showSlotContentInMultiple: boolean;
122
131
  }>;
123
132
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';
3
- import type { BentoListboxSelectedValue } from '../../../../../types';
3
+ import type { BentoListboxSelectedValue } from '@/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  items: {
6
6
  type: PropType<BentoCurrencyListboxOptions>;
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  default: any;
28
28
  };
29
29
  isOptionDisabled: {
30
- type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
30
+ type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
31
31
  default: any;
32
32
  };
33
33
  multiple: {
@@ -42,6 +42,10 @@ declare const _default: import("vue").DefineComponent<{
42
42
  type: BooleanConstructor;
43
43
  default: boolean;
44
44
  };
45
+ showSlotContentInMultiple: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
45
49
  value: {
46
50
  type: PropType<BentoListboxSelectedValue>;
47
51
  default: any;
@@ -74,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
74
78
  default: any;
75
79
  };
76
80
  isOptionDisabled: {
77
- type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
81
+ type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
78
82
  default: any;
79
83
  };
80
84
  multiple: {
@@ -89,6 +93,10 @@ declare const _default: import("vue").DefineComponent<{
89
93
  type: BooleanConstructor;
90
94
  default: boolean;
91
95
  };
96
+ showSlotContentInMultiple: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
92
100
  value: {
93
101
  type: PropType<BentoListboxSelectedValue>;
94
102
  default: any;
@@ -103,7 +111,8 @@ declare const _default: import("vue").DefineComponent<{
103
111
  multiple: boolean;
104
112
  description: string;
105
113
  items: BentoCurrencyListboxOptions;
106
- isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
114
+ isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
107
115
  dynamicFiltering: boolean;
116
+ showSlotContentInMultiple: boolean;
108
117
  }>;
109
118
  export default _default;
@@ -1,5 +1,5 @@
1
- import { BentoListboxOptionItem, OmitStrict } from '../../../../../types';
2
- import { BentoPaymentMethodType } from '../../../../payment-method';
1
+ import { BentoListboxOptionItem, OmitStrict } from '@/types';
2
+ import { BentoPaymentMethodType } from '@/components/payment-method';
3
3
  export type BentoPaymentMethodListboxOptionItem = OmitStrict<BentoListboxOptionItem, 'value'> & {
4
4
  value: BentoPaymentMethodType;
5
5
  };