@nanahoshi/mona-ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +25 -0
  2. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +590 -0
  3. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +168 -0
  4. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +220 -0
  5. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +225 -0
  6. package/fesm2022/nanahoshi-mona-ui-button.mjs +497 -0
  7. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +1569 -0
  8. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +339 -0
  9. package/fesm2022/nanahoshi-mona-ui-chip.mjs +453 -0
  10. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +200 -0
  11. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +853 -0
  12. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +923 -0
  13. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +495 -0
  14. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +686 -0
  15. package/fesm2022/nanahoshi-mona-ui-common.mjs +642 -0
  16. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +485 -0
  17. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +132 -0
  18. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +460 -0
  19. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +659 -0
  20. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +828 -0
  21. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +523 -0
  22. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +615 -0
  23. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +701 -0
  24. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1400 -0
  25. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +245 -0
  26. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +170 -0
  27. package/fesm2022/nanahoshi-mona-ui-filter.mjs +680 -0
  28. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-cell.component-B9SQH5N-.mjs +105 -0
  29. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-DlLwcCFT.mjs +42 -0
  30. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-Dgea-O0X.mjs +130 -0
  31. package/fesm2022/nanahoshi-mona-ui-grid-grid-toggle.component-DIUutx9s.mjs +773 -0
  32. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DRHycGIh.mjs +240 -0
  33. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-C3eZIaJK.mjs +5374 -0
  34. package/fesm2022/nanahoshi-mona-ui-grid.mjs +2 -0
  35. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +87 -0
  36. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +154 -0
  37. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1356 -0
  38. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2263 -0
  39. package/fesm2022/nanahoshi-mona-ui-internal.mjs +379 -0
  40. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +630 -0
  41. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +527 -0
  42. package/fesm2022/nanahoshi-mona-ui-list.mjs +4 -0
  43. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +966 -0
  44. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +641 -0
  45. package/fesm2022/nanahoshi-mona-ui-notification.mjs +536 -0
  46. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +597 -0
  47. package/fesm2022/nanahoshi-mona-ui-pager.mjs +790 -0
  48. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +83 -0
  49. package/fesm2022/nanahoshi-mona-ui-popover.mjs +325 -0
  50. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +1559 -0
  51. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1321 -0
  52. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +294 -0
  53. package/fesm2022/nanahoshi-mona-ui-query.mjs +175 -0
  54. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +339 -0
  55. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +565 -0
  56. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1049 -0
  57. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +636 -0
  58. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +843 -0
  59. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +537 -0
  60. package/fesm2022/nanahoshi-mona-ui-switch.mjs +308 -0
  61. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +664 -0
  62. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +111 -0
  63. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +369 -0
  64. package/fesm2022/nanahoshi-mona-ui-theme.mjs +314 -0
  65. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +450 -0
  66. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +723 -0
  67. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +716 -0
  68. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +733 -0
  69. package/fesm2022/nanahoshi-mona-ui-window.mjs +1329 -0
  70. package/fesm2022/nanahoshi-mona-ui.mjs +9 -0
  71. package/package.json +289 -0
  72. package/types/nanahoshi-mona-ui-auto-complete.d.ts +223 -0
  73. package/types/nanahoshi-mona-ui-avatar.d.ts +642 -0
  74. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +70 -0
  75. package/types/nanahoshi-mona-ui-button-group.d.ts +77 -0
  76. package/types/nanahoshi-mona-ui-button.d.ts +111 -0
  77. package/types/nanahoshi-mona-ui-calendar.d.ts +262 -0
  78. package/types/nanahoshi-mona-ui-check-box.d.ts +133 -0
  79. package/types/nanahoshi-mona-ui-chip.d.ts +130 -0
  80. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +113 -0
  81. package/types/nanahoshi-mona-ui-color-gradient.d.ts +201 -0
  82. package/types/nanahoshi-mona-ui-color-palette.d.ts +102 -0
  83. package/types/nanahoshi-mona-ui-color-picker.d.ts +156 -0
  84. package/types/nanahoshi-mona-ui-combo-box.d.ts +232 -0
  85. package/types/nanahoshi-mona-ui-common.d.ts +386 -0
  86. package/types/nanahoshi-mona-ui-contextmenu.d.ts +129 -0
  87. package/types/nanahoshi-mona-ui-date-input.d.ts +60 -0
  88. package/types/nanahoshi-mona-ui-date-picker.d.ts +177 -0
  89. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +199 -0
  90. package/types/nanahoshi-mona-ui-dialog.d.ts +261 -0
  91. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +159 -0
  92. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +219 -0
  93. package/types/nanahoshi-mona-ui-dropdowns.d.ts +176 -0
  94. package/types/nanahoshi-mona-ui-editor.d.ts +113 -0
  95. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +87 -0
  96. package/types/nanahoshi-mona-ui-fieldset.d.ts +68 -0
  97. package/types/nanahoshi-mona-ui-filter.d.ts +115 -0
  98. package/types/nanahoshi-mona-ui-grid.d.ts +1114 -0
  99. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +25 -0
  100. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +28 -0
  101. package/types/nanahoshi-mona-ui-internal-list.d.ts +269 -0
  102. package/types/nanahoshi-mona-ui-internal-tree.d.ts +391 -0
  103. package/types/nanahoshi-mona-ui-internal.d.ts +136 -0
  104. package/types/nanahoshi-mona-ui-list-box.d.ts +225 -0
  105. package/types/nanahoshi-mona-ui-list-view.d.ts +188 -0
  106. package/types/nanahoshi-mona-ui-list.d.ts +1 -0
  107. package/types/nanahoshi-mona-ui-menubar.d.ts +198 -0
  108. package/types/nanahoshi-mona-ui-multi-select.d.ts +247 -0
  109. package/types/nanahoshi-mona-ui-notification.d.ts +106 -0
  110. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +161 -0
  111. package/types/nanahoshi-mona-ui-pager.d.ts +238 -0
  112. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -0
  113. package/types/nanahoshi-mona-ui-popover.d.ts +130 -0
  114. package/types/nanahoshi-mona-ui-popup-menu.d.ts +412 -0
  115. package/types/nanahoshi-mona-ui-popup.d.ts +485 -0
  116. package/types/nanahoshi-mona-ui-progress-bar.d.ts +139 -0
  117. package/types/nanahoshi-mona-ui-query.d.ts +89 -0
  118. package/types/nanahoshi-mona-ui-radio-button.d.ts +128 -0
  119. package/types/nanahoshi-mona-ui-scroll-view.d.ts +166 -0
  120. package/types/nanahoshi-mona-ui-slider.d.ts +305 -0
  121. package/types/nanahoshi-mona-ui-split-button.d.ts +182 -0
  122. package/types/nanahoshi-mona-ui-splitter.d.ts +70 -0
  123. package/types/nanahoshi-mona-ui-stepper.d.ts +173 -0
  124. package/types/nanahoshi-mona-ui-switch.d.ts +125 -0
  125. package/types/nanahoshi-mona-ui-tabs.d.ts +158 -0
  126. package/types/nanahoshi-mona-ui-text-area.d.ts +42 -0
  127. package/types/nanahoshi-mona-ui-text-box.d.ts +164 -0
  128. package/types/nanahoshi-mona-ui-theme.d.ts +23 -0
  129. package/types/nanahoshi-mona-ui-time-picker.d.ts +184 -0
  130. package/types/nanahoshi-mona-ui-time-selector.d.ts +143 -0
  131. package/types/nanahoshi-mona-ui-tooltip.d.ts +130 -0
  132. package/types/nanahoshi-mona-ui-tree-view.d.ts +274 -0
  133. package/types/nanahoshi-mona-ui-window.d.ts +295 -0
  134. package/types/nanahoshi-mona-ui.d.ts +2 -0
@@ -0,0 +1,1114 @@
1
+ import { DataType, PreventableEvent, VirtualScrollOptions } from '@nanahoshi/mona-ui/common';
2
+ import { FieldTree, SchemaOrSchemaFn, ValidationError } from '@angular/forms/signals';
3
+ import * as _angular_core from '@angular/core';
4
+ import { TemplateRef, WritableSignal, OnInit, ElementRef } from '@angular/core';
5
+ import { SortDirection, CompositeFilterDescriptor, SortDescriptor, FilterLogic, FilterOperators } from '@nanahoshi/mona-ui/query';
6
+ import { Selector, ImmutableDictionary, ImmutableList, ImmutableSet } from '@mirei/ts-collections';
7
+ import * as _nanahoshi_mona_ui_grid from '@nanahoshi/mona-ui/grid';
8
+ import { CdkDropList, CdkDragEnter, CdkDragStart, CdkDragDrop } from '@angular/cdk/drag-drop';
9
+ import { PageChangeEvent, PageSizeChangeEvent } from '@nanahoshi/mona-ui/pager';
10
+ import { FilterMenuValue } from '@nanahoshi/mona-ui/filter';
11
+ import * as rxjs from 'rxjs';
12
+ import { Subject, BehaviorSubject } from 'rxjs';
13
+ import { PopupMenuItem } from '@nanahoshi/mona-ui/popup-menu';
14
+ import * as class_variance_authority_types from 'class-variance-authority/types';
15
+ import { VariantProps } from 'class-variance-authority';
16
+ import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
17
+ import { VariantInputs } from '@nanahoshi/mona-ui/internal';
18
+
19
+ type AggregateFunction = "sum" | "avg" | "count" | "min" | "max" | "custom";
20
+
21
+ type GridColumnLockedPosition = "left" | "right";
22
+
23
+ type ColumnKind = "command" | "data";
24
+ type ColumnFormat = string | ((column: Column) => string);
25
+ interface ColumnConfig {
26
+ readonly aggregate: AggregateFunction | null;
27
+ readonly cellTemplate: TemplateRef<unknown> | null;
28
+ readonly commandTemplate: TemplateRef<unknown> | null;
29
+ readonly dataType: DataType;
30
+ readonly editTemplate: TemplateRef<unknown> | null;
31
+ readonly editable: boolean;
32
+ readonly field: string;
33
+ readonly format: ColumnFormat | null;
34
+ readonly footerTemplate: TemplateRef<unknown> | null;
35
+ readonly groupFooterTemplate: TemplateRef<unknown> | null;
36
+ readonly headerTemplate: TemplateRef<unknown> | null;
37
+ readonly hidden: boolean;
38
+ readonly id: string;
39
+ readonly kind: ColumnKind;
40
+ readonly locked: boolean;
41
+ readonly lockedPosition: GridColumnLockedPosition;
42
+ readonly maxWidth: number | null;
43
+ readonly minWidth: number | null;
44
+ readonly removeConfirmation: boolean;
45
+ readonly stateKey: string | null;
46
+ readonly title: string;
47
+ readonly titleTemplate: TemplateRef<unknown> | null;
48
+ readonly width: number | null;
49
+ }
50
+ interface Column extends ColumnConfig {
51
+ readonly calculatedWidth: number | null;
52
+ readonly columnSortDirection: SortDirection | null;
53
+ readonly configuredHidden: boolean;
54
+ readonly filtered: boolean;
55
+ readonly groupSortDirection: SortDirection | null;
56
+ readonly hidden: boolean;
57
+ readonly index: number;
58
+ readonly sortIndex: number | null;
59
+ }
60
+
61
+ type GridEditOperation = "create" | "update";
62
+
63
+ declare class Row {
64
+ readonly data: Record<PropertyKey, unknown>;
65
+ readonly uid: string;
66
+ constructor(data: Record<PropertyKey, unknown>, uid?: string);
67
+ }
68
+
69
+ interface GridEditSession {
70
+ readonly column: Column | null;
71
+ readonly field: string | null;
72
+ readonly form: FieldTree<Record<PropertyKey, unknown>>;
73
+ readonly isNew: boolean;
74
+ readonly mode: "cell" | "row";
75
+ readonly model: WritableSignal<Record<PropertyKey, unknown>>;
76
+ readonly operation: GridEditOperation;
77
+ readonly originalRowData: Record<PropertyKey, unknown> | null;
78
+ readonly row: Row | null;
79
+ readonly rowUid: string | null;
80
+ }
81
+
82
+ declare class CellEditEvent extends PreventableEvent {
83
+ #private;
84
+ constructor(options: CellEditEventOptions);
85
+ get field(): string;
86
+ get newValue(): unknown;
87
+ get oldValue(): unknown;
88
+ get rowData(): Record<PropertyKey, unknown>;
89
+ get session(): GridEditSession;
90
+ }
91
+ interface CellEditEventOptions {
92
+ field: string;
93
+ newValue: unknown;
94
+ oldValue: unknown;
95
+ rowData: Record<PropertyKey, unknown>;
96
+ session: GridEditSession;
97
+ }
98
+
99
+ declare class RowEditEvent extends PreventableEvent {
100
+ #private;
101
+ constructor(options: RowEditEventOptions);
102
+ get rowData(): Record<PropertyKey, unknown>;
103
+ get originalRowData(): Record<PropertyKey, unknown> | null;
104
+ get session(): GridEditSession;
105
+ }
106
+ interface RowEditEventOptions {
107
+ originalRowData?: Record<PropertyKey, unknown> | null;
108
+ rowData: Record<PropertyKey, unknown>;
109
+ session: GridEditSession;
110
+ }
111
+
112
+ declare class GridAddEvent extends PreventableEvent {
113
+ #private;
114
+ constructor(options: GridAddEventOptions);
115
+ get rowData(): Record<PropertyKey, unknown>;
116
+ get session(): GridEditSession;
117
+ }
118
+ interface GridAddEventOptions {
119
+ originalEvent?: Event;
120
+ rowData: Record<PropertyKey, unknown>;
121
+ session: GridEditSession;
122
+ }
123
+
124
+ type GridSaveOperation = GridEditOperation;
125
+ declare class GridSaveEvent extends PreventableEvent {
126
+ #private;
127
+ constructor(options: GridSaveEventOptions);
128
+ get operation(): GridSaveOperation;
129
+ get originalRowData(): Record<PropertyKey, unknown> | null;
130
+ get rowData(): Record<PropertyKey, unknown>;
131
+ get session(): GridEditSession;
132
+ }
133
+ interface GridSaveEventOptions {
134
+ operation: GridSaveOperation;
135
+ originalEvent?: Event;
136
+ originalRowData?: Record<PropertyKey, unknown> | null;
137
+ rowData: Record<PropertyKey, unknown>;
138
+ session: GridEditSession;
139
+ }
140
+
141
+ declare class GridCancelEvent extends PreventableEvent {
142
+ #private;
143
+ constructor(options: GridCancelEventOptions);
144
+ get operation(): GridSaveOperation;
145
+ get rowData(): Record<PropertyKey, unknown>;
146
+ get session(): GridEditSession;
147
+ }
148
+ interface GridCancelEventOptions {
149
+ operation: GridSaveOperation;
150
+ originalEvent?: Event;
151
+ rowData: Record<PropertyKey, unknown>;
152
+ session: GridEditSession;
153
+ }
154
+
155
+ interface GridEditFormContext {
156
+ readonly column: Column | null;
157
+ readonly field: string | null;
158
+ readonly isNew: boolean;
159
+ readonly mode: "cell" | "row";
160
+ readonly operation: GridEditOperation;
161
+ readonly originalRowData: Record<PropertyKey, unknown> | null;
162
+ readonly rowData: Record<PropertyKey, unknown>;
163
+ }
164
+ type GridEditSchemaFactory = (context: GridEditFormContext) => SchemaOrSchemaFn<Record<PropertyKey, unknown>> | null | undefined;
165
+
166
+ declare class GridEditEvent extends PreventableEvent {
167
+ #private;
168
+ constructor(options: GridEditEventOptions);
169
+ get rowData(): Record<PropertyKey, unknown>;
170
+ get session(): GridEditSession;
171
+ }
172
+ interface GridEditEventOptions {
173
+ originalEvent?: Event;
174
+ rowData: Record<PropertyKey, unknown>;
175
+ session: GridEditSession;
176
+ }
177
+
178
+ interface GridEditTemplateContext {
179
+ readonly cancel: () => void;
180
+ readonly column: string;
181
+ readonly commit: () => void;
182
+ readonly dataField: string;
183
+ readonly dataItem: Record<PropertyKey, unknown>;
184
+ readonly errors: readonly ValidationError.WithFieldTree[];
185
+ readonly field: FieldTree<unknown>;
186
+ readonly form: GridEditSession["form"];
187
+ readonly invalid: boolean;
188
+ readonly isNew: boolean;
189
+ readonly session: GridEditSession;
190
+ readonly setValue: (value: unknown) => void;
191
+ readonly touched: boolean;
192
+ readonly value: unknown;
193
+ }
194
+
195
+ declare class GridRemoveEvent extends PreventableEvent {
196
+ #private;
197
+ constructor(options: GridRemoveEventOptions);
198
+ get rowData(): Record<PropertyKey, unknown>;
199
+ }
200
+ interface GridRemoveEventOptions {
201
+ originalEvent?: Event;
202
+ rowData: Record<PropertyKey, unknown>;
203
+ }
204
+
205
+ interface SelectableOptions {
206
+ enabled?: boolean;
207
+ mode?: "single" | "multiple";
208
+ }
209
+
210
+ interface GroupDescriptor {
211
+ field: string;
212
+ dir?: SortDirection;
213
+ }
214
+
215
+ interface GroupableOptions {
216
+ enabled: boolean;
217
+ showFooter: boolean;
218
+ }
219
+
220
+ interface FilterableOptions {
221
+ enabled: boolean;
222
+ type: "menu" | "row" | "menu, row";
223
+ }
224
+
225
+ interface SortableOptions {
226
+ allowUnsort?: boolean;
227
+ enabled?: boolean;
228
+ mode?: "single" | "multiple";
229
+ showIndices?: boolean;
230
+ }
231
+
232
+ declare class GridCellTemplateDirective {
233
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridCellTemplateDirective, never>;
234
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridCellTemplateDirective, "ng-template[monaGridCellTemplate]", never, {}, {}, never, never, true, never>;
235
+ }
236
+
237
+ declare class GridAddCommandDirective {
238
+ #private;
239
+ protected onClick(event: Event): void;
240
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridAddCommandDirective, never>;
241
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridAddCommandDirective, "button[monaGridAddCommand]", never, {}, {}, never, never, true, never>;
242
+ }
243
+ declare class GridEditCommandDirective {
244
+ #private;
245
+ readonly row: _angular_core.InputSignal<Row | null>;
246
+ protected onClick(event: Event): void;
247
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridEditCommandDirective, never>;
248
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridEditCommandDirective, "button[monaGridEditCommand]", never, { "row": { "alias": "monaGridEditCommand"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
249
+ }
250
+ declare class GridRemoveCommandDirective {
251
+ #private;
252
+ readonly row: _angular_core.InputSignal<Row | null>;
253
+ protected onClick(event: Event): void;
254
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridRemoveCommandDirective, never>;
255
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridRemoveCommandDirective, "button[monaGridRemoveCommand]", never, { "row": { "alias": "monaGridRemoveCommand"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
256
+ }
257
+ declare class GridSaveCommandDirective {
258
+ #private;
259
+ protected onClick(event: Event): void;
260
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridSaveCommandDirective, never>;
261
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridSaveCommandDirective, "button[monaGridSaveCommand]", never, {}, {}, never, never, true, never>;
262
+ }
263
+ declare class GridCancelCommandDirective {
264
+ #private;
265
+ protected onClick(event: Event): void;
266
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridCancelCommandDirective, never>;
267
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridCancelCommandDirective, "button[monaGridCancelCommand]", never, {}, {}, never, never, true, never>;
268
+ }
269
+
270
+ declare class GridColumnTitleTemplateDirective {
271
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridColumnTitleTemplateDirective, never>;
272
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridColumnTitleTemplateDirective, "[monaGridColumnTitleTemplate]", never, {}, {}, never, never, true, never>;
273
+ }
274
+
275
+ declare class GridContextMenuDirective {
276
+ #private;
277
+ private readonly menuItemComponents;
278
+ constructor();
279
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridContextMenuDirective, never>;
280
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridContextMenuDirective, "[monaGridContextMenu]", never, {}, {}, ["menuItemComponents"], never, true, never>;
281
+ }
282
+
283
+ declare class GridDetailTemplateDirective {
284
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridDetailTemplateDirective, never>;
285
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridDetailTemplateDirective, "ng-template[monaGridDetailTemplate]", never, {}, {}, never, never, true, never>;
286
+ }
287
+
288
+ declare class GridEditTemplateDirective {
289
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridEditTemplateDirective, never>;
290
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridEditTemplateDirective, "ng-template[monaGridEditTemplate]", never, {}, {}, never, never, true, never>;
291
+ }
292
+
293
+ interface EditableOptions {
294
+ enabled?: boolean;
295
+ mode: "cell" | "row";
296
+ schema?: GridEditSchemaFactory;
297
+ }
298
+
299
+ type GridKeySelector<TData, TKey = unknown> = string | Selector<TData, TKey> | null;
300
+
301
+ declare class GridEditableDirective {
302
+ #private;
303
+ /**
304
+ * @description Emitted before the grid displays the new-row editor.
305
+ */
306
+ readonly add: _angular_core.OutputEmitterRef<GridAddEvent>;
307
+ /**
308
+ * @description Emitted before an edit operation is canceled.
309
+ */
310
+ readonly cancel: _angular_core.OutputEmitterRef<GridCancelEvent>;
311
+ /**
312
+ * @description Emitted when a cell is edited.
313
+ */
314
+ readonly cellEdit: _angular_core.OutputEmitterRef<CellEditEvent>;
315
+ /**
316
+ * @description Emitted before a row enters edit mode.
317
+ */
318
+ readonly edit: _angular_core.OutputEmitterRef<GridEditEvent>;
319
+ /**
320
+ * @description Creates the initial data object used by the add-row editor.
321
+ */
322
+ readonly newRowFactory: _angular_core.InputSignal<() => Record<PropertyKey, unknown>>;
323
+ readonly options: _angular_core.InputSignal<"" | EditableOptions>;
324
+ /**
325
+ * @description Emitted when a row remove command is triggered.
326
+ */
327
+ readonly remove: _angular_core.OutputEmitterRef<GridRemoveEvent>;
328
+ /**
329
+ * @description Emitted when a row edit is committed (row mode only).
330
+ */
331
+ readonly rowEdit: _angular_core.OutputEmitterRef<RowEditEvent>;
332
+ /**
333
+ * @description Field name or selector used to keep edited row identity stable when data is rebound.
334
+ */
335
+ readonly rowKey: _angular_core.InputSignal<GridKeySelector<unknown>>;
336
+ /**
337
+ * @description Emitted before an edited or new row is saved.
338
+ */
339
+ readonly save: _angular_core.OutputEmitterRef<GridSaveEvent>;
340
+ constructor();
341
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridEditableDirective, never>;
342
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridEditableDirective, "mona-grid[monaGridEditable]", never, { "newRowFactory": { "alias": "newRowFactory"; "required": false; "isSignal": true; }; "options": { "alias": "monaGridEditable"; "required": false; "isSignal": true; }; "rowKey": { "alias": "rowKey"; "required": false; "isSignal": true; }; }, { "add": "add"; "cancel": "cancel"; "cellEdit": "cellEdit"; "edit": "edit"; "remove": "remove"; "rowEdit": "rowEdit"; "save": "save"; }, never, never, true, never>;
343
+ }
344
+
345
+ declare class GridFilterableDirective {
346
+ #private;
347
+ /**
348
+ * @description Current filter descriptors applied to the grid.
349
+ * @default []
350
+ */
351
+ readonly filter: _angular_core.ModelSignal<CompositeFilterDescriptor[]>;
352
+ /**
353
+ * @description Enables column filtering on the grid. Pass a `FilterableOptions` object to configure whether filters render in the header menu, a filter row, or both.
354
+ * @default ""
355
+ */
356
+ readonly options: _angular_core.InputSignal<"" | FilterableOptions>;
357
+ constructor();
358
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridFilterableDirective, never>;
359
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridFilterableDirective, "mona-grid[monaGridFilterable]", never, { "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "options": { "alias": "monaGridFilterable"; "required": false; "isSignal": true; }; }, { "filter": "filterChange"; }, never, never, true, never>;
360
+ }
361
+
362
+ declare class GridFooterTemplateDirective {
363
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridFooterTemplateDirective, never>;
364
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridFooterTemplateDirective, "ng-template[monaGridFooterTemplate]", never, {}, {}, never, never, true, never>;
365
+ }
366
+
367
+ declare class GridGroupableDirective implements OnInit {
368
+ #private;
369
+ /**
370
+ * @description Emitted when the applied group descriptors change, whether from dragging a column into the group panel or from a group sort change.
371
+ */
372
+ readonly groupChange: _angular_core.OutputEmitterRef<GroupDescriptor[]>;
373
+ /**
374
+ * @description Current group descriptors applied to the grid.
375
+ * @default []
376
+ */
377
+ group: _angular_core.InputSignal<Iterable<GroupDescriptor>>;
378
+ /**
379
+ * @description Enables column grouping on the grid. Pass a `GroupableOptions` object to configure group footer display.
380
+ */
381
+ options: _angular_core.InputSignal<"" | GroupableOptions | undefined>;
382
+ constructor();
383
+ ngOnInit(): void;
384
+ private setSubscriptions;
385
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridGroupableDirective, never>;
386
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridGroupableDirective, "mona-grid[monaGridGroupable]", never, { "group": { "alias": "group"; "required": false; "isSignal": true; }; "options": { "alias": "monaGridGroupable"; "required": false; "isSignal": true; }; }, { "groupChange": "groupChange"; }, never, never, true, never>;
387
+ }
388
+
389
+ declare class GridGroupFooterTemplateDirective {
390
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridGroupFooterTemplateDirective, never>;
391
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridGroupFooterTemplateDirective, "ng-template[monaGridGroupFooterTemplate]", never, {}, {}, never, never, true, never>;
392
+ }
393
+
394
+ declare class GridHeaderTemplateDirective {
395
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridHeaderTemplateDirective, never>;
396
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridHeaderTemplateDirective, "ng-template[monaGridHeaderTemplate]", never, {}, {}, never, never, true, never>;
397
+ }
398
+
399
+ declare class GridNoDataTemplateDirective {
400
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridNoDataTemplateDirective, never>;
401
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridNoDataTemplateDirective, "ng-template[monaGridNoDataTemplate]", never, {}, {}, never, never, true, never>;
402
+ }
403
+
404
+ declare class ColumnReorderEvent extends PreventableEvent {
405
+ #private;
406
+ constructor(column: Column, oldIndex: number, newIndex: number);
407
+ get column(): Column;
408
+ get newIndex(): number;
409
+ get oldIndex(): number;
410
+ }
411
+
412
+ interface ReorderableOptions {
413
+ enabled: boolean;
414
+ }
415
+
416
+ declare class GridReorderableDirective {
417
+ #private;
418
+ /**
419
+ * @description Emitted when a column is dropped into a new position. Call `preventDefault()` on the event to cancel the reorder.
420
+ */
421
+ readonly columnReorder: _angular_core.OutputEmitterRef<ColumnReorderEvent>;
422
+ /**
423
+ * @description Enables column reordering via drag and drop. Pass a `ReorderableOptions` object to configure it explicitly.
424
+ * @default ""
425
+ */
426
+ readonly options: _angular_core.InputSignal<"" | ReorderableOptions>;
427
+ constructor();
428
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridReorderableDirective, never>;
429
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridReorderableDirective, "mona-grid[monaGridReorderable]", never, { "options": { "alias": "monaGridReorderable"; "required": false; "isSignal": true; }; }, { "columnReorder": "columnReorder"; }, never, never, true, never>;
430
+ }
431
+
432
+ interface ColumnResizeEvent {
433
+ column: Column;
434
+ newWidth: number;
435
+ oldWidth: number;
436
+ }
437
+
438
+ interface ResizableOptions {
439
+ enabled: boolean;
440
+ }
441
+
442
+ declare class GridResizableDirective {
443
+ #private;
444
+ /**
445
+ * @description Emitted when a column resize completes, with the column and its old and new widths.
446
+ */
447
+ readonly columnResize: _angular_core.OutputEmitterRef<ColumnResizeEvent>;
448
+ /**
449
+ * @description Enables column resizing on the grid. Pass a `ResizableOptions` object to configure it explicitly.
450
+ * @default ""
451
+ */
452
+ readonly options: _angular_core.InputSignal<"" | ResizableOptions>;
453
+ constructor();
454
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridResizableDirective, never>;
455
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridResizableDirective, "mona-grid[monaGridResizable]", never, { "options": { "alias": "monaGridResizable"; "required": false; "isSignal": true; }; }, { "columnResize": "columnResize"; }, never, never, true, never>;
456
+ }
457
+
458
+ declare class GridSelectableDirective {
459
+ #private;
460
+ /**
461
+ * @description Enables row selection on the grid. Pass a `GridSelectableOptions` object to configure single or multiple selection mode.
462
+ * @default ""
463
+ */
464
+ readonly options: _angular_core.InputSignal<"" | SelectableOptions>;
465
+ /**
466
+ * @description Field name or selector used to derive a row's selection key.
467
+ * @default ""
468
+ */
469
+ readonly selectBy: _angular_core.InputSignal<string>;
470
+ /**
471
+ * @description Currently selected row keys.
472
+ * @default []
473
+ */
474
+ readonly selectedKeys: _angular_core.InputSignal<Iterable<unknown>>;
475
+ /**
476
+ * @description Emitted when the set of selected row keys changes.
477
+ */
478
+ readonly selectedKeysChange: _angular_core.OutputEmitterRef<unknown[]>;
479
+ constructor();
480
+ private setSubscriptions;
481
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridSelectableDirective, never>;
482
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridSelectableDirective, "mona-grid[monaGridSelectable]", never, { "options": { "alias": "monaGridSelectable"; "required": false; "isSignal": true; }; "selectBy": { "alias": "selectBy"; "required": false; "isSignal": true; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; "isSignal": true; }; }, { "selectedKeysChange": "selectedKeysChange"; }, never, never, true, never>;
483
+ }
484
+
485
+ declare class ColumnSortEvent extends PreventableEvent {
486
+ #private;
487
+ constructor(column: Column);
488
+ get column(): Column;
489
+ }
490
+
491
+ declare class GridSortableDirective {
492
+ #private;
493
+ private readonly columnDefinitions;
494
+ /**
495
+ * @description Emitted when a column header is activated to change its sort direction. Call `preventDefault()` on the event to cancel the sort.
496
+ */
497
+ readonly columnSort: _angular_core.OutputEmitterRef<ColumnSortEvent>;
498
+ /**
499
+ * @description Enables column sorting on the grid. Pass a `SortableOptions` object to configure sort mode, unsort behavior, or sort-index display.
500
+ * @default ""
501
+ */
502
+ readonly options: _angular_core.InputSignal<"" | SortableOptions>;
503
+ /**
504
+ * @description Current sort descriptors applied to the grid.
505
+ * @default []
506
+ */
507
+ readonly sort: _angular_core.ModelSignal<SortDescriptor<any>[]>;
508
+ constructor();
509
+ private applyColumnSort;
510
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridSortableDirective, never>;
511
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridSortableDirective, "mona-grid[monaGridSortable]", never, { "options": { "alias": "monaGridSortable"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, { "columnSort": "columnSort"; "sort": "sortChange"; }, ["columnDefinitions"], never, true, never>;
512
+ }
513
+
514
+ type GridStateVersion = 1;
515
+ type GridStateFilterValue = boolean | number | string | null | readonly (boolean | number | string | null)[];
516
+ interface GridStateFilterDescriptor {
517
+ field: string;
518
+ operator: Exclude<FilterOperators, "function">;
519
+ value?: GridStateFilterValue;
520
+ }
521
+ interface GridStateCompositeFilterDescriptor {
522
+ logic: FilterLogic;
523
+ filters: readonly (GridStateFilterDescriptor | GridStateCompositeFilterDescriptor)[];
524
+ }
525
+ interface GridStateSortDescriptor {
526
+ dir: SortDirection;
527
+ field: string;
528
+ }
529
+ interface GridColumnState {
530
+ hidden: boolean;
531
+ id: string;
532
+ order: number;
533
+ width: number | null;
534
+ }
535
+ interface GridState {
536
+ columns: readonly GridColumnState[];
537
+ filter: readonly GridStateCompositeFilterDescriptor[];
538
+ group: readonly GroupDescriptor[];
539
+ pageSize?: number;
540
+ schemaVersion?: number | string;
541
+ sort: readonly GridStateSortDescriptor[];
542
+ version: GridStateVersion;
543
+ }
544
+ interface GridStatePersistenceOptions {
545
+ enabled?: boolean;
546
+ persistPageSize?: boolean;
547
+ schemaVersion?: number | string;
548
+ }
549
+ type GridStateLoadStatus = "applied" | "empty" | "rejected-schema" | "rejected-version";
550
+ interface GridStateLoadResult {
551
+ ignoredColumns: readonly string[];
552
+ missingColumns: readonly string[];
553
+ status: GridStateLoadStatus;
554
+ }
555
+
556
+ declare class GridStatePersistenceDirective {
557
+ #private;
558
+ /**
559
+ * @description State persistence options such as schema version and page size persistence.
560
+ */
561
+ readonly options: _angular_core.InputSignal<"" | GridStatePersistenceOptions>;
562
+ /**
563
+ * @description The persisted grid state to apply and update when the grid state changes.
564
+ */
565
+ readonly state: _angular_core.ModelSignal<GridState | null>;
566
+ constructor();
567
+ captureState(): GridState;
568
+ loadState(state: GridState | null, options?: GridStatePersistenceOptions): GridStateLoadResult;
569
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridStatePersistenceDirective, never>;
570
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridStatePersistenceDirective, "mona-grid[monaGridStatePersistence]", ["monaGridStatePersistence"], { "options": { "alias": "monaGridStatePersistence"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, true, never>;
571
+ }
572
+
573
+ declare class GridToolbarTemplateDirective {
574
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridToolbarTemplateDirective, never>;
575
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridToolbarTemplateDirective, "ng-template[monaGridToolbarTemplate]", never, {}, {}, never, never, true, never>;
576
+ }
577
+
578
+ declare class GridExportDirective {
579
+ #private;
580
+ exportCsv(filename?: string): void;
581
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridExportDirective, never>;
582
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridExportDirective, "mona-grid[monaGridExport]", ["monaGridExport"], {}, {}, never, never, true, never>;
583
+ }
584
+
585
+ declare class GridVirtualScrollDirective {
586
+ #private;
587
+ /**
588
+ * @description Enables row virtualization on the grid. Pass a `VirtualScrollOptions` object to configure the fixed row height.
589
+ */
590
+ readonly options: _angular_core.InputSignal<"" | Partial<VirtualScrollOptions> | undefined>;
591
+ /**
592
+ * @description Emitted when the scroll position reaches the configured threshold from the bottom of the virtualized list.
593
+ */
594
+ readonly scrollEnd: _angular_core.OutputEmitterRef<void>;
595
+ /**
596
+ * @description Distance, in rows, from the bottom of the virtualized list at which `scrollEnd` is emitted.
597
+ * @default 5
598
+ */
599
+ readonly scrollEndThreshold: _angular_core.InputSignal<number>;
600
+ constructor();
601
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridVirtualScrollDirective, never>;
602
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridVirtualScrollDirective, "mona-grid[monaGridVirtualScroll]", never, { "options": { "alias": "monaGridVirtualScroll"; "required": false; "isSignal": true; }; "scrollEndThreshold": { "alias": "scrollEndThreshold"; "required": false; "isSignal": true; }; }, { "scrollEnd": "scrollEnd"; }, never, never, true, never>;
603
+ }
604
+
605
+ interface GridColumnDefinition {
606
+ getColumn(): Column;
607
+ }
608
+
609
+ declare class GridCommandColumnComponent implements GridColumnDefinition {
610
+ #private;
611
+ private readonly commandTemplate;
612
+ /**
613
+ * @description Whether this command column is hidden from the rendered grid.
614
+ */
615
+ readonly hidden: _angular_core.InputSignal<boolean>;
616
+ /**
617
+ * @description Whether this command column remains fixed while the grid scrolls horizontally.
618
+ */
619
+ readonly locked: _angular_core.InputSignal<boolean>;
620
+ /**
621
+ * @description The side of the grid where this locked command column is fixed.
622
+ */
623
+ readonly lockedPosition: _angular_core.InputSignal<GridColumnLockedPosition>;
624
+ /**
625
+ * @description The maximum width of this command column in pixels.
626
+ */
627
+ readonly maxWidth: _angular_core.InputSignal<number | null>;
628
+ /**
629
+ * @description The minimum width of this command column in pixels.
630
+ */
631
+ readonly minWidth: _angular_core.InputSignal<number | null>;
632
+ /**
633
+ * @description Whether the built-in remove command asks for confirmation before emitting remove.
634
+ */
635
+ readonly removeConfirmation: _angular_core.InputSignal<boolean>;
636
+ /**
637
+ * @description A stable key used to persist state for this command column.
638
+ */
639
+ readonly stateKey: _angular_core.InputSignal<string | null>;
640
+ /**
641
+ * @description The title displayed in the command column header.
642
+ */
643
+ readonly title: _angular_core.InputSignal<string>;
644
+ /**
645
+ * @description The fixed width of this command column in pixels.
646
+ */
647
+ readonly width: _angular_core.InputSignal<number | null>;
648
+ getColumn(): Column;
649
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridCommandColumnComponent, never>;
650
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridCommandColumnComponent, "mona-grid-command-column", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "locked": { "alias": "locked"; "required": false; "isSignal": true; }; "lockedPosition": { "alias": "lockedPosition"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "removeConfirmation": { "alias": "removeConfirmation"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, ["commandTemplate"], never, true, never>;
651
+ }
652
+
653
+ declare class GridColumnComponent implements GridColumnDefinition {
654
+ #private;
655
+ private readonly cellTemplate;
656
+ private readonly editTemplate;
657
+ private readonly footerTemplate;
658
+ private readonly groupFooterTemplate;
659
+ private readonly headerTemplate;
660
+ private readonly titleTemplate;
661
+ /**
662
+ * @description The aggregate shown in the grid footer for this column.
663
+ */
664
+ readonly aggregate: _angular_core.InputSignal<AggregateFunction | null>;
665
+ /**
666
+ * @description Whether this column is editable when the grid is in edit mode.
667
+ */
668
+ readonly editable: _angular_core.InputSignal<boolean>;
669
+ /**
670
+ * @description The field name of the data property to display in this column.
671
+ */
672
+ readonly field: _angular_core.InputSignal<string>;
673
+ /**
674
+ * @description Formats the displayed cell value. String formats apply to date, datetime, and time columns; formatter functions replace the cell text.
675
+ */
676
+ readonly format: _angular_core.InputSignal<ColumnFormat | null | undefined>;
677
+ /**
678
+ * @description Whether this column is hidden from the rendered grid.
679
+ */
680
+ readonly hidden: _angular_core.InputSignal<boolean>;
681
+ /**
682
+ * @description Whether this column remains fixed while the grid scrolls horizontally.
683
+ */
684
+ readonly locked: _angular_core.InputSignal<boolean>;
685
+ /**
686
+ * @description The side of the grid where this locked column is fixed.
687
+ */
688
+ readonly lockedPosition: _angular_core.InputSignal<GridColumnLockedPosition>;
689
+ /**
690
+ * @description The maximum width of this column in pixels.
691
+ */
692
+ readonly maxWidth: _angular_core.InputSignal<number | null>;
693
+ /**
694
+ * @description The minimum width of this column in pixels.
695
+ */
696
+ readonly minWidth: _angular_core.InputSignal<number>;
697
+ /**
698
+ * @description A stable key used to persist state for columns whose field is empty or unstable.
699
+ */
700
+ readonly stateKey: _angular_core.InputSignal<string | null>;
701
+ /**
702
+ * @description The title displayed in the column header.
703
+ */
704
+ readonly title: _angular_core.InputSignal<string>;
705
+ /**
706
+ * @description The data type of the column. Determines the edit component and filter behavior.
707
+ */
708
+ readonly type: _angular_core.InputSignal<DataType>;
709
+ /**
710
+ * @description The fixed width of this column in pixels. If not set, the column width is calculated automatically.
711
+ */
712
+ readonly width: _angular_core.InputSignal<number | null | undefined>;
713
+ getColumn(): Column;
714
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridColumnComponent, never>;
715
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridColumnComponent, "mona-grid-column", never, { "aggregate": { "alias": "aggregate"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "field": { "alias": "field"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "locked": { "alias": "locked"; "required": false; "isSignal": true; }; "lockedPosition": { "alias": "lockedPosition"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, ["cellTemplate", "editTemplate", "footerTemplate", "groupFooterTemplate", "headerTemplate", "titleTemplate"], never, true, never>;
716
+ }
717
+
718
+ interface ColumnFilterState {
719
+ filter?: CompositeFilterDescriptor;
720
+ filterMenuValue?: FilterMenuValue;
721
+ }
722
+
723
+ type ResizeMethod = "auto" | "fitView" | number;
724
+
725
+ interface ColumnSortState {
726
+ sort: SortDescriptor;
727
+ }
728
+
729
+ interface GridAggregateBucket {
730
+ readonly field: string;
731
+ readonly avg?: number;
732
+ readonly count?: number;
733
+ readonly max?: unknown;
734
+ readonly min?: unknown;
735
+ readonly sum?: number;
736
+ }
737
+ interface GridGroupAggregate {
738
+ readonly aggregates: ImmutableDictionary<string, GridAggregateBucket>;
739
+ readonly count: number;
740
+ readonly depth: number;
741
+ readonly groupKey: string;
742
+ readonly groupValue: unknown;
743
+ readonly rows: readonly Record<PropertyKey, unknown>[];
744
+ }
745
+
746
+ interface CellEditContext {
747
+ readonly cellUid: string;
748
+ readonly columnId: string;
749
+ readonly mode: "cell";
750
+ readonly row: Row;
751
+ readonly rowUid: string;
752
+ readonly session: GridEditSession;
753
+ }
754
+ interface RowEditContext {
755
+ readonly mode: "row";
756
+ readonly row: Row;
757
+ readonly rowUid: string;
758
+ readonly session: GridEditSession;
759
+ }
760
+ type GridEditContext = CellEditContext | RowEditContext;
761
+
762
+ interface GridLockedColumnState {
763
+ readonly edge: boolean;
764
+ readonly offset: number;
765
+ readonly side: GridColumnLockedPosition;
766
+ }
767
+
768
+ interface PaginationState {
769
+ readonly page: number;
770
+ readonly skip: number;
771
+ readonly take: number;
772
+ }
773
+
774
+ interface RowEditDataItem extends Record<string, unknown> {
775
+ readonly $rowId: string;
776
+ }
777
+ declare class GridService {
778
+ #private;
779
+ readonly addRowData: _angular_core.Signal<Record<PropertyKey, unknown> | null>;
780
+ readonly addRowVisible: _angular_core.Signal<boolean>;
781
+ readonly add$: Subject<GridAddEvent>;
782
+ readonly aggregateColumns: _angular_core.Signal<ImmutableList<Column>>;
783
+ readonly aggregateMap: _angular_core.Signal<ImmutableDictionary<string, GridAggregateBucket>>;
784
+ readonly aggregateRows: _angular_core.Signal<Record<PropertyKey, unknown>[]>;
785
+ readonly appliedFilters: _angular_core.WritableSignal<ImmutableDictionary<string, ColumnFilterState>>;
786
+ readonly appliedGroupSorts: _angular_core.WritableSignal<ImmutableDictionary<string, ColumnSortState>>;
787
+ readonly appliedSorts: _angular_core.WritableSignal<ImmutableDictionary<string, ColumnSortState>>;
788
+ readonly bodyScrollElement: _angular_core.WritableSignal<HTMLElement | null>;
789
+ readonly bodyTableElement: _angular_core.WritableSignal<HTMLTableElement | null>;
790
+ readonly cellEdit$: Subject<CellEditEvent>;
791
+ readonly cancel$: Subject<GridCancelEvent>;
792
+ /** Set of currently collapsed group keys (global, shared by both paginated and virtual list). */
793
+ readonly collapsedGroupKeys: _angular_core.WritableSignal<ImmutableSet<string>>;
794
+ readonly columnReorder$: Subject<ColumnReorderEvent>;
795
+ readonly columnResize$: Subject<ColumnResizeEvent>;
796
+ readonly columnSort$: Subject<ColumnSortEvent>;
797
+ readonly columns: _angular_core.WritableSignal<ImmutableList<Column>>;
798
+ readonly contextMenuItems: _angular_core.WritableSignal<ImmutableSet<PopupMenuItem>>;
799
+ readonly detailColumnWidth = 36;
800
+ readonly editBaseDict: _angular_core.Signal<ImmutableDictionary<string, RowEditDataItem>>;
801
+ readonly editContext: _angular_core.Signal<GridEditContext | null>;
802
+ readonly edit$: Subject<GridEditEvent>;
803
+ readonly editViewDict: _angular_core.Signal<ImmutableDictionary<string, RowEditDataItem>>;
804
+ readonly editSession: _angular_core.Signal<GridEditSession | null>;
805
+ readonly editableOptions: _angular_core.WritableSignal<EditableOptions>;
806
+ readonly editableRowKey: _angular_core.WritableSignal<GridKeySelector<unknown>>;
807
+ readonly editingRowUid: _angular_core.Signal<string | null>;
808
+ readonly expandedKeys: _angular_core.WritableSignal<ImmutableSet<unknown>>;
809
+ readonly filterChange$: Subject<CompositeFilterDescriptor[]>;
810
+ readonly filterableOptions: _angular_core.Signal<FilterableOptions>;
811
+ readonly footerScrollElement: _angular_core.WritableSignal<HTMLElement | null>;
812
+ readonly gridHeaderElement: _angular_core.WritableSignal<HTMLDivElement | null>;
813
+ readonly groupAggregateMap: _angular_core.Signal<ImmutableDictionary<string, GridGroupAggregate>>;
814
+ readonly groupColumnWidth = 36;
815
+ readonly groupColumns: _angular_core.Signal<ImmutableList<Column>>;
816
+ readonly groupableOptions: _angular_core.WritableSignal<GroupableOptions>;
817
+ readonly hasLeftLockedColumns: _angular_core.Signal<boolean>;
818
+ readonly hasFooter: _angular_core.Signal<boolean>;
819
+ readonly hasLiveScrollbarGutterWidth: _angular_core.Signal<boolean>;
820
+ readonly headerTableElement: _angular_core.WritableSignal<HTMLTableElement | null>;
821
+ readonly horizontalScrollLeft: _angular_core.Signal<number>;
822
+ readonly isInEditMode: _angular_core.Signal<boolean>;
823
+ readonly leftLockedStructuralWidth: _angular_core.Signal<number>;
824
+ readonly lockedColumnStates: _angular_core.Signal<ReadonlyMap<string, GridLockedColumnState>>;
825
+ readonly masterDetailEmptyCellWidth: _angular_core.Signal<number>;
826
+ readonly masterDetailRowWidth: _angular_core.Signal<number>;
827
+ readonly masterDetailTemplate: _angular_core.WritableSignal<TemplateRef<unknown> | null>;
828
+ readonly newRowFactory: _angular_core.WritableSignal<() => Record<PropertyKey, unknown>>;
829
+ readonly paginationState: _angular_core.WritableSignal<PaginationState>;
830
+ readonly remove$: Subject<GridRemoveEvent>;
831
+ readonly reorderableOptions: _angular_core.Signal<ReorderableOptions>;
832
+ readonly resizableOptions: _angular_core.Signal<ResizableOptions>;
833
+ readonly rowEdit$: Subject<RowEditEvent>;
834
+ readonly rows: _angular_core.WritableSignal<ImmutableSet<Row>>;
835
+ readonly save$: Subject<GridSaveEvent>;
836
+ readonly scrollEnd$: Subject<void>;
837
+ readonly scrollEndThreshold: _angular_core.WritableSignal<number>;
838
+ readonly scrollbarGutterWidth: _angular_core.Signal<number>;
839
+ readonly selectBy: _angular_core.WritableSignal<GridKeySelector<unknown>>;
840
+ readonly selectableOptions: _angular_core.WritableSignal<SelectableOptions>;
841
+ readonly selectedKeys: _angular_core.WritableSignal<ImmutableSet<unknown>>;
842
+ readonly selectedKeysChange$: rxjs.Observable<ImmutableSet<unknown>>;
843
+ readonly selectedKeysLoad$: BehaviorSubject<ImmutableSet<unknown>>;
844
+ readonly selectedRows: _angular_core.Signal<ImmutableSet<Row>>;
845
+ readonly sortableOptions: _angular_core.WritableSignal<SortableOptions>;
846
+ readonly tableWidth: _angular_core.Signal<number | null>;
847
+ readonly viewPageRows: _angular_core.Signal<ImmutableSet<Row>>;
848
+ readonly viewRowCount: _angular_core.Signal<number>;
849
+ readonly viewRows: _angular_core.Signal<ImmutableSet<Row>>;
850
+ readonly virtualGridMaxBuffer: _angular_core.Signal<number>;
851
+ readonly virtualGridMinBuffer: _angular_core.WritableSignal<number>;
852
+ readonly virtualScrollOptions: _angular_core.WritableSignal<VirtualScrollOptions>;
853
+ readonly visibleColumns: _angular_core.Signal<ImmutableList<Column>>;
854
+ constructor();
855
+ addGroupColumn(column: Column): void;
856
+ applyState(state: GridState | null, options?: GridStatePersistenceOptions): GridStateLoadResult;
857
+ cancelAddRow(originalEvent?: Event): boolean;
858
+ cancelEdit(originalEvent?: Event): boolean;
859
+ captureState(options?: GridStatePersistenceOptions): GridState;
860
+ clearCollapsedGroups(predicate?: (key: string) => boolean): void;
861
+ clearColumnGrouping(column: Column): void;
862
+ commitRowEdit(originalEvent?: Event): boolean;
863
+ deselectAllRows(): void;
864
+ findTextWidthOfColumn(column: Column, element: HTMLTableCellElement): number;
865
+ getColumnStateId(column: Column): string | null;
866
+ getColumnWidth(column: Column): number;
867
+ getGroupDescriptors(columns: Iterable<Column>): GroupDescriptor[];
868
+ handleMultipleSelection(event: MouseEvent, row: Row): void;
869
+ handleRowClick(event: MouseEvent, row: Row): void;
870
+ handleSingleSelection(event: MouseEvent, row: Row): void;
871
+ isGroupCollapsed(groupKey: string): boolean;
872
+ isRowExpanded(row: Row): boolean;
873
+ isRowSelected(row: Row): boolean;
874
+ isSelectableGrid(): boolean;
875
+ loadFilters(filters: CompositeFilterDescriptor[]): void;
876
+ loadGroupColumns(descriptors: Iterable<GroupDescriptor>): void;
877
+ loadSelectedKeys(selectedKeys: Iterable<unknown>): void;
878
+ loadSorts(sorts: SortDescriptor[]): void;
879
+ moveGroupColumn(column: Column, moveAs: "prev" | "next"): void;
880
+ normalizeRenderedWidth(width: number): number;
881
+ patchAddCell(field: string, value: unknown): void;
882
+ patchCellEdit(rowUid: string, field: string, value: unknown): void;
883
+ removeRow(row: Row, originalEvent?: Event): boolean;
884
+ resolveAggregateValue(bucket: GridAggregateBucket | null, aggregateFunction: AggregateFunction | null): unknown;
885
+ saveAddRow(originalEvent?: Event): boolean;
886
+ selectRow(row: Row): void;
887
+ setCalculatedWidth(columnId: string, value: number | null): void;
888
+ setCalculatedWidths(widthByColumnId: ReadonlyMap<string, number | null>): void;
889
+ setColumnDefinitions(configs: readonly ColumnConfig[]): void;
890
+ setColumnFiltered(columnId: string, value: boolean): void;
891
+ setColumnGroupSortDirection(columnId: string, value: SortDirection | null): void;
892
+ setColumnHidden(columnId: string, value: boolean): void;
893
+ setColumnOrder(columnIds: readonly string[]): void;
894
+ setColumnSortDirection(columnId: string, value: SortDirection | null): void;
895
+ setColumnSortIndex(columnId: string, value: number | null): void;
896
+ setColumnVisibilityByFields(visibleFields: ImmutableSet<string>): void;
897
+ setEditableOptions(options: EditableOptions): void;
898
+ setFilterableOptions(options: Partial<FilterableOptions>): void;
899
+ setGroupableOptions(options: Partial<GroupableOptions>): void;
900
+ setNewRowFactory(factory: () => Record<PropertyKey, unknown>): void;
901
+ setPageState(state: Partial<PaginationState>): void;
902
+ setReorderableOptions(options: Partial<ReorderableOptions>): void;
903
+ setResizableOptions(options: Partial<ResizableOptions>): void;
904
+ setRowExpanded(row: Row, expanded: boolean): void;
905
+ setRows(value: Iterable<Record<PropertyKey, unknown>>, rowKey?: GridKeySelector<unknown> | null): void;
906
+ setSelectableOptions(options: SelectableOptions): void;
907
+ setSortableOptions(options: Partial<SortableOptions>): void;
908
+ setScrollEndThreshold(threshold: number): void;
909
+ setVirtualScrollOptions(options: VirtualScrollOptions): void;
910
+ startAddRow(originalEvent?: Event): boolean;
911
+ startCellEdit(uid: string, row: Row, column: Column, originalEvent?: Event): boolean;
912
+ startRowEdit(row: Row, originalEvent?: Event): boolean;
913
+ stopCellEdit(originalEvent?: Event): boolean;
914
+ toggleGroupCollapse(groupKey: string): void;
915
+ updateColumn(columnId: string, patch: Partial<Omit<Column, "id">>): void;
916
+ private applyColumnIndexes;
917
+ private buildGroupAggregates;
918
+ private buildGroupKey;
919
+ private compareComparableValues;
920
+ private createAggregateBucket;
921
+ private createAggregateMap;
922
+ private deserializeCompositeFilter;
923
+ private deserializeFilterDescriptor;
924
+ private deserializeFilterValue;
925
+ private deserializeFilters;
926
+ private findLongestCellContentOfColumn;
927
+ private getColumnById;
928
+ private getColumnLockBucket;
929
+ private getRowDataItemSelectionKey;
930
+ private getRowSelectionKey;
931
+ private getRowUid;
932
+ private getRowUidKey;
933
+ private groupRowsByColumn;
934
+ private measureElementScrollbarGutter;
935
+ private measureFallbackScrollbarGutter;
936
+ private orderColumnsByLockBucket;
937
+ private reconcileColumn;
938
+ private clearEditSession;
939
+ private createEditSession;
940
+ private patchSessionField;
941
+ private resolveEditedRowData;
942
+ private resolveSessionRowData;
943
+ private validateSessionForSave;
944
+ private serializeFilter;
945
+ private serializeFilterDescriptor;
946
+ private serializeFilterValue;
947
+ private setElementScrollLeft;
948
+ private setHorizontalScrollLeft;
949
+ private setHorizontalScrollSyncEffects;
950
+ private setScrollbarGutterEffects;
951
+ private toComparableValue;
952
+ private updateColumns;
953
+ private withColumnIndices;
954
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridService, never>;
955
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<GridService>;
956
+ }
957
+
958
+ declare const gridBaseThemeVariants: (theme: ThemeStyle) => (props?: ({
959
+ rounded?: "small" | "none" | "medium" | "large" | null | undefined;
960
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
961
+ declare const gridHeaderTableCellThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
962
+ declare const gridHeaderTableColumnTitleThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
963
+ declare const gridHeaderTableColumnWrapThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
964
+ declare const gridHeaderTableRowThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
965
+ declare const gridHeaderTableThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
966
+ declare const gridHeaderThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
967
+ type GridBaseVariantProps = VariantProps<ReturnType<typeof gridBaseThemeVariants>>;
968
+ type GridBaseVariantInput = VariantInputs<GridBaseVariantProps>;
969
+ type GridHeaderTableCellVariantProps = VariantProps<ReturnType<typeof gridHeaderTableCellThemeVariants>>;
970
+ type GridHeaderTableCellVariantInput = VariantInputs<GridHeaderTableCellVariantProps>;
971
+ type GridHeaderTableColumnTitleVariantProps = VariantProps<ReturnType<typeof gridHeaderTableColumnTitleThemeVariants>>;
972
+ type GridHeaderTableColumnTitleVariantInput = VariantInputs<GridHeaderTableColumnTitleVariantProps>;
973
+ type GridHeaderTableColumnWrapVariantProps = VariantProps<ReturnType<typeof gridHeaderTableColumnWrapThemeVariants>>;
974
+ type GridHeaderTableColumnWrapVariantInput = VariantInputs<GridHeaderTableColumnWrapVariantProps>;
975
+ type GridHeaderTableRowVariantProps = VariantProps<ReturnType<typeof gridHeaderTableRowThemeVariants>>;
976
+ type GridHeaderTableRowVariantInput = VariantInputs<GridHeaderTableRowVariantProps>;
977
+ type GridHeaderTableVariantProps = VariantProps<ReturnType<typeof gridHeaderTableThemeVariants>>;
978
+ type GridHeaderTableVariantInput = VariantInputs<GridHeaderTableVariantProps>;
979
+ type GridHeaderVariantProps = VariantProps<ReturnType<typeof gridHeaderThemeVariants>>;
980
+ type GridHeaderVariantInput = VariantInputs<GridHeaderVariantProps>;
981
+ type GridVariantInput = GridBaseVariantInput & GridHeaderTableCellVariantInput & GridHeaderTableColumnTitleVariantInput & GridHeaderTableColumnWrapVariantInput & Omit<GridHeaderTableRowVariantInput, "isFilterRow"> & GridHeaderTableVariantInput & GridHeaderVariantInput;
982
+
983
+ declare class GridComponent<T> implements GridVariantInput {
984
+ #private;
985
+ private readonly footerScrollElement;
986
+ protected readonly baseClass: _angular_core.Signal<string>;
987
+ protected readonly columnActionsClass: _angular_core.Signal<string>;
988
+ protected readonly columnDragPreviewClass: _angular_core.Signal<string>;
989
+ protected readonly columnDragging: _angular_core.WritableSignal<boolean>;
990
+ protected readonly columnDropHintClass: _angular_core.Signal<string>;
991
+ protected readonly columnResizerClass: _angular_core.Signal<string>;
992
+ protected readonly dragColumn: _angular_core.WritableSignal<Column | null>;
993
+ protected readonly dropColumn: _angular_core.WritableSignal<Column | null>;
994
+ protected readonly filterMenuEnabled: _angular_core.Signal<boolean>;
995
+ protected readonly filterRowEnabled: _angular_core.Signal<boolean>;
996
+ protected readonly footerClass: _angular_core.Signal<string>;
997
+ protected readonly footerTableClass: _angular_core.Signal<string>;
998
+ protected readonly footerTableRowClass: _angular_core.Signal<string>;
999
+ protected readonly footerVisible: _angular_core.Signal<boolean>;
1000
+ protected readonly gridDetailTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
1001
+ protected readonly gridHeaderElement: _angular_core.Signal<ElementRef<HTMLDivElement>>;
1002
+ protected readonly gridHeaderTableElement: _angular_core.Signal<ElementRef<HTMLTableElement>>;
1003
+ protected readonly gridService: GridService;
1004
+ protected readonly gridWidthSet: _angular_core.WritableSignal<boolean>;
1005
+ protected readonly groupColumnList: _angular_core.Signal<CdkDropList<any> | undefined>;
1006
+ protected readonly groupPanelPlaceholderClass: _angular_core.Signal<string>;
1007
+ protected readonly groupPanelClass: _angular_core.Signal<string>;
1008
+ protected readonly groupPanelPlaceholderVisible: _angular_core.WritableSignal<boolean>;
1009
+ protected readonly groupable: _angular_core.Signal<boolean>;
1010
+ protected readonly groupingInProgress: _angular_core.WritableSignal<boolean>;
1011
+ protected readonly headerClass: _angular_core.Signal<string>;
1012
+ protected readonly headerMarginRight: _angular_core.Signal<number>;
1013
+ protected readonly headerTableClass: _angular_core.Signal<string>;
1014
+ protected readonly headerTableCellClass: _angular_core.Signal<string>;
1015
+ protected readonly headerTableColumnTitleClass: _angular_core.Signal<string>;
1016
+ protected readonly headerTableColumnWrapClass: _angular_core.Signal<string>;
1017
+ protected readonly headerTableRowClass: _angular_core.Signal<string>;
1018
+ protected readonly noDataClass: _angular_core.Signal<string>;
1019
+ protected readonly noDataTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
1020
+ protected readonly resizing: _angular_core.WritableSignal<boolean>;
1021
+ protected readonly toolbarContext: _angular_core.Signal<{
1022
+ $implicit: GridService;
1023
+ addRowData: Record<PropertyKey, unknown> | null;
1024
+ addRowVisible: boolean;
1025
+ cancelAdd: () => boolean;
1026
+ editSession: _nanahoshi_mona_ui_grid.GridEditSession | null;
1027
+ saveAdd: () => boolean;
1028
+ startAdd: () => boolean;
1029
+ }>;
1030
+ protected readonly toolbarElement: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
1031
+ protected readonly toolbarTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
1032
+ protected readonly uid: string;
1033
+ /**
1034
+ * @description The row data to be displayed in the grid.
1035
+ */
1036
+ readonly data: _angular_core.InputSignal<Iterable<T>>;
1037
+ /**
1038
+ * @description The number of items to be displayed on a page.
1039
+ */
1040
+ readonly pageSize: _angular_core.InputSignal<number | undefined>;
1041
+ /**
1042
+ * @description The page sizes that the user can select from.
1043
+ * These values will be displayed in the page size dropdown.
1044
+ * @default []
1045
+ */
1046
+ readonly pageSizeValues: _angular_core.InputSignal<number[]>;
1047
+ /**
1048
+ * @description The method to be used to set initial column widths.
1049
+ * It can be the following values:
1050
+ * - `fitView`: The columns will be resized to fit the available width.
1051
+ * - `auto`: The columns will be resized based on the content.
1052
+ * - A number representing the width of the columns. All columns except the columns with a specified width
1053
+ * will have the same width.
1054
+ * @default "fitView"
1055
+ */
1056
+ readonly resizeMethod: _angular_core.InputSignal<ResizeMethod>;
1057
+ /**
1058
+ * @description Whether the pager is responsive.
1059
+ * If set to `true`, the pager will be displayed as a dropdown when the grid width gets smaller.
1060
+ * @default true
1061
+ */
1062
+ readonly responsivePager: _angular_core.InputSignal<boolean>;
1063
+ /**
1064
+ * @description The border radius of the grid.
1065
+ * @default "medium"
1066
+ */
1067
+ readonly rounded: _angular_core.InputSignal<"small" | "none" | "medium" | "large" | null | undefined>;
1068
+ /**
1069
+ * @description Additional CSS classes merged onto the host element via `tailwind-merge`.
1070
+ * @default ""
1071
+ */
1072
+ readonly userClass: _angular_core.InputSignal<string>;
1073
+ constructor();
1074
+ protected isColumnDragDisabled(column: Column): boolean;
1075
+ protected onColumnDragEnter(event: CdkDragEnter<void, Column>): void;
1076
+ protected onColumnDragEnterForGrouping(): void;
1077
+ protected onColumnDragExitForGrouping(): void;
1078
+ protected onColumnDragStart(event: CdkDragStart<Column>): void;
1079
+ protected onColumnDrop(): void;
1080
+ protected onColumnDropForGrouping(event: CdkDragDrop<Column, void, Column>): void;
1081
+ protected onColumnFilter(column: Column, state: ColumnFilterState): void;
1082
+ protected onColumnMouseEnter(column: Column): void;
1083
+ protected onColumnResizeEnd(event: ColumnResizeEvent): void;
1084
+ protected onColumnResizeStart(): void;
1085
+ protected onColumnSort(column: Column): void;
1086
+ protected onGroupingColumnRemove(event: Event, column: Column): void;
1087
+ protected onGroupColumnReorder(column: Column, moveAs: "prev" | "next"): void;
1088
+ protected onGroupingColumnSort(column: Column): void;
1089
+ protected onPageChange(event: PageChangeEvent): void;
1090
+ protected onPageSizeChange(data: PageSizeChangeEvent): void;
1091
+ protected onToolbarKeydown(event: KeyboardEvent): void;
1092
+ private adjustPageAfterFilter;
1093
+ private clampCalculatedWidth;
1094
+ private clearDragState;
1095
+ private createFitViewWidthMap;
1096
+ private getTableColumnHeaderCellList;
1097
+ private getColumnLockBucket;
1098
+ private getToolbarFocusTargets;
1099
+ private isElementDisabled;
1100
+ private isElementHidden;
1101
+ private setDataEffect;
1102
+ private setFitViewScrollbarSyncEffect;
1103
+ private setFooterScrollElementEffect;
1104
+ private setGridDetailEffect;
1105
+ private setInitialCalculatedWidthOfColumns;
1106
+ private setPageSizeEffect;
1107
+ private setResizeObserver;
1108
+ private syncToolbarFocusTargets;
1109
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridComponent<any>, never>;
1110
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GridComponent<any>, "mona-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeValues": { "alias": "pageSizeValues"; "required": false; "isSignal": true; }; "resizeMethod": { "alias": "resizeMethod"; "required": false; "isSignal": true; }; "responsivePager": { "alias": "responsivePager"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["gridDetailTemplate", "noDataTemplate", "toolbarTemplate"], never, true, never>;
1111
+ }
1112
+
1113
+ export { CellEditEvent, ColumnReorderEvent, ColumnSortEvent, GridAddCommandDirective, GridAddEvent, GridCancelCommandDirective, GridCancelEvent, GridCellTemplateDirective, GridColumnComponent, GridColumnTitleTemplateDirective, GridCommandColumnComponent, GridComponent, GridContextMenuDirective, GridDetailTemplateDirective, GridEditCommandDirective, GridEditEvent, GridEditTemplateDirective, GridEditableDirective, GridExportDirective, GridFilterableDirective, GridFooterTemplateDirective, GridGroupFooterTemplateDirective, GridGroupableDirective, GridHeaderTemplateDirective, GridNoDataTemplateDirective, GridRemoveCommandDirective, GridRemoveEvent, GridReorderableDirective, GridResizableDirective, GridSaveCommandDirective, GridSaveEvent, GridSelectableDirective, GridSortableDirective, GridStatePersistenceDirective, GridToolbarTemplateDirective, GridVirtualScrollDirective, RowEditEvent };
1114
+ export type { AggregateFunction, Column, ColumnConfig, ColumnFormat, ColumnKind, ColumnResizeEvent, EditableOptions, FilterableOptions, GridColumnLockedPosition, GridColumnState, GridEditFormContext, GridEditOperation, GridEditSchemaFactory, GridEditSession, GridEditTemplateContext, GridSaveOperation, GridState, GridStateCompositeFilterDescriptor, GridStateFilterDescriptor, GridStateFilterValue, GridStateLoadResult, GridStateLoadStatus, GridStatePersistenceOptions, GridStateSortDescriptor, GridStateVersion, GroupDescriptor, GroupableOptions, ReorderableOptions, ResizableOptions, ResizeMethod, SelectableOptions, SortableOptions };