@colijnit/corecomponents_v12 12.0.68 → 12.0.70

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.
Files changed (22) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +11 -20
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
  3. package/colijnit-corecomponents_v12.metadata.json +1 -1
  4. package/esm2015/lib/components/co-dialog/co-dialog.component.js +6 -3
  5. package/esm2015/lib/components/input-combo-box/input-combo-box.component.js +1 -3
  6. package/esm2015/lib/components/input-listbox/input-listbox.component.js +4 -5
  7. package/esm2015/lib/components/input-search/input-search.component.js +1 -6
  8. package/esm2015/lib/components/input-text/input-text.component.js +2 -4
  9. package/esm2015/lib/components/input-textarea/input-textarea.component.js +2 -4
  10. package/fesm2015/colijnit-corecomponents_v12.js +11 -20
  11. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
  12. package/lib/components/co-dialog/co-dialog.component.d.ts +2 -1
  13. package/lib/components/input-combo-box/input-combo-box.component.d.ts +0 -1
  14. package/lib/components/input-listbox/input-listbox.component.d.ts +1 -1
  15. package/lib/components/input-radio-button/style/_layout.scss +1 -0
  16. package/lib/components/input-radio-button/style/_material-definition.scss +1 -0
  17. package/lib/components/input-search/input-search.component.d.ts +0 -1
  18. package/lib/components/input-search/style/_layout.scss +14 -0
  19. package/lib/components/input-search/style/_material-definition.scss +3 -1
  20. package/lib/components/input-text/input-text.component.d.ts +0 -1
  21. package/lib/components/input-textarea/input-textarea.component.d.ts +0 -1
  22. package/package.json +1 -1
@@ -3680,12 +3680,12 @@
3680
3680
  this.icons = exports.CoreComponentsIcon;
3681
3681
  this.showCloseIcon = true;
3682
3682
  this.modal = false;
3683
+ this.show = false;
3683
3684
  this.borderless = false;
3684
3685
  this.closeClick = new core.EventEmitter();
3685
3686
  this.overlayClick = new core.EventEmitter();
3686
3687
  this.isTouch = false;
3687
3688
  this.mobile = false;
3688
- this.show = false;
3689
3689
  }
3690
3690
  CoDialogComponent.prototype.showClass = function () {
3691
3691
  return true;
@@ -3697,6 +3697,7 @@
3697
3697
  }
3698
3698
  };
3699
3699
  CoDialogComponent.prototype.ngOnInit = function () {
3700
+ this.show = false;
3700
3701
  this._checkDevice();
3701
3702
  this.show = true;
3702
3703
  };
@@ -3723,7 +3724,7 @@
3723
3724
  CoDialogComponent.decorators = [
3724
3725
  { type: core.Component, args: [{
3725
3726
  selector: 'co-dialog',
3726
- template: "\n <div class=\"co-dialog-overlay\" *ngIf=\"show\" (click)=\"handleOverlayClick($event)\" @showHideOverlay></div>\n <div class=\"co-dialog-wrapper\" *ngIf=\"show\" @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\">\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 ",
3727
+ template: "\n <div class=\"co-dialog-overlay\" *ngIf=\"show\" (click)=\"handleOverlayClick($event)\" @showHideOverlay></div>\n <div class=\"co-dialog-wrapper\" *ngIf=\"show\" @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 ",
3727
3728
  animations: [
3728
3729
  animations.trigger('showHideOverlay', [
3729
3730
  animations.state('*', animations.style({ opacity: 1 })),
@@ -3737,10 +3738,12 @@
3737
3738
  },] }
3738
3739
  ];
3739
3740
  CoDialogComponent.propDecorators = {
3741
+ customCssClass: [{ type: core.Input }],
3740
3742
  headerTemplate: [{ type: core.Input }],
3741
3743
  footerTemplate: [{ type: core.Input }],
3742
3744
  showCloseIcon: [{ type: core.Input }],
3743
3745
  modal: [{ type: core.Input }],
3746
+ show: [{ type: core.Input }],
3744
3747
  borderless: [{ type: core.HostBinding, args: ['class.borderless',] }, { type: core.Input }],
3745
3748
  closeClick: [{ type: core.Output }],
3746
3749
  overlayClick: [{ type: core.Output }],
@@ -6582,7 +6585,6 @@
6582
6585
  _this.shopPopup = true;
6583
6586
  _this.valueChange = new core.EventEmitter();
6584
6587
  _this.isSmall = false;
6585
- _this.customHeight = false;
6586
6588
  _super.prototype._markAsOnPush.call(_this);
6587
6589
  return _this;
6588
6590
  }
@@ -6629,7 +6631,6 @@
6629
6631
  popupWidth: [{ type: core.Input }],
6630
6632
  valueChange: [{ type: core.Output }],
6631
6633
  isSmall: [{ type: core.HostBinding, args: ['class.is-small',] }, { type: core.Input }],
6632
- customHeight: [{ type: core.HostBinding, args: ['class.custom-height',] }, { type: core.Input }],
6633
6634
  showClass: [{ type: core.HostBinding, args: ["class.co-input-combo-box",] }]
6634
6635
  };
6635
6636
 
@@ -6957,7 +6958,6 @@
6957
6958
  // this._model = value;
6958
6959
  // }
6959
6960
  _this.collection = [];
6960
- _this.customHeight = true;
6961
6961
  _this.selectionSettings = { mode: 'Multiple' };
6962
6962
  return _this;
6963
6963
  }
@@ -6996,7 +6996,7 @@
6996
6996
  InputListboxComponent.decorators = [
6997
6997
  { type: core.Component, args: [{
6998
6998
  selector: 'co-input-listbox',
6999
- template: "\n <div class=\"co-input-listbox-header\" [textContent]=\"placeholder\"></div>\n <div class=\"co-input-listbox-content\">\n <ejs-listbox\n [ngModel]=\"value\"\n [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [selectionSettings]=\"selectionSettings\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-listbox>\n </div>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
6999
+ template: "\n <div class=\"co-input-listbox-header\" [textContent]=\"placeholder\"></div>\n <div class=\"co-input-listbox-content\" [ngClass]=\"customCssClass ? customCssClass : undefined\">\n <ejs-listbox\n [ngModel]=\"value\"\n [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [selectionSettings]=\"selectionSettings\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-listbox>\n </div>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
7000
7000
  providers: [{
7001
7001
  provide: COMPONENT_INTERFACE_NAME, useExisting: core.forwardRef(function () { return InputListboxComponent; })
7002
7002
  }, {
@@ -7015,6 +7015,7 @@
7015
7015
  { type: core.ElementRef }
7016
7016
  ]; };
7017
7017
  InputListboxComponent.propDecorators = {
7018
+ customCssClass: [{ type: core.Input }],
7018
7019
  placeholder: [{ type: core.Input }],
7019
7020
  value: [{ type: core.Input }],
7020
7021
  collection: [{ type: core.Input }],
@@ -7022,8 +7023,7 @@
7022
7023
  singleSelect: [{ type: core.Input }],
7023
7024
  showCheckbox: [{ type: core.Input }],
7024
7025
  showSelectAll: [{ type: core.Input }],
7025
- showClass: [{ type: core.HostBinding, args: ['class.co-input-listbox',] }],
7026
- customHeight: [{ type: core.HostBinding, args: ['class.custom-height',] }]
7026
+ showClass: [{ type: core.HostBinding, args: ['class.co-input-listbox',] }]
7027
7027
  };
7028
7028
 
7029
7029
  ej2Base.enableRipple(true);
@@ -7689,7 +7689,6 @@
7689
7689
  _this.hasOwnLabel = true;
7690
7690
  _this.hideArrowButtons = false;
7691
7691
  _this.isSmall = false;
7692
- _this.customHeight = false;
7693
7692
  _super.prototype._markAsOnPush.call(_this);
7694
7693
  return _this;
7695
7694
  }
@@ -7769,8 +7768,7 @@
7769
7768
  hasRightIcon: [{ type: core.HostBinding, args: ['class.has-right-icon',] }],
7770
7769
  hasOwnLabel: [{ type: core.HostBinding, args: ["class.has-own-label",] }],
7771
7770
  hideArrowButtons: [{ type: core.Input }, { type: core.HostBinding, args: ['class.hideArrows',] }],
7772
- isSmall: [{ type: core.HostBinding, args: ['class.is-small',] }, { type: core.Input }],
7773
- customHeight: [{ type: core.HostBinding, args: ['class.custom-height',] }, { type: core.Input }]
7771
+ isSmall: [{ type: core.HostBinding, args: ['class.is-small',] }, { type: core.Input }]
7774
7772
  };
7775
7773
 
7776
7774
  var ValidationErrorModule = /** @class */ (function () {
@@ -7917,7 +7915,6 @@
7917
7915
  _this.search = new core.EventEmitter();
7918
7916
  _this.useLeftIcon = false;
7919
7917
  _this.useRightIcon = false;
7920
- _this.customHeight = false;
7921
7918
  _this.noIcon = false;
7922
7919
  _this.isSmall = false;
7923
7920
  return _this;
@@ -7949,7 +7946,6 @@
7949
7946
  search: [{ type: core.Output }],
7950
7947
  useLeftIcon: [{ type: core.Input }],
7951
7948
  useRightIcon: [{ type: core.Input }],
7952
- customHeight: [{ type: core.Input }],
7953
7949
  noIcon: [{ type: core.HostBinding, args: ['class.no-icon',] }, { type: core.Input }],
7954
7950
  isSmall: [{ type: core.HostBinding, args: ['class.is-small',] }, { type: core.Input }],
7955
7951
  showClass: [{ type: core.HostBinding, args: ['class.co-input-search',] }]
@@ -7959,10 +7955,7 @@
7959
7955
  ], InputSearchComponent.prototype, "useLeftIcon", void 0);
7960
7956
  __decorate([
7961
7957
  InputBoolean()
7962
- ], InputSearchComponent.prototype, "useRightIcon", void 0);
7963
- __decorate([
7964
- InputBoolean()
7965
- ], InputSearchComponent.prototype, "customHeight", void 0);
7958
+ ], InputSearchComponent.prototype, "useRightIcon", void 0);
7966
7959
 
7967
7960
  var InputSearchModule = /** @class */ (function () {
7968
7961
  function InputSearchModule() {
@@ -7994,7 +7987,6 @@
7994
7987
  _this.elementRef = elementRef;
7995
7988
  _this.placeholder = "";
7996
7989
  _this.hasOwnLabel = true;
7997
- _this.customHeight = true;
7998
7990
  _super.prototype._markAsOnPush.call(_this);
7999
7991
  return _this;
8000
7992
  }
@@ -8028,8 +8020,7 @@
8028
8020
  InputTextareaComponent.propDecorators = {
8029
8021
  placeholder: [{ type: core.Input }],
8030
8022
  showClass: [{ type: core.HostBinding, args: ["class.co-input-textarea",] }],
8031
- hasOwnLabel: [{ type: core.HostBinding, args: ["class.has-own-label",] }],
8032
- customHeight: [{ type: core.HostBinding, args: ['class.custom-height',] }]
8023
+ hasOwnLabel: [{ type: core.HostBinding, args: ["class.has-own-label",] }]
8033
8024
  };
8034
8025
 
8035
8026
  var InputTextareaModule = /** @class */ (function () {