@ni/nimble-angular 4.2.6 → 4.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.
@@ -806,6 +806,18 @@
806
806
  enumerable: false,
807
807
  configurable: true
808
808
  });
809
+ Object.defineProperty(NimbleDrawerDirective.prototype, "preventDismiss", {
810
+ get: function () {
811
+ return this.elementRef.nativeElement.preventDismiss;
812
+ },
813
+ // preventDismiss property intentionally maps to the prevent-dismiss attribute
814
+ // eslint-disable-next-line @angular-eslint/no-input-rename
815
+ set: function (value) {
816
+ this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
817
+ },
818
+ enumerable: false,
819
+ configurable: true
820
+ });
809
821
  NimbleDrawerDirective.prototype.show = function () {
810
822
  this.state = types$1.DrawerState.Opening;
811
823
  };
@@ -820,7 +832,7 @@
820
832
  return NimbleDrawerDirective;
821
833
  }());
822
834
  NimbleDrawerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleDrawerDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
823
- NimbleDrawerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleDrawerDirective, selector: "nimble-drawer", inputs: { location: "location", state: "state", modal: "modal" }, outputs: { stateChange: "stateChange" }, host: { listeners: { "state-change": "onStateChanged($event)" } }, ngImport: i0__namespace });
835
+ NimbleDrawerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleDrawerDirective, selector: "nimble-drawer", inputs: { location: "location", state: "state", modal: "modal", preventDismiss: ["prevent-dismiss", "preventDismiss"] }, outputs: { stateChange: "stateChange" }, host: { listeners: { "state-change": "onStateChanged($event)" } }, ngImport: i0__namespace });
824
836
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleDrawerDirective, decorators: [{
825
837
  type: i0.Directive,
826
838
  args: [{
@@ -832,6 +844,9 @@
832
844
  type: i0.Input
833
845
  }], modal: [{
834
846
  type: i0.Input
847
+ }], preventDismiss: [{
848
+ type: i0.Input,
849
+ args: ['prevent-dismiss']
835
850
  }], stateChange: [{
836
851
  type: i0.Output
837
852
  }], onStateChanged: [{
@@ -6869,6 +6884,16 @@
6869
6884
  this.renderer = renderer;
6870
6885
  this.elementRef = elementRef;
6871
6886
  }
6887
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "appearance", {
6888
+ get: function () {
6889
+ return this.elementRef.nativeElement.appearance;
6890
+ },
6891
+ set: function (value) {
6892
+ this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
6893
+ },
6894
+ enumerable: false,
6895
+ configurable: true
6896
+ });
6872
6897
  Object.defineProperty(NimbleTextFieldDirective.prototype, "readOnly", {
6873
6898
  get: function () {
6874
6899
  return this.elementRef.nativeElement.readOnly;
@@ -6892,6 +6917,76 @@
6892
6917
  enumerable: false,
6893
6918
  configurable: true
6894
6919
  });
6920
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "autofocus", {
6921
+ get: function () {
6922
+ return this.elementRef.nativeElement.autofocus;
6923
+ },
6924
+ set: function (value) {
6925
+ this.renderer.setProperty(this.elementRef.nativeElement, 'autofocus', toBooleanProperty(value));
6926
+ },
6927
+ enumerable: false,
6928
+ configurable: true
6929
+ });
6930
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "disabled", {
6931
+ get: function () {
6932
+ return this.elementRef.nativeElement.disabled;
6933
+ },
6934
+ set: function (value) {
6935
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
6936
+ },
6937
+ enumerable: false,
6938
+ configurable: true
6939
+ });
6940
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "required", {
6941
+ get: function () {
6942
+ return this.elementRef.nativeElement.required;
6943
+ },
6944
+ set: function (value) {
6945
+ this.renderer.setProperty(this.elementRef.nativeElement, 'required', toBooleanProperty(value));
6946
+ },
6947
+ enumerable: false,
6948
+ configurable: true
6949
+ });
6950
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "placeholder", {
6951
+ get: function () {
6952
+ return this.elementRef.nativeElement.placeholder;
6953
+ },
6954
+ set: function (value) {
6955
+ this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
6956
+ },
6957
+ enumerable: false,
6958
+ configurable: true
6959
+ });
6960
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "maxlength", {
6961
+ get: function () {
6962
+ return this.elementRef.nativeElement.maxlength;
6963
+ },
6964
+ set: function (value) {
6965
+ this.renderer.setProperty(this.elementRef.nativeElement, 'maxlength', value);
6966
+ },
6967
+ enumerable: false,
6968
+ configurable: true
6969
+ });
6970
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "minlength", {
6971
+ get: function () {
6972
+ return this.elementRef.nativeElement.minlength;
6973
+ },
6974
+ set: function (value) {
6975
+ this.renderer.setProperty(this.elementRef.nativeElement, 'minlength', value);
6976
+ },
6977
+ enumerable: false,
6978
+ configurable: true
6979
+ });
6980
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "pattern", {
6981
+ get: function () {
6982
+ return this.elementRef.nativeElement.pattern;
6983
+ },
6984
+ set: function (value) {
6985
+ this.renderer.setProperty(this.elementRef.nativeElement, 'pattern', value);
6986
+ },
6987
+ enumerable: false,
6988
+ configurable: true
6989
+ });
6895
6990
  Object.defineProperty(NimbleTextFieldDirective.prototype, "errorText", {
6896
6991
  get: function () {
6897
6992
  return this.elementRef.nativeElement.errorText;
@@ -6904,23 +6999,63 @@
6904
6999
  enumerable: false,
6905
7000
  configurable: true
6906
7001
  });
7002
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "size", {
7003
+ get: function () {
7004
+ return this.elementRef.nativeElement.size;
7005
+ },
7006
+ set: function (value) {
7007
+ this.renderer.setProperty(this.elementRef.nativeElement, 'size', value);
7008
+ },
7009
+ enumerable: false,
7010
+ configurable: true
7011
+ });
7012
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "spellcheck", {
7013
+ get: function () {
7014
+ return this.elementRef.nativeElement.spellcheck;
7015
+ },
7016
+ set: function (value) {
7017
+ this.renderer.setProperty(this.elementRef.nativeElement, 'spellcheck', toBooleanProperty(value));
7018
+ },
7019
+ enumerable: false,
7020
+ configurable: true
7021
+ });
6907
7022
  return NimbleTextFieldDirective;
6908
7023
  }());
6909
7024
  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 });
7025
+ 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
7026
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleTextFieldDirective, decorators: [{
6912
7027
  type: i0.Directive,
6913
7028
  args: [{
6914
7029
  selector: 'nimble-text-field'
6915
7030
  }]
6916
- }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { readOnly: [{
7031
+ }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { appearance: [{
7032
+ type: i0.Input
7033
+ }], readOnly: [{
6917
7034
  type: i0.Input,
6918
7035
  args: ['readonly']
6919
7036
  }], type: [{
6920
7037
  type: i0.Input
7038
+ }], autofocus: [{
7039
+ type: i0.Input
7040
+ }], disabled: [{
7041
+ type: i0.Input
7042
+ }], required: [{
7043
+ type: i0.Input
7044
+ }], placeholder: [{
7045
+ type: i0.Input
7046
+ }], maxlength: [{
7047
+ type: i0.Input
7048
+ }], minlength: [{
7049
+ type: i0.Input
7050
+ }], pattern: [{
7051
+ type: i0.Input
6921
7052
  }], errorText: [{
6922
7053
  type: i0.Input,
6923
7054
  args: ['error-text']
7055
+ }], size: [{
7056
+ type: i0.Input
7057
+ }], spellcheck: [{
7058
+ type: i0.Input
6924
7059
  }] } });
6925
7060
 
6926
7061
  var NimbleTextFieldModule = /** @class */ (function () {