@colijnit/corecomponents_v12 12.0.26 → 12.0.27

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.
@@ -5854,6 +5854,53 @@
5854
5854
  },] }
5855
5855
  ];
5856
5856
 
5857
+ var InputDateRangePickerComponent = /** @class */ (function (_super) {
5858
+ __extends(InputDateRangePickerComponent, _super);
5859
+ function InputDateRangePickerComponent() {
5860
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5861
+ _this.dateFormat = "dd-MM-yyyy";
5862
+ _this.placeholder = "";
5863
+ return _this;
5864
+ }
5865
+ InputDateRangePickerComponent.prototype.showClass = function () {
5866
+ return true;
5867
+ };
5868
+ return InputDateRangePickerComponent;
5869
+ }(BaseInputComponent));
5870
+ InputDateRangePickerComponent.decorators = [
5871
+ { type: core.Component, args: [{
5872
+ selector: "co-input-date-range",
5873
+ template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
5874
+ encapsulation: core.ViewEncapsulation.None
5875
+ },] }
5876
+ ];
5877
+ InputDateRangePickerComponent.propDecorators = {
5878
+ dateFormat: [{ type: core.Input }],
5879
+ placeholder: [{ type: core.Input }],
5880
+ showClass: [{ type: core.HostBinding, args: ["class.co-input-date-range-picker",] }]
5881
+ };
5882
+
5883
+ var InputDateRangePickerModule = /** @class */ (function () {
5884
+ function InputDateRangePickerModule() {
5885
+ }
5886
+ return InputDateRangePickerModule;
5887
+ }());
5888
+ InputDateRangePickerModule.decorators = [
5889
+ { type: core.NgModule, args: [{
5890
+ imports: [
5891
+ BaseModule,
5892
+ ej2AngularCalendars.DateRangePickerModule,
5893
+ forms.FormsModule
5894
+ ],
5895
+ declarations: [
5896
+ InputDateRangePickerComponent
5897
+ ],
5898
+ exports: [
5899
+ InputDateRangePickerComponent
5900
+ ]
5901
+ },] }
5902
+ ];
5903
+
5857
5904
  ej2AngularDropdowns.ListBoxComponent.Inject(ej2AngularDropdowns.CheckBoxSelection);
5858
5905
  var InputListboxComponent = /** @class */ (function (_super) {
5859
5906
  __extends(InputListboxComponent, _super);
@@ -6882,37 +6929,32 @@
6882
6929
  },] }
6883
6930
  ];
6884
6931
 
6885
- var InputSearchComponent = /** @class */ (function (_super) {
6886
- __extends(InputSearchComponent, _super);
6887
- function InputSearchComponent(_elementRef, changeDetector, componentFactoryResolver, formUserChangeListener, ngZoneWrapper) {
6888
- var _this = _super.call(this, changeDetector, componentFactoryResolver, formUserChangeListener, ngZoneWrapper, _elementRef) || this;
6889
- _this._elementRef = _elementRef;
6890
- _this.changeDetector = changeDetector;
6891
- _this.componentFactoryResolver = componentFactoryResolver;
6892
- _this.formUserChangeListener = formUserChangeListener;
6893
- _this.ngZoneWrapper = ngZoneWrapper;
6894
- _this.searchIcon = exports.CoreComponentsIcon.Magnifier;
6895
- return _this;
6932
+ var InputSearchComponent = /** @class */ (function () {
6933
+ function InputSearchComponent(_elementRef) {
6934
+ this._elementRef = _elementRef;
6935
+ this.searchIcon = exports.CoreComponentsIcon.Magnifier;
6896
6936
  }
6897
6937
  InputSearchComponent.prototype.showClass = function () {
6898
6938
  return true;
6899
6939
  };
6940
+ InputSearchComponent.prototype.ngOnDestroy = function () {
6941
+ this._elementRef = undefined;
6942
+ };
6943
+ InputSearchComponent.prototype.focus = function () {
6944
+ this._elementRef.nativeElement.focus();
6945
+ };
6900
6946
  return InputSearchComponent;
6901
- }(BaseInputComponent));
6947
+ }());
6902
6948
  InputSearchComponent.decorators = [
6903
6949
  { type: core.Component, args: [{
6904
6950
  selector: "co-input-search",
6905
- template: "\n <co-icon class=\"search-icon\" [icon]=\"searchIcon\"></co-icon>\n <input class=\"input\" [placeholder]=\"placeHolderText\">\n ",
6951
+ template: "\n <co-icon class=\"search-icon\" [icon]=\"searchIcon\"></co-icon>\n <input class=\"input\" [placeholder]=\"placeHolderText\">\n ",
6906
6952
  changeDetection: core.ChangeDetectionStrategy.OnPush,
6907
6953
  encapsulation: core.ViewEncapsulation.None
6908
6954
  },] }
6909
6955
  ];
6910
6956
  InputSearchComponent.ctorParameters = function () { return [
6911
- { type: core.ElementRef },
6912
- { type: core.ChangeDetectorRef },
6913
- { type: core.ComponentFactoryResolver },
6914
- { type: FormInputUserModelChangeListenerService },
6915
- { type: NgZoneWrapperService }
6957
+ { type: core.ElementRef }
6916
6958
  ]; };
6917
6959
  InputSearchComponent.propDecorators = {
6918
6960
  placeHolderText: [{ type: core.Input }],
@@ -9216,6 +9258,8 @@
9216
9258
  exports.InputComboBoxModule = InputComboBoxModule;
9217
9259
  exports.InputDatePickerComponent = InputDatePickerComponent;
9218
9260
  exports.InputDatePickerModule = InputDatePickerModule;
9261
+ exports.InputDateRangePickerComponent = InputDateRangePickerComponent;
9262
+ exports.InputDateRangePickerModule = InputDateRangePickerModule;
9219
9263
  exports.InputListboxComponent = InputListboxComponent;
9220
9264
  exports.InputListboxModule = InputListboxModule;
9221
9265
  exports.InputNumberPickerComponent = InputNumberPickerComponent;