@adyen/bento-vue2 0.2.0 → 0.3.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 (45) hide show
  1. package/dist/@types/components/button/button.vue.d.ts +4 -1
  2. package/dist/@types/components/data-grid/data-grid.types.d.ts +14 -0
  3. package/dist/@types/components/data-grid/data-grid.vue.d.ts +14 -2
  4. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +4 -0
  5. package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +15 -5
  6. package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +12 -3
  7. package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
  8. package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
  9. package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
  10. package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
  11. package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +6 -0
  12. package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +123 -0
  13. package/dist/@types/components/dropdown/dropdown.vue.d.ts +12 -3
  14. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +33 -7
  15. package/dist/@types/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +43 -0
  16. package/dist/@types/components/filter-bar/components/boolean-filter/index.d.ts +1 -0
  17. package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +42 -0
  18. package/dist/@types/components/filter-bar/components/select-filter/index.d.ts +1 -0
  19. package/dist/@types/components/filter-bar/components/{listbox-filter/listbox-filter.vue.d.ts → select-filter/select-filter.vue.d.ts} +9 -7
  20. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +8 -5
  21. package/dist/@types/components/input-field/input-field.types.d.ts +2 -1
  22. package/dist/@types/components/input-field/input-field.vue.d.ts +1 -0
  23. package/dist/@types/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
  24. package/dist/@types/components/internal/listbox/components/listbox-option-tag/index.d.ts +1 -0
  25. 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} +2 -0
  26. package/dist/@types/components/internal/listbox/index.d.ts +1 -1
  27. package/dist/@types/components/internal/listbox/listbox.vue.d.ts +9 -0
  28. package/dist/@types/components/radio-group/radio-group.vue.d.ts +9 -0
  29. package/dist/@types/components/search-bar/search-bar.vue.d.ts +1 -0
  30. package/dist/@types/components/tabs/components/tab.types.d.ts +5 -0
  31. package/dist/@types/components/tabs/components/tab.vue.d.ts +3 -37
  32. package/dist/@types/components/tabs/index.d.ts +2 -3
  33. package/dist/@types/components/tabs/tabs.keys.d.ts +2 -1
  34. package/dist/@types/components/tabs/tabs.types.d.ts +4 -9
  35. package/dist/@types/components/tabs/tabs.utils.d.ts +3 -0
  36. package/dist/@types/components/tabs/tabs.vue.d.ts +13 -16
  37. package/dist/@types/components/toast/components/toast-item/toast-item.vue.d.ts +1 -0
  38. package/dist/@types/components/toast/index.d.ts +1 -1
  39. package/dist/@types/components.d.ts +2 -0
  40. package/dist/@types/index.d.ts +1 -0
  41. package/dist/index.js +3382 -3028
  42. package/dist/index.js.map +1 -1
  43. package/package.json +3 -3
  44. package/dist/@types/components/filter-bar/components/listbox-filter/index.d.ts +0 -1
  45. package/dist/@types/components/internal/listbox/components/listbox-option-currency/index.d.ts +0 -1
@@ -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
  }>;
@@ -50,3 +50,17 @@ 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
+ }
@@ -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;
@@ -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,23 @@ declare const _default: import("vue").DefineComponent<{
186
191
  onAllRowSelect: (allItemsSelected: boolean) => void;
187
192
  onRowSelect: () => void;
188
193
  DATAGRID_SELECT_FIELD_NAME: string;
194
+ onRowClick: (row: BentoDatagridDataItem, event: MouseEvent) => void;
189
195
  compactView: import("vue").Ref<boolean>;
190
196
  onConfigSettingsUpdate: (isCompactView: boolean) => boolean;
191
197
  onColumnVisibiltyChange: (columnIndexes: string[]) => void;
192
198
  BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
193
199
  BentoTypographyElement: typeof BentoTypographyElement;
194
200
  BentoTypographyVariant: typeof BentoTypographyVariant;
201
+ BentoDatagridEvent: typeof BentoDatagridEvent;
195
202
  onPaginationNavigate: (page: number) => void;
196
203
  onItemsPerPageChange: (itemsPerPage: number) => void;
197
204
  onSearchTermCleared: () => void;
198
205
  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<{
206
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoDatagridEvent[], string, Readonly<import("vue").ExtractPropTypes<{
207
+ allowRowClicks: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
200
211
  condensed: {
201
212
  type: BooleanConstructor;
202
213
  default: boolean;
@@ -329,6 +340,7 @@ declare const _default: import("vue").DefineComponent<{
329
340
  filters: import("../filter-bar").BentoFilterBarModel;
330
341
  hasResizableColumns: boolean;
331
342
  sortBy: BentoDatagridSortByColumn[];
343
+ allowRowClicks: boolean;
332
344
  columnPanel: boolean;
333
345
  filterSearchTerm: string;
334
346
  getDataItemId: BentoDatagridGetDataItemIdFn;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -110,5 +118,6 @@ declare const _default: import("vue").DefineComponent<{
110
118
  items: BentoAvatarListboxOptions;
111
119
  isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
112
120
  dynamicFiltering: boolean;
121
+ showSlotContentInMultiple: boolean;
113
122
  }>;
114
123
  export default _default;
@@ -48,6 +48,10 @@ 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;
@@ -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;
@@ -119,5 +127,6 @@ declare const _default: import("vue").DefineComponent<{
119
127
  items: BentoCountryListboxOptions;
120
128
  isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
121
129
  dynamicFiltering: boolean;
130
+ showSlotContentInMultiple: boolean;
122
131
  }>;
123
132
  export default _default;
@@ -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;
@@ -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;
@@ -105,5 +113,6 @@ declare const _default: import("vue").DefineComponent<{
105
113
  items: BentoCurrencyListboxOptions;
106
114
  isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
107
115
  dynamicFiltering: boolean;
116
+ showSlotContentInMultiple: boolean;
108
117
  }>;
109
118
  export default _default;
@@ -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;
@@ -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;
@@ -105,5 +113,6 @@ declare const _default: import("vue").DefineComponent<{
105
113
  items: BentoPaymentMethodListboxOptions;
106
114
  isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
107
115
  dynamicFiltering: boolean;
116
+ showSlotContentInMultiple: boolean;
108
117
  }>;
109
118
  export default _default;
@@ -0,0 +1,6 @@
1
+ import { BentoListboxOptionItem, OmitStrict } from '@/types';
2
+ import { BentoTagVariant } from '../../../../tag';
3
+ export type BentoTagListboxOptionItem = OmitStrict<BentoListboxOptionItem, 'data'> & {
4
+ variant: BentoTagVariant;
5
+ };
6
+ export type BentoTagListboxOptions = BentoTagListboxOptionItem[];
@@ -0,0 +1,123 @@
1
+ import { PropType } from 'vue';
2
+ import type { BentoTagListboxOptions } from './dropdown-tag.types';
3
+ import type { BentoListboxSelectedValue } from '../../../../../types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ items: {
6
+ type: PropType<BentoTagListboxOptions>;
7
+ default: () => any[];
8
+ };
9
+ ariaLabel: {
10
+ type: StringConstructor;
11
+ default: any;
12
+ };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ dynamicFiltering: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ label: {
22
+ type: StringConstructor;
23
+ default: any;
24
+ };
25
+ description: {
26
+ type: StringConstructor;
27
+ default: any;
28
+ };
29
+ isOptionDisabled: {
30
+ type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
31
+ default: any;
32
+ };
33
+ multiple: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ optional: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ required: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ showSlotContentInMultiple: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ value: {
50
+ type: PropType<BentoListboxSelectedValue>;
51
+ default: any;
52
+ };
53
+ }, {
54
+ tagItems: import("vue").ComputedRef<{
55
+ label: string;
56
+ value: import("../../../../../types").BentoListboxValue;
57
+ data: import("../../../../tag").BentoTagVariant;
58
+ }[]>;
59
+ onInput: (selectedValue: BentoListboxSelectedValue) => void;
60
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
61
+ items: {
62
+ type: PropType<BentoTagListboxOptions>;
63
+ default: () => any[];
64
+ };
65
+ ariaLabel: {
66
+ type: StringConstructor;
67
+ default: any;
68
+ };
69
+ disabled: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ dynamicFiltering: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ label: {
78
+ type: StringConstructor;
79
+ default: any;
80
+ };
81
+ description: {
82
+ type: StringConstructor;
83
+ default: any;
84
+ };
85
+ isOptionDisabled: {
86
+ type: PropType<import("../../../../../types").BentoListboxIsOptionDisabled>;
87
+ default: any;
88
+ };
89
+ multiple: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ optional: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ required: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ showSlotContentInMultiple: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ value: {
106
+ type: PropType<BentoListboxSelectedValue>;
107
+ default: any;
108
+ };
109
+ }>>, {
110
+ required: boolean;
111
+ optional: boolean;
112
+ value: BentoListboxSelectedValue;
113
+ label: string;
114
+ ariaLabel: string;
115
+ disabled: boolean;
116
+ multiple: boolean;
117
+ description: string;
118
+ items: BentoTagListboxOptions;
119
+ isOptionDisabled: import("../../../../../types").BentoListboxIsOptionDisabled;
120
+ dynamicFiltering: boolean;
121
+ showSlotContentInMultiple: boolean;
122
+ }>;
123
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import type { BentoListboxIsOptionDisabled, BentoListboxOptionItem, BentoListboxOptions, BentoListboxSelectedValue } from '@/types';
2
+ import type { BentoListboxIsOptionDisabled, BentoListboxOptions, BentoListboxSelectedValue } from '@/types';
3
3
  import { BentoTypographyElement } from '../typography';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  ariaLabel: {
@@ -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;
@@ -51,10 +55,10 @@ declare const _default: import("vue").DefineComponent<{
51
55
  isDropdownOpen: import("vue").Ref<boolean>;
52
56
  displayValue: import("vue").ComputedRef<string>;
53
57
  dropdownOptionsContainerId: string;
54
- filteredItems: import("vue").ComputedRef<BentoListboxOptionItem[]>;
58
+ filteredItems: import("vue").ComputedRef<import("@/types").BentoListboxOptionItem[]>;
55
59
  searchTerm: import("vue").Ref<string>;
56
60
  labelId: string;
57
- selectedValueItem: import("vue").ComputedRef<BentoListboxOptionItem>;
61
+ selectedValueItem: import("vue").ComputedRef<import("@/types").BentoListboxOptionItem | import("@/types").BentoListboxOptionItem[]>;
58
62
  inputContainerRef: any;
59
63
  closeOpenedDropdown: () => void;
60
64
  toggleDropdown: () => void;
@@ -101,6 +105,10 @@ declare const _default: import("vue").DefineComponent<{
101
105
  type: BooleanConstructor;
102
106
  default: boolean;
103
107
  };
108
+ showSlotContentInMultiple: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
104
112
  value: {
105
113
  type: PropType<BentoListboxSelectedValue>;
106
114
  default: any;
@@ -117,5 +125,6 @@ declare const _default: import("vue").DefineComponent<{
117
125
  items: BentoListboxOptions;
118
126
  isOptionDisabled: BentoListboxIsOptionDisabled;
119
127
  dynamicFiltering: boolean;
128
+ showSlotContentInMultiple: boolean;
120
129
  }>;
121
130
  export default _default;
@@ -6,11 +6,11 @@ declare const _default: import("vue").DefineComponent<{
6
6
  };
7
7
  disableApplyButton: {
8
8
  type: BooleanConstructor;
9
- deafault: boolean;
9
+ default: boolean;
10
10
  };
11
11
  disableClearButton: {
12
12
  type: BooleanConstructor;
13
- deafault: boolean;
13
+ default: boolean;
14
14
  };
15
15
  field: {
16
16
  type: StringConstructor;
@@ -21,7 +21,20 @@ declare const _default: import("vue").DefineComponent<{
21
21
  required: true;
22
22
  };
23
23
  value: {
24
- type: StringConstructor;
24
+ type: (StringConstructor | {
25
+ (arrayLength: number): string[];
26
+ (...items: string[]): string[];
27
+ new (arrayLength: number): string[];
28
+ new (...items: string[]): string[];
29
+ isArray(arg: any): arg is any[];
30
+ readonly prototype: any[];
31
+ from<T>(arrayLike: ArrayLike<T>): T[];
32
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
33
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
34
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
35
+ of<T_4>(...items: T_4[]): T_4[];
36
+ readonly [Symbol.species]: ArrayConstructor;
37
+ })[];
25
38
  default: any;
26
39
  };
27
40
  }, {
@@ -75,11 +88,11 @@ declare const _default: import("vue").DefineComponent<{
75
88
  };
76
89
  disableApplyButton: {
77
90
  type: BooleanConstructor;
78
- deafault: boolean;
91
+ default: boolean;
79
92
  };
80
93
  disableClearButton: {
81
94
  type: BooleanConstructor;
82
- deafault: boolean;
95
+ default: boolean;
83
96
  };
84
97
  field: {
85
98
  type: StringConstructor;
@@ -90,11 +103,24 @@ declare const _default: import("vue").DefineComponent<{
90
103
  required: true;
91
104
  };
92
105
  value: {
93
- type: StringConstructor;
106
+ type: (StringConstructor | {
107
+ (arrayLength: number): string[];
108
+ (...items: string[]): string[];
109
+ new (arrayLength: number): string[];
110
+ new (...items: string[]): string[];
111
+ isArray(arg: any): arg is any[];
112
+ readonly prototype: any[];
113
+ from<T>(arrayLike: ArrayLike<T>): T[];
114
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
115
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
116
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
117
+ of<T_4>(...items: T_4[]): T_4[];
118
+ readonly [Symbol.species]: ArrayConstructor;
119
+ })[];
94
120
  default: any;
95
121
  };
96
122
  }>>, {
97
- value: string;
123
+ value: string | string[];
98
124
  appliedFiltersCount: number;
99
125
  disableApplyButton: boolean;
100
126
  disableClearButton: boolean;
@@ -0,0 +1,43 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ field: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ label: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ value: {
11
+ type: StringConstructor;
12
+ default: any;
13
+ };
14
+ }, {
15
+ items: import("vue").Ref<{
16
+ value: string;
17
+ label: string;
18
+ }[]>;
19
+ appliedFiltersCount: import("vue").ComputedRef<number>;
20
+ internalFilterValue: import("vue").Ref<string>;
21
+ isApplyButtonDisabled: import("vue").ComputedRef<boolean>;
22
+ isClearButtonDisabled: import("vue").ComputedRef<boolean>;
23
+ onInput: (event: any) => void;
24
+ updateFilter: () => void;
25
+ clearFilter: () => void;
26
+ openFilter: () => void;
27
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "update"[], string, Readonly<import("vue").ExtractPropTypes<{
28
+ field: {
29
+ type: StringConstructor;
30
+ required: true;
31
+ };
32
+ label: {
33
+ type: StringConstructor;
34
+ required: true;
35
+ };
36
+ value: {
37
+ type: StringConstructor;
38
+ default: any;
39
+ };
40
+ }>>, {
41
+ value: string;
42
+ }>;
43
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BentoBooleanFilter } from './boolean-filter.vue';
@@ -0,0 +1,42 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoInputFieldType } from '@/components/input-field';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ field: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ label: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ value: {
13
+ type: PropType<string[]>;
14
+ required: true;
15
+ };
16
+ }, {
17
+ BentoInputFieldType: typeof BentoInputFieldType;
18
+ inputTextRef: any;
19
+ appliedFiltersCount: import("vue").ComputedRef<number>;
20
+ internalFilterValue: import("vue").Ref<string[]>;
21
+ isApplyButtonDisabled: import("vue").ComputedRef<boolean>;
22
+ isClearButtonDisabled: import("vue").ComputedRef<boolean>;
23
+ updateFrom: (newValue: any) => void;
24
+ updateTo: (newValue: any) => void;
25
+ updateFilter: () => void;
26
+ clearFilter: () => void;
27
+ openFilter: () => void;
28
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "update"[], string, Readonly<import("vue").ExtractPropTypes<{
29
+ field: {
30
+ type: StringConstructor;
31
+ required: true;
32
+ };
33
+ label: {
34
+ type: StringConstructor;
35
+ required: true;
36
+ };
37
+ value: {
38
+ type: PropType<string[]>;
39
+ required: true;
40
+ };
41
+ }>>, {}>;
42
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as BentoSelectFilter } from './select-filter.vue';