@colijnit/corecomponents_v12 12.0.117 → 12.0.118
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 +19 -6
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/co-dialog/co-dialog.component.js +2 -2
- package/esm2015/lib/components/icon/icon.component.js +9 -3
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +4 -1
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +4 -4
- package/fesm2015/colijnit-corecomponents_v12.js +15 -6
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/icon/icon.component.d.ts +2 -1
- package/lib/components/input-number-picker/style/_layout.scss +5 -1
- package/lib/components/input-number-picker/style/_material-definition.scss +1 -1
- package/package.json +1 -1
|
@@ -1301,12 +1301,22 @@
|
|
|
1301
1301
|
enumerable: false,
|
|
1302
1302
|
configurable: true
|
|
1303
1303
|
});
|
|
1304
|
+
Object.defineProperty(IconComponent.prototype, "iconData", {
|
|
1305
|
+
set: function (value) {
|
|
1306
|
+
if (value) {
|
|
1307
|
+
this._iconData = value;
|
|
1308
|
+
this._prepareIcon();
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1311
|
+
enumerable: false,
|
|
1312
|
+
configurable: true
|
|
1313
|
+
});
|
|
1304
1314
|
IconComponent.prototype.ngOnInit = function () {
|
|
1305
1315
|
this._prepareIcon();
|
|
1306
1316
|
};
|
|
1307
1317
|
IconComponent.prototype._prepareIcon = function () {
|
|
1308
|
-
if (this.
|
|
1309
|
-
this.innerIconData = this.
|
|
1318
|
+
if (this._iconData) {
|
|
1319
|
+
this.innerIconData = this._iconData;
|
|
1310
1320
|
}
|
|
1311
1321
|
else if (this._icon) {
|
|
1312
1322
|
this._setIconFromEnum(this._icon);
|
|
@@ -3748,7 +3758,7 @@
|
|
|
3748
3758
|
CoDialogComponent.decorators = [
|
|
3749
3759
|
{ type: i0.Component, args: [{
|
|
3750
3760
|
selector: 'co-dialog',
|
|
3751
|
-
template: "\n <div class=\"co-dialog-overlay\" (click)=\"handleOverlayClick($event)\"></div>\n <div class=\"co-dialog-wrapper\" @showHideDialog>\n <div class=\"dialog-header\" *ngIf=\"!borderless\">\n <div class=\"dialog-header-caption\" *ngIf=\"headerTemplate\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"></ng-container>\n </div>\n <div class=\"dialog-close-button\" *ngIf=\"showCloseIcon\" (click)=\"handleCloseDialog($event)\">\n <co-icon [icon]=\"icons.Cancel\"></co-icon>\n </div>\n </div>\n <div class=\"dialog-content\" [ngClass]=\"customCssClass ? customCssClass : undefined\">\n <ng-content></ng-content>\n </div>\n <div class=\"dialog-footer\" *ngIf=\"footerTemplate\">\n <ng-container [ngTemplateOutlet]=\"footerTemplate\"></ng-container>\n </div>\n </div>\n ",
|
|
3761
|
+
template: "\n <div class=\"co-dialog-overlay\" (click)=\"handleOverlayClick($event)\"></div>\n <div class=\"co-dialog-wrapper\" [ngClass]=\"customCssClass ? customCssClass : undefined\" @showHideDialog>\n <div class=\"dialog-header\" *ngIf=\"!borderless\">\n <div class=\"dialog-header-caption\" *ngIf=\"headerTemplate\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"></ng-container>\n </div>\n <div class=\"dialog-close-button\" *ngIf=\"showCloseIcon\" (click)=\"handleCloseDialog($event)\">\n <co-icon [icon]=\"icons.Cancel\"></co-icon>\n </div>\n </div>\n <div class=\"dialog-content\" [ngClass]=\"customCssClass ? customCssClass : undefined\">\n <ng-content></ng-content>\n </div>\n <div class=\"dialog-footer\" *ngIf=\"footerTemplate\">\n <ng-container [ngTemplateOutlet]=\"footerTemplate\"></ng-container>\n </div>\n </div>\n ",
|
|
3752
3762
|
animations: [
|
|
3753
3763
|
animations.trigger('showHideCoDialog', [
|
|
3754
3764
|
animations.transition('void => *', [
|
|
@@ -6911,6 +6921,9 @@
|
|
|
6911
6921
|
var day = this.model.toLocaleString("default", { day: "2-digit" });
|
|
6912
6922
|
this.modelAsString = year + "-" + month + "-" + day;
|
|
6913
6923
|
}
|
|
6924
|
+
else {
|
|
6925
|
+
this.modelAsString = null;
|
|
6926
|
+
}
|
|
6914
6927
|
};
|
|
6915
6928
|
return InputDatePickerComponent;
|
|
6916
6929
|
}(BaseInputDatePickerDirective));
|
|
@@ -11019,9 +11032,9 @@
|
|
|
11019
11032
|
if (emit === void 0) { emit = true; }
|
|
11020
11033
|
if (this.selectedRowIndex !== index && ((this.editing && this.validateAndSave()) || !this.editing)) {
|
|
11021
11034
|
this.selectedRowIndex = index;
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
|
|
11035
|
+
}
|
|
11036
|
+
if (emit) {
|
|
11037
|
+
this.selectRow.next(this.data[this.selectedRowIndex]);
|
|
11025
11038
|
}
|
|
11026
11039
|
this._detectChanges();
|
|
11027
11040
|
};
|