@ni/nimble-angular 8.2.2 → 8.2.5

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.
@@ -948,7 +948,7 @@
948
948
  return NimbleComboboxControlValueAccessorDirective;
949
949
  }());
950
950
  NimbleComboboxControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleComboboxControlValueAccessorDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
951
- NimbleComboboxControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleComboboxControlValueAccessorDirective, selector: "nimble-combobox[formControlName],nimble-combobox[formControl],nimble-combobox[ngModel]", inputs: { compareWith: "compareWith" }, host: { listeners: { "change": "onChange($event.target.value])", "blur": "onTouched()" } }, providers: [{
951
+ NimbleComboboxControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleComboboxControlValueAccessorDirective, selector: "nimble-combobox[formControlName],nimble-combobox[formControl],nimble-combobox[ngModel]", inputs: { compareWith: "compareWith" }, host: { listeners: { "input": "onChange($event.target.control.value])", "change": "onChange($event.target.value])", "blur": "onTouched()" } }, providers: [{
952
952
  provide: forms.NG_VALUE_ACCESSOR,
953
953
  useExisting: i0.forwardRef(function () { return NimbleComboboxControlValueAccessorDirective; }),
954
954
  multi: true
@@ -966,6 +966,9 @@
966
966
  }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { compareWith: [{
967
967
  type: i0.Input
968
968
  }], onChange: [{
969
+ type: i0.HostListener,
970
+ args: ['input', ['$event.target.control.value]']]
971
+ }, {
969
972
  type: i0.HostListener,
970
973
  args: ['change', ['$event.target.value]']]
971
974
  }], onTouched: [{
@@ -1001,6 +1004,16 @@
1001
1004
  enumerable: false,
1002
1005
  configurable: true
1003
1006
  });
1007
+ Object.defineProperty(NimbleComboboxDirective.prototype, "placeholder", {
1008
+ get: function () {
1009
+ return this.elementRef.nativeElement.placeholder;
1010
+ },
1011
+ set: function (value) {
1012
+ this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
1013
+ },
1014
+ enumerable: false,
1015
+ configurable: true
1016
+ });
1004
1017
  Object.defineProperty(NimbleComboboxDirective.prototype, "errorText", {
1005
1018
  get: function () {
1006
1019
  return this.elementRef.nativeElement.errorText;
@@ -1016,7 +1029,7 @@
1016
1029
  return NimbleComboboxDirective;
1017
1030
  }());
1018
1031
  NimbleComboboxDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleComboboxDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1019
- NimbleComboboxDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleComboboxDirective, selector: "nimble-combobox", inputs: { disabled: "disabled", autocomplete: "autocomplete", errorText: ["error-text", "errorText"] }, ngImport: i0__namespace });
1032
+ NimbleComboboxDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleComboboxDirective, selector: "nimble-combobox", inputs: { disabled: "disabled", autocomplete: "autocomplete", placeholder: "placeholder", errorText: ["error-text", "errorText"] }, ngImport: i0__namespace });
1020
1033
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleComboboxDirective, decorators: [{
1021
1034
  type: i0.Directive,
1022
1035
  args: [{
@@ -1026,6 +1039,8 @@
1026
1039
  type: i0.Input
1027
1040
  }], autocomplete: [{
1028
1041
  type: i0.Input
1042
+ }], placeholder: [{
1043
+ type: i0.Input
1029
1044
  }], errorText: [{
1030
1045
  type: i0.Input,
1031
1046
  args: ['error-text']