@3kles/kles-material-table-v2 21.9.0 → 22.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/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3kles/kles-material-table-v2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"3KLES"
|
|
6
6
|
],
|
|
7
7
|
"author": "3Kles Lab",
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@3kles/kles-material-dynamicforms": "^
|
|
11
|
-
"@angular/animations": "^
|
|
12
|
-
"@angular/cdk": "^
|
|
13
|
-
"@angular/common": "^
|
|
14
|
-
"@angular/core": "^
|
|
15
|
-
"@angular/forms": "^
|
|
16
|
-
"@angular/material": "^
|
|
17
|
-
"@angular/platform-browser": "^
|
|
18
|
-
"@angular/router": "^
|
|
10
|
+
"@3kles/kles-material-dynamicforms": "^22.0.0",
|
|
11
|
+
"@angular/animations": "^22.0.0",
|
|
12
|
+
"@angular/cdk": "^22.0.0",
|
|
13
|
+
"@angular/common": "^22.0.0",
|
|
14
|
+
"@angular/core": "^22.0.0",
|
|
15
|
+
"@angular/forms": "^22.0.0",
|
|
16
|
+
"@angular/material": "^22.0.0",
|
|
17
|
+
"@angular/platform-browser": "^22.0.0",
|
|
18
|
+
"@angular/router": "^22.0.0",
|
|
19
19
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
@@ -3,7 +3,7 @@ import { Signal, EventEmitter, Type, WritableSignal, Injector, OnInit, AfterView
|
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { FormGroup, FormControlStatus, FormArray, ValidatorFn, AsyncValidatorFn, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
5
|
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i5 from '@3kles/kles-material-dynamicforms';
|
|
7
7
|
import { IKlesFieldConfig, GroupUiState, ArrayUiState, AbstractUiState } from '@3kles/kles-material-dynamicforms';
|
|
8
8
|
import { SortHeaderArrowPosition, SortDirection, Sort, MatSort } from '@angular/material/sort';
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
@@ -323,6 +323,8 @@ interface SelectionState {
|
|
|
323
323
|
}
|
|
324
324
|
type SelectionConfigDef<T> = {
|
|
325
325
|
selectionMode?: boolean;
|
|
326
|
+
/** Toggles selection when the non-interactive area of a data row is clicked. */
|
|
327
|
+
selectOnRowClick?: boolean;
|
|
326
328
|
key?: string;
|
|
327
329
|
params?: () => Observable<T>;
|
|
328
330
|
select?: SelectionCallback<[
|
|
@@ -445,8 +447,14 @@ interface DragDropRowContext<TValue = unknown> {
|
|
|
445
447
|
}
|
|
446
448
|
interface DragDrop<TValue = unknown> {
|
|
447
449
|
dragDropRows?: DragDropConfig<TValue>;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
+
dragDropColumns?: ColumnDragDropConfig;
|
|
451
|
+
}
|
|
452
|
+
interface ColumnDragDropConfig {
|
|
453
|
+
enable?: boolean;
|
|
454
|
+
options?: {
|
|
455
|
+
/** Prevents specific columns from being moved. */
|
|
456
|
+
dragDisabled?: (column: KlesColumnConfig) => boolean;
|
|
457
|
+
};
|
|
450
458
|
}
|
|
451
459
|
type ExtraRowMode = 'expand' | 'always';
|
|
452
460
|
type ExtraRowWidth = 'table' | 'viewport';
|
|
@@ -860,12 +868,12 @@ declare class EventsService<TValue = unknown> {
|
|
|
860
868
|
declare class ColumnsService {
|
|
861
869
|
private _columns;
|
|
862
870
|
private readonly eventsService;
|
|
863
|
-
displayedColumns: Signal<string[]
|
|
871
|
+
displayedColumns: Signal<string[]>;
|
|
864
872
|
constructor(_columns: WritableSignal<KlesColumnConfig[]>, eventsService: EventsService);
|
|
865
873
|
register(): void;
|
|
866
874
|
get columns(): Signal<KlesColumnConfig[]>;
|
|
867
|
-
readonly stickyStartBoundary: Signal<string>;
|
|
868
|
-
readonly stickyEndBoundary: Signal<string>;
|
|
875
|
+
readonly stickyStartBoundary: Signal<string | undefined>;
|
|
876
|
+
readonly stickyEndBoundary: Signal<string | undefined>;
|
|
869
877
|
getVisible(): string[];
|
|
870
878
|
setVisible(columnDef: string, visible: boolean): void;
|
|
871
879
|
toggleVisible(columnDef: string): void;
|
|
@@ -978,7 +986,7 @@ declare class KlesForm {
|
|
|
978
986
|
updateRow(_id: number | string, value: any, options?: {
|
|
979
987
|
emitEvent?: boolean;
|
|
980
988
|
onlySelf?: boolean;
|
|
981
|
-
}): FormGroup<any
|
|
989
|
+
}): FormGroup<any> | undefined;
|
|
982
990
|
resetRow(_id: number | string, value?: any, options?: {
|
|
983
991
|
onlySelf?: boolean;
|
|
984
992
|
emitEvent?: boolean;
|
|
@@ -1005,22 +1013,22 @@ declare class KlesForm {
|
|
|
1005
1013
|
static ɵprov: i0.ɵɵInjectableDeclaration<KlesForm>;
|
|
1006
1014
|
}
|
|
1007
1015
|
|
|
1008
|
-
declare abstract class DragDropBase {
|
|
1009
|
-
protected config: DragDropConfig | undefined;
|
|
1016
|
+
declare abstract class DragDropBase<TValue = unknown> {
|
|
1017
|
+
protected config: DragDropConfig<TValue> | undefined;
|
|
1010
1018
|
protected readonly eventsService: EventsService;
|
|
1011
1019
|
protected readonly klesForm: KlesForm;
|
|
1012
1020
|
protected readonly injector: Injector;
|
|
1013
1021
|
private static nextDropListId;
|
|
1014
1022
|
readonly dropListId: string;
|
|
1015
|
-
constructor(config: DragDropConfig | undefined, eventsService: EventsService, klesForm: KlesForm, injector: Injector, tableId?: string);
|
|
1023
|
+
constructor(config: DragDropConfig<TValue> | undefined, eventsService: EventsService, klesForm: KlesForm, injector: Injector, tableId?: string);
|
|
1016
1024
|
get enable(): boolean;
|
|
1017
1025
|
get handleOnly(): boolean;
|
|
1018
1026
|
get autoScrollStep(): number;
|
|
1019
|
-
get connectedTo(): string[];
|
|
1027
|
+
get connectedTo(): string[] | undefined;
|
|
1020
1028
|
get sortPredicate(): (index: number, item: CdkDrag<FormGroup>) => boolean;
|
|
1021
|
-
get previewComponent(): i0.Type<unknown
|
|
1029
|
+
get previewComponent(): i0.Type<unknown> | undefined;
|
|
1022
1030
|
get previewMatchSize(): boolean;
|
|
1023
|
-
get placeholderComponent(): i0.Type<unknown
|
|
1031
|
+
get placeholderComponent(): i0.Type<unknown> | undefined;
|
|
1024
1032
|
isDragDisabled(row: FormGroup): boolean;
|
|
1025
1033
|
componentInjector(row: FormGroup, rowIndex: number): Injector;
|
|
1026
1034
|
abstract listDropped(event: CdkDragDrop<KlesForm>): void;
|
|
@@ -1038,8 +1046,8 @@ declare abstract class DragDropBase {
|
|
|
1038
1046
|
private handleDrop;
|
|
1039
1047
|
private toDropListId;
|
|
1040
1048
|
}
|
|
1041
|
-
declare class DragDropService extends DragDropBase {
|
|
1042
|
-
constructor(config: DragDropConfig | undefined, eventsService: EventsService, klesForm: KlesForm, injector: Injector, tableId?: string);
|
|
1049
|
+
declare class DragDropService<TValue = unknown> extends DragDropBase<TValue> {
|
|
1050
|
+
constructor(config: DragDropConfig<TValue> | undefined, eventsService: EventsService, klesForm: KlesForm, injector: Injector, tableId?: string);
|
|
1043
1051
|
listDropped(event: CdkDragDrop<KlesForm>): void;
|
|
1044
1052
|
}
|
|
1045
1053
|
|
|
@@ -1057,7 +1065,7 @@ declare class ScrollbarService {
|
|
|
1057
1065
|
toLeft(sb?: ScrollBehavior): void;
|
|
1058
1066
|
toRight(sb?: ScrollBehavior): void;
|
|
1059
1067
|
to(top: number, left: number, sb?: ScrollBehavior): void;
|
|
1060
|
-
getTop(): number;
|
|
1068
|
+
getTop(): number | undefined;
|
|
1061
1069
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollbarService, never>;
|
|
1062
1070
|
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollbarService>;
|
|
1063
1071
|
}
|
|
@@ -1292,6 +1300,7 @@ interface ISelectionService {
|
|
|
1292
1300
|
selectionModel?: IKlesSelectionModel<FormGroup>;
|
|
1293
1301
|
readonly loadingRows: Signal<ReadonlySet<FormGroup>>;
|
|
1294
1302
|
isLoading(row: FormGroup): boolean;
|
|
1303
|
+
onRowClick(event: MouseEvent, row: FormGroup): void;
|
|
1295
1304
|
count(): Signal<number>;
|
|
1296
1305
|
disable(): void;
|
|
1297
1306
|
enable(): void;
|
|
@@ -1337,7 +1346,8 @@ declare class RenderService {
|
|
|
1337
1346
|
|
|
1338
1347
|
declare class RowService {
|
|
1339
1348
|
private readonly eventsService;
|
|
1340
|
-
|
|
1349
|
+
private readonly selectionService;
|
|
1350
|
+
constructor(eventsService: EventsService, selectionService: ISelectionService);
|
|
1341
1351
|
onClick(event: MouseEvent, row: FormGroup, rowIndex: number): void;
|
|
1342
1352
|
onDoubleClick(event: MouseEvent, row: FormGroup, rowIndex: number): void;
|
|
1343
1353
|
onContextMenu(event: MouseEvent, row: FormGroup, rowIndex: number): void;
|
|
@@ -1411,6 +1421,19 @@ declare class TreeService<T, R> {
|
|
|
1411
1421
|
static ɵprov: i0.ɵɵInjectableDeclaration<TreeService<any, any>>;
|
|
1412
1422
|
}
|
|
1413
1423
|
|
|
1424
|
+
declare class ColumnDragDropService {
|
|
1425
|
+
private readonly config;
|
|
1426
|
+
private readonly columnsService;
|
|
1427
|
+
readonly enable: boolean;
|
|
1428
|
+
constructor(config: ColumnDragDropConfig | undefined, columnsService: ColumnsService);
|
|
1429
|
+
readonly sortPredicate: (index: number, drag: CdkDrag<KlesColumnConfig>) => boolean;
|
|
1430
|
+
visibleColumns(): KlesColumnConfig[];
|
|
1431
|
+
isDragDisabled(column: KlesColumnConfig): boolean;
|
|
1432
|
+
listDropped(event: CdkDragDrop<KlesColumnConfig[]>): void;
|
|
1433
|
+
private isSameGroup;
|
|
1434
|
+
private groupOf;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1414
1437
|
type TableSection = 'header' | 'body' | 'footer';
|
|
1415
1438
|
declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy {
|
|
1416
1439
|
private readonly host;
|
|
@@ -1419,6 +1442,7 @@ declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy
|
|
|
1419
1442
|
private readonly datasourceService;
|
|
1420
1443
|
readonly tableService: ITableService;
|
|
1421
1444
|
readonly dragDropRowService: DragDropService;
|
|
1445
|
+
readonly columnDragDropService: ColumnDragDropService;
|
|
1422
1446
|
readonly rowAppearance: RowAppearanceConfig;
|
|
1423
1447
|
readonly selectionService: ISelectionService;
|
|
1424
1448
|
readonly columnsService: ColumnsService;
|
|
@@ -1441,6 +1465,8 @@ declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy
|
|
|
1441
1465
|
table: MatTable<FormGroup>;
|
|
1442
1466
|
matSort: MatSort;
|
|
1443
1467
|
formElemRef: ElementRef<HTMLElement>;
|
|
1468
|
+
private readonly dropLists;
|
|
1469
|
+
private readonly drags;
|
|
1444
1470
|
headerHeightPx: i0.WritableSignal<number>;
|
|
1445
1471
|
scrollHeightPx: i0.WritableSignal<number>;
|
|
1446
1472
|
footerHeightPx: i0.WritableSignal<number>;
|
|
@@ -1448,7 +1474,7 @@ declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy
|
|
|
1448
1474
|
viewportScrollRangePx: i0.WritableSignal<number>;
|
|
1449
1475
|
dataSource: IKlesDataSource;
|
|
1450
1476
|
columns: Signal<KlesColumnConfig[]>;
|
|
1451
|
-
displayedColumns: Signal<string[]
|
|
1477
|
+
displayedColumns: Signal<string[]>;
|
|
1452
1478
|
showFooter: Signal<boolean>;
|
|
1453
1479
|
multiTemplateDataRows: Signal<boolean>;
|
|
1454
1480
|
extraRows: Signal<(ExtraRowConfig & {
|
|
@@ -1456,12 +1482,15 @@ declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy
|
|
|
1456
1482
|
})[]>;
|
|
1457
1483
|
readonly isEmpty: Signal<boolean>;
|
|
1458
1484
|
private ro?;
|
|
1485
|
+
private readonly changeDetectorRef;
|
|
1459
1486
|
private readonly destroyRef;
|
|
1460
1487
|
private rafId?;
|
|
1461
1488
|
private _cleanup?;
|
|
1462
1489
|
emptyStateComponent: typeof KlesTableEmptyStateComponent;
|
|
1463
|
-
|
|
1490
|
+
readonly identityTrackBy: (_: number, row: FormGroup) => FormGroup;
|
|
1491
|
+
constructor(host: ElementRef<HTMLElement>, connectorService: KlesTableConnectorService, loader: ILoader<unknown>, datasourceService: IDatasourceService, tableService: ITableService, dragDropRowService: DragDropService, columnDragDropService: ColumnDragDropService, rowAppearance: RowAppearanceConfig, selectionService: ISelectionService, columnsService: ColumnsService, loadingService: LoadingService, paginatorService: PaginatorService, scrollbarService: ScrollbarService, footerService: FooterService, extraRowService: ExtraRowService, renderService: RenderService, sortService: ISortService, filterService: FilterService, expandedRowStore: ExpandedRowStore, rowFactory: RowFormFactory, eventsService: EventsService, rowService: RowService, cellService: CellService, emptyStateService: EmptyStateService, treeService: TreeService<unknown, unknown>, rowContextStore: RowContextStore);
|
|
1464
1492
|
getRowContext(row: FormGroup): KlesRowContext;
|
|
1493
|
+
isRowSelected(row: FormGroup): boolean;
|
|
1465
1494
|
get isLoadingClass(): boolean;
|
|
1466
1495
|
get isEmptyClass(): boolean;
|
|
1467
1496
|
get events(): EventsApi;
|
|
@@ -1486,15 +1515,23 @@ declare class TableComponent implements ITable, OnInit, AfterViewInit, OnDestroy
|
|
|
1486
1515
|
ngOnInit(): void;
|
|
1487
1516
|
ngAfterViewInit(): void;
|
|
1488
1517
|
ngOnDestroy(): void;
|
|
1518
|
+
private bindColumnDragsToHeader;
|
|
1519
|
+
private scheduleColumnDragBinding;
|
|
1489
1520
|
getColumnSeparator(column: KlesColumnConfig, section: TableSection): string | null;
|
|
1490
1521
|
getStickyStartSeparator(column: KlesColumnConfig, section: TableSection): string | null;
|
|
1491
1522
|
getStickyEndSeparator(column: KlesColumnConfig, section: TableSection): string | null;
|
|
1492
1523
|
private getSeparatorStyle;
|
|
1493
1524
|
private calculHeaderHeight;
|
|
1494
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, null, null, null, null, null, null]>;
|
|
1525
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null, null, null, null, null, null, null]>;
|
|
1495
1526
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "kles-table", never, {}, {}, never, never, true, never>;
|
|
1496
1527
|
}
|
|
1497
1528
|
|
|
1529
|
+
declare class KlesTableFooterStartDirective {
|
|
1530
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
1531
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KlesTableFooterStartDirective, never>;
|
|
1532
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KlesTableFooterStartDirective, "[klesTableFooterStart]", never, {}, {}, never, never, true, never>;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1498
1535
|
interface KlesTableApi<TValue = unknown> {
|
|
1499
1536
|
refresh(): void;
|
|
1500
1537
|
get scrollbar(): ScrollbarApi;
|
|
@@ -1519,6 +1556,7 @@ interface KlesTableApi<TValue = unknown> {
|
|
|
1519
1556
|
declare class KlesTableComponent<TParams = unknown, TValue = unknown> implements OnInit, KlesTableApi<TValue> {
|
|
1520
1557
|
private connectorService;
|
|
1521
1558
|
tableConfig: i0.InputSignal<KlesTableConfig<TParams, TValue>>;
|
|
1559
|
+
readonly footerStart: i0.Signal<KlesTableFooterStartDirective | undefined>;
|
|
1522
1560
|
private readonly destroyRef;
|
|
1523
1561
|
tableEvent: EventEmitter<TableEvent<TValue>>;
|
|
1524
1562
|
rowClick: EventEmitter<RowMousePayload<TValue>>;
|
|
@@ -1546,7 +1584,7 @@ declare class KlesTableComponent<TParams = unknown, TValue = unknown> implements
|
|
|
1546
1584
|
readonly elevationShadow: i0.Signal<string>;
|
|
1547
1585
|
constructor(connectorService: KlesTableConnectorService);
|
|
1548
1586
|
ngOnInit(): void;
|
|
1549
|
-
get hostId(): string;
|
|
1587
|
+
get hostId(): string | undefined;
|
|
1550
1588
|
refresh(): void;
|
|
1551
1589
|
get scrollbar(): ScrollbarApi;
|
|
1552
1590
|
get column(): ColumnApi;
|
|
@@ -1567,13 +1605,13 @@ declare class KlesTableComponent<TParams = unknown, TValue = unknown> implements
|
|
|
1567
1605
|
}>;
|
|
1568
1606
|
private dispatchEvent;
|
|
1569
1607
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesTableComponent<any, any>, never>;
|
|
1570
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KlesTableComponent<any, any>, "kles-dynamic-table", never, { "tableConfig": { "alias": "tableConfig"; "required": true; "isSignal": true; }; }, { "tableEvent": "tableEvent"; "rowClick": "rowClick"; "rowDoubleClick": "rowDoubleClick"; "rowContextMenu": "rowContextMenu"; "rowMouseEnter": "rowMouseEnter"; "rowMouseLeave": "rowMouseLeave"; "rowDrop": "rowDrop"; "rowDropSuccess": "rowDropSuccess"; "rowDropError": "rowDropError"; "cellClick": "cellClick"; "cellDoubleClick": "cellDoubleClick"; "cellContextMenu": "cellContextMenu"; "cellValueChange": "cellValueChange"; "selectionChange": "selectionChange"; "selectionError": "selectionError"; "pageChange": "pageChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "loadError": "loadError"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "nodeLoadChildren": "nodeLoadChildren"; "nodeChildrenLoaded": "nodeChildrenLoaded"; },
|
|
1608
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KlesTableComponent<any, any>, "kles-dynamic-table", never, { "tableConfig": { "alias": "tableConfig"; "required": true; "isSignal": true; }; }, { "tableEvent": "tableEvent"; "rowClick": "rowClick"; "rowDoubleClick": "rowDoubleClick"; "rowContextMenu": "rowContextMenu"; "rowMouseEnter": "rowMouseEnter"; "rowMouseLeave": "rowMouseLeave"; "rowDrop": "rowDrop"; "rowDropSuccess": "rowDropSuccess"; "rowDropError": "rowDropError"; "cellClick": "cellClick"; "cellDoubleClick": "cellDoubleClick"; "cellContextMenu": "cellContextMenu"; "cellValueChange": "cellValueChange"; "selectionChange": "selectionChange"; "selectionError": "selectionError"; "pageChange": "pageChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "loadError": "loadError"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "nodeLoadChildren": "nodeLoadChildren"; "nodeChildrenLoaded": "nodeChildrenLoaded"; }, ["footerStart"], never, true, never>;
|
|
1571
1609
|
}
|
|
1572
1610
|
|
|
1573
1611
|
declare class KlesMaterialTableModule {
|
|
1574
1612
|
static declarations: any[][];
|
|
1575
1613
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesMaterialTableModule, never>;
|
|
1576
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KlesMaterialTableModule, never, [typeof i1.CommonModule, typeof TableComponent, typeof KlesTableComponent, typeof
|
|
1614
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KlesMaterialTableModule, never, [typeof i1.CommonModule, typeof TableComponent, typeof KlesTableFooterStartDirective, typeof KlesTableComponent, typeof i5.KlesMaterialDynamicformsModule], [typeof KlesTableFooterStartDirective, typeof KlesTableComponent]>;
|
|
1577
1615
|
static ɵinj: i0.ɵɵInjectorDeclaration<KlesMaterialTableModule>;
|
|
1578
1616
|
}
|
|
1579
1617
|
|
|
@@ -1584,8 +1622,9 @@ declare const FOOTER: InjectionToken<WritableSignal<boolean>>;
|
|
|
1584
1622
|
declare const EXTRA_ROWS: InjectionToken<WritableSignal<ExtraRowConfig[]>>;
|
|
1585
1623
|
declare const MULTI_UNFOLD: InjectionToken<boolean>;
|
|
1586
1624
|
declare const ROW_APPEARANCE_CONFIG: InjectionToken<RowAppearanceConfig<unknown>>;
|
|
1587
|
-
declare const ROW_DRAG_DROP: InjectionToken<DragDropService
|
|
1588
|
-
declare const
|
|
1625
|
+
declare const ROW_DRAG_DROP: InjectionToken<DragDropService<unknown>>;
|
|
1626
|
+
declare const COLUMN_DRAG_DROP: InjectionToken<ColumnDragDropService>;
|
|
1627
|
+
declare const DRAG_DROP_CONFIG: InjectionToken<DragDropConfig<unknown> | undefined>;
|
|
1589
1628
|
declare const KLES_DRAG_DROP_ROW_CONTEXT: InjectionToken<DragDropRowContext<unknown>>;
|
|
1590
1629
|
declare const PAGINATOR_CONFIG: InjectionToken<PaginatorConfig>;
|
|
1591
1630
|
declare const INFINITE_SCROLL_CONFIG: InjectionToken<InfiniteScrollConfig>;
|
|
@@ -1598,7 +1637,7 @@ declare const SELECTION_SERVICE: InjectionToken<ISelectionService>;
|
|
|
1598
1637
|
declare const SORT_SERVICE: InjectionToken<ISortService>;
|
|
1599
1638
|
declare const SCROLLBAR_ORCHESTRATOR_SERVICE: InjectionToken<IScrollbarOrchestratorService>;
|
|
1600
1639
|
declare const TABLE_SERVICE: InjectionToken<ITableService>;
|
|
1601
|
-
declare const EMPTY_STATE_CONFIG: InjectionToken<boolean | EmptyStateConfig>;
|
|
1640
|
+
declare const EMPTY_STATE_CONFIG: InjectionToken<boolean | EmptyStateConfig | undefined>;
|
|
1602
1641
|
|
|
1603
|
-
export { AlignCell, COLUMNS, DATASOURCE_SERVICE, DRAG_DROP_CONFIG, EMPTY_STATE_CONFIG, EXTRA_ROWS, FOOTER, HEADER_SERVICE, INFINITE_SCROLL_CONFIG, KLES_DRAG_DROP_ROW_CONTEXT, KlesMaterialTableModule, KlesTableComponent, KlesTableEmptyStateComponent, KlesTableIntl, LINES_SERVICE, LOADER_CONFIG, LOADER_SERVICE, MULTI_UNFOLD, PAGINATOR_CONFIG, ROW_APPEARANCE_CONFIG, ROW_DRAG_DROP, SCROLLBAR_ORCHESTRATOR_SERVICE, SELECTION_CONFIG, SELECTION_SERVICE, SORT_CONFIG, SORT_SERVICE, Span, TABLE_SERVICE, TableComponent, linesLazyLoader, linesLoader, selectionConfig };
|
|
1604
|
-
export type { AggregationType, BulkActionClickPayload, CellMousePayload, CellPayload, CellValueChangePayload, ColumnApi, ColumnClass, ColumnDropPayload, ColumnOrderChangePayload, ColumnPayload, ColumnResizePayload, ColumnSeparatorConfig, ColumnSeparatorStyle, ColumnVisibilityChangePayload, DefaultTableConfig, DragDrop, DragDropConfig, DragDropRowChange, DragDropRowContext, EmptyStateApi, EmptyStateChangePayload, EmptyStateConfig, EventsApi, ExpansionPayload, ExtraRow, ExtraRowConfig, ExtraRowMode, ExtraRowWidth, FilterChangePayload, FooterApi, FooterFormApi, FormApi, FormValue, GlobalSearchPayload, HeaderFormApi, IKlesCellFieldConfig, IKlesFooterFieldConfig, IKlesHeaderFieldConfig, ITable, InfiniteScrollConfig, KlesColumnConfig, KlesExtraCellFieldConfig, KlesRowContext, KlesStyleMap, KlesStyleValue, KlesTableApi, KlesTableConfig, LinesLazyLoader, LinesLoader, LoadErrorPayload, LoadSuccessPayload, LoaderConfig, LoaderLazyResult, LoaderResult, LoadingApi, LoadingChangePayload, NgStyleInput, PageChangePayload, PaginationApi, PaginatorConfig, RenderApi, RowActionClickPayload, RowAppearanceConfig, RowClassInput, RowClassValue, RowDropErrorPayload, RowDropPayload, RowId, RowMousePayload, RowPayload, RowStyleInput, RowValidatePayload, RowsFormApi, ScrollbarApi, Selection, SelectionAllResponse, SelectionApi, SelectionChangePayload, SelectionConfig, SelectionErrorPayload, SelectionResponse, SelectionState, SortApi, SortPayload, StateChangePayload, SummaryChangePayload, TableElevationLevel, TableEvent, TableEventMap, TableEventPayload, TableEventType, TableFormValue, TreeApi, TreeNodeId, TreePayload, ValidationErrorPayload, VisibilityChangePayload };
|
|
1642
|
+
export { AlignCell, COLUMNS, COLUMN_DRAG_DROP, DATASOURCE_SERVICE, DRAG_DROP_CONFIG, EMPTY_STATE_CONFIG, EXTRA_ROWS, FOOTER, HEADER_SERVICE, INFINITE_SCROLL_CONFIG, KLES_DRAG_DROP_ROW_CONTEXT, KlesMaterialTableModule, KlesTableComponent, KlesTableEmptyStateComponent, KlesTableFooterStartDirective, KlesTableIntl, LINES_SERVICE, LOADER_CONFIG, LOADER_SERVICE, MULTI_UNFOLD, PAGINATOR_CONFIG, ROW_APPEARANCE_CONFIG, ROW_DRAG_DROP, SCROLLBAR_ORCHESTRATOR_SERVICE, SELECTION_CONFIG, SELECTION_SERVICE, SORT_CONFIG, SORT_SERVICE, Span, TABLE_SERVICE, TableComponent, linesLazyLoader, linesLoader, selectionConfig };
|
|
1643
|
+
export type { AggregationType, BulkActionClickPayload, CellMousePayload, CellPayload, CellValueChangePayload, ColumnApi, ColumnClass, ColumnDragDropConfig, ColumnDropPayload, ColumnOrderChangePayload, ColumnPayload, ColumnResizePayload, ColumnSeparatorConfig, ColumnSeparatorStyle, ColumnVisibilityChangePayload, DefaultTableConfig, DragDrop, DragDropConfig, DragDropRowChange, DragDropRowContext, EmptyStateApi, EmptyStateChangePayload, EmptyStateConfig, EventsApi, ExpansionPayload, ExtraRow, ExtraRowConfig, ExtraRowMode, ExtraRowWidth, FilterChangePayload, FooterApi, FooterFormApi, FormApi, FormValue, GlobalSearchPayload, HeaderFormApi, IKlesCellFieldConfig, IKlesFooterFieldConfig, IKlesHeaderFieldConfig, ITable, InfiniteScrollConfig, KlesColumnConfig, KlesExtraCellFieldConfig, KlesRowContext, KlesStyleMap, KlesStyleValue, KlesTableApi, KlesTableConfig, LinesLazyLoader, LinesLoader, LoadErrorPayload, LoadSuccessPayload, LoaderConfig, LoaderLazyResult, LoaderResult, LoadingApi, LoadingChangePayload, NgStyleInput, PageChangePayload, PaginationApi, PaginatorConfig, RenderApi, RowActionClickPayload, RowAppearanceConfig, RowClassInput, RowClassValue, RowDropErrorPayload, RowDropPayload, RowId, RowMousePayload, RowPayload, RowStyleInput, RowValidatePayload, RowsFormApi, ScrollbarApi, Selection, SelectionAllResponse, SelectionApi, SelectionChangePayload, SelectionConfig, SelectionErrorPayload, SelectionResponse, SelectionState, SortApi, SortPayload, StateChangePayload, SummaryChangePayload, TableElevationLevel, TableEvent, TableEventMap, TableEventPayload, TableEventType, TableFormValue, TreeApi, TreeNodeId, TreePayload, ValidationErrorPayload, VisibilityChangePayload };
|