@applicaster/zapp-react-dom-app 13.0.0-alpha.7210171818 → 13.0.0-alpha.9270615060

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.
@@ -335,37 +335,12 @@ class InteractionManagerClass extends React.Component<Props, State> {
335
335
  }
336
336
 
337
337
  onKeyUp(event: KeyboardEvent) {
338
- const { setDisplayState } = this.props;
339
-
340
338
  if (this.keySupportsLongPress(event)) {
341
339
  this.longPressDetector.endKeyPressMonitoring(event.code);
342
340
  }
343
-
344
- if (keyCode(event).matches(KEYS.Enter) || keyCode(event).matches(KEYS.X)) {
345
- focusManager.pressOut();
346
- }
347
-
348
- if (
349
- keyCode(event).matches(KEYS.Forward) ||
350
- keyCode(event).matches(KEYS.C)
351
- ) {
352
- setDisplayState(DISPLAY_STATES.HUD);
353
- KeyInputHandler.getInstance().onForwardPressOut();
354
-
355
- return;
356
- }
357
-
358
- if (
359
- keyCode(event).matches(KEYS.Rewind) ||
360
- keyCode(event).matches(KEYS.Z)
361
- ) {
362
- setDisplayState(DISPLAY_STATES.HUD);
363
- KeyInputHandler.getInstance().onRewindPressOut();
364
- }
365
341
  }
366
342
 
367
343
  onKeyDown(event) {
368
- console.log("Anton event", event);
369
344
  // console.log("Anton: event", event);
370
345
  // debugger;
371
346
  const { displayState, setDisplayState, navigator } = this.props;
@@ -730,13 +705,13 @@ class InteractionManagerClass extends React.Component<Props, State> {
730
705
  switch (keyCode) {
731
706
  case KEYS.Forward.code:
732
707
  case KEYS.C.code:
733
- // playbackState && KeyInputHandler.getInstance().onForwardLongPress();
708
+ playbackState && KeyInputHandler.getInstance().onForwardLongPress();
734
709
 
735
710
  break;
736
711
 
737
712
  case KEYS.Rewind.code:
738
713
  case KEYS.Z.code:
739
- // playbackState && KeyInputHandler.getInstance().onRewindLongPress();
714
+ playbackState && KeyInputHandler.getInstance().onRewindLongPress();
740
715
  break;
741
716
 
742
717
  case KEYS.Enter.code:
@@ -755,17 +730,17 @@ class InteractionManagerClass extends React.Component<Props, State> {
755
730
  switch (keyCode) {
756
731
  case KEYS.Forward.code:
757
732
  case KEYS.C.code:
758
- // KeyInputHandler.getInstance().onForwardPressOut();
733
+ KeyInputHandler.getInstance().onForwardPressOut();
759
734
  break;
760
735
 
761
736
  case KEYS.Rewind.code:
762
737
  case KEYS.Z.code:
763
- // KeyInputHandler.getInstance().onRewindPressOut();
738
+ KeyInputHandler.getInstance().onRewindPressOut();
764
739
  break;
765
740
 
766
741
  case KEYS.Enter.code:
767
742
  case KEYS.X.code:
768
- // focusManager.pressOut();
743
+ focusManager.pressOut();
769
744
  break;
770
745
  }
771
746
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "13.0.0-alpha.7210171818",
3
+ "version": "13.0.0-alpha.9270615060",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
24
24
  "dependencies": {
25
- "@applicaster/zapp-react-dom-ui-components": "13.0.0-alpha.7210171818",
26
- "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.7210171818",
27
- "@applicaster/zapp-react-native-redux": "13.0.0-alpha.7210171818",
28
- "@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.7210171818",
29
- "@applicaster/zapp-react-native-utils": "13.0.0-alpha.7210171818",
25
+ "@applicaster/zapp-react-dom-ui-components": "13.0.0-alpha.9270615060",
26
+ "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.9270615060",
27
+ "@applicaster/zapp-react-native-redux": "13.0.0-alpha.9270615060",
28
+ "@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.9270615060",
29
+ "@applicaster/zapp-react-native-utils": "13.0.0-alpha.9270615060",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "history": "^4.7.2",
32
32
  "react-router-dom": "^5.1.2",