@wavemaker/app-ng-runtime 12.0.0-next.45503 → 12.0.0-next.45752

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.
@@ -104,6 +104,7 @@ export declare class FormFieldDirective extends StylableComponent implements OnI
104
104
  setValidationMessage(val: any): void;
105
105
  setReadOnlyState(): void;
106
106
  resetDisplayInput(): void;
107
+ reset(): void;
107
108
  triggerUploadEvent($event: any, eventName: any): void;
108
109
  private registerFormField;
109
110
  ngOnInit(): void;
@@ -673,12 +673,12 @@
673
673
  this.callDataGridMethod('applyRowNgClass', i4.getConditionalClasses(nv, ov), index);
674
674
  }, watchName));
675
675
  },
676
- registerColNgClassWatcher: (rowData, colDef, rowIndex, colIndex) => {
676
+ registerColNgClassWatcher: (rowData, colDef, rowIndex, colIndex, summaryRow) => {
677
677
  if (!colDef['col-ng-class']) {
678
678
  return;
679
679
  }
680
680
  const row = this.getClonedRowObject(rowData);
681
- const watchName = `${this.widgetId}_colNgClass_${rowIndex}_${colIndex}`;
681
+ const watchName = summaryRow ? `${this.widgetId}_summaryRow_colNgClass_${rowIndex}_${colIndex}` : `${this.widgetId}_colNgClass_${rowIndex}_${colIndex}`;
682
682
  i2.$unwatch(watchName);
683
683
  //[Todo-CSP]: generate watcher expr in page if col-ng-class attr is present for table
684
684
  this.registerDestroyListener(i2.$watch(colDef['col-ng-class'], this.viewParent, { row }, (nv, ov) => {