@adyen/bento-vue3 1.25.0 → 1.26.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/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +10 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +26 -11
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +18 -6
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +36 -12
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +18 -6
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +18 -6
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +14 -48
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +20 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +22 -2
- package/dist/@types/packages/vue2/src/components/typography/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +1 -1
- package/dist/accordion.js +3 -3
- package/dist/action-bar.js +7 -7
- package/dist/alert.js +6 -6
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/index.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/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/index2.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/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.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/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/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +4 -4
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.6be8b60e.js → base-button.e84acf30.js} +2 -2
- package/dist/chunks/{base-button.6be8b60e.js.map → base-button.e84acf30.js.map} +1 -1
- package/dist/chunks/{base-modal.310c4790.js → base-modal.29e062d0.js} +7 -7
- package/dist/chunks/{base-modal.310c4790.js.map → base-modal.29e062d0.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.a007b034.js → button-actions-with-menu.7fce47a2.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.a007b034.js.map → button-actions-with-menu.7fce47a2.js.map} +1 -1
- package/dist/chunks/{button-actions.adc0a2fe.js → button-actions.642b37de.js} +3 -3
- package/dist/chunks/{button-actions.adc0a2fe.js.map → button-actions.642b37de.js.map} +1 -1
- package/dist/chunks/{button.de5589fa.js → button.60dad578.js} +3 -3
- package/dist/chunks/{button.de5589fa.js.map → button.60dad578.js.map} +1 -1
- package/dist/chunks/{calendar.73f5b904.js → calendar.f38cdab9.js} +5 -5
- package/dist/chunks/{calendar.73f5b904.js.map → calendar.f38cdab9.js.map} +1 -1
- package/dist/chunks/{checkbox-input.99336948.js → checkbox-input.ab758a81.js} +2 -2
- package/dist/chunks/{checkbox-input.99336948.js.map → checkbox-input.ab758a81.js.map} +1 -1
- package/dist/chunks/{checkbox.4c96cc23.js → checkbox.f55ee3a5.js} +4 -4
- package/dist/chunks/{checkbox.4c96cc23.js.map → checkbox.f55ee3a5.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.c45a999d.js → checkmark-circle-fill.f3a69c6a.js} +2 -2
- package/dist/chunks/{checkmark-circle-fill.c45a999d.js.map → checkmark-circle-fill.f3a69c6a.js.map} +1 -1
- package/dist/chunks/{checkmark-small.c79220d9.js → checkmark-small.d7e31e5e.js} +2 -2
- package/dist/chunks/{checkmark-small.c79220d9.js.map → checkmark-small.d7e31e5e.js.map} +1 -1
- package/dist/chunks/{checkmark.eb3c7a06.js → checkmark.87919b24.js} +2 -2
- package/dist/chunks/{checkmark.eb3c7a06.js.map → checkmark.87919b24.js.map} +1 -1
- package/dist/chunks/{chevron-left.4ee92950.js → chevron-left.963d35e9.js} +2 -2
- package/dist/chunks/{chevron-left.4ee92950.js.map → chevron-left.963d35e9.js.map} +1 -1
- package/dist/chunks/{chevron-up.638a9f34.js → chevron-up.05ca20db.js} +2 -2
- package/dist/chunks/{chevron-up.638a9f34.js.map → chevron-up.05ca20db.js.map} +1 -1
- package/dist/chunks/{controls-group.37a67734.js → controls-group.9e0f17b2.js} +3 -3
- package/dist/chunks/{controls-group.37a67734.js.map → controls-group.9e0f17b2.js.map} +1 -1
- package/dist/chunks/{copy.43de2653.js → copy.852d4cb8.js} +4 -4
- package/dist/chunks/{copy.43de2653.js.map → copy.852d4cb8.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.1abec1a2.js → cross-circle-fill.81925c7f.js} +2 -2
- package/dist/chunks/{cross-circle-fill.1abec1a2.js.map → cross-circle-fill.81925c7f.js.map} +1 -1
- package/dist/chunks/{cross-small.b85406fe.js → cross-small.9bc6a02f.js} +2 -2
- package/dist/chunks/{cross-small.b85406fe.js.map → cross-small.9bc6a02f.js.map} +1 -1
- package/dist/chunks/{cross.26509efc.js → cross.a60533f6.js} +2 -2
- package/dist/chunks/{cross.26509efc.js.map → cross.a60533f6.js.map} +1 -1
- package/dist/chunks/{dialog-page.cd8c7fff.js → dialog-page.ea67bb14.js} +3 -3
- package/dist/chunks/{dialog-page.cd8c7fff.js.map → dialog-page.ea67bb14.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.424e0eb6.js → dropdown-default-textbox.ad5063c2.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.424e0eb6.js.map → dropdown-default-textbox.ad5063c2.js.map} +1 -1
- package/dist/chunks/{dropdown.57b2ea6f.js → dropdown.d8587f36.js} +15 -15
- package/dist/chunks/{dropdown.57b2ea6f.js.map → dropdown.d8587f36.js.map} +1 -1
- package/dist/chunks/{error-message.4bd22112.js → error-message.3fb5573a.js} +3 -3
- package/dist/chunks/{error-message.4bd22112.js.map → error-message.3fb5573a.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.5b93a6a6.js → fixed-scroller.59aefd1b.js} +3 -3
- package/dist/chunks/{fixed-scroller.5b93a6a6.js.map → fixed-scroller.59aefd1b.js.map} +1 -1
- package/dist/chunks/{footer-actions.c401ec50.js → footer-actions.89e68269.js} +4 -4
- package/dist/chunks/{footer-actions.c401ec50.js.map → footer-actions.89e68269.js.map} +1 -1
- package/dist/chunks/{index.8b10ee32.js → index.030c1dd7.js} +7 -7
- package/dist/chunks/{index.8b10ee32.js.map → index.030c1dd7.js.map} +1 -1
- package/dist/chunks/{index.98bbaed9.js → index.07122048.js} +2 -2
- package/dist/chunks/{index.98bbaed9.js.map → index.07122048.js.map} +1 -1
- package/dist/chunks/{index.8682bd04.js → index.146f967e.js} +2 -2
- package/dist/chunks/{index.8682bd04.js.map → index.146f967e.js.map} +1 -1
- package/dist/chunks/{index.bab8811d.js → index.5bdebf9d.js} +7 -7
- package/dist/chunks/{index.bab8811d.js.map → index.5bdebf9d.js.map} +1 -1
- package/dist/chunks/{index.aa83aa48.js → index.6e0e9d21.js} +3 -3
- package/dist/chunks/{index.aa83aa48.js.map → index.6e0e9d21.js.map} +1 -1
- package/dist/chunks/{index.ea65003b.js → index.8be283d5.js} +2 -2
- package/dist/chunks/{index.ea65003b.js.map → index.8be283d5.js.map} +1 -1
- package/dist/chunks/{index.faec0854.js → index.96cd0d4c.js} +15 -15
- package/dist/chunks/{index.faec0854.js.map → index.96cd0d4c.js.map} +1 -1
- package/dist/chunks/{index.f71015d8.js → index.9bf04b01.js} +3 -3
- package/dist/chunks/{index.f71015d8.js.map → index.9bf04b01.js.map} +1 -1
- package/dist/chunks/{index.11b6dd35.js → index.a3d60e4f.js} +17 -17
- package/dist/chunks/index.a3d60e4f.js.map +1 -0
- package/dist/chunks/{index.73ac0db6.js → index.ba3396d3.js} +3 -3
- package/dist/chunks/{index.73ac0db6.js.map → index.ba3396d3.js.map} +1 -1
- package/dist/chunks/{index.38752f78.js → index.c8ffede1.js} +7 -7
- package/dist/chunks/{index.38752f78.js.map → index.c8ffede1.js.map} +1 -1
- package/dist/chunks/{info.550f9511.js → info.205b4496.js} +2 -2
- package/dist/chunks/{info.550f9511.js.map → info.205b4496.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.d1a3b340.js → listbox-option-tag.b6182b2e.js} +3 -3
- package/dist/chunks/{listbox-option-tag.d1a3b340.js.map → listbox-option-tag.b6182b2e.js.map} +1 -1
- package/dist/chunks/{loading-button.2db95771.js → loading-button.0391ad8b.js} +4 -4
- package/dist/chunks/{loading-button.2db95771.js.map → loading-button.0391ad8b.js.map} +1 -1
- package/dist/chunks/{payment-method.26fa5509.js → payment-method.31a68b9b.js} +2 -2
- package/dist/chunks/{payment-method.26fa5509.js.map → payment-method.31a68b9b.js.map} +1 -1
- package/dist/chunks/{refresh.bd60f6a8.js → refresh.53691839.js} +2 -2
- package/dist/chunks/{refresh.bd60f6a8.js.map → refresh.53691839.js.map} +1 -1
- package/dist/chunks/{search.ade93bda.js → search.4e4ee4dd.js} +2 -2
- package/dist/chunks/{search.ade93bda.js.map → search.4e4ee4dd.js.map} +1 -1
- package/dist/chunks/{tooltip.e29f7d7e.js → tooltip.1084d92b.js} +3 -3
- package/dist/chunks/{tooltip.e29f7d7e.js.map → tooltip.1084d92b.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.98ca249a.js → use-bento-toast-controller.98d8613c.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.98ca249a.js.map → use-bento-toast-controller.98d8613c.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.a9b0fb3d.js → use-cached-selected-values.852aeafe.js} +8 -8
- package/dist/chunks/{use-cached-selected-values.a9b0fb3d.js.map → use-cached-selected-values.852aeafe.js.map} +1 -1
- package/dist/code-snippet.js +7 -7
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1287 -1253
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +22 -22
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +53 -51
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +4 -4
- package/dist/index.js +22 -22
- package/dist/info-icon.js +4 -4
- package/dist/input-field.js +3 -3
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +7 -7
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +4 -4
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/selection-card.js +5 -5
- package/dist/sidepanel.js +7 -7
- package/dist/status.js +2 -2
- package/dist/stepper.js +4 -4
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +2 -2
- package/dist/tabs.js +22 -20
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +6 -6
- package/dist/toast.js +5 -5
- package/dist/toggle.js +3 -3
- package/dist/tutorial.js +145 -124
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +0 -8
- package/dist/chunks/index.11b6dd35.js.map +0 -1
- /package/dist/@types/packages/{vue2 → core}/src/components/typography/typography.types.d.ts +0 -0
- /package/dist/assets/{cross.css → checkmark-circle-fill.css} +0 -0
|
@@ -197,9 +197,9 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
197
197
|
}, {
|
|
198
198
|
condensed: boolean;
|
|
199
199
|
draggingColumns: any;
|
|
200
|
+
isMeasuringColumnWidths: boolean;
|
|
200
201
|
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
201
202
|
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
202
|
-
isMeasuringColumnWidths: boolean;
|
|
203
203
|
}>, Record<string, (_: {
|
|
204
204
|
item: BentoDatagridDataItem;
|
|
205
205
|
}) => any>>;
|
|
@@ -3,12 +3,20 @@ import type { BentoMenuItem } from "../../../menu/components";
|
|
|
3
3
|
import type { BentoDatagridDataItem } from "../..";
|
|
4
4
|
import { OmitStrict } from "../../../../types";
|
|
5
5
|
export type BentoColumnCellActionVariant = 'copy' | 'edit' | 'open' | 'more';
|
|
6
|
+
export type BentoColumnCellActionEvent = (rowDataItem: BentoDatagridDataItem, columnKey: string) => void;
|
|
7
|
+
export type BentoColumnCellActionMenuItem = {
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated This property will be removed in version 2.0, please use `event` instead.
|
|
10
|
+
*/
|
|
11
|
+
handler?: BentoMenuItem['handler'];
|
|
12
|
+
event?: BentoColumnCellActionEvent;
|
|
13
|
+
} & OmitStrict<BentoMenuItem, 'handler'>;
|
|
6
14
|
export type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'variant' | 'event' | 'title' | 'icon' | 'state'> & {
|
|
7
15
|
title?: string;
|
|
8
|
-
event?:
|
|
16
|
+
event?: BentoColumnCellActionEvent;
|
|
9
17
|
isShort?: true;
|
|
10
18
|
variant?: BentoColumnCellActionVariant;
|
|
11
|
-
menuData?:
|
|
19
|
+
menuData?: BentoColumnCellActionMenuItem[];
|
|
12
20
|
getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
|
|
13
21
|
};
|
|
14
22
|
export type BentoColumnCellActions = BentoColumnCellAction[];
|
|
@@ -18,6 +18,9 @@ export declare enum DatagridColumnsEvent {
|
|
|
18
18
|
COLUMN_DRAG_END = "column-dragend",
|
|
19
19
|
COLUMN_DROP = "column-drop"
|
|
20
20
|
}
|
|
21
|
+
export interface DatagridColumnsHeaderReferences {
|
|
22
|
+
[key: string]: HTMLDivElement | null;
|
|
23
|
+
}
|
|
21
24
|
/**
|
|
22
25
|
* The Datagrid column dragging state.
|
|
23
26
|
* @interface BentoDatagridDraggingColumnState
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from "../../../../../../vue3/node_modules/vue";
|
|
2
2
|
import { BentoColumn, BentoColumnWidthOverridesLookup, BentoDatagridAllItemsSelectedState, BentoDatagridSortByColumn } from '../../data-grid.types';
|
|
3
|
-
import { BentoDatagridDraggingColumnState } from './data-grid-columns.types';
|
|
4
|
-
import { DatagridColumnHoveringState } from "../../composables/use-column-hovering";
|
|
3
|
+
import { BentoDatagridDraggingColumnState, DatagridColumnsHeaderReferences } from './data-grid-columns.types';
|
|
4
|
+
import type { DatagridColumnHoveringState } from "../../composables/use-column-hovering";
|
|
5
5
|
/**
|
|
6
6
|
* A component to display the BentoDataGrid columns
|
|
7
7
|
*
|
|
@@ -103,7 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
103
103
|
/**
|
|
104
104
|
* Toggled to true when the DataGrid has auto width columns and is measuring the
|
|
105
105
|
*/
|
|
106
|
-
|
|
106
|
+
isMeasuringColumnWidths: {
|
|
107
107
|
type: BooleanConstructor;
|
|
108
108
|
default: boolean;
|
|
109
109
|
};
|
|
@@ -157,7 +157,9 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
157
157
|
type: BooleanConstructor;
|
|
158
158
|
default: boolean;
|
|
159
159
|
};
|
|
160
|
-
}, {
|
|
160
|
+
}, {
|
|
161
|
+
columnHeaderRefs: import("../../../../../../vue3/node_modules/vue").Ref<DatagridColumnsHeaderReferences>;
|
|
162
|
+
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
161
163
|
"column-resize": (column: {
|
|
162
164
|
field: string;
|
|
163
165
|
width: number;
|
|
@@ -248,7 +250,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
248
250
|
/**
|
|
249
251
|
* Toggled to true when the DataGrid has auto width columns and is measuring the
|
|
250
252
|
*/
|
|
251
|
-
|
|
253
|
+
isMeasuringColumnWidths: {
|
|
252
254
|
type: BooleanConstructor;
|
|
253
255
|
default: boolean;
|
|
254
256
|
};
|
|
@@ -328,7 +330,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
328
330
|
hasColumnPanel: boolean;
|
|
329
331
|
hasFirstColumnPanelRightAligned: boolean;
|
|
330
332
|
hasLeftOverflow: boolean;
|
|
331
|
-
|
|
333
|
+
isMeasuringColumnWidths: boolean;
|
|
332
334
|
isOnlyOneVisibleColumn: boolean;
|
|
333
335
|
showFrozenColumnsSeparator: boolean;
|
|
334
336
|
allItemsSelectedState: BentoDatagridAllItemsSelectedState;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { Ref } from "../../../../../../vue3/node_modules/vue";
|
|
2
|
-
import { BentoColumn, BentoColumnWidthOverridesLookup, BentoDatagridData } from '../../data-grid.types';
|
|
3
|
-
import { CalculateColumnWidthOptions } from './use-calculate-column-width.types';
|
|
4
|
-
import { MaybeRef } from "../../../../types";
|
|
1
|
+
import { type Ref } from "../../../../../../vue3/node_modules/vue";
|
|
2
|
+
import type { BentoColumn, BentoColumnWidthOverridesLookup, BentoDatagridData } from '../../data-grid.types';
|
|
3
|
+
import type { CalculateColumnWidthOptions } from './use-calculate-column-width.types';
|
|
4
|
+
import type { MaybeRef } from "../../../../types";
|
|
5
|
+
import type { DatagridColumnsHeaderReferences } from '../../components/data-grid-columns/data-grid-columns.types';
|
|
5
6
|
export declare const DEFAULT_COLUMN_WIDTH = 100;
|
|
6
7
|
export declare const DEFAULT_COLUMN_MIN_WIDTH = 50;
|
|
7
8
|
export declare const DATAGRID_SELECT_FIELD_NAME = "b-select";
|
|
8
9
|
export declare const DATAGRID_SELECT_WIDTH = 32;
|
|
9
10
|
export declare const DATAGRID_SELECT_WIDTH_WITH_SELECT_ALL_PAGES_ENABLED = 56;
|
|
11
|
+
export declare const DATAGRID_CELL_OFFSET_INITIAL = 4;
|
|
12
|
+
export declare const DATAGRID_CELL_OFFSET_PADDING = 16;
|
|
10
13
|
/**
|
|
11
14
|
* Calculates the width of the columns using width, minWidth and/or a fluid number.
|
|
12
15
|
*
|
|
@@ -16,7 +19,7 @@ export declare const DATAGRID_SELECT_WIDTH_WITH_SELECT_ALL_PAGES_ENABLED = 56;
|
|
|
16
19
|
* @param gridCellRefs An array of Ref for each one of the cells available by Column
|
|
17
20
|
* @param options Optional options for the calculator to be aware of.
|
|
18
21
|
*/
|
|
19
|
-
export declare const useCalculateColumnWidth: (newColumns: Ref<BentoColumn[]>, newData: MaybeRef<BentoDatagridData>, bodyRef: MaybeRef<HTMLDivElement | undefined>, gridCellRefs: MaybeRef<{
|
|
22
|
+
export declare const useCalculateColumnWidth: (newColumns: Ref<BentoColumn[]>, newData: MaybeRef<BentoDatagridData>, bodyRef: MaybeRef<HTMLDivElement | undefined>, gridColumnsComponentRefs: MaybeRef<DatagridColumnsHeaderReferences>, gridCellRefs: MaybeRef<{
|
|
20
23
|
[key: string]: HTMLDivElement[];
|
|
21
24
|
}>, options?: CalculateColumnWidthOptions) => {
|
|
22
25
|
columnDefs: import("../../../../../../vue3/node_modules/vue").ComputedRef<{
|
|
@@ -73,18 +76,30 @@ export declare const useCalculateColumnWidth: (newColumns: Ref<BentoColumn[]>, n
|
|
|
73
76
|
iconLeft?: object | Element | (object | Element)[];
|
|
74
77
|
iconRight?: object | Element | (object | Element)[];
|
|
75
78
|
title?: string;
|
|
76
|
-
event?:
|
|
79
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
77
80
|
isShort?: true;
|
|
78
81
|
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
79
82
|
menuData?: {
|
|
83
|
+
handler?: () => void;
|
|
84
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
80
85
|
text: string;
|
|
81
|
-
|
|
82
|
-
secondaryText?: string;
|
|
83
|
-
items?: any[];
|
|
86
|
+
critical?: boolean;
|
|
84
87
|
disabled?: boolean;
|
|
85
|
-
chevron?: boolean;
|
|
86
88
|
icon?: object | Element | (object | Element)[];
|
|
87
|
-
|
|
89
|
+
items?: {
|
|
90
|
+
text: string;
|
|
91
|
+
handler: () => void;
|
|
92
|
+
secondaryText?: string;
|
|
93
|
+
items?: any[];
|
|
94
|
+
disabled?: boolean;
|
|
95
|
+
chevron?: boolean;
|
|
96
|
+
icon?: object | Element | (object | Element)[];
|
|
97
|
+
critical?: boolean;
|
|
98
|
+
indent?: boolean;
|
|
99
|
+
addDivider?: boolean;
|
|
100
|
+
}[];
|
|
101
|
+
secondaryText?: string;
|
|
102
|
+
chevron?: boolean;
|
|
88
103
|
indent?: boolean;
|
|
89
104
|
addDivider?: boolean;
|
|
90
105
|
}[];
|
|
@@ -30,18 +30,30 @@ export declare const useColumnHovering: (columnSets: Ref<DatagridConfigSettingsC
|
|
|
30
30
|
iconLeft?: object | Element | (object | Element)[];
|
|
31
31
|
iconRight?: object | Element | (object | Element)[];
|
|
32
32
|
title?: string;
|
|
33
|
-
event?:
|
|
33
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
34
34
|
isShort?: true;
|
|
35
35
|
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
36
36
|
menuData?: {
|
|
37
|
+
handler?: () => void;
|
|
38
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
37
39
|
text: string;
|
|
38
|
-
|
|
39
|
-
secondaryText?: string;
|
|
40
|
-
items?: any[];
|
|
40
|
+
critical?: boolean;
|
|
41
41
|
disabled?: boolean;
|
|
42
|
-
chevron?: boolean;
|
|
43
42
|
icon?: object | Element | (object | Element)[];
|
|
44
|
-
|
|
43
|
+
items?: {
|
|
44
|
+
text: string;
|
|
45
|
+
handler: () => void;
|
|
46
|
+
secondaryText?: string;
|
|
47
|
+
items?: any[];
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
chevron?: boolean;
|
|
50
|
+
icon?: object | Element | (object | Element)[];
|
|
51
|
+
critical?: boolean;
|
|
52
|
+
indent?: boolean;
|
|
53
|
+
addDivider?: boolean;
|
|
54
|
+
}[];
|
|
55
|
+
secondaryText?: string;
|
|
56
|
+
chevron?: boolean;
|
|
45
57
|
indent?: boolean;
|
|
46
58
|
addDivider?: boolean;
|
|
47
59
|
}[];
|
|
@@ -38,18 +38,30 @@ export declare const useColumnReorderer: (columnsRef: MaybeRef<BentoColumn[]>, h
|
|
|
38
38
|
iconLeft?: object | Element | (object | Element)[];
|
|
39
39
|
iconRight?: object | Element | (object | Element)[];
|
|
40
40
|
title?: string;
|
|
41
|
-
event?:
|
|
41
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
42
42
|
isShort?: true;
|
|
43
43
|
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
44
44
|
menuData?: {
|
|
45
|
+
handler?: () => void;
|
|
46
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
45
47
|
text: string;
|
|
46
|
-
|
|
47
|
-
secondaryText?: string;
|
|
48
|
-
items?: any[];
|
|
48
|
+
critical?: boolean;
|
|
49
49
|
disabled?: boolean;
|
|
50
|
-
chevron?: boolean;
|
|
51
50
|
icon?: object | Element | (object | Element)[];
|
|
52
|
-
|
|
51
|
+
items?: {
|
|
52
|
+
text: string;
|
|
53
|
+
handler: () => void;
|
|
54
|
+
secondaryText?: string;
|
|
55
|
+
items?: any[];
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
chevron?: boolean;
|
|
58
|
+
icon?: object | Element | (object | Element)[];
|
|
59
|
+
critical?: boolean;
|
|
60
|
+
indent?: boolean;
|
|
61
|
+
addDivider?: boolean;
|
|
62
|
+
}[];
|
|
63
|
+
secondaryText?: string;
|
|
64
|
+
chevron?: boolean;
|
|
53
65
|
indent?: boolean;
|
|
54
66
|
addDivider?: boolean;
|
|
55
67
|
}[];
|
|
@@ -85,18 +97,30 @@ export declare const useColumnReorderer: (columnsRef: MaybeRef<BentoColumn[]>, h
|
|
|
85
97
|
iconLeft?: object | Element | (object | Element)[];
|
|
86
98
|
iconRight?: object | Element | (object | Element)[];
|
|
87
99
|
title?: string;
|
|
88
|
-
event?:
|
|
100
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
89
101
|
isShort?: true;
|
|
90
102
|
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
91
103
|
menuData?: {
|
|
104
|
+
handler?: () => void;
|
|
105
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
92
106
|
text: string;
|
|
93
|
-
|
|
94
|
-
secondaryText?: string;
|
|
95
|
-
items?: any[];
|
|
107
|
+
critical?: boolean;
|
|
96
108
|
disabled?: boolean;
|
|
97
|
-
chevron?: boolean;
|
|
98
109
|
icon?: object | Element | (object | Element)[];
|
|
99
|
-
|
|
110
|
+
items?: {
|
|
111
|
+
text: string;
|
|
112
|
+
handler: () => void;
|
|
113
|
+
secondaryText?: string;
|
|
114
|
+
items?: any[];
|
|
115
|
+
disabled?: boolean;
|
|
116
|
+
chevron?: boolean;
|
|
117
|
+
icon?: object | Element | (object | Element)[];
|
|
118
|
+
critical?: boolean;
|
|
119
|
+
indent?: boolean;
|
|
120
|
+
addDivider?: boolean;
|
|
121
|
+
}[];
|
|
122
|
+
secondaryText?: string;
|
|
123
|
+
chevron?: boolean;
|
|
100
124
|
indent?: boolean;
|
|
101
125
|
addDivider?: boolean;
|
|
102
126
|
}[];
|
|
@@ -44,18 +44,30 @@ export declare const useConfigSettings: (columnsRef: MaybeRef<BentoColumn[]>, em
|
|
|
44
44
|
iconLeft?: object | Element | (object | Element)[];
|
|
45
45
|
iconRight?: object | Element | (object | Element)[];
|
|
46
46
|
title?: string;
|
|
47
|
-
event?:
|
|
47
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
48
48
|
isShort?: true;
|
|
49
49
|
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
50
50
|
menuData?: {
|
|
51
|
+
handler?: () => void;
|
|
52
|
+
event?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
51
53
|
text: string;
|
|
52
|
-
|
|
53
|
-
secondaryText?: string;
|
|
54
|
-
items?: any[];
|
|
54
|
+
critical?: boolean;
|
|
55
55
|
disabled?: boolean;
|
|
56
|
-
chevron?: boolean;
|
|
57
56
|
icon?: object | Element | (object | Element)[];
|
|
58
|
-
|
|
57
|
+
items?: {
|
|
58
|
+
text: string;
|
|
59
|
+
handler: () => void;
|
|
60
|
+
secondaryText?: string;
|
|
61
|
+
items?: any[];
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
chevron?: boolean;
|
|
64
|
+
icon?: object | Element | (object | Element)[];
|
|
65
|
+
critical?: boolean;
|
|
66
|
+
indent?: boolean;
|
|
67
|
+
addDivider?: boolean;
|
|
68
|
+
}[];
|
|
69
|
+
secondaryText?: string;
|
|
70
|
+
chevron?: boolean;
|
|
59
71
|
indent?: boolean;
|
|
60
72
|
addDivider?: boolean;
|
|
61
73
|
}[];
|
|
@@ -47,18 +47,30 @@ export declare const useResizer: (columns: Ref<BentoColumn[]>, emit: (event: Dat
|
|
|
47
47
|
iconLeft?: object | Element | (object | Element)[];
|
|
48
48
|
iconRight?: object | Element | (object | Element)[];
|
|
49
49
|
title?: string;
|
|
50
|
-
event?:
|
|
50
|
+
event?: import("../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
51
51
|
isShort?: true;
|
|
52
52
|
variant?: import("../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
53
53
|
menuData?: {
|
|
54
|
+
handler?: () => void;
|
|
55
|
+
event?: import("../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionEvent;
|
|
54
56
|
text: string;
|
|
55
|
-
|
|
56
|
-
secondaryText?: string;
|
|
57
|
-
items?: any[];
|
|
57
|
+
critical?: boolean;
|
|
58
58
|
disabled?: boolean;
|
|
59
|
-
chevron?: boolean;
|
|
60
59
|
icon?: object | Element | (object | Element)[];
|
|
61
|
-
|
|
60
|
+
items?: {
|
|
61
|
+
text: string;
|
|
62
|
+
handler: () => void;
|
|
63
|
+
secondaryText?: string;
|
|
64
|
+
items?: any[];
|
|
65
|
+
disabled?: boolean;
|
|
66
|
+
chevron?: boolean;
|
|
67
|
+
icon?: object | Element | (object | Element)[];
|
|
68
|
+
critical?: boolean;
|
|
69
|
+
indent?: boolean;
|
|
70
|
+
addDivider?: boolean;
|
|
71
|
+
}[];
|
|
72
|
+
secondaryText?: string;
|
|
73
|
+
chevron?: boolean;
|
|
62
74
|
indent?: boolean;
|
|
63
75
|
addDivider?: boolean;
|
|
64
76
|
}[];
|
|
@@ -102,8 +102,14 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
102
102
|
description: {
|
|
103
103
|
type: StringConstructor;
|
|
104
104
|
default: any;
|
|
105
|
-
};
|
|
105
|
+
}; /**
|
|
106
|
+
* If resize is enabled
|
|
107
|
+
*/
|
|
106
108
|
headingEl: {
|
|
109
|
+
/**
|
|
110
|
+
* A customisable method to determine if a row is not selectable.
|
|
111
|
+
* The default is that every row is selectable.
|
|
112
|
+
*/
|
|
107
113
|
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span">;
|
|
108
114
|
default: any;
|
|
109
115
|
validator: (value: import("../typography").BentoTypographyElement) => boolean;
|
|
@@ -222,29 +228,6 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
222
228
|
};
|
|
223
229
|
hasNext: {
|
|
224
230
|
type: BooleanConstructor;
|
|
225
|
-
/**
|
|
226
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
227
|
-
*
|
|
228
|
-
* @example
|
|
229
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
230
|
-
*
|
|
231
|
-
* export default {
|
|
232
|
-
* components: { BentoDataGrid },
|
|
233
|
-
* template: `
|
|
234
|
-
* <bento-data-grid
|
|
235
|
-
* :data="[
|
|
236
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
237
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
238
|
-
* ]"
|
|
239
|
-
* :columns="[
|
|
240
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
241
|
-
* { field: 'company', label: 'Reference' },
|
|
242
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
243
|
-
* ]"
|
|
244
|
-
* />
|
|
245
|
-
* `
|
|
246
|
-
* }
|
|
247
|
-
*/
|
|
248
231
|
default: any;
|
|
249
232
|
};
|
|
250
233
|
hidePageSize: {
|
|
@@ -422,8 +405,14 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
422
405
|
description: {
|
|
423
406
|
type: StringConstructor;
|
|
424
407
|
default: any;
|
|
425
|
-
};
|
|
408
|
+
}; /**
|
|
409
|
+
* If resize is enabled
|
|
410
|
+
*/
|
|
426
411
|
headingEl: {
|
|
412
|
+
/**
|
|
413
|
+
* A customisable method to determine if a row is not selectable.
|
|
414
|
+
* The default is that every row is selectable.
|
|
415
|
+
*/
|
|
427
416
|
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span">;
|
|
428
417
|
default: any;
|
|
429
418
|
validator: (value: import("../typography").BentoTypographyElement) => boolean;
|
|
@@ -542,29 +531,6 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
542
531
|
};
|
|
543
532
|
hasNext: {
|
|
544
533
|
type: BooleanConstructor;
|
|
545
|
-
/**
|
|
546
|
-
* A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
|
|
547
|
-
*
|
|
548
|
-
* @example
|
|
549
|
-
* import { BentoDataGrid } from '@adyen/bento-vue2';
|
|
550
|
-
*
|
|
551
|
-
* export default {
|
|
552
|
-
* components: { BentoDataGrid },
|
|
553
|
-
* template: `
|
|
554
|
-
* <bento-data-grid
|
|
555
|
-
* :data="[
|
|
556
|
-
* { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
|
|
557
|
-
* { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
|
|
558
|
-
* ]"
|
|
559
|
-
* :columns="[
|
|
560
|
-
* { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
|
|
561
|
-
* { field: 'company', label: 'Reference' },
|
|
562
|
-
* { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
|
|
563
|
-
* ]"
|
|
564
|
-
* />
|
|
565
|
-
* `
|
|
566
|
-
* }
|
|
567
|
-
*/
|
|
568
534
|
default: any;
|
|
569
535
|
};
|
|
570
536
|
hidePageSize: {
|
|
@@ -2,6 +2,7 @@ import { PropType, type default as Vue } from "../../../../../../vue3/node_modul
|
|
|
2
2
|
import { BentoPopoverPositions } from "../../../popover";
|
|
3
3
|
import { type BentoButtonActionObject } from "../../../button";
|
|
4
4
|
import type { VueNodeElement } from "../../../../types";
|
|
5
|
+
import type { BentoTutorialScrollOptions } from '../../tutorial.types';
|
|
5
6
|
declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
|
|
6
7
|
/**
|
|
7
8
|
* Optional configuration for the secondary action.
|
|
@@ -61,6 +62,15 @@ declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
|
|
|
61
62
|
default: import("../../../popper-container").PopperContainerPositionExtended;
|
|
62
63
|
validator: (value: BentoPopoverPositions) => boolean;
|
|
63
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* Options to control the scroll into view behavior.
|
|
67
|
+
* Takes the same options as the `scrollIntoView` function
|
|
68
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
69
|
+
*/
|
|
70
|
+
scrollOptions: {
|
|
71
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
72
|
+
default: any;
|
|
73
|
+
};
|
|
64
74
|
/**
|
|
65
75
|
* Indicates whether this popover is a single tutorial or a tour.
|
|
66
76
|
*/
|
|
@@ -166,6 +176,15 @@ declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
|
|
|
166
176
|
default: import("../../../popper-container").PopperContainerPositionExtended;
|
|
167
177
|
validator: (value: BentoPopoverPositions) => boolean;
|
|
168
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* Options to control the scroll into view behavior.
|
|
181
|
+
* Takes the same options as the `scrollIntoView` function
|
|
182
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
183
|
+
*/
|
|
184
|
+
scrollOptions: {
|
|
185
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
186
|
+
default: any;
|
|
187
|
+
};
|
|
169
188
|
/**
|
|
170
189
|
* Indicates whether this popover is a single tutorial or a tour.
|
|
171
190
|
*/
|
|
@@ -240,6 +259,7 @@ declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
|
|
|
240
259
|
active: boolean;
|
|
241
260
|
action: BentoButtonActionObject;
|
|
242
261
|
totalSteps: number;
|
|
262
|
+
scrollOptions: any;
|
|
243
263
|
}>, {
|
|
244
264
|
default: (_: {}) => any;
|
|
245
265
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
|
-
import type { BentoTutorialStep } from './tutorial.types';
|
|
2
|
+
import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.types';
|
|
3
3
|
/**
|
|
4
4
|
* The Tutorial is a temporary popover that should be used to educate users about
|
|
5
5
|
* new or unfamiliar features or experiences.
|
|
@@ -44,6 +44,15 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
44
44
|
required: true;
|
|
45
45
|
validator: (value: BentoTutorialStep[]) => boolean;
|
|
46
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* Options to control the scroll into view behavior.
|
|
49
|
+
* Takes the same options as the `scrollIntoView` function
|
|
50
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
51
|
+
*/
|
|
52
|
+
scrollOptions: {
|
|
53
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
47
56
|
}, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
48
57
|
/**
|
|
49
58
|
* The steps configuration for the tutorial.
|
|
@@ -54,5 +63,16 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
54
63
|
required: true;
|
|
55
64
|
validator: (value: BentoTutorialStep[]) => boolean;
|
|
56
65
|
};
|
|
57
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Options to control the scroll into view behavior.
|
|
68
|
+
* Takes the same options as the `scrollIntoView` function
|
|
69
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
|
|
70
|
+
*/
|
|
71
|
+
scrollOptions: {
|
|
72
|
+
type: PropType<BentoTutorialScrollOptions>;
|
|
73
|
+
default: any;
|
|
74
|
+
};
|
|
75
|
+
}>>, {
|
|
76
|
+
scrollOptions: any;
|
|
77
|
+
}>;
|
|
58
78
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as BentoTypography } from './typography.vue';
|
|
2
|
-
export * from
|
|
2
|
+
export * from "../../../../core/src/components/typography/typography.types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BentoTypographyElement, BentoTypographyVariant } from
|
|
1
|
+
import { BentoTypographyElement, BentoTypographyVariant } from "../../../../core/src/components/typography/typography.types";
|
|
2
2
|
/**
|
|
3
3
|
* The Typography component makes it easy to apply a default set of font weights, sizes and other text styles
|
|
4
4
|
* easily to text. The variants and properties match with those found in Figma.
|
package/dist/accordion.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as C, provide as k, toRef as B, openBlock as a, createElementBlock as r, renderSlot as E, ref as b, inject as O, computed as $, watch as s, createVNode as y, unref as e, withCtx as g, createElementVNode as h, createBlock as I, createTextVNode as z, toDisplayString as A, Transition as D, normalizeStyle as H, createCommentVNode as V } from "vue";
|
|
2
2
|
import { _ as N } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
-
import { B as w } from "./chunks/index.
|
|
4
|
-
import { C as R, a as j } from "./chunks/chevron-up.
|
|
3
|
+
import { B as w } from "./chunks/index.a3d60e4f.js";
|
|
4
|
+
import { C as R, a as j } from "./chunks/chevron-up.05ca20db.js";
|
|
5
5
|
import { g as x } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { o as M } from "./chunks/resize.a041304d.js";
|
|
7
7
|
import { u as U } from "./chunks/use-expandable-content-height.62fc84e5.js";
|
|
8
|
-
import "./assets/
|
|
8
|
+
import "./assets/index10.css";
|
|
9
9
|
const S = Symbol("accordion title size injection key"), q = { class: "b-accordion" }, J = {}, K = /* @__PURE__ */ C({
|
|
10
10
|
...J,
|
|
11
11
|
__name: "accordion",
|
package/dist/action-bar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { onMounted as k, nextTick as B, getCurrentScope as z, onScopeDispose as H, unref as o, getCurrentInstance as x, ref as _, watch as A, watchEffect as U, computed as y, defineComponent as Y, toRefs as K, provide as Q, openBlock as S, createBlock as I, Transition as $, withCtx as w, createElementVNode as V, normalizeClass as q, createElementBlock as J, createVNode as N, createCommentVNode as Z, createTextVNode as X, toDisplayString as W } from "vue";
|
|
2
|
-
import { a as ee } from "./chunks/button.
|
|
3
|
-
import { B as te } from "./chunks/index.
|
|
4
|
-
import { B as ne } from "./chunks/button-actions-with-menu.
|
|
5
|
-
import { C as ae } from "./chunks/cross.
|
|
2
|
+
import { a as ee } from "./chunks/button.60dad578.js";
|
|
3
|
+
import { B as te } from "./chunks/index.a3d60e4f.js";
|
|
4
|
+
import { B as ne } from "./chunks/button-actions-with-menu.7fce47a2.js";
|
|
5
|
+
import { C as ae } from "./chunks/cross.a60533f6.js";
|
|
6
6
|
import { u as oe } from "./chunks/i18n.f7e6533e.js";
|
|
7
|
-
import { P as ie } from "./chunks/index.
|
|
8
|
-
import { B as se } from "./chunks/button-actions.
|
|
7
|
+
import { P as ie } from "./chunks/index.5bdebf9d.js";
|
|
8
|
+
import { B as se } from "./chunks/button-actions.642b37de.js";
|
|
9
9
|
import { _ as ce } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
10
|
-
import "./assets/
|
|
10
|
+
import "./assets/index17.css";
|
|
11
11
|
function P(e) {
|
|
12
12
|
return z() ? (H(e), !0) : !1;
|
|
13
13
|
}
|
package/dist/alert.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as l, mergeProps as v, toDisplayString as b, createCommentVNode as a, createElementVNode as o, defineComponent as N, useSlots as A, computed as r, onMounted as M, unref as e, normalizeClass as R, createBlock as C, resolveDynamicComponent as D, withCtx as g, renderSlot as m, createVNode as P } from "vue";
|
|
2
|
-
import { c as Z, a as y, B as I } from "./chunks/index.
|
|
3
|
-
import { a as F } from "./chunks/button.
|
|
4
|
-
import { C as U } from "./chunks/cross-small.
|
|
2
|
+
import { c as Z, a as y, B as I } from "./chunks/index.a3d60e4f.js";
|
|
3
|
+
import { a as F } from "./chunks/button.60dad578.js";
|
|
4
|
+
import { C as U } from "./chunks/cross-small.9bc6a02f.js";
|
|
5
5
|
import { _ as $ } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
6
|
-
import { C as W } from "./chunks/cross-circle-fill.
|
|
7
|
-
import { C as q } from "./chunks/checkmark-circle-fill.
|
|
6
|
+
import { C as W } from "./chunks/cross-circle-fill.81925c7f.js";
|
|
7
|
+
import { C as q } from "./chunks/checkmark-circle-fill.f3a69c6a.js";
|
|
8
8
|
import { u as z } from "./chunks/use-has-slot.4d98bf29.js";
|
|
9
9
|
import { u as O } from "./chunks/i18n.f7e6533e.js";
|
|
10
|
-
import "./assets/
|
|
10
|
+
import "./assets/index11.css";
|
|
11
11
|
var p = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.TIP = "tip", t))(p || {}), n = /* @__PURE__ */ ((t) => (t.WARNING = "warning", t.CRITICAL = "critical", t.HIGHLIGHT = "highlight", t.SUCCESS = "success", t))(n || {}), S = /* @__PURE__ */ ((t) => (t.CLOSE_ALERT = "close-alert", t))(S || {});
|
|
12
12
|
let H = 0;
|
|
13
13
|
const Y = {
|