@rxap/material-table-system 13.3.0 → 13.3.1

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.
@@ -980,6 +980,12 @@ class FilterHeaderRowDirective extends FormDirective {
980
980
  super(cdr, formDefinition);
981
981
  this.tableFilter = tableFilter;
982
982
  }
983
+ set useFormDefinition(value) {
984
+ if (value) {
985
+ this._formDefinition = value;
986
+ this.form = value.rxapFormGroup;
987
+ }
988
+ }
983
989
  ngOnInit() {
984
990
  super.ngOnInit();
985
991
  this._subscription = this.form.value$
@@ -992,7 +998,7 @@ class FilterHeaderRowDirective extends FormDirective {
992
998
  }
993
999
  }
994
1000
  FilterHeaderRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FilterHeaderRowDirective, deps: [{ token: TableFilterService }, { token: i0.ChangeDetectorRef }, { token: RXAP_TABLE_FILTER_FORM_DEFINITION, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
995
- FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", providers: [
1001
+ FilterHeaderRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: FilterHeaderRowDirective, selector: "table[rxap-filter-header-row]", inputs: { useFormDefinition: ["rxap-filter-header-row", "useFormDefinition"] }, providers: [
996
1002
  {
997
1003
  provide: ControlContainer,
998
1004
  // ignore coverage
@@ -1017,7 +1023,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
1017
1023
  }, {
1018
1024
  type: Inject,
1019
1025
  args: [RXAP_TABLE_FILTER_FORM_DEFINITION]
1020
- }] }]; } });
1026
+ }] }]; }, propDecorators: { useFormDefinition: [{
1027
+ type: Input,
1028
+ args: ['rxap-filter-header-row']
1029
+ }] } });
1021
1030
 
1022
1031
  class ToFilterColumnNamesPipe {
1023
1032
  transform(columns) {