@ni/nimble-angular 16.3.0 → 16.4.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/directives/text-area/nimble-text-area.directive.d.ts +5 -1
- package/esm2020/directives/text-area/nimble-text-area.directive.mjs +24 -2
- package/fesm2015/ni-nimble-angular.mjs +23 -1
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +23 -1
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -7771,6 +7771,22 @@ class NimbleTextAreaDirective {
|
|
|
7771
7771
|
set disabled(value) {
|
|
7772
7772
|
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
7773
7773
|
}
|
|
7774
|
+
get errorVisible() {
|
|
7775
|
+
return this.elementRef.nativeElement.errorVisible;
|
|
7776
|
+
}
|
|
7777
|
+
// errorVisible property maps to the error-visible attribute
|
|
7778
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
7779
|
+
set errorVisible(value) {
|
|
7780
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
7781
|
+
}
|
|
7782
|
+
get errorText() {
|
|
7783
|
+
return this.elementRef.nativeElement.errorText;
|
|
7784
|
+
}
|
|
7785
|
+
// errorText property maps to the error-text attribute
|
|
7786
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
7787
|
+
set errorText(value) {
|
|
7788
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
7789
|
+
}
|
|
7774
7790
|
get required() {
|
|
7775
7791
|
return this.elementRef.nativeElement.required;
|
|
7776
7792
|
}
|
|
@@ -7824,7 +7840,7 @@ class NimbleTextAreaDirective {
|
|
|
7824
7840
|
}
|
|
7825
7841
|
}
|
|
7826
7842
|
NimbleTextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTextAreaDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7827
|
-
NimbleTextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTextAreaDirective, selector: "nimble-text-area", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], resize: "resize", autofocus: "autofocus", disabled: "disabled", required: "required", formId: ["form", "formId"], maxlength: "maxlength", minlength: "minlength", placeholder: "placeholder", cols: "cols", rows: "rows", spellcheck: "spellcheck" }, ngImport: i0 });
|
|
7843
|
+
NimbleTextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTextAreaDirective, selector: "nimble-text-area", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], resize: "resize", autofocus: "autofocus", disabled: "disabled", errorVisible: ["error-visible", "errorVisible"], errorText: ["error-text", "errorText"], required: "required", formId: ["form", "formId"], maxlength: "maxlength", minlength: "minlength", placeholder: "placeholder", cols: "cols", rows: "rows", spellcheck: "spellcheck" }, ngImport: i0 });
|
|
7828
7844
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTextAreaDirective, decorators: [{
|
|
7829
7845
|
type: Directive,
|
|
7830
7846
|
args: [{
|
|
@@ -7841,6 +7857,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
7841
7857
|
type: Input
|
|
7842
7858
|
}], disabled: [{
|
|
7843
7859
|
type: Input
|
|
7860
|
+
}], errorVisible: [{
|
|
7861
|
+
type: Input,
|
|
7862
|
+
args: ['error-visible']
|
|
7863
|
+
}], errorText: [{
|
|
7864
|
+
type: Input,
|
|
7865
|
+
args: ['error-text']
|
|
7844
7866
|
}], required: [{
|
|
7845
7867
|
type: Input
|
|
7846
7868
|
}], formId: [{
|