@extscreen/es-core 10000.0.12 → 10000.0.13

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import Vue from 'vue';
2
+ import { ESLog } from '@extscreen/es-log';
2
3
 
3
4
  /**
4
5
  *
@@ -2744,6 +2745,9 @@ var ESKeyEventMixin = {
2744
2745
 
2745
2746
  methods: {
2746
2747
  onDispatchKeyEvent(keyEvent) {
2748
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
2749
+ ESLog.d('ESRouter', '----ESKeyEventMixin---onDispatchKeyEvent----->>>>' + JSON.stringify(keyEvent));
2750
+ }
2747
2751
  if (keyEvent.action === KEY_ACTION_DOWN) {
2748
2752
  if (keyEvent.keyCode === KEYCODE_BACK || keyEvent.keyCode === KEYCODE_ESCAPE) {
2749
2753
  this.onBackPressed();
@@ -2789,6 +2793,9 @@ var ESLifecycleMixin = {
2789
2793
 
2790
2794
  methods: {
2791
2795
  onESLifecycleChanged(event) {
2796
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
2797
+ ESLog.d('ESRouter', '----ESLifecycleMixin---onESLifecycleChanged----->>>>' + event);
2798
+ }
2792
2799
  if (event === 'onCreate') {
2793
2800
  this.onESCreate();
2794
2801
  }
@@ -2801,6 +2808,10 @@ var ESLifecycleMixin = {
2801
2808
  this.onESResume();
2802
2809
  }
2803
2810
  //
2811
+ else if (event === 'visibleToUser') {
2812
+ this.onESVisibleToUser();
2813
+ }
2814
+ //
2804
2815
  else if (event === 'invisibleToUser') {
2805
2816
  this.onESInvisibleToUser();
2806
2817
  }
@@ -2833,6 +2844,9 @@ var ESLifecycleMixin = {
2833
2844
  },
2834
2845
  onESInvisibleToUser() {
2835
2846
 
2847
+ },
2848
+ onESVisibleToUser() {
2849
+
2836
2850
  },
2837
2851
  onESPause() {
2838
2852
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "10000.0.12",
3
+ "version": "10000.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {