@colijnit/corecomponents_v12 12.0.27 → 12.0.28

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.
@@ -5860,23 +5860,33 @@
5860
5860
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5861
5861
  _this.dateFormat = "dd-MM-yyyy";
5862
5862
  _this.placeholder = "";
5863
+ _this.startDateChange = new core.EventEmitter();
5864
+ _this.endDateChange = new core.EventEmitter();
5863
5865
  return _this;
5864
5866
  }
5865
5867
  InputDateRangePickerComponent.prototype.showClass = function () {
5866
5868
  return true;
5867
5869
  };
5870
+ InputDateRangePickerComponent.prototype.dateRangeChange = function () {
5871
+ this.startDateChange.emit(this.startDate);
5872
+ this.endDateChange.emit(this.endDate);
5873
+ };
5868
5874
  return InputDateRangePickerComponent;
5869
5875
  }(BaseInputComponent));
5870
5876
  InputDateRangePickerComponent.decorators = [
5871
5877
  { type: core.Component, args: [{
5872
5878
  selector: "co-input-date-range",
5873
- template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
5879
+ template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"dateRangeChange()\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
5874
5880
  encapsulation: core.ViewEncapsulation.None
5875
5881
  },] }
5876
5882
  ];
5877
5883
  InputDateRangePickerComponent.propDecorators = {
5878
5884
  dateFormat: [{ type: core.Input }],
5879
5885
  placeholder: [{ type: core.Input }],
5886
+ startDate: [{ type: core.Input }],
5887
+ endDate: [{ type: core.Input }],
5888
+ startDateChange: [{ type: core.Output }],
5889
+ endDateChange: [{ type: core.Output }],
5880
5890
  showClass: [{ type: core.HostBinding, args: ["class.co-input-date-range-picker",] }]
5881
5891
  };
5882
5892