@tilde-nlp/ngx-common 8.1.89 → 8.1.91
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/fesm2022/tilde-nlp-ngx-common.mjs +155 -79
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +16 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1234,6 +1234,14 @@ interface MultiFunctionalTableConfig<T> {
|
|
|
1234
1234
|
disableRowClick?: (param: T) => boolean;
|
|
1235
1235
|
}
|
|
1236
1236
|
|
|
1237
|
+
declare enum RangeSelectionErrorCode {
|
|
1238
|
+
FromRequired = "FROM_REQUIRED",
|
|
1239
|
+
ToRequired = "TO_REQUIRED",
|
|
1240
|
+
FromOutOfRange = "FROM_OUT_OF_RANGE",
|
|
1241
|
+
ToOutOfRange = "TO_OUT_OF_RANGE",
|
|
1242
|
+
FromGreaterThanTo = "FROM_GREATER_THAN_TO"
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1237
1245
|
declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentInit, AfterViewInit {
|
|
1238
1246
|
#private;
|
|
1239
1247
|
private readonly domService;
|
|
@@ -1251,7 +1259,6 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
|
|
|
1251
1259
|
paginatorUpdate: EventEmitter<PageEvent>;
|
|
1252
1260
|
exported: EventEmitter<T[]>;
|
|
1253
1261
|
selectionChange: Observable<T[]>;
|
|
1254
|
-
rangeSelectionApplied: EventEmitter<number[]>;
|
|
1255
1262
|
headerRowDefs: QueryList<MatHeaderRowDef>;
|
|
1256
1263
|
rowDefs: QueryList<MatRowDef<T>>;
|
|
1257
1264
|
columnDefs: QueryList<MatColumnDef>;
|
|
@@ -1284,6 +1291,10 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
|
|
|
1284
1291
|
batchSelectedEnabled: boolean;
|
|
1285
1292
|
rangeSelectionFrom: number | null;
|
|
1286
1293
|
rangeSelectionTo: number | null;
|
|
1294
|
+
rangeSelectionFromGreaterThanTo: boolean;
|
|
1295
|
+
rangeSelectionErrors: RangeSelectionErrorCode[];
|
|
1296
|
+
get rangeSelectionRowCount(): number;
|
|
1297
|
+
get rangeSelectionInvalid(): boolean;
|
|
1287
1298
|
hoveredRow: any;
|
|
1288
1299
|
hoveredRowIndex: number | undefined;
|
|
1289
1300
|
tableOverflow: boolean;
|
|
@@ -1318,6 +1329,9 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
|
|
|
1318
1329
|
isAllSelected(): boolean;
|
|
1319
1330
|
toggleAllRowSelection(): void;
|
|
1320
1331
|
toggleElementSelection(element: T): void;
|
|
1332
|
+
recalculateRangeSelection(): void;
|
|
1333
|
+
onRangeSelectionFromChange(value: number | null): void;
|
|
1334
|
+
onRangeSelectionToChange(value: number | null): void;
|
|
1321
1335
|
applyRangeSelection(): void;
|
|
1322
1336
|
onMouseDown(event: MouseEvent): void;
|
|
1323
1337
|
onMouseMove(event: MouseEvent): void;
|
|
@@ -1338,7 +1352,7 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
|
|
|
1338
1352
|
private updateDataSourceData;
|
|
1339
1353
|
private updatePaginator;
|
|
1340
1354
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableComponent<any>, never>;
|
|
1341
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange";
|
|
1355
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "[batchActions]", "*"], false, never>;
|
|
1342
1356
|
}
|
|
1343
1357
|
|
|
1344
1358
|
declare class StatusDisplayComponent {
|