@colijnit/corecomponents_v12 12.0.80 → 12.0.82

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.
@@ -4453,7 +4453,7 @@
4453
4453
  this.keepFocus = false;
4454
4454
  this.canSaveOrCancel = false;
4455
4455
  this.committing = false;
4456
- this.commitFinished = true;
4456
+ this.commitFinished = false;
4457
4457
  this._markedAsUserTouched = false;
4458
4458
  this._destroyed = false;
4459
4459
  this._hasOnPushCdStrategy = false;
@@ -6696,24 +6696,30 @@
6696
6696
  InputDatePickerComponent.prototype.ngOnInit = function () {
6697
6697
  _super.prototype.ngOnInit.call(this);
6698
6698
  };
6699
- InputDatePickerComponent.prototype.ngAfterViewInit = function () {
6700
- if (this.ejsDatePicker) {
6701
- var calendarIcon = this.iconCacheService.getIconRawBase64(this.calendarIconName);
6702
- var imgElement = document.createElement("img");
6703
- imgElement.setAttribute("src", calendarIcon);
6704
- imgElement.setAttribute("height", this.iconHeight);
6705
- imgElement.setAttribute("class", "customImage");
6706
- //remove the font-icon class
6707
- this.ejsDatePicker.element.parentElement
6708
- .querySelector(".e-icons")
6709
- .classList.remove("e-date-icon");
6710
- this.ejsDatePicker.element.parentElement
6711
- .querySelector(".e-icons")
6712
- .append(imgElement);
6713
- this.changeDetector.detectChanges();
6714
- }
6715
- _super.prototype.ngAfterViewInit.call(this);
6716
- };
6699
+ // ngAfterViewInit(): void {
6700
+ // if (this.ejsDatePicker) {
6701
+ // const calendarIcon: string = this.iconCacheService.getIconRawBase64(this.calendarIconName);
6702
+ // const imgElement: HTMLElement = document.createElement("img");
6703
+ // imgElement.setAttribute(
6704
+ // "src",
6705
+ // calendarIcon
6706
+ // );
6707
+ // imgElement.setAttribute(
6708
+ // "height",
6709
+ // this.iconHeight
6710
+ // );
6711
+ // imgElement.setAttribute("class", "customImage");
6712
+ // //remove the font-icon class
6713
+ // this.ejsDatePicker.element.parentElement
6714
+ // .querySelector(".e-icons")
6715
+ // .classList.remove("e-date-icon");
6716
+ // this.ejsDatePicker.element.parentElement
6717
+ // .querySelector(".e-icons")
6718
+ // .append(imgElement);
6719
+ // this.changeDetector.detectChanges();
6720
+ // }
6721
+ // super.ngAfterViewInit();
6722
+ // }
6717
6723
  InputDatePickerComponent.prototype.change = function () {
6718
6724
  this.model = this.ejsDatePicker.value;
6719
6725
  };
@@ -6820,7 +6826,7 @@
6820
6826
  CommitButtonsComponent.decorators = [
6821
6827
  { type: i0.Component, args: [{
6822
6828
  selector: "co-commit-buttons",
6823
- template: "\n <div class=\"commit-buttons-wrapper\" @showHideSaveCancel>\n <div class=\"commit-buttons-button save\" [class.finished]=\"commitFinished\"\n (click)=\"commitClick.emit($event)\">\n <div class=\"save-button-spinner\" *ngIf=\"committing || commitFinished\">\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n </div>\n <div class=\"spinner-checkmark\" *ngIf=\"!committing || commitFinished\"></div>\n </div>\n <div class=\"commit-buttons-button cancel\" (click)=\"cancelClick.emit($event)\">\n <div class=\"cancel-button\"></div>\n </div>\n </div>\n ",
6829
+ template: "\n <div class=\"commit-buttons-wrapper\" @showHideSaveCancel>\n <div class=\"commit-buttons-button save\" [class.finished]=\"commitFinished\"\n (click)=\"commitClick.emit($event)\">\n <div class=\"save-button-spinner\" *ngIf=\"committing\">\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n </div>\n <div class=\"spinner-checkmark\" *ngIf=\"!committing || commitFinished\"></div>\n </div>\n <div class=\"commit-buttons-button cancel\" (click)=\"cancelClick.emit($event)\">\n <div class=\"cancel-button\"></div>\n </div>\n </div>\n ",
6824
6830
  animations: [
6825
6831
  animations.trigger('showHideSaveCancel', [
6826
6832
  animations.state('*', animations.style({ transform: 'scaleY(1)', opacity: 1 })),