@acorex/platform 20.9.12 → 20.9.14
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/acorex-platform-common.mjs +86 -6
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +54 -0
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +12 -3
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-layout-entity.d.ts +16 -1
|
@@ -2101,9 +2101,17 @@ class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponent {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
});
|
|
2103
2103
|
this.queryParamSub = this.activeRoute.queryParamMap.subscribe(async (qp) => {
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2104
|
+
if (!this.initializedFromRoute) {
|
|
2105
|
+
return;
|
|
2106
|
+
}
|
|
2107
|
+
const { reloadList } = await this.vm.syncFromRouteQueryParams(qp);
|
|
2108
|
+
this.recompute();
|
|
2109
|
+
if (reloadList) {
|
|
2110
|
+
await this.reloadListData(true);
|
|
2111
|
+
}
|
|
2112
|
+
else {
|
|
2113
|
+
this.scheduleRestoreExpandedRows();
|
|
2114
|
+
}
|
|
2107
2115
|
});
|
|
2108
2116
|
}
|
|
2109
2117
|
async ngAfterViewInit() {
|
|
@@ -2114,6 +2122,7 @@ class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponent {
|
|
|
2114
2122
|
if (currentUrlView !== resolvedView) {
|
|
2115
2123
|
this.syncListViewQueryParam(resolvedView);
|
|
2116
2124
|
}
|
|
2125
|
+
this.vm.markRouteQueryContextSynced(this.activeRoute.snapshot.queryParamMap);
|
|
2117
2126
|
this.initializedFromRoute = true;
|
|
2118
2127
|
this.bindExpandedRowPersistence();
|
|
2119
2128
|
this.scheduleRestoreExpandedRows();
|