@coolon/angular-ui-powerups 1.4.0 → 1.4.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.
- package/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +26 -36
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +27 -37
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js +27 -37
- package/esm5/lib/components/vertical-focus-container/vertical-focus-container.component.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +26 -36
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +26 -36
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +1 -5
- package/package.json +1 -1
|
@@ -965,20 +965,32 @@ var VerticalFocusContainerComponent = /** @class */ (function (_super) {
|
|
|
965
965
|
_this.focusManager = focusManager;
|
|
966
966
|
return _this;
|
|
967
967
|
}
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
968
|
+
// The key listeners seem to be preventing manual binding
|
|
969
|
+
// @Input('command.arrowRight')
|
|
970
|
+
// @TrackExternal()
|
|
971
|
+
// rightArrowCommand: Command<void>;
|
|
972
|
+
//
|
|
973
|
+
// @Input('command.arrowLeft')
|
|
974
|
+
// @TrackExternal()
|
|
975
|
+
// leftArrowCommand: Command<void>;
|
|
976
|
+
//
|
|
977
|
+
// @HostListener('keyup.arrowLeft', ['$event'])
|
|
978
|
+
// arrowLeft(event: KeyboardEvent) {
|
|
979
|
+
// if (this.leftArrowCommand.enabled.value) {
|
|
980
|
+
// event.preventDefault();
|
|
981
|
+
// event.stopPropagation();
|
|
982
|
+
// this.leftArrowCommand.execute();
|
|
983
|
+
// }
|
|
984
|
+
// }
|
|
985
|
+
//
|
|
986
|
+
// @HostListener('keyup.arrowRight', ['$event'])
|
|
987
|
+
// arrowRight(event: KeyboardEvent) {
|
|
988
|
+
// if (this.rightArrowCommand.enabled.value) {
|
|
989
|
+
// event.preventDefault();
|
|
990
|
+
// event.stopPropagation();
|
|
991
|
+
// this.rightArrowCommand.execute();
|
|
992
|
+
// }
|
|
993
|
+
// }
|
|
982
994
|
VerticalFocusContainerComponent.prototype.arrowDown = function (event) {
|
|
983
995
|
event.preventDefault();
|
|
984
996
|
event.stopPropagation();
|
|
@@ -994,28 +1006,6 @@ var VerticalFocusContainerComponent = /** @class */ (function (_super) {
|
|
|
994
1006
|
VerticalFocusContainerComponent.ctorParameters = function () { return [
|
|
995
1007
|
{ type: FocusManager, decorators: [{ type: Self }] }
|
|
996
1008
|
]; };
|
|
997
|
-
__decorate([
|
|
998
|
-
Input('command.arrowRight'),
|
|
999
|
-
TrackExternal(),
|
|
1000
|
-
__metadata("design:type", Command)
|
|
1001
|
-
], VerticalFocusContainerComponent.prototype, "rightArrowCommand", void 0);
|
|
1002
|
-
__decorate([
|
|
1003
|
-
Input('command.arrowLeft'),
|
|
1004
|
-
TrackExternal(),
|
|
1005
|
-
__metadata("design:type", Command)
|
|
1006
|
-
], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
|
|
1007
|
-
__decorate([
|
|
1008
|
-
HostListener('keyup.arrowLeft', ['$event']),
|
|
1009
|
-
__metadata("design:type", Function),
|
|
1010
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
1011
|
-
__metadata("design:returntype", void 0)
|
|
1012
|
-
], VerticalFocusContainerComponent.prototype, "arrowLeft", null);
|
|
1013
|
-
__decorate([
|
|
1014
|
-
HostListener('keyup.arrowRight', ['$event']),
|
|
1015
|
-
__metadata("design:type", Function),
|
|
1016
|
-
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
1017
|
-
__metadata("design:returntype", void 0)
|
|
1018
|
-
], VerticalFocusContainerComponent.prototype, "arrowRight", null);
|
|
1019
1009
|
__decorate([
|
|
1020
1010
|
HostListener('keyup.arrowDown', ['$event']),
|
|
1021
1011
|
__metadata("design:type", Function),
|