@thkl/agrid 0.1.1 → 0.1.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@thkl/agrid",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "description": "A signal-based, standalone data grid for Angular.",
5
5
  "keywords": [
6
6
  "angular",
@@ -13,7 +13,7 @@
13
13
  "homepage": "https://thkl.github.io/agrid/",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/thkl/agrid.git"
16
+ "url": "git+https://github.com/thkl/agrid.git"
17
17
  },
18
18
  "bugs": {
19
19
  "url": "https://github.com/thkl/agrid/issues"
@@ -1,5 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { Signal, WritableSignal, DestroyRef } from '@angular/core';
3
+ import * as _thkl_agrid from '@thkl/agrid';
3
4
 
4
5
  /** Guarded access to browser-only APIs used by the grid. @internal */
5
6
  declare class AgridBrowserAdapter {
@@ -33,96 +34,6 @@ declare class AgridBrowserAdapter {
33
34
  downloadText(filename: string, text: string, mimeType: string): boolean;
34
35
  }
35
36
 
36
- /**
37
- * Signal-based data container shared between the grid and the host component.
38
- *
39
- * Both the grid and the host component hold a reference to the same `AgridDataSource`
40
- * instance. Mutations made by either side (e.g. the grid calling `patchRow` when a cell
41
- * is committed, or the host calling `setData` to load fresh data) are immediately reflected
42
- * in the grid because {@link rows} is a readonly Angular signal.
43
- *
44
- * @example
45
- * ```ts
46
- * readonly ds = new AgridDataSource(generateRows(1000));
47
- *
48
- * // Later — update one row from outside the grid:
49
- * this.ds.patchRow(5, { salary: 99000 });
50
- * ```
51
- */
52
- declare class AgridDataSource<T extends object = any> {
53
- private readonly _linkedRows;
54
- private readonly _rows;
55
- private _writableLinkedRows;
56
- private readonly _rowAdded;
57
- private _changeSequence;
58
- /**
59
- * @param initialData Rows to seed the data source with.
60
- * The array is shallow-copied so external mutations do not affect the source.
61
- */
62
- constructor(initialData?: T[]);
63
- /**
64
- * Readonly signal of the current row array.
65
- * Read it inside Angular templates or `computed()` to react to changes automatically.
66
- */
67
- readonly rows: Signal<T[]>;
68
- /** Latest row insertion, used by attached grids to reveal the inserted row. */
69
- readonly rowAdded: Signal<{
70
- index: number;
71
- sequence: number;
72
- } | null>;
73
- /**
74
- * Link an external row signal to this data source.
75
- *
76
- * Whenever `source` changes, its array becomes the current datasource value without an
77
- * intermediate effect or array copy. If `source` is writable, datasource mutations are written
78
- * back to it automatically. Mutations remain local when linking a readonly signal.
79
- */
80
- linkSignal(source: Signal<T[]>): void;
81
- /**
82
- * Replace the entire row array.
83
- * Triggers a full grid re-render via the signal.
84
- */
85
- setData(rows: T[]): void;
86
- /**
87
- * Overwrite the row at `index` with a new row object.
88
- * Use {@link patchRow} when you only want to change specific fields.
89
- */
90
- updateRow(index: number, row: T): void;
91
- /**
92
- * Merge `patch` into the existing row at `index`, leaving other fields untouched.
93
- * The grid calls this internally when a cell edit is committed.
94
- */
95
- patchRow(index: number, patch: Partial<T>): void;
96
- /**
97
- * Insert a row into the data source and return the index at which it was inserted.
98
- *
99
- * @param row The row object to insert.
100
- * @param atIndex Optional insertion index. Defaults to the end of the array.
101
- * @returns The index the row was inserted at.
102
- */
103
- addRow(row: T, atIndex?: number): number;
104
- /**
105
- * Remove the row at `index`.
106
- * The grid adjusts `selectedCell` and `editingCell` internally when a deletion occurs
107
- * via the control column context menu.
108
- */
109
- removeRow(index: number): void;
110
- /**
111
- * Move the row at `from` to position `to` (insert-before semantics).
112
- * Designed to be called directly from a `(rowReorder)` handler:
113
- * ```ts
114
- * onReorder(e: RowReorderEvent) { this.ds.moveRow(e.oldIndex, e.newIndex); }
115
- * ```
116
- */
117
- moveRow(from: number, to: number): void;
118
- /** Return the current row at `index` (non-reactive snapshot). */
119
- getRow(index: number): T;
120
- /** Current number of rows (non-reactive snapshot). */
121
- get length(): number;
122
- private updateRows;
123
- private setRows;
124
- }
125
-
126
37
  /**
127
38
  * A single reversible cell edit stored in the undo/redo history.
128
39
  * Both `oldValue` and `newValue` are the raw values as stored in the data source.
@@ -263,6 +174,11 @@ declare class AgridControl {
263
174
  * operation works correctly whether or not an order has been set before.
264
175
  */
265
176
  moveColumn(currentVisibleOrder: string[], fromField: string, toField: string, insertBefore: boolean): void;
177
+ /**
178
+ * Move an ordered block of fields to a new position relative to `toField`.
179
+ * Fields absent from `currentVisibleOrder` are ignored.
180
+ */
181
+ moveColumns(currentVisibleOrder: string[], fromFields: readonly string[], toField: string, insertBefore: boolean): void;
266
182
  /** Reactive set of field names currently pinned to the left edge. */
267
183
  readonly pinnedColumns: Signal<Set<string>>;
268
184
  /** Return `true` when the given field is pinned. */
@@ -409,6 +325,96 @@ declare class AgridControl {
409
325
  static fromJSON(state: Partial<AgridControlState>): AgridControl;
410
326
  }
411
327
 
328
+ /**
329
+ * Signal-based data container shared between the grid and the host component.
330
+ *
331
+ * Both the grid and the host component hold a reference to the same `AgridDataSource`
332
+ * instance. Mutations made by either side (e.g. the grid calling `patchRow` when a cell
333
+ * is committed, or the host calling `setData` to load fresh data) are immediately reflected
334
+ * in the grid because {@link rows} is a readonly Angular signal.
335
+ *
336
+ * @example
337
+ * ```ts
338
+ * readonly ds = new AgridDataSource(generateRows(1000));
339
+ *
340
+ * // Later — update one row from outside the grid:
341
+ * this.ds.patchRow(5, { salary: 99000 });
342
+ * ```
343
+ */
344
+ declare class AgridDataSource<T extends object = any> {
345
+ private readonly _linkedRows;
346
+ private readonly _rows;
347
+ private _writableLinkedRows;
348
+ private readonly _rowAdded;
349
+ private _changeSequence;
350
+ /**
351
+ * @param initialData Rows to seed the data source with.
352
+ * The array is shallow-copied so external mutations do not affect the source.
353
+ */
354
+ constructor(initialData?: T[]);
355
+ /**
356
+ * Readonly signal of the current row array.
357
+ * Read it inside Angular templates or `computed()` to react to changes automatically.
358
+ */
359
+ readonly rows: Signal<T[]>;
360
+ /** Latest row insertion, used by attached grids to reveal the inserted row. */
361
+ readonly rowAdded: Signal<{
362
+ index: number;
363
+ sequence: number;
364
+ } | null>;
365
+ /**
366
+ * Link an external row signal to this data source.
367
+ *
368
+ * Whenever `source` changes, its array becomes the current datasource value without an
369
+ * intermediate effect or array copy. If `source` is writable, datasource mutations are written
370
+ * back to it automatically. Mutations remain local when linking a readonly signal.
371
+ */
372
+ linkSignal(source: Signal<T[]>): void;
373
+ /**
374
+ * Replace the entire row array.
375
+ * Triggers a full grid re-render via the signal.
376
+ */
377
+ setData(rows: T[]): void;
378
+ /**
379
+ * Overwrite the row at `index` with a new row object.
380
+ * Use {@link patchRow} when you only want to change specific fields.
381
+ */
382
+ updateRow(index: number, row: T): void;
383
+ /**
384
+ * Merge `patch` into the existing row at `index`, leaving other fields untouched.
385
+ * The grid calls this internally when a cell edit is committed.
386
+ */
387
+ patchRow(index: number, patch: Partial<T>): void;
388
+ /**
389
+ * Insert a row into the data source and return the index at which it was inserted.
390
+ *
391
+ * @param row The row object to insert.
392
+ * @param atIndex Optional insertion index. Defaults to the end of the array.
393
+ * @returns The index the row was inserted at.
394
+ */
395
+ addRow(row: T, atIndex?: number): number;
396
+ /**
397
+ * Remove the row at `index`.
398
+ * The grid adjusts `selectedCell` and `editingCell` internally when a deletion occurs
399
+ * via the control column context menu.
400
+ */
401
+ removeRow(index: number): void;
402
+ /**
403
+ * Move the row at `from` to position `to` (insert-before semantics).
404
+ * Designed to be called directly from a `(rowReorder)` handler:
405
+ * ```ts
406
+ * onReorder(e: RowReorderEvent) { this.ds.moveRow(e.oldIndex, e.newIndex); }
407
+ * ```
408
+ */
409
+ moveRow(from: number, to: number): void;
410
+ /** Return the current row at `index` (non-reactive snapshot). */
411
+ getRow(index: number): T;
412
+ /** Current number of rows (non-reactive snapshot). */
413
+ get length(): number;
414
+ private updateRows;
415
+ private setRows;
416
+ }
417
+
412
418
  /** Built-in locale identifiers supplied by the grid. */
413
419
  type AgridLocaleKey = 'en' | 'de';
414
420
  /** Complete set of user-facing strings and label factories used by the grid. */
@@ -433,6 +439,9 @@ interface AgridLocaleText {
433
439
  hiddenColumn: string;
434
440
  copyCellValue: string;
435
441
  copyRow: string;
442
+ confirmDeleteRow: string;
443
+ confirmNo: string;
444
+ confirmYes: string;
436
445
  deleteRow: string;
437
446
  filterPlaceholder: string;
438
447
  findPlaceholder: string;
@@ -444,6 +453,7 @@ interface AgridLocaleText {
444
453
  insertRowBelow: string;
445
454
  lastPage: string;
446
455
  loading: string;
456
+ markRow: string;
447
457
  next: string;
448
458
  noRows: string;
449
459
  pagination: string;
@@ -475,6 +485,8 @@ interface AgridProviderConfig<T extends object = any> extends Partial<AGridOptio
475
485
  control?: AgridControl;
476
486
  /** Initial column definitions in display order. */
477
487
  columns?: ColDef<T>[];
488
+ /** Labels used by columns with a matching `group` identifier. */
489
+ headerGroups?: HeaderGroup[];
478
490
  /** Row height in pixels. Must be fixed for CDK virtual scroll. @default 32 */
479
491
  rowHeight?: number;
480
492
  /** Minimum height of the grid host element (e.g. `'200px'`). */
@@ -487,6 +499,8 @@ interface AgridProviderConfig<T extends object = any> extends Partial<AGridOptio
487
499
  autoAddRows?: boolean;
488
500
  /** Show a 24 px control column with a drag handle and right-click context menu. */
489
501
  showControlColumn?: boolean;
502
+ /** Show row-marking checkboxes in a 48 px control column for clipboard inclusion. @default false */
503
+ enableRowMarking?: boolean;
490
504
  /** Show the sidebar panel. */
491
505
  showSidebar?: boolean;
492
506
  /** Automatically open the detail panel when a row is selected. */
@@ -521,6 +535,10 @@ interface AgridProviderConfig<T extends object = any> extends Partial<AGridOptio
521
535
  cellMenuItems?: (CellContextMenuItem<T> | null)[];
522
536
  /** Shade every other row slightly for easier reading. @default false */
523
537
  zebraStripes?: boolean;
538
+ /** Show a color marker on cells changed through grid editing. @default false */
539
+ showChangedCellIndicator?: boolean;
540
+ /** Ask for confirmation before grid row-delete actions. @default false */
541
+ confirmRowDelete?: boolean;
524
542
  /** Make the entire grid read-only. @default false */
525
543
  readonly?: boolean;
526
544
  /** Restrict editing to the sidebar editor instead of inline cells. */
@@ -543,6 +561,8 @@ declare class AgridProvider<T extends object = any> {
543
561
  control: AgridControl;
544
562
  /** Reactive column definitions in display order. */
545
563
  readonly columns: WritableSignal<ColDef<T>[]>;
564
+ /** Header-group labels referenced by column definitions. */
565
+ headerGroups: HeaderGroup[];
546
566
  /** Shared grid options such as locale. */
547
567
  options: AGridOptions;
548
568
  private readonly _localizations;
@@ -567,6 +587,8 @@ declare class AgridProvider<T extends object = any> {
567
587
  allowAddRows: boolean;
568
588
  /** Whether the control column is rendered. */
569
589
  showControlColumn: boolean;
590
+ /** Whether rows can be marked for inclusion in clipboard copies. */
591
+ enableRowMarking: boolean;
570
592
  /** Whether the sidebar is available. */
571
593
  showSidebar: boolean;
572
594
  /** Whether selecting a row automatically opens its detail panel. */
@@ -589,6 +611,10 @@ declare class AgridProvider<T extends object = any> {
589
611
  cellMenuItems: (CellContextMenuItem<T> | null)[];
590
612
  /** Whether alternating data rows receive stripe styling. */
591
613
  zebraStripes: boolean;
614
+ /** Whether committed cell changes receive a visual marker. */
615
+ showChangedCellIndicator: boolean;
616
+ /** Whether grid row-delete actions require in-row confirmation. */
617
+ confirmRowDelete: boolean;
592
618
  /** Optional empty-state text override. */
593
619
  emptyText?: string;
594
620
  /** Whether edits are restricted to the sidebar editor. */
@@ -652,12 +678,21 @@ interface ValueOption<TValue = unknown> {
652
678
  }
653
679
  /** Width sentinel that makes a column fill the remaining horizontal space. */
654
680
  declare const ColDefAutoSize = -1;
681
+ /** Label definition for a group displayed above contiguous column headers. */
682
+ interface HeaderGroup {
683
+ /** Stable identifier referenced by {@link ColDefBase.group}. */
684
+ id: string;
685
+ /** Text displayed in the grouped header row. */
686
+ label: string;
687
+ }
655
688
  /** Defines the behavior shared by every typed column. */
656
689
  interface ColDefBase<T extends object, K extends AgridField<T>> {
657
690
  /** Data field name — must match a key in the row object. */
658
691
  field: K;
659
692
  /** Text displayed in the column header. */
660
693
  header: string;
694
+ /** Optional header-group identifier configured through `AgridProvider.headerGroups`. */
695
+ group?: string;
661
696
  /**
662
697
  * Default column width in pixels. Can be overridden at runtime via {@link AgridControl}.
663
698
  * Use `-1` (or omit) to make the column auto-scale and fill available space (`1fr`).
@@ -848,7 +883,9 @@ interface RowClickEvent<T extends object = any> {
848
883
  /** Zero-based index of the row in the data source. */
849
884
  originalIndex: number;
850
885
  }
851
- /** Emitted after the user saves a row through the sidebar editor. */
886
+ /**
887
+ * Emitted after an inline-edited row is left, or after the user saves through the sidebar editor.
888
+ */
852
889
  interface RowUpdateEvent<T extends object = any> {
853
890
  /** Updated row data. */
854
891
  row: T;
@@ -917,6 +954,17 @@ interface NewRecord<T extends object = any> {
917
954
  datasource: AgridDataSource<T>;
918
955
  }
919
956
 
957
+ /** View state for the floating column header shown during a reorder drag. @internal */
958
+ interface AgridColumnDragPreview {
959
+ field: string;
960
+ fields: string[];
961
+ label: string;
962
+ x: number;
963
+ y: number;
964
+ width: number;
965
+ height: number;
966
+ }
967
+
920
968
  /** Screen position and row targeted by the row context menu. @internal */
921
969
  type AgridRowContextMenu = {
922
970
  x: number;
@@ -966,6 +1014,15 @@ type AgridColumnMenuState = {
966
1014
  y: number;
967
1015
  };
968
1016
 
1017
+ /** One contiguous segment in the optional grouped-header row. @internal */
1018
+ interface AgridHeaderGroupRun {
1019
+ key: string;
1020
+ id: string | null;
1021
+ label: string;
1022
+ fields: string[];
1023
+ span: number;
1024
+ }
1025
+
969
1026
  /** Rectangular bounds in projected row and visible column coordinates. @internal */
970
1027
  type VisibleCellBounds = {
971
1028
  rowStart: number;
@@ -1076,7 +1133,9 @@ declare class AgridComponent<T extends object = any> {
1076
1133
  readonly maxHeight: Signal<string | undefined>;
1077
1134
  readonly allowAddRows: Signal<boolean>;
1078
1135
  readonly autoAddRows: Signal<boolean>;
1136
+ readonly enableRowMarking: Signal<boolean>;
1079
1137
  readonly showControlColumn: Signal<boolean>;
1138
+ readonly controlColumnWidth: Signal<48 | 24>;
1080
1139
  readonly showSidebar: Signal<boolean>;
1081
1140
  readonly autoOpenDetail: Signal<boolean>;
1082
1141
  readonly serverSideFiltering: Signal<boolean>;
@@ -1086,7 +1145,10 @@ declare class AgridComponent<T extends object = any> {
1086
1145
  readonly groupDescription: Signal<((label: string) => string) | null>;
1087
1146
  readonly groupActions: Signal<GroupAction[]>;
1088
1147
  readonly cellMenuItems: Signal<(CellContextMenuItem<T> | null)[]>;
1148
+ readonly headerGroups: Signal<_thkl_agrid.HeaderGroup[]>;
1089
1149
  readonly zebraStripes: Signal<boolean>;
1150
+ readonly showChangedCellIndicator: Signal<boolean>;
1151
+ readonly confirmRowDelete: Signal<boolean>;
1090
1152
  readonly readonlyGrid: Signal<boolean>;
1091
1153
  readonly loading: Signal<boolean>;
1092
1154
  readonly emptyText: Signal<string | undefined>;
@@ -1121,7 +1183,10 @@ declare class AgridComponent<T extends object = any> {
1121
1183
  rowDoubleClicked: _angular_core.OutputEmitterRef<RowClickEvent<T>>;
1122
1184
  /** Emitted when the user single-clicks a data row. */
1123
1185
  rowClick: _angular_core.OutputEmitterRef<RowClickEvent<T>>;
1124
- /** Emitted when the user has changed and saved a record via the sidebar editor save button */
1186
+ /**
1187
+ * Emitted once after a changed row is left during inline editing, or when the sidebar editor
1188
+ * save button is used.
1189
+ */
1125
1190
  rowChanged: _angular_core.OutputEmitterRef<RowUpdateEvent<T>>;
1126
1191
  /**
1127
1192
  * Emitted when the user navigates to a new page in **server-side pagination mode**
@@ -1135,6 +1200,15 @@ declare class AgridComponent<T extends object = any> {
1135
1200
  sortChange: _angular_core.OutputEmitterRef<SortChangeEvent>;
1136
1201
  /** Currently focused cell, or `null`. */
1137
1202
  readonly selectedCell: _angular_core.WritableSignal<CellPosition | null>;
1203
+ /** Original index of the row awaiting delete confirmation, or `null`. */
1204
+ readonly pendingDeleteRow: _angular_core.WritableSignal<number | null>;
1205
+ private readonly markedIndices;
1206
+ /** Original datasource indices marked for inclusion in copy operations. */
1207
+ readonly markedRowIndices: Signal<ReadonlySet<number>>;
1208
+ /** Horizontal position of the delete prompt inside the scrollable row. */
1209
+ readonly deleteConfirmationLeft: _angular_core.WritableSignal<number>;
1210
+ /** Visible width available to the delete prompt. */
1211
+ readonly deleteConfirmationWidth: _angular_core.WritableSignal<number>;
1138
1212
  /** Rectangular cell range selected by Shift+arrow or Shift+click. */
1139
1213
  readonly selectedRange: _angular_core.WritableSignal<CellRange | null>;
1140
1214
  /** Fill-handle drag preview bounds, in visible row/column coordinates. */
@@ -1168,6 +1242,13 @@ declare class AgridComponent<T extends object = any> {
1168
1242
  /** @internal */ goToPrevPage(): void;
1169
1243
  /** Resize every visible column to fit its header and current row values. */
1170
1244
  autosizeAllColumns(): void;
1245
+ /**
1246
+ * Clears changed-cell markers after persistence succeeds.
1247
+ * Omit `originalIndex` to clear every marker; omit `fields` to clear the whole row.
1248
+ */
1249
+ clearChangedCells(originalIndex?: number, fields?: readonly string[]): void;
1250
+ /** @internal Whether a cell has an unsaved-change marker. */
1251
+ isCellChanged(originalIndex: number, field: string): boolean;
1171
1252
  /** @internal Full display value for a cell — used as the `title` tooltip attribute. */
1172
1253
  getCellTitle(col: ColDef, value: unknown): string;
1173
1254
  /** @internal Dynamic CSS class string for a cell from `ColDef.cellClass`. */
@@ -1198,6 +1279,10 @@ declare class AgridComponent<T extends object = any> {
1198
1279
  readonly hasRightPinnedPane: Signal<boolean>;
1199
1280
  readonly hasPinnedPane: Signal<boolean>;
1200
1281
  readonly hasFilterableColumns: Signal<boolean>;
1282
+ readonly hasHeaderGroups: Signal<boolean>;
1283
+ readonly pinnedHeaderGroupRuns: Signal<AgridHeaderGroupRun[]>;
1284
+ readonly scrollableHeaderGroupRuns: Signal<AgridHeaderGroupRun[]>;
1285
+ readonly rightHeaderGroupRuns: Signal<AgridHeaderGroupRun[]>;
1201
1286
  private readonly columnState;
1202
1287
  private readonly projection;
1203
1288
  private readonly editController;
@@ -1206,7 +1291,9 @@ declare class AgridComponent<T extends object = any> {
1206
1291
  /** Total number of pages given the current filter and page size. */
1207
1292
  readonly totalPages: Signal<number>;
1208
1293
  readonly showPagination: Signal<boolean>;
1209
- /** Number of rendered semantic rows, including the header row. */
1294
+ /** Number of semantic header rows currently rendered. */
1295
+ readonly headerRowCount: Signal<1 | 2>;
1296
+ /** Number of rendered semantic rows, including header rows. */
1210
1297
  readonly ariaRowCount: Signal<number>;
1211
1298
  /** Number of visible semantic columns, including the optional control column. */
1212
1299
  readonly ariaColCount: Signal<number>;
@@ -1284,15 +1371,37 @@ declare class AgridComponent<T extends object = any> {
1284
1371
  private readonly clipboardHandler;
1285
1372
  readonly dragHandler: AgridDragHandler;
1286
1373
  private readonly columnReorder;
1374
+ readonly columnDragPreview: _angular_core.WritableSignal<AgridColumnDragPreview | null>;
1287
1375
  /** @internal Start a column header drag. */
1288
1376
  onColHeaderPointerDown(event: PointerEvent, field: string): void;
1377
+ /** @internal Start dragging all columns in one contiguous grouped-header segment. */
1378
+ onHeaderGroupPointerDown(event: PointerEvent, fields: string[], label: string): void;
1379
+ /** @internal Whether any field in a grouped-header segment is being dragged. */
1380
+ isHeaderGroupDragging(fields: string[]): boolean;
1381
+ /** @internal Whether a grouped-header segment contains a locked column. */
1382
+ isHeaderGroupLocked(fields: string[]): boolean;
1289
1383
  /** @internal Whether the given column header is being dragged. */
1290
1384
  isColDragging(field: string): boolean;
1291
1385
  /** @internal Template helper for drop-indicator class. */
1292
1386
  getColDropSide(field: string): 'before' | 'after' | null;
1387
+ /** @internal Horizontal animation offset for a header during column reordering. */
1388
+ getColReorderOffset(field: string): number;
1293
1389
  private readonly _seededControls;
1390
+ private readonly dirtyInlineRows;
1391
+ private dirtyRowsDataSource;
1392
+ private readonly changedCells;
1393
+ private changedCellsDataSource;
1294
1394
  private emitEditEvents;
1395
+ private emitSidebarEditEvents;
1295
1396
  private emitRecordEdit;
1397
+ private markInlineRowDirty;
1398
+ private markCellChanged;
1399
+ private changedCellKey;
1400
+ private parseChangedCellKey;
1401
+ private flushDirtyInlineRows;
1402
+ private reconcileDirtyInlineRowsAfterRemoval;
1403
+ private reconcileChangedCellsAfterRemoval;
1404
+ private emitRowChanged;
1296
1405
  private createRecordEvent;
1297
1406
  constructor();
1298
1407
  /** @internal */
@@ -1391,6 +1500,12 @@ declare class AgridComponent<T extends object = any> {
1391
1500
  onHandlePointerDown(event: PointerEvent, originalIndex: number): void;
1392
1501
  /** @internal Handles the control column without letting the row receive a second pointer event. */
1393
1502
  onControlPointerDown(event: PointerEvent, originalIndex: number): void;
1503
+ /** @internal Toggle whether a row is included in subsequent copy operations. */
1504
+ toggleRowMarked(originalIndex: number): void;
1505
+ /** @internal Returns whether a row is marked for copying. */
1506
+ isRowMarked(originalIndex: number): boolean;
1507
+ /** Clear every row marked for clipboard inclusion. */
1508
+ clearMarkedRows(): void;
1394
1509
  /** @internal Copy the active range or cell as TSV. */
1395
1510
  onCopy(event: ClipboardEvent): void;
1396
1511
  /** @internal Paste TSV/CSV-like plain text into the current cell. */
@@ -1411,14 +1526,22 @@ declare class AgridComponent<T extends object = any> {
1411
1526
  closeCellContextMenu(): void;
1412
1527
  /** @internal Runs a typed provider context-menu action against erased controller state. */
1413
1528
  runCellMenuItem(item: CellContextMenuItem<T>, menu: AgridCellContextMenu): void;
1414
- /** @internal Copy the display value of one cell to the clipboard. */
1415
- copyCellToClipboard(value: unknown, col: ColDef): void;
1416
- /** @internal Copy all visible column values of a row as TSV to the clipboard. */
1417
- copyRowToClipboard(row: Record<string, unknown>): void;
1529
+ /** @internal Copy one field from the target and marked rows. */
1530
+ copyCellToClipboard(originalIndex: number, col: ColDef): void;
1531
+ /** @internal Copy the target and marked rows using all visible fields. */
1532
+ copyRowToClipboard(originalIndex: number): void;
1418
1533
  /** @internal Insert a blank row at a specific position and emit prepareAddRecord. */
1419
1534
  insertRowAt(atIndex: number): void;
1420
- /** Delete the row at `originalIndex`, adjusting stale cell/edit pointers. */
1535
+ /** Start confirmation or immediately delete the row at `originalIndex`. */
1421
1536
  deleteRow(originalIndex: number): void;
1537
+ /** @internal Returns whether this row is awaiting delete confirmation. */
1538
+ isRowPendingDelete(originalIndex: number): boolean;
1539
+ /** @internal Delete the row currently awaiting confirmation. */
1540
+ confirmPendingRowDelete(): void;
1541
+ /** @internal Cancel the active row-delete confirmation. */
1542
+ cancelRowDelete(): void;
1543
+ private deleteRowImmediately;
1544
+ private updateDeleteConfirmationPosition;
1422
1545
  /** @internal */
1423
1546
  onGroupHeaderClick(label: string): void;
1424
1547
  /** Expand all groups. No-op when grouping is not active. */
@@ -1459,6 +1582,8 @@ declare class AgridComponent<T extends object = any> {
1459
1582
  onSidebarToggleColumn(field: string): void;
1460
1583
  /** @internal Mirrors vertical scrolling from the main viewport into both pinned panes. */
1461
1584
  onBodyScroll(): void;
1585
+ /** @internal Keeps the row-delete prompt visible while columns scroll horizontally. */
1586
+ onHorizontalScroll(): void;
1462
1587
  /** @internal */
1463
1588
  onRightPinnedBodyScroll(): void;
1464
1589
  /** @internal */
@@ -1472,6 +1597,9 @@ declare class AgridComponent<T extends object = any> {
1472
1597
  /** @internal */
1473
1598
  onMenuHideColumn(field: string): void;
1474
1599
  private findDisplayIndex;
1600
+ private reconcileMarkedRowsAfterInsertion;
1601
+ private reconcileMarkedRowsAfterRemoval;
1602
+ private reconcileMarkedRowsAfterMove;
1475
1603
  private isCellEditable;
1476
1604
  private enterEdit;
1477
1605
  private cancelCurrent;
@@ -1494,5 +1622,5 @@ declare class AgridComponent<T extends object = any> {
1494
1622
  }
1495
1623
 
1496
1624
  export { AGRID_LOCALE_TEXT, AgridComponent, AgridControl, AgridDataSource, AgridProvider, ColDefAutoSize };
1497
- export type { AgridControlState, AgridField, AgridLocaleKey, AgridLocaleText, AgridLocaleTextOverrides, AgridProviderConfig, CellContextMenuItem, CellPosition, ColDef, FilterChangeEvent, GridEditEvent, GroupAction, HistoryEntry, HistoryItem, NewRecord, PageChangeEvent, RecordEditEvent, RowClickEvent, RowRemovedEvent, RowReorderEvent, RowSelectEvent, RowUpdateEvent, SortChangeEvent, ValueOption };
1625
+ export type { AgridControlState, AgridField, AgridLocaleKey, AgridLocaleText, AgridLocaleTextOverrides, AgridProviderConfig, CellContextMenuItem, CellPosition, ColDef, FilterChangeEvent, GridEditEvent, GroupAction, HeaderGroup, HistoryEntry, HistoryItem, NewRecord, PageChangeEvent, RecordEditEvent, RowClickEvent, RowRemovedEvent, RowReorderEvent, RowSelectEvent, RowUpdateEvent, SortChangeEvent, ValueOption };
1498
1626
  //# sourceMappingURL=thkl-agrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"thkl-agrid.d.ts","sources":["../../../src/app/agrid/infrastructure/agrid-browser.adapter.ts","../../../src/app/agrid/agrid-datasource.ts","../../../src/app/agrid/agrid-control.ts","../../../src/app/agrid/agrid-localization.ts","../../../src/app/agrid/agrid-provider.ts","../../../src/app/agrid/agrid.types.ts","../../../src/app/agrid/rows/agrid-row.controller.ts","../../../src/app/agrid/selection/agrid-clipboard.handler.ts","../../../src/app/agrid/selection/agrid-find.controller.ts","../../../src/app/agrid/columns/agrid-column-menu.component.ts","../../../src/app/agrid/columns/agrid-column-menu.controller.ts","../../../src/app/agrid/selection/agrid-range.controller.ts","../../../src/app/agrid/rows/agrid-drag.handler.ts","../../../src/app/agrid/editing/agrid-sidebar.component.ts","../../../src/app/agrid/agrid.component.ts"],"mappings":";;;AAAA;AACA,cAAa,mBAAmB;;;;sBAGN,QAAQ,eAER,MAAM;;;;wCAUM,gBAAgB,6BAEhC,gBAAgB;;2CAMG,gBAAgB,6BAEnC,gBAAgB;;6CAMK,OAAO;;AAKhD,0BAAsB,WAAW;;;;AAcjC;;AAKA,2BAAuB,OAAO,GAAG,mBAAmB;;2BAK7B,wBAAwB;;AAK/C,oDAA2C,UAAU,QAAQ,UAAU;;kCAKnC,OAAO;;AAY3C;AAsBD;;ACvGD;;;;;;;;;;;;;;;AAeG;AACH,cAAa,eAAe;AAC1B;AACA;;AAEA;;AAGA;;;AAGG;;AAKH;;;AAGG;mBACY,MAAM;;AAGrB,u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BAAoB,MAAM;AAI1B;oDA/nCW,cAAc;sDAAd,cAAc;AAmoC1B;;;;","names":["__agrid_types.ColDefBase","__selection_agrid_range_controller.VisibleCellBounds","__columns_agrid_column_menu_controller.AgridColumnMenuState","__columns_agrid_column_menu_component.AgridColumnMenuValueItem","__selection_agrid_find_controller.AgridFindMatch","__rows_agrid_row_controller.AgridRowContextMenu"]}
1
+ {"version":3,"file":"thkl-agrid.d.ts","sources":["../../../src/app/agrid/infrastructure/agrid-browser.adapter.ts","../../../src/app/agrid/agrid-control.ts","../../../src/app/agrid/agrid-datasource.ts","../../../src/app/agrid/agrid-localization.ts","../../../src/app/agrid/agrid-provider.ts","../../../src/app/agrid/agrid.types.ts","../../../src/app/agrid/columns/agrid-column-reorder.controller.ts","../../../src/app/agrid/rows/agrid-row.controller.ts","../../../src/app/agrid/selection/agrid-clipboard.handler.ts","../../../src/app/agrid/selection/agrid-find.controller.ts","../../../src/app/agrid/columns/agrid-column-menu.component.ts","../../../src/app/agrid/columns/agrid-column-menu.controller.ts","../../../src/app/agrid/columns/agrid-column-layout.model.ts","../../../src/app/agrid/selection/agrid-range.controller.ts","../../../src/app/agrid/rows/agrid-drag.handler.ts","../../../src/app/agrid/editing/agrid-sidebar.component.ts","../../../src/app/agrid/agrid.component.ts"],"mappings":";;;;AAAA;AACA,cAAa,mBAAmB;;;;sBAGN,QAAQ,eAER,MAAM;;;;wCAUM,gBAAgB,6BAEhC,gBAAgB;;2CAMG,gBAAgB,6BAEnC,gBAAgB;;6CAMK,OAAO;;AAKhD,0BAAsB,WAAW;;;;AAcjC;;AAKA,2BAAuB,OAAO,GAAG,mBAAmB;;2BAK7B,wBAAwB;;AAK/C,oDAA2C,UAAU,QAAQ,UAAU;;kCAKnC,OAAO;;AAY3C;AAsBD;;ACvGD;;;AAGG;UACc,YAAY;;;;;AAK5B;AAED;KACY,WAAW,GAAG,YAAY,GAAG,YAAY;AAErD;;;;;AAKG;UACc,YAAY;;;AAG3B;;;;AAIG;AACH;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AY;;AAKrC,qBAAiB,aAAa;;AAW9B,yBAAqB,UAAU;;AAO/B;;AAKA;;AAKA;;;;AAYA,6BAAyB,MAAM;;+BAGJ,YAAY;;gCAMX,YAAY;;AAUxC;;AAUA;;AAKA;;AAKA,kBAAc,cAAc;;AAK5B,mBAAe,cAAc;;yBAQR,UAAU,OAAO,MAAM;;2BAKrB,aAAa,OAAO,MAAM;;4BAKzB,UAAU,OAAO,MAAM;;gCAYnB,UAAU;;AAKtC;;6BAGyB,UAAU,2CAA2C,MAAM,OAAO,MAAM;;AAKjG;;AAGA,0BAAsB,mBAAmB,WAAW,oBAAoB;;oDAWxB,MAAM;;AAKtD;;AAKA;;AAKA;;AAiBA;;AAKA;;AAQA;AAKA;AAKA;;AASA;;AAKA;;AAKA;;AAKA;;gCAK4B,UAAU;;AAKtC;;0BAGsB,WAAW;;8BAOP,KAAK;;0BAKT,UAAU;;AAKhC;;AAGA;;;;AAUA;;;;AAUA;;AAKA;;AAKA;;;;AAUA;;AAKA;;AAOA;;AAKA;;AAUA;;AAKA;;AAKA;;AAKA;;AAKA;AAMA;AAIA;AAOA;AASA;AAWA;AAIA;AAIA;;;;;;;;;;;AA6BA;;AAKA,wBAAoB,MAAM;AAI1B;oDA56CW,cAAc;sDAAd,cAAc;AAg7C1B;;;;","names":["__agrid_types.ColDefBase","__selection_agrid_range_controller.VisibleCellBounds","__columns_agrid_column_layout_model.AgridHeaderGroupRun","__columns_agrid_column_menu_controller.AgridColumnMenuState","__columns_agrid_column_menu_component.AgridColumnMenuValueItem","__selection_agrid_find_controller.AgridFindMatch","__rows_agrid_row_controller.AgridRowContextMenu","__columns_agrid_column_reorder_controller.AgridColumnDragPreview"]}