@ni/nimble-angular 12.0.1 → 12.1.1

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.
@@ -7569,10 +7569,34 @@
7569
7569
  enumerable: false,
7570
7570
  configurable: true
7571
7571
  });
7572
+ Object.defineProperty(NimbleSelectDirective.prototype, "errorText", {
7573
+ get: function () {
7574
+ return this.elementRef.nativeElement.errorText;
7575
+ },
7576
+ // Renaming because property should have camel casing, but attribute should not
7577
+ // eslint-disable-next-line @angular-eslint/no-input-rename
7578
+ set: function (value) {
7579
+ this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
7580
+ },
7581
+ enumerable: false,
7582
+ configurable: true
7583
+ });
7584
+ Object.defineProperty(NimbleSelectDirective.prototype, "errorVisible", {
7585
+ get: function () {
7586
+ return this.elementRef.nativeElement.errorVisible;
7587
+ },
7588
+ // Renaming because property should have camel casing, but attribute should not
7589
+ // eslint-disable-next-line @angular-eslint/no-input-rename
7590
+ set: function (value) {
7591
+ this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
7592
+ },
7593
+ enumerable: false,
7594
+ configurable: true
7595
+ });
7572
7596
  return NimbleSelectDirective;
7573
7597
  }());
7574
7598
  NimbleSelectDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleSelectDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
7575
- NimbleSelectDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleSelectDirective, selector: "nimble-select", inputs: { appearance: "appearance", disabled: "disabled" }, ngImport: i0__namespace });
7599
+ NimbleSelectDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleSelectDirective, selector: "nimble-select", inputs: { appearance: "appearance", disabled: "disabled", errorText: ["error-text", "errorText"], errorVisible: ["error-visible", "errorVisible"] }, ngImport: i0__namespace });
7576
7600
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleSelectDirective, decorators: [{
7577
7601
  type: i0.Directive,
7578
7602
  args: [{
@@ -7582,6 +7606,12 @@
7582
7606
  type: i0.Input
7583
7607
  }], disabled: [{
7584
7608
  type: i0.Input
7609
+ }], errorText: [{
7610
+ type: i0.Input,
7611
+ args: ['error-text']
7612
+ }], errorVisible: [{
7613
+ type: i0.Input,
7614
+ args: ['error-visible']
7585
7615
  }] } });
7586
7616
 
7587
7617
  var NimbleSelectModule = /** @class */ (function () {