@reforgium/data-grid 1.0.3 → 1.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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.3",
2
+ "version": "1.1.0",
3
3
  "name": "@reforgium/data-grid",
4
4
  "description": "reforgium DataGrid component",
5
5
  "author": "rtommievich",
@@ -40,6 +40,17 @@ declare class DataGridTypeCellTemplateDirective {
40
40
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DataGridTypeCellTemplateDirective, "ng-template[reDataGridTypeCell]", never, { "type": { "alias": "reDataGridTypeCell"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
41
41
  }
42
42
 
43
+ declare class DataGridCellTemplateDirective {
44
+ key: _angular_core.InputSignal<string>;
45
+ /**
46
+ * The injected template reference containing the custom cell template.
47
+ * The template context is of the type `DataGridCellTemplateDirective`.
48
+ */
49
+ tpl: TemplateRef<any>;
50
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataGridCellTemplateDirective, never>;
51
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DataGridCellTemplateDirective, "ng-template[reDataGridCell]", never, { "key": { "alias": "reDataGridCell"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
52
+ }
53
+
43
54
  /**
44
55
  * Directive for defining custom header templates in data grid columns.
45
56
  *
@@ -113,10 +124,52 @@ declare class DataGridCellLoadingDirective {
113
124
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DataGridCellLoadingDirective, "ng-template[reDataGridLoading]", never, {}, {}, never, never, true, never>;
114
125
  }
115
126
 
127
+ declare class DataGridSortIconDirective {
128
+ tpl: TemplateRef<any>;
129
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataGridSortIconDirective, never>;
130
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DataGridSortIconDirective, "ng-template[reDataGridSortIcon]", never, {}, {}, never, never, true, never>;
131
+ }
132
+ declare class DataGridExpanderIconDirective {
133
+ tpl: TemplateRef<any>;
134
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataGridExpanderIconDirective, never>;
135
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DataGridExpanderIconDirective, "ng-template[reDataGridExpanderIcon]", never, {}, {}, never, never, true, never>;
136
+ }
137
+
138
+ declare class DataGridPaginator {
139
+ current: _angular_core.InputSignalWithTransform<number, string | number | undefined>;
140
+ totalElements: _angular_core.InputSignalWithTransform<number, string | number | undefined>;
141
+ pageSize: _angular_core.InputSignalWithTransform<number, string | number | undefined>;
142
+ maxShowPages: _angular_core.InputSignalWithTransform<number, string | number | undefined>;
143
+ pageChange: _angular_core.OutputEmitterRef<number>;
144
+ totalPages: _angular_core.Signal<number>;
145
+ pages: _angular_core.Signal<number[]>;
146
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataGridPaginator, never>;
147
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataGridPaginator, "re-data-grid-paginator", never, { "current": { "alias": "current"; "required": false; "isSignal": true; }; "totalElements": { "alias": "totalElements"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "maxShowPages": { "alias": "maxShowPages"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
148
+ }
149
+
150
+ /**
151
+ * Represents a key of an object that is also a string, or any string.
152
+ * Used for identifying data properties in rows.
153
+ */
116
154
  type DataKey<Data> = (keyof Data & string) | string;
155
+ /**
156
+ * Function type that resolves a value of type `Return` from an argument of type `Arg`.
157
+ * Often used to transform row data or extract specific properties.
158
+ */
117
159
  type KeyResolver<Arg = AnyType, Return = string> = (arg: Arg) => Return;
160
+ /**
161
+ * Union type for row identification.
162
+ * Can be either a property key (string) or a resolver function.
163
+ */
118
164
  type RowKeyFn<Data> = DataKey<Data> | KeyResolver<Data, string | number>;
165
+ /**
166
+ * Type alias for `any`.
167
+ */
119
168
  type AnyType = any;
169
+ /**
170
+ * Represents an object with string keys and values of any type.
171
+ * Common base type for row data.
172
+ */
120
173
  type AnyDict = Record<string, AnyType>;
121
174
 
122
175
  /**
@@ -205,14 +258,19 @@ type _Selectless = {
205
258
  * for tracking selected rows. Optionally allows setting default selection.
206
259
  *
207
260
  * @template Data - Type of data objects displayed in the grid rows
208
- *
209
- * @property mode - Selection mode: `'single'` or `'multi'`
210
- * @property key - Data property to use as unique identifier for selection
211
- * @property defaultSelected - Optional array of initially selected row identifiers
212
261
  */
213
262
  type _Selectfull<Data extends AnyDict> = {
263
+ /**
264
+ * Selection mode: `'single'` or `'multi'`.
265
+ */
214
266
  mode: Omit<GridSelectMode, 'none'>;
267
+ /**
268
+ * Data property to use as a unique identifier for selection.
269
+ */
215
270
  key: DataKey<Data>;
271
+ /**
272
+ * Optional array of initially selected row identifiers.
273
+ */
216
274
  defaultSelected?: DataKey<Data>[];
217
275
  };
218
276
  /**
@@ -222,16 +280,23 @@ type _Selectfull<Data extends AnyDict> = {
222
280
  * and can display static data or use a custom template for rendering.
223
281
  *
224
282
  * @template Data - Type of data objects displayed in the grid rows
225
- *
226
- * @property position - Where to pin the row (`'top'` or `'bottom'`)
227
- * @property order - Optional display order when multiple rows are pinned
228
- * @property data - Static data or function returning data for the row
229
- * @property rowTemplate - Optional Angular template for custom row rendering
230
283
  */
231
284
  type GridPinnedRow<Data extends AnyDict = AnyDict> = {
285
+ /**
286
+ * Where to pin the row (`'top'` or `'bottom'`).
287
+ */
232
288
  position: GridPinnedPosition;
289
+ /**
290
+ * Relative display order when multiple rows are pinned at the same position.
291
+ */
233
292
  order?: number;
293
+ /**
294
+ * Static data or function returning data for the row.
295
+ */
234
296
  data: Partial<Data> | (() => Partial<Data>);
297
+ /**
298
+ * Optional Angular template for custom row rendering.
299
+ */
235
300
  rowTemplate?: TemplateRef<{
236
301
  $implicit: Partial<Data>;
237
302
  }>;
@@ -252,36 +317,65 @@ type GridColumn<Data extends AnyDict = AnyDict> = _DefaultGridColumn<Data> | _Va
252
317
  * sizing, alignment, visibility, and behavior.
253
318
  *
254
319
  * @template Data - Type of data objects displayed in the grid rows
255
- *
256
- * @property key - Data property key this column displays
257
- * @property sortKey - Optional alternative key for sorting (if different from display key)
258
- * @property header - Column header text
259
- * @property headerTemplate - Optional Angular template for custom header rendering
260
- * @property align - Horizontal alignment of cell content
261
- * @property cellClass - CSS class(es) to apply to cells (static string or resolver function)
262
- * @property width - Fixed width in pixels
263
- * @property minWidth - Minimum width in pixels
264
- * @property maxWidth - Maximum width in pixels
265
- * @property flex - Flex grow factor for flexible width columns
266
- * @property disabled - Whether the column is disabled
267
- * @property visible - Whether the column is visible
268
- * @property sticky - Whether the column remains fixed during horizontal scroll
269
- * @property expandBy - Data key to use for expanding/collapsing row details
270
320
  */
271
321
  type _BaseGridColumn<Data extends AnyDict = AnyDict> = {
322
+ /**
323
+ * Data property key this column displays.
324
+ */
272
325
  key: DataKey<Data>;
326
+ /**
327
+ * Optional alternative key for sorting (if different from a display key).
328
+ */
273
329
  sortKey?: string;
330
+ /**
331
+ * Column header text string.
332
+ */
274
333
  header: string;
334
+ /**
335
+ * Optional Angular template for custom header rendering.
336
+ * If provided, overrides the default text header.
337
+ */
275
338
  headerTemplate?: TemplateRef<HeaderTemplateData>;
339
+ /**
340
+ * Horizontal alignment of cell content.
341
+ */
276
342
  align?: GridCellAlign;
343
+ /**
344
+ * CSS class(es) to apply to cells.
345
+ * Can be a static string or a resolver function that returns a class string based on row data.
346
+ */
277
347
  cellClass?: KeyResolver<Data> | string;
348
+ /**
349
+ * Fixed column width in pixels.
350
+ */
278
351
  width?: number;
352
+ /**
353
+ * Minimum column width in pixels.
354
+ */
279
355
  minWidth?: number;
356
+ /**
357
+ * Maximum column width in pixels.
358
+ */
280
359
  maxWidth?: number;
360
+ /**
361
+ * Flex grow factor for flexible width columns.
362
+ */
281
363
  flex?: number;
364
+ /**
365
+ * Whether the column is disabled.
366
+ */
282
367
  disabled?: boolean;
368
+ /**
369
+ * Whether the column is visible.
370
+ */
283
371
  visible?: boolean;
372
+ /**
373
+ * Whether the column remains fixed during the horizontal scroll.
374
+ */
284
375
  sticky?: boolean;
376
+ /**
377
+ * Data key to use for expanding/collapsing row details.
378
+ */
285
379
  expandBy?: DataKey<Data>;
286
380
  };
287
381
  /**
@@ -291,11 +385,16 @@ type _BaseGridColumn<Data extends AnyDict = AnyDict> = {
291
385
  * If no type is specified, defaults to `'plain'` renderer.
292
386
  *
293
387
  * @template Data - Type of data objects displayed in the grid rows
294
- *
295
- * @property type - Built-in renderer type for formatting cell values
296
388
  */
297
389
  type _DefaultGridColumn<Data extends AnyDict = AnyDict> = _BaseGridColumn<Data> & {
390
+ /**
391
+ * Built-in renderer type for formatting cell values.
392
+ */
298
393
  type?: GridCellRendererType;
394
+ /**
395
+ * Optional configuration or formatting options passed to the renderer (e.g., date/number format). *[NEW in 1.1.0]*
396
+ */
397
+ typeParams?: AnyType;
299
398
  };
300
399
  /**
301
400
  * Column definition using a custom value renderer function.
@@ -304,12 +403,15 @@ type _DefaultGridColumn<Data extends AnyDict = AnyDict> = _BaseGridColumn<Data>
304
403
  * Requires a tracking function for change detection optimization.
305
404
  *
306
405
  * @template Data - Type of data objects displayed in the grid rows
307
- *
308
- * @property track - Function returning unique identifier for the row (for change detection)
309
- * @property value - Function that resolves cell display value from row data
310
406
  */
311
407
  type _ValuedGridColumn<Data extends AnyDict = AnyDict> = _BaseGridColumn<Data> & {
408
+ /**
409
+ * Function returning unique identifier for the row (for change detection).
410
+ */
312
411
  track: (row: Data) => string;
412
+ /**
413
+ * Function that resolves cell display value from row data.
414
+ */
313
415
  value: GridCellRenderer<Data>;
314
416
  };
315
417
  /**
@@ -320,12 +422,15 @@ type _ValuedGridColumn<Data extends AnyDict = AnyDict> = _BaseGridColumn<Data> &
320
422
  * Requires a tracking function for change detection optimization.
321
423
  *
322
424
  * @template Data - Type of data objects displayed in the grid rows
323
- *
324
- * @property track - Function returning unique identifier for the row (for change detection)
325
- * @property renderTemplate - Angular TemplateRef for rendering cell content
326
425
  */
327
426
  type _TemplatedGridColumn<Data extends AnyDict = AnyDict> = _BaseGridColumn<Data> & {
427
+ /**
428
+ * Function returning unique identifier for the row (for change detection).
429
+ */
328
430
  track: (row: Data) => string;
431
+ /**
432
+ * Angular TemplateRef for rendering cell content.
433
+ */
329
434
  renderTemplate: TemplateRef<RenderTemplateData<Data>>;
330
435
  };
331
436
  /**
@@ -341,10 +446,11 @@ type GridCellRenderer<Data> = KeyResolver<Data, string | number>;
341
446
  * Context data provided to the header template.
342
447
  *
343
448
  * Implicit value is the header text string.
344
- *
345
- * @property $implicit - The column header text
346
449
  */
347
450
  type HeaderTemplateData = {
451
+ /**
452
+ * The column header text string.
453
+ */
348
454
  $implicit: string;
349
455
  };
350
456
  /**
@@ -354,18 +460,27 @@ type HeaderTemplateData = {
354
460
  * for use within custom Angular templates.
355
461
  *
356
462
  * @template Data - Type of data objects displayed in the grid rows
357
- *
358
- * @property $implicit - The cell's display value as string
359
- * @property value - The cell's display value as string (same as $implicit)
360
- * @property row - Complete data object for the current row
361
- * @property col - Column definition configuration object
362
- * @property index - Zero-based row index in the current data set
363
463
  */
364
464
  type RenderTemplateData<Data extends AnyDict = AnyDict> = {
465
+ /**
466
+ * The cell's display value as string (implicit context).
467
+ */
365
468
  $implicit: string;
469
+ /**
470
+ * The cell's display value as string (same as $implicit).
471
+ */
366
472
  value: string;
473
+ /**
474
+ * Complete data object for the current row.
475
+ */
367
476
  row: Data;
477
+ /**
478
+ * Column definition configuration object.
479
+ */
368
480
  col: GridColumn<Data>;
481
+ /**
482
+ * Zero-based row index in the current data set.
483
+ */
369
484
  index: number;
370
485
  };
371
486
 
@@ -509,6 +624,7 @@ declare class DataGridVm<Data extends AnyDict> {
509
624
  * that can be shared across multiple columns.
510
625
  */
511
626
  globalTypeCellTpls: Map<GridCellRendererType, TemplateRef<Data>>;
627
+ globalDataCellTpls: Map<string | keyof Data, TemplateRef<Data>>;
512
628
  /**
513
629
  * Computed an array of non-sticky columns to display in the scrollable area.
514
630
  *
@@ -723,7 +839,7 @@ declare class DataGrid<Data extends AnyDict> {
723
839
  /**
724
840
  * Whether to add an index column showing row numbers.
725
841
  *
726
- * When enabled, automatically adds a column displaying sequential row numbers.
842
+ * When enabled, it automatically adds a column displaying sequential row numbers.
727
843
  */
728
844
  hasIndexColumn: _angular_core.InputSignalWithTransform<boolean, string | number | undefined>;
729
845
  /**
@@ -732,7 +848,9 @@ declare class DataGrid<Data extends AnyDict> {
732
848
  * Controls whether users can select rows and in what mode:
733
849
  * - `{ mode: 'none' }` - No selection
734
850
  * - `{ mode: 'single' }` - Single row selection
735
- * - `{ mode: 'multiple' }` - Multiple row selection with checkboxes
851
+ * - `{ mode: 'multi' }` - Multiple row selection with checkboxes
852
+ *
853
+ * When selection is enabled, a `key` must be provided to identify rows.
736
854
  */
737
855
  selection: _angular_core.InputSignal<GridSelection>;
738
856
  /**
@@ -750,12 +868,13 @@ declare class DataGrid<Data extends AnyDict> {
750
868
  */
751
869
  rowHeight: _angular_core.InputSignalWithTransform<number, string | number | undefined>;
752
870
  /**
753
- * Whether to fill available height.
871
+ * Grid height configuration.
754
872
  *
755
- * When true, the grid expands to fill its container height.
756
- * When false, height is determined by content. Default is true.
873
+ * - `number` - Fixed height in pixels
874
+ * - `'full'` - Fill container height (100%), can be managed by host component style
875
+ * - `'default'` - Height by CSS var (--re-data-grid-height)
757
876
  */
758
- fillHeight: _angular_core.InputSignalWithTransform<boolean, string | boolean | undefined>;
877
+ height: _angular_core.InputSignal<number | "full" | "default">;
759
878
  /**
760
879
  * Size of the virtual scroll buffer.
761
880
  *
@@ -771,14 +890,14 @@ declare class DataGrid<Data extends AnyDict> {
771
890
  */
772
891
  loading: _angular_core.InputSignalWithTransform<boolean, string | boolean | undefined>;
773
892
  /**
774
- * Function or property name for obtaining unique row key.
893
+ * Function or property name for obtaining a unique row key.
775
894
  *
776
895
  * Used for efficient change detection and row tracking.
777
- * Can be a property name (string) or a function that returns unique identifier.
896
+ * Can be a property name (string) or a function that returns a unique identifier.
778
897
  */
779
898
  rowKey: _angular_core.InputSignal<RowKeyFn<Data> | undefined>;
780
899
  /**
781
- * Whether to start page count from 0 (true) or 1 (false).
900
+ * Whether to start a page count from 0 (true) or 1 (false).
782
901
  *
783
902
  * Controls the numbering scheme for pagination events.
784
903
  * Default is true (0-based indexing).
@@ -787,7 +906,7 @@ declare class DataGrid<Data extends AnyDict> {
787
906
  /**
788
907
  * Event emitted when requesting data for a new page.
789
908
  *
790
- * Fired in pagination and infinity scroll modes when user navigates
909
+ * Fired in pagination and infinity scroll modes when the user navigates
791
910
  * to a different page or scrolls near the end of current data.
792
911
  *
793
912
  * @example
@@ -801,7 +920,7 @@ declare class DataGrid<Data extends AnyDict> {
801
920
  /**
802
921
  * Event emitted when sort order changes.
803
922
  *
804
- * Fired when user clicks on a sortable column header.
923
+ * Fired when a user clicks on a sortable column header.
805
924
  * Contains the sort key and direction (asc/desc).
806
925
  *
807
926
  * @example
@@ -815,8 +934,8 @@ declare class DataGrid<Data extends AnyDict> {
815
934
  /**
816
935
  * Event emitted when selected rows change.
817
936
  *
818
- * Fired when user selects or deselects rows.
819
- * Contains array of currently selected row keys.
937
+ * Fired when a user selects or deselects rows.
938
+ * Contains an array of currently selected row keys.
820
939
  */
821
940
  selectChange: _angular_core.OutputEmitterRef<GridSelectEvent<Data>>;
822
941
  /**
@@ -836,37 +955,39 @@ declare class DataGrid<Data extends AnyDict> {
836
955
  private rootEl;
837
956
  private scrollEl;
838
957
  private headerEl;
839
- private cellSlotRefs;
958
+ private cellTypedSlotRefs;
959
+ private cellDataSlotRefs;
840
960
  private headerSlotRefs;
841
961
  private emptySlotRefs;
842
962
  private loadingSlotRefs;
843
- protected emptyTpl: _angular_core.Signal<DataGridCellEmptyDirective | null>;
844
- protected loadingTpl: _angular_core.Signal<DataGridCellLoadingDirective | null>;
963
+ private sortIcSlotRefs;
964
+ private expanderIcSlotRefs;
965
+ protected emptyTpl: _angular_core.Signal<DataGridCellEmptyDirective>;
966
+ protected loadingTpl: _angular_core.Signal<DataGridCellLoadingDirective>;
967
+ protected sortTpl: _angular_core.Signal<DataGridSortIconDirective | undefined>;
968
+ protected expanderTpl: _angular_core.Signal<DataGridExpanderIconDirective | undefined>;
845
969
  protected visibleRows: _angular_core.WritableSignal<Data[]>;
846
970
  protected startIndex: number;
847
971
  protected headerHeight: _angular_core.WritableSignal<number>;
848
972
  protected expanderMap: _angular_core.WritableSignal<Map<DataKey<Data>, boolean>>;
849
973
  protected extendedColumns: _angular_core.Signal<GridColumn<Data>[]>;
974
+ /**
975
+ * Computed CSS height value based on height setting.
976
+ */
977
+ styleHeight: _angular_core.Signal<string>;
850
978
  private hideSbTimeout?;
851
979
  currentSortField?: string;
852
980
  currentSortOrder: GridSortOrder;
853
981
  private subscription;
854
982
  private observer;
855
983
  constructor();
856
- /**
857
- * Computed CSS height value based on fillHeight setting.
858
- *
859
- * Returns null when grid should fill container height,
860
- * or 'auto' when height is content-based.
861
- */
862
- protected get styleHeight(): string | null;
863
984
  protected resolvePinnedData(pr: GridPinnedRow): Partial<Data>;
864
985
  /**
865
986
  * Handles column header click for sorting.
866
987
  *
867
988
  * Toggles sort order between ascending and descending for the clicked column.
868
- * If a different column is clicked, resets to ascending order.
869
- * Emits sortChange event with current sort state.
989
+ * If a different column is clicked, it resets to ascending order.
990
+ * Emits sortChange event with the current sort state.
870
991
  *
871
992
  * @param col - Column configuration that was clicked
872
993
  */
@@ -886,7 +1007,7 @@ declare class DataGrid<Data extends AnyDict> {
886
1007
  /**
887
1008
  * Handles column expand/collapse toggle.
888
1009
  *
889
- * Toggles the expanded state of a column and updates visibility
1010
+ * Toggles the expanded state of a column and updates the visibility
890
1011
  * of all dependent columns that reference this column via expandBy property.
891
1012
  *
892
1013
  * @param column - Column configuration to expand or collapse
@@ -896,8 +1017,8 @@ declare class DataGrid<Data extends AnyDict> {
896
1017
  * Handles vertical scroll events and updates visible rows.
897
1018
  *
898
1019
  * Implements virtual scrolling by calculating which rows should be rendered
899
- * based on current scroll position. Also handles infinite scroll data loading
900
- * when user scrolls near the end of available data.
1020
+ * based on the current scroll position. Also handles infinite scroll data loading
1021
+ * when the user scrolls near the end of available data.
901
1022
  *
902
1023
  * @param initial - Whether this is the initial scroll calculation
903
1024
  */
@@ -910,7 +1031,7 @@ declare class DataGrid<Data extends AnyDict> {
910
1031
  * to track thumb position and update scroll position accordingly.
911
1032
  * Automatically cleans up listeners when dragging ends.
912
1033
  *
913
- * @param e - Mouse down event from scrollbar thumb element
1034
+ * @param e - Mouse down event from a scrollbar thumb element
914
1035
  */
915
1036
  protected onThumbDown(e: MouseEvent): void;
916
1037
  protected showScrollbar(): void;
@@ -928,9 +1049,9 @@ declare class DataGrid<Data extends AnyDict> {
928
1049
  private initObserver;
929
1050
  private initExpander;
930
1051
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataGrid<any>, never>;
931
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataGrid<any>, "re-data-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "pinnedRows": { "alias": "pinnedRows"; "required": false; "isSignal": true; }; "hasIndexColumn": { "alias": "hasIndexColumn"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "fillHeight": { "alias": "fillHeight"; "required": false; "isSignal": true; }; "virtualBuffer": { "alias": "virtualBuffer"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "rowKey": { "alias": "rowKey"; "required": false; "isSignal": true; }; "pageStartFromZero": { "alias": "pageStartFromZero"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "selectChange": "selectChange"; "rowClick": "rowClick"; "cellClick": "cellClick"; }, ["cellSlotRefs", "headerSlotRefs", "emptySlotRefs", "loadingSlotRefs"], never, true, never>;
1052
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataGrid<any>, "re-data-grid", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "pinnedRows": { "alias": "pinnedRows"; "required": false; "isSignal": true; }; "hasIndexColumn": { "alias": "hasIndexColumn"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "virtualBuffer": { "alias": "virtualBuffer"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "rowKey": { "alias": "rowKey"; "required": false; "isSignal": true; }; "pageStartFromZero": { "alias": "pageStartFromZero"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "selectChange": "selectChange"; "rowClick": "rowClick"; "cellClick": "cellClick"; }, ["cellTypedSlotRefs", "cellDataSlotRefs", "headerSlotRefs", "emptySlotRefs", "loadingSlotRefs", "sortIcSlotRefs", "expanderIcSlotRefs"], never, true, never>;
932
1053
  }
933
1054
 
934
- export { DataGrid, DataGridCellEmptyDirective, DataGridCellLoadingDirective, DataGridHeaderTemplateDirective, DataGridTypeCellTemplateDirective };
1055
+ export { DataGrid, DataGridCellEmptyDirective, DataGridCellLoadingDirective, DataGridCellTemplateDirective, DataGridExpanderIconDirective, DataGridHeaderTemplateDirective, DataGridPaginator, DataGridSortIconDirective, DataGridTypeCellTemplateDirective };
935
1056
  export type { GridCellClickEvent, GridCellRenderer, GridColumn, GridColumns, GridPageChangeEvent, GridPinnedRow, GridPinnedRows, GridRowClickEvent, GridSelectEvent, GridSelection, GridSortEvent };
936
1057
  //# sourceMappingURL=reforgium-data-grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reforgium-data-grid.d.ts","sources":["../../../../libs/data-grid/src/directives/type-cell.directive.ts","../../../../libs/data-grid/src/directives/header.directive.ts","../../../../libs/data-grid/src/directives/placeholders.directive.ts","../../../../libs/data-grid/src/utils.models.ts","../../../../libs/data-grid/src/data-grid.models.ts","../../../../libs/data-grid/src/data-grid.events.models.ts","../../../../libs/data-grid/src/data-grid.vm.ts","../../../../libs/data-grid/src/helpers/selection/selection.helper.ts","../../../../libs/data-grid/src/data-grid.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;AAgBG;AACH;AAEE;;;;;;;;AAQG;AACH;AAEA;;;;;AAKG;AACI;;;AACR;;ACrCD;;;;;;;;;;;;;AAaG;AACH;AAEE;;;;AAIG;AACH;AAEA;;;AAGG;AACI;;;AACR;;AC9BD;;;;;;;;;;;;;;;AAeG;AACH;AAES;;;AACR;AAED;;;;;;;;;;;;;;;AAeG;AACH;AAES;;;AACR;;AC1CK;;;AAKA;AACA;;ACFN;;;;;;AAMG;AACG;AACN;;;;;AAKG;;AAEH;;;;;;AAMG;AACG;AACN;;;;;AAKG;;AAGH;;;;;;AAMG;AACG;AACN;;;;;;;;AAQG;AACG;AAEN;;;;AAIG;AACG;AACN;;;;;;AAMG;AACG;AAEN;;;;;;;AAOG;AACG;AAEN;;;;AAIG;AACH;;;AACA;;;;;;;;;;;AAWG;;AAED;AACA;AACA;;AAGF;;;;;;;;;;;;AAYG;AACG;;;AAGJ;;AAC4B;AAA0B;;AAGxD;;;;;;;AAOG;AACG;AAKN;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACH;AACE;;;AAIA;;;;;;;;;;AAaA;;AAGF;;;;;;;;;AASG;AACH;;;AAIA;;;;;;;;;;AAUG;AACH;AACE;AACA;;AAGF;;;;;;;;;;;AAWG;AACH;AACE;;;AAIF;;;;;;;AA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YG;AACH;AAEA;;;;;AAKG;AACH;AAEA;;;;AAIG;AACH;AAEA;;;;AAIG;AACH;AAEA;AACA;;;;;;;;;;;;;;;;;;;;;AAgFA;;;;;AAKG;AACH;;AAQA;;;;;;;;AAQG;;AAgBH;;;;;;;;;AASG;AACH;;AAgBA;;;;;;;AAOG;;AAmBH;;;;;;;;AAQG;AACH;;AAoDA;;;;;;;;AAQG;AACH;;AA8CA;AAUA;AAEA;AAUA;AAQA;AAQA;AAMA;AAKA;AAcA;AASA;AAQA;AAkBA;AAiBA;;;AAcD;;;"}
1
+ {"version":3,"file":"reforgium-data-grid.d.ts","sources":["../../../../libs/data-grid/src/directives/type-cell.directive.ts","../../../../libs/data-grid/src/directives/data-cell.directive.ts","../../../../libs/data-grid/src/directives/header.directive.ts","../../../../libs/data-grid/src/directives/placeholders.directive.ts","../../../../libs/data-grid/src/directives/icons.directive.ts","../../../../libs/data-grid/src/data-grid.paginator.ts","../../../../libs/data-grid/src/utils.models.ts","../../../../libs/data-grid/src/data-grid.models.ts","../../../../libs/data-grid/src/data-grid.events.models.ts","../../../../libs/data-grid/src/data-grid.vm.ts","../../../../libs/data-grid/src/helpers/selection/selection.helper.ts","../../../../libs/data-grid/src/data-grid.component.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;AAgBG;AACH;AAEE;;;;;;;;AAQG;AACH;AAEA;;;;;AAKG;AACI;;;AACR;;ACrCD;AAEE;AAEA;;;AAGG;AACI;;;AACR;;ACTD;;;;;;;;;;;;;AAaG;AACH;AAEE;;;;AAIG;AACH;AAEA;;;AAGG;AACI;;;AACR;;AC9BD;;;;;;;;;;;;;;;AAeG;AACH;AAES;;;AACR;AAED;;;;;;;;;;;;;;;AAeG;AACH;AAES;;;AACR;;ACtCD;AAES;;;AACR;AAED;AAES;;;AACR;;ACRD;AA2EE;AACA;AACA;AACA;AAEA;AAEA;AAMA;;;AAuCD;;ACnID;;;AA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