@ni/nimble-angular 8.2.4 → 8.3.0
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/ni-nimble-angular.umd.js +18 -3
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/combobox/nimble-combobox.directive.d.ts +4 -1
- package/esm2015/directives/combobox/nimble-combobox-control-value-accessor.directive.js +5 -2
- package/esm2015/directives/combobox/nimble-combobox.directive.js +11 -3
- package/fesm2015/ni-nimble-angular.js +14 -3
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/package.json +2 -2
|
@@ -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: [{
|
|
@@ -981,6 +984,16 @@
|
|
|
981
984
|
this.renderer = renderer;
|
|
982
985
|
this.elementRef = elementRef;
|
|
983
986
|
}
|
|
987
|
+
Object.defineProperty(NimbleComboboxDirective.prototype, "appearance", {
|
|
988
|
+
get: function () {
|
|
989
|
+
return this.elementRef.nativeElement.appearance;
|
|
990
|
+
},
|
|
991
|
+
set: function (value) {
|
|
992
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
993
|
+
},
|
|
994
|
+
enumerable: false,
|
|
995
|
+
configurable: true
|
|
996
|
+
});
|
|
984
997
|
Object.defineProperty(NimbleComboboxDirective.prototype, "disabled", {
|
|
985
998
|
get: function () {
|
|
986
999
|
return this.elementRef.nativeElement.disabled;
|
|
@@ -1026,13 +1039,15 @@
|
|
|
1026
1039
|
return NimbleComboboxDirective;
|
|
1027
1040
|
}());
|
|
1028
1041
|
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 });
|
|
1029
|
-
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 });
|
|
1042
|
+
NimbleComboboxDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleComboboxDirective, selector: "nimble-combobox", inputs: { appearance: "appearance", disabled: "disabled", autocomplete: "autocomplete", placeholder: "placeholder", errorText: ["error-text", "errorText"] }, ngImport: i0__namespace });
|
|
1030
1043
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleComboboxDirective, decorators: [{
|
|
1031
1044
|
type: i0.Directive,
|
|
1032
1045
|
args: [{
|
|
1033
1046
|
selector: 'nimble-combobox',
|
|
1034
1047
|
}]
|
|
1035
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: {
|
|
1048
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { appearance: [{
|
|
1049
|
+
type: i0.Input
|
|
1050
|
+
}], disabled: [{
|
|
1036
1051
|
type: i0.Input
|
|
1037
1052
|
}], autocomplete: [{
|
|
1038
1053
|
type: i0.Input
|