@abp/ng.theme.shared 7.1.0-rc.2 → 7.1.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/esm2020/extensions/lib/adapters/date-time.adapter.mjs +2 -2
- package/esm2020/lib/components/modal/modal.component.mjs +2 -2
- package/esm2020/lib/directives/visible.directive.mjs +2 -3
- package/fesm2015/abp-ng.theme.shared-extensions.mjs +1 -1
- package/fesm2015/abp-ng.theme.shared-extensions.mjs.map +1 -1
- package/fesm2015/abp-ng.theme.shared.mjs +2 -3
- package/fesm2015/abp-ng.theme.shared.mjs.map +1 -1
- package/fesm2020/abp-ng.theme.shared-extensions.mjs +1 -1
- package/fesm2020/abp-ng.theme.shared-extensions.mjs.map +1 -1
- package/fesm2020/abp-ng.theme.shared.mjs +2 -3
- package/fesm2020/abp-ng.theme.shared.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -738,7 +738,7 @@ class ModalComponent {
|
|
|
738
738
|
listen() {
|
|
739
739
|
if (this.modalWindowRef) {
|
|
740
740
|
fromEvent(this.modalWindowRef, 'keyup')
|
|
741
|
-
.pipe(takeUntil(this.destroy$), debounceTime(150), filter((key) => key && key.key === 'Escape'))
|
|
741
|
+
.pipe(takeUntil(this.destroy$), debounceTime(150), filter((key) => key && key.key === 'Escape' && this.options.keyboard))
|
|
742
742
|
.subscribe(() => this.close());
|
|
743
743
|
}
|
|
744
744
|
fromEvent(window, 'beforeunload')
|
|
@@ -1318,8 +1318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
1318
1318
|
selector: '[abpVisible]',
|
|
1319
1319
|
}]
|
|
1320
1320
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { abpVisible: [{
|
|
1321
|
-
type: Input
|
|
1322
|
-
args: ['abpVisible']
|
|
1321
|
+
type: Input
|
|
1323
1322
|
}] } });
|
|
1324
1323
|
function checkType(value) {
|
|
1325
1324
|
if (value instanceof Promise) {
|