@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.
@@ -965,20 +965,32 @@ var VerticalFocusContainerComponent = /** @class */ (function (_super) {
965
965
  _this.focusManager = focusManager;
966
966
  return _this;
967
967
  }
968
- VerticalFocusContainerComponent.prototype.arrowLeft = function (event) {
969
- if (this.leftArrowCommand.enabled.value) {
970
- event.preventDefault();
971
- event.stopPropagation();
972
- this.leftArrowCommand.execute();
973
- }
974
- };
975
- VerticalFocusContainerComponent.prototype.arrowRight = function (event) {
976
- if (this.rightArrowCommand.enabled.value) {
977
- event.preventDefault();
978
- event.stopPropagation();
979
- this.rightArrowCommand.execute();
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),