@ni/nimble-angular 4.3.0 → 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.
- package/bundles/ni-nimble-angular.umd.js +16 -1
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/drawer/nimble-drawer.directive.d.ts +3 -1
- package/esm2015/directives/drawer/nimble-drawer.directive.js +13 -2
- package/fesm2015/ni-nimble-angular.js +12 -1
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/package.json +2 -2
|
@@ -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: [{
|