wacom 20.0.20 → 20.0.21

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Inject, Optional, Injectable, ViewChild, Component, signal, PLATFORM_ID, inject, EventEmitter, HostListener, Output, Directive, Pipe, NgModule } from '@angular/core';
2
+ import { InjectionToken, Inject, Optional, Injectable, ViewChild, Component, signal, PLATFORM_ID, inject, ChangeDetectorRef, EventEmitter, HostListener, Output, Directive, Pipe, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/router';
4
4
  import * as i2 from '@angular/platform-browser';
5
5
  import * as i1$1 from '@angular/common';
@@ -1279,6 +1279,8 @@ class CrudComponent {
1279
1279
  __core = inject(CoreService);
1280
1280
  /** AlertService handles alerts */
1281
1281
  __alert = inject(AlertService);
1282
+ /** ChangeDetectorRef handles on push strategy */
1283
+ __cdr = inject(ChangeDetectorRef);
1282
1284
  /** Internal reference to form service matching FormServiceInterface */
1283
1285
  __form;
1284
1286
  /**
@@ -1312,6 +1314,7 @@ class CrudComponent {
1312
1314
  this.documents.splice(0, this.documents.length);
1313
1315
  this.documents.push(...docs);
1314
1316
  resolve();
1317
+ this.__cdr.markForCheck();
1315
1318
  });
1316
1319
  }, 250);
1317
1320
  }
@@ -1319,6 +1322,7 @@ class CrudComponent {
1319
1322
  this.documents = this.service.getDocs();
1320
1323
  this.service.loaded.then(() => {
1321
1324
  resolve();
1325
+ this.__cdr.markForCheck();
1322
1326
  });
1323
1327
  }
1324
1328
  });
@@ -1426,6 +1430,7 @@ class CrudComponent {
1426
1430
  .then((updated) => {
1427
1431
  this.__core.copy(updated, doc);
1428
1432
  this.service.update(doc);
1433
+ this.__cdr.markForCheck();
1429
1434
  });
1430
1435
  }
1431
1436
  : null,
@@ -1470,6 +1475,7 @@ class CrudComponent {
1470
1475
  this.service.update(this.documents[i]);
1471
1476
  }
1472
1477
  }
1478
+ this.__cdr.markForCheck();
1473
1479
  },
1474
1480
  }
1475
1481
  : null,