@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.
- package/bundles/colijnit-corecomponents_v12.umd.js +11 -1
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12-12.0.28.tgz +0 -0
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +15 -3
- package/fesm2015/colijnit-corecomponents_v12.js +13 -1
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +7 -2
- package/package.json +1 -1
- package/colijnit-corecomponents_v12-12.0.27.tgz +0 -0
|
@@ -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)=\"
|
|
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
|
|