@adyen/bento-vue3 1.17.1 → 1.18.0-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.
Files changed (199) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +34 -0
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +137 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +66 -84
  5. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -1
  8. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -5
  9. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +12 -11
  10. package/dist/@types/packages/vue2/src/components/{internal/calendar → date-range-picker}/composables/use-granularity-memory.types.d.ts +2 -2
  11. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +46 -8
  12. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.keys.d.ts +1 -0
  13. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +22 -4
  14. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
  15. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -0
  16. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +2 -2
  17. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +7 -7
  18. package/dist/@types/packages/vue2/src/components/modal-fullscreen/index.d.ts +1 -0
  19. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.keys.d.ts +1 -0
  20. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +55 -0
  21. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +1 -1
  22. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  23. package/dist/accordion.js +2 -2
  24. package/dist/action-bar.js +5 -5
  25. package/dist/alert.js +3 -3
  26. package/dist/assets/base-modal.css +1 -1
  27. package/dist/assets/calendar.css +1 -1
  28. package/dist/assets/dropdown.css +1 -1
  29. package/dist/assets/index10.css +1 -1
  30. package/dist/assets/index11.css +1 -1
  31. package/dist/assets/index12.css +1 -1
  32. package/dist/assets/index13.css +1 -1
  33. package/dist/assets/index14.css +1 -1
  34. package/dist/assets/index15.css +1 -1
  35. package/dist/assets/index16.css +1 -1
  36. package/dist/assets/index17.css +1 -1
  37. package/dist/assets/index18.css +1 -1
  38. package/dist/assets/index19.css +1 -1
  39. package/dist/assets/index2.css +1 -1
  40. package/dist/assets/index20.css +1 -1
  41. package/dist/assets/index21.css +1 -1
  42. package/dist/assets/index22.css +1 -1
  43. package/dist/assets/index23.css +1 -1
  44. package/dist/assets/index24.css +1 -1
  45. package/dist/assets/index25.css +1 -1
  46. package/dist/assets/index26.css +1 -1
  47. package/dist/assets/index27.css +1 -1
  48. package/dist/assets/index28.css +1 -1
  49. package/dist/assets/index29.css +1 -1
  50. package/dist/assets/index3.css +1 -1
  51. package/dist/assets/index30.css +1 -1
  52. package/dist/assets/index31.css +1 -1
  53. package/dist/assets/index32.css +1 -1
  54. package/dist/assets/index33.css +1 -1
  55. package/dist/assets/index34.css +1 -1
  56. package/dist/assets/index35.css +1 -1
  57. package/dist/assets/index36.css +1 -1
  58. package/dist/assets/index37.css +1 -1
  59. package/dist/assets/index38.css +1 -1
  60. package/dist/assets/index39.css +1 -1
  61. package/dist/assets/index4.css +1 -1
  62. package/dist/assets/index40.css +1 -1
  63. package/dist/assets/index41.css +1 -1
  64. package/dist/assets/index42.css +1 -1
  65. package/dist/assets/index43.css +1 -1
  66. package/dist/assets/index44.css +1 -1
  67. package/dist/assets/index45.css +1 -1
  68. package/dist/assets/index46.css +1 -1
  69. package/dist/assets/index47.css +1 -1
  70. package/dist/assets/index48.css +1 -0
  71. package/dist/assets/index5.css +1 -1
  72. package/dist/assets/index6.css +1 -1
  73. package/dist/assets/index7.css +1 -1
  74. package/dist/assets/index8.css +1 -1
  75. package/dist/assets/index9.css +1 -1
  76. package/dist/avatar-image.js +1 -1
  77. package/dist/button.js +5 -5
  78. package/dist/card.js +2 -2
  79. package/dist/checkbox.js +6 -6
  80. package/dist/chunks/{base-button.6d14ec36.js → base-button.a34b2f17.js} +2 -2
  81. package/dist/chunks/{base-button.6d14ec36.js.map → base-button.a34b2f17.js.map} +1 -1
  82. package/dist/chunks/{base-modal.9b6b24d7.js → base-modal.0cb14ebe.js} +5 -5
  83. package/dist/chunks/{base-modal.9b6b24d7.js.map → base-modal.0cb14ebe.js.map} +1 -1
  84. package/dist/chunks/{button-actions-with-menu.1eda76b5.js → button-actions-with-menu.f14e3d79.js} +3 -3
  85. package/dist/chunks/{button-actions-with-menu.1eda76b5.js.map → button-actions-with-menu.f14e3d79.js.map} +1 -1
  86. package/dist/chunks/{button.7bd9bdbd.js → button.a3f504f2.js} +3 -3
  87. package/dist/chunks/{button.7bd9bdbd.js.map → button.a3f504f2.js.map} +1 -1
  88. package/dist/chunks/calendar.cf8da888.js +991 -0
  89. package/dist/chunks/calendar.cf8da888.js.map +1 -0
  90. package/dist/chunks/{checkbox.a2e3f31a.js → checkbox.af7975ea.js} +3 -3
  91. package/dist/chunks/{checkbox.a2e3f31a.js.map → checkbox.af7975ea.js.map} +1 -1
  92. package/dist/chunks/{controls-group.e4363077.js → controls-group.676a2e78.js} +3 -3
  93. package/dist/chunks/{controls-group.e4363077.js.map → controls-group.676a2e78.js.map} +1 -1
  94. package/dist/chunks/{copy.e9b248a9.js → copy.278c3832.js} +4 -4
  95. package/dist/chunks/{copy.e9b248a9.js.map → copy.278c3832.js.map} +1 -1
  96. package/dist/chunks/{dropdown-default-textbox.00d0efb7.js → dropdown-default-textbox.9945e77c.js} +2 -2
  97. package/dist/chunks/{dropdown-default-textbox.00d0efb7.js.map → dropdown-default-textbox.9945e77c.js.map} +1 -1
  98. package/dist/chunks/{dropdown.870403d0.js → dropdown.75a9554d.js} +7 -7
  99. package/dist/chunks/{dropdown.870403d0.js.map → dropdown.75a9554d.js.map} +1 -1
  100. package/dist/chunks/{error-message.c010f8c6.js → error-message.a29bfe9c.js} +2 -2
  101. package/dist/chunks/{error-message.c010f8c6.js.map → error-message.a29bfe9c.js.map} +1 -1
  102. package/dist/chunks/{fixed-scroller.e21fb261.js → fixed-scroller.2353328c.js} +2 -2
  103. package/dist/chunks/{fixed-scroller.e21fb261.js.map → fixed-scroller.2353328c.js.map} +1 -1
  104. package/dist/chunks/{footer-actions.60f65bcf.js → footer-actions.e2fc5859.js} +3 -3
  105. package/dist/chunks/{footer-actions.60f65bcf.js.map → footer-actions.e2fc5859.js.map} +1 -1
  106. package/dist/chunks/index.20b11987.js +2359 -0
  107. package/dist/chunks/index.20b11987.js.map +1 -0
  108. package/dist/chunks/index.2460ddb5.js +897 -0
  109. package/dist/chunks/index.2460ddb5.js.map +1 -0
  110. package/dist/chunks/{index.6b2a2666.js → index.305840c9.js} +2 -2
  111. package/dist/chunks/{index.6b2a2666.js.map → index.305840c9.js.map} +1 -1
  112. package/dist/chunks/{index.05d6f6b7.js → index.32c37673.js} +3 -3
  113. package/dist/chunks/{index.05d6f6b7.js.map → index.32c37673.js.map} +1 -1
  114. package/dist/chunks/{index.1018f66b.js → index.4e3fb264.js} +2 -2
  115. package/dist/chunks/{index.1018f66b.js.map → index.4e3fb264.js.map} +1 -1
  116. package/dist/chunks/{index.69a2b010.js → index.5665eddc.js} +30 -30
  117. package/dist/chunks/index.5665eddc.js.map +1 -0
  118. package/dist/chunks/{index.5d541c5b.js → index.772829fb.js} +61 -59
  119. package/dist/chunks/index.772829fb.js.map +1 -0
  120. package/dist/chunks/{index.439cea5c.js → index.97e82992.js} +3 -3
  121. package/dist/chunks/{index.439cea5c.js.map → index.97e82992.js.map} +1 -1
  122. package/dist/chunks/{index.36433827.js → index.a2264744.js} +2 -2
  123. package/dist/chunks/{index.36433827.js.map → index.a2264744.js.map} +1 -1
  124. package/dist/chunks/{index.0530121d.js → index.a42b2214.js} +7 -7
  125. package/dist/chunks/{index.0530121d.js.map → index.a42b2214.js.map} +1 -1
  126. package/dist/chunks/{index.476b6eba.js → index.bc859c69.js} +3 -3
  127. package/dist/chunks/{index.476b6eba.js.map → index.bc859c69.js.map} +1 -1
  128. package/dist/chunks/{index.1e24efca.js → index.f1710c6e.js} +6 -6
  129. package/dist/chunks/{index.1e24efca.js.map → index.f1710c6e.js.map} +1 -1
  130. package/dist/chunks/{listbox-option-tag.9fecc402.js → listbox-option-tag.d215e7ab.js} +3 -3
  131. package/dist/chunks/{listbox-option-tag.9fecc402.js.map → listbox-option-tag.d215e7ab.js.map} +1 -1
  132. package/dist/chunks/{listbox.9119519a.js → listbox.2d831983.js} +5 -5
  133. package/dist/chunks/{listbox.9119519a.js.map → listbox.2d831983.js.map} +1 -1
  134. package/dist/chunks/{loading-button.935eee8d.js → loading-button.23c75db8.js} +2 -2
  135. package/dist/chunks/{loading-button.935eee8d.js.map → loading-button.23c75db8.js.map} +1 -1
  136. package/dist/chunks/{tooltip.8ef2e9f7.js → tooltip.da7c4eda.js} +3 -3
  137. package/dist/chunks/{tooltip.8ef2e9f7.js.map → tooltip.da7c4eda.js.map} +1 -1
  138. package/dist/code-snippet.js +7 -7
  139. package/dist/code-snippet.js.map +1 -1
  140. package/dist/country.js +2 -2
  141. package/dist/currency.js +1 -1
  142. package/dist/data-grid.js +1 -1
  143. package/dist/date-picker.js +8 -8
  144. package/dist/date-range-picker.js +2 -2
  145. package/dist/date.js +1 -1
  146. package/dist/divider.js +1 -1
  147. package/dist/dropdown.js +6 -6
  148. package/dist/empty-state.js +3 -3
  149. package/dist/filter-bar.js +801 -752
  150. package/dist/filter-bar.js.map +1 -1
  151. package/dist/focus-trap.js +1 -1
  152. package/dist/form-layout.js +2 -2
  153. package/dist/header.js +4 -4
  154. package/dist/index.js +152 -150
  155. package/dist/index.js.map +1 -1
  156. package/dist/info-icon.js +3 -3
  157. package/dist/input-field.js +112 -101
  158. package/dist/input-field.js.map +1 -1
  159. package/dist/internal.js +7 -7
  160. package/dist/link.js +1 -1
  161. package/dist/loading-indicator.js +1 -1
  162. package/dist/menu.js +1 -1
  163. package/dist/modal-fullscreen.js +155 -0
  164. package/dist/modal-fullscreen.js.map +1 -0
  165. package/dist/modal.js +5 -5
  166. package/dist/pagination.js +4 -4
  167. package/dist/payment-method.js +2 -2
  168. package/dist/popover.js +1 -1
  169. package/dist/popper-container.js +1 -1
  170. package/dist/radio-group.js +6 -6
  171. package/dist/radio-group.js.map +1 -1
  172. package/dist/search-bar.js +2 -2
  173. package/dist/secondary-nav.js +2 -2
  174. package/dist/segmented-control.js +3 -3
  175. package/dist/sidepanel.js +5 -5
  176. package/dist/status.js +2 -2
  177. package/dist/stepper.js +3 -3
  178. package/dist/structured-list.js +1 -1
  179. package/dist/summary-grid.js +3 -3
  180. package/dist/tabs.js +3 -3
  181. package/dist/tag.js +3 -3
  182. package/dist/textarea.js +4 -4
  183. package/dist/timeline.js +6 -6
  184. package/dist/toast.js +3 -3
  185. package/dist/toggle.js +2 -2
  186. package/dist/tutorial.js +5 -5
  187. package/dist/typography.js +1 -1
  188. package/dist/web-types.json +1 -1
  189. package/package.json +2 -2
  190. package/dist/chunks/calendar.69235b09.js +0 -1038
  191. package/dist/chunks/calendar.69235b09.js.map +0 -1
  192. package/dist/chunks/index.555eecc5.js +0 -820
  193. package/dist/chunks/index.555eecc5.js.map +0 -1
  194. package/dist/chunks/index.5d541c5b.js.map +0 -1
  195. package/dist/chunks/index.69a2b010.js.map +0 -1
  196. package/dist/chunks/index.fef636c9.js +0 -2276
  197. package/dist/chunks/index.fef636c9.js.map +0 -1
  198. /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
  199. /package/dist/@types/packages/vue2/src/components/{internal/calendar → date-range-picker}/composables/use-granularity-memory.d.ts +0 -0
@@ -44,6 +44,7 @@ import {
44
44
  BentoLoadingIndicator,
45
45
  BentoMenu,
46
46
  BentoModal,
47
+ BentoModalFullscreen,
47
48
  BentoPagination,
48
49
  BentoPaymentMethod,
49
50
  BentoPopover,
@@ -124,6 +125,7 @@ declare module 'vue' {
124
125
  BentoLoadingIndicator: typeof BentoLoadingIndicator;
125
126
  BentoMenu: typeof BentoMenu;
126
127
  BentoModal: typeof BentoModal;
128
+ BentoModalFullscreen: typeof BentoModalFullscreen;
127
129
  BentoPagination: typeof BentoPagination;
128
130
  BentoPaymentMethod: typeof BentoPaymentMethod;
129
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,137 @@
1
+ import { PropType } from "../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/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: () => boolean;
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("../../../../../../vue3/node_modules/vue").Ref<HTMLDivElement>;
60
+ }, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").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, 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<{
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: () => boolean;
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
+ "onOn-frozen-columns-key-press"?: (event: Event) => any;
121
+ "onSelect-row"?: (value: BentoDatagridDataItemId[]) => any;
122
+ "onRegister-row-cell-element"?: (el: Element, field: string, rowIndex: number) => any;
123
+ }, {
124
+ condensed: boolean;
125
+ draggingColumns: any;
126
+ getDataItemId: BentoDatagridGetDataItemIdFn;
127
+ isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
128
+ isMeasuringColumnWidths: boolean;
129
+ }>, Record<string, (_: {
130
+ item: BentoDatagridDataItem;
131
+ }) => any>>;
132
+ export default _default;
133
+ type __VLS_WithTemplateSlots<T, S> = T & {
134
+ new (): {
135
+ $slots: S;
136
+ };
137
+ };
@@ -1,8 +1,7 @@
1
1
  import { PropType } from "../../../../../../vue3/node_modules/vue";
2
- import { BentoColumn, BentoDatagridAllItemsSelectedState, BentoDatagridAriaSortValue, BentoDatagridSortByColumn, BentoDatagridSortDirection } from '../../data-grid.types';
3
- import { BentoDatagridDraggingColumnState, DatagridColumnsEvent } from './data-grid-columns-types';
4
- import type { BentoMenuItem } from "../../../menu/components";
5
- declare const _default: import("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/vue").DefineComponent<{
6
5
  columns: {
7
6
  type: PropType<BentoColumn[]>;
8
7
  required: true;
@@ -31,6 +30,10 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
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("../../../../../../vue3/node_modules/vue").Define
59
62
  type: BooleanConstructor;
60
63
  default: boolean;
61
64
  };
62
- }, {
63
- DATAGRID_SELECT_FIELD_NAME: string;
64
- conditionalColumnClasses: (column: BentoColumn) => {
65
- 'b-data-grid-columns__column--sortable': boolean;
66
- 'b-data-grid-columns__column--padding-left-unset': boolean;
67
- 'b-data-grid-columns__column--padding-right-unset': boolean;
68
- 'b-data-grid-columns__column--numeric': boolean;
69
- 'b-data-grid-columns__column--frozen': boolean;
70
- 'b-data-grid-columns__column--is-re-ordering': boolean;
71
- 'b-data-grid-columns__column--is-re-ordering-target-left': any;
72
- 'b-data-grid-columns__column--is-re-ordering-target-right': boolean;
73
- };
74
- conditionalColumnSeparatorClasses: import("../../../../../../vue3/node_modules/vue").ComputedRef<{
75
- 'b-data-grid-columns__column-separator-container--is-resizeable': boolean;
76
- }>;
77
- conditionalColumnsClasses: import("../../../../../../vue3/node_modules/vue").ComputedRef<{
78
- 'b-data-grid-columns--frozen': boolean;
79
- 'b-data-grid-columns--frozen-separator': boolean;
80
- 'b-data-grid-columns--overflow-shadow-left': boolean;
81
- 'b-data-grid-columns--unfrozen'?: undefined;
82
- 'b-data-grid-columns--config-settings-margin'?: undefined;
83
- } | {
84
- 'b-data-grid-columns--unfrozen': boolean;
85
- 'b-data-grid-columns--config-settings-margin': boolean;
86
- 'b-data-grid-columns--frozen'?: undefined;
87
- 'b-data-grid-columns--frozen-separator'?: undefined;
88
- 'b-data-grid-columns--overflow-shadow-left'?: undefined;
89
- }>;
90
- conditionalColumnHeaderClasses: import("../../../../../../vue3/node_modules/vue").ComputedRef<{
91
- 'b-data-grid-columns__column-header--truncated': boolean;
92
- }>;
93
- isSelectColumn: (column: BentoColumn) => boolean;
94
- onAllRowSelect: (areAllItemsSelected: boolean) => void;
95
- selectAllMenu: import("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/vue").Ref<boolean>;
106
- dataGridColumnEvents: (column: BentoColumn) => {
107
- [eventName: string]: (e: Event) => void;
108
- };
109
- draggingEventsForColumn: import("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/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
- }, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, DatagridColumnsEvent[], DatagridColumnsEvent, 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<{
65
+ }, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").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, 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<{
128
95
  columns: {
129
96
  type: PropType<BentoColumn[]>;
130
97
  required: true;
@@ -153,6 +120,10 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
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;
@@ -182,19 +153,22 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
182
153
  default: boolean;
183
154
  };
184
155
  }>> & {
185
- "onColumn-resize"?: (...args: any[]) => any;
186
- "onColumn-resizing"?: (...args: any[]) => any;
187
- onSort?: (...args: any[]) => any;
188
- "onSelect-all-rows"?: (...args: any[]) => any;
189
- "onSelect-all-across-pages"?: (...args: any[]) => any;
190
- "onColumn-move"?: (...args: any[]) => any;
191
- "onColumn-update"?: (...args: any[]) => any;
192
- "onColumn-menu-open"?: (...args: any[]) => any;
193
- "onColumn-menu-close"?: (...args: any[]) => any;
194
- "onColumn-dragstart"?: (...args: any[]) => any;
195
- "onColumn-dragenter"?: (...args: any[]) => any;
196
- "onColumn-dragend"?: (...args: any[]) => any;
197
- "onColumn-drop"?: (...args: any[]) => any;
156
+ "onColumn-resize"?: (column: {
157
+ field: string;
158
+ width: number;
159
+ }) => any;
160
+ "onColumn-resizing"?: (value: BentoColumnWidthOverridesLookup) => any;
161
+ onSort?: (updatedSortBy: BentoDatagridSortByColumn[]) => any;
162
+ "onSelect-all-rows"?: (areAllItemsSelected: boolean) => any;
163
+ "onSelect-all-across-pages"?: () => any;
164
+ "onColumn-move"?: (movingColumn: BentoColumn, offset: number) => any;
165
+ "onColumn-update"?: (column: BentoColumn) => any;
166
+ "onColumn-menu-open"?: () => any;
167
+ "onColumn-menu-close"?: () => any;
168
+ "onColumn-dragstart"?: (column: BentoColumn, event: DragEvent & Event) => any;
169
+ "onColumn-dragenter"?: (column: BentoColumn, event: DragEvent & Event) => any;
170
+ "onColumn-dragend"?: () => any;
171
+ "onColumn-drop"?: (column: BentoColumn) => any;
198
172
  }, {
199
173
  isFrozenColumns: boolean;
200
174
  draggingColumns: any;
@@ -203,11 +177,19 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
203
177
  hasColumnPanel: boolean;
204
178
  hasFirstColumnPanelRightAligned: boolean;
205
179
  hasLeftOverflow: boolean;
180
+ isMeasuringColunWidths: boolean;
206
181
  isOnlyOneVisibleColumn: boolean;
207
182
  showFrozenColumnsSeparator: boolean;
208
183
  allItemsSelectedState: BentoDatagridAllItemsSelectedState;
209
184
  selectableAcrossPages: boolean;
210
185
  sortBy: BentoDatagridSortByColumn[];
211
186
  truncateColumnHeaders: boolean;
212
- }>;
187
+ }>, Record<string, (_: {
188
+ column: BentoColumn;
189
+ }) => any>>;
213
190
  export default _default;
191
+ type __VLS_WithTemplateSlots<T, S> = T & {
192
+ new (): {
193
+ $slots: S;
194
+ };
195
+ };
@@ -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 "../../../../../vue3/node_modules/vue";
2
2
  import { BentoColumn, BentoColumnWidthOverridesLookup } from '../data-grid.types';
3
- import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns-types';
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("../../../../../vue3/node_modules/vue").ToRefs<{}>;
@@ -1,6 +1,6 @@
1
1
  import { Ref } from "../../../../../vue3/node_modules/vue";
2
2
  import { BentoColumn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from '../data-grid.types';
3
- import { DatagridColumnsEvent } from '../components/data-grid-columns/data-grid-columns-types';
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;
@@ -424,14 +424,14 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
424
424
  selectableAcrossPages: boolean;
425
425
  sortBy: BentoDatagridSortByColumn[];
426
426
  truncateColumnHeaders: boolean;
427
+ getDataItemId: BentoDatagridGetDataItemIdFn;
428
+ isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
427
429
  filterValues: any;
428
430
  allowRowClicks: boolean;
429
431
  allowColumnDragAndDrop: boolean;
430
432
  bulkActions: BentoButtonActionsList;
431
433
  columnPanel: boolean;
432
434
  filterSearchTerm: any;
433
- getDataItemId: BentoDatagridGetDataItemIdFn;
434
- isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
435
435
  pagination: any;
436
436
  stickyPagination: boolean;
437
437
  stickyFilters: boolean;
@@ -439,9 +439,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
439
439
  selection: BentoDatagridDataItemId[];
440
440
  highlightedRows: BentoDatagridDataItemId[];
441
441
  tabTitle: string;
442
- }>, Record<NonNullable<string | number>, (_: any) => any> & Record<string, (_: {
443
- item: BentoDatagridDataItem;
444
- }) => any> & {
442
+ }>, Record<NonNullable<string | number>, (_: any) => any> & Record<NonNullable<string | number>, (_: any) => any> & {
445
443
  header: (_: {}) => any;
446
444
  footer: (_: {}) => any;
447
445
  }>;
@@ -1,8 +1,8 @@
1
1
  import { PropType } from "../../../../../../vue3/node_modules/vue";
2
- import { CalendarRangeDateValue } from "../../../internal";
2
+ import { CalendarGranularityType } from "../../../internal";
3
3
  import { type BentoSegmentedControlItem } from "../../../segmented-control";
4
4
  import { DateRangePickerCalendarEvent, DateRangePickerCalendarFormData, DateRangePickerCalendarRangeSelectorItems } from './date-range-picker-calendar.types';
5
- import type { BentoDateRangePickerGranularityConfig } from '../../date-range-picker.types';
5
+ import type { BentoDateRangePickerGranularityConfig, BentoDateRangePickerValue } from '../../date-range-picker.types';
6
6
  declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{
7
7
  allowTimeInput: {
8
8
  type: BooleanConstructor;
@@ -19,7 +19,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
19
19
  };
20
20
  firstDayOfWeek: any;
21
21
  granularities: {
22
- type: PropType<BentoDateRangePickerGranularityConfig<import("../../../internal").CalendarGranularityType>[]>;
22
+ type: PropType<BentoDateRangePickerGranularityConfig<CalendarGranularityType>[]>;
23
23
  default: any;
24
24
  };
25
25
  isDateDisabled: any;
@@ -32,12 +32,12 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
32
32
  default: any;
33
33
  };
34
34
  value: {
35
- type: PropType<CalendarRangeDateValue>;
35
+ type: PropType<BentoDateRangePickerValue>;
36
36
  default: any;
37
37
  };
38
38
  }, {
39
39
  internalRangeDate: {
40
- granularity?: import("../../../internal").CalendarGranularityType;
40
+ granularity?: CalendarGranularityType;
41
41
  startDate: {
42
42
  toString: () => string;
43
43
  toDateString: () => string;
@@ -176,7 +176,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
176
176
  endDateError: import("../../../../../../vue3/node_modules/vue").Ref<boolean>;
177
177
  endTimeError: import("../../../../../../vue3/node_modules/vue").Ref<boolean>;
178
178
  granularityItems: import("../../../../../../vue3/node_modules/vue").ComputedRef<BentoSegmentedControlItem[]>;
179
- selectedGranularity: import("../../../../../../vue3/node_modules/vue").ComputedRef<BentoDateRangePickerGranularityConfig<import("../../../internal").CalendarGranularityType>>;
179
+ selectedGranularity: import("../../../../../../vue3/node_modules/vue").ComputedRef<BentoDateRangePickerGranularityConfig<CalendarGranularityType>>;
180
180
  computedMinMax: import("../../../../../../vue3/node_modules/vue").ComputedRef<{
181
181
  min: Date;
182
182
  max: Date;
@@ -193,11 +193,12 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
193
193
  }>;
194
194
  hasSlot: (name: string) => boolean;
195
195
  t: (key: "daily" | "weekly" | "monthly" | "customRange" | "dateFrom" | "dateTo" | "lastMonth" | "lastSevenDays" | "lastThreeMonths" | "timeFrom" | "timeTo", values?: import("vue-i18n").default.Values) => string;
196
- onDateInput: (selectedRange: CalendarRangeDateValue) => void;
196
+ onDateInput: (selectedRange: BentoDateRangePickerValue) => void;
197
197
  onDateInputKeyDown: (event: KeyboardEvent) => void;
198
198
  onEndDateInput: (endDateText: string) => void;
199
199
  onEndDateSelected: (newEndDate: Date) => void;
200
200
  onEndTimeInput: (endDateText: string) => void;
201
+ onGranularityInput: (value: CalendarGranularityType) => void;
201
202
  onRangeSelectorInput: (newCustomRangeValue: string) => void;
202
203
  onStartDateInput: (startDateText: string) => void;
203
204
  onStartDateSelected: (newStartDate: Date) => void;
@@ -219,7 +220,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
219
220
  };
220
221
  firstDayOfWeek: any;
221
222
  granularities: {
222
- type: PropType<BentoDateRangePickerGranularityConfig<import("../../../internal").CalendarGranularityType>[]>;
223
+ type: PropType<BentoDateRangePickerGranularityConfig<CalendarGranularityType>[]>;
223
224
  default: any;
224
225
  };
225
226
  isDateDisabled: any;
@@ -232,7 +233,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
232
233
  default: any;
233
234
  };
234
235
  value: {
235
- type: PropType<CalendarRangeDateValue>;
236
+ type: PropType<BentoDateRangePickerValue>;
236
237
  default: any;
237
238
  };
238
239
  }>> & {
@@ -241,7 +242,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
241
242
  "onCustom-range"?: (...args: any[]) => any;
242
243
  "onForm-date"?: (...args: any[]) => any;
243
244
  }, {
244
- value: CalendarRangeDateValue;
245
+ value: BentoDateRangePickerValue;
245
246
  max: any;
246
247
  min: any;
247
248
  isDateDisabled: any;
@@ -250,7 +251,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
250
251
  numberOfMonths: any;
251
252
  allowTimeInput: boolean;
252
253
  dateFormData: DateRangePickerCalendarFormData;
253
- granularities: BentoDateRangePickerGranularityConfig<import("../../../internal").CalendarGranularityType>[];
254
+ granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
254
255
  quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
255
256
  }>;
256
257
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { CalendarGranularityType } from '../calendar.types';
1
+ import type { CalendarGranularityType } from '../../internal/calendar/calendar.types';
2
2
  export type UseGranularityMemory = () => {
3
3
  savedRanges: {
4
4
  daily: {
@@ -18,5 +18,5 @@ export type UseGranularityMemory = () => {
18
18
  startDate: Date;
19
19
  endDate: Date;
20
20
  }) => void;
21
- resetSavedRange: (type: CalendarGranularityType) => void;
21
+ resetSavedRanges: () => void;
22
22
  };