ca-components 2.0.77 → 2.0.78

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.
@@ -27095,6 +27095,7 @@ class CaMainTableComponent {
27095
27095
  }
27096
27096
  ngOnInit() {
27097
27097
  this.data$.subscribe((data) => {
27098
+ console.log('data changed', data);
27098
27099
  // Trigger change detection to update the view when data changes
27099
27100
  this.tableData = JSON.parse(JSON.stringify(data));
27100
27101
  this.cdRef.detectChanges();
@@ -27122,7 +27123,6 @@ class CaMainTableComponent {
27122
27123
  }
27123
27124
  drop(event) {
27124
27125
  moveItemInArray(this.tableData, event.previousIndex, event.currentIndex);
27125
- this.cdRef.detectChanges();
27126
27126
  this.onReorder.emit(event);
27127
27127
  }
27128
27128
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaMainTableComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }