@firestitch/list 18.0.48 → 18.0.50
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/app/classes/list-controller.d.ts +1 -1
- package/app/components/list/list.component.d.ts +8 -8
- package/esm2022/app/classes/list-controller.mjs +4 -2
- package/esm2022/app/components/list/list.component.mjs +9 -9
- package/fesm2022/firestitch-list.mjs +11 -9
- package/fesm2022/firestitch-list.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4496,8 +4496,9 @@ class List {
|
|
|
4496
4496
|
}
|
|
4497
4497
|
this._initFilters();
|
|
4498
4498
|
}
|
|
4499
|
-
reload() {
|
|
4499
|
+
reload(query) {
|
|
4500
4500
|
this._loading$.next(true);
|
|
4501
|
+
this._filtersQuery.next(query);
|
|
4501
4502
|
this.dataController.setOperation(FsListState.Reload);
|
|
4502
4503
|
this._fetch$.next(null);
|
|
4503
4504
|
return this._fetchComplete$
|
|
@@ -4814,6 +4815,7 @@ class List {
|
|
|
4814
4815
|
const remoteFetch = this.fetchRemote(query)
|
|
4815
4816
|
.pipe(catchError((error) => {
|
|
4816
4817
|
console.error(error);
|
|
4818
|
+
this._loading$.next(false);
|
|
4817
4819
|
return EMPTY;
|
|
4818
4820
|
}));
|
|
4819
4821
|
return combineLatest([of({ params, query }), remoteFetch]);
|
|
@@ -5547,14 +5549,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
5547
5549
|
|
|
5548
5550
|
class FsListComponent {
|
|
5549
5551
|
reorderController = inject(ReorderController);
|
|
5550
|
-
_config = inject(FS_LIST_CONFIG, { optional: true });
|
|
5551
|
-
_el = inject(ElementRef);
|
|
5552
|
-
_selectionDialog = inject(SelectionDialog);
|
|
5553
|
-
_dialog = inject(MatDialog);
|
|
5554
|
-
_cdRef = inject(ChangeDetectorRef);
|
|
5555
|
-
_groupExpandNotifier = inject(GroupExpandNotifierService);
|
|
5556
|
-
_route = inject(ActivatedRoute);
|
|
5557
|
-
_persistance = inject(PersistanceController);
|
|
5558
5552
|
classFsList = true;
|
|
5559
5553
|
rowHoverHighlight;
|
|
5560
5554
|
set config(config) {
|
|
@@ -5573,6 +5567,14 @@ class FsListComponent {
|
|
|
5573
5567
|
_filterParamsReady = false;
|
|
5574
5568
|
_destroy = new Subject();
|
|
5575
5569
|
_injector = inject(Injector);
|
|
5570
|
+
_config = inject(FS_LIST_CONFIG, { optional: true });
|
|
5571
|
+
_el = inject(ElementRef);
|
|
5572
|
+
_selectionDialog = inject(SelectionDialog);
|
|
5573
|
+
_dialog = inject(MatDialog);
|
|
5574
|
+
_cdRef = inject(ChangeDetectorRef);
|
|
5575
|
+
_groupExpandNotifier = inject(GroupExpandNotifierService);
|
|
5576
|
+
_route = inject(ActivatedRoute);
|
|
5577
|
+
_persistance = inject(PersistanceController);
|
|
5576
5578
|
set filterReference(component) {
|
|
5577
5579
|
this._filterRef = component;
|
|
5578
5580
|
this.list.actions.setFilterRef(component);
|