monkey-front-core 21.0.35 → 21.0.37
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.
|
@@ -5573,12 +5573,16 @@ const initialControl = {
|
|
|
5573
5573
|
isDownloading: false,
|
|
5574
5574
|
isSubmitting: false
|
|
5575
5575
|
};
|
|
5576
|
+
const initialData = {};
|
|
5576
5577
|
class MonkeyEcxBaseResolver {
|
|
5577
5578
|
constructor() {
|
|
5578
5579
|
this.router = inject(Router);
|
|
5579
5580
|
this.paramsSubject = new BehaviorSubject({});
|
|
5581
|
+
this.dataSubject = new BehaviorSubject({});
|
|
5580
5582
|
this.params$ = this.paramsSubject.asObservable();
|
|
5583
|
+
this.data$ = this.dataSubject.asObservable();
|
|
5581
5584
|
this.control = signal(initialControl, ...(ngDevMode ? [{ debugName: "control" }] : []));
|
|
5585
|
+
this.data = signal(initialData, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
5582
5586
|
}
|
|
5583
5587
|
get pathParams() {
|
|
5584
5588
|
return this.paramsSubject.value.pathParams;
|