@ni/nimble-angular 7.3.1 → 7.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.
@@ -6492,10 +6492,22 @@
6492
6492
  enumerable: false,
6493
6493
  configurable: true
6494
6494
  });
6495
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "errorText", {
6496
+ get: function () {
6497
+ return this.elementRef.nativeElement.errorText;
6498
+ },
6499
+ // Renaming because property should have camel casing, but attribute should not
6500
+ // eslint-disable-next-line @angular-eslint/no-input-rename
6501
+ set: function (value) {
6502
+ this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
6503
+ },
6504
+ enumerable: false,
6505
+ configurable: true
6506
+ });
6495
6507
  return NimbleNumberFieldDirective;
6496
6508
  }());
6497
6509
  NimbleNumberFieldDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleNumberFieldDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
6498
- NimbleNumberFieldDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleNumberFieldDirective, selector: "nimble-number-field", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], min: "min", max: "max", step: "step", placeholder: "placeholder" }, ngImport: i0__namespace });
6510
+ NimbleNumberFieldDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleNumberFieldDirective, selector: "nimble-number-field", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], min: "min", max: "max", step: "step", placeholder: "placeholder", errorText: ["error-text", "errorText"] }, ngImport: i0__namespace });
6499
6511
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleNumberFieldDirective, decorators: [{
6500
6512
  type: i0.Directive,
6501
6513
  args: [{
@@ -6514,6 +6526,9 @@
6514
6526
  type: i0.Input
6515
6527
  }], placeholder: [{
6516
6528
  type: i0.Input
6529
+ }], errorText: [{
6530
+ type: i0.Input,
6531
+ args: ['error-text']
6517
6532
  }] } });
6518
6533
 
6519
6534
  var NimbleNumberFieldModule = /** @class */ (function () {