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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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) => {