@3kles/kles-material-table-v2 21.0.0 → 21.0.1
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": "@3kles/kles-material-table-v2",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"3KLES"
|
|
6
6
|
],
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"@angular/material": "^21.0.0",
|
|
17
17
|
"@angular/platform-browser": "^21.0.0",
|
|
18
18
|
"@angular/router": "^21.0.0",
|
|
19
|
-
"rxjs": "^7.8.0",
|
|
20
|
-
"zone.js": "~0.15.1",
|
|
21
19
|
"hammerjs": "^2.0.8",
|
|
22
20
|
"lodash": "^4.17.19",
|
|
23
21
|
"ngx-color-picker": "^19.0.0",
|
|
24
|
-
"ngx-mat-select-search": "^8.0.2"
|
|
22
|
+
"ngx-mat-select-search": "^8.0.2",
|
|
23
|
+
"rxjs": "^7.8.0",
|
|
24
|
+
"zone.js": "~0.15.1"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.0.0"
|
|
@@ -301,23 +301,31 @@ declare const linesLoader: <T, R>(l: LinesLoaderDef<T, R>) => LinesLoader<T, R>;
|
|
|
301
301
|
declare const linesLazyLoader: <T, R>(l: LinesLazyLoaderDef<T, R>) => LinesLazyLoader<T, R>;
|
|
302
302
|
|
|
303
303
|
type RowId = string | number;
|
|
304
|
+
interface SelectionResponse {
|
|
305
|
+
selected: boolean;
|
|
306
|
+
count?: number;
|
|
307
|
+
}
|
|
308
|
+
interface SelectionAllResponse extends SelectionResponse {
|
|
309
|
+
footer?: any;
|
|
310
|
+
}
|
|
311
|
+
interface SelectionState {
|
|
312
|
+
loading: boolean;
|
|
313
|
+
success: boolean;
|
|
314
|
+
selected?: boolean;
|
|
315
|
+
footer?: any;
|
|
316
|
+
count?: number;
|
|
317
|
+
error?: unknown;
|
|
318
|
+
}
|
|
304
319
|
type SelectionConfigDef<T> = {
|
|
305
320
|
selectionMode?: boolean;
|
|
306
321
|
key?: string;
|
|
307
322
|
params?: () => Observable<T>;
|
|
308
323
|
select?: (params: T, row: FormGroup, selected: boolean, filters?: {
|
|
309
324
|
[key: string]: any;
|
|
310
|
-
}) => Observable<
|
|
311
|
-
|
|
312
|
-
count?: number;
|
|
313
|
-
}>;
|
|
314
|
-
selectAll?: (params: T, selected: boolean, filters: {
|
|
325
|
+
}) => Observable<SelectionResponse>;
|
|
326
|
+
selectAll?: (params: T, selected: boolean, filters?: {
|
|
315
327
|
[key: string]: any;
|
|
316
|
-
}) => Observable<
|
|
317
|
-
selected: boolean;
|
|
318
|
-
footer?: any;
|
|
319
|
-
count?: number;
|
|
320
|
-
}>;
|
|
328
|
+
}) => Observable<SelectionAllResponse>;
|
|
321
329
|
/** optionnel */
|
|
322
330
|
/** pour indiquer le critère des lignes déja sélectionné */
|
|
323
331
|
isSelected?: (row: FormGroup) => boolean;
|
|
@@ -1210,4 +1218,4 @@ declare const SCROLLBAR_ORCHESTRATOR_SERVICE: InjectionToken<IScrollbarOrchestra
|
|
|
1210
1218
|
declare const TABLE_SERVICE: InjectionToken<ITableService>;
|
|
1211
1219
|
|
|
1212
1220
|
export { AlignCell, COLUMNS, DATASOURCE_SERVICE, DRAG_DROP_CONFIG, EXTRA_ROWS, FOOTER, HEADER_SERVICE, KlesMaterialTableModule, KlesTableComponent, LINES_SERVICE, LOADER_CONFIG, LOADER_SERVICE, PAGINATOR_CONFIG, ROW_DRAG_DROP, SCROLLBAR_ORCHESTRATOR_SERVICE, SELECTION_CONFIG, SELECTION_SERVICE, SORT_CONFIG, SORT_SERVICE, Span, TABLE_SERVICE, TableComponent, linesLazyLoader, linesLoader, selectionConfig };
|
|
1213
|
-
export type { DefaultTableConfig, DragDrop, DragDropConfig, ExtraRow, ExtraRowConfig, ExtraRowMode, IKlesCellFieldConfig, IKlesFooterFieldConfig, IKlesHeaderFieldConfig, ITable, InfiniteScrollConfig, KlesColumnConfig, KlesExtraCellFieldConfig, KlesTableApi, KlesTableConfig, LinesLazyLoader, LinesLoader, LoaderConfig, LoaderLazyResult, LoaderResult, NgStyleInput, PaginatorConfig, RowId, Selection, SelectionConfig };
|
|
1221
|
+
export type { DefaultTableConfig, DragDrop, DragDropConfig, ExtraRow, ExtraRowConfig, ExtraRowMode, IKlesCellFieldConfig, IKlesFooterFieldConfig, IKlesHeaderFieldConfig, ITable, InfiniteScrollConfig, KlesColumnConfig, KlesExtraCellFieldConfig, KlesTableApi, KlesTableConfig, LinesLazyLoader, LinesLoader, LoaderConfig, LoaderLazyResult, LoaderResult, NgStyleInput, PaginatorConfig, RowId, Selection, SelectionAllResponse, SelectionConfig, SelectionResponse, SelectionState };
|