@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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.4.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.4.0...v1.4.1) (2020-05-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * removed arrowLeft/Right commands as they broke manual key bindings ([4aa5227](https://bitbucket.org/coolon/angular-ui-powerups/commit/4aa52274046db45a9dbba869bc85a0e1cca72073))
11
+
5
12
  ## [1.4.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.3.7...v1.4.0) (2020-05-21)
6
13
 
7
14
 
@@ -1143,20 +1143,32 @@
1143
1143
  _this.focusManager = focusManager;
1144
1144
  return _this;
1145
1145
  }
1146
- VerticalFocusContainerComponent.prototype.arrowLeft = function (event) {
1147
- if (this.leftArrowCommand.enabled.value) {
1148
- event.preventDefault();
1149
- event.stopPropagation();
1150
- this.leftArrowCommand.execute();
1151
- }
1152
- };
1153
- VerticalFocusContainerComponent.prototype.arrowRight = function (event) {
1154
- if (this.rightArrowCommand.enabled.value) {
1155
- event.preventDefault();
1156
- event.stopPropagation();
1157
- this.rightArrowCommand.execute();
1158
- }
1159
- };
1146
+ // The key listeners seem to be preventing manual binding
1147
+ // @Input('command.arrowRight')
1148
+ // @TrackExternal()
1149
+ // rightArrowCommand: Command<void>;
1150
+ //
1151
+ // @Input('command.arrowLeft')
1152
+ // @TrackExternal()
1153
+ // leftArrowCommand: Command<void>;
1154
+ //
1155
+ // @HostListener('keyup.arrowLeft', ['$event'])
1156
+ // arrowLeft(event: KeyboardEvent) {
1157
+ // if (this.leftArrowCommand.enabled.value) {
1158
+ // event.preventDefault();
1159
+ // event.stopPropagation();
1160
+ // this.leftArrowCommand.execute();
1161
+ // }
1162
+ // }
1163
+ //
1164
+ // @HostListener('keyup.arrowRight', ['$event'])
1165
+ // arrowRight(event: KeyboardEvent) {
1166
+ // if (this.rightArrowCommand.enabled.value) {
1167
+ // event.preventDefault();
1168
+ // event.stopPropagation();
1169
+ // this.rightArrowCommand.execute();
1170
+ // }
1171
+ // }
1160
1172
  VerticalFocusContainerComponent.prototype.arrowDown = function (event) {
1161
1173
  event.preventDefault();
1162
1174
  event.stopPropagation();
@@ -1172,28 +1184,6 @@
1172
1184
  VerticalFocusContainerComponent.ctorParameters = function () { return [
1173
1185
  { type: pectin.FocusManager, decorators: [{ type: core.Self }] }
1174
1186
  ]; };
1175
- __decorate([
1176
- core.Input('command.arrowRight'),
1177
- pectin.TrackExternal(),
1178
- __metadata("design:type", pectin.Command)
1179
- ], VerticalFocusContainerComponent.prototype, "rightArrowCommand", void 0);
1180
- __decorate([
1181
- core.Input('command.arrowLeft'),
1182
- pectin.TrackExternal(),
1183
- __metadata("design:type", pectin.Command)
1184
- ], VerticalFocusContainerComponent.prototype, "leftArrowCommand", void 0);
1185
- __decorate([
1186
- core.HostListener('keyup.arrowLeft', ['$event']),
1187
- __metadata("design:type", Function),
1188
- __metadata("design:paramtypes", [KeyboardEvent]),
1189
- __metadata("design:returntype", void 0)
1190
- ], VerticalFocusContainerComponent.prototype, "arrowLeft", null);
1191
- __decorate([
1192
- core.HostListener('keyup.arrowRight', ['$event']),
1193
- __metadata("design:type", Function),
1194
- __metadata("design:paramtypes", [KeyboardEvent]),
1195
- __metadata("design:returntype", void 0)
1196
- ], VerticalFocusContainerComponent.prototype, "arrowRight", null);
1197
1187
  __decorate([
1198
1188
  core.HostListener('keyup.arrowDown', ['$event']),
1199
1189
  __metadata("design:type", Function),