@ni/nimble-angular 4.2.7 → 4.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 +122 -2
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/text-field/nimble-text-field.directive.d.ts +22 -2
- package/esm2015/directives/text-field/nimble-text-field.directive.js +83 -3
- package/fesm2015/ni-nimble-angular.js +82 -2
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/package.json +1 -1
|
@@ -6869,6 +6869,16 @@
|
|
|
6869
6869
|
this.renderer = renderer;
|
|
6870
6870
|
this.elementRef = elementRef;
|
|
6871
6871
|
}
|
|
6872
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "appearance", {
|
|
6873
|
+
get: function () {
|
|
6874
|
+
return this.elementRef.nativeElement.appearance;
|
|
6875
|
+
},
|
|
6876
|
+
set: function (value) {
|
|
6877
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
6878
|
+
},
|
|
6879
|
+
enumerable: false,
|
|
6880
|
+
configurable: true
|
|
6881
|
+
});
|
|
6872
6882
|
Object.defineProperty(NimbleTextFieldDirective.prototype, "readOnly", {
|
|
6873
6883
|
get: function () {
|
|
6874
6884
|
return this.elementRef.nativeElement.readOnly;
|
|
@@ -6892,6 +6902,76 @@
|
|
|
6892
6902
|
enumerable: false,
|
|
6893
6903
|
configurable: true
|
|
6894
6904
|
});
|
|
6905
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "autofocus", {
|
|
6906
|
+
get: function () {
|
|
6907
|
+
return this.elementRef.nativeElement.autofocus;
|
|
6908
|
+
},
|
|
6909
|
+
set: function (value) {
|
|
6910
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'autofocus', toBooleanProperty(value));
|
|
6911
|
+
},
|
|
6912
|
+
enumerable: false,
|
|
6913
|
+
configurable: true
|
|
6914
|
+
});
|
|
6915
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "disabled", {
|
|
6916
|
+
get: function () {
|
|
6917
|
+
return this.elementRef.nativeElement.disabled;
|
|
6918
|
+
},
|
|
6919
|
+
set: function (value) {
|
|
6920
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
6921
|
+
},
|
|
6922
|
+
enumerable: false,
|
|
6923
|
+
configurable: true
|
|
6924
|
+
});
|
|
6925
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "required", {
|
|
6926
|
+
get: function () {
|
|
6927
|
+
return this.elementRef.nativeElement.required;
|
|
6928
|
+
},
|
|
6929
|
+
set: function (value) {
|
|
6930
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'required', toBooleanProperty(value));
|
|
6931
|
+
},
|
|
6932
|
+
enumerable: false,
|
|
6933
|
+
configurable: true
|
|
6934
|
+
});
|
|
6935
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "placeholder", {
|
|
6936
|
+
get: function () {
|
|
6937
|
+
return this.elementRef.nativeElement.placeholder;
|
|
6938
|
+
},
|
|
6939
|
+
set: function (value) {
|
|
6940
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
|
|
6941
|
+
},
|
|
6942
|
+
enumerable: false,
|
|
6943
|
+
configurable: true
|
|
6944
|
+
});
|
|
6945
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "maxlength", {
|
|
6946
|
+
get: function () {
|
|
6947
|
+
return this.elementRef.nativeElement.maxlength;
|
|
6948
|
+
},
|
|
6949
|
+
set: function (value) {
|
|
6950
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'maxlength', value);
|
|
6951
|
+
},
|
|
6952
|
+
enumerable: false,
|
|
6953
|
+
configurable: true
|
|
6954
|
+
});
|
|
6955
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "minlength", {
|
|
6956
|
+
get: function () {
|
|
6957
|
+
return this.elementRef.nativeElement.minlength;
|
|
6958
|
+
},
|
|
6959
|
+
set: function (value) {
|
|
6960
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minlength', value);
|
|
6961
|
+
},
|
|
6962
|
+
enumerable: false,
|
|
6963
|
+
configurable: true
|
|
6964
|
+
});
|
|
6965
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "pattern", {
|
|
6966
|
+
get: function () {
|
|
6967
|
+
return this.elementRef.nativeElement.pattern;
|
|
6968
|
+
},
|
|
6969
|
+
set: function (value) {
|
|
6970
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'pattern', value);
|
|
6971
|
+
},
|
|
6972
|
+
enumerable: false,
|
|
6973
|
+
configurable: true
|
|
6974
|
+
});
|
|
6895
6975
|
Object.defineProperty(NimbleTextFieldDirective.prototype, "errorText", {
|
|
6896
6976
|
get: function () {
|
|
6897
6977
|
return this.elementRef.nativeElement.errorText;
|
|
@@ -6904,23 +6984,63 @@
|
|
|
6904
6984
|
enumerable: false,
|
|
6905
6985
|
configurable: true
|
|
6906
6986
|
});
|
|
6987
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "size", {
|
|
6988
|
+
get: function () {
|
|
6989
|
+
return this.elementRef.nativeElement.size;
|
|
6990
|
+
},
|
|
6991
|
+
set: function (value) {
|
|
6992
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'size', value);
|
|
6993
|
+
},
|
|
6994
|
+
enumerable: false,
|
|
6995
|
+
configurable: true
|
|
6996
|
+
});
|
|
6997
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "spellcheck", {
|
|
6998
|
+
get: function () {
|
|
6999
|
+
return this.elementRef.nativeElement.spellcheck;
|
|
7000
|
+
},
|
|
7001
|
+
set: function (value) {
|
|
7002
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'spellcheck', toBooleanProperty(value));
|
|
7003
|
+
},
|
|
7004
|
+
enumerable: false,
|
|
7005
|
+
configurable: true
|
|
7006
|
+
});
|
|
6907
7007
|
return NimbleTextFieldDirective;
|
|
6908
7008
|
}());
|
|
6909
7009
|
NimbleTextFieldDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleTextFieldDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
6910
|
-
NimbleTextFieldDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleTextFieldDirective, selector: "nimble-text-field", inputs: { readOnly: ["readonly", "readOnly"], type: "type", errorText: ["error-text", "errorText"] }, ngImport: i0__namespace });
|
|
7010
|
+
NimbleTextFieldDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleTextFieldDirective, selector: "nimble-text-field", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], type: "type", autofocus: "autofocus", disabled: "disabled", required: "required", placeholder: "placeholder", maxlength: "maxlength", minlength: "minlength", pattern: "pattern", errorText: ["error-text", "errorText"], size: "size", spellcheck: "spellcheck" }, ngImport: i0__namespace });
|
|
6911
7011
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleTextFieldDirective, decorators: [{
|
|
6912
7012
|
type: i0.Directive,
|
|
6913
7013
|
args: [{
|
|
6914
7014
|
selector: 'nimble-text-field'
|
|
6915
7015
|
}]
|
|
6916
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: {
|
|
7016
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { appearance: [{
|
|
7017
|
+
type: i0.Input
|
|
7018
|
+
}], readOnly: [{
|
|
6917
7019
|
type: i0.Input,
|
|
6918
7020
|
args: ['readonly']
|
|
6919
7021
|
}], type: [{
|
|
6920
7022
|
type: i0.Input
|
|
7023
|
+
}], autofocus: [{
|
|
7024
|
+
type: i0.Input
|
|
7025
|
+
}], disabled: [{
|
|
7026
|
+
type: i0.Input
|
|
7027
|
+
}], required: [{
|
|
7028
|
+
type: i0.Input
|
|
7029
|
+
}], placeholder: [{
|
|
7030
|
+
type: i0.Input
|
|
7031
|
+
}], maxlength: [{
|
|
7032
|
+
type: i0.Input
|
|
7033
|
+
}], minlength: [{
|
|
7034
|
+
type: i0.Input
|
|
7035
|
+
}], pattern: [{
|
|
7036
|
+
type: i0.Input
|
|
6921
7037
|
}], errorText: [{
|
|
6922
7038
|
type: i0.Input,
|
|
6923
7039
|
args: ['error-text']
|
|
7040
|
+
}], size: [{
|
|
7041
|
+
type: i0.Input
|
|
7042
|
+
}], spellcheck: [{
|
|
7043
|
+
type: i0.Input
|
|
6924
7044
|
}] } });
|
|
6925
7045
|
|
|
6926
7046
|
var NimbleTextFieldModule = /** @class */ (function () {
|