@colijnit/corecomponents_v12 12.2.17 → 12.2.18
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 +4 -4
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/base-input-date-picker/base-input-date-picker.directive.js +4 -2
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +2 -1
- package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +2 -4
- package/fesm2015/colijnit-corecomponents_v12.js +4 -3
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base-input-date-picker/base-input-date-picker.directive.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5856,6 +5856,7 @@
|
|
|
5856
5856
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
5857
5857
|
_this.rightIcon = exports.CoreComponentsIcon.CalendarDayRegular;
|
|
5858
5858
|
_this.locale = 'en-EN';
|
|
5859
|
+
_this.leftIconClick = new i0.EventEmitter();
|
|
5859
5860
|
_this.closeAfterDateSelection = true;
|
|
5860
5861
|
return _this;
|
|
5861
5862
|
}
|
|
@@ -5870,6 +5871,7 @@
|
|
|
5870
5871
|
placeholder: [{ type: i0.Input }],
|
|
5871
5872
|
leftIcon: [{ type: i0.Input }],
|
|
5872
5873
|
leftIconData: [{ type: i0.Input }],
|
|
5874
|
+
leftIconClick: [{ type: i0.Output }],
|
|
5873
5875
|
closeAfterDateSelection: [{ type: i0.Input }]
|
|
5874
5876
|
};
|
|
5875
5877
|
|
|
@@ -5966,7 +5968,7 @@
|
|
|
5966
5968
|
InputDatePickerComponent.decorators = [
|
|
5967
5969
|
{ type: i0.Component, args: [{
|
|
5968
5970
|
selector: 'co-input-date',
|
|
5969
|
-
template: "\n <co-input-text (clickOutside)=\"toggleCalendar(false)\" overlayParent #parentForOverlay=\"overlayParent\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [(model)]=\"modelAsString\"\n [rightIcon]=\"rightIcon\"\n [leftIcon]=\"leftIcon\"\n [leftIconData]=\"leftIconData\"\n [pattern]=\"'yyyy-MM-dd'\"\n [type]=\"'date'\"\n [placeholder]=\"placeholder\"\n (rightIconClick)=\"toggleCalendar(true)\"\n (blur)=\"handleDateChange(modelAsString)\"\n (clearIconClick)=\"handleClearIconClicked()\"\n ></co-input-text>\n ",
|
|
5971
|
+
template: "\n <co-input-text (clickOutside)=\"toggleCalendar(false)\" overlayParent #parentForOverlay=\"overlayParent\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [(model)]=\"modelAsString\"\n [rightIcon]=\"rightIcon\"\n [leftIcon]=\"leftIcon\"\n [leftIconData]=\"leftIconData\"\n [pattern]=\"'yyyy-MM-dd'\"\n [type]=\"'date'\"\n [placeholder]=\"placeholder\"\n (leftIconClick)=\"leftIconClick.emit($event)\"\n (rightIconClick)=\"toggleCalendar(true)\"\n (blur)=\"handleDateChange(modelAsString)\"\n (clearIconClick)=\"handleClearIconClicked()\"\n ></co-input-text>\n ",
|
|
5970
5972
|
providers: [
|
|
5971
5973
|
OverlayService, {
|
|
5972
5974
|
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDatePickerComponent; })
|
|
@@ -9807,11 +9809,9 @@
|
|
|
9807
9809
|
// bit nasty to add prop, but cool for now
|
|
9808
9810
|
this.data[i].singleColumnIndex = singleColumnIndex;
|
|
9809
9811
|
}
|
|
9812
|
+
this.prepareDataRow(this.data[i], i);
|
|
9810
9813
|
}
|
|
9811
9814
|
}
|
|
9812
|
-
for (var i = 0; i < this.data.length; i++) {
|
|
9813
|
-
this.prepareDataRow(this.data[i], i);
|
|
9814
|
-
}
|
|
9815
9815
|
this._prepared = true;
|
|
9816
9816
|
}
|
|
9817
9817
|
this._resizeColumnsToFit();
|