@memberjunction/ng-entity-viewer 2.132.0 → 3.0.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/README.md +317 -124
- package/dist/lib/entity-cards/entity-cards.component.js +2 -2
- package/dist/lib/entity-cards/entity-cards.component.js.map +1 -1
- package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts +793 -0
- package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts.map +1 -0
- package/dist/lib/entity-data-grid/entity-data-grid.component.js +3781 -0
- package/dist/lib/entity-data-grid/entity-data-grid.component.js.map +1 -0
- package/dist/lib/entity-data-grid/events/grid-events.d.ts +398 -0
- package/dist/lib/entity-data-grid/events/grid-events.d.ts.map +1 -0
- package/dist/lib/entity-data-grid/events/grid-events.js +556 -0
- package/dist/lib/entity-data-grid/events/grid-events.js.map +1 -0
- package/dist/lib/entity-data-grid/models/grid-types.d.ts +437 -0
- package/dist/lib/entity-data-grid/models/grid-types.d.ts.map +1 -0
- package/dist/lib/entity-data-grid/models/grid-types.js +37 -0
- package/dist/lib/entity-data-grid/models/grid-types.js.map +1 -0
- package/dist/lib/entity-grid/entity-grid.component.js +1 -1
- package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js +2 -2
- package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js.map +1 -1
- package/dist/lib/entity-viewer/entity-viewer.component.d.ts +136 -2
- package/dist/lib/entity-viewer/entity-viewer.component.d.ts.map +1 -1
- package/dist/lib/entity-viewer/entity-viewer.component.js +321 -94
- package/dist/lib/entity-viewer/entity-viewer.component.js.map +1 -1
- package/dist/lib/pagination/pagination.component.js +2 -2
- package/dist/lib/pagination/pagination.component.js.map +1 -1
- package/dist/lib/pill/pill.component.js +2 -2
- package/dist/lib/pill/pill.component.js.map +1 -1
- package/dist/lib/types.d.ts +14 -31
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/view-config-panel/view-config-panel.component.d.ts +363 -0
- package/dist/lib/view-config-panel/view-config-panel.component.d.ts.map +1 -0
- package/dist/lib/view-config-panel/view-config-panel.component.js +2006 -0
- package/dist/lib/view-config-panel/view-config-panel.component.js.map +1 -0
- package/dist/module.d.ts +16 -13
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +25 -15
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +4 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +6 -1
- package/dist/public-api.js.map +1 -1
- package/package.json +15 -11
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
// ========================================
|
|
2
|
+
// Base Event Classes
|
|
3
|
+
// ========================================
|
|
4
|
+
/**
|
|
5
|
+
* Base class for all grid events
|
|
6
|
+
*/
|
|
7
|
+
export class GridEventArgs {
|
|
8
|
+
/** The grid component that raised the event */
|
|
9
|
+
grid;
|
|
10
|
+
/** Timestamp when event was raised */
|
|
11
|
+
timestamp;
|
|
12
|
+
constructor(grid) {
|
|
13
|
+
this.grid = grid;
|
|
14
|
+
this.timestamp = new Date();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Base class for cancelable events (Before events)
|
|
19
|
+
*/
|
|
20
|
+
export class CancelableGridEventArgs extends GridEventArgs {
|
|
21
|
+
/** Set to true to cancel the operation */
|
|
22
|
+
cancel = false;
|
|
23
|
+
/** Optional reason for cancellation (for logging/debugging) */
|
|
24
|
+
cancelReason;
|
|
25
|
+
constructor(grid) {
|
|
26
|
+
super(grid);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Base class for row-related events
|
|
31
|
+
*/
|
|
32
|
+
export class RowEventArgs extends GridEventArgs {
|
|
33
|
+
/** The row data (entity) */
|
|
34
|
+
row;
|
|
35
|
+
/** The row index in the current view */
|
|
36
|
+
rowIndex;
|
|
37
|
+
/** The row key (ID) */
|
|
38
|
+
rowKey;
|
|
39
|
+
constructor(grid, row, rowIndex, rowKey) {
|
|
40
|
+
super(grid);
|
|
41
|
+
this.row = row;
|
|
42
|
+
this.rowIndex = rowIndex;
|
|
43
|
+
this.rowKey = rowKey;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Base class for cancelable row events
|
|
48
|
+
*/
|
|
49
|
+
export class CancelableRowEventArgs extends RowEventArgs {
|
|
50
|
+
/** Set to true to cancel the operation */
|
|
51
|
+
cancel = false;
|
|
52
|
+
/** Optional reason for cancellation */
|
|
53
|
+
cancelReason;
|
|
54
|
+
constructor(grid, row, rowIndex, rowKey) {
|
|
55
|
+
super(grid, row, rowIndex, rowKey);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
// ========================================
|
|
59
|
+
// Row Selection Events
|
|
60
|
+
// ========================================
|
|
61
|
+
/**
|
|
62
|
+
* Fired before a row is selected - can be canceled
|
|
63
|
+
*/
|
|
64
|
+
export class BeforeRowSelectEventArgs extends CancelableRowEventArgs {
|
|
65
|
+
/** Whether this is adding to selection (multi-select) or replacing */
|
|
66
|
+
isAdditive;
|
|
67
|
+
/** Current selection before this change */
|
|
68
|
+
currentSelection;
|
|
69
|
+
constructor(grid, row, rowIndex, rowKey, isAdditive, currentSelection) {
|
|
70
|
+
super(grid, row, rowIndex, rowKey);
|
|
71
|
+
this.isAdditive = isAdditive;
|
|
72
|
+
this.currentSelection = [...currentSelection];
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Fired after a row is selected
|
|
77
|
+
*/
|
|
78
|
+
export class AfterRowSelectEventArgs extends RowEventArgs {
|
|
79
|
+
/** Whether this was additive selection */
|
|
80
|
+
wasAdditive;
|
|
81
|
+
/** New selection state */
|
|
82
|
+
newSelection;
|
|
83
|
+
/** Previous selection state */
|
|
84
|
+
previousSelection;
|
|
85
|
+
constructor(grid, row, rowIndex, rowKey, wasAdditive, newSelection, previousSelection) {
|
|
86
|
+
super(grid, row, rowIndex, rowKey);
|
|
87
|
+
this.wasAdditive = wasAdditive;
|
|
88
|
+
this.newSelection = [...newSelection];
|
|
89
|
+
this.previousSelection = [...previousSelection];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Fired before a row is deselected - can be canceled
|
|
94
|
+
*/
|
|
95
|
+
export class BeforeRowDeselectEventArgs extends CancelableRowEventArgs {
|
|
96
|
+
/** Current selection before this change */
|
|
97
|
+
currentSelection;
|
|
98
|
+
constructor(grid, row, rowIndex, rowKey, currentSelection) {
|
|
99
|
+
super(grid, row, rowIndex, rowKey);
|
|
100
|
+
this.currentSelection = [...currentSelection];
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Fired after a row is deselected
|
|
105
|
+
*/
|
|
106
|
+
export class AfterRowDeselectEventArgs extends RowEventArgs {
|
|
107
|
+
/** New selection state */
|
|
108
|
+
newSelection;
|
|
109
|
+
/** Previous selection state */
|
|
110
|
+
previousSelection;
|
|
111
|
+
constructor(grid, row, rowIndex, rowKey, newSelection, previousSelection) {
|
|
112
|
+
super(grid, row, rowIndex, rowKey);
|
|
113
|
+
this.newSelection = [...newSelection];
|
|
114
|
+
this.previousSelection = [...previousSelection];
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
// ========================================
|
|
118
|
+
// Row Click Events
|
|
119
|
+
// ========================================
|
|
120
|
+
/**
|
|
121
|
+
* Fired before a row click is processed - can be canceled
|
|
122
|
+
*/
|
|
123
|
+
export class BeforeRowClickEventArgs extends CancelableRowEventArgs {
|
|
124
|
+
/** The mouse event */
|
|
125
|
+
mouseEvent;
|
|
126
|
+
/** The column that was clicked (if any) */
|
|
127
|
+
column;
|
|
128
|
+
/** The cell value that was clicked (if any) */
|
|
129
|
+
cellValue;
|
|
130
|
+
constructor(grid, row, rowIndex, rowKey, mouseEvent, column, cellValue) {
|
|
131
|
+
super(grid, row, rowIndex, rowKey);
|
|
132
|
+
this.mouseEvent = mouseEvent;
|
|
133
|
+
this.column = column;
|
|
134
|
+
this.cellValue = cellValue;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Fired after a row click
|
|
139
|
+
*/
|
|
140
|
+
export class AfterRowClickEventArgs extends RowEventArgs {
|
|
141
|
+
/** The mouse event */
|
|
142
|
+
mouseEvent;
|
|
143
|
+
/** The column that was clicked (if any) */
|
|
144
|
+
column;
|
|
145
|
+
/** The cell value that was clicked (if any) */
|
|
146
|
+
cellValue;
|
|
147
|
+
constructor(grid, row, rowIndex, rowKey, mouseEvent, column, cellValue) {
|
|
148
|
+
super(grid, row, rowIndex, rowKey);
|
|
149
|
+
this.mouseEvent = mouseEvent;
|
|
150
|
+
this.column = column;
|
|
151
|
+
this.cellValue = cellValue;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Fired before a row double-click - can be canceled
|
|
156
|
+
*/
|
|
157
|
+
export class BeforeRowDoubleClickEventArgs extends CancelableRowEventArgs {
|
|
158
|
+
/** The mouse event */
|
|
159
|
+
mouseEvent;
|
|
160
|
+
/** The column that was clicked (if any) */
|
|
161
|
+
column;
|
|
162
|
+
/** The cell value that was clicked (if any) */
|
|
163
|
+
cellValue;
|
|
164
|
+
constructor(grid, row, rowIndex, rowKey, mouseEvent, column, cellValue) {
|
|
165
|
+
super(grid, row, rowIndex, rowKey);
|
|
166
|
+
this.mouseEvent = mouseEvent;
|
|
167
|
+
this.column = column;
|
|
168
|
+
this.cellValue = cellValue;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Fired after a row double-click
|
|
173
|
+
*/
|
|
174
|
+
export class AfterRowDoubleClickEventArgs extends RowEventArgs {
|
|
175
|
+
/** The mouse event */
|
|
176
|
+
mouseEvent;
|
|
177
|
+
/** The column that was clicked (if any) */
|
|
178
|
+
column;
|
|
179
|
+
/** The cell value that was clicked (if any) */
|
|
180
|
+
cellValue;
|
|
181
|
+
constructor(grid, row, rowIndex, rowKey, mouseEvent, column, cellValue) {
|
|
182
|
+
super(grid, row, rowIndex, rowKey);
|
|
183
|
+
this.mouseEvent = mouseEvent;
|
|
184
|
+
this.column = column;
|
|
185
|
+
this.cellValue = cellValue;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
// ========================================
|
|
189
|
+
// Cell Editing Events
|
|
190
|
+
// ========================================
|
|
191
|
+
/**
|
|
192
|
+
* Fired before cell edit begins - can be canceled
|
|
193
|
+
*/
|
|
194
|
+
export class BeforeCellEditEventArgs extends CancelableRowEventArgs {
|
|
195
|
+
/** The column being edited */
|
|
196
|
+
column;
|
|
197
|
+
/** Current value in the cell */
|
|
198
|
+
currentValue;
|
|
199
|
+
constructor(grid, row, rowIndex, rowKey, column, currentValue) {
|
|
200
|
+
super(grid, row, rowIndex, rowKey);
|
|
201
|
+
this.column = column;
|
|
202
|
+
this.currentValue = currentValue;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Fired after cell edit begins
|
|
207
|
+
*/
|
|
208
|
+
export class AfterCellEditBeginEventArgs extends RowEventArgs {
|
|
209
|
+
/** The column being edited */
|
|
210
|
+
column;
|
|
211
|
+
/** Current value in the cell */
|
|
212
|
+
currentValue;
|
|
213
|
+
constructor(grid, row, rowIndex, rowKey, column, currentValue) {
|
|
214
|
+
super(grid, row, rowIndex, rowKey);
|
|
215
|
+
this.column = column;
|
|
216
|
+
this.currentValue = currentValue;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Fired before cell edit is committed - can be canceled or value modified
|
|
221
|
+
*/
|
|
222
|
+
export class BeforeCellEditCommitEventArgs extends CancelableRowEventArgs {
|
|
223
|
+
/** The column being edited */
|
|
224
|
+
column;
|
|
225
|
+
/** Original value before edit */
|
|
226
|
+
oldValue;
|
|
227
|
+
/** New value being committed */
|
|
228
|
+
newValue;
|
|
229
|
+
/** Set to modify the value before committing */
|
|
230
|
+
modifiedValue;
|
|
231
|
+
constructor(grid, row, rowIndex, rowKey, column, oldValue, newValue) {
|
|
232
|
+
super(grid, row, rowIndex, rowKey);
|
|
233
|
+
this.column = column;
|
|
234
|
+
this.oldValue = oldValue;
|
|
235
|
+
this.newValue = newValue;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Fired after cell edit is committed
|
|
240
|
+
*/
|
|
241
|
+
export class AfterCellEditCommitEventArgs extends RowEventArgs {
|
|
242
|
+
/** The column that was edited */
|
|
243
|
+
column;
|
|
244
|
+
/** Original value before edit */
|
|
245
|
+
oldValue;
|
|
246
|
+
/** New value that was committed */
|
|
247
|
+
newValue;
|
|
248
|
+
constructor(grid, row, rowIndex, rowKey, column, oldValue, newValue) {
|
|
249
|
+
super(grid, row, rowIndex, rowKey);
|
|
250
|
+
this.column = column;
|
|
251
|
+
this.oldValue = oldValue;
|
|
252
|
+
this.newValue = newValue;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Fired before cell edit is canceled - can be canceled (forcing commit instead)
|
|
257
|
+
*/
|
|
258
|
+
export class BeforeCellEditCancelEventArgs extends CancelableRowEventArgs {
|
|
259
|
+
/** The column being edited */
|
|
260
|
+
column;
|
|
261
|
+
/** Original value */
|
|
262
|
+
originalValue;
|
|
263
|
+
/** The edited value that would be discarded */
|
|
264
|
+
editedValue;
|
|
265
|
+
constructor(grid, row, rowIndex, rowKey, column, originalValue, editedValue) {
|
|
266
|
+
super(grid, row, rowIndex, rowKey);
|
|
267
|
+
this.column = column;
|
|
268
|
+
this.originalValue = originalValue;
|
|
269
|
+
this.editedValue = editedValue;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Fired after cell edit is canceled
|
|
274
|
+
*/
|
|
275
|
+
export class AfterCellEditCancelEventArgs extends RowEventArgs {
|
|
276
|
+
/** The column that was being edited */
|
|
277
|
+
column;
|
|
278
|
+
/** Original value that was restored */
|
|
279
|
+
originalValue;
|
|
280
|
+
/** The edited value that was discarded */
|
|
281
|
+
editedValue;
|
|
282
|
+
constructor(grid, row, rowIndex, rowKey, column, originalValue, editedValue) {
|
|
283
|
+
super(grid, row, rowIndex, rowKey);
|
|
284
|
+
this.column = column;
|
|
285
|
+
this.originalValue = originalValue;
|
|
286
|
+
this.editedValue = editedValue;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
// ========================================
|
|
290
|
+
// Row Save/Delete Events
|
|
291
|
+
// ========================================
|
|
292
|
+
/**
|
|
293
|
+
* Fired before row save - can be canceled or values modified
|
|
294
|
+
*/
|
|
295
|
+
export class BeforeRowSaveEventArgs extends CancelableRowEventArgs {
|
|
296
|
+
/** The changes being saved */
|
|
297
|
+
changes;
|
|
298
|
+
/** Set to modify values before saving */
|
|
299
|
+
modifiedValues;
|
|
300
|
+
constructor(grid, row, rowIndex, rowKey, changes) {
|
|
301
|
+
super(grid, row, rowIndex, rowKey);
|
|
302
|
+
this.changes = { ...changes };
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Fired after row save
|
|
307
|
+
*/
|
|
308
|
+
export class AfterRowSaveEventArgs extends RowEventArgs {
|
|
309
|
+
/** The changes that were saved */
|
|
310
|
+
changes;
|
|
311
|
+
/** Whether the save was successful */
|
|
312
|
+
success;
|
|
313
|
+
/** Error message if save failed */
|
|
314
|
+
error;
|
|
315
|
+
constructor(grid, row, rowIndex, rowKey, changes, success, error) {
|
|
316
|
+
super(grid, row, rowIndex, rowKey);
|
|
317
|
+
this.changes = { ...changes };
|
|
318
|
+
this.success = success;
|
|
319
|
+
this.error = error;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Fired before row delete - can be canceled
|
|
324
|
+
*/
|
|
325
|
+
export class BeforeRowDeleteEventArgs extends CancelableRowEventArgs {
|
|
326
|
+
/** Whether this is part of a batch delete */
|
|
327
|
+
isBatch;
|
|
328
|
+
constructor(grid, row, rowIndex, rowKey, isBatch) {
|
|
329
|
+
super(grid, row, rowIndex, rowKey);
|
|
330
|
+
this.isBatch = isBatch;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Fired after row delete
|
|
335
|
+
*/
|
|
336
|
+
export class AfterRowDeleteEventArgs extends RowEventArgs {
|
|
337
|
+
/** Whether the delete was successful */
|
|
338
|
+
success;
|
|
339
|
+
/** Error message if delete failed */
|
|
340
|
+
error;
|
|
341
|
+
constructor(grid, row, rowIndex, rowKey, success, error) {
|
|
342
|
+
super(grid, row, rowIndex, rowKey);
|
|
343
|
+
this.success = success;
|
|
344
|
+
this.error = error;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
// ========================================
|
|
348
|
+
// Data Loading Events
|
|
349
|
+
// ========================================
|
|
350
|
+
/**
|
|
351
|
+
* Fired before data load - can be canceled or params modified
|
|
352
|
+
*/
|
|
353
|
+
export class BeforeDataLoadEventArgs extends CancelableGridEventArgs {
|
|
354
|
+
/** The RunView parameters that will be used */
|
|
355
|
+
params;
|
|
356
|
+
/** Set to modify the parameters before loading */
|
|
357
|
+
modifiedParams;
|
|
358
|
+
constructor(grid, params) {
|
|
359
|
+
super(grid);
|
|
360
|
+
this.params = { ...params };
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Fired after data load
|
|
365
|
+
*/
|
|
366
|
+
export class AfterDataLoadEventArgs extends GridEventArgs {
|
|
367
|
+
/** The RunView parameters that were used */
|
|
368
|
+
params;
|
|
369
|
+
/** Whether the load was successful */
|
|
370
|
+
success;
|
|
371
|
+
/** Total number of rows matching the query */
|
|
372
|
+
totalRowCount;
|
|
373
|
+
/** Number of rows actually loaded (may be limited by maxRows) */
|
|
374
|
+
loadedRowCount;
|
|
375
|
+
/** Time taken to load in milliseconds */
|
|
376
|
+
loadTimeMs;
|
|
377
|
+
/** Error message if load failed */
|
|
378
|
+
error;
|
|
379
|
+
constructor(grid, params, success, totalRowCount, loadedRowCount, loadTimeMs, error) {
|
|
380
|
+
super(grid);
|
|
381
|
+
this.params = { ...params };
|
|
382
|
+
this.success = success;
|
|
383
|
+
this.totalRowCount = totalRowCount;
|
|
384
|
+
this.loadedRowCount = loadedRowCount;
|
|
385
|
+
this.loadTimeMs = loadTimeMs;
|
|
386
|
+
this.error = error;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Fired before data refresh (reload) - can be canceled
|
|
391
|
+
*/
|
|
392
|
+
export class BeforeDataRefreshEventArgs extends CancelableGridEventArgs {
|
|
393
|
+
/** Whether this is an auto-refresh from parameter changes */
|
|
394
|
+
isAutoRefresh;
|
|
395
|
+
constructor(grid, isAutoRefresh) {
|
|
396
|
+
super(grid);
|
|
397
|
+
this.isAutoRefresh = isAutoRefresh;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Fired after data refresh
|
|
402
|
+
*/
|
|
403
|
+
export class AfterDataRefreshEventArgs extends GridEventArgs {
|
|
404
|
+
/** Whether the refresh was successful */
|
|
405
|
+
success;
|
|
406
|
+
/** Total number of rows after refresh */
|
|
407
|
+
totalRowCount;
|
|
408
|
+
/** Time taken to refresh in milliseconds */
|
|
409
|
+
loadTimeMs;
|
|
410
|
+
constructor(grid, success, totalRowCount, loadTimeMs) {
|
|
411
|
+
super(grid);
|
|
412
|
+
this.success = success;
|
|
413
|
+
this.totalRowCount = totalRowCount;
|
|
414
|
+
this.loadTimeMs = loadTimeMs;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
// ========================================
|
|
418
|
+
// Sorting Events
|
|
419
|
+
// ========================================
|
|
420
|
+
/**
|
|
421
|
+
* Fired before sort - can be canceled
|
|
422
|
+
*/
|
|
423
|
+
export class BeforeSortEventArgs extends CancelableGridEventArgs {
|
|
424
|
+
/** The column being sorted */
|
|
425
|
+
column;
|
|
426
|
+
/** The new sort direction */
|
|
427
|
+
direction;
|
|
428
|
+
/** Whether this is a multi-sort operation (shift+click) */
|
|
429
|
+
isMultiSort;
|
|
430
|
+
/** Current sort state before change */
|
|
431
|
+
currentSortState;
|
|
432
|
+
constructor(grid, column, direction, isMultiSort, currentSortState) {
|
|
433
|
+
super(grid);
|
|
434
|
+
this.column = column;
|
|
435
|
+
this.direction = direction;
|
|
436
|
+
this.isMultiSort = isMultiSort;
|
|
437
|
+
this.currentSortState = [...currentSortState];
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Fired after sort
|
|
442
|
+
*/
|
|
443
|
+
export class AfterSortEventArgs extends GridEventArgs {
|
|
444
|
+
/** The column that was sorted */
|
|
445
|
+
column;
|
|
446
|
+
/** The new sort direction */
|
|
447
|
+
direction;
|
|
448
|
+
/** New sort state */
|
|
449
|
+
newSortState;
|
|
450
|
+
constructor(grid, column, direction, newSortState) {
|
|
451
|
+
super(grid);
|
|
452
|
+
this.column = column;
|
|
453
|
+
this.direction = direction;
|
|
454
|
+
this.newSortState = [...newSortState];
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
// ========================================
|
|
458
|
+
// Column Events
|
|
459
|
+
// ========================================
|
|
460
|
+
/**
|
|
461
|
+
* Fired before column reorder - can be canceled
|
|
462
|
+
*/
|
|
463
|
+
export class BeforeColumnReorderEventArgs extends CancelableGridEventArgs {
|
|
464
|
+
/** The column being moved */
|
|
465
|
+
column;
|
|
466
|
+
/** Original index */
|
|
467
|
+
fromIndex;
|
|
468
|
+
/** Target index */
|
|
469
|
+
toIndex;
|
|
470
|
+
constructor(grid, column, fromIndex, toIndex) {
|
|
471
|
+
super(grid);
|
|
472
|
+
this.column = column;
|
|
473
|
+
this.fromIndex = fromIndex;
|
|
474
|
+
this.toIndex = toIndex;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Fired after column reorder
|
|
479
|
+
*/
|
|
480
|
+
export class AfterColumnReorderEventArgs extends GridEventArgs {
|
|
481
|
+
/** The column that was moved */
|
|
482
|
+
column;
|
|
483
|
+
/** Original index */
|
|
484
|
+
fromIndex;
|
|
485
|
+
/** New index */
|
|
486
|
+
toIndex;
|
|
487
|
+
constructor(grid, column, fromIndex, toIndex) {
|
|
488
|
+
super(grid);
|
|
489
|
+
this.column = column;
|
|
490
|
+
this.fromIndex = fromIndex;
|
|
491
|
+
this.toIndex = toIndex;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Fired before column resize - can be canceled
|
|
496
|
+
*/
|
|
497
|
+
export class BeforeColumnResizeEventArgs extends CancelableGridEventArgs {
|
|
498
|
+
/** The column being resized */
|
|
499
|
+
column;
|
|
500
|
+
/** Original width */
|
|
501
|
+
oldWidth;
|
|
502
|
+
/** New width */
|
|
503
|
+
newWidth;
|
|
504
|
+
constructor(grid, column, oldWidth, newWidth) {
|
|
505
|
+
super(grid);
|
|
506
|
+
this.column = column;
|
|
507
|
+
this.oldWidth = oldWidth;
|
|
508
|
+
this.newWidth = newWidth;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Fired after column resize
|
|
513
|
+
*/
|
|
514
|
+
export class AfterColumnResizeEventArgs extends GridEventArgs {
|
|
515
|
+
/** The column that was resized */
|
|
516
|
+
column;
|
|
517
|
+
/** Original width */
|
|
518
|
+
oldWidth;
|
|
519
|
+
/** New width */
|
|
520
|
+
newWidth;
|
|
521
|
+
constructor(grid, column, oldWidth, newWidth) {
|
|
522
|
+
super(grid);
|
|
523
|
+
this.column = column;
|
|
524
|
+
this.oldWidth = oldWidth;
|
|
525
|
+
this.newWidth = newWidth;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* Fired before column visibility change - can be canceled
|
|
530
|
+
*/
|
|
531
|
+
export class BeforeColumnVisibilityChangeEventArgs extends CancelableGridEventArgs {
|
|
532
|
+
/** The column being shown/hidden */
|
|
533
|
+
column;
|
|
534
|
+
/** New visibility state */
|
|
535
|
+
newVisibility;
|
|
536
|
+
constructor(grid, column, newVisibility) {
|
|
537
|
+
super(grid);
|
|
538
|
+
this.column = column;
|
|
539
|
+
this.newVisibility = newVisibility;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Fired after column visibility change
|
|
544
|
+
*/
|
|
545
|
+
export class AfterColumnVisibilityChangeEventArgs extends GridEventArgs {
|
|
546
|
+
/** The column that was shown/hidden */
|
|
547
|
+
column;
|
|
548
|
+
/** New visibility state */
|
|
549
|
+
newVisibility;
|
|
550
|
+
constructor(grid, column, newVisibility) {
|
|
551
|
+
super(grid);
|
|
552
|
+
this.column = column;
|
|
553
|
+
this.newVisibility = newVisibility;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
//# sourceMappingURL=grid-events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-events.js","sourceRoot":"","sources":["../../../../src/lib/entity-data-grid/events/grid-events.ts"],"names":[],"mappings":"AAOA,2CAA2C;AAC3C,qBAAqB;AACrB,2CAA2C;AAE3C;;GAEG;AACH,MAAM,OAAO,aAAa;IACxB,+CAA+C;IACtC,IAAI,CAAmB;IAEhC,sCAAsC;IAC7B,SAAS,CAAO;IAEzB,YAAY,IAAsB;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC9B,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,uBAAwB,SAAQ,aAAa;IACxD,0CAA0C;IAC1C,MAAM,GAAY,KAAK,CAAC;IAExB,+DAA+D;IAC/D,YAAY,CAAU;IAEtB,YAAY,IAAsB;QAChC,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,aAAa;IAC7C,4BAA4B;IACnB,GAAG,C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