@extscreen/es-core 2.2.33 → 2.2.36
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 +139 -47
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -200,7 +200,7 @@ var ESDeviceModule$1 = new ESDeviceModule();
|
|
200
200
|
*
|
201
201
|
*/
|
202
202
|
|
203
|
-
const TAG$
|
203
|
+
const TAG$7 = 'ESDeviceManager';
|
204
204
|
|
205
205
|
class ESDeviceManager {
|
206
206
|
|
@@ -259,7 +259,7 @@ class ESDeviceManager {
|
|
259
259
|
ESDeviceModule$1.getDevice().then(
|
260
260
|
(device) => {
|
261
261
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
262
|
-
ESLog.d(TAG$
|
262
|
+
ESLog.d(TAG$7, '#----------init---------->>>>>' + JSON.stringify(device));
|
263
263
|
}
|
264
264
|
this._device = device;
|
265
265
|
|
@@ -312,7 +312,7 @@ class ESDeviceManager {
|
|
312
312
|
}
|
313
313
|
} catch (e) {
|
314
314
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
315
|
-
ESLog.d(TAG$
|
315
|
+
ESLog.d(TAG$7, '#----------init---解析--error----->>>>>' + e);
|
316
316
|
}
|
317
317
|
}
|
318
318
|
resolve(device);
|
@@ -320,7 +320,7 @@ class ESDeviceManager {
|
|
320
320
|
//
|
321
321
|
error => {
|
322
322
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
323
|
-
ESLog.d(TAG$
|
323
|
+
ESLog.d(TAG$7, '#----------init-----error----->>>>>' + error);
|
324
324
|
}
|
325
325
|
resolve(error);
|
326
326
|
}
|
@@ -822,7 +822,7 @@ var ESAudioModule$1 = new ESAudioModule();
|
|
822
822
|
*
|
823
823
|
*/
|
824
824
|
|
825
|
-
const TAG$
|
825
|
+
const TAG$6 = 'ESAudioManager';
|
826
826
|
|
827
827
|
class ESAudioManager {
|
828
828
|
|
@@ -848,7 +848,7 @@ class ESAudioManager {
|
|
848
848
|
initPromise() {
|
849
849
|
return new Promise((resolve, reject) => {
|
850
850
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
851
|
-
ESLog.d(TAG$
|
851
|
+
ESLog.d(TAG$6, '------------init----start----->>>>');
|
852
852
|
}
|
853
853
|
this.getStreamSystemMaxVolume();
|
854
854
|
this.getStreamSystemVolume();
|
@@ -863,7 +863,7 @@ class ESAudioManager {
|
|
863
863
|
ESAudioModule$1.getStreamVoiceCallMaxVolume()
|
864
864
|
.then((volume) => {
|
865
865
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
866
|
-
ESLog.d(TAG$
|
866
|
+
ESLog.d(TAG$6, '-----getStreamVoiceCallMaxVolume--->>>>' + volume);
|
867
867
|
}
|
868
868
|
this._voiceCallMaxVolume = volume;
|
869
869
|
});
|
@@ -877,7 +877,7 @@ class ESAudioManager {
|
|
877
877
|
ESAudioModule$1.getStreamVoiceCallVolume()
|
878
878
|
.then((volume) => {
|
879
879
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
880
|
-
ESLog.d(TAG$
|
880
|
+
ESLog.d(TAG$6, '-----getStreamVoiceCallVolume--->>>>' + volume);
|
881
881
|
}
|
882
882
|
this._voiceCallVolume = volume;
|
883
883
|
});
|
@@ -892,7 +892,7 @@ class ESAudioManager {
|
|
892
892
|
ESAudioModule$1.getStreamSystemMaxVolume()
|
893
893
|
.then((volume) => {
|
894
894
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
895
|
-
ESLog.d(TAG$
|
895
|
+
ESLog.d(TAG$6, '-----getStreamSystemMaxVolume--->>>>' + volume);
|
896
896
|
}
|
897
897
|
this._systemMaxVolume = volume;
|
898
898
|
});
|
@@ -906,7 +906,7 @@ class ESAudioManager {
|
|
906
906
|
ESAudioModule$1.getStreamSystemVolume()
|
907
907
|
.then((volume) => {
|
908
908
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
909
|
-
ESLog.d(TAG$
|
909
|
+
ESLog.d(TAG$6, '-----getStreamSystemVolume--->>>>' + volume);
|
910
910
|
}
|
911
911
|
this._systemVolume = volume;
|
912
912
|
});
|
@@ -921,7 +921,7 @@ class ESAudioManager {
|
|
921
921
|
ESAudioModule$1.getStreamRingMaxVolume()
|
922
922
|
.then((volume) => {
|
923
923
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
924
|
-
ESLog.d(TAG$
|
924
|
+
ESLog.d(TAG$6, '-----getStreamRingMaxVolume--->>>>' + volume);
|
925
925
|
}
|
926
926
|
this._ringMaxVolume = volume;
|
927
927
|
});
|
@@ -935,7 +935,7 @@ class ESAudioManager {
|
|
935
935
|
ESAudioModule$1.getStreamRingVolume()
|
936
936
|
.then((volume) => {
|
937
937
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
938
|
-
ESLog.d(TAG$
|
938
|
+
ESLog.d(TAG$6, '-----getStreamRingVolume--->>>>' + volume);
|
939
939
|
}
|
940
940
|
this._ringVolume = volume;
|
941
941
|
});
|
@@ -950,7 +950,7 @@ class ESAudioManager {
|
|
950
950
|
ESAudioModule$1.getStreamMusicMaxVolume()
|
951
951
|
.then((volume) => {
|
952
952
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
953
|
-
ESLog.d(TAG$
|
953
|
+
ESLog.d(TAG$6, '-----getStreamMusicMaxVolume--->>>>' + volume);
|
954
954
|
}
|
955
955
|
this._musicMaxVolume = volume;
|
956
956
|
});
|
@@ -964,7 +964,7 @@ class ESAudioManager {
|
|
964
964
|
ESAudioModule$1.getStreamMusicVolume()
|
965
965
|
.then((volume) => {
|
966
966
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
967
|
-
ESLog.d(TAG$
|
967
|
+
ESLog.d(TAG$6, '-----getStreamMusicVolume--->>>>' + volume);
|
968
968
|
}
|
969
969
|
this._musicVolume = volume;
|
970
970
|
});
|
@@ -979,7 +979,7 @@ class ESAudioManager {
|
|
979
979
|
ESAudioModule$1.getStreamAlarmMaxVolume()
|
980
980
|
.then((volume) => {
|
981
981
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
982
|
-
ESLog.d(TAG$
|
982
|
+
ESLog.d(TAG$6, '-----getStreamAlarmMaxVolume--->>>>' + volume);
|
983
983
|
}
|
984
984
|
this._alarmMaxVolume = volume;
|
985
985
|
});
|
@@ -993,7 +993,7 @@ class ESAudioManager {
|
|
993
993
|
ESAudioModule$1.getStreamAlarmVolume()
|
994
994
|
.then((volume) => {
|
995
995
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
996
|
-
ESLog.d(TAG$
|
996
|
+
ESLog.d(TAG$6, '-----getStreamAlarmVolume--->>>>' + volume);
|
997
997
|
}
|
998
998
|
this._alarmVolume = volume;
|
999
999
|
});
|
@@ -1008,7 +1008,7 @@ class ESAudioManager {
|
|
1008
1008
|
ESAudioModule$1.getStreamMaxVolume(streamType)
|
1009
1009
|
.then((volume) => {
|
1010
1010
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1011
|
-
ESLog.d(TAG$
|
1011
|
+
ESLog.d(TAG$6, streamType + '-----getStreamMaxVolume--->>>>' + volume);
|
1012
1012
|
}
|
1013
1013
|
});
|
1014
1014
|
}
|
@@ -1017,7 +1017,7 @@ class ESAudioManager {
|
|
1017
1017
|
ESAudioModule$1.getStreamVolume(streamType)
|
1018
1018
|
.then((volume) => {
|
1019
1019
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1020
|
-
ESLog.d(TAG$
|
1020
|
+
ESLog.d(TAG$6, streamType + '-----getStreamVolume--->>>>' + volume);
|
1021
1021
|
}
|
1022
1022
|
});
|
1023
1023
|
}
|
@@ -2475,7 +2475,12 @@ class ESLaunchManager {
|
|
2475
2475
|
|
2476
2476
|
launchNativePage(intent) {
|
2477
2477
|
return ESModule$1.launchESPage({
|
2478
|
-
|
2478
|
+
pkg: intent.pkg,
|
2479
|
+
args: intent.args,
|
2480
|
+
flags: intent.flags,
|
2481
|
+
pageTag: intent.pageTag,
|
2482
|
+
pageLimit: intent.pageLimit,
|
2483
|
+
backgroundColor: intent.backgroundColor,
|
2479
2484
|
});
|
2480
2485
|
}
|
2481
2486
|
|
@@ -2567,7 +2572,7 @@ class ESLaunchManager {
|
|
2567
2572
|
|
2568
2573
|
var ESLaunchManager$1 = new ESLaunchManager();
|
2569
2574
|
|
2570
|
-
const TAG$
|
2575
|
+
const TAG$5 = "ESRouter";
|
2571
2576
|
|
2572
2577
|
/**
|
2573
2578
|
* router按键管理
|
@@ -2597,12 +2602,12 @@ class ESRouterKeyManager {
|
|
2597
2602
|
if (keyEvent && keyEvent.action === 0) {
|
2598
2603
|
if (this.isFunction(componentInstance.onKeyDown)) {
|
2599
2604
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2600
|
-
ESLog.d(TAG$
|
2605
|
+
ESLog.d(TAG$5, '#-------onKeyDown---success------>>>>>');
|
2601
2606
|
}
|
2602
2607
|
componentInstance.onKeyDown(keyEvent);
|
2603
2608
|
} else {
|
2604
2609
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2605
|
-
ESLog.d(TAG$
|
2610
|
+
ESLog.d(TAG$5, '#-------onKeyDown---error------>>>>>');
|
2606
2611
|
}
|
2607
2612
|
}
|
2608
2613
|
}
|
@@ -2610,19 +2615,19 @@ class ESRouterKeyManager {
|
|
2610
2615
|
else if (keyEvent && keyEvent.action === 1) {
|
2611
2616
|
if (this.isFunction(componentInstance.onKeyUp)) {
|
2612
2617
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2613
|
-
ESLog.d(TAG$
|
2618
|
+
ESLog.d(TAG$5, '#-------onKeyUp---success------>>>>>');
|
2614
2619
|
}
|
2615
2620
|
componentInstance.onKeyUp(keyEvent);
|
2616
2621
|
} else {
|
2617
2622
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2618
|
-
ESLog.d(TAG$
|
2623
|
+
ESLog.d(TAG$5, '#-------onKeyUp---error------>>>>>');
|
2619
2624
|
}
|
2620
2625
|
}
|
2621
2626
|
}
|
2622
2627
|
}
|
2623
2628
|
} else {
|
2624
2629
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2625
|
-
ESLog.d(TAG$
|
2630
|
+
ESLog.d(TAG$5, '#-------dispatchInstanceKeyEvent-----实例对象为空------>>>>>');
|
2626
2631
|
}
|
2627
2632
|
}
|
2628
2633
|
}
|
@@ -2637,17 +2642,17 @@ class ESRouterKeyManager {
|
|
2637
2642
|
if (componentInstance) {
|
2638
2643
|
if (this.isFunction(componentInstance.onBackPressed)) {
|
2639
2644
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2640
|
-
ESLog.d(TAG$
|
2645
|
+
ESLog.d(TAG$5, '#-------onBackPressed---success------>>>>>');
|
2641
2646
|
}
|
2642
2647
|
componentInstance.onBackPressed();
|
2643
2648
|
} else {
|
2644
2649
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2645
|
-
ESLog.d(TAG$
|
2650
|
+
ESLog.d(TAG$5, '#-------onBackPressed---error------>>>>>');
|
2646
2651
|
}
|
2647
2652
|
}
|
2648
2653
|
} else {
|
2649
2654
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2650
|
-
ESLog.d(TAG$
|
2655
|
+
ESLog.d(TAG$5, '#-------dispatchInstanceBackPressed-----实例对象为空------>>>>>');
|
2651
2656
|
}
|
2652
2657
|
}
|
2653
2658
|
}
|
@@ -2672,7 +2677,7 @@ const ES_LIFECYCLE_ON_STOP = 7;
|
|
2672
2677
|
const ES_LIFECYCLE_ON_SAVE_INSTANCE_SATE = 8;
|
2673
2678
|
const ES_LIFECYCLE_ON_DESTROY = 9;
|
2674
2679
|
|
2675
|
-
const TAG$
|
2680
|
+
const TAG$4 = "ESRouter";
|
2676
2681
|
|
2677
2682
|
/**
|
2678
2683
|
* router生命周期管理
|
@@ -2750,7 +2755,7 @@ class ESRouterLifecycleManager {
|
|
2750
2755
|
}
|
2751
2756
|
} else {
|
2752
2757
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2753
|
-
ESLog.d(TAG$
|
2758
|
+
ESLog.d(TAG$4, '#-------onESRouterLifecycleChanged-----实例对象为空------>>>>>');
|
2754
2759
|
}
|
2755
2760
|
}
|
2756
2761
|
}
|
@@ -2767,7 +2772,7 @@ class ESRouterLifecycleManager {
|
|
2767
2772
|
componentInstance.onESNewIntent(params);
|
2768
2773
|
} else {
|
2769
2774
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2770
|
-
ESLog.d(TAG$
|
2775
|
+
ESLog.d(TAG$4, '#-------onESRouterLifecycleNewIntent-----实例对象为空------>>>>>');
|
2771
2776
|
}
|
2772
2777
|
}
|
2773
2778
|
}
|
@@ -2779,7 +2784,7 @@ class ESRouterLifecycleManager {
|
|
2779
2784
|
|
2780
2785
|
var ESRouterLifecycleManager$1 = new ESRouterLifecycleManager();
|
2781
2786
|
|
2782
|
-
const TAG$
|
2787
|
+
const TAG$3 = "ESRouter";
|
2783
2788
|
|
2784
2789
|
var ESRouter = {
|
2785
2790
|
|
@@ -2801,7 +2806,7 @@ var ESRouter = {
|
|
2801
2806
|
//---------------------------返回键--------------------------------
|
2802
2807
|
onESRouterBackPressed() {
|
2803
2808
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2804
|
-
ESLog.d(TAG$
|
2809
|
+
ESLog.d(TAG$3, '#-------onESRouterBackPressed----->>>>>');
|
2805
2810
|
}
|
2806
2811
|
let router = this.$router;
|
2807
2812
|
if (router) {
|
@@ -2812,7 +2817,7 @@ var ESRouter = {
|
|
2812
2817
|
//----------------------------按键-------------------------------
|
2813
2818
|
onESRouterDispatchKeyEvent(keyEvent) {
|
2814
2819
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2815
|
-
ESLog.d(TAG$
|
2820
|
+
ESLog.d(TAG$3, '#-------onESRouterDispatchKeyEvent----->>>>>' + keyEvent);
|
2816
2821
|
}
|
2817
2822
|
let router = this.$router;
|
2818
2823
|
if (router) {
|
@@ -2824,7 +2829,7 @@ var ESRouter = {
|
|
2824
2829
|
//---------------------------生命周期--------------------------------
|
2825
2830
|
onESRouterLifecycleChanged(event) {
|
2826
2831
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2827
|
-
ESLog.d(TAG$
|
2832
|
+
ESLog.d(TAG$3, '#-------onESRouterLifecycleChanged----->>>>>' + event);
|
2828
2833
|
}
|
2829
2834
|
let router = this.$router;
|
2830
2835
|
if (router) {
|
@@ -2836,7 +2841,7 @@ var ESRouter = {
|
|
2836
2841
|
//---------------------------onNewIntent--------------------------------
|
2837
2842
|
onESRouterLifecycleNewIntent(intent) {
|
2838
2843
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2839
|
-
ESLog.d(TAG$
|
2844
|
+
ESLog.d(TAG$3, '#-------onESRouterLifecycleNewIntent----->>>>>' + intent);
|
2840
2845
|
}
|
2841
2846
|
let router = this.$router;
|
2842
2847
|
if (router) {
|
@@ -3093,6 +3098,67 @@ class ESPluginManager {
|
|
3093
3098
|
|
3094
3099
|
var ESPluginManager$1 = new ESPluginManager();
|
3095
3100
|
|
3101
|
+
/**
|
3102
|
+
*
|
3103
|
+
*/
|
3104
|
+
class ESEventBus {
|
3105
|
+
//
|
3106
|
+
_vueEventBusSupported = true;
|
3107
|
+
|
3108
|
+
init() {
|
3109
|
+
this._vue = new Vue();
|
3110
|
+
this._vueEventBusSupported = this.isVueEventBusSupported();
|
3111
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3112
|
+
ESLog.d('ESEventBus', '#-----init----->>>>>' + this._vueEventBusSupported);
|
3113
|
+
}
|
3114
|
+
return new Promise.resolve();
|
3115
|
+
}
|
3116
|
+
|
3117
|
+
isVueEventBusSupported() {
|
3118
|
+
return ESManager$1.getESSDKVersionCode() >= ES_SDK_VERSION_21;
|
3119
|
+
}
|
3120
|
+
|
3121
|
+
getVueEventBus() {
|
3122
|
+
return this._vue;
|
3123
|
+
}
|
3124
|
+
|
3125
|
+
$emit(event, args) {
|
3126
|
+
//vue
|
3127
|
+
if (this._vueEventBusSupported) {
|
3128
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3129
|
+
ESLog.d('ESEventBus', this._vue + '#---vue--$emit----->>>>>' + event);
|
3130
|
+
}
|
3131
|
+
this._vue.$emit(event, args);
|
3132
|
+
}
|
3133
|
+
//android
|
3134
|
+
else {
|
3135
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3136
|
+
ESLog.d('ESEventBus', '#---android--$emit----->>>>>' + event);
|
3137
|
+
}
|
3138
|
+
ESModule$1.sendESNativeMapEventAll('ESEventBusEvent', {
|
3139
|
+
event: event,
|
3140
|
+
args: args,
|
3141
|
+
});
|
3142
|
+
}
|
3143
|
+
}
|
3144
|
+
|
3145
|
+
$on(event, callback) {
|
3146
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3147
|
+
ESLog.d('ESEventBus', this._vue + '#---vue--$on----->>>>>' + event);
|
3148
|
+
}
|
3149
|
+
this._vue.$on(event, callback);
|
3150
|
+
}
|
3151
|
+
|
3152
|
+
$off(event, callback) {
|
3153
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3154
|
+
ESLog.d('ESEventBus', this._vue + '#---vue--$off----->>>>>' + event);
|
3155
|
+
}
|
3156
|
+
this._vue.$off(event, callback);
|
3157
|
+
}
|
3158
|
+
}
|
3159
|
+
|
3160
|
+
var ESEventBus$1 = new ESEventBus();
|
3161
|
+
|
3096
3162
|
/**
|
3097
3163
|
*
|
3098
3164
|
*/
|
@@ -3119,8 +3185,11 @@ class ES {
|
|
3119
3185
|
ESMMapManager$1.init(),
|
3120
3186
|
ESAudioManager$1.init(),
|
3121
3187
|
ESAppManager$1.init(),
|
3188
|
+
ESEventBus$1.init(),
|
3122
3189
|
]))
|
3123
|
-
}
|
3190
|
+
}
|
3191
|
+
//
|
3192
|
+
else {
|
3124
3193
|
return Promise.reject('configuration can not be null!')
|
3125
3194
|
}
|
3126
3195
|
}
|
@@ -3782,7 +3851,7 @@ function ESAnimationViewComponent() {
|
|
3782
3851
|
});
|
3783
3852
|
}
|
3784
3853
|
|
3785
|
-
const TAG$
|
3854
|
+
const TAG$2 = "ESSeekBar";
|
3786
3855
|
|
3787
3856
|
var ESSeekBar = {
|
3788
3857
|
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('es-seek-bar-view-component',{ref:"es_seek_bar",attrs:{"secondProgress":_vm.secondaryProgress,"secondColor":_vm.secondaryColor,"backgroundColor":_vm.backgroundColor,"color":_vm.primaryColor,"cornerRadius":_vm.cornerRadius,"interceptKeyEvent":_vm.interceptKeyEvent,"listenProgress":_vm.listenProgress,"thumbColor":_vm.thumbColor},on:{"focus":_vm.onSeekBarFocusChanged}})},
|
@@ -3843,14 +3912,14 @@ staticRenderFns: [],
|
|
3843
3912
|
methods: {
|
3844
3913
|
show(value) {
|
3845
3914
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3846
|
-
ESLog.d(TAG$
|
3915
|
+
ESLog.d(TAG$2, '--------show------>>>>>' + value);
|
3847
3916
|
}
|
3848
3917
|
this.$refs.es_seek_bar.show(value);
|
3849
3918
|
},
|
3850
3919
|
setProgress(progress) {
|
3851
3920
|
if (this.seekBarMode === ES_SEEK_BAR_MODE_PROGRESS) {
|
3852
3921
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3853
|
-
ESLog.d(TAG$
|
3922
|
+
ESLog.d(TAG$2, '--------setProgress------>>>>>' + progress);
|
3854
3923
|
}
|
3855
3924
|
this.progress = progress;
|
3856
3925
|
this.$refs.es_seek_bar.setProgress(progress);
|
@@ -3859,7 +3928,7 @@ staticRenderFns: [],
|
|
3859
3928
|
setMaxProgress(maxProgress) {
|
3860
3929
|
if (this.seekBarMode === ES_SEEK_BAR_MODE_PROGRESS) {
|
3861
3930
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3862
|
-
ESLog.d(TAG$
|
3931
|
+
ESLog.d(TAG$2, '--------setMaxProgress------>>>>>' + maxProgress);
|
3863
3932
|
}
|
3864
3933
|
this.maxProgress = maxProgress;
|
3865
3934
|
this.$refs.es_seek_bar.setMaxProgress(maxProgress);
|
@@ -3894,7 +3963,7 @@ staticRenderFns: [],
|
|
3894
3963
|
}
|
3895
3964
|
this.$refs.es_seek_bar.setProgress(this.progress);
|
3896
3965
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3897
|
-
ESLog.d(TAG$
|
3966
|
+
ESLog.d(TAG$2, '----Seek----setProgress------>>>>>' + this.progress);
|
3898
3967
|
}
|
3899
3968
|
if (this.onProgressChanged) {
|
3900
3969
|
let now = new Date().getTime();
|
@@ -3907,13 +3976,13 @@ staticRenderFns: [],
|
|
3907
3976
|
//
|
3908
3977
|
else {
|
3909
3978
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3910
|
-
ESLog.d(TAG$
|
3979
|
+
ESLog.d(TAG$2, '--------SeekBarNotFocused------>>>>>');
|
3911
3980
|
}
|
3912
3981
|
}
|
3913
3982
|
},
|
3914
3983
|
stopSeek() {
|
3915
3984
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3916
|
-
ESLog.d(TAG$
|
3985
|
+
ESLog.d(TAG$2, '--------stopSeek------>>>>>');
|
3917
3986
|
}
|
3918
3987
|
this.seekCount = 0;
|
3919
3988
|
this.seekBarMode = ES_SEEK_BAR_MODE_PROGRESS;
|
@@ -3922,7 +3991,7 @@ staticRenderFns: [],
|
|
3922
3991
|
onSeekBarFocusChanged(e) {
|
3923
3992
|
this.isSeekBarFocused = e.isFocused;
|
3924
3993
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3925
|
-
ESLog.d(TAG$
|
3994
|
+
ESLog.d(TAG$2, '--------onSeekBarFocusChanged------>>>>>' + this.isSeekBarFocused);
|
3926
3995
|
}
|
3927
3996
|
this.$emit("onFocusChanged", e);
|
3928
3997
|
},
|
@@ -4319,10 +4388,33 @@ const ES_NETWORK_INFO_TYPE_MOBILE = 0;
|
|
4319
4388
|
const ES_NETWORK_INFO_TYPE_WIFI = 1;
|
4320
4389
|
const ES_NETWORK_INFO_TYPE_ETHERNET = 9;
|
4321
4390
|
|
4391
|
+
const TAG$1 = "ESEventBus";
|
4392
|
+
|
4393
|
+
var ESEventBusEvent = {
|
4394
|
+
mounted() {
|
4395
|
+
ESApp.$on('ESEventBusEvent', this.onESEventBusEvent);
|
4396
|
+
},
|
4397
|
+
beforeDestroy() {
|
4398
|
+
ESApp.$off('ESEventBusEvent', this.onESEventBusEvent);
|
4399
|
+
},
|
4400
|
+
methods: {
|
4401
|
+
onESEventBusEvent(event) {
|
4402
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4403
|
+
ESLog.d(TAG$1, '#-------onESEventBusEvent----->>>>>' + JSON.stringify(event));
|
4404
|
+
}
|
4405
|
+
if (event && event.event) {
|
4406
|
+
let eventName = event.event;
|
4407
|
+
let eventArgs = event.args;
|
4408
|
+
ESEventBus$1.getVueEventBus().$emit(eventName, eventArgs);
|
4409
|
+
}
|
4410
|
+
},
|
4411
|
+
},
|
4412
|
+
};
|
4413
|
+
|
4322
4414
|
const TAG = 'ESApplication';
|
4323
4415
|
|
4324
4416
|
var ESApplication = {
|
4325
|
-
mixins: [ESRouter],
|
4417
|
+
mixins: [ESRouter, ESEventBusEvent],
|
4326
4418
|
data() {
|
4327
4419
|
return {
|
4328
4420
|
appInitProps: {},
|
@@ -4655,4 +4747,4 @@ const ES_FAST_OUT_LINEAR_IN_INTERPOLATOR = 10;
|
|
4655
4747
|
const ES_FAST_OUT_SLOW_IN_INTERPOLATOR = 11;
|
4656
4748
|
const ES_PATH_INTERPOLATOR = 12;
|
4657
4749
|
|
4658
|
-
export { AUDIO_CONTENT_TYPE_MOVIE, AUDIO_CONTENT_TYPE_MUSIC, AUDIO_CONTENT_TYPE_SONIFICATION, AUDIO_CONTENT_TYPE_SPEECH, AUDIO_CONTENT_TYPE_UNKNOWN, AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY, AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES, AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME, AUDIO_MANAGER_FLAG_FIXED_VOLUME, AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME, AUDIO_MANAGER_FLAG_PLAY_SOUND, AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE, AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT, AUDIO_MANAGER_FLAG_SHOW_UI, AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS, AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT, AUDIO_MANAGER_FLAG_VIBRATE, AUDIO_STREAM_ACCESSIBILITY, AUDIO_STREAM_ALARM, AUDIO_STREAM_ASSISTANT, AUDIO_STREAM_BLUETOOTH_SCO, AUDIO_STREAM_DEFAULT, AUDIO_STREAM_DTMF, AUDIO_STREAM_MUSIC, AUDIO_STREAM_NOTIFICATION, AUDIO_STREAM_RING, AUDIO_STREAM_SYSTEM, AUDIO_STREAM_SYSTEM_ENFORCED, AUDIO_STREAM_TTS, AUDIO_STREAM_VOICE_CALL, AUDIO_USAGE_ALARM, AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY, AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, AUDIO_USAGE_ASSISTANCE_SONIFICATION, AUDIO_USAGE_ASSISTANT, AUDIO_USAGE_GAME, AUDIO_USAGE_INVALID, AUDIO_USAGE_MEDIA, AUDIO_USAGE_NOTIFICATION, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST, AUDIO_USAGE_NOTIFICATION_EVENT, AUDIO_USAGE_NOTIFICATION_RINGTONE, AUDIO_USAGE_UNKNOWN, AUDIO_USAGE_VIRTUAL_SOURCE, AUDIO_USAGE_VOICE_COMMUNICATION, AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING, ES$1 as ES, ESAnimationViewComponent, ESApp, ESAppManager$1 as ESAppManager, ESAppModule$1 as ESAppModule, ESApplication, ESAudioManager$1 as ESAudioManager, ESAudioModule$1 as ESAudioModule, ESBackPress, ESBackPressMixin, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESFile, ESFileModule$1 as ESFileModule, ESFocusManager$1 as ESFocusManager, ESFocusModule$1 as ESFocusModule, ESKeyEvent, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLoadingViewComponent, ESMMapManager$1 as ESMMapManager, ESMMapModule$1 as ESMMapModule, ESManager$1 as ESManager, ESModule$1 as ESModule, ESNetwork, ESNetworkManager$1 as ESNetworkManager, ESNetworkMixin, ESNetworkModule$1 as ESNetworkModule, ESPage, ESPageLifecycle, ESPageRootViewComponent, ESPageRouterViewComponent, ESPermissionManager$1 as ESPermissionManager, ESPermissionModule$1 as ESPermissionModule, ESPlugin, ESPluginManager$1 as ESPluginManager, ESPluginModule$1 as ESPluginModule, ESPowerManager$1 as ESPowerManager, ESPowerModule$1 as ESPowerModule, ESProgressBarViewComponent, ESQRCodeViewComponent, ESRouter, ESScrollViewComponent, ESSeekBarViewComponent, ESSharedPreferencesManager$1 as ESSharedPreferencesManager, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageManager$1 as ESStorageManager, ESStorageModule$1 as ESStorageModule, ESSurfaceViewComponent, ESTextViewComponent, ESToast$1 as ESToast, ToastModule as ESToastModule, ESTransitionImageViewComponent, ESUsbDevice, ESUsbDeviceManager$1 as ESUsbDeviceManager, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, ES_ACCELERATE_DECELERATE_INTERPOLATOR, ES_ACCELERATE_INTERPOLATOR, ES_ANIMATION_PROPERTY_NAME_ALPHA, ES_ANIMATION_PROPERTY_NAME_ROTATION, ES_ANIMATION_PROPERTY_NAME_SCALE_X, ES_ANIMATION_PROPERTY_NAME_SCALE_Y, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_X, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_Y, ES_ANIMATION_REPEAT_MODE_INFINITE, ES_ANIMATION_REPEAT_MODE_RESTART, ES_ANIMATION_REPEAT_MODE_REVERSE, ES_ANIMATION_TYPE_AFTER, ES_ANIMATION_TYPE_AFTER_DELAY, ES_ANIMATION_TYPE_BEFORE, ES_ANIMATION_TYPE_NONE, ES_ANIMATION_TYPE_PLAY, ES_ANIMATION_TYPE_PLAY_SEQUENTIALLY, ES_ANIMATION_TYPE_PLAY_TOGETHER, ES_ANIMATION_TYPE_WITH, ES_ANIMATION_VALUE_TYPE_FLOAT, ES_ANIMATION_VALUE_TYPE_INT, ES_ANTICIPATE_INTERPOLATOR, ES_ANTICIPATE_OVERSHOOT_INTERPOLATOR, ES_BOUNCE_INTERPOLATOR, ES_CYCLE_INTERPOLATOR, ES_DECELERATE_INTERPOLATOR, ES_FAST_OUT_LINEAR_IN_INTERPOLATOR, ES_FAST_OUT_SLOW_IN_INTERPOLATOR, ES_KEYCODE_BACK, ES_KEYCODE_DPAD_CENTER, ES_KEYCODE_DPAD_DOWN, ES_KEYCODE_DPAD_LEFT, ES_KEYCODE_DPAD_RIGHT, ES_KEYCODE_DPAD_UP, ES_KEYCODE_ENTER, ES_KEYCODE_ESCAPE, ES_KEYCODE_MENU, ES_KEYCODE_SEARCH, ES_KEY_ACTION_DOWN, ES_KEY_ACTION_UP, ES_LIFECYCLE_ON_CREATE, ES_LIFECYCLE_ON_DESTROY, ES_LIFECYCLE_ON_INITIALIZED, ES_LIFECYCLE_ON_PAUSE, ES_LIFECYCLE_ON_RESTART, ES_LIFECYCLE_ON_RESTORE_INSTANCE_SATE, ES_LIFECYCLE_ON_RESUME, ES_LIFECYCLE_ON_SAVE_INSTANCE_SATE, ES_LIFECYCLE_ON_START, ES_LIFECYCLE_ON_STOP, ES_LIFECYCLE_ON_UNINITIALIZED, ES_LINEAR_INTERPOLATOR, ES_MMP_MODE_PRIVATE, ES_MMP_MODE_WORLD_READABLE, ES_MMP_MODE_WORLD_WRITEABLE, ES_NETWORK_INFO_STATE_CONNECTED, ES_NETWORK_INFO_STATE_CONNECTING, ES_NETWORK_INFO_STATE_DISCONNECTED, ES_NETWORK_INFO_STATE_DISCONNECTING, ES_NETWORK_INFO_STATE_SUSPENDED, ES_NETWORK_INFO_STATE_UNKNOWN, ES_NETWORK_INFO_TYPE_ETHERNET, ES_NETWORK_INFO_TYPE_MOBILE, ES_NETWORK_INFO_TYPE_NONE, ES_NETWORK_INFO_TYPE_WIFI, ES_OVERSHOOT_INTERPOLATOR, ES_PATH_INTERPOLATOR, ES_SEEK_BAR_MODE_DISABLED, ES_SEEK_BAR_MODE_PROGRESS, ES_SEEK_BAR_MODE_SEEK, KEYCODE_BACK, KEYCODE_DPAD_CENTER, KEYCODE_DPAD_DOWN, KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_UP, KEYCODE_ENTER, KEYCODE_ESCAPE, KEYCODE_MENU, KEYCODE_SEARCH, KEY_ACTION_DOWN, KEY_ACTION_UP, getESApp, setESApp };
|
4750
|
+
export { AUDIO_CONTENT_TYPE_MOVIE, AUDIO_CONTENT_TYPE_MUSIC, AUDIO_CONTENT_TYPE_SONIFICATION, AUDIO_CONTENT_TYPE_SPEECH, AUDIO_CONTENT_TYPE_UNKNOWN, AUDIO_MANAGER_FLAG_ACTIVE_MEDIA_ONLY, AUDIO_MANAGER_FLAG_ALLOW_RINGER_MODES, AUDIO_MANAGER_FLAG_BLUETOOTH_ABS_VOLUME, AUDIO_MANAGER_FLAG_FIXED_VOLUME, AUDIO_MANAGER_FLAG_HDMI_SYSTEM_AUDIO_VOLUME, AUDIO_MANAGER_FLAG_PLAY_SOUND, AUDIO_MANAGER_FLAG_REMOVE_SOUND_AND_VIBRATE, AUDIO_MANAGER_FLAG_SHOW_SILENT_HINT, AUDIO_MANAGER_FLAG_SHOW_UI, AUDIO_MANAGER_FLAG_SHOW_UI_WARNINGS, AUDIO_MANAGER_FLAG_SHOW_VIBRATE_HINT, AUDIO_MANAGER_FLAG_VIBRATE, AUDIO_STREAM_ACCESSIBILITY, AUDIO_STREAM_ALARM, AUDIO_STREAM_ASSISTANT, AUDIO_STREAM_BLUETOOTH_SCO, AUDIO_STREAM_DEFAULT, AUDIO_STREAM_DTMF, AUDIO_STREAM_MUSIC, AUDIO_STREAM_NOTIFICATION, AUDIO_STREAM_RING, AUDIO_STREAM_SYSTEM, AUDIO_STREAM_SYSTEM_ENFORCED, AUDIO_STREAM_TTS, AUDIO_STREAM_VOICE_CALL, AUDIO_USAGE_ALARM, AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY, AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, AUDIO_USAGE_ASSISTANCE_SONIFICATION, AUDIO_USAGE_ASSISTANT, AUDIO_USAGE_GAME, AUDIO_USAGE_INVALID, AUDIO_USAGE_MEDIA, AUDIO_USAGE_NOTIFICATION, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_DELAYED, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_INSTANT, AUDIO_USAGE_NOTIFICATION_COMMUNICATION_REQUEST, AUDIO_USAGE_NOTIFICATION_EVENT, AUDIO_USAGE_NOTIFICATION_RINGTONE, AUDIO_USAGE_UNKNOWN, AUDIO_USAGE_VIRTUAL_SOURCE, AUDIO_USAGE_VOICE_COMMUNICATION, AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING, ES$1 as ES, ESAnimationViewComponent, ESApp, ESAppManager$1 as ESAppManager, ESAppModule$1 as ESAppModule, ESApplication, ESAudioManager$1 as ESAudioManager, ESAudioModule$1 as ESAudioModule, ESBackPress, ESBackPressMixin, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESEventBus$1 as ESEventBus, ESFile, ESFileModule$1 as ESFileModule, ESFocusManager$1 as ESFocusManager, ESFocusModule$1 as ESFocusModule, ESKeyEvent, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLoadingViewComponent, ESMMapManager$1 as ESMMapManager, ESMMapModule$1 as ESMMapModule, ESManager$1 as ESManager, ESModule$1 as ESModule, ESNetwork, ESNetworkManager$1 as ESNetworkManager, ESNetworkMixin, ESNetworkModule$1 as ESNetworkModule, ESPage, ESPageLifecycle, ESPageRootViewComponent, ESPageRouterViewComponent, ESPermissionManager$1 as ESPermissionManager, ESPermissionModule$1 as ESPermissionModule, ESPlugin, ESPluginManager$1 as ESPluginManager, ESPluginModule$1 as ESPluginModule, ESPowerManager$1 as ESPowerManager, ESPowerModule$1 as ESPowerModule, ESProgressBarViewComponent, ESQRCodeViewComponent, ESRouter, ESScrollViewComponent, ESSeekBarViewComponent, ESSharedPreferencesManager$1 as ESSharedPreferencesManager, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageManager$1 as ESStorageManager, ESStorageModule$1 as ESStorageModule, ESSurfaceViewComponent, ESTextViewComponent, ESToast$1 as ESToast, ToastModule as ESToastModule, ESTransitionImageViewComponent, ESUsbDevice, ESUsbDeviceManager$1 as ESUsbDeviceManager, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, ES_ACCELERATE_DECELERATE_INTERPOLATOR, ES_ACCELERATE_INTERPOLATOR, ES_ANIMATION_PROPERTY_NAME_ALPHA, ES_ANIMATION_PROPERTY_NAME_ROTATION, ES_ANIMATION_PROPERTY_NAME_SCALE_X, ES_ANIMATION_PROPERTY_NAME_SCALE_Y, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_X, ES_ANIMATION_PROPERTY_NAME_TRANSLATION_Y, ES_ANIMATION_REPEAT_MODE_INFINITE, ES_ANIMATION_REPEAT_MODE_RESTART, ES_ANIMATION_REPEAT_MODE_REVERSE, ES_ANIMATION_TYPE_AFTER, ES_ANIMATION_TYPE_AFTER_DELAY, ES_ANIMATION_TYPE_BEFORE, ES_ANIMATION_TYPE_NONE, ES_ANIMATION_TYPE_PLAY, ES_ANIMATION_TYPE_PLAY_SEQUENTIALLY, ES_ANIMATION_TYPE_PLAY_TOGETHER, ES_ANIMATION_TYPE_WITH, ES_ANIMATION_VALUE_TYPE_FLOAT, ES_ANIMATION_VALUE_TYPE_INT, ES_ANTICIPATE_INTERPOLATOR, ES_ANTICIPATE_OVERSHOOT_INTERPOLATOR, ES_BOUNCE_INTERPOLATOR, ES_CYCLE_INTERPOLATOR, ES_DECELERATE_INTERPOLATOR, ES_FAST_OUT_LINEAR_IN_INTERPOLATOR, ES_FAST_OUT_SLOW_IN_INTERPOLATOR, ES_KEYCODE_BACK, ES_KEYCODE_DPAD_CENTER, ES_KEYCODE_DPAD_DOWN, ES_KEYCODE_DPAD_LEFT, ES_KEYCODE_DPAD_RIGHT, ES_KEYCODE_DPAD_UP, ES_KEYCODE_ENTER, ES_KEYCODE_ESCAPE, ES_KEYCODE_MENU, ES_KEYCODE_SEARCH, ES_KEY_ACTION_DOWN, ES_KEY_ACTION_UP, ES_LIFECYCLE_ON_CREATE, ES_LIFECYCLE_ON_DESTROY, ES_LIFECYCLE_ON_INITIALIZED, ES_LIFECYCLE_ON_PAUSE, ES_LIFECYCLE_ON_RESTART, ES_LIFECYCLE_ON_RESTORE_INSTANCE_SATE, ES_LIFECYCLE_ON_RESUME, ES_LIFECYCLE_ON_SAVE_INSTANCE_SATE, ES_LIFECYCLE_ON_START, ES_LIFECYCLE_ON_STOP, ES_LIFECYCLE_ON_UNINITIALIZED, ES_LINEAR_INTERPOLATOR, ES_MMP_MODE_PRIVATE, ES_MMP_MODE_WORLD_READABLE, ES_MMP_MODE_WORLD_WRITEABLE, ES_NETWORK_INFO_STATE_CONNECTED, ES_NETWORK_INFO_STATE_CONNECTING, ES_NETWORK_INFO_STATE_DISCONNECTED, ES_NETWORK_INFO_STATE_DISCONNECTING, ES_NETWORK_INFO_STATE_SUSPENDED, ES_NETWORK_INFO_STATE_UNKNOWN, ES_NETWORK_INFO_TYPE_ETHERNET, ES_NETWORK_INFO_TYPE_MOBILE, ES_NETWORK_INFO_TYPE_NONE, ES_NETWORK_INFO_TYPE_WIFI, ES_OVERSHOOT_INTERPOLATOR, ES_PATH_INTERPOLATOR, ES_SEEK_BAR_MODE_DISABLED, ES_SEEK_BAR_MODE_PROGRESS, ES_SEEK_BAR_MODE_SEEK, KEYCODE_BACK, KEYCODE_DPAD_CENTER, KEYCODE_DPAD_DOWN, KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_UP, KEYCODE_ENTER, KEYCODE_ESCAPE, KEYCODE_MENU, KEYCODE_SEARCH, KEY_ACTION_DOWN, KEY_ACTION_UP, getESApp, setESApp };
|