@adyen/bento-vue2 0.3.0 → 0.4.1
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.
- package/dist/@types/components/alert/alert.vue.d.ts +1 -1
- package/dist/@types/components/button/button.vue.d.ts +1 -1
- package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +1 -1
- package/dist/@types/components/card/card.vue.d.ts +21 -1
- package/dist/@types/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -1
- package/dist/@types/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
- package/dist/@types/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +1 -1
- package/dist/@types/components/country/country.vue.d.ts +1 -1
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +15 -0
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +55 -11
- 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 +39 -0
- package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +9 -8
- package/dist/@types/components/data-grid/components/index.d.ts +1 -1
- package/dist/@types/components/data-grid/composables/index.d.ts +2 -1
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +2 -1
- package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +63 -0
- package/dist/@types/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +8 -0
- package/dist/@types/components/data-grid/composables/useResizer.d.ts +3 -1
- package/dist/@types/components/data-grid/composables/useSorter.d.ts +2 -1
- package/dist/@types/components/data-grid/data-grid.types.d.ts +4 -2
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +143 -10
- package/dist/@types/components/date/date.vue.d.ts +3 -3
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +4 -2
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +2 -4
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -3
- package/dist/@types/components/dropdown/components/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +1 -1
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +14 -5
- package/dist/@types/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +2 -2
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +15 -6
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +13 -4
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +13 -4
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +14 -1
- package/dist/@types/components/filter-bar/components/input-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +5 -3
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +44 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +52 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +44 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +44 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +55 -0
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +34 -7
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +3 -2
- package/dist/@types/components/internal/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options.vue.d.ts +37 -0
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +4 -1
- package/dist/@types/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +3 -3
- package/dist/@types/components/internal/listbox/listbox.vue.d.ts +3 -0
- package/dist/@types/components/link/link.vue.d.ts +5 -3
- package/dist/@types/components/payment-method/payment-method.vue.d.ts +1 -1
- package/dist/@types/components/popper-container/popper-container.utils.d.ts +1 -1
- package/dist/@types/components.d.ts +0 -2
- package/dist/@types/composables/initials.d.ts +1 -1
- package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +4 -4
- package/dist/@types/composables/useDynamicImport.d.ts +1 -1
- package/dist/@types/directives/click-outside/on-click-outside.d.ts +1 -1
- package/dist/@types/directives/click-outside/useEventListener/index.d.ts +1 -1
- package/dist/@types/directives/click-outside/utils.d.ts +1 -1
- package/dist/@types/directives/tooltip/tooltip.types.d.ts +1 -1
- package/dist/@types/index.d.ts +0 -1
- package/dist/@types/plugins/toastController.d.ts +1 -1
- package/dist/@types/types/listbox.d.ts +1 -1
- package/dist/@types/utils/ts/aria-label.d.ts +1 -1
- package/dist/@types/utils/ts/events.d.ts +1 -1
- package/dist/index.js +3938 -3304
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/@types/components/data-grid/composables/useConfigSettings.d.ts +0 -7
- package/dist/@types/components/filter-bar/components/text-filter/index.d.ts +0 -1
- /package/dist/@types/components/filter-bar/components/{text-filter/text-filter.vue.d.ts → input-filter/input-filter.vue.d.ts} +0 -0
- /package/dist/@types/components/{avatar → internal/avatar}/avatar.vue.d.ts +0 -0
- /package/dist/@types/components/{avatar → internal/avatar}/index.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, Ref } from 'vue';
|
|
2
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<{
|
|
@@ -6,6 +6,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
+
allowColumnDragAndDrop: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
9
13
|
condensed: {
|
|
10
14
|
type: BooleanConstructor;
|
|
11
15
|
default: boolean;
|
|
@@ -23,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
27
|
required: true;
|
|
24
28
|
};
|
|
25
29
|
filters: {
|
|
26
|
-
type: PropType<import("
|
|
30
|
+
type: PropType<import("@/components/filter-bar").BentoFilterBarModel>;
|
|
27
31
|
default: any;
|
|
28
32
|
};
|
|
29
33
|
filterSearchTerm: {
|
|
@@ -132,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
136
|
default: () => any[];
|
|
133
137
|
};
|
|
134
138
|
}, {
|
|
135
|
-
body:
|
|
139
|
+
body: Ref<HTMLDivElement>;
|
|
136
140
|
columnDefs: import("vue").ComputedRef<{
|
|
137
141
|
width: number;
|
|
138
142
|
field: string;
|
|
@@ -149,7 +153,69 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
149
153
|
overflow?: BentoColumnOverflow;
|
|
150
154
|
visible?: boolean;
|
|
151
155
|
mandatory?: boolean;
|
|
156
|
+
frozen?: boolean;
|
|
157
|
+
}[]>;
|
|
158
|
+
sortedColumnsByFreezeState: Ref<{
|
|
159
|
+
field: string;
|
|
160
|
+
label: string;
|
|
161
|
+
width?: number;
|
|
162
|
+
minWidth?: number;
|
|
163
|
+
flex?: number;
|
|
164
|
+
sortable?: boolean;
|
|
165
|
+
numeric?: boolean;
|
|
166
|
+
infoIconTooltip?: string;
|
|
167
|
+
padding?: {
|
|
168
|
+
left?: boolean;
|
|
169
|
+
right?: boolean;
|
|
170
|
+
};
|
|
171
|
+
overflow?: BentoColumnOverflow;
|
|
172
|
+
visible?: boolean;
|
|
173
|
+
mandatory?: boolean;
|
|
174
|
+
frozen?: boolean;
|
|
152
175
|
}[]>;
|
|
176
|
+
columnSets: import("vue").ComputedRef<({
|
|
177
|
+
columnSet: {
|
|
178
|
+
width: number;
|
|
179
|
+
field: string;
|
|
180
|
+
label: string;
|
|
181
|
+
minWidth?: number;
|
|
182
|
+
flex?: number;
|
|
183
|
+
sortable?: boolean;
|
|
184
|
+
numeric?: boolean;
|
|
185
|
+
infoIconTooltip?: string;
|
|
186
|
+
padding?: {
|
|
187
|
+
left?: boolean;
|
|
188
|
+
right?: boolean;
|
|
189
|
+
};
|
|
190
|
+
overflow?: BentoColumnOverflow;
|
|
191
|
+
visible?: boolean;
|
|
192
|
+
mandatory?: boolean;
|
|
193
|
+
frozen?: boolean;
|
|
194
|
+
}[];
|
|
195
|
+
id: string;
|
|
196
|
+
isFrozenColumns: boolean;
|
|
197
|
+
} | {
|
|
198
|
+
columnSet: {
|
|
199
|
+
width: number;
|
|
200
|
+
field: string;
|
|
201
|
+
label: string;
|
|
202
|
+
minWidth?: number;
|
|
203
|
+
flex?: number;
|
|
204
|
+
sortable?: boolean;
|
|
205
|
+
numeric?: boolean;
|
|
206
|
+
infoIconTooltip?: string;
|
|
207
|
+
padding?: {
|
|
208
|
+
left?: boolean;
|
|
209
|
+
right?: boolean;
|
|
210
|
+
};
|
|
211
|
+
overflow?: BentoColumnOverflow;
|
|
212
|
+
visible?: boolean;
|
|
213
|
+
mandatory?: boolean;
|
|
214
|
+
frozen?: boolean;
|
|
215
|
+
}[];
|
|
216
|
+
id: string;
|
|
217
|
+
isFrozenColumns?: undefined;
|
|
218
|
+
})[]>;
|
|
153
219
|
ariaGridHeaderText: import("vue").ComputedRef<string>;
|
|
154
220
|
conditionalTitleAttribute: (column: BentoColumn, content: unknown) => string;
|
|
155
221
|
getRowData: (rowData: unknown) => unknown;
|
|
@@ -164,6 +230,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
230
|
conditionalRowClasses: (row: BentoDatagridDataItem) => {
|
|
165
231
|
'b-data-grid__row--disabled': boolean;
|
|
166
232
|
'b-data-grid__row--row-clicks-enabled': boolean;
|
|
233
|
+
'b-data-grid__cell--is-re-ordering': boolean;
|
|
167
234
|
};
|
|
168
235
|
conditionalRowCellClasses: (column: BentoColumn) => {
|
|
169
236
|
[x: string]: boolean;
|
|
@@ -171,6 +238,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
171
238
|
'b-data-grid__cell--padding-right-unset': boolean;
|
|
172
239
|
'b-data-grid__cell--numeric': boolean;
|
|
173
240
|
'b-data-grid__cell--condensed': boolean;
|
|
241
|
+
'b-data-grid__cell--frozen': boolean;
|
|
242
|
+
'b-data-grid__cell--is-column-re-ordering': boolean;
|
|
243
|
+
'b-data-grid__cell--is-column-re-order-target': boolean;
|
|
174
244
|
};
|
|
175
245
|
conditionalPaginationClasses: import("vue").ComputedRef<{
|
|
176
246
|
'b-data-grid__pagination--padding-left-unset': boolean;
|
|
@@ -187,14 +257,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
187
257
|
allItemsSelected: boolean;
|
|
188
258
|
isIndeterminate: boolean;
|
|
189
259
|
};
|
|
190
|
-
selectedItems:
|
|
260
|
+
selectedItems: Ref<BentoDatagridDataItemId[]>;
|
|
191
261
|
onAllRowSelect: (allItemsSelected: boolean) => void;
|
|
192
262
|
onRowSelect: () => void;
|
|
193
263
|
DATAGRID_SELECT_FIELD_NAME: string;
|
|
194
264
|
onRowClick: (row: BentoDatagridDataItem, event: MouseEvent) => void;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
265
|
+
onConfigSettingsUpdate: (isCompactView: boolean) => void;
|
|
266
|
+
onColumnVisibilityChange: (columnIndexes: string[]) => void;
|
|
267
|
+
onColumnFreezeChange: (frozenColumnFields: string[]) => void;
|
|
198
268
|
BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
|
|
199
269
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
200
270
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
@@ -203,11 +273,73 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
203
273
|
onItemsPerPageChange: (itemsPerPage: number) => void;
|
|
204
274
|
onSearchTermCleared: () => void;
|
|
205
275
|
onSearchTermInput: (newSearchTerm: any) => void;
|
|
206
|
-
|
|
276
|
+
draggingColumns: {
|
|
277
|
+
dragging?: {
|
|
278
|
+
field: string;
|
|
279
|
+
label: string;
|
|
280
|
+
width?: number;
|
|
281
|
+
minWidth?: number;
|
|
282
|
+
flex?: number;
|
|
283
|
+
sortable?: boolean;
|
|
284
|
+
numeric?: boolean;
|
|
285
|
+
infoIconTooltip?: string;
|
|
286
|
+
padding?: {
|
|
287
|
+
left?: boolean;
|
|
288
|
+
right?: boolean;
|
|
289
|
+
};
|
|
290
|
+
overflow?: BentoColumnOverflow;
|
|
291
|
+
visible?: boolean;
|
|
292
|
+
mandatory?: boolean;
|
|
293
|
+
frozen?: boolean;
|
|
294
|
+
};
|
|
295
|
+
target?: {
|
|
296
|
+
field: string;
|
|
297
|
+
label: string;
|
|
298
|
+
width?: number;
|
|
299
|
+
minWidth?: number;
|
|
300
|
+
flex?: number;
|
|
301
|
+
sortable?: boolean;
|
|
302
|
+
numeric?: boolean;
|
|
303
|
+
infoIconTooltip?: string;
|
|
304
|
+
padding?: {
|
|
305
|
+
left?: boolean;
|
|
306
|
+
right?: boolean;
|
|
307
|
+
};
|
|
308
|
+
overflow?: BentoColumnOverflow;
|
|
309
|
+
visible?: boolean;
|
|
310
|
+
mandatory?: boolean;
|
|
311
|
+
frozen?: boolean;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
draggingEventsForColumns: import("vue").ComputedRef<{
|
|
315
|
+
"column-dragstart"?: undefined;
|
|
316
|
+
"column-dragenter"?: undefined;
|
|
317
|
+
"column-drop"?: undefined;
|
|
318
|
+
"column-dragend"?: undefined;
|
|
319
|
+
} | {
|
|
320
|
+
"column-dragstart": (column: BentoColumn, e: DragEvent & Event) => void;
|
|
321
|
+
"column-dragenter": (column: BentoColumn) => void;
|
|
322
|
+
"column-drop": (column: BentoColumn) => void;
|
|
323
|
+
"column-dragend": () => void;
|
|
324
|
+
}>;
|
|
325
|
+
draggingEventsForRowCell: import("vue").ComputedRef<(column: BentoColumn) => {
|
|
326
|
+
dragenter?: undefined;
|
|
327
|
+
drop?: undefined;
|
|
328
|
+
dragover?: undefined;
|
|
329
|
+
} | {
|
|
330
|
+
dragenter: (e: DragEvent) => void;
|
|
331
|
+
drop: () => void;
|
|
332
|
+
dragover: (e: DragEvent) => void;
|
|
333
|
+
}>;
|
|
334
|
+
}, {}, {}, {}, 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<{
|
|
207
335
|
allowRowClicks: {
|
|
208
336
|
type: BooleanConstructor;
|
|
209
337
|
default: boolean;
|
|
210
338
|
};
|
|
339
|
+
allowColumnDragAndDrop: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: boolean;
|
|
342
|
+
};
|
|
211
343
|
condensed: {
|
|
212
344
|
type: BooleanConstructor;
|
|
213
345
|
default: boolean;
|
|
@@ -225,7 +357,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
225
357
|
required: true;
|
|
226
358
|
};
|
|
227
359
|
filters: {
|
|
228
|
-
type: PropType<import("
|
|
360
|
+
type: PropType<import("@/components/filter-bar").BentoFilterBarModel>;
|
|
229
361
|
default: any;
|
|
230
362
|
};
|
|
231
363
|
filterSearchTerm: {
|
|
@@ -337,10 +469,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
337
469
|
outline: boolean;
|
|
338
470
|
loading: boolean;
|
|
339
471
|
condensed: boolean;
|
|
340
|
-
filters: import("
|
|
472
|
+
filters: import("@/components/filter-bar").BentoFilterBarModel;
|
|
341
473
|
hasResizableColumns: boolean;
|
|
342
474
|
sortBy: BentoDatagridSortByColumn[];
|
|
343
475
|
allowRowClicks: boolean;
|
|
476
|
+
allowColumnDragAndDrop: boolean;
|
|
344
477
|
columnPanel: boolean;
|
|
345
478
|
filterSearchTerm: string;
|
|
346
479
|
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
@@ -3,7 +3,7 @@ import { BentoDateFormat } from '@/components/date/date.types';
|
|
|
3
3
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
date: {
|
|
6
|
-
type: DateConstructor;
|
|
6
|
+
type: (StringConstructor | NumberConstructor | DateConstructor)[];
|
|
7
7
|
default: any;
|
|
8
8
|
};
|
|
9
9
|
format: {
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
17
17
|
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
date: {
|
|
19
|
-
type: DateConstructor;
|
|
19
|
+
type: (StringConstructor | NumberConstructor | DateConstructor)[];
|
|
20
20
|
default: any;
|
|
21
21
|
};
|
|
22
22
|
format: {
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
default: BentoDateFormat;
|
|
25
25
|
};
|
|
26
26
|
}>>, {
|
|
27
|
-
date: Date;
|
|
27
|
+
date: string | number | Date;
|
|
28
28
|
format: BentoDateFormat;
|
|
29
29
|
}>;
|
|
30
30
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Booleanish } from '
|
|
2
|
+
import { Booleanish } from '@/types';
|
|
3
3
|
export declare const DropdownBaseTextboxProps: {
|
|
4
4
|
additionalItemsSelected: {
|
|
5
5
|
type: NumberConstructor;
|
|
@@ -48,6 +48,8 @@ export declare const DropdownBaseTextboxProps: {
|
|
|
48
48
|
};
|
|
49
49
|
export declare enum DropdownBaseTextboxState {
|
|
50
50
|
DISABLED = "disabled",
|
|
51
|
-
HAS_ITEMS = "has-items"
|
|
51
|
+
HAS_ITEMS = "has-items",
|
|
52
|
+
OPENED = "opened",
|
|
53
|
+
ERROR = "error"
|
|
52
54
|
}
|
|
53
55
|
export default DropdownBaseTextboxProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { BentoListboxOptionItem } from '@/types';
|
|
3
|
-
import { Booleanish } from '
|
|
3
|
+
import { Booleanish } from '@/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
additionalItemsSelected: {
|
|
6
6
|
type: NumberConstructor;
|
|
@@ -64,9 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
};
|
|
65
65
|
}, {
|
|
66
66
|
conditionalClasses: import("vue").ComputedRef<{
|
|
67
|
-
|
|
68
|
-
'b-dropdown-default-textbox--disabled': boolean;
|
|
69
|
-
'b-dropdown-default-textbox--opened': boolean;
|
|
67
|
+
[x: string]: boolean;
|
|
70
68
|
}>;
|
|
71
69
|
isDropdownOpen: import("vue").ComputedRef<boolean>;
|
|
72
70
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "open" | "clear" | "close")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -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;
|
|
@@ -51,11 +51,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
};
|
|
52
52
|
}, {
|
|
53
53
|
conditionalClasses: import("vue").ComputedRef<{
|
|
54
|
-
|
|
55
|
-
'b-dropdown-small-textbox--opened': boolean;
|
|
54
|
+
[x: string]: boolean;
|
|
56
55
|
}>;
|
|
57
56
|
isDropdownOpen: import("vue").ComputedRef<boolean>;
|
|
58
|
-
}, {}, {}, {}, import("vue/types/v3-component-options
|
|
57
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
59
58
|
additionalItemsSelected: {
|
|
60
59
|
type: NumberConstructor;
|
|
61
60
|
default: number;
|
package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoListboxSelectedValue } from '
|
|
2
|
+
import { BentoListboxSelectedValue } from '@/types';
|
|
3
3
|
import { BentoAvatarListboxOptions } from './dropdown-avatar.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
items: {
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -27,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
31
|
default: any;
|
|
28
32
|
};
|
|
29
33
|
isOptionDisabled: {
|
|
30
|
-
type: PropType<import("
|
|
34
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
31
35
|
default: any;
|
|
32
36
|
};
|
|
33
37
|
multiple: {
|
|
@@ -52,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
56
|
};
|
|
53
57
|
}, {
|
|
54
58
|
dropdownItems: import("vue").ComputedRef<{
|
|
55
|
-
value: import("
|
|
59
|
+
value: import("@/types").BentoListboxValue;
|
|
56
60
|
label: string;
|
|
57
61
|
data: string;
|
|
58
62
|
}[]>;
|
|
@@ -74,6 +78,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
78
|
type: BooleanConstructor;
|
|
75
79
|
default: boolean;
|
|
76
80
|
};
|
|
81
|
+
error: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
77
85
|
label: {
|
|
78
86
|
type: StringConstructor;
|
|
79
87
|
default: any;
|
|
@@ -83,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
91
|
default: any;
|
|
84
92
|
};
|
|
85
93
|
isOptionDisabled: {
|
|
86
|
-
type: PropType<import("
|
|
94
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
87
95
|
default: any;
|
|
88
96
|
};
|
|
89
97
|
multiple: {
|
|
@@ -109,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
117
|
}>>, {
|
|
110
118
|
required: boolean;
|
|
111
119
|
optional: boolean;
|
|
120
|
+
error: boolean;
|
|
112
121
|
value: BentoListboxSelectedValue;
|
|
113
122
|
label: string;
|
|
114
123
|
ariaLabel: string;
|
|
@@ -116,7 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
125
|
multiple: boolean;
|
|
117
126
|
description: string;
|
|
118
127
|
items: BentoAvatarListboxOptions;
|
|
119
|
-
isOptionDisabled: import("
|
|
128
|
+
isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
|
|
120
129
|
dynamicFiltering: boolean;
|
|
121
130
|
showSlotContentInMultiple: boolean;
|
|
122
131
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { BentoCountryVariant } from '
|
|
2
|
+
import { BentoCountryVariant } from '@/components/country';
|
|
3
3
|
import { BentoCountryListboxOptions } from '../dropdown-country.types';
|
|
4
|
-
import { BentoListboxOptions } from '
|
|
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 '
|
|
2
|
-
import { BentoCountryCode } from '
|
|
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 '
|
|
4
|
-
import { BentoCountryVariant } from '
|
|
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>;
|
|
@@ -24,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
+
error: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
27
31
|
label: {
|
|
28
32
|
type: StringConstructor;
|
|
29
33
|
default: any;
|
|
@@ -33,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
37
|
default: any;
|
|
34
38
|
};
|
|
35
39
|
isOptionDisabled: {
|
|
36
|
-
type: PropType<import("
|
|
40
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
37
41
|
default: any;
|
|
38
42
|
};
|
|
39
43
|
multiple: {
|
|
@@ -57,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
61
|
default: any;
|
|
58
62
|
};
|
|
59
63
|
}, {
|
|
60
|
-
countryItems: import("vue").ComputedRef<import("
|
|
64
|
+
countryItems: import("vue").ComputedRef<import("@/types").BentoListboxOptions>;
|
|
61
65
|
onInput: (selectedValue: BentoListboxSelectedValue) => void;
|
|
62
66
|
BentoCountryVariant: typeof BentoCountryVariant;
|
|
63
67
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -82,6 +86,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
86
|
type: BooleanConstructor;
|
|
83
87
|
default: boolean;
|
|
84
88
|
};
|
|
89
|
+
error: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
85
93
|
label: {
|
|
86
94
|
type: StringConstructor;
|
|
87
95
|
default: any;
|
|
@@ -91,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
99
|
default: any;
|
|
92
100
|
};
|
|
93
101
|
isOptionDisabled: {
|
|
94
|
-
type: PropType<import("
|
|
102
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
95
103
|
default: any;
|
|
96
104
|
};
|
|
97
105
|
multiple: {
|
|
@@ -117,6 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
125
|
}>>, {
|
|
118
126
|
required: boolean;
|
|
119
127
|
optional: boolean;
|
|
128
|
+
error: boolean;
|
|
120
129
|
value: BentoListboxSelectedValue;
|
|
121
130
|
label: string;
|
|
122
131
|
ariaLabel: string;
|
|
@@ -125,7 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
134
|
description: string;
|
|
126
135
|
variant: BentoCountryVariant;
|
|
127
136
|
items: BentoCountryListboxOptions;
|
|
128
|
-
isOptionDisabled: import("
|
|
137
|
+
isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
|
|
129
138
|
dynamicFiltering: boolean;
|
|
130
139
|
showSlotContentInMultiple: boolean;
|
|
131
140
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';
|
|
3
|
-
import type { BentoListboxSelectedValue } from '
|
|
3
|
+
import type { BentoListboxSelectedValue } from '@/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
items: {
|
|
6
6
|
type: PropType<BentoCurrencyListboxOptions>;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -27,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
31
|
default: any;
|
|
28
32
|
};
|
|
29
33
|
isOptionDisabled: {
|
|
30
|
-
type: PropType<import("
|
|
34
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
31
35
|
default: any;
|
|
32
36
|
};
|
|
33
37
|
multiple: {
|
|
@@ -69,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
73
|
type: BooleanConstructor;
|
|
70
74
|
default: boolean;
|
|
71
75
|
};
|
|
76
|
+
error: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
72
80
|
label: {
|
|
73
81
|
type: StringConstructor;
|
|
74
82
|
default: any;
|
|
@@ -78,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
86
|
default: any;
|
|
79
87
|
};
|
|
80
88
|
isOptionDisabled: {
|
|
81
|
-
type: PropType<import("
|
|
89
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
82
90
|
default: any;
|
|
83
91
|
};
|
|
84
92
|
multiple: {
|
|
@@ -104,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
112
|
}>>, {
|
|
105
113
|
required: boolean;
|
|
106
114
|
optional: boolean;
|
|
115
|
+
error: boolean;
|
|
107
116
|
value: BentoListboxSelectedValue;
|
|
108
117
|
label: string;
|
|
109
118
|
ariaLabel: string;
|
|
@@ -111,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
120
|
multiple: boolean;
|
|
112
121
|
description: string;
|
|
113
122
|
items: BentoCurrencyListboxOptions;
|
|
114
|
-
isOptionDisabled: import("
|
|
123
|
+
isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
|
|
115
124
|
dynamicFiltering: boolean;
|
|
116
125
|
showSlotContentInMultiple: boolean;
|
|
117
126
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BentoListboxOptionItem, OmitStrict } from '
|
|
2
|
-
import { BentoPaymentMethodType } from '
|
|
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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoPaymentMethodListboxOptions } from './dropdown-payment-method.types';
|
|
3
|
-
import { BentoListboxSelectedValue } from '
|
|
3
|
+
import { BentoListboxSelectedValue } from '@/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
items: {
|
|
6
6
|
type: PropType<BentoPaymentMethodListboxOptions>;
|
|
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
error: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
21
25
|
label: {
|
|
22
26
|
type: StringConstructor;
|
|
23
27
|
default: any;
|
|
@@ -27,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
31
|
default: any;
|
|
28
32
|
};
|
|
29
33
|
isOptionDisabled: {
|
|
30
|
-
type: PropType<import("
|
|
34
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
31
35
|
default: any;
|
|
32
36
|
};
|
|
33
37
|
multiple: {
|
|
@@ -69,6 +73,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
73
|
type: BooleanConstructor;
|
|
70
74
|
default: boolean;
|
|
71
75
|
};
|
|
76
|
+
error: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
72
80
|
label: {
|
|
73
81
|
type: StringConstructor;
|
|
74
82
|
default: any;
|
|
@@ -78,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
86
|
default: any;
|
|
79
87
|
};
|
|
80
88
|
isOptionDisabled: {
|
|
81
|
-
type: PropType<import("
|
|
89
|
+
type: PropType<import("@/types").BentoListboxIsOptionDisabled>;
|
|
82
90
|
default: any;
|
|
83
91
|
};
|
|
84
92
|
multiple: {
|
|
@@ -104,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
112
|
}>>, {
|
|
105
113
|
required: boolean;
|
|
106
114
|
optional: boolean;
|
|
115
|
+
error: boolean;
|
|
107
116
|
value: BentoListboxSelectedValue;
|
|
108
117
|
label: string;
|
|
109
118
|
ariaLabel: string;
|
|
@@ -111,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
120
|
multiple: boolean;
|
|
112
121
|
description: string;
|
|
113
122
|
items: BentoPaymentMethodListboxOptions;
|
|
114
|
-
isOptionDisabled: import("
|
|
123
|
+
isOptionDisabled: import("@/types").BentoListboxIsOptionDisabled;
|
|
115
124
|
dynamicFiltering: boolean;
|
|
116
125
|
showSlotContentInMultiple: boolean;
|
|
117
126
|
}>;
|