monkey-front-core 21.0.36 → 21.0.38

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,6 +5573,7 @@ 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);
@@ -5581,6 +5582,7 @@ class MonkeyEcxBaseResolver {
5581
5582
  this.params$ = this.paramsSubject.asObservable();
5582
5583
  this.data$ = this.dataSubject.asObservable();
5583
5584
  this.control = signal(initialControl, ...(ngDevMode ? [{ debugName: "control" }] : []));
5585
+ this.data = signal(initialData, ...(ngDevMode ? [{ debugName: "data" }] : []));
5584
5586
  }
5585
5587
  get pathParams() {
5586
5588
  return this.paramsSubject.value.pathParams;
@@ -5591,12 +5593,6 @@ class MonkeyEcxBaseResolver {
5591
5593
  get stateData() {
5592
5594
  return this.paramsSubject.value.stateData;
5593
5595
  }
5594
- get data() {
5595
- return this.dataSubject?.value || {};
5596
- }
5597
- set data(value) {
5598
- this.dataSubject.next(value);
5599
- }
5600
5596
  resolve(route) {
5601
5597
  try {
5602
5598
  const pathParams = route.params;