@extscreen/es-core 1.1.28 → 1.1.29
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/dist/index.js +0 -83
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2090,9 +2090,6 @@ var ESRouter = {
|
|
2090
2090
|
methods: {
|
2091
2091
|
//---------------------------返回键--------------------------------
|
2092
2092
|
onESRouterBackPressed() {
|
2093
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2094
|
-
return
|
2095
|
-
}
|
2096
2093
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2097
2094
|
ESLog.d(TAG, '#-------onESRouterBackPressed----->>>>>');
|
2098
2095
|
}
|
@@ -2104,9 +2101,6 @@ var ESRouter = {
|
|
2104
2101
|
},
|
2105
2102
|
//----------------------------按键-------------------------------
|
2106
2103
|
onESRouterDispatchKeyEvent(keyEvent) {
|
2107
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2108
|
-
return
|
2109
|
-
}
|
2110
2104
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2111
2105
|
ESLog.d(TAG, '#-------onESRouterDispatchKeyEvent----->>>>>' + keyEvent);
|
2112
2106
|
}
|
@@ -2119,9 +2113,6 @@ var ESRouter = {
|
|
2119
2113
|
|
2120
2114
|
//---------------------------生命周期--------------------------------
|
2121
2115
|
onESRouterLifecycleChanged(event) {
|
2122
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2123
|
-
return
|
2124
|
-
}
|
2125
2116
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2126
2117
|
ESLog.d(TAG, '#-------onESRouterLifecycleChanged----->>>>>' + event);
|
2127
2118
|
}
|
@@ -2138,19 +2129,6 @@ var ESRouter = {
|
|
2138
2129
|
*
|
2139
2130
|
*/
|
2140
2131
|
var ESPageLifecycle = {
|
2141
|
-
mounted() {
|
2142
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2143
|
-
ESApp.$on('OnNewIntent', this.onESLifecycleNewIntent);
|
2144
|
-
ESApp.$on('LifecycleChange', this.onESLifecycleChanged);
|
2145
|
-
}
|
2146
|
-
},
|
2147
|
-
beforeDestroy() {
|
2148
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2149
|
-
ESApp.$off('OnNewIntent', this.onESLifecycleNewIntent);
|
2150
|
-
ESApp.$off('LifecycleChange', this.onESLifecycleChanged);
|
2151
|
-
}
|
2152
|
-
},
|
2153
|
-
|
2154
2132
|
methods: {
|
2155
2133
|
onESLifecycleChanged(event, params) {
|
2156
2134
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
@@ -2246,17 +2224,6 @@ const KEYCODE_SEARCH = 84;
|
|
2246
2224
|
*/
|
2247
2225
|
|
2248
2226
|
var ESKeyEventMixin = {
|
2249
|
-
mounted() {
|
2250
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2251
|
-
ESApp.$on('DispatchKeyEvent', this.onDispatchKeyEvent);
|
2252
|
-
}
|
2253
|
-
},
|
2254
|
-
beforeDestroy() {
|
2255
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2256
|
-
ESApp.$off('DispatchKeyEvent', this.onDispatchKeyEvent);
|
2257
|
-
}
|
2258
|
-
},
|
2259
|
-
|
2260
2227
|
methods: {
|
2261
2228
|
onDispatchKeyEvent(keyEvent) {
|
2262
2229
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
@@ -2288,19 +2255,6 @@ var ESKeyEventMixin = {
|
|
2288
2255
|
*/
|
2289
2256
|
|
2290
2257
|
var ESBackPressMixin = {
|
2291
|
-
|
2292
|
-
mounted() {
|
2293
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2294
|
-
Vue.Native.callNative('DeviceEventModule', 'setListenBackPress', true);
|
2295
|
-
ESApp.$on('hardwareBackPress', this.onESBackPressed);
|
2296
|
-
}
|
2297
|
-
},
|
2298
|
-
beforeDestroy() {
|
2299
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
2300
|
-
ESApp.$off('hardwareBackPress', this.onESBackPressed);
|
2301
|
-
}
|
2302
|
-
},
|
2303
|
-
|
2304
2258
|
methods: {
|
2305
2259
|
onESBackPressed() {
|
2306
2260
|
this.onBackPressed();
|
@@ -3369,19 +3323,6 @@ const AUDIO_USAGE_ASSISTANT = 16;
|
|
3369
3323
|
*/
|
3370
3324
|
|
3371
3325
|
var ESBackPress = {
|
3372
|
-
|
3373
|
-
mounted() {
|
3374
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
3375
|
-
Vue.Native.callNative('DeviceEventModule', 'setListenBackPress', true);
|
3376
|
-
ESApp.$on('hardwareBackPress', this.onESBackPressed);
|
3377
|
-
}
|
3378
|
-
},
|
3379
|
-
beforeDestroy() {
|
3380
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
3381
|
-
ESApp.$off('hardwareBackPress', this.onESBackPressed);
|
3382
|
-
}
|
3383
|
-
},
|
3384
|
-
|
3385
3326
|
methods: {
|
3386
3327
|
onESBackPressed() {
|
3387
3328
|
this.onBackPressed();
|
@@ -3397,17 +3338,6 @@ var ESBackPress = {
|
|
3397
3338
|
*/
|
3398
3339
|
|
3399
3340
|
var ESKeyEvent = {
|
3400
|
-
mounted() {
|
3401
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
3402
|
-
ESApp.$on('DispatchKeyEvent', this.onDispatchKeyEvent);
|
3403
|
-
}
|
3404
|
-
},
|
3405
|
-
beforeDestroy() {
|
3406
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
3407
|
-
ESApp.$off('DispatchKeyEvent', this.onDispatchKeyEvent);
|
3408
|
-
}
|
3409
|
-
},
|
3410
|
-
|
3411
3341
|
methods: {
|
3412
3342
|
onDispatchKeyEvent(keyEvent) {
|
3413
3343
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
@@ -3438,19 +3368,6 @@ var ESKeyEvent = {
|
|
3438
3368
|
*
|
3439
3369
|
*/
|
3440
3370
|
var ESLifecycleMixin = {
|
3441
|
-
mounted() {
|
3442
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
3443
|
-
ESApp.$on('OnNewIntent', this.onESLifecycleNewIntent);
|
3444
|
-
ESApp.$on('LifecycleChange', this.onESLifecycleChanged);
|
3445
|
-
}
|
3446
|
-
},
|
3447
|
-
beforeDestroy() {
|
3448
|
-
if (!ESLaunchManager$1.isESRouterEnabled()) {
|
3449
|
-
ESApp.$off('OnNewIntent', this.onESLifecycleNewIntent);
|
3450
|
-
ESApp.$off('LifecycleChange', this.onESLifecycleChanged);
|
3451
|
-
}
|
3452
|
-
},
|
3453
|
-
|
3454
3371
|
methods: {
|
3455
3372
|
onESLifecycleChanged(event, params) {
|
3456
3373
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|