@adyen/bento-vue2 1.18.0-rc-2 → 1.18.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.
- package/README.md +1 -1
- package/dist/@types/components.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +34 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +133 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +50 -71
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +5 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +7 -13
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +24 -3
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +47 -9
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +22 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +23 -14
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -29
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +9 -10
- package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +2 -22
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +4 -15
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/modal/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +4 -15
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +1 -1
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +5 -5
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/{use-cached-selected-values.css → listbox.css} +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +2 -2
- package/dist/checkbox.js +6 -6
- package/dist/chunks/arrow-left.2db60716.js +26 -0
- package/dist/chunks/arrow-left.2db60716.js.map +1 -0
- package/dist/chunks/{base-button.0da9c5b8.js → base-button.bf0c938c.js} +2 -2
- package/dist/chunks/{base-button.0da9c5b8.js.map → base-button.bf0c938c.js.map} +1 -1
- package/dist/chunks/base-modal.1dc6cf96.js +198 -0
- package/dist/chunks/base-modal.1dc6cf96.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.a8eb7d09.js → button-actions-with-menu.4ecf3d93.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.a8eb7d09.js.map → button-actions-with-menu.4ecf3d93.js.map} +1 -1
- package/dist/chunks/{button.aa371e47.js → button.f5739261.js} +3 -3
- package/dist/chunks/{button.aa371e47.js.map → button.f5739261.js.map} +1 -1
- package/dist/chunks/{calendar.615657fe.js → calendar.7a2d1894.js} +4 -4
- package/dist/chunks/{calendar.615657fe.js.map → calendar.7a2d1894.js.map} +1 -1
- package/dist/chunks/{checkbox.9e808229.js → checkbox.1345941b.js} +3 -3
- package/dist/chunks/{checkbox.9e808229.js.map → checkbox.1345941b.js.map} +1 -1
- package/dist/chunks/{controls-group.5b2f09d9.js → controls-group.2b645d54.js} +3 -3
- package/dist/chunks/{controls-group.5b2f09d9.js.map → controls-group.2b645d54.js.map} +1 -1
- package/dist/chunks/{copy.1c217ac7.js → copy.e01532cf.js} +4 -4
- package/dist/chunks/{copy.1c217ac7.js.map → copy.e01532cf.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.0f3fc90f.js → dropdown-default-textbox.d45138fa.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.0f3fc90f.js.map → dropdown-default-textbox.d45138fa.js.map} +1 -1
- package/dist/chunks/dropdown.0a9acf8b.js +797 -0
- package/dist/chunks/dropdown.0a9acf8b.js.map +1 -0
- package/dist/chunks/{error-message.5ee05d77.js → error-message.317dd85f.js} +2 -2
- package/dist/chunks/{error-message.5ee05d77.js.map → error-message.317dd85f.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.995e56af.js → fixed-scroller.afe02620.js} +2 -2
- package/dist/chunks/{fixed-scroller.995e56af.js.map → fixed-scroller.afe02620.js.map} +1 -1
- package/dist/chunks/{footer-actions.b977df2f.js → footer-actions.e0b866b1.js} +3 -3
- package/dist/chunks/{footer-actions.b977df2f.js.map → footer-actions.e0b866b1.js.map} +1 -1
- package/dist/chunks/{index.4d936c89.js → index.290bbc9e.js} +3 -3
- package/dist/chunks/{index.4d936c89.js.map → index.290bbc9e.js.map} +1 -1
- package/dist/chunks/{index.ea487c48.js → index.2e70720a.js} +2 -2
- package/dist/chunks/{index.ea487c48.js.map → index.2e70720a.js.map} +1 -1
- package/dist/chunks/{index.56204a08.js → index.546b27ae.js} +3 -3
- package/dist/chunks/index.546b27ae.js.map +1 -0
- package/dist/chunks/{index.5a4d8e06.js → index.651dac2d.js} +3 -3
- package/dist/chunks/{index.5a4d8e06.js.map → index.651dac2d.js.map} +1 -1
- package/dist/chunks/{index.96c54909.js → index.6c017121.js} +3 -3
- package/dist/chunks/{index.96c54909.js.map → index.6c017121.js.map} +1 -1
- package/dist/chunks/{index.47f0af7c.js → index.6c299479.js} +2 -2
- package/dist/chunks/{index.47f0af7c.js.map → index.6c299479.js.map} +1 -1
- package/dist/chunks/{index.7ba84545.js → index.7aa428c2.js} +2 -2
- package/dist/chunks/{index.7ba84545.js.map → index.7aa428c2.js.map} +1 -1
- package/dist/chunks/{index.2d11546d.js → index.81443e01.js} +8 -8
- package/dist/chunks/{index.2d11546d.js.map → index.81443e01.js.map} +1 -1
- package/dist/chunks/{index.4679564e.js → index.84c2cef6.js} +27 -27
- package/dist/chunks/index.84c2cef6.js.map +1 -0
- package/dist/chunks/index.88ac1dab.js +1763 -0
- package/dist/chunks/index.88ac1dab.js.map +1 -0
- package/dist/chunks/{index.b71ba9a0.js → index.898a95bc.js} +6 -6
- package/dist/chunks/{index.b71ba9a0.js.map → index.898a95bc.js.map} +1 -1
- package/dist/chunks/{index.1db695f4.js → index.e6aa2c36.js} +48 -46
- package/dist/chunks/index.e6aa2c36.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.15146401.js → listbox-option-tag.720eabb5.js} +3 -3
- package/dist/chunks/{listbox-option-tag.15146401.js.map → listbox-option-tag.720eabb5.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.2eeccfec.js → listbox.dc3d986e.js} +451 -513
- package/dist/chunks/listbox.dc3d986e.js.map +1 -0
- package/dist/chunks/{loading-button.d083f391.js → loading-button.390228ff.js} +2 -2
- package/dist/chunks/{loading-button.d083f391.js.map → loading-button.390228ff.js.map} +1 -1
- package/dist/chunks/sidepanel.keys.3f8d69c1.js +7 -0
- package/dist/chunks/sidepanel.keys.3f8d69c1.js.map +1 -0
- package/dist/chunks/{teleport.4402484c.js → teleport.d52e5254.js} +2 -2
- package/dist/chunks/{teleport.4402484c.js.map → teleport.d52e5254.js.map} +1 -1
- package/dist/chunks/{tooltip.7177257c.js → tooltip.d452f6c4.js} +3 -3
- package/dist/chunks/{tooltip.7177257c.js.map → tooltip.d452f6c4.js.map} +1 -1
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +18 -18
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +6 -6
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +950 -1066
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +4 -4
- package/dist/index.js +2935 -297
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +72 -63
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +21 -27
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +4 -4
- package/dist/modal.js +73 -108
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +15 -15
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +110 -77
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +6 -6
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +5 -5
- package/dist/typography.js +1 -1
- package/dist/web-types.json +331 -572
- package/package.json +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +0 -69
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +0 -69
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.keys.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +0 -16
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +0 -52
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +0 -91
- package/dist/@types/packages/vue2/src/components/modal/modal.keys.d.ts +0 -1
- package/dist/assets/dialog-page.css +0 -1
- package/dist/chunks/base-modal.e236fd3d.js +0 -365
- package/dist/chunks/base-modal.e236fd3d.js.map +0 -1
- package/dist/chunks/dialog-page.4131cda8.js +0 -129
- package/dist/chunks/dialog-page.4131cda8.js.map +0 -1
- package/dist/chunks/dropdown.7124caa5.js +0 -775
- package/dist/chunks/dropdown.7124caa5.js.map +0 -1
- package/dist/chunks/index.0c94238a.js +0 -1689
- package/dist/chunks/index.0c94238a.js.map +0 -1
- package/dist/chunks/index.1db695f4.js.map +0 -1
- package/dist/chunks/index.4679564e.js.map +0 -1
- package/dist/chunks/index.56204a08.js.map +0 -1
- package/dist/chunks/sidepanel.keys.1ed8a57c.js +0 -5
- package/dist/chunks/sidepanel.keys.1ed8a57c.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.2eeccfec.js.map +0 -1
- /package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/{data-grid-columns-types.d.ts → data-grid-columns.types.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -45,7 +45,6 @@ import {
|
|
|
45
45
|
BentoMenu,
|
|
46
46
|
BentoModal,
|
|
47
47
|
BentoModalFullscreen,
|
|
48
|
-
BentoModalPage,
|
|
49
48
|
BentoPagination,
|
|
50
49
|
BentoPaymentMethod,
|
|
51
50
|
BentoPopover,
|
|
@@ -127,7 +126,6 @@ declare module 'vue' {
|
|
|
127
126
|
BentoMenu: typeof BentoMenu;
|
|
128
127
|
BentoModal: typeof BentoModal;
|
|
129
128
|
BentoModalFullscreen: typeof BentoModalFullscreen;
|
|
130
|
-
BentoModalPage: typeof BentoModalPage;
|
|
131
129
|
BentoPagination: typeof BentoPagination;
|
|
132
130
|
BentoPaymentMethod: typeof BentoPaymentMethod;
|
|
133
131
|
BentoPopover: typeof BentoPopover;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { BentoColumn } from '../../data-grid.types';
|
|
2
|
+
export declare enum DataGridCellPropClass {
|
|
3
|
+
PADDING_LEFT_UNSET = "padding-left-unset",
|
|
4
|
+
PADDING_RIGHT_UNSET = "padding-right-unset",
|
|
5
|
+
NUMERIC = "numeric",
|
|
6
|
+
CONDENSED = "condensed",
|
|
7
|
+
FROZEN = "frozen",
|
|
8
|
+
OVERFLOW_ELLIPSIS = "ellipsis",
|
|
9
|
+
IS_COLUMN_REORDERING = "is-column-re-ordering",
|
|
10
|
+
IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left",
|
|
11
|
+
IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right"
|
|
12
|
+
}
|
|
13
|
+
export interface DataGridCellDragEvents {
|
|
14
|
+
dragenter?: (e: DragEvent) => void;
|
|
15
|
+
drop?: () => void;
|
|
16
|
+
dragover?: (e: DragEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
export type DataGridCellDragEventsForColumn = (column: BentoColumn) => {
|
|
19
|
+
dragenter?: (e: DragEvent) => void;
|
|
20
|
+
drop?: () => void;
|
|
21
|
+
dragover?: (e: DragEvent) => void;
|
|
22
|
+
};
|
|
23
|
+
export interface DataGridCellColumnSet {
|
|
24
|
+
columnSet: BentoColumn[];
|
|
25
|
+
id: string;
|
|
26
|
+
isFrozenColumns?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface DataGridCellEvents extends DataGridCellDragEvents {
|
|
29
|
+
keyup?: (event: KeyboardEvent) => void;
|
|
30
|
+
keydown?: (event: KeyboardEvent) => void;
|
|
31
|
+
mouseenter?: () => void;
|
|
32
|
+
mouseleave?: () => void;
|
|
33
|
+
}
|
|
34
|
+
export type DataGridCellEventsForColumn = (column: BentoColumn) => DataGridCellEvents;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoColumn, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from "../../data-grid.types";
|
|
3
|
+
import { DataGridCellColumnSet, DataGridCellDragEventsForColumn } from './data-grid-cell.types';
|
|
4
|
+
import type { BentoDatagridDraggingColumnState } from '../data-grid-columns/data-grid-columns.types';
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
|
+
draggingEventsForRowCell: {
|
|
7
|
+
type: PropType<DataGridCellDragEventsForColumn>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
columnSets: {
|
|
11
|
+
type: PropType<DataGridCellColumnSet[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
column: {
|
|
15
|
+
type: PropType<BentoColumn>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
colIndex: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
columnSetIndex: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
condensed: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
draggingColumns: {
|
|
31
|
+
type: PropType<BentoDatagridDraggingColumnState>;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
getDataItemId: {
|
|
35
|
+
type: PropType<BentoDatagridGetDataItemIdFn>;
|
|
36
|
+
default: (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
|
|
37
|
+
};
|
|
38
|
+
isDataItemDisabled: {
|
|
39
|
+
type: PropType<BentoDatagridIsDataItemDisabledFn>;
|
|
40
|
+
default: () => false;
|
|
41
|
+
};
|
|
42
|
+
isMeasuringColumnWidths: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
rowData: {
|
|
47
|
+
type: PropType<BentoDatagridDataItem>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
rowIndex: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
selectedItems: {
|
|
55
|
+
type: PropType<BentoDatagridDataItemId[]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
gridcellRef: import("vue").Ref<HTMLDivElement>;
|
|
60
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
61
|
+
"on-frozen-columns-key-press": (event: Event) => void;
|
|
62
|
+
} & {
|
|
63
|
+
"select-row": (value: BentoDatagridDataItemId[]) => void;
|
|
64
|
+
} & {
|
|
65
|
+
"register-row-cell-element": (el: Element, field: string, rowIndex: number) => void;
|
|
66
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
draggingEventsForRowCell: {
|
|
68
|
+
type: PropType<DataGridCellDragEventsForColumn>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
columnSets: {
|
|
72
|
+
type: PropType<DataGridCellColumnSet[]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
column: {
|
|
76
|
+
type: PropType<BentoColumn>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
colIndex: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
columnSetIndex: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
condensed: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
draggingColumns: {
|
|
92
|
+
type: PropType<BentoDatagridDraggingColumnState>;
|
|
93
|
+
default: any;
|
|
94
|
+
};
|
|
95
|
+
getDataItemId: {
|
|
96
|
+
type: PropType<BentoDatagridGetDataItemIdFn>;
|
|
97
|
+
default: (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
|
|
98
|
+
};
|
|
99
|
+
isDataItemDisabled: {
|
|
100
|
+
type: PropType<BentoDatagridIsDataItemDisabledFn>;
|
|
101
|
+
default: () => false;
|
|
102
|
+
};
|
|
103
|
+
isMeasuringColumnWidths: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
rowData: {
|
|
108
|
+
type: PropType<BentoDatagridDataItem>;
|
|
109
|
+
required: true;
|
|
110
|
+
};
|
|
111
|
+
rowIndex: {
|
|
112
|
+
type: NumberConstructor;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
selectedItems: {
|
|
116
|
+
type: PropType<BentoDatagridDataItemId[]>;
|
|
117
|
+
required: true;
|
|
118
|
+
};
|
|
119
|
+
}>>, {
|
|
120
|
+
condensed: boolean;
|
|
121
|
+
draggingColumns: any;
|
|
122
|
+
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
123
|
+
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
124
|
+
isMeasuringColumnWidths: boolean;
|
|
125
|
+
}>, Record<string, (_: {
|
|
126
|
+
item: BentoDatagridDataItem;
|
|
127
|
+
}) => any>>;
|
|
128
|
+
export default _default;
|
|
129
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
130
|
+
new (): {
|
|
131
|
+
$slots: S;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoColumn,
|
|
3
|
-
import { BentoDatagridDraggingColumnState
|
|
4
|
-
|
|
5
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
import { BentoColumn, BentoColumnWidthOverridesLookup, BentoDatagridAllItemsSelectedState, BentoDatagridSortByColumn } from '../../data-grid.types';
|
|
3
|
+
import { BentoDatagridDraggingColumnState } from './data-grid-columns.types';
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
5
|
columns: {
|
|
7
6
|
type: PropType<BentoColumn[]>;
|
|
8
7
|
required: true;
|
|
@@ -31,6 +30,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
30
|
type: BooleanConstructor;
|
|
32
31
|
default: boolean;
|
|
33
32
|
};
|
|
33
|
+
isMeasuringColunWidths: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
34
37
|
isOnlyOneVisibleColumn: {
|
|
35
38
|
type: BooleanConstructor;
|
|
36
39
|
default: boolean;
|
|
@@ -59,72 +62,36 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
62
|
type: BooleanConstructor;
|
|
60
63
|
default: boolean;
|
|
61
64
|
};
|
|
62
|
-
}, {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}>;
|
|
93
|
-
isSelectColumn: (column: BentoColumn) => boolean;
|
|
94
|
-
onAllRowSelect: (areAllItemsSelected: boolean) => void;
|
|
95
|
-
selectAllMenu: import("vue").ComputedRef<{
|
|
96
|
-
text: string;
|
|
97
|
-
handler: () => void;
|
|
98
|
-
}[]>;
|
|
99
|
-
conditionalSortDirectionClasses: (field: string, direction: BentoDatagridSortDirection) => {
|
|
100
|
-
'b-data-grid-columns__column-sort-icon--sorted': boolean;
|
|
101
|
-
};
|
|
102
|
-
sortByColumnField: (field: string) => void;
|
|
103
|
-
getSortingColumnDirection: (column: BentoColumn) => BentoDatagridAriaSortValue;
|
|
104
|
-
startResize: (hasResizableColumns: boolean, field: string, event: MouseEvent) => void;
|
|
105
|
-
isResizing: import("vue").Ref<boolean>;
|
|
106
|
-
dataGridColumnEvents: (column: BentoColumn) => {
|
|
107
|
-
[eventName: string]: (e: Event) => void;
|
|
108
|
-
};
|
|
109
|
-
draggingEventsForColumn: import("vue").ComputedRef<(column: BentoColumn) => {
|
|
110
|
-
dragstart?: undefined;
|
|
111
|
-
dragover?: undefined;
|
|
112
|
-
dragenter?: undefined;
|
|
113
|
-
drop?: undefined;
|
|
114
|
-
dragend?: undefined;
|
|
115
|
-
} | {
|
|
116
|
-
dragstart: (e: DragEvent & Event) => void;
|
|
117
|
-
dragover: (e: DragEvent) => void;
|
|
118
|
-
dragenter: (e: DragEvent) => void;
|
|
119
|
-
drop: () => void;
|
|
120
|
-
dragend: () => void;
|
|
121
|
-
}>;
|
|
122
|
-
contextualMenuData: import("vue").ComputedRef<(col: BentoColumn) => BentoMenuItem[]>;
|
|
123
|
-
computeMenuPosition: (hasFirstColumnPanelRightAligned: any, index: any) => import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_START | import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
124
|
-
BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
|
|
125
|
-
DatagridColumnsEvent: typeof DatagridColumnsEvent;
|
|
126
|
-
t: (key: "selectAll" | "freezeColumn" | "hideColumn" | "moveColumnLeft" | "moveColumnRight" | "selectPage" | "selectionMenu" | "showColumn" | "unfreezeColumn", values?: import("vue-i18n").default.Values) => string;
|
|
127
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, DatagridColumnsEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
66
|
+
"column-resize": (column: {
|
|
67
|
+
field: string;
|
|
68
|
+
width: number;
|
|
69
|
+
}) => void;
|
|
70
|
+
} & {
|
|
71
|
+
"column-resizing": (value: BentoColumnWidthOverridesLookup) => void;
|
|
72
|
+
} & {
|
|
73
|
+
sort: (updatedSortBy: BentoDatagridSortByColumn[]) => void;
|
|
74
|
+
} & {
|
|
75
|
+
"select-all-rows": (areAllItemsSelected: boolean) => void;
|
|
76
|
+
} & {
|
|
77
|
+
"select-all-across-pages": () => void;
|
|
78
|
+
} & {
|
|
79
|
+
"column-dragstart": (column: BentoColumn, event: DragEvent & Event) => void;
|
|
80
|
+
} & {
|
|
81
|
+
"column-dragenter": (column: BentoColumn, event: DragEvent & Event) => void;
|
|
82
|
+
} & {
|
|
83
|
+
"column-drop": (column: BentoColumn) => void;
|
|
84
|
+
} & {
|
|
85
|
+
"column-dragend": () => void;
|
|
86
|
+
} & {
|
|
87
|
+
"column-move": (movingColumn: BentoColumn, offset: number) => void;
|
|
88
|
+
} & {
|
|
89
|
+
"column-update": (column: BentoColumn) => void;
|
|
90
|
+
} & {
|
|
91
|
+
"column-menu-open": () => void;
|
|
92
|
+
} & {
|
|
93
|
+
"column-menu-close": () => void;
|
|
94
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
128
95
|
columns: {
|
|
129
96
|
type: PropType<BentoColumn[]>;
|
|
130
97
|
required: true;
|
|
@@ -153,6 +120,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
120
|
type: BooleanConstructor;
|
|
154
121
|
default: boolean;
|
|
155
122
|
};
|
|
123
|
+
isMeasuringColunWidths: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
156
127
|
isOnlyOneVisibleColumn: {
|
|
157
128
|
type: BooleanConstructor;
|
|
158
129
|
default: boolean;
|
|
@@ -189,11 +160,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
160
|
hasColumnPanel: boolean;
|
|
190
161
|
hasFirstColumnPanelRightAligned: boolean;
|
|
191
162
|
hasLeftOverflow: boolean;
|
|
163
|
+
isMeasuringColunWidths: boolean;
|
|
192
164
|
isOnlyOneVisibleColumn: boolean;
|
|
193
165
|
showFrozenColumnsSeparator: boolean;
|
|
194
166
|
allItemsSelectedState: BentoDatagridAllItemsSelectedState;
|
|
195
167
|
selectableAcrossPages: boolean;
|
|
196
168
|
sortBy: BentoDatagridSortByColumn[];
|
|
197
169
|
truncateColumnHeaders: boolean;
|
|
198
|
-
}
|
|
170
|
+
}>, Record<string, (_: {
|
|
171
|
+
column: BentoColumn;
|
|
172
|
+
}) => any>>;
|
|
199
173
|
export default _default;
|
|
174
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
175
|
+
new (): {
|
|
176
|
+
$slots: S;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as DataGridColumns } from './data-grid-columns/data-grid-columns.vue';
|
|
2
2
|
export { default as BentoDataGridConfigSettings } from './data-grid-config-settings/data-grid-config-settings.vue';
|
|
3
3
|
export { default as DataGridLazyLoad } from './data-grid-lazy-load/data-grid-lazy-load.vue';
|
|
4
|
+
export { default as DataGridCell } from './data-grid-cell/data-grid-cell.vue';
|
|
4
5
|
export { default as DataGridCellActions } from './data-grid-cell-actions/data-grid-cell-actions.vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { BentoColumn, BentoColumnWidthOverridesLookup } from '../data-grid.types';
|
|
3
|
-
import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns
|
|
3
|
+
import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns.types';
|
|
4
4
|
export declare const useResizer: (columns: Ref<BentoColumn[]>, emit: (event: DatagridColumnsEvent, ...args: unknown[]) => void) => {
|
|
5
5
|
resizeData: Ref<BentoColumnWidthOverridesLookup>;
|
|
6
6
|
allColumnRefs: import("vue").ToRefs<{}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { BentoColumn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from '../data-grid.types';
|
|
3
|
-
import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns
|
|
3
|
+
import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns.types';
|
|
4
4
|
export declare const useSorter: (sortBy: Ref<BentoDatagridSortByColumn[]>, columns: Ref<BentoColumn[]>, emit: (event: DatagridColumnsEvent, updatedSortBy: BentoDatagridSortByColumn[]) => void) => {
|
|
5
5
|
conditionalSortDirectionClasses: (field: string, direction: BentoDatagridSortDirection) => {
|
|
6
6
|
'b-data-grid-columns__column-sort-icon--sorted': boolean;
|
|
@@ -507,21 +507,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
507
507
|
condensed: boolean;
|
|
508
508
|
outline: boolean;
|
|
509
509
|
loading: boolean;
|
|
510
|
-
lazyLoadType: BentoLazyLoadType;
|
|
511
510
|
emptyState: any;
|
|
511
|
+
lazyLoadType: BentoLazyLoadType;
|
|
512
512
|
fitContent: boolean;
|
|
513
513
|
hasResizableColumns: boolean;
|
|
514
514
|
selectableAcrossPages: boolean;
|
|
515
515
|
sortBy: BentoDatagridSortByColumn[];
|
|
516
516
|
truncateColumnHeaders: boolean;
|
|
517
|
+
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
518
|
+
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
517
519
|
filterValues: import("../filter-bar").BentoFilterValues;
|
|
518
520
|
allowRowClicks: boolean;
|
|
519
521
|
allowColumnDragAndDrop: boolean;
|
|
520
522
|
bulkActions: BentoButtonActionsList;
|
|
521
523
|
columnPanel: boolean;
|
|
522
524
|
filterSearchTerm: string;
|
|
523
|
-
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
524
|
-
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
525
525
|
pagination: any;
|
|
526
526
|
stickyPagination: boolean;
|
|
527
527
|
stickyFilters: boolean;
|
|
@@ -529,9 +529,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
529
529
|
selection: BentoDatagridDataItemId[];
|
|
530
530
|
highlightedRows: BentoDatagridDataItemId[];
|
|
531
531
|
tabTitle: string;
|
|
532
|
-
}>, Record<string, (_: any) => any> & Record<string, (_: {
|
|
533
|
-
item: BentoDatagridDataItem;
|
|
534
|
-
}) => any> & {
|
|
532
|
+
}>, Record<string, (_: any) => any> & Record<string, (_: any) => any> & {
|
|
535
533
|
header: (_: {}) => any;
|
|
536
534
|
footer: (_: {}) => any;
|
|
537
535
|
}>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { CalendarRangeDateValue } from "../../../internal";
|
|
3
2
|
import { type BentoSegmentedControlItem } from "../../../segmented-control";
|
|
4
3
|
import { DateRangePickerCalendarEvent, DateRangePickerCalendarFormData, DateRangePickerCalendarRangeSelectorItems } from './date-range-picker-calendar.types';
|
|
5
|
-
import type { BentoDateRangePickerGranularityConfig } from '../../date-range-picker.types';
|
|
4
|
+
import type { BentoDateRangePickerGranularityConfig, BentoDateRangePickerValue } from '../../date-range-picker.types';
|
|
6
5
|
declare const _default: import("vue").DefineComponent<{
|
|
7
6
|
allowTimeInput: {
|
|
8
7
|
type: BooleanConstructor;
|
|
@@ -53,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
52
|
default: any;
|
|
54
53
|
};
|
|
55
54
|
value: {
|
|
56
|
-
type: PropType<
|
|
55
|
+
type: PropType<BentoDateRangePickerValue>;
|
|
57
56
|
default: any;
|
|
58
57
|
};
|
|
59
58
|
}, {
|
|
@@ -214,7 +213,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
214
213
|
}>;
|
|
215
214
|
hasSlot: (name: string) => boolean;
|
|
216
215
|
t: (key: "daily" | "weekly" | "monthly" | "customRange" | "dateFrom" | "dateTo" | "lastMonth" | "lastSevenDays" | "lastThreeMonths" | "timeFrom" | "timeTo", values?: import("vue-i18n").default.Values) => string;
|
|
217
|
-
onDateInput: (selectedRange:
|
|
216
|
+
onDateInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
218
217
|
onDateInputKeyDown: (event: KeyboardEvent) => void;
|
|
219
218
|
onEndDateInput: (endDateText: string) => void;
|
|
220
219
|
onEndDateSelected: (newEndDate: Date) => void;
|
|
@@ -274,11 +273,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
274
273
|
default: any;
|
|
275
274
|
};
|
|
276
275
|
value: {
|
|
277
|
-
type: PropType<
|
|
276
|
+
type: PropType<BentoDateRangePickerValue>;
|
|
278
277
|
default: any;
|
|
279
278
|
};
|
|
280
279
|
}>>, {
|
|
281
|
-
value:
|
|
280
|
+
value: BentoDateRangePickerValue;
|
|
282
281
|
isDateDisabled: import("../../../internal").CalendarIsDateDisabled;
|
|
283
282
|
firstDayOfWeek: import("../../../internal").CalendarFirstDayOfWeek;
|
|
284
283
|
min: Date;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { BentoListboxEvent,
|
|
2
|
+
import { BentoListboxEvent, BentoListboxSelectedValue } from "../../../../../types";
|
|
3
3
|
import { BentoDropdownEvent } from '../../../dropdown.types';
|
|
4
|
-
export declare const useDropdownOptionsListbox: (selectedValue: Ref<
|
|
4
|
+
export declare const useDropdownOptionsListbox: (selectedValue: Ref<BentoListboxSelectedValue>, multiple: Ref<boolean>, isOpen: Ref<boolean>, emit: (event: BentoListboxEvent | BentoDropdownEvent, selectedValue?: BentoListboxSelectedValue) => void) => {
|
|
5
5
|
actions: import("vue").ComputedRef<({
|
|
6
6
|
title: string;
|
|
7
7
|
event: () => void;
|
|
@@ -11,19 +11,13 @@ export declare const useDropdownOptionsListbox: (selectedValue: Ref<BentoListbox
|
|
|
11
11
|
event: () => void;
|
|
12
12
|
disabled?: undefined;
|
|
13
13
|
})[]>;
|
|
14
|
-
internalSelectedValue: Ref<
|
|
15
|
-
data?: unknown;
|
|
16
|
-
description?: string;
|
|
17
|
-
value: import("../../../../../types").BentoListboxValue;
|
|
18
|
-
items?: any[];
|
|
19
|
-
label: string;
|
|
20
|
-
}[]>;
|
|
14
|
+
internalSelectedValue: Ref<import("../../../../../types").BentoListboxValue | import("../../../../../types").BentoListboxValue[]>;
|
|
21
15
|
listeners: {
|
|
22
|
-
select: (newSelectedValue:
|
|
16
|
+
select: (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
23
17
|
"show-more": () => void;
|
|
24
|
-
"tab-pressed": (newSelectedValue:
|
|
25
|
-
"space-pressed": (newSelectedValue:
|
|
26
|
-
"enter-pressed": (newSelectedValue:
|
|
18
|
+
"tab-pressed": (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
19
|
+
"space-pressed": (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
20
|
+
"enter-pressed": (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
27
21
|
};
|
|
28
22
|
onEscapeKey: () => void;
|
|
29
23
|
onOutsideDropdownClick: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoListboxOptions } from "../../../../types";
|
|
2
|
+
import { BentoListboxOptions, BentoListboxSelectedValue } from "../../../../types";
|
|
3
3
|
import { BentoDropdownEmptyStateProps, BentoDropdownLazyLoadType, BentoDropdownSize, BentoDropdownVirtulisationOptions } from '../../dropdown.types';
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
5
|
ariaLabel: {
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
required: true;
|
|
54
54
|
};
|
|
55
55
|
selectedValue: {
|
|
56
|
-
type: PropType<
|
|
56
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
57
57
|
default: any;
|
|
58
58
|
};
|
|
59
59
|
searching: {
|
|
@@ -77,17 +77,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
77
77
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
78
78
|
"close-dropdown": () => void;
|
|
79
79
|
} & {
|
|
80
|
-
"enter-pressed": (newSelectedValue:
|
|
80
|
+
"enter-pressed": (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
81
81
|
} & {
|
|
82
82
|
"escape-pressed": () => void;
|
|
83
83
|
} & {
|
|
84
|
-
select: (newSelectedValue:
|
|
84
|
+
select: (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
85
85
|
} & {
|
|
86
86
|
"show-more": () => void;
|
|
87
87
|
} & {
|
|
88
|
-
"space-pressed": (newSelectedValue:
|
|
88
|
+
"space-pressed": (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
89
89
|
} & {
|
|
90
|
-
"tab-pressed": (newSelectedValue:
|
|
90
|
+
"tab-pressed": (newSelectedValue: BentoListboxSelectedValue) => void;
|
|
91
91
|
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
92
92
|
ariaLabel: {
|
|
93
93
|
type: StringConstructor;
|
|
@@ -140,7 +140,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
140
140
|
required: true;
|
|
141
141
|
};
|
|
142
142
|
selectedValue: {
|
|
143
|
-
type: PropType<
|
|
143
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
144
144
|
default: any;
|
|
145
145
|
};
|
|
146
146
|
searching: {
|
|
@@ -164,13 +164,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
164
164
|
multiple: boolean;
|
|
165
165
|
loading: boolean;
|
|
166
166
|
isOptionDisabled: (optionValue: import("../../../../types").BentoListboxOptionItem) => boolean;
|
|
167
|
-
selectedValue:
|
|
167
|
+
selectedValue: BentoListboxSelectedValue;
|
|
168
168
|
staticCategories: boolean;
|
|
169
169
|
ariaLabel: string;
|
|
170
170
|
searching: boolean;
|
|
171
|
+
emptyState: BentoDropdownEmptyStateProps;
|
|
171
172
|
hasMoreItems: boolean;
|
|
172
173
|
lazyLoadType: "button" | "none" | "automatic" | BentoDropdownLazyLoadType;
|
|
173
|
-
emptyState: BentoDropdownEmptyStateProps;
|
|
174
174
|
virtualScroll: BentoDropdownVirtulisationOptions;
|
|
175
175
|
inputSize: "DropdownInputDefault" | "DropdownInputSmall" | BentoDropdownSize;
|
|
176
176
|
}>, Record<string, (_: any) => any>>;
|
|
@@ -237,9 +237,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
|
|
238
238
|
staticCategories: boolean;
|
|
239
239
|
ariaLabel: string;
|
|
240
|
+
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
240
241
|
hasMoreItems: boolean;
|
|
241
242
|
lazyLoadType: "button" | "none" | "automatic" | import("../../../../../types").BentoListboxLazyLoadType;
|
|
242
|
-
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
243
243
|
virtualScroll: import("../../../../../types").BentoListboxVirtulisationOptions;
|
|
244
244
|
dynamicFiltering: boolean;
|
|
245
245
|
showSlotContentInMultiple: boolean;
|
|
@@ -249,9 +249,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
249
|
isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
|
|
250
250
|
staticCategories: boolean;
|
|
251
251
|
ariaLabel: string;
|
|
252
|
+
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
252
253
|
hasMoreItems: boolean;
|
|
253
254
|
lazyLoadType: "button" | "none" | "automatic" | import("../../../../../types").BentoListboxLazyLoadType;
|
|
254
|
-
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
255
255
|
virtualScroll: import("../../../../../types").BentoListboxVirtulisationOptions;
|
|
256
256
|
dynamicFiltering: boolean;
|
|
257
257
|
showSlotContentInMultiple: boolean;
|
|
@@ -237,9 +237,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
|
|
238
238
|
staticCategories: boolean;
|
|
239
239
|
ariaLabel: string;
|
|
240
|
+
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
240
241
|
hasMoreItems: boolean;
|
|
241
242
|
lazyLoadType: "button" | "none" | "automatic" | import("../../../../../types").BentoListboxLazyLoadType;
|
|
242
|
-
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
243
243
|
virtualScroll: import("../../../../../types").BentoListboxVirtulisationOptions;
|
|
244
244
|
dynamicFiltering: boolean;
|
|
245
245
|
showSlotContentInMultiple: boolean;
|
|
@@ -237,9 +237,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
|
|
238
238
|
staticCategories: boolean;
|
|
239
239
|
ariaLabel: string;
|
|
240
|
+
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
240
241
|
hasMoreItems: boolean;
|
|
241
242
|
lazyLoadType: "button" | "none" | "automatic" | import("../../../../../types").BentoListboxLazyLoadType;
|
|
242
|
-
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
243
243
|
virtualScroll: import("../../../../../types").BentoListboxVirtulisationOptions;
|
|
244
244
|
dynamicFiltering: boolean;
|
|
245
245
|
showSlotContentInMultiple: boolean;
|
|
@@ -237,9 +237,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
|
|
238
238
|
staticCategories: boolean;
|
|
239
239
|
ariaLabel: string;
|
|
240
|
+
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
240
241
|
hasMoreItems: boolean;
|
|
241
242
|
lazyLoadType: "button" | "none" | "automatic" | import("../../../../../types").BentoListboxLazyLoadType;
|
|
242
|
-
emptyState: import("../../../../../types").BentoListboxEmptyStateProps;
|
|
243
243
|
virtualScroll: import("../../../../../types").BentoListboxVirtulisationOptions;
|
|
244
244
|
dynamicFiltering: boolean;
|
|
245
245
|
showSlotContentInMultiple: boolean;
|
package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const useDisplayValue:
|
|
1
|
+
import { UseDisplayValue } from './use-display-value.types';
|
|
2
|
+
export declare const useDisplayValue: UseDisplayValue;
|