@extscreen/es-core 2.3.12 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +196 -3227
- package/package.json +1 -1
- package/dist/index.css +0 -4
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$8 = '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$8, '#----------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$8, '#----------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$8, '#----------init-----error----->>>>>' + error);
|
324
324
|
}
|
325
325
|
resolve(error);
|
326
326
|
}
|
@@ -864,7 +864,7 @@ var ESAudioModule$1 = new ESAudioModule();
|
|
864
864
|
*
|
865
865
|
*/
|
866
866
|
|
867
|
-
const TAG$
|
867
|
+
const TAG$7 = 'ESAudioManager';
|
868
868
|
|
869
869
|
class ESAudioManager {
|
870
870
|
|
@@ -890,7 +890,7 @@ class ESAudioManager {
|
|
890
890
|
initPromise() {
|
891
891
|
return new Promise((resolve, reject) => {
|
892
892
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
893
|
-
ESLog.d(TAG$
|
893
|
+
ESLog.d(TAG$7, '------------init----start----->>>>');
|
894
894
|
}
|
895
895
|
this.getStreamSystemMaxVolume();
|
896
896
|
this.getStreamSystemVolume();
|
@@ -905,7 +905,7 @@ class ESAudioManager {
|
|
905
905
|
ESAudioModule$1.getStreamVoiceCallMaxVolume()
|
906
906
|
.then((volume) => {
|
907
907
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
908
|
-
ESLog.d(TAG$
|
908
|
+
ESLog.d(TAG$7, '-----getStreamVoiceCallMaxVolume--->>>>' + volume);
|
909
909
|
}
|
910
910
|
this._voiceCallMaxVolume = volume;
|
911
911
|
});
|
@@ -919,7 +919,7 @@ class ESAudioManager {
|
|
919
919
|
ESAudioModule$1.getStreamVoiceCallVolume()
|
920
920
|
.then((volume) => {
|
921
921
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
922
|
-
ESLog.d(TAG$
|
922
|
+
ESLog.d(TAG$7, '-----getStreamVoiceCallVolume--->>>>' + volume);
|
923
923
|
}
|
924
924
|
this._voiceCallVolume = volume;
|
925
925
|
});
|
@@ -934,7 +934,7 @@ class ESAudioManager {
|
|
934
934
|
ESAudioModule$1.getStreamSystemMaxVolume()
|
935
935
|
.then((volume) => {
|
936
936
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
937
|
-
ESLog.d(TAG$
|
937
|
+
ESLog.d(TAG$7, '-----getStreamSystemMaxVolume--->>>>' + volume);
|
938
938
|
}
|
939
939
|
this._systemMaxVolume = volume;
|
940
940
|
});
|
@@ -948,7 +948,7 @@ class ESAudioManager {
|
|
948
948
|
ESAudioModule$1.getStreamSystemVolume()
|
949
949
|
.then((volume) => {
|
950
950
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
951
|
-
ESLog.d(TAG$
|
951
|
+
ESLog.d(TAG$7, '-----getStreamSystemVolume--->>>>' + volume);
|
952
952
|
}
|
953
953
|
this._systemVolume = volume;
|
954
954
|
});
|
@@ -963,7 +963,7 @@ class ESAudioManager {
|
|
963
963
|
ESAudioModule$1.getStreamRingMaxVolume()
|
964
964
|
.then((volume) => {
|
965
965
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
966
|
-
ESLog.d(TAG$
|
966
|
+
ESLog.d(TAG$7, '-----getStreamRingMaxVolume--->>>>' + volume);
|
967
967
|
}
|
968
968
|
this._ringMaxVolume = volume;
|
969
969
|
});
|
@@ -977,7 +977,7 @@ class ESAudioManager {
|
|
977
977
|
ESAudioModule$1.getStreamRingVolume()
|
978
978
|
.then((volume) => {
|
979
979
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
980
|
-
ESLog.d(TAG$
|
980
|
+
ESLog.d(TAG$7, '-----getStreamRingVolume--->>>>' + volume);
|
981
981
|
}
|
982
982
|
this._ringVolume = volume;
|
983
983
|
});
|
@@ -992,7 +992,7 @@ class ESAudioManager {
|
|
992
992
|
ESAudioModule$1.getStreamMusicMaxVolume()
|
993
993
|
.then((volume) => {
|
994
994
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
995
|
-
ESLog.d(TAG$
|
995
|
+
ESLog.d(TAG$7, '-----getStreamMusicMaxVolume--->>>>' + volume);
|
996
996
|
}
|
997
997
|
this._musicMaxVolume = volume;
|
998
998
|
});
|
@@ -1006,7 +1006,7 @@ class ESAudioManager {
|
|
1006
1006
|
ESAudioModule$1.getStreamMusicVolume()
|
1007
1007
|
.then((volume) => {
|
1008
1008
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1009
|
-
ESLog.d(TAG$
|
1009
|
+
ESLog.d(TAG$7, '-----getStreamMusicVolume--->>>>' + volume);
|
1010
1010
|
}
|
1011
1011
|
this._musicVolume = volume;
|
1012
1012
|
});
|
@@ -1021,7 +1021,7 @@ class ESAudioManager {
|
|
1021
1021
|
ESAudioModule$1.getStreamAlarmMaxVolume()
|
1022
1022
|
.then((volume) => {
|
1023
1023
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1024
|
-
ESLog.d(TAG$
|
1024
|
+
ESLog.d(TAG$7, '-----getStreamAlarmMaxVolume--->>>>' + volume);
|
1025
1025
|
}
|
1026
1026
|
this._alarmMaxVolume = volume;
|
1027
1027
|
});
|
@@ -1035,7 +1035,7 @@ class ESAudioManager {
|
|
1035
1035
|
ESAudioModule$1.getStreamAlarmVolume()
|
1036
1036
|
.then((volume) => {
|
1037
1037
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1038
|
-
ESLog.d(TAG$
|
1038
|
+
ESLog.d(TAG$7, '-----getStreamAlarmVolume--->>>>' + volume);
|
1039
1039
|
}
|
1040
1040
|
this._alarmVolume = volume;
|
1041
1041
|
});
|
@@ -1050,7 +1050,7 @@ class ESAudioManager {
|
|
1050
1050
|
ESAudioModule$1.getStreamMaxVolume(streamType)
|
1051
1051
|
.then((volume) => {
|
1052
1052
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1053
|
-
ESLog.d(TAG$
|
1053
|
+
ESLog.d(TAG$7, streamType + '-----getStreamMaxVolume--->>>>' + volume);
|
1054
1054
|
}
|
1055
1055
|
});
|
1056
1056
|
}
|
@@ -1059,7 +1059,7 @@ class ESAudioManager {
|
|
1059
1059
|
ESAudioModule$1.getStreamVolume(streamType)
|
1060
1060
|
.then((volume) => {
|
1061
1061
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1062
|
-
ESLog.d(TAG$
|
1062
|
+
ESLog.d(TAG$7, streamType + '-----getStreamVolume--->>>>' + volume);
|
1063
1063
|
}
|
1064
1064
|
});
|
1065
1065
|
}
|
@@ -1193,6 +1193,18 @@ class ESModule {
|
|
1193
1193
|
return Vue.Native.callNativeWithPromise('EsNativeModule',
|
1194
1194
|
'finishAll');
|
1195
1195
|
}
|
1196
|
+
|
1197
|
+
//----------------------------组件和模块注册相关--------------------------------------------
|
1198
|
+
|
1199
|
+
isModuleRegistered(className) {
|
1200
|
+
return Vue.Native.callNativeWithPromise('ESModule',
|
1201
|
+
'isModuleRegistered', className);
|
1202
|
+
}
|
1203
|
+
|
1204
|
+
isComponentRegistered(className) {
|
1205
|
+
return Vue.Native.callNativeWithPromise('ESModule',
|
1206
|
+
'isComponentRegistered', className);
|
1207
|
+
}
|
1196
1208
|
}
|
1197
1209
|
|
1198
1210
|
var ESModule$1 = new ESModule();
|
@@ -1890,6 +1902,15 @@ class ESManager {
|
|
1890
1902
|
getESSDKSupportSchemes() {
|
1891
1903
|
return this._esSdkSchemes;
|
1892
1904
|
}
|
1905
|
+
|
1906
|
+
//----------------------------组件和模块注册相关--------------------------------------------
|
1907
|
+
isModuleRegistered(className) {
|
1908
|
+
return ESModule$1.isModuleRegistered(className);
|
1909
|
+
}
|
1910
|
+
|
1911
|
+
isComponentRegistered(className) {
|
1912
|
+
return ESModule$1.isComponentRegistered(className);
|
1913
|
+
}
|
1893
1914
|
}
|
1894
1915
|
|
1895
1916
|
var ESManager$1 = new ESManager();
|
@@ -2943,7 +2964,7 @@ class ESBroadcastManager {
|
|
2943
2964
|
|
2944
2965
|
var ESBroadcastManager$1 = new ESBroadcastManager();
|
2945
2966
|
|
2946
|
-
const TAG$
|
2967
|
+
const TAG$6 = "ESBroadcast";
|
2947
2968
|
|
2948
2969
|
var ESBroadcast = {
|
2949
2970
|
mounted() {
|
@@ -2970,25 +2991,25 @@ var ESBroadcast = {
|
|
2970
2991
|
if (this.broadcastReceiverSet) {
|
2971
2992
|
this.broadcastReceiverSet.forEach(function (value, key) {
|
2972
2993
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2973
|
-
ESLog.d(TAG$
|
2994
|
+
ESLog.d(TAG$6, key + '#-------TraceAction--->>>>>' + value);
|
2974
2995
|
}
|
2975
2996
|
});
|
2976
2997
|
}
|
2977
2998
|
},
|
2978
2999
|
__onBroadcastReceive(intent) {
|
2979
3000
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2980
|
-
ESLog.d(TAG$
|
3001
|
+
ESLog.d(TAG$6, '#-------onBroadcastReceive----->>>>>' + JSON.stringify(intent));
|
2981
3002
|
}
|
2982
3003
|
if (!this.broadcastReceiverSet || this.broadcastReceiverSet.size <= 0) {
|
2983
3004
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2984
|
-
ESLog.d(TAG$
|
3005
|
+
ESLog.d(TAG$6, '#-------onBroadcastReceive---broadcastReceiverSet为空-->>>>>');
|
2985
3006
|
}
|
2986
3007
|
return;
|
2987
3008
|
}
|
2988
3009
|
//
|
2989
3010
|
else {
|
2990
3011
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2991
|
-
ESLog.d(TAG$
|
3012
|
+
ESLog.d(TAG$6, '#-------onBroadcastReceive---broadcastReceiverSet不为空-->>>>>');
|
2992
3013
|
}
|
2993
3014
|
}
|
2994
3015
|
let action = intent.action;
|
@@ -2996,7 +3017,7 @@ var ESBroadcast = {
|
|
2996
3017
|
|
2997
3018
|
this.broadcastReceiverSet.forEach(function (value, key) {
|
2998
3019
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2999
|
-
ESLog.d(TAG$
|
3020
|
+
ESLog.d(TAG$6, '#-----onBroadcastReceive--当前注册的广播----->>>>>' + JSON.stringify(key));
|
3000
3021
|
}
|
3001
3022
|
if (key && key.action && key.action.length > 0) {
|
3002
3023
|
for (let i = 0; i < key.action.length; i++) {
|
@@ -3010,7 +3031,7 @@ var ESBroadcast = {
|
|
3010
3031
|
|
3011
3032
|
if (!enable) {
|
3012
3033
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3013
|
-
ESLog.d(TAG$
|
3034
|
+
ESLog.d(TAG$6, '#-------onBroadcastReceive---disable-->>>>>');
|
3014
3035
|
}
|
3015
3036
|
return;
|
3016
3037
|
}
|
@@ -3023,7 +3044,7 @@ var ESBroadcast = {
|
|
3023
3044
|
},
|
3024
3045
|
};
|
3025
3046
|
|
3026
|
-
const TAG$
|
3047
|
+
const TAG$5 = "ESRouter";
|
3027
3048
|
|
3028
3049
|
/**
|
3029
3050
|
* router按键管理
|
@@ -3053,12 +3074,12 @@ class ESRouterKeyManager {
|
|
3053
3074
|
if (keyEvent && keyEvent.action === 0) {
|
3054
3075
|
if (this.isFunction(componentInstance.onKeyDown)) {
|
3055
3076
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3056
|
-
ESLog.d(TAG$
|
3077
|
+
ESLog.d(TAG$5, '#-------onKeyDown---success------>>>>>');
|
3057
3078
|
}
|
3058
3079
|
componentInstance.onKeyDown(keyEvent);
|
3059
3080
|
} else {
|
3060
3081
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3061
|
-
ESLog.d(TAG$
|
3082
|
+
ESLog.d(TAG$5, '#-------onKeyDown---error------>>>>>');
|
3062
3083
|
}
|
3063
3084
|
}
|
3064
3085
|
}
|
@@ -3066,19 +3087,19 @@ class ESRouterKeyManager {
|
|
3066
3087
|
else if (keyEvent && keyEvent.action === 1) {
|
3067
3088
|
if (this.isFunction(componentInstance.onKeyUp)) {
|
3068
3089
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3069
|
-
ESLog.d(TAG$
|
3090
|
+
ESLog.d(TAG$5, '#-------onKeyUp---success------>>>>>');
|
3070
3091
|
}
|
3071
3092
|
componentInstance.onKeyUp(keyEvent);
|
3072
3093
|
} else {
|
3073
3094
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3074
|
-
ESLog.d(TAG$
|
3095
|
+
ESLog.d(TAG$5, '#-------onKeyUp---error------>>>>>');
|
3075
3096
|
}
|
3076
3097
|
}
|
3077
3098
|
}
|
3078
3099
|
}
|
3079
3100
|
} else {
|
3080
3101
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3081
|
-
ESLog.d(TAG$
|
3102
|
+
ESLog.d(TAG$5, '#-------dispatchInstanceKeyEvent-----实例对象为空------>>>>>');
|
3082
3103
|
}
|
3083
3104
|
}
|
3084
3105
|
}
|
@@ -3093,17 +3114,17 @@ class ESRouterKeyManager {
|
|
3093
3114
|
if (componentInstance) {
|
3094
3115
|
if (this.isFunction(componentInstance.onBackPressed)) {
|
3095
3116
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3096
|
-
ESLog.d(TAG$
|
3117
|
+
ESLog.d(TAG$5, '#-------onBackPressed---success------>>>>>');
|
3097
3118
|
}
|
3098
3119
|
componentInstance.onBackPressed();
|
3099
3120
|
} else {
|
3100
3121
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3101
|
-
ESLog.d(TAG$
|
3122
|
+
ESLog.d(TAG$5, '#-------onBackPressed---error------>>>>>');
|
3102
3123
|
}
|
3103
3124
|
}
|
3104
3125
|
} else {
|
3105
3126
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3106
|
-
ESLog.d(TAG$
|
3127
|
+
ESLog.d(TAG$5, '#-------dispatchInstanceBackPressed-----实例对象为空------>>>>>');
|
3107
3128
|
}
|
3108
3129
|
}
|
3109
3130
|
}
|
@@ -3128,7 +3149,7 @@ const ES_LIFECYCLE_ON_STOP = 7;
|
|
3128
3149
|
const ES_LIFECYCLE_ON_SAVE_INSTANCE_SATE = 8;
|
3129
3150
|
const ES_LIFECYCLE_ON_DESTROY = 9;
|
3130
3151
|
|
3131
|
-
const TAG$
|
3152
|
+
const TAG$4 = "ESRouter";
|
3132
3153
|
|
3133
3154
|
/**
|
3134
3155
|
* router生命周期管理
|
@@ -3206,7 +3227,7 @@ class ESRouterLifecycleManager {
|
|
3206
3227
|
}
|
3207
3228
|
} else {
|
3208
3229
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3209
|
-
ESLog.d(TAG$
|
3230
|
+
ESLog.d(TAG$4, '#-------onESRouterLifecycleChanged-----实例对象为空------>>>>>');
|
3210
3231
|
}
|
3211
3232
|
}
|
3212
3233
|
}
|
@@ -3223,7 +3244,7 @@ class ESRouterLifecycleManager {
|
|
3223
3244
|
componentInstance.onESNewIntent(params);
|
3224
3245
|
} else {
|
3225
3246
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3226
|
-
ESLog.d(TAG$
|
3247
|
+
ESLog.d(TAG$4, '#-------onESRouterLifecycleNewIntent-----实例对象为空------>>>>>');
|
3227
3248
|
}
|
3228
3249
|
}
|
3229
3250
|
}
|
@@ -3235,7 +3256,7 @@ class ESRouterLifecycleManager {
|
|
3235
3256
|
|
3236
3257
|
var ESRouterLifecycleManager$1 = new ESRouterLifecycleManager();
|
3237
3258
|
|
3238
|
-
const TAG$
|
3259
|
+
const TAG$3 = "ESRouter";
|
3239
3260
|
|
3240
3261
|
var ESRouter = {
|
3241
3262
|
|
@@ -3257,7 +3278,7 @@ var ESRouter = {
|
|
3257
3278
|
//---------------------------返回键--------------------------------
|
3258
3279
|
onESRouterBackPressed() {
|
3259
3280
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3260
|
-
ESLog.d(TAG$
|
3281
|
+
ESLog.d(TAG$3, '#-------onESRouterBackPressed----->>>>>');
|
3261
3282
|
}
|
3262
3283
|
let router = this.$router;
|
3263
3284
|
if (router && router.history && router.history.stack
|
@@ -3269,7 +3290,7 @@ var ESRouter = {
|
|
3269
3290
|
//----------------------------按键-------------------------------
|
3270
3291
|
onESRouterDispatchKeyEvent(keyEvent) {
|
3271
3292
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3272
|
-
ESLog.d(TAG$
|
3293
|
+
ESLog.d(TAG$3, '#-------onESRouterDispatchKeyEvent----->>>>>' + keyEvent);
|
3273
3294
|
}
|
3274
3295
|
let router = this.$router;
|
3275
3296
|
if (router && router.history && router.history.stack
|
@@ -3282,7 +3303,7 @@ var ESRouter = {
|
|
3282
3303
|
//---------------------------生命周期--------------------------------
|
3283
3304
|
onESRouterLifecycleChanged(event) {
|
3284
3305
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3285
|
-
ESLog.d(TAG$
|
3306
|
+
ESLog.d(TAG$3, '#-------onESRouterLifecycleChanged----->>>>>' + event);
|
3286
3307
|
}
|
3287
3308
|
let router = this.$router;
|
3288
3309
|
if (router && router.history && router.history.stack
|
@@ -3295,7 +3316,7 @@ var ESRouter = {
|
|
3295
3316
|
//---------------------------onNewIntent--------------------------------
|
3296
3317
|
onESRouterLifecycleNewIntent(intent) {
|
3297
3318
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3298
|
-
ESLog.d(TAG$
|
3319
|
+
ESLog.d(TAG$3, '#-------onESRouterLifecycleNewIntent----->>>>>' + intent);
|
3299
3320
|
}
|
3300
3321
|
let router = this.$router;
|
3301
3322
|
if (router && router.history && router.history.stack
|
@@ -3654,7 +3675,7 @@ class ES {
|
|
3654
3675
|
|
3655
3676
|
var ES$1 = new ES();
|
3656
3677
|
|
3657
|
-
const TAG$
|
3678
|
+
const TAG$2 = "ESPlugin";
|
3658
3679
|
|
3659
3680
|
var ESPlugin = {
|
3660
3681
|
mounted() {
|
@@ -3670,7 +3691,7 @@ var ESPlugin = {
|
|
3670
3691
|
},
|
3671
3692
|
onESPluginStateChanged(status) {
|
3672
3693
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3673
|
-
ESLog.d(TAG$
|
3694
|
+
ESLog.d(TAG$2, "--------onESPluginStateChanged------>>>>>" + JSON.stringify(status));
|
3674
3695
|
}
|
3675
3696
|
if (status.success) {
|
3676
3697
|
if (status.status === 1002) {
|
@@ -3826,7 +3847,7 @@ class ESFocusManager {
|
|
3826
3847
|
|
3827
3848
|
var ESFocusManager$1 = new ESFocusManager();
|
3828
3849
|
|
3829
|
-
const TAG$
|
3850
|
+
const TAG$1 = "ESEventBus";
|
3830
3851
|
|
3831
3852
|
var ESEventBusEvent = {
|
3832
3853
|
mounted() {
|
@@ -3838,7 +3859,7 @@ var ESEventBusEvent = {
|
|
3838
3859
|
methods: {
|
3839
3860
|
onESEventBusEvent(event) {
|
3840
3861
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3841
|
-
ESLog.d(TAG$
|
3862
|
+
ESLog.d(TAG$1, '#-------onESEventBusEvent----->>>>>' + JSON.stringify(event));
|
3842
3863
|
}
|
3843
3864
|
if (event && event.event) {
|
3844
3865
|
let eventName = event.event;
|
@@ -3849,3210 +3870,172 @@ var ESEventBusEvent = {
|
|
3849
3870
|
},
|
3850
3871
|
};
|
3851
3872
|
|
3852
|
-
const ES_SEEK_BAR_MODE_DISABLED = 0;//
|
3853
|
-
const ES_SEEK_BAR_MODE_PROGRESS = 1;//
|
3854
|
-
const ES_SEEK_BAR_MODE_SEEK = 2;//
|
3855
|
-
|
3856
3873
|
//
|
3857
3874
|
const ES_MMP_MODE_PRIVATE = 0;
|
3858
3875
|
const ES_MMP_MODE_WORLD_READABLE = 1;
|
3859
3876
|
const ES_MMP_MODE_WORLD_WRITEABLE = 2;
|
3860
3877
|
|
3861
3878
|
//
|
3862
|
-
|
3863
|
-
const
|
3864
|
-
|
3865
|
-
const
|
3866
|
-
const
|
3867
|
-
const
|
3868
|
-
|
3869
|
-
const ES_ANIMATION_TYPE_WITH = "with";
|
3870
|
-
const ES_ANIMATION_TYPE_BEFORE = "before";
|
3871
|
-
const ES_ANIMATION_TYPE_AFTER = "after";
|
3872
|
-
const ES_ANIMATION_TYPE_AFTER_DELAY = "afterDelay";
|
3873
|
-
|
3874
|
-
//
|
3875
|
-
const ES_ANIMATION_VALUE_TYPE_INT = 'ofInt';
|
3876
|
-
const ES_ANIMATION_VALUE_TYPE_FLOAT = 'ofFloat';
|
3877
|
-
|
3878
|
-
//
|
3879
|
-
const ES_ANIMATION_PROPERTY_NAME_ALPHA = 'alpha';
|
3880
|
-
const ES_ANIMATION_PROPERTY_NAME_ROTATION = 'rotation';
|
3881
|
-
|
3882
|
-
const ES_ANIMATION_PROPERTY_NAME_SCALE_X = 'scaleX';
|
3883
|
-
const ES_ANIMATION_PROPERTY_NAME_SCALE_Y = 'scaleY';
|
3884
|
-
|
3885
|
-
const ES_ANIMATION_PROPERTY_NAME_TRANSLATION_X = 'translationX';
|
3886
|
-
const ES_ANIMATION_PROPERTY_NAME_TRANSLATION_Y = 'translationY';
|
3879
|
+
const ES_NETWORK_INFO_STATE_CONNECTING = 0;
|
3880
|
+
const ES_NETWORK_INFO_STATE_CONNECTED = 1;
|
3881
|
+
const ES_NETWORK_INFO_STATE_SUSPENDED = 2;
|
3882
|
+
const ES_NETWORK_INFO_STATE_DISCONNECTING = 3;
|
3883
|
+
const ES_NETWORK_INFO_STATE_DISCONNECTED = 4;
|
3884
|
+
const ES_NETWORK_INFO_STATE_UNKNOWN = 5;
|
3887
3885
|
|
3888
3886
|
//
|
3887
|
+
const ES_NETWORK_INFO_TYPE_NONE = -1;
|
3888
|
+
const ES_NETWORK_INFO_TYPE_MOBILE = 0;
|
3889
|
+
const ES_NETWORK_INFO_TYPE_WIFI = 1;
|
3890
|
+
const ES_NETWORK_INFO_TYPE_ETHERNET = 9;
|
3889
3891
|
|
3890
|
-
const
|
3891
|
-
const ES_ANIMATION_REPEAT_MODE_REVERSE = 2;
|
3892
|
-
const ES_ANIMATION_REPEAT_MODE_INFINITE = -1;
|
3893
|
-
|
3894
|
-
/**
|
3895
|
-
* Capitalize a word
|
3896
|
-
*
|
3897
|
-
* @param {string} s The word input
|
3898
|
-
* @returns string
|
3899
|
-
*/
|
3900
|
-
function capitalize(str) {
|
3901
|
-
if (typeof str !== 'string') {
|
3902
|
-
return '';
|
3903
|
-
}
|
3904
|
-
return `${str.charAt(0).toUpperCase()}${str.slice(1)}`;
|
3905
|
-
}
|
3906
|
-
|
3907
|
-
/**
|
3908
|
-
* Get binding events redirector
|
3909
|
-
*
|
3910
|
-
* The function should be calld with `getEventRedirector.call(this, [])`
|
3911
|
-
* for binding this.
|
3912
|
-
*
|
3913
|
-
* @param {string[] | string[][]} events events will be redirect
|
3914
|
-
* @returns Object
|
3915
|
-
*/
|
3916
|
-
function getEventRedirector(events) {
|
3917
|
-
const on = {};
|
3918
|
-
events.forEach((event) => {
|
3919
|
-
if (Array.isArray(event)) {
|
3920
|
-
const [exposedEventName, nativeEventName] = event;
|
3921
|
-
if (Object.prototype.hasOwnProperty.call(this.$listeners, exposedEventName)) {
|
3922
|
-
on[event] = this[`on${capitalize(nativeEventName)}`];
|
3923
|
-
}
|
3924
|
-
} else if (Object.prototype.hasOwnProperty.call(this.$listeners, event)) {
|
3925
|
-
on[event] = this[`on${capitalize(event)}`];
|
3926
|
-
}
|
3927
|
-
});
|
3928
|
-
return on;
|
3929
|
-
}
|
3930
|
-
|
3931
|
-
function ESAnimationViewComponent() {
|
3932
|
-
Vue.registerElement('AnimationViewComponent', {
|
3933
|
-
component: {
|
3934
|
-
name: 'AnimationViewComponent',
|
3935
|
-
processEventData(event, nativeEventName, nativeEventParams) {
|
3936
|
-
switch (nativeEventName) {
|
3937
|
-
case 'onAnimationCancel':
|
3938
|
-
event.animationId = nativeEventParams.animationId;
|
3939
|
-
break;
|
3940
|
-
case 'onAnimationEnd':
|
3941
|
-
event.animationId = nativeEventParams.animationId;
|
3942
|
-
event.isReverse = nativeEventParams.isReverse;
|
3943
|
-
break;
|
3944
|
-
case 'onAnimationRepeat':
|
3945
|
-
event.animationId = nativeEventParams.animationId;
|
3946
|
-
break;
|
3947
|
-
case 'onAnimationStart':
|
3948
|
-
event.animationId = nativeEventParams.animationId;
|
3949
|
-
event.isReverse = nativeEventParams.isReverse;
|
3950
|
-
break;
|
3951
|
-
case 'onAnimationPause':
|
3952
|
-
event.animationId = nativeEventParams.animationId;
|
3953
|
-
break;
|
3954
|
-
case 'onAnimationResume':
|
3955
|
-
event.animationId = nativeEventParams.animationId;
|
3956
|
-
break;
|
3957
|
-
case 'onAnimationUpdate':
|
3958
|
-
event.animationId = nativeEventParams.animationId;
|
3959
|
-
event.animatedValue = nativeEventParams.animatedValue;
|
3960
|
-
break;
|
3961
|
-
}
|
3962
|
-
return event;
|
3963
|
-
},
|
3964
|
-
},
|
3965
|
-
});
|
3966
|
-
|
3967
|
-
Vue.component('es-animation-view-component', {
|
3968
|
-
methods: {
|
3969
|
-
setPivotX(pivotX) {
|
3970
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
3971
|
-
'setPivotX', [pivotX], (res) => {
|
3972
|
-
});
|
3973
|
-
},
|
3974
|
-
setPivotY(pivotY) {
|
3975
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
3976
|
-
'setPivotY', [pivotY], (res) => {
|
3977
|
-
});
|
3978
|
-
},
|
3979
|
-
resetPivot() {
|
3980
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
3981
|
-
'resetPivot', [], (res) => {
|
3982
|
-
});
|
3983
|
-
},
|
3984
|
-
resetAnimators() {
|
3985
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
3986
|
-
'resetAnimators', [], (res) => {
|
3987
|
-
});
|
3988
|
-
},
|
3989
|
-
animatorSet(animatorId, duration, listenAnimator) {
|
3990
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
3991
|
-
'animatorSet', [animatorId, duration, listenAnimator], (res) => {
|
3992
|
-
});
|
3993
|
-
},
|
3994
|
-
//--------------------------------------------------
|
3995
|
-
startAnimator(animatorId) {
|
3996
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
3997
|
-
'startAnimator', [animatorId], (res) => {
|
3998
|
-
});
|
3999
|
-
},
|
4000
|
-
startAnimatorDelay(animatorId, delay) {
|
4001
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4002
|
-
'startAnimatorDelay', [animatorId, delay], (res) => {
|
4003
|
-
});
|
4004
|
-
},
|
4005
|
-
pauseAnimator(animatorId) {
|
4006
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4007
|
-
'pauseAnimator', [animatorId], (res) => {
|
4008
|
-
});
|
4009
|
-
},
|
4010
|
-
resumeAnimator(animatorId) {
|
4011
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4012
|
-
'resumeAnimator', [animatorId], (res) => {
|
4013
|
-
});
|
4014
|
-
},
|
4015
|
-
cancelAnimator(animatorId) {
|
4016
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4017
|
-
'cancelAnimator', [animatorId], (res) => {
|
4018
|
-
});
|
4019
|
-
},
|
4020
|
-
reverseAnimator(animatorId) {
|
4021
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4022
|
-
'reverseAnimator', [animatorId], (res) => {
|
4023
|
-
});
|
4024
|
-
},
|
4025
|
-
//-----------------------------------------------------------------
|
4026
|
-
play(animatorSetId, animatorId) {
|
4027
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4028
|
-
'play', [animatorSetId, animatorId], (res) => {
|
4029
|
-
});
|
4030
|
-
},
|
4031
|
-
with(animatorSetId, animatorId) {
|
4032
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4033
|
-
'with', [animatorSetId, animatorId], (res) => {
|
4034
|
-
});
|
4035
|
-
},
|
4036
|
-
before(animatorSetId, animatorId) {
|
4037
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4038
|
-
'before', [animatorSetId, animatorId], (res) => {
|
4039
|
-
});
|
4040
|
-
},
|
4041
|
-
after(animatorSetId, animatorId) {
|
4042
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4043
|
-
'after', [animatorSetId, animatorId], (res) => {
|
4044
|
-
});
|
4045
|
-
},
|
4046
|
-
afterDelay(animatorSetId, delay) {
|
4047
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4048
|
-
'afterDelay', [animatorSetId, delay], (res) => {
|
4049
|
-
});
|
4050
|
-
},
|
4051
|
-
//-----------------------------------------------------------------
|
4052
|
-
playSequentially1(animatorSetId, animatorId1) {
|
4053
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4054
|
-
'playSequentially1', [animatorSetId, animatorId1], (res) => {
|
4055
|
-
});
|
4056
|
-
},
|
4057
|
-
playSequentially2(animatorSetId, animatorId1, animatorId2) {
|
4058
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4059
|
-
'playSequentially2', [animatorSetId, animatorId1, animatorId2], (res) => {
|
4060
|
-
});
|
4061
|
-
},
|
4062
|
-
playSequentially3(animatorSetId, animatorId1, animatorId2, animatorId3) {
|
4063
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4064
|
-
'playSequentially3', [animatorSetId, animatorId1, animatorId2, animatorId3], (res) => {
|
4065
|
-
});
|
4066
|
-
},
|
4067
|
-
playSequentially4(animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4) {
|
4068
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4069
|
-
'playSequentially4', [animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4], (res) => {
|
4070
|
-
});
|
4071
|
-
},
|
4072
|
-
playSequentially5(animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4, animatorId5) {
|
4073
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4074
|
-
'playSequentially5', [animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4, animatorId5], (res) => {
|
4075
|
-
});
|
4076
|
-
},
|
4077
|
-
//-----------------------------------------------------------------
|
4078
|
-
|
4079
|
-
//-----------------------------------------------------------------
|
4080
|
-
playTogether1(animatorSetId, animatorId1) {
|
4081
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4082
|
-
'playTogether1', [animatorSetId, animatorId1], (res) => {
|
4083
|
-
});
|
4084
|
-
},
|
4085
|
-
playTogether2(animatorSetId, animatorId1, animatorId2) {
|
4086
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4087
|
-
'playTogether2', [animatorSetId, animatorId1, animatorId2], (res) => {
|
4088
|
-
});
|
4089
|
-
},
|
4090
|
-
playTogether3(animatorSetId, animatorId1, animatorId2, animatorId3) {
|
4091
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4092
|
-
'playTogether3', [animatorSetId, animatorId1, animatorId2, animatorId3], (res) => {
|
4093
|
-
});
|
4094
|
-
},
|
4095
|
-
playTogether4(animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4) {
|
4096
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4097
|
-
'playTogether4', [animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4], (res) => {
|
4098
|
-
});
|
4099
|
-
},
|
4100
|
-
playTogether5(animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4, animatorId5) {
|
4101
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4102
|
-
'playTogether5', [animatorSetId, animatorId1, animatorId2, animatorId3, animatorId4, animatorId5], (res) => {
|
4103
|
-
});
|
4104
|
-
},
|
4105
|
-
//-----------------------------------------------------------------
|
4106
|
-
objectAnimator(
|
4107
|
-
id,
|
4108
|
-
valueType, propertyName,
|
4109
|
-
duration, repeatMode, repeatCount,
|
4110
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4111
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4112
|
-
'objectAnimator', [
|
4113
|
-
id,
|
4114
|
-
valueType, propertyName,
|
4115
|
-
duration, repeatMode, repeatCount,
|
4116
|
-
listenAnimator, listenAnimatorValue,
|
4117
|
-
interpolator],
|
4118
|
-
(res) => {
|
4119
|
-
});
|
4120
|
-
},
|
4121
|
-
|
4122
|
-
objectAnimator1(id,
|
4123
|
-
valueType, propertyName,
|
4124
|
-
value1,
|
4125
|
-
duration, repeatMode, repeatCount,
|
4126
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4127
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4128
|
-
'objectAnimator1', [
|
4129
|
-
id,
|
4130
|
-
valueType, propertyName,
|
4131
|
-
value1,
|
4132
|
-
duration, repeatMode, repeatCount,
|
4133
|
-
listenAnimator, listenAnimatorValue,
|
4134
|
-
interpolator], (res) => {
|
4135
|
-
});
|
4136
|
-
},
|
4137
|
-
|
4138
|
-
objectAnimator2(
|
4139
|
-
id,
|
4140
|
-
valueType, propertyName,
|
4141
|
-
value1, value2,
|
4142
|
-
duration, repeatMode, repeatCount,
|
4143
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4144
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4145
|
-
'objectAnimator2', [
|
4146
|
-
id,
|
4147
|
-
valueType, propertyName,
|
4148
|
-
value1, value2,
|
4149
|
-
duration, repeatMode, repeatCount,
|
4150
|
-
listenAnimator, listenAnimatorValue,
|
4151
|
-
interpolator], (res) => {
|
4152
|
-
});
|
4153
|
-
},
|
4154
|
-
|
4155
|
-
objectAnimator3(
|
4156
|
-
id,
|
4157
|
-
valueType, propertyName,
|
4158
|
-
value1, value2, value3,
|
4159
|
-
duration, repeatMode, repeatCount,
|
4160
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4161
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4162
|
-
'objectAnimator3', [
|
4163
|
-
id,
|
4164
|
-
valueType, propertyName,
|
4165
|
-
value1, value2, value3,
|
4166
|
-
duration, repeatMode, repeatCount,
|
4167
|
-
listenAnimator, listenAnimatorValue,
|
4168
|
-
interpolator], (res) => {
|
4169
|
-
});
|
4170
|
-
},
|
4171
|
-
|
4172
|
-
objectAnimator4(
|
4173
|
-
id,
|
4174
|
-
valueType, propertyName,
|
4175
|
-
value1, value2, value3, value4,
|
4176
|
-
duration, repeatMode, repeatCount,
|
4177
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4178
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4179
|
-
'objectAnimator4', [
|
4180
|
-
id,
|
4181
|
-
valueType, propertyName,
|
4182
|
-
value1, value2, value3, value4,
|
4183
|
-
duration, repeatMode, repeatCount,
|
4184
|
-
listenAnimator, listenAnimatorValue,
|
4185
|
-
interpolator], (res) => {
|
4186
|
-
});
|
4187
|
-
},
|
4188
|
-
|
4189
|
-
objectAnimator5(
|
4190
|
-
id,
|
4191
|
-
valueType, propertyName,
|
4192
|
-
value1, value2, value3, value4, value5,
|
4193
|
-
duration, repeatMode, repeatCount,
|
4194
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4195
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4196
|
-
'objectAnimator5', [
|
4197
|
-
id,
|
4198
|
-
valueType, propertyName,
|
4199
|
-
value1, value2, value3, value4, value5,
|
4200
|
-
duration, repeatMode, repeatCount,
|
4201
|
-
listenAnimator, listenAnimatorValue,
|
4202
|
-
interpolator], (res) => {
|
4203
|
-
});
|
4204
|
-
},
|
4205
|
-
|
4206
|
-
objectAnimator6(
|
4207
|
-
id,
|
4208
|
-
valueType, propertyName,
|
4209
|
-
value1, value2, value3, value4, value5, value6,
|
4210
|
-
duration, repeatMode, repeatCount,
|
4211
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4212
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4213
|
-
'objectAnimator6', [
|
4214
|
-
id,
|
4215
|
-
valueType, propertyName,
|
4216
|
-
value1, value2, value3, value4, value5, value6,
|
4217
|
-
duration, repeatMode, repeatCount,
|
4218
|
-
listenAnimator, listenAnimatorValue,
|
4219
|
-
interpolator], (res) => {
|
4220
|
-
});
|
4221
|
-
},
|
4222
|
-
|
4223
|
-
objectAnimator7(
|
4224
|
-
id,
|
4225
|
-
valueType, propertyName,
|
4226
|
-
value1, value2, value3, value4, value5, value6, value7,
|
4227
|
-
duration, repeatMode, repeatCount,
|
4228
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4229
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4230
|
-
'objectAnimator7', [
|
4231
|
-
id,
|
4232
|
-
valueType, propertyName,
|
4233
|
-
value1, value2, value3, value4, value5, value6, value7,
|
4234
|
-
duration, repeatMode, repeatCount,
|
4235
|
-
listenAnimator, listenAnimatorValue,
|
4236
|
-
interpolator], (res) => {
|
4237
|
-
});
|
4238
|
-
},
|
4239
|
-
|
4240
|
-
objectAnimator8(
|
4241
|
-
id,
|
4242
|
-
valueType, propertyName,
|
4243
|
-
value1, value2, value3, value4, value5, value6, value7, value8,
|
4244
|
-
duration, repeatMode, repeatCount,
|
4245
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4246
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4247
|
-
'objectAnimator8', [
|
4248
|
-
id,
|
4249
|
-
valueType, propertyName,
|
4250
|
-
value1, value2, value3, value4, value5, value6, value7, value8,
|
4251
|
-
duration, repeatMode, repeatCount,
|
4252
|
-
listenAnimator, listenAnimatorValue,
|
4253
|
-
interpolator], (res) => {
|
4254
|
-
});
|
4255
|
-
},
|
4256
|
-
|
4257
|
-
objectAnimator9(
|
4258
|
-
id,
|
4259
|
-
valueType, propertyName,
|
4260
|
-
value1, value2, value3, value4, value5, value6, value7, value8, value9,
|
4261
|
-
duration, repeatMode, repeatCount,
|
4262
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4263
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4264
|
-
'objectAnimator9', [
|
4265
|
-
id,
|
4266
|
-
valueType, propertyName,
|
4267
|
-
value1, value2, value3, value4, value5, value6, value7, value8, value9,
|
4268
|
-
duration, repeatMode, repeatCount,
|
4269
|
-
listenAnimator, listenAnimatorValue,
|
4270
|
-
interpolator], (res) => {
|
4271
|
-
});
|
4272
|
-
},
|
4273
|
-
|
4274
|
-
objectAnimator10(
|
4275
|
-
id,
|
4276
|
-
valueType, propertyName,
|
4277
|
-
value1, value2, value3, value4, value5, value6, value7, value8, value9, value10,
|
4278
|
-
duration, repeatMode, repeatCount,
|
4279
|
-
listenAnimator, listenAnimatorValue, interpolator) {
|
4280
|
-
Vue.Native.callUIFunction(this.$refs.animationView,
|
4281
|
-
'objectAnimator10', [
|
4282
|
-
id,
|
4283
|
-
valueType, propertyName,
|
4284
|
-
value1, value2, value3, value4, value5, value6, value7, value8, value9, value10,
|
4285
|
-
duration, repeatMode, repeatCount,
|
4286
|
-
listenAnimator, listenAnimatorValue,
|
4287
|
-
interpolator], (res) => {
|
4288
|
-
});
|
4289
|
-
},
|
4290
|
-
|
4291
|
-
|
4292
|
-
//---------------------------------------
|
4293
|
-
onAnimationCancel(evt) {
|
4294
|
-
let id = evt.animationId;
|
4295
|
-
this.$emit('on-animation-cancel', id);
|
4296
|
-
},
|
4297
|
-
onAnimationEnd(evt) {
|
4298
|
-
let id = evt.animationId;
|
4299
|
-
let isReverse = evt.isReverse;
|
4300
|
-
this.$emit('on-animation-end', id, isReverse);
|
4301
|
-
},
|
4302
|
-
onAnimationRepeat(evt) {
|
4303
|
-
let id = evt.animationId;
|
4304
|
-
this.$emit('on-animation-repeat', id);
|
4305
|
-
},
|
4306
|
-
onAnimationStart(evt) {
|
4307
|
-
let id = evt.animationId;
|
4308
|
-
let isReverse = evt.isReverse;
|
4309
|
-
this.$emit('on-animation-start', id, isReverse);
|
4310
|
-
},
|
4311
|
-
onAnimationPause(evt) {
|
4312
|
-
let id = evt.animationId;
|
4313
|
-
this.$emit('on-animation-pause', id);
|
4314
|
-
},
|
4315
|
-
onAnimationResume(evt) {
|
4316
|
-
let id = evt.animationId;
|
4317
|
-
this.$emit('on-animation-resume', id);
|
4318
|
-
},
|
4319
|
-
onAnimationUpdate(evt) {
|
4320
|
-
let id = evt.animationId;
|
4321
|
-
let value = evt.animatedValue;
|
4322
|
-
this.$emit('on-animation-update', id, value);
|
4323
|
-
}
|
4324
|
-
},
|
4325
|
-
|
4326
|
-
render(h) {
|
4327
|
-
const on = getEventRedirector.call(this, [
|
4328
|
-
['on-animation-end', 'animationEnd'],
|
4329
|
-
['on-animation-cancel', 'animationCancel'],
|
4330
|
-
['on-animation-start', 'animationStart'],
|
4331
|
-
['on-animation-repeat', 'animationRepeat'],
|
4332
|
-
['on-animation-pause', 'animationPause'],
|
4333
|
-
['on-animation-resume', 'animationResume'],
|
4334
|
-
['on-animation-update', 'animationUpdate'],
|
4335
|
-
]);
|
4336
|
-
return h('AnimationViewComponent',
|
4337
|
-
{
|
4338
|
-
on,
|
4339
|
-
ref: 'animationView',
|
4340
|
-
}, this.$slots.default);
|
4341
|
-
},
|
4342
|
-
});
|
4343
|
-
}
|
4344
|
-
|
4345
|
-
const TAG$1 = "ESSeekBar";
|
3892
|
+
const TAG = 'ESApplication';
|
4346
3893
|
|
4347
|
-
var
|
4348
|
-
|
4349
|
-
staticRenderFns: [],
|
4350
|
-
name: 'SeekBar',
|
4351
|
-
props: {
|
4352
|
-
secondaryProgress: {
|
4353
|
-
type: Number,
|
4354
|
-
default: 0
|
4355
|
-
},
|
4356
|
-
cornerRadius: {
|
4357
|
-
type: Number,
|
4358
|
-
default: 0
|
4359
|
-
},
|
4360
|
-
secondaryColor: {
|
4361
|
-
type: String,
|
4362
|
-
default: '#FFFFFF'
|
4363
|
-
},
|
4364
|
-
primaryColor: {
|
4365
|
-
type: String,
|
4366
|
-
default: '#FFFFFF'
|
4367
|
-
},
|
4368
|
-
backgroundColor: {
|
4369
|
-
type: String,
|
4370
|
-
default: '#00000000'
|
4371
|
-
},
|
4372
|
-
thumbColor: {
|
4373
|
-
type: String,
|
4374
|
-
default: '#000000'
|
4375
|
-
},
|
4376
|
-
listenProgress: {
|
4377
|
-
type: Boolean,
|
4378
|
-
default: false
|
4379
|
-
},
|
4380
|
-
interceptKeyEvent: {
|
4381
|
-
type: Boolean,
|
4382
|
-
default: true
|
4383
|
-
},
|
4384
|
-
emitEventDelay: {
|
4385
|
-
type: Number,
|
4386
|
-
default: 100
|
4387
|
-
},
|
4388
|
-
onProgressChanged: {
|
4389
|
-
type: Function,
|
4390
|
-
default: null
|
4391
|
-
},
|
4392
|
-
},
|
3894
|
+
var ESApplication = {
|
3895
|
+
mixins: [ESRouter, ESEventBusEvent],
|
4393
3896
|
data() {
|
4394
3897
|
return {
|
4395
|
-
|
4396
|
-
|
4397
|
-
|
4398
|
-
|
4399
|
-
|
4400
|
-
|
4401
|
-
|
3898
|
+
appInitProps: {},
|
3899
|
+
appInitUrl: '',
|
3900
|
+
appInitParams: {},
|
3901
|
+
autoLaunchMainESPage: true,
|
3902
|
+
};
|
3903
|
+
},
|
3904
|
+
mounted() {
|
3905
|
+
this._initES();
|
4402
3906
|
},
|
4403
3907
|
methods: {
|
4404
|
-
|
4405
|
-
|
4406
|
-
|
4407
|
-
|
4408
|
-
|
3908
|
+
_initES() {
|
3909
|
+
Promise.resolve()
|
3910
|
+
.then(() => ES$1.init({
|
3911
|
+
router: this.$router
|
3912
|
+
})
|
3913
|
+
)
|
3914
|
+
.then((result) => {
|
3915
|
+
this._initESApplication();
|
3916
|
+
},
|
3917
|
+
error => {
|
3918
|
+
this._initESApplication();
|
3919
|
+
}
|
3920
|
+
);
|
4409
3921
|
},
|
4410
|
-
|
4411
|
-
|
4412
|
-
|
4413
|
-
ESLog.d(TAG$1, '--------setProgress------>>>>>' + progress);
|
4414
|
-
}
|
4415
|
-
this.progress = progress;
|
4416
|
-
this.$refs.es_seek_bar.setProgress(progress);
|
4417
|
-
}
|
3922
|
+
_initESApplication() {
|
3923
|
+
ESLaunchManager$1.setRouteListener(this._routeListener);
|
3924
|
+
this._initESAppParams();
|
4418
3925
|
},
|
4419
|
-
|
4420
|
-
|
4421
|
-
|
4422
|
-
|
3926
|
+
_routeListener(url, params) {
|
3927
|
+
this.onLaunchESPage(url, params);
|
3928
|
+
},
|
3929
|
+
_initESAppParams() {
|
3930
|
+
//
|
3931
|
+
this.appInitProps = ESApp.$options.$superProps;
|
3932
|
+
//
|
3933
|
+
this.appInitUrl = ESApp.$options.$superProps.url;
|
3934
|
+
this.appInitParams = ESApp.$options.$superProps.params;
|
3935
|
+
|
3936
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3937
|
+
try {
|
3938
|
+
ESLog.d(TAG, `--------initESAppParams--->>>>>`
|
3939
|
+
+ '\nAppInitUrl:' + this.appInitUrl
|
3940
|
+
+ '\nAppInitParams:' + JSON.stringify(this.appInitParams)
|
3941
|
+
);
|
3942
|
+
} catch (e) {
|
4423
3943
|
}
|
4424
|
-
this.maxProgress = maxProgress;
|
4425
|
-
this.$refs.es_seek_bar.setMaxProgress(maxProgress);
|
4426
3944
|
}
|
3945
|
+
|
3946
|
+
if (!this.appInitUrl) {
|
3947
|
+
this.appInitUrl = this.$router.options.main;
|
3948
|
+
}
|
3949
|
+
if (!(this._isRoutePathValid(this.appInitUrl) || this._isRouteNameValid(this.appInitUrl))) {
|
3950
|
+
this.appInitUrl = this.$router.options.error;
|
3951
|
+
}
|
3952
|
+
//
|
3953
|
+
this._initESApp();
|
4427
3954
|
},
|
4428
|
-
|
4429
|
-
this.
|
4430
|
-
|
4431
|
-
this.setProgress(0);
|
4432
|
-
},
|
4433
|
-
startSeek(forward) {
|
4434
|
-
if (this.isSeekBarFocused) {
|
4435
|
-
this.seekBarMode = ES_SEEK_BAR_MODE_SEEK;
|
4436
|
-
this.$emit("onSeekStart", this.progress);
|
4437
|
-
this.seekCount += 1;
|
4438
|
-
let base = 1;
|
4439
|
-
if (this.seekCount > 20) {
|
4440
|
-
base = 2;
|
4441
|
-
} else if (this.seekCount > 50) {
|
4442
|
-
base = 4;
|
4443
|
-
} else if (this.seekCount > 100) {
|
4444
|
-
base = 6;
|
4445
|
-
}
|
4446
|
-
let duration = this.maxProgress;
|
4447
|
-
let seekProgress = Math.floor(duration * 0.01 * base);
|
4448
|
-
this.progress = this.progress + (forward ? seekProgress : -seekProgress);
|
4449
|
-
|
4450
|
-
if (this.progress > duration) {
|
4451
|
-
this.progress = duration;
|
4452
|
-
} else if (this.progress < 0) {
|
4453
|
-
this.progress = 0;
|
4454
|
-
}
|
4455
|
-
this.$refs.es_seek_bar.setProgress(this.progress);
|
3955
|
+
_initESApp() {
|
3956
|
+
if (this._isFunction(this.onESCreate)) {
|
3957
|
+
let result = this.onESCreate(this.appInitProps);
|
4456
3958
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4457
|
-
ESLog.d(TAG
|
3959
|
+
ESLog.d(TAG, '---------onESCreate---------->>>>', result);
|
3960
|
+
}
|
3961
|
+
if (result instanceof Promise) {
|
3962
|
+
result.then(
|
3963
|
+
(success) => {
|
3964
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3965
|
+
ESLog.d(TAG, '---------onESCreate---Promise---success---->>>>');
|
3966
|
+
}
|
3967
|
+
this._onESCreated(true);
|
3968
|
+
},
|
3969
|
+
error => {
|
3970
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3971
|
+
console.log(TAG, '---------onESCreate---Promise---error---->>>>', error);
|
3972
|
+
}
|
3973
|
+
this._onESCreated(false);
|
3974
|
+
}
|
3975
|
+
);
|
4458
3976
|
}
|
4459
|
-
|
4460
|
-
|
4461
|
-
if (
|
4462
|
-
|
4463
|
-
this.progressCallBackTime = now;
|
3977
|
+
//
|
3978
|
+
else {
|
3979
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3980
|
+
ESLog.d(TAG, '---------onESCreate--return-Not Promise----->>>>');
|
4464
3981
|
}
|
3982
|
+
this._onESCreated(true);
|
4465
3983
|
}
|
4466
3984
|
}
|
4467
3985
|
//
|
4468
3986
|
else {
|
4469
3987
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4470
|
-
ESLog.d(TAG
|
3988
|
+
ESLog.d(TAG, '---------onESCreate---Not Function----->>>>');
|
4471
3989
|
}
|
3990
|
+
this._onESCreated(true);
|
4472
3991
|
}
|
4473
3992
|
},
|
4474
|
-
|
4475
|
-
|
4476
|
-
|
3993
|
+
_onESCreated(success) {
|
3994
|
+
try {
|
3995
|
+
this.onESCreated(success);
|
3996
|
+
} catch (e) {
|
3997
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
3998
|
+
ESLog.d(TAG, '---------onESCreated---error---->>>>');
|
3999
|
+
}
|
4000
|
+
}
|
4001
|
+
if (this.autoLaunchMainESPage) {
|
4002
|
+
this.launchMainESPage();
|
4477
4003
|
}
|
4478
|
-
this.seekCount = 0;
|
4479
|
-
this.seekBarMode = ES_SEEK_BAR_MODE_PROGRESS;
|
4480
|
-
this.$emit("onSeekStop", this.progress);
|
4481
4004
|
},
|
4482
|
-
|
4483
|
-
|
4005
|
+
launchMainESPage() {//launchESPage
|
4006
|
+
let route = {
|
4007
|
+
name: this.appInitUrl,
|
4008
|
+
params: this.appInitParams,
|
4009
|
+
};
|
4484
4010
|
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
4485
|
-
ESLog.
|
4011
|
+
ESLog.i(TAG, '---------onESCreate---initPage----->>>>', route);
|
4486
4012
|
}
|
4487
|
-
this.$
|
4488
|
-
},
|
4489
|
-
isFocused() {
|
4490
|
-
return this.isSeekBarFocused;
|
4013
|
+
this.$router.push(route);
|
4491
4014
|
},
|
4492
|
-
|
4493
|
-
return
|
4015
|
+
_isFunction(func) {
|
4016
|
+
return Object.prototype.toString.call(func) === '[object Function]';
|
4494
4017
|
},
|
4495
|
-
|
4496
|
-
|
4497
|
-
|
4018
|
+
_isRoutePathValid(path) {
|
4019
|
+
if (path !== undefined && path !== '') {
|
4020
|
+
let index = this.$router.options.routes.findIndex((item) => item.path === `/${path}`);
|
4021
|
+
if (index !== -1) {
|
4022
|
+
return true;
|
4023
|
+
}
|
4024
|
+
}
|
4025
|
+
return false;
|
4498
4026
|
},
|
4499
|
-
|
4500
|
-
|
4027
|
+
_isRouteNameValid(name) {
|
4028
|
+
if (name !== undefined && name !== '') {
|
4029
|
+
let index = this.$router.options.routes.findIndex((item) => item.path === `${name}`);
|
4030
|
+
if (index !== -1) {
|
4031
|
+
return true;
|
4032
|
+
}
|
4033
|
+
}
|
4034
|
+
return false;
|
4501
4035
|
},
|
4502
|
-
|
4503
|
-
|
4504
|
-
|
4505
|
-
requestFocus() {
|
4506
|
-
this.$refs.es_seek_bar.requestFocus();
|
4507
|
-
},
|
4508
|
-
requestLayout() {
|
4509
|
-
this.$refs.es_seek_bar.requestLayout();
|
4510
|
-
},
|
4511
|
-
invalidate() {
|
4512
|
-
this.$refs.es_seek_bar.invalidate();
|
4513
|
-
},
|
4514
|
-
setVisible(visible) {
|
4515
|
-
this.$refs.es_seek_bar.setVisible(visible);
|
4516
|
-
},
|
4517
|
-
setLeftSeekBarVisible(visible) {
|
4518
|
-
this.$refs.es_seek_bar.setLeftSeekBarVisible(visible);
|
4519
|
-
},
|
4520
|
-
setRightSeekBarVisible(visible) {
|
4521
|
-
this.$refs.es_seek_bar.setRightSeekBarVisible(visible);
|
4522
|
-
},
|
4523
|
-
setSeekBarMode(mode) {
|
4524
|
-
this.$refs.es_seek_bar.setSeekBarMode(mode);
|
4525
|
-
},
|
4526
|
-
setRangeProgress(leftValue, rightValue) {
|
4527
|
-
this.$refs.es_seek_bar.setRangeProgress(leftValue, rightValue);
|
4528
|
-
},
|
4529
|
-
getProgress() {
|
4530
|
-
this.$refs.es_seek_bar.getProgress();
|
4531
|
-
},
|
4532
|
-
getLeftProgress() {
|
4533
|
-
this.$refs.es_seek_bar.getLeftProgress();
|
4534
|
-
},
|
4535
|
-
getRightProgress() {
|
4536
|
-
this.$refs.es_seek_bar.getRightProgress();
|
4537
|
-
},
|
4538
|
-
setRange(min, max, minInterval) {
|
4539
|
-
this.$refs.es_seek_bar.setRange(min, max, minInterval);
|
4540
|
-
},
|
4541
|
-
setGravity(gravity) {
|
4542
|
-
this.$refs.es_seek_bar.setGravity(gravity);
|
4543
|
-
},
|
4544
|
-
setProgressWidth(progressWidth) {
|
4545
|
-
this.$refs.es_seek_bar.setProgressWidth(progressWidth);
|
4546
|
-
},
|
4547
|
-
setProgressHeight(progressHeight) {
|
4548
|
-
this.$refs.es_seek_bar.setProgressHeight(progressHeight);
|
4549
|
-
},
|
4550
|
-
setProgressRadius(progressRadius) {
|
4551
|
-
this.$refs.es_seek_bar.setProgressRadius(progressRadius);
|
4552
|
-
},
|
4553
|
-
setProgressColor(progressColor) {
|
4554
|
-
this.$refs.es_seek_bar.setProgressColor(progressColor);
|
4555
|
-
},
|
4556
|
-
setProgressDefaultColor(defaultProgressColor) {
|
4557
|
-
this.$refs.es_seek_bar.setProgressDefaultColor(defaultProgressColor);
|
4558
|
-
},
|
4559
|
-
setProgressDrawable(progressDrawable) {
|
4560
|
-
this.$refs.es_seek_bar.setProgressDrawable(progressDrawable);
|
4561
|
-
},
|
4562
|
-
setProgressDefaultDrawable(progressDefaultDrawable) {
|
4563
|
-
this.$refs.es_seek_bar.setProgressDefaultDrawable(progressDefaultDrawable);
|
4564
|
-
},
|
4565
|
-
setProgressUrl(progressUrl) {
|
4566
|
-
this.$refs.es_seek_bar.setProgressUrl(progressUrl);
|
4567
|
-
},
|
4568
|
-
setProgressDefaultUrl(progressDefaultUrl) {
|
4569
|
-
this.$refs.es_seek_bar.setProgressDefaultUrl(progressDefaultUrl);
|
4570
|
-
},
|
4571
|
-
showIndicator(showIndicator) {
|
4572
|
-
this.$refs.es_seek_bar.showIndicator(showIndicator);
|
4573
|
-
},
|
4574
|
-
showLeftIndicator(showLeftIndicator) {
|
4575
|
-
this.$refs.es_seek_bar.showLeftIndicator(showLeftIndicator);
|
4576
|
-
},
|
4577
|
-
showRightIndicator(showRightIndicator) {
|
4578
|
-
this.$refs.es_seek_bar.showRightIndicator(showRightIndicator);
|
4579
|
-
},
|
4580
|
-
setIndicatorShowMode(indicatorShowMode) {
|
4581
|
-
this.$refs.es_seek_bar.setIndicatorShowMode(indicatorShowMode);
|
4582
|
-
},
|
4583
|
-
setLeftIndicatorShowMode(indicatorShowMode) {
|
4584
|
-
this.$refs.es_seek_bar.setLeftIndicatorShowMode(indicatorShowMode);
|
4585
|
-
},
|
4586
|
-
setRightIndicatorShowMode(indicatorShowMode) {
|
4587
|
-
this.$refs.es_seek_bar.setRightIndicatorShowMode(indicatorShowMode);
|
4588
|
-
},
|
4589
|
-
setIndicatorWidth(indicatorWidth) {
|
4590
|
-
this.$refs.es_seek_bar.setIndicatorWidth(indicatorWidth);
|
4591
|
-
},
|
4592
|
-
setLeftIndicatorWidth(indicatorWidth) {
|
4593
|
-
this.$refs.es_seek_bar.setLeftIndicatorWidth(indicatorWidth);
|
4594
|
-
},
|
4595
|
-
setRightIndicatorWidth(indicatorWidth) {
|
4596
|
-
this.$refs.es_seek_bar.setRightIndicatorWidth(indicatorWidth);
|
4597
|
-
},
|
4598
|
-
setIndicatorHeight(indicatorHeight) {
|
4599
|
-
this.$refs.es_seek_bar.setIndicatorHeight(indicatorHeight);
|
4600
|
-
},
|
4601
|
-
setLeftIndicatorHeight(indicatorHeight) {
|
4602
|
-
this.$refs.es_seek_bar.setLeftIndicatorHeight(indicatorHeight);
|
4603
|
-
},
|
4604
|
-
setRightIndicatorHeight(indicatorHeight) {
|
4605
|
-
this.$refs.es_seek_bar.setRightIndicatorHeight(indicatorHeight);
|
4606
|
-
},
|
4607
|
-
setIndicatorTextDecimalFormat(formatPattern) {
|
4608
|
-
this.$refs.es_seek_bar.setIndicatorTextDecimalFormat(formatPattern);
|
4609
|
-
},
|
4610
|
-
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
4611
|
-
this.$refs.es_seek_bar.setLeftIndicatorTextDecimalFormat(formatPattern);
|
4612
|
-
},
|
4613
|
-
setRightIndicatorTextDecimalFormat(formatPattern) {
|
4614
|
-
this.$refs.es_seek_bar.setRightIndicatorTextDecimalFormat(formatPattern);
|
4615
|
-
},
|
4616
|
-
setIndicatorTextStringFormat(formatPattern) {
|
4617
|
-
this.$refs.es_seek_bar.setIndicatorTextStringFormat(formatPattern);
|
4618
|
-
},
|
4619
|
-
setLeftIndicatorTextStringFormat(formatPattern) {
|
4620
|
-
this.$refs.es_seek_bar.setLeftIndicatorTextStringFormat(formatPattern);
|
4621
|
-
},
|
4622
|
-
setRightIndicatorTextStringFormat(formatPattern) {
|
4623
|
-
this.$refs.es_seek_bar.setRightIndicatorTextStringFormat(formatPattern);
|
4624
|
-
},
|
4625
|
-
setIndicatorMargin(indicatorMargin) {
|
4626
|
-
this.$refs.es_seek_bar.setIndicatorMargin(indicatorMargin);
|
4627
|
-
},
|
4628
|
-
setLeftIndicatorMargin(indicatorMargin) {
|
4629
|
-
this.$refs.es_seek_bar.setLeftIndicatorMargin(indicatorMargin);
|
4630
|
-
},
|
4631
|
-
setRightIndicatorMargin(indicatorMargin) {
|
4632
|
-
this.$refs.es_seek_bar.setRightIndicatorMargin(indicatorMargin);
|
4633
|
-
},
|
4634
|
-
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4635
|
-
this.$refs.es_seek_bar.setIndicatorPaddingBottom(indicatorPaddingBottom);
|
4636
|
-
},
|
4637
|
-
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4638
|
-
this.$refs.es_seek_bar.setLeftIndicatorPaddingBottom(indicatorPaddingBottom);
|
4639
|
-
},
|
4640
|
-
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4641
|
-
this.$refs.es_seek_bar.setRightIndicatorPaddingBottom(indicatorPaddingBottom);
|
4642
|
-
},
|
4643
|
-
setIndicatorPaddingTop(indicatorPaddingTop) {
|
4644
|
-
this.$refs.es_seek_bar.setIndicatorPaddingTop(indicatorPaddingTop);
|
4645
|
-
},
|
4646
|
-
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
4647
|
-
this.$refs.es_seek_bar.setLeftIndicatorPaddingTop(indicatorPaddingTop);
|
4648
|
-
},
|
4649
|
-
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
4650
|
-
this.$refs.es_seek_bar.setRightIndicatorPaddingTop(indicatorPaddingTop);
|
4651
|
-
},
|
4652
|
-
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4653
|
-
this.$refs.es_seek_bar.setIndicatorPaddingLeft(indicatorPaddingLeft);
|
4654
|
-
},
|
4655
|
-
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4656
|
-
this.$refs.es_seek_bar.setLeftIndicatorPaddingLeft(indicatorPaddingLeft);
|
4657
|
-
},
|
4658
|
-
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4659
|
-
this.$refs.es_seek_bar.setRightIndicatorPaddingLeft(indicatorPaddingLeft);
|
4660
|
-
},
|
4661
|
-
setIndicatorPaddingRight(indicatorPaddingRight) {
|
4662
|
-
this.$refs.es_seek_bar.setIndicatorPaddingRight(indicatorPaddingRight);
|
4663
|
-
},
|
4664
|
-
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
4665
|
-
this.$refs.es_seek_bar.setLeftIndicatorPaddingRight(indicatorPaddingRight);
|
4666
|
-
},
|
4667
|
-
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
4668
|
-
this.$refs.es_seek_bar.setRightIndicatorPaddingRight(indicatorPaddingRight);
|
4669
|
-
},
|
4670
|
-
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4671
|
-
this.$refs.es_seek_bar.setIndicatorBackgroundColor(indicatorBackgroundColor);
|
4672
|
-
},
|
4673
|
-
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4674
|
-
this.$refs.es_seek_bar.setLeftIndicatorBackgroundColor(indicatorBackgroundColor);
|
4675
|
-
},
|
4676
|
-
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4677
|
-
this.$refs.es_seek_bar.setRightIndicatorBackgroundColor(indicatorBackgroundColor);
|
4678
|
-
},
|
4679
|
-
setIndicatorRadius(indicatorRadius) {
|
4680
|
-
this.$refs.es_seek_bar.setIndicatorRadius(indicatorRadius);
|
4681
|
-
},
|
4682
|
-
setLeftIndicatorRadius(indicatorRadius) {
|
4683
|
-
this.$refs.es_seek_bar.setLeftIndicatorRadius(indicatorRadius);
|
4684
|
-
},
|
4685
|
-
setRightIndicatorRadius(indicatorRadius) {
|
4686
|
-
this.$refs.es_seek_bar.setRightIndicatorRadius(indicatorRadius);
|
4687
|
-
},
|
4688
|
-
setIndicatorTextSize(indicatorTextSize) {
|
4689
|
-
this.$refs.es_seek_bar.setIndicatorTextSize(indicatorTextSize);
|
4690
|
-
},
|
4691
|
-
setLeftIndicatorTextSize(indicatorTextSize) {
|
4692
|
-
this.$refs.es_seek_bar.setLeftIndicatorTextSize(indicatorTextSize);
|
4693
|
-
},
|
4694
|
-
setRightIndicatorTextSize(indicatorTextSize) {
|
4695
|
-
this.$refs.es_seek_bar.setRightIndicatorTextSize(indicatorTextSize);
|
4696
|
-
},
|
4697
|
-
setIndicatorTextColor(indicatorTextColor) {
|
4698
|
-
this.$refs.es_seek_bar.setIndicatorTextColor(indicatorTextColor);
|
4699
|
-
},
|
4700
|
-
setLeftIndicatorTextColor(indicatorTextColor) {
|
4701
|
-
this.$refs.es_seek_bar.setLeftIndicatorTextColor(indicatorTextColor);
|
4702
|
-
},
|
4703
|
-
setRightIndicatorTextColor(indicatorTextColor) {
|
4704
|
-
this.$refs.es_seek_bar.setRightIndicatorTextColor(indicatorTextColor);
|
4705
|
-
},
|
4706
|
-
setIndicatorArrowSize(indicatorArrowSize) {
|
4707
|
-
this.$refs.es_seek_bar.setIndicatorArrowSize(indicatorArrowSize);
|
4708
|
-
},
|
4709
|
-
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
4710
|
-
this.$refs.es_seek_bar.setLeftIndicatorArrowSize(indicatorArrowSize);
|
4711
|
-
},
|
4712
|
-
setRightIndicatorArrowSize(indicatorArrowSize) {
|
4713
|
-
this.$refs.es_seek_bar.setRightIndicatorArrowSize(indicatorArrowSize);
|
4714
|
-
},
|
4715
|
-
setIndicatorDrawable(indicatorDrawable) {
|
4716
|
-
this.$refs.es_seek_bar.setIndicatorDrawable(indicatorDrawable);
|
4717
|
-
},
|
4718
|
-
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
4719
|
-
this.$refs.es_seek_bar.setLeftIndicatorDrawable(leftIndicatorDrawable);
|
4720
|
-
},
|
4721
|
-
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
4722
|
-
this.$refs.es_seek_bar.setRightIndicatorDrawable(rightIndicatorDrawable);
|
4723
|
-
},
|
4724
|
-
setIndicatorUrl(indicatorUrl) {
|
4725
|
-
this.$refs.es_seek_bar.setIndicatorUrl(indicatorUrl);
|
4726
|
-
},
|
4727
|
-
setLeftIndicatorUrl(leftIndicatorUrl) {
|
4728
|
-
this.$refs.es_seek_bar.setLeftIndicatorUrl(leftIndicatorUrl);
|
4729
|
-
},
|
4730
|
-
setRightIndicatorUrl(rightIndicatorUrl) {
|
4731
|
-
this.$refs.es_seek_bar.setRightIndicatorUrl(rightIndicatorUrl);
|
4732
|
-
},
|
4733
|
-
setThumbWidth(thumbWidth) {
|
4734
|
-
this.$refs.es_seek_bar.setThumbWidth(thumbWidth);
|
4735
|
-
},
|
4736
|
-
setLeftThumbWidth(thumbWidth) {
|
4737
|
-
this.$refs.es_seek_bar.setLeftThumbWidth(thumbWidth);
|
4738
|
-
},
|
4739
|
-
setRightThumbWidth(thumbWidth) {
|
4740
|
-
this.$refs.es_seek_bar.setRightThumbWidth(thumbWidth);
|
4741
|
-
},
|
4742
|
-
setThumbHeight(thumbHeight) {
|
4743
|
-
this.$refs.es_seek_bar.setThumbHeight(thumbHeight);
|
4744
|
-
},
|
4745
|
-
setLeftThumbHeight(thumbHeight) {
|
4746
|
-
this.$refs.es_seek_bar.setLeftThumbHeight(thumbHeight);
|
4747
|
-
},
|
4748
|
-
setRightThumbHeight(thumbHeight) {
|
4749
|
-
this.$refs.es_seek_bar.setRightThumbHeight(thumbHeight);
|
4750
|
-
},
|
4751
|
-
scaleThumb() {
|
4752
|
-
this.$refs.es_seek_bar.scaleThumb();
|
4753
|
-
},
|
4754
|
-
scaleLeftThumb() {
|
4755
|
-
this.$refs.es_seek_bar.scaleLeftThumb();
|
4756
|
-
},
|
4757
|
-
scaleRightThumb() {
|
4758
|
-
this.$refs.es_seek_bar.scaleRightThumb();
|
4759
|
-
},
|
4760
|
-
resetThumb() {
|
4761
|
-
this.$refs.es_seek_bar.resetThumb();
|
4762
|
-
},
|
4763
|
-
resetLeftThumb() {
|
4764
|
-
this.$refs.es_seek_bar.resetLeftThumb();
|
4765
|
-
},
|
4766
|
-
resetRightThumb() {
|
4767
|
-
this.$refs.es_seek_bar.resetRightThumb();
|
4768
|
-
},
|
4769
|
-
setThumbScaleRatio(thumbScaleRatio) {
|
4770
|
-
this.$refs.es_seek_bar.setThumbScaleRatio(thumbScaleRatio);
|
4771
|
-
},
|
4772
|
-
setLeftThumbScaleRatio(thumbScaleRatio) {
|
4773
|
-
this.$refs.es_seek_bar.setLeftThumbScaleRatio(thumbScaleRatio);
|
4774
|
-
},
|
4775
|
-
setRightThumbScaleRatio(thumbScaleRatio) {
|
4776
|
-
this.$refs.es_seek_bar.setRightThumbScaleRatio(thumbScaleRatio);
|
4777
|
-
},
|
4778
|
-
setThumbActivate(activate) {
|
4779
|
-
this.$refs.es_seek_bar.setThumbActivate(activate);
|
4780
|
-
},
|
4781
|
-
setLeftThumbActivate(activate) {
|
4782
|
-
this.$refs.es_seek_bar.setLeftThumbActivate(activate);
|
4783
|
-
},
|
4784
|
-
setRightThumbActivate(activate) {
|
4785
|
-
this.$refs.es_seek_bar.setRightThumbActivate(activate);
|
4786
|
-
},
|
4787
|
-
setThumbDrawable(drawable) {
|
4788
|
-
this.$refs.es_seek_bar.setThumbDrawable(drawable);
|
4789
|
-
},
|
4790
|
-
setLeftThumbDrawable(drawable) {
|
4791
|
-
this.$refs.es_seek_bar.setLeftThumbDrawable(drawable);
|
4792
|
-
},
|
4793
|
-
setRightThumbDrawable(drawable) {
|
4794
|
-
this.$refs.es_seek_bar.setRightThumbDrawable(drawable);
|
4795
|
-
},
|
4796
|
-
setThumbUrl(url) {
|
4797
|
-
this.$refs.es_seek_bar.setThumbUrl(url);
|
4798
|
-
},
|
4799
|
-
setLeftThumbUrl(url) {
|
4800
|
-
this.$refs.es_seek_bar.setLeftThumbUrl(url);
|
4801
|
-
},
|
4802
|
-
setRightThumbUrl(url) {
|
4803
|
-
this.$refs.es_seek_bar.setRightThumbUrl(url);
|
4804
|
-
},
|
4805
|
-
setThumbInactivatedDrawable(drawable) {
|
4806
|
-
this.$refs.es_seek_bar.setThumbInactivatedDrawable(drawable);
|
4807
|
-
},
|
4808
|
-
setLeftThumbInactivatedDrawable(drawable) {
|
4809
|
-
this.$refs.es_seek_bar.setLeftThumbInactivatedDrawable(drawable);
|
4810
|
-
},
|
4811
|
-
setRightThumbInactivatedDrawable(drawable) {
|
4812
|
-
this.$refs.es_seek_bar.setRightThumbInactivatedDrawable(drawable);
|
4813
|
-
},
|
4814
|
-
setThumbInactivatedUrl(url) {
|
4815
|
-
this.$refs.es_seek_bar.setThumbInactivatedUrl(url);
|
4816
|
-
},
|
4817
|
-
setLeftThumbInactivatedUrl(url) {
|
4818
|
-
this.$refs.es_seek_bar.setLeftThumbInactivatedUrl(url);
|
4819
|
-
},
|
4820
|
-
setRightThumbInactivatedUrl(url) {
|
4821
|
-
this.$refs.es_seek_bar.setRightThumbInactivatedUrl(url);
|
4822
|
-
},
|
4823
|
-
setTickMarkMode(tickMarkMode) {
|
4824
|
-
this.$refs.es_seek_bar.setTickMarkMode(tickMarkMode);
|
4825
|
-
},
|
4826
|
-
setTickMarkGravity(tickMarkGravity) {
|
4827
|
-
this.$refs.es_seek_bar.setTickMarkGravity(tickMarkGravity);
|
4828
|
-
},
|
4829
|
-
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
4830
|
-
this.$refs.es_seek_bar.setTickMarkLayoutGravity(tickMarkLayoutGravity);
|
4831
|
-
},
|
4832
|
-
setTickMarkTextArray(tickMarkTextArray) {
|
4833
|
-
this.$refs.es_seek_bar.setTickMarkTextArray(tickMarkTextArray);
|
4834
|
-
},
|
4835
|
-
setTickMarkTextMargin(tickMarkTextMargin) {
|
4836
|
-
this.$refs.es_seek_bar.setTickMarkTextMargin(tickMarkTextMargin);
|
4837
|
-
},
|
4838
|
-
setTickMarkTextSize(tickMarkTextSize) {
|
4839
|
-
this.$refs.es_seek_bar.setTickMarkTextSize(tickMarkTextSize);
|
4840
|
-
},
|
4841
|
-
setTickMarkTextColor(tickMarkTextColor) {
|
4842
|
-
this.$refs.es_seek_bar.setTickMarkTextColor(tickMarkTextColor);
|
4843
|
-
},
|
4844
|
-
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
4845
|
-
this.$refs.es_seek_bar.setTickMarkInRangeTextColor(tickMarkInRangeTextColor);
|
4846
|
-
},
|
4847
|
-
setSteps(steps) {
|
4848
|
-
this.$refs.es_seek_bar.setSteps(steps);
|
4849
|
-
},
|
4850
|
-
setStepsWidth(stepsWidth) {
|
4851
|
-
this.$refs.es_seek_bar.setStepsWidth(stepsWidth);
|
4852
|
-
},
|
4853
|
-
setStepsHeight(stepsHeight) {
|
4854
|
-
this.$refs.es_seek_bar.setStepsHeight(stepsHeight);
|
4855
|
-
},
|
4856
|
-
setStepsRadius(stepsRadius) {
|
4857
|
-
this.$refs.es_seek_bar.setStepsRadius(stepsRadius);
|
4858
|
-
},
|
4859
|
-
setStepsColor(stepsColor) {
|
4860
|
-
this.$refs.es_seek_bar.setStepsColor(stepsColor);
|
4861
|
-
},
|
4862
|
-
setStepsAutoBonding(stepsAutoBonding) {
|
4863
|
-
this.$refs.es_seek_bar.setStepsAutoBonding(stepsAutoBonding);
|
4864
|
-
},
|
4865
|
-
setStepsDrawable(drawableArray) {
|
4866
|
-
this.$refs.es_seek_bar.setStepsDrawable(drawableArray);
|
4867
|
-
},
|
4868
|
-
setStepsUrl(urlArray) {
|
4869
|
-
this.$refs.es_seek_bar.setStepsUrl(urlArray);
|
4870
|
-
},
|
4871
|
-
}
|
4872
|
-
};
|
4873
|
-
|
4874
|
-
function ESSeekBarViewComponent() {
|
4875
|
-
//
|
4876
|
-
Vue.component(ESSeekBar.name, ESSeekBar);
|
4877
|
-
//
|
4878
|
-
Vue.registerElement('TVSeekBarViewComponent', {
|
4879
|
-
component: {
|
4880
|
-
name: 'TVSeekBarViewComponent',
|
4881
|
-
processEventData(event, nativeEventName, nativeEventParams) {
|
4882
|
-
switch (nativeEventName) {
|
4883
|
-
case 'onFocus':
|
4884
|
-
event.isFocused = nativeEventParams.isFocused;
|
4885
|
-
break;
|
4886
|
-
case 'onSeekBarChange':
|
4887
|
-
event.fromUser = nativeEventParams.fromUser;
|
4888
|
-
event.progress = nativeEventParams.progress;
|
4889
|
-
event.leftProgress = nativeEventParams.leftProgress;
|
4890
|
-
event.rightProgress = nativeEventParams.rightProgress;
|
4891
|
-
break;
|
4892
|
-
}
|
4893
|
-
return event;
|
4894
|
-
},
|
4895
|
-
},
|
4896
|
-
});
|
4897
|
-
|
4898
|
-
Vue.component('es-seek-bar-view-component', {
|
4899
|
-
|
4900
|
-
methods: {
|
4901
|
-
invalidateSeekBar() {
|
4902
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4903
|
-
'invalidateSeekBar', [], (res) => {
|
4904
|
-
});
|
4905
|
-
},
|
4906
|
-
setFocusable(focusable) {
|
4907
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4908
|
-
'setFocusable', [focusable], (res) => {
|
4909
|
-
});
|
4910
|
-
},
|
4911
|
-
setClickable(clickable) {
|
4912
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4913
|
-
'setClickable', [clickable], (res) => {
|
4914
|
-
});
|
4915
|
-
},
|
4916
|
-
requestFocus() {
|
4917
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4918
|
-
'requestFocus', [], (res) => {
|
4919
|
-
});
|
4920
|
-
},
|
4921
|
-
requestLayout() {
|
4922
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4923
|
-
'requestLayout', [], (res) => {
|
4924
|
-
});
|
4925
|
-
},
|
4926
|
-
invalidate() {
|
4927
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4928
|
-
'invalidate', [], (res) => {
|
4929
|
-
});
|
4930
|
-
},
|
4931
|
-
setVisible(visible) {
|
4932
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4933
|
-
'setVisible', [visible], (res) => {
|
4934
|
-
});
|
4935
|
-
},
|
4936
|
-
setLeftSeekBarVisible(visible) {
|
4937
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4938
|
-
'setLeftSeekBarVisible', [visible], (res) => {
|
4939
|
-
});
|
4940
|
-
},
|
4941
|
-
setRightSeekBarVisible(visible) {
|
4942
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4943
|
-
'setRightSeekBarVisible', [visible], (res) => {
|
4944
|
-
});
|
4945
|
-
},
|
4946
|
-
setSeekBarMode(mode) {
|
4947
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4948
|
-
'setSeekBarMode', [mode], (res) => {
|
4949
|
-
});
|
4950
|
-
},
|
4951
|
-
setProgress(progress) {
|
4952
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4953
|
-
'setProgress', [progress], (res) => {
|
4954
|
-
});
|
4955
|
-
},
|
4956
|
-
setRangeProgress(leftValue, rightValue) {
|
4957
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4958
|
-
'setProgress', [leftValue, rightValue], (res) => {
|
4959
|
-
});
|
4960
|
-
},
|
4961
|
-
getProgress() {
|
4962
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4963
|
-
'getProgress', [], (progress) => {
|
4964
|
-
});
|
4965
|
-
},
|
4966
|
-
getLeftProgress() {
|
4967
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4968
|
-
'getLeftProgress', [], (progress) => {
|
4969
|
-
});
|
4970
|
-
},
|
4971
|
-
getRightProgress() {
|
4972
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4973
|
-
'getRightProgress', [], (progress) => {
|
4974
|
-
});
|
4975
|
-
},
|
4976
|
-
setRange(min, max, minInterval) {
|
4977
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4978
|
-
'setRange', [min, max, minInterval], (value) => {
|
4979
|
-
});
|
4980
|
-
},
|
4981
|
-
setGravity(gravity) {
|
4982
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4983
|
-
'setGravity', [gravity], (value) => {
|
4984
|
-
});
|
4985
|
-
},
|
4986
|
-
setProgressWidth(progressWidth) {
|
4987
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4988
|
-
'setProgressWidth', [progressWidth], (value) => {
|
4989
|
-
});
|
4990
|
-
},
|
4991
|
-
setProgressHeight(progressHeight) {
|
4992
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4993
|
-
'setProgressHeight', [progressHeight], (value) => {
|
4994
|
-
});
|
4995
|
-
},
|
4996
|
-
setProgressRadius(progressRadius) {
|
4997
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4998
|
-
'setProgressRadius', [progressRadius], (value) => {
|
4999
|
-
});
|
5000
|
-
},
|
5001
|
-
setProgressColor(progressColor) {
|
5002
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5003
|
-
'setProgressColor', [progressColor], (value) => {
|
5004
|
-
});
|
5005
|
-
},
|
5006
|
-
setProgressDefaultColor(defaultProgressColor) {
|
5007
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5008
|
-
'setProgressDefaultColor', [defaultProgressColor], (value) => {
|
5009
|
-
});
|
5010
|
-
},
|
5011
|
-
setProgressDrawable(progressDrawable) {
|
5012
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5013
|
-
'setProgressDrawable', [progressDrawable], (value) => {
|
5014
|
-
});
|
5015
|
-
},
|
5016
|
-
setProgressDefaultDrawable(progressDefaultDrawable) {
|
5017
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5018
|
-
'setProgressDefaultDrawable', [progressDefaultDrawable], (value) => {
|
5019
|
-
});
|
5020
|
-
},
|
5021
|
-
setProgressUrl(progressUrl) {
|
5022
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5023
|
-
'setProgressUrl', [progressUrl], (value) => {
|
5024
|
-
});
|
5025
|
-
},
|
5026
|
-
setProgressDefaultUrl(progressDefaultUrl) {
|
5027
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5028
|
-
'setProgressDefaultUrl', [progressDefaultUrl], (value) => {
|
5029
|
-
});
|
5030
|
-
},
|
5031
|
-
showIndicator(showIndicator) {
|
5032
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5033
|
-
'showIndicator', [showIndicator], (value) => {
|
5034
|
-
});
|
5035
|
-
},
|
5036
|
-
showLeftIndicator(showLeftIndicator) {
|
5037
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5038
|
-
'showLeftIndicator', [showLeftIndicator], (value) => {
|
5039
|
-
});
|
5040
|
-
},
|
5041
|
-
showRightIndicator(showRightIndicator) {
|
5042
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5043
|
-
'showRightIndicator', [showRightIndicator], (value) => {
|
5044
|
-
});
|
5045
|
-
},
|
5046
|
-
setIndicatorShowMode(indicatorShowMode) {
|
5047
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5048
|
-
'setIndicatorShowMode', [indicatorShowMode], (value) => {
|
5049
|
-
});
|
5050
|
-
},
|
5051
|
-
setLeftIndicatorShowMode(indicatorShowMode) {
|
5052
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5053
|
-
'setLeftIndicatorShowMode', [indicatorShowMode], (value) => {
|
5054
|
-
});
|
5055
|
-
},
|
5056
|
-
setRightIndicatorShowMode(indicatorShowMode) {
|
5057
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5058
|
-
'setRightIndicatorShowMode', [indicatorShowMode], (value) => {
|
5059
|
-
});
|
5060
|
-
},
|
5061
|
-
setIndicatorWidth(indicatorWidth) {
|
5062
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5063
|
-
'setIndicatorWidth', [indicatorWidth], (value) => {
|
5064
|
-
});
|
5065
|
-
},
|
5066
|
-
setLeftIndicatorWidth(indicatorWidth) {
|
5067
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5068
|
-
'setLeftIndicatorWidth', [indicatorWidth], (value) => {
|
5069
|
-
});
|
5070
|
-
},
|
5071
|
-
setRightIndicatorWidth(indicatorWidth) {
|
5072
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5073
|
-
'setRightIndicatorWidth', [indicatorWidth], (value) => {
|
5074
|
-
});
|
5075
|
-
},
|
5076
|
-
|
5077
|
-
setIndicatorHeight(indicatorHeight) {
|
5078
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5079
|
-
'setIndicatorHeight', [indicatorHeight], (value) => {
|
5080
|
-
});
|
5081
|
-
},
|
5082
|
-
setLeftIndicatorHeight(indicatorHeight) {
|
5083
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5084
|
-
'setLeftIndicatorHeight', [indicatorHeight], (value) => {
|
5085
|
-
});
|
5086
|
-
},
|
5087
|
-
setRightIndicatorHeight(indicatorHeight) {
|
5088
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5089
|
-
'setRightIndicatorHeight', [indicatorHeight], (value) => {
|
5090
|
-
});
|
5091
|
-
},
|
5092
|
-
setIndicatorTextDecimalFormat(formatPattern) {
|
5093
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5094
|
-
'setIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
5095
|
-
});
|
5096
|
-
},
|
5097
|
-
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
5098
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5099
|
-
'setLeftIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
5100
|
-
});
|
5101
|
-
},
|
5102
|
-
setRightIndicatorTextDecimalFormat(formatPattern) {
|
5103
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5104
|
-
'setRightIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
5105
|
-
});
|
5106
|
-
},
|
5107
|
-
setIndicatorTextStringFormat(formatPattern) {
|
5108
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5109
|
-
'setIndicatorTextStringFormat', [formatPattern], (value) => {
|
5110
|
-
});
|
5111
|
-
},
|
5112
|
-
setLeftIndicatorTextStringFormat(formatPattern) {
|
5113
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5114
|
-
'setLeftIndicatorTextStringFormat', [formatPattern], (value) => {
|
5115
|
-
});
|
5116
|
-
},
|
5117
|
-
setRightIndicatorTextStringFormat(formatPattern) {
|
5118
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5119
|
-
'setRightIndicatorTextStringFormat', [formatPattern], (value) => {
|
5120
|
-
});
|
5121
|
-
},
|
5122
|
-
setIndicatorMargin(indicatorMargin) {
|
5123
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5124
|
-
'setIndicatorMargin', [indicatorMargin], (value) => {
|
5125
|
-
});
|
5126
|
-
},
|
5127
|
-
setLeftIndicatorMargin(indicatorMargin) {
|
5128
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5129
|
-
'setLeftIndicatorMargin', [indicatorMargin], (value) => {
|
5130
|
-
});
|
5131
|
-
},
|
5132
|
-
setRightIndicatorMargin(indicatorMargin) {
|
5133
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5134
|
-
'setRightIndicatorMargin', [indicatorMargin], (value) => {
|
5135
|
-
});
|
5136
|
-
},
|
5137
|
-
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5138
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5139
|
-
'setIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
5140
|
-
});
|
5141
|
-
},
|
5142
|
-
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5143
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5144
|
-
'setLeftIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
5145
|
-
});
|
5146
|
-
},
|
5147
|
-
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5148
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5149
|
-
'setRightIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
5150
|
-
});
|
5151
|
-
},
|
5152
|
-
setIndicatorPaddingTop(indicatorPaddingTop) {
|
5153
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5154
|
-
'setIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
5155
|
-
});
|
5156
|
-
},
|
5157
|
-
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
5158
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5159
|
-
'setLeftIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
5160
|
-
});
|
5161
|
-
},
|
5162
|
-
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
5163
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5164
|
-
'setRightIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
5165
|
-
});
|
5166
|
-
},
|
5167
|
-
|
5168
|
-
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5169
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5170
|
-
'setIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
5171
|
-
});
|
5172
|
-
},
|
5173
|
-
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5174
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5175
|
-
'setLeftIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
5176
|
-
});
|
5177
|
-
},
|
5178
|
-
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5179
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5180
|
-
'setRightIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
5181
|
-
});
|
5182
|
-
},
|
5183
|
-
setIndicatorPaddingRight(indicatorPaddingRight) {
|
5184
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5185
|
-
'setIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
5186
|
-
});
|
5187
|
-
},
|
5188
|
-
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
5189
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5190
|
-
'setLeftIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
5191
|
-
});
|
5192
|
-
},
|
5193
|
-
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
5194
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5195
|
-
'setRightIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
5196
|
-
});
|
5197
|
-
},
|
5198
|
-
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5199
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5200
|
-
'setIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
5201
|
-
});
|
5202
|
-
},
|
5203
|
-
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5204
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5205
|
-
'setLeftIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
5206
|
-
});
|
5207
|
-
},
|
5208
|
-
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5209
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5210
|
-
'setRightIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
5211
|
-
});
|
5212
|
-
},
|
5213
|
-
setIndicatorRadius(indicatorRadius) {
|
5214
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5215
|
-
'setIndicatorRadius', [indicatorRadius], (value) => {
|
5216
|
-
});
|
5217
|
-
},
|
5218
|
-
setLeftIndicatorRadius(indicatorRadius) {
|
5219
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5220
|
-
'setLeftIndicatorRadius', [indicatorRadius], (value) => {
|
5221
|
-
});
|
5222
|
-
},
|
5223
|
-
setRightIndicatorRadius(indicatorRadius) {
|
5224
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5225
|
-
'setRightIndicatorRadius', [indicatorRadius], (value) => {
|
5226
|
-
});
|
5227
|
-
},
|
5228
|
-
setIndicatorTextSize(indicatorTextSize) {
|
5229
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5230
|
-
'setIndicatorTextSize', [indicatorTextSize], (value) => {
|
5231
|
-
});
|
5232
|
-
},
|
5233
|
-
setLeftIndicatorTextSize(indicatorTextSize) {
|
5234
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5235
|
-
'setLeftIndicatorTextSize', [indicatorTextSize], (value) => {
|
5236
|
-
});
|
5237
|
-
},
|
5238
|
-
setRightIndicatorTextSize(indicatorTextSize) {
|
5239
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5240
|
-
'setRightIndicatorTextSize', [indicatorTextSize], (value) => {
|
5241
|
-
});
|
5242
|
-
},
|
5243
|
-
setIndicatorTextColor(indicatorTextColor) {
|
5244
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5245
|
-
'setIndicatorTextColor', [indicatorTextColor], (value) => {
|
5246
|
-
});
|
5247
|
-
},
|
5248
|
-
setLeftIndicatorTextColor(indicatorTextColor) {
|
5249
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5250
|
-
'setLeftIndicatorTextColor', [indicatorTextColor], (value) => {
|
5251
|
-
});
|
5252
|
-
},
|
5253
|
-
setRightIndicatorTextColor(indicatorTextColor) {
|
5254
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5255
|
-
'setRightIndicatorTextColor', [indicatorTextColor], (value) => {
|
5256
|
-
});
|
5257
|
-
},
|
5258
|
-
setIndicatorArrowSize(indicatorArrowSize) {
|
5259
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5260
|
-
'setIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
5261
|
-
});
|
5262
|
-
},
|
5263
|
-
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
5264
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5265
|
-
'setLeftIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
5266
|
-
});
|
5267
|
-
},
|
5268
|
-
setRightIndicatorArrowSize(indicatorArrowSize) {
|
5269
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5270
|
-
'setRightIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
5271
|
-
});
|
5272
|
-
},
|
5273
|
-
setIndicatorDrawable(indicatorDrawable) {
|
5274
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5275
|
-
'setIndicatorDrawable', [indicatorDrawable], (value) => {
|
5276
|
-
});
|
5277
|
-
},
|
5278
|
-
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
5279
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5280
|
-
'setLeftIndicatorDrawable', [leftIndicatorDrawable], (value) => {
|
5281
|
-
});
|
5282
|
-
},
|
5283
|
-
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
5284
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5285
|
-
'setRightIndicatorDrawable', [rightIndicatorDrawable], (value) => {
|
5286
|
-
});
|
5287
|
-
},
|
5288
|
-
setIndicatorUrl(indicatorUrl) {
|
5289
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5290
|
-
'setIndicatorUrl', [indicatorUrl], (value) => {
|
5291
|
-
});
|
5292
|
-
},
|
5293
|
-
setLeftIndicatorUrl(leftIndicatorUrl) {
|
5294
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5295
|
-
'setLeftIndicatorUrl', [leftIndicatorUrl], (value) => {
|
5296
|
-
});
|
5297
|
-
},
|
5298
|
-
setRightIndicatorUrl(rightIndicatorUrl) {
|
5299
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5300
|
-
'setRightIndicatorUrl', [rightIndicatorUrl], (value) => {
|
5301
|
-
});
|
5302
|
-
},
|
5303
|
-
setThumbWidth(thumbWidth) {
|
5304
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5305
|
-
'setThumbWidth', [thumbWidth], (value) => {
|
5306
|
-
});
|
5307
|
-
},
|
5308
|
-
setLeftThumbWidth(thumbWidth) {
|
5309
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5310
|
-
'setLeftThumbWidth', [thumbWidth], (value) => {
|
5311
|
-
});
|
5312
|
-
},
|
5313
|
-
setRightThumbWidth(thumbWidth) {
|
5314
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5315
|
-
'setRightThumbWidth', [thumbWidth], (value) => {
|
5316
|
-
});
|
5317
|
-
},
|
5318
|
-
setThumbHeight(thumbHeight) {
|
5319
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5320
|
-
'setThumbHeight', [thumbHeight], (value) => {
|
5321
|
-
});
|
5322
|
-
},
|
5323
|
-
setLeftThumbHeight(thumbHeight) {
|
5324
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5325
|
-
'setLeftThumbHeight', [thumbHeight], (value) => {
|
5326
|
-
});
|
5327
|
-
},
|
5328
|
-
setRightThumbHeight(thumbHeight) {
|
5329
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5330
|
-
'setRightThumbHeight', [thumbHeight], (value) => {
|
5331
|
-
});
|
5332
|
-
},
|
5333
|
-
scaleThumb() {
|
5334
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5335
|
-
'scaleThumb', [], (value) => {
|
5336
|
-
});
|
5337
|
-
},
|
5338
|
-
scaleLeftThumb() {
|
5339
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5340
|
-
'scaleLeftThumb', [], (value) => {
|
5341
|
-
});
|
5342
|
-
},
|
5343
|
-
scaleRightThumb() {
|
5344
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5345
|
-
'scaleLeftThumb', [], (value) => {
|
5346
|
-
});
|
5347
|
-
},
|
5348
|
-
resetThumb() {
|
5349
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5350
|
-
'resetThumb', [], (value) => {
|
5351
|
-
});
|
5352
|
-
},
|
5353
|
-
resetLeftThumb() {
|
5354
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5355
|
-
'resetLeftThumb', [], (value) => {
|
5356
|
-
});
|
5357
|
-
},
|
5358
|
-
resetRightThumb() {
|
5359
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5360
|
-
'resetRightThumb', [], (value) => {
|
5361
|
-
});
|
5362
|
-
},
|
5363
|
-
setThumbScaleRatio(thumbScaleRatio) {
|
5364
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5365
|
-
'setThumbScaleRatio', [thumbScaleRatio], (value) => {
|
5366
|
-
});
|
5367
|
-
},
|
5368
|
-
setLeftThumbScaleRatio(thumbScaleRatio) {
|
5369
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5370
|
-
'setLeftThumbScaleRatio', [thumbScaleRatio], (value) => {
|
5371
|
-
});
|
5372
|
-
},
|
5373
|
-
setRightThumbScaleRatio(thumbScaleRatio) {
|
5374
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5375
|
-
'setRightThumbScaleRatio', [thumbScaleRatio], (value) => {
|
5376
|
-
});
|
5377
|
-
},
|
5378
|
-
setThumbActivate(activate) {
|
5379
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5380
|
-
'setThumbActivate', [activate], (value) => {
|
5381
|
-
});
|
5382
|
-
},
|
5383
|
-
setLeftThumbActivate(activate) {
|
5384
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5385
|
-
'setLeftThumbActivate', [activate], (value) => {
|
5386
|
-
});
|
5387
|
-
},
|
5388
|
-
setRightThumbActivate(activate) {
|
5389
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5390
|
-
'setRightThumbActivate', [activate], (value) => {
|
5391
|
-
});
|
5392
|
-
},
|
5393
|
-
setThumbDrawable(drawable) {
|
5394
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5395
|
-
'setThumbDrawable', [drawable], (value) => {
|
5396
|
-
});
|
5397
|
-
},
|
5398
|
-
setLeftThumbDrawable(drawable) {
|
5399
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5400
|
-
'setLeftThumbDrawable', [drawable], (value) => {
|
5401
|
-
});
|
5402
|
-
},
|
5403
|
-
setRightThumbDrawable(drawable) {
|
5404
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5405
|
-
'setRightThumbDrawable', [drawable], (value) => {
|
5406
|
-
});
|
5407
|
-
},
|
5408
|
-
setThumbUrl(url) {
|
5409
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5410
|
-
'setThumbUrl', [url], (value) => {
|
5411
|
-
});
|
5412
|
-
},
|
5413
|
-
setLeftThumbUrl(url) {
|
5414
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5415
|
-
'setLeftThumbUrl', [url], (value) => {
|
5416
|
-
});
|
5417
|
-
},
|
5418
|
-
setRightThumbUrl(url) {
|
5419
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5420
|
-
'setRightThumbUrl', [url], (value) => {
|
5421
|
-
});
|
5422
|
-
},
|
5423
|
-
setThumbInactivatedDrawable(drawable) {
|
5424
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5425
|
-
'setThumbInactivatedDrawable', [drawable], (value) => {
|
5426
|
-
});
|
5427
|
-
},
|
5428
|
-
setLeftThumbInactivatedDrawable(drawable) {
|
5429
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5430
|
-
'setLeftThumbInactivatedDrawable', [drawable], (value) => {
|
5431
|
-
});
|
5432
|
-
},
|
5433
|
-
setRightThumbInactivatedDrawable(drawable) {
|
5434
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5435
|
-
'setRightThumbInactivatedDrawable', [drawable], (value) => {
|
5436
|
-
});
|
5437
|
-
},
|
5438
|
-
setThumbInactivatedUrl(url) {
|
5439
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5440
|
-
'setThumbInactivatedUrl', [url], (value) => {
|
5441
|
-
});
|
5442
|
-
},
|
5443
|
-
setLeftThumbInactivatedUrl(url) {
|
5444
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5445
|
-
'setLeftThumbInactivatedUrl', [url], (value) => {
|
5446
|
-
});
|
5447
|
-
},
|
5448
|
-
setRightThumbInactivatedUrl(url) {
|
5449
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5450
|
-
'setRightThumbInactivatedUrl', [url], (value) => {
|
5451
|
-
});
|
5452
|
-
},
|
5453
|
-
setTickMarkMode(tickMarkMode) {
|
5454
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5455
|
-
'setTickMarkMode', [tickMarkMode], (value) => {
|
5456
|
-
});
|
5457
|
-
},
|
5458
|
-
setTickMarkGravity(tickMarkGravity) {
|
5459
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5460
|
-
'setTickMarkGravity', [tickMarkGravity], (value) => {
|
5461
|
-
});
|
5462
|
-
},
|
5463
|
-
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
5464
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5465
|
-
'setTickMarkLayoutGravity', [tickMarkLayoutGravity], (value) => {
|
5466
|
-
});
|
5467
|
-
},
|
5468
|
-
setTickMarkTextArray(tickMarkTextArray) {
|
5469
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5470
|
-
'setTickMarkTextArray', [tickMarkTextArray], (value) => {
|
5471
|
-
});
|
5472
|
-
},
|
5473
|
-
setTickMarkTextMargin(tickMarkTextMargin) {
|
5474
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5475
|
-
'setTickMarkTextMargin', [tickMarkTextMargin], (value) => {
|
5476
|
-
});
|
5477
|
-
},
|
5478
|
-
setTickMarkTextSize(tickMarkTextSize) {
|
5479
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5480
|
-
'setTickMarkTextSize', [tickMarkTextSize], (value) => {
|
5481
|
-
});
|
5482
|
-
},
|
5483
|
-
setTickMarkTextColor(tickMarkTextColor) {
|
5484
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5485
|
-
'setTickMarkTextColor', [tickMarkTextColor], (value) => {
|
5486
|
-
});
|
5487
|
-
},
|
5488
|
-
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
5489
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5490
|
-
'setTickMarkInRangeTextColor', [tickMarkInRangeTextColor], (value) => {
|
5491
|
-
});
|
5492
|
-
},
|
5493
|
-
setSteps(steps) {
|
5494
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5495
|
-
'setSteps', [steps], (value) => {
|
5496
|
-
});
|
5497
|
-
},
|
5498
|
-
setStepsWidth(stepsWidth) {
|
5499
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5500
|
-
'setStepsWidth', [stepsWidth], (value) => {
|
5501
|
-
});
|
5502
|
-
},
|
5503
|
-
setStepsHeight(stepsHeight) {
|
5504
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5505
|
-
'setStepsHeight', [stepsHeight], (value) => {
|
5506
|
-
});
|
5507
|
-
},
|
5508
|
-
setStepsRadius(stepsRadius) {
|
5509
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5510
|
-
'setStepsRadius', [stepsRadius], (value) => {
|
5511
|
-
});
|
5512
|
-
},
|
5513
|
-
setStepsColor(stepsColor) {
|
5514
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5515
|
-
'setStepsColor', [stepsColor], (value) => {
|
5516
|
-
});
|
5517
|
-
},
|
5518
|
-
setStepsAutoBonding(stepsAutoBonding) {
|
5519
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5520
|
-
'setStepsAutoBonding', [stepsAutoBonding], (value) => {
|
5521
|
-
});
|
5522
|
-
},
|
5523
|
-
setStepsDrawable(drawableArray) {
|
5524
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5525
|
-
'setStepsDrawable', [drawableArray], (value) => {
|
5526
|
-
});
|
5527
|
-
},
|
5528
|
-
setStepsUrl(urlArray) {
|
5529
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5530
|
-
'setStepsUrl', [urlArray], (value) => {
|
5531
|
-
});
|
5532
|
-
},
|
5533
|
-
setMaxProgress(progress) {
|
5534
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5535
|
-
'setMaxProgress', [progress], (res) => {
|
5536
|
-
});
|
5537
|
-
},
|
5538
|
-
setSecondProgress(progress) {
|
5539
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5540
|
-
'setSecondProgress', [progress], (res) => {
|
5541
|
-
});
|
5542
|
-
},
|
5543
|
-
show(value) {
|
5544
|
-
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5545
|
-
'show', [value], (res) => {
|
5546
|
-
});
|
5547
|
-
},
|
5548
|
-
onFocusChange(evt) {
|
5549
|
-
this.$emit('focus', evt);
|
5550
|
-
},
|
5551
|
-
onSeekBarChange(evt) {
|
5552
|
-
this.$emit('seek-change', evt);
|
5553
|
-
},
|
5554
|
-
|
5555
|
-
},
|
5556
|
-
|
5557
|
-
render(h) {
|
5558
|
-
const on = getEventRedirector.call(this, [
|
5559
|
-
['focus', 'focusChange'],
|
5560
|
-
['seek-change', 'seekBarChange'],
|
5561
|
-
]);
|
5562
|
-
return h('TVSeekBarViewComponent',
|
5563
|
-
{
|
5564
|
-
on,
|
5565
|
-
ref: 'seekbar',
|
5566
|
-
}, this.$slots.default);
|
5567
|
-
},
|
5568
|
-
});
|
5569
|
-
}
|
5570
|
-
|
5571
|
-
var ESProgressBar = {
|
5572
|
-
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('es-progress-bar-view-component',{ref:"es_progress_bar",attrs:{"maxProgress":_vm.maxProgress,"progress":_vm.progress,"secondProgress":_vm.secondaryProgress,"backgroundColor":_vm.backgroundColor,"secondColor":_vm.secondaryColor,"cornerRadius":_vm.cornerRadius,"color":_vm.primaryColor}})},
|
5573
|
-
staticRenderFns: [],
|
5574
|
-
name: "ProgressBar",
|
5575
|
-
props: {
|
5576
|
-
maxProgress: {
|
5577
|
-
type: Number,
|
5578
|
-
default: 0
|
5579
|
-
},
|
5580
|
-
progress: {
|
5581
|
-
type: Number,
|
5582
|
-
default: 0
|
5583
|
-
},
|
5584
|
-
secondaryProgress: {
|
5585
|
-
type: Number,
|
5586
|
-
default: 0
|
5587
|
-
},
|
5588
|
-
primaryColor: {
|
5589
|
-
type: Object,
|
5590
|
-
default: {}
|
5591
|
-
},
|
5592
|
-
backgroundColor: {
|
5593
|
-
type: String,
|
5594
|
-
default: '#00000000'
|
5595
|
-
},
|
5596
|
-
secondaryColor: {
|
5597
|
-
type: String,
|
5598
|
-
default: '#00000000'
|
5599
|
-
},
|
5600
|
-
cornerRadius: {
|
5601
|
-
type: Number,
|
5602
|
-
default: 0
|
5603
|
-
},
|
5604
|
-
},
|
5605
|
-
methods: {
|
5606
|
-
setMaxProgress(progress) {
|
5607
|
-
this.$refs.es_progress_bar.setMaxProgress(progress);
|
5608
|
-
},
|
5609
|
-
setProgress(progress) {
|
5610
|
-
this.$refs.es_progress_bar.setProgress(progress);
|
5611
|
-
},
|
5612
|
-
setSecondProgress(progress) {
|
5613
|
-
this.$refs.es_progress_bar.setSecondProgress(progress);
|
5614
|
-
},
|
5615
|
-
show(value) {
|
5616
|
-
this.$refs.es_progress_bar.show(value);
|
5617
|
-
},
|
5618
|
-
//------------------------------------------------------------
|
5619
|
-
//----------------------------------------------------------
|
5620
|
-
invalidateSeekBar() {
|
5621
|
-
this.$refs.es_progress_bar.invalidateSeekBar();
|
5622
|
-
},
|
5623
|
-
setFocusable(focusable) {
|
5624
|
-
this.$refs.es_progress_bar.setFocusable(focusable);
|
5625
|
-
},
|
5626
|
-
setClickable(clickable) {
|
5627
|
-
this.$refs.es_progress_bar.setClickable(clickable);
|
5628
|
-
},
|
5629
|
-
requestFocus() {
|
5630
|
-
this.$refs.es_progress_bar.requestFocus();
|
5631
|
-
},
|
5632
|
-
requestLayout() {
|
5633
|
-
this.$refs.es_progress_bar.requestLayout();
|
5634
|
-
},
|
5635
|
-
invalidate() {
|
5636
|
-
this.$refs.es_progress_bar.invalidate();
|
5637
|
-
},
|
5638
|
-
setVisible(visible) {
|
5639
|
-
this.$refs.es_progress_bar.setVisible(visible);
|
5640
|
-
},
|
5641
|
-
setLeftSeekBarVisible(visible) {
|
5642
|
-
this.$refs.es_progress_bar.setLeftSeekBarVisible(visible);
|
5643
|
-
},
|
5644
|
-
setRightSeekBarVisible(visible) {
|
5645
|
-
this.$refs.es_progress_bar.setRightSeekBarVisible(visible);
|
5646
|
-
},
|
5647
|
-
setSeekBarMode(mode) {
|
5648
|
-
this.$refs.es_progress_bar.setSeekBarMode(mode);
|
5649
|
-
},
|
5650
|
-
setRangeProgress(leftValue, rightValue) {
|
5651
|
-
this.$refs.es_progress_bar.setRangeProgress(leftValue, rightValue);
|
5652
|
-
},
|
5653
|
-
getProgress() {
|
5654
|
-
this.$refs.es_progress_bar.getProgress();
|
5655
|
-
},
|
5656
|
-
getLeftProgress() {
|
5657
|
-
this.$refs.es_progress_bar.getLeftProgress();
|
5658
|
-
},
|
5659
|
-
getRightProgress() {
|
5660
|
-
this.$refs.es_progress_bar.getRightProgress();
|
5661
|
-
},
|
5662
|
-
setRange(min, max, minInterval) {
|
5663
|
-
this.$refs.es_progress_bar.setRange(min, max, minInterval);
|
5664
|
-
},
|
5665
|
-
setGravity(gravity) {
|
5666
|
-
this.$refs.es_progress_bar.setGravity(gravity);
|
5667
|
-
},
|
5668
|
-
setProgressWidth(progressWidth) {
|
5669
|
-
this.$refs.es_progress_bar.setProgressWidth(progressWidth);
|
5670
|
-
},
|
5671
|
-
setProgressHeight(progressHeight) {
|
5672
|
-
this.$refs.es_progress_bar.setProgressHeight(progressHeight);
|
5673
|
-
},
|
5674
|
-
setProgressRadius(progressRadius) {
|
5675
|
-
this.$refs.es_progress_bar.setProgressRadius(progressRadius);
|
5676
|
-
},
|
5677
|
-
setProgressColor(progressColor) {
|
5678
|
-
this.$refs.es_progress_bar.setProgressColor(progressColor);
|
5679
|
-
},
|
5680
|
-
setProgressDefaultColor(defaultProgressColor) {
|
5681
|
-
this.$refs.es_progress_bar.setProgressDefaultColor(defaultProgressColor);
|
5682
|
-
},
|
5683
|
-
setProgressDrawable(progressDrawable) {
|
5684
|
-
this.$refs.es_progress_bar.setProgressDrawable(progressDrawable);
|
5685
|
-
},
|
5686
|
-
setProgressDefaultDrawable(progressDefaultDrawable) {
|
5687
|
-
this.$refs.es_progress_bar.setProgressDefaultDrawable(progressDefaultDrawable);
|
5688
|
-
},
|
5689
|
-
setProgressUrl(progressUrl) {
|
5690
|
-
this.$refs.es_progress_bar.setProgressUrl(progressUrl);
|
5691
|
-
},
|
5692
|
-
setProgressDefaultUrl(progressDefaultUrl) {
|
5693
|
-
this.$refs.es_progress_bar.setProgressDefaultUrl(progressDefaultUrl);
|
5694
|
-
},
|
5695
|
-
showIndicator(showIndicator) {
|
5696
|
-
this.$refs.es_progress_bar.showIndicator(showIndicator);
|
5697
|
-
},
|
5698
|
-
showLeftIndicator(showLeftIndicator) {
|
5699
|
-
this.$refs.es_progress_bar.showLeftIndicator(showLeftIndicator);
|
5700
|
-
},
|
5701
|
-
showRightIndicator(showRightIndicator) {
|
5702
|
-
this.$refs.es_progress_bar.showRightIndicator(showRightIndicator);
|
5703
|
-
},
|
5704
|
-
setIndicatorShowMode(indicatorShowMode) {
|
5705
|
-
this.$refs.es_progress_bar.setIndicatorShowMode(indicatorShowMode);
|
5706
|
-
},
|
5707
|
-
setLeftIndicatorShowMode(indicatorShowMode) {
|
5708
|
-
this.$refs.es_progress_bar.setLeftIndicatorShowMode(indicatorShowMode);
|
5709
|
-
},
|
5710
|
-
setRightIndicatorShowMode(indicatorShowMode) {
|
5711
|
-
this.$refs.es_progress_bar.setRightIndicatorShowMode(indicatorShowMode);
|
5712
|
-
},
|
5713
|
-
setIndicatorWidth(indicatorWidth) {
|
5714
|
-
this.$refs.es_progress_bar.setIndicatorWidth(indicatorWidth);
|
5715
|
-
},
|
5716
|
-
setLeftIndicatorWidth(indicatorWidth) {
|
5717
|
-
this.$refs.es_progress_bar.setLeftIndicatorWidth(indicatorWidth);
|
5718
|
-
},
|
5719
|
-
setRightIndicatorWidth(indicatorWidth) {
|
5720
|
-
this.$refs.es_progress_bar.setRightIndicatorWidth(indicatorWidth);
|
5721
|
-
},
|
5722
|
-
setIndicatorHeight(indicatorHeight) {
|
5723
|
-
this.$refs.es_progress_bar.setIndicatorHeight(indicatorHeight);
|
5724
|
-
},
|
5725
|
-
setLeftIndicatorHeight(indicatorHeight) {
|
5726
|
-
this.$refs.es_progress_bar.setLeftIndicatorHeight(indicatorHeight);
|
5727
|
-
},
|
5728
|
-
setRightIndicatorHeight(indicatorHeight) {
|
5729
|
-
this.$refs.es_progress_bar.setRightIndicatorHeight(indicatorHeight);
|
5730
|
-
},
|
5731
|
-
setIndicatorTextDecimalFormat(formatPattern) {
|
5732
|
-
this.$refs.es_progress_bar.setIndicatorTextDecimalFormat(formatPattern);
|
5733
|
-
},
|
5734
|
-
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
5735
|
-
this.$refs.es_progress_bar.setLeftIndicatorTextDecimalFormat(formatPattern);
|
5736
|
-
},
|
5737
|
-
setRightIndicatorTextDecimalFormat(formatPattern) {
|
5738
|
-
this.$refs.es_progress_bar.setRightIndicatorTextDecimalFormat(formatPattern);
|
5739
|
-
},
|
5740
|
-
setIndicatorTextStringFormat(formatPattern) {
|
5741
|
-
this.$refs.es_progress_bar.setIndicatorTextStringFormat(formatPattern);
|
5742
|
-
},
|
5743
|
-
setLeftIndicatorTextStringFormat(formatPattern) {
|
5744
|
-
this.$refs.es_progress_bar.setLeftIndicatorTextStringFormat(formatPattern);
|
5745
|
-
},
|
5746
|
-
setRightIndicatorTextStringFormat(formatPattern) {
|
5747
|
-
this.$refs.es_progress_bar.setRightIndicatorTextStringFormat(formatPattern);
|
5748
|
-
},
|
5749
|
-
setIndicatorMargin(indicatorMargin) {
|
5750
|
-
this.$refs.es_progress_bar.setIndicatorMargin(indicatorMargin);
|
5751
|
-
},
|
5752
|
-
setLeftIndicatorMargin(indicatorMargin) {
|
5753
|
-
this.$refs.es_progress_bar.setLeftIndicatorMargin(indicatorMargin);
|
5754
|
-
},
|
5755
|
-
setRightIndicatorMargin(indicatorMargin) {
|
5756
|
-
this.$refs.es_progress_bar.setRightIndicatorMargin(indicatorMargin);
|
5757
|
-
},
|
5758
|
-
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5759
|
-
this.$refs.es_progress_bar.setIndicatorPaddingBottom(indicatorPaddingBottom);
|
5760
|
-
},
|
5761
|
-
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5762
|
-
this.$refs.es_progress_bar.setLeftIndicatorPaddingBottom(indicatorPaddingBottom);
|
5763
|
-
},
|
5764
|
-
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5765
|
-
this.$refs.es_progress_bar.setRightIndicatorPaddingBottom(indicatorPaddingBottom);
|
5766
|
-
},
|
5767
|
-
setIndicatorPaddingTop(indicatorPaddingTop) {
|
5768
|
-
this.$refs.es_progress_bar.setIndicatorPaddingTop(indicatorPaddingTop);
|
5769
|
-
},
|
5770
|
-
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
5771
|
-
this.$refs.es_progress_bar.setLeftIndicatorPaddingTop(indicatorPaddingTop);
|
5772
|
-
},
|
5773
|
-
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
5774
|
-
this.$refs.es_progress_bar.setRightIndicatorPaddingTop(indicatorPaddingTop);
|
5775
|
-
},
|
5776
|
-
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5777
|
-
this.$refs.es_progress_bar.setIndicatorPaddingLeft(indicatorPaddingLeft);
|
5778
|
-
},
|
5779
|
-
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5780
|
-
this.$refs.es_progress_bar.setLeftIndicatorPaddingLeft(indicatorPaddingLeft);
|
5781
|
-
},
|
5782
|
-
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5783
|
-
this.$refs.es_progress_bar.setRightIndicatorPaddingLeft(indicatorPaddingLeft);
|
5784
|
-
},
|
5785
|
-
setIndicatorPaddingRight(indicatorPaddingRight) {
|
5786
|
-
this.$refs.es_progress_bar.setIndicatorPaddingRight(indicatorPaddingRight);
|
5787
|
-
},
|
5788
|
-
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
5789
|
-
this.$refs.es_progress_bar.setLeftIndicatorPaddingRight(indicatorPaddingRight);
|
5790
|
-
},
|
5791
|
-
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
5792
|
-
this.$refs.es_progress_bar.setRightIndicatorPaddingRight(indicatorPaddingRight);
|
5793
|
-
},
|
5794
|
-
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5795
|
-
this.$refs.es_progress_bar.setIndicatorBackgroundColor(indicatorBackgroundColor);
|
5796
|
-
},
|
5797
|
-
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5798
|
-
this.$refs.es_progress_bar.setLeftIndicatorBackgroundColor(indicatorBackgroundColor);
|
5799
|
-
},
|
5800
|
-
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5801
|
-
this.$refs.es_progress_bar.setRightIndicatorBackgroundColor(indicatorBackgroundColor);
|
5802
|
-
},
|
5803
|
-
setIndicatorRadius(indicatorRadius) {
|
5804
|
-
this.$refs.es_progress_bar.setIndicatorRadius(indicatorRadius);
|
5805
|
-
},
|
5806
|
-
setLeftIndicatorRadius(indicatorRadius) {
|
5807
|
-
this.$refs.es_progress_bar.setLeftIndicatorRadius(indicatorRadius);
|
5808
|
-
},
|
5809
|
-
setRightIndicatorRadius(indicatorRadius) {
|
5810
|
-
this.$refs.es_progress_bar.setRightIndicatorRadius(indicatorRadius);
|
5811
|
-
},
|
5812
|
-
setIndicatorTextSize(indicatorTextSize) {
|
5813
|
-
this.$refs.es_progress_bar.setIndicatorTextSize(indicatorTextSize);
|
5814
|
-
},
|
5815
|
-
setLeftIndicatorTextSize(indicatorTextSize) {
|
5816
|
-
this.$refs.es_progress_bar.setLeftIndicatorTextSize(indicatorTextSize);
|
5817
|
-
},
|
5818
|
-
setRightIndicatorTextSize(indicatorTextSize) {
|
5819
|
-
this.$refs.es_progress_bar.setRightIndicatorTextSize(indicatorTextSize);
|
5820
|
-
},
|
5821
|
-
setIndicatorTextColor(indicatorTextColor) {
|
5822
|
-
this.$refs.es_progress_bar.setIndicatorTextColor(indicatorTextColor);
|
5823
|
-
},
|
5824
|
-
setLeftIndicatorTextColor(indicatorTextColor) {
|
5825
|
-
this.$refs.es_progress_bar.setLeftIndicatorTextColor(indicatorTextColor);
|
5826
|
-
},
|
5827
|
-
setRightIndicatorTextColor(indicatorTextColor) {
|
5828
|
-
this.$refs.es_progress_bar.setRightIndicatorTextColor(indicatorTextColor);
|
5829
|
-
},
|
5830
|
-
setIndicatorArrowSize(indicatorArrowSize) {
|
5831
|
-
this.$refs.es_progress_bar.setIndicatorArrowSize(indicatorArrowSize);
|
5832
|
-
},
|
5833
|
-
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
5834
|
-
this.$refs.es_progress_bar.setLeftIndicatorArrowSize(indicatorArrowSize);
|
5835
|
-
},
|
5836
|
-
setRightIndicatorArrowSize(indicatorArrowSize) {
|
5837
|
-
this.$refs.es_progress_bar.setRightIndicatorArrowSize(indicatorArrowSize);
|
5838
|
-
},
|
5839
|
-
setIndicatorDrawable(indicatorDrawable) {
|
5840
|
-
this.$refs.es_progress_bar.setIndicatorDrawable(indicatorDrawable);
|
5841
|
-
},
|
5842
|
-
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
5843
|
-
this.$refs.es_progress_bar.setLeftIndicatorDrawable(leftIndicatorDrawable);
|
5844
|
-
},
|
5845
|
-
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
5846
|
-
this.$refs.es_progress_bar.setRightIndicatorDrawable(rightIndicatorDrawable);
|
5847
|
-
},
|
5848
|
-
setIndicatorUrl(indicatorUrl) {
|
5849
|
-
this.$refs.es_progress_bar.setIndicatorUrl(indicatorUrl);
|
5850
|
-
},
|
5851
|
-
setLeftIndicatorUrl(leftIndicatorUrl) {
|
5852
|
-
this.$refs.es_progress_bar.setLeftIndicatorUrl(leftIndicatorUrl);
|
5853
|
-
},
|
5854
|
-
setRightIndicatorUrl(rightIndicatorUrl) {
|
5855
|
-
this.$refs.es_progress_bar.setRightIndicatorUrl(rightIndicatorUrl);
|
5856
|
-
},
|
5857
|
-
setThumbWidth(thumbWidth) {
|
5858
|
-
this.$refs.es_progress_bar.setThumbWidth(thumbWidth);
|
5859
|
-
},
|
5860
|
-
setLeftThumbWidth(thumbWidth) {
|
5861
|
-
this.$refs.es_progress_bar.setLeftThumbWidth(thumbWidth);
|
5862
|
-
},
|
5863
|
-
setRightThumbWidth(thumbWidth) {
|
5864
|
-
this.$refs.es_progress_bar.setRightThumbWidth(thumbWidth);
|
5865
|
-
},
|
5866
|
-
setThumbHeight(thumbHeight) {
|
5867
|
-
this.$refs.es_progress_bar.setThumbHeight(thumbHeight);
|
5868
|
-
},
|
5869
|
-
setLeftThumbHeight(thumbHeight) {
|
5870
|
-
this.$refs.es_progress_bar.setLeftThumbHeight(thumbHeight);
|
5871
|
-
},
|
5872
|
-
setRightThumbHeight(thumbHeight) {
|
5873
|
-
this.$refs.es_progress_bar.setRightThumbHeight(thumbHeight);
|
5874
|
-
},
|
5875
|
-
scaleThumb() {
|
5876
|
-
this.$refs.es_progress_bar.scaleThumb();
|
5877
|
-
},
|
5878
|
-
scaleLeftThumb() {
|
5879
|
-
this.$refs.es_progress_bar.scaleLeftThumb();
|
5880
|
-
},
|
5881
|
-
scaleRightThumb() {
|
5882
|
-
this.$refs.es_progress_bar.scaleRightThumb();
|
5883
|
-
},
|
5884
|
-
resetThumb() {
|
5885
|
-
this.$refs.es_progress_bar.resetThumb();
|
5886
|
-
},
|
5887
|
-
resetLeftThumb() {
|
5888
|
-
this.$refs.es_progress_bar.resetLeftThumb();
|
5889
|
-
},
|
5890
|
-
resetRightThumb() {
|
5891
|
-
this.$refs.es_progress_bar.resetRightThumb();
|
5892
|
-
},
|
5893
|
-
setThumbScaleRatio(thumbScaleRatio) {
|
5894
|
-
this.$refs.es_progress_bar.setThumbScaleRatio(thumbScaleRatio);
|
5895
|
-
},
|
5896
|
-
setLeftThumbScaleRatio(thumbScaleRatio) {
|
5897
|
-
this.$refs.es_progress_bar.setLeftThumbScaleRatio(thumbScaleRatio);
|
5898
|
-
},
|
5899
|
-
setRightThumbScaleRatio(thumbScaleRatio) {
|
5900
|
-
this.$refs.es_progress_bar.setRightThumbScaleRatio(thumbScaleRatio);
|
5901
|
-
},
|
5902
|
-
setThumbActivate(activate) {
|
5903
|
-
this.$refs.es_progress_bar.setThumbActivate(activate);
|
5904
|
-
},
|
5905
|
-
setLeftThumbActivate(activate) {
|
5906
|
-
this.$refs.es_progress_bar.setLeftThumbActivate(activate);
|
5907
|
-
},
|
5908
|
-
setRightThumbActivate(activate) {
|
5909
|
-
this.$refs.es_progress_bar.setRightThumbActivate(activate);
|
5910
|
-
},
|
5911
|
-
setThumbDrawable(drawable) {
|
5912
|
-
this.$refs.es_progress_bar.setThumbDrawable(drawable);
|
5913
|
-
},
|
5914
|
-
setLeftThumbDrawable(drawable) {
|
5915
|
-
this.$refs.es_progress_bar.setLeftThumbDrawable(drawable);
|
5916
|
-
},
|
5917
|
-
setRightThumbDrawable(drawable) {
|
5918
|
-
this.$refs.es_progress_bar.setRightThumbDrawable(drawable);
|
5919
|
-
},
|
5920
|
-
setThumbUrl(url) {
|
5921
|
-
this.$refs.es_progress_bar.setThumbUrl(url);
|
5922
|
-
},
|
5923
|
-
setLeftThumbUrl(url) {
|
5924
|
-
this.$refs.es_progress_bar.setLeftThumbUrl(url);
|
5925
|
-
},
|
5926
|
-
setRightThumbUrl(url) {
|
5927
|
-
this.$refs.es_progress_bar.setRightThumbUrl(url);
|
5928
|
-
},
|
5929
|
-
setThumbInactivatedDrawable(drawable) {
|
5930
|
-
this.$refs.es_progress_bar.setThumbInactivatedDrawable(drawable);
|
5931
|
-
},
|
5932
|
-
setLeftThumbInactivatedDrawable(drawable) {
|
5933
|
-
this.$refs.es_progress_bar.setLeftThumbInactivatedDrawable(drawable);
|
5934
|
-
},
|
5935
|
-
setRightThumbInactivatedDrawable(drawable) {
|
5936
|
-
this.$refs.es_progress_bar.setRightThumbInactivatedDrawable(drawable);
|
5937
|
-
},
|
5938
|
-
setThumbInactivatedUrl(url) {
|
5939
|
-
this.$refs.es_progress_bar.setThumbInactivatedUrl(url);
|
5940
|
-
},
|
5941
|
-
setLeftThumbInactivatedUrl(url) {
|
5942
|
-
this.$refs.es_progress_bar.setLeftThumbInactivatedUrl(url);
|
5943
|
-
},
|
5944
|
-
setRightThumbInactivatedUrl(url) {
|
5945
|
-
this.$refs.es_progress_bar.setRightThumbInactivatedUrl(url);
|
5946
|
-
},
|
5947
|
-
setTickMarkMode(tickMarkMode) {
|
5948
|
-
this.$refs.es_progress_bar.setTickMarkMode(tickMarkMode);
|
5949
|
-
},
|
5950
|
-
setTickMarkGravity(tickMarkGravity) {
|
5951
|
-
this.$refs.es_progress_bar.setTickMarkGravity(tickMarkGravity);
|
5952
|
-
},
|
5953
|
-
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
5954
|
-
this.$refs.es_progress_bar.setTickMarkLayoutGravity(tickMarkLayoutGravity);
|
5955
|
-
},
|
5956
|
-
setTickMarkTextArray(tickMarkTextArray) {
|
5957
|
-
this.$refs.es_progress_bar.setTickMarkTextArray(tickMarkTextArray);
|
5958
|
-
},
|
5959
|
-
setTickMarkTextMargin(tickMarkTextMargin) {
|
5960
|
-
this.$refs.es_progress_bar.setTickMarkTextMargin(tickMarkTextMargin);
|
5961
|
-
},
|
5962
|
-
setTickMarkTextSize(tickMarkTextSize) {
|
5963
|
-
this.$refs.es_progress_bar.setTickMarkTextSize(tickMarkTextSize);
|
5964
|
-
},
|
5965
|
-
setTickMarkTextColor(tickMarkTextColor) {
|
5966
|
-
this.$refs.es_progress_bar.setTickMarkTextColor(tickMarkTextColor);
|
5967
|
-
},
|
5968
|
-
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
5969
|
-
this.$refs.es_progress_bar.setTickMarkInRangeTextColor(tickMarkInRangeTextColor);
|
5970
|
-
},
|
5971
|
-
setSteps(steps) {
|
5972
|
-
this.$refs.es_progress_bar.setSteps(steps);
|
5973
|
-
},
|
5974
|
-
setStepsWidth(stepsWidth) {
|
5975
|
-
this.$refs.es_progress_bar.setStepsWidth(stepsWidth);
|
5976
|
-
},
|
5977
|
-
setStepsHeight(stepsHeight) {
|
5978
|
-
this.$refs.es_progress_bar.setStepsHeight(stepsHeight);
|
5979
|
-
},
|
5980
|
-
setStepsRadius(stepsRadius) {
|
5981
|
-
this.$refs.es_progress_bar.setStepsRadius(stepsRadius);
|
5982
|
-
},
|
5983
|
-
setStepsColor(stepsColor) {
|
5984
|
-
this.$refs.es_progress_bar.setStepsColor(stepsColor);
|
5985
|
-
},
|
5986
|
-
setStepsAutoBonding(stepsAutoBonding) {
|
5987
|
-
this.$refs.es_progress_bar.setStepsAutoBonding(stepsAutoBonding);
|
5988
|
-
},
|
5989
|
-
setStepsDrawable(drawableArray) {
|
5990
|
-
this.$refs.es_progress_bar.setStepsDrawable(drawableArray);
|
5991
|
-
},
|
5992
|
-
setStepsUrl(urlArray) {
|
5993
|
-
this.$refs.es_progress_bar.setStepsUrl(urlArray);
|
5994
|
-
},
|
5995
|
-
}
|
5996
|
-
};
|
5997
|
-
|
5998
|
-
function ESProgressBarViewComponent() {
|
5999
|
-
//
|
6000
|
-
Vue.component(ESProgressBar.name, ESProgressBar);
|
6001
|
-
|
6002
|
-
Vue.registerElement('TVProgressBarViewComponent', {
|
6003
|
-
component: {
|
6004
|
-
name: 'TVProgressBarViewComponent',
|
6005
|
-
processEventData(event, nativeEventName, nativeEventParams) {
|
6006
|
-
switch (nativeEventName) {
|
6007
|
-
case 'onSeekBarChange':
|
6008
|
-
event.fromUser = nativeEventParams.fromUser;
|
6009
|
-
event.progress = nativeEventParams.progress;
|
6010
|
-
event.leftProgress = nativeEventParams.leftProgress;
|
6011
|
-
event.rightProgress = nativeEventParams.rightProgress;
|
6012
|
-
break;
|
6013
|
-
}
|
6014
|
-
return event;
|
6015
|
-
},
|
6016
|
-
},
|
6017
|
-
});
|
6018
|
-
|
6019
|
-
Vue.component('es-progress-bar-view-component', {
|
6020
|
-
methods: {
|
6021
|
-
invalidateSeekBar() {
|
6022
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6023
|
-
'invalidateSeekBar', [], (res) => {
|
6024
|
-
});
|
6025
|
-
},
|
6026
|
-
setFocusable(focusable) {
|
6027
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6028
|
-
'setFocusable', [focusable], (res) => {
|
6029
|
-
});
|
6030
|
-
},
|
6031
|
-
setClickable(clickable) {
|
6032
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6033
|
-
'setClickable', [clickable], (res) => {
|
6034
|
-
});
|
6035
|
-
},
|
6036
|
-
requestFocus() {
|
6037
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6038
|
-
'requestFocus', [], (res) => {
|
6039
|
-
});
|
6040
|
-
},
|
6041
|
-
requestLayout() {
|
6042
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6043
|
-
'requestLayout', [], (res) => {
|
6044
|
-
});
|
6045
|
-
},
|
6046
|
-
invalidate() {
|
6047
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6048
|
-
'invalidate', [], (res) => {
|
6049
|
-
});
|
6050
|
-
},
|
6051
|
-
setVisible(visible) {
|
6052
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6053
|
-
'setVisible', [visible], (res) => {
|
6054
|
-
});
|
6055
|
-
},
|
6056
|
-
setLeftSeekBarVisible(visible) {
|
6057
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6058
|
-
'setLeftSeekBarVisible', [visible], (res) => {
|
6059
|
-
});
|
6060
|
-
},
|
6061
|
-
setRightSeekBarVisible(visible) {
|
6062
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6063
|
-
'setRightSeekBarVisible', [visible], (res) => {
|
6064
|
-
});
|
6065
|
-
},
|
6066
|
-
setSeekBarMode(mode) {
|
6067
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6068
|
-
'setSeekBarMode', [mode], (res) => {
|
6069
|
-
});
|
6070
|
-
},
|
6071
|
-
setProgress(progress) {
|
6072
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6073
|
-
'setProgress', [progress], (res) => {
|
6074
|
-
});
|
6075
|
-
},
|
6076
|
-
setRangeProgress(leftValue, rightValue) {
|
6077
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6078
|
-
'setProgress', [leftValue, rightValue], (res) => {
|
6079
|
-
});
|
6080
|
-
},
|
6081
|
-
getProgress() {
|
6082
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6083
|
-
'getProgress', [], (progress) => {
|
6084
|
-
});
|
6085
|
-
},
|
6086
|
-
getLeftProgress() {
|
6087
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6088
|
-
'getLeftProgress', [], (progress) => {
|
6089
|
-
});
|
6090
|
-
},
|
6091
|
-
getRightProgress() {
|
6092
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6093
|
-
'getRightProgress', [], (progress) => {
|
6094
|
-
});
|
6095
|
-
},
|
6096
|
-
setRange(min, max, minInterval) {
|
6097
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6098
|
-
'setRange', [min, max, minInterval], (value) => {
|
6099
|
-
});
|
6100
|
-
},
|
6101
|
-
setGravity(gravity) {
|
6102
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6103
|
-
'setGravity', [gravity], (value) => {
|
6104
|
-
});
|
6105
|
-
},
|
6106
|
-
setProgressWidth(progressWidth) {
|
6107
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6108
|
-
'setProgressWidth', [progressWidth], (value) => {
|
6109
|
-
});
|
6110
|
-
},
|
6111
|
-
setProgressHeight(progressHeight) {
|
6112
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6113
|
-
'setProgressHeight', [progressHeight], (value) => {
|
6114
|
-
});
|
6115
|
-
},
|
6116
|
-
setProgressRadius(progressRadius) {
|
6117
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6118
|
-
'setProgressRadius', [progressRadius], (value) => {
|
6119
|
-
});
|
6120
|
-
},
|
6121
|
-
setProgressColor(progressColor) {
|
6122
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6123
|
-
'setProgressColor', [progressColor], (value) => {
|
6124
|
-
});
|
6125
|
-
},
|
6126
|
-
setProgressDefaultColor(defaultProgressColor) {
|
6127
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6128
|
-
'setProgressDefaultColor', [defaultProgressColor], (value) => {
|
6129
|
-
});
|
6130
|
-
},
|
6131
|
-
setProgressDrawable(progressDrawable) {
|
6132
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6133
|
-
'setProgressDrawable', [progressDrawable], (value) => {
|
6134
|
-
});
|
6135
|
-
},
|
6136
|
-
setProgressDefaultDrawable(progressDefaultDrawable) {
|
6137
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6138
|
-
'setProgressDefaultDrawable', [progressDefaultDrawable], (value) => {
|
6139
|
-
});
|
6140
|
-
},
|
6141
|
-
setProgressUrl(progressUrl) {
|
6142
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6143
|
-
'setProgressUrl', [progressUrl], (value) => {
|
6144
|
-
});
|
6145
|
-
},
|
6146
|
-
setProgressDefaultUrl(progressDefaultUrl) {
|
6147
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6148
|
-
'setProgressDefaultUrl', [progressDefaultUrl], (value) => {
|
6149
|
-
});
|
6150
|
-
},
|
6151
|
-
showIndicator(showIndicator) {
|
6152
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6153
|
-
'showIndicator', [showIndicator], (value) => {
|
6154
|
-
});
|
6155
|
-
},
|
6156
|
-
showLeftIndicator(showLeftIndicator) {
|
6157
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6158
|
-
'showLeftIndicator', [showLeftIndicator], (value) => {
|
6159
|
-
});
|
6160
|
-
},
|
6161
|
-
showRightIndicator(showRightIndicator) {
|
6162
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6163
|
-
'showRightIndicator', [showRightIndicator], (value) => {
|
6164
|
-
});
|
6165
|
-
},
|
6166
|
-
setIndicatorShowMode(indicatorShowMode) {
|
6167
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6168
|
-
'setIndicatorShowMode', [indicatorShowMode], (value) => {
|
6169
|
-
});
|
6170
|
-
},
|
6171
|
-
setLeftIndicatorShowMode(indicatorShowMode) {
|
6172
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6173
|
-
'setLeftIndicatorShowMode', [indicatorShowMode], (value) => {
|
6174
|
-
});
|
6175
|
-
},
|
6176
|
-
setRightIndicatorShowMode(indicatorShowMode) {
|
6177
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6178
|
-
'setRightIndicatorShowMode', [indicatorShowMode], (value) => {
|
6179
|
-
});
|
6180
|
-
},
|
6181
|
-
setIndicatorWidth(indicatorWidth) {
|
6182
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6183
|
-
'setIndicatorWidth', [indicatorWidth], (value) => {
|
6184
|
-
});
|
6185
|
-
},
|
6186
|
-
setLeftIndicatorWidth(indicatorWidth) {
|
6187
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6188
|
-
'setLeftIndicatorWidth', [indicatorWidth], (value) => {
|
6189
|
-
});
|
6190
|
-
},
|
6191
|
-
setRightIndicatorWidth(indicatorWidth) {
|
6192
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6193
|
-
'setRightIndicatorWidth', [indicatorWidth], (value) => {
|
6194
|
-
});
|
6195
|
-
},
|
6196
|
-
|
6197
|
-
setIndicatorHeight(indicatorHeight) {
|
6198
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6199
|
-
'setIndicatorHeight', [indicatorHeight], (value) => {
|
6200
|
-
});
|
6201
|
-
},
|
6202
|
-
setLeftIndicatorHeight(indicatorHeight) {
|
6203
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6204
|
-
'setLeftIndicatorHeight', [indicatorHeight], (value) => {
|
6205
|
-
});
|
6206
|
-
},
|
6207
|
-
setRightIndicatorHeight(indicatorHeight) {
|
6208
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6209
|
-
'setRightIndicatorHeight', [indicatorHeight], (value) => {
|
6210
|
-
});
|
6211
|
-
},
|
6212
|
-
setIndicatorTextDecimalFormat(formatPattern) {
|
6213
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6214
|
-
'setIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
6215
|
-
});
|
6216
|
-
},
|
6217
|
-
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
6218
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6219
|
-
'setLeftIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
6220
|
-
});
|
6221
|
-
},
|
6222
|
-
setRightIndicatorTextDecimalFormat(formatPattern) {
|
6223
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6224
|
-
'setRightIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
6225
|
-
});
|
6226
|
-
},
|
6227
|
-
setIndicatorTextStringFormat(formatPattern) {
|
6228
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6229
|
-
'setIndicatorTextStringFormat', [formatPattern], (value) => {
|
6230
|
-
});
|
6231
|
-
},
|
6232
|
-
setLeftIndicatorTextStringFormat(formatPattern) {
|
6233
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6234
|
-
'setLeftIndicatorTextStringFormat', [formatPattern], (value) => {
|
6235
|
-
});
|
6236
|
-
},
|
6237
|
-
setRightIndicatorTextStringFormat(formatPattern) {
|
6238
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6239
|
-
'setRightIndicatorTextStringFormat', [formatPattern], (value) => {
|
6240
|
-
});
|
6241
|
-
},
|
6242
|
-
setIndicatorMargin(indicatorMargin) {
|
6243
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6244
|
-
'setIndicatorMargin', [indicatorMargin], (value) => {
|
6245
|
-
});
|
6246
|
-
},
|
6247
|
-
setLeftIndicatorMargin(indicatorMargin) {
|
6248
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6249
|
-
'setLeftIndicatorMargin', [indicatorMargin], (value) => {
|
6250
|
-
});
|
6251
|
-
},
|
6252
|
-
setRightIndicatorMargin(indicatorMargin) {
|
6253
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6254
|
-
'setRightIndicatorMargin', [indicatorMargin], (value) => {
|
6255
|
-
});
|
6256
|
-
},
|
6257
|
-
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
6258
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6259
|
-
'setIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
6260
|
-
});
|
6261
|
-
},
|
6262
|
-
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
6263
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6264
|
-
'setLeftIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
6265
|
-
});
|
6266
|
-
},
|
6267
|
-
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
6268
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6269
|
-
'setRightIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
6270
|
-
});
|
6271
|
-
},
|
6272
|
-
setIndicatorPaddingTop(indicatorPaddingTop) {
|
6273
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6274
|
-
'setIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
6275
|
-
});
|
6276
|
-
},
|
6277
|
-
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
6278
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6279
|
-
'setLeftIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
6280
|
-
});
|
6281
|
-
},
|
6282
|
-
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
6283
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6284
|
-
'setRightIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
6285
|
-
});
|
6286
|
-
},
|
6287
|
-
|
6288
|
-
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
6289
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6290
|
-
'setIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
6291
|
-
});
|
6292
|
-
},
|
6293
|
-
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
6294
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6295
|
-
'setLeftIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
6296
|
-
});
|
6297
|
-
},
|
6298
|
-
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
6299
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6300
|
-
'setRightIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
6301
|
-
});
|
6302
|
-
},
|
6303
|
-
setIndicatorPaddingRight(indicatorPaddingRight) {
|
6304
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6305
|
-
'setIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
6306
|
-
});
|
6307
|
-
},
|
6308
|
-
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
6309
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6310
|
-
'setLeftIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
6311
|
-
});
|
6312
|
-
},
|
6313
|
-
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
6314
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6315
|
-
'setRightIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
6316
|
-
});
|
6317
|
-
},
|
6318
|
-
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
6319
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6320
|
-
'setIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
6321
|
-
});
|
6322
|
-
},
|
6323
|
-
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
6324
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6325
|
-
'setLeftIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
6326
|
-
});
|
6327
|
-
},
|
6328
|
-
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
6329
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6330
|
-
'setRightIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
6331
|
-
});
|
6332
|
-
},
|
6333
|
-
setIndicatorRadius(indicatorRadius) {
|
6334
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6335
|
-
'setIndicatorRadius', [indicatorRadius], (value) => {
|
6336
|
-
});
|
6337
|
-
},
|
6338
|
-
setLeftIndicatorRadius(indicatorRadius) {
|
6339
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6340
|
-
'setLeftIndicatorRadius', [indicatorRadius], (value) => {
|
6341
|
-
});
|
6342
|
-
},
|
6343
|
-
setRightIndicatorRadius(indicatorRadius) {
|
6344
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6345
|
-
'setRightIndicatorRadius', [indicatorRadius], (value) => {
|
6346
|
-
});
|
6347
|
-
},
|
6348
|
-
setIndicatorTextSize(indicatorTextSize) {
|
6349
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6350
|
-
'setIndicatorTextSize', [indicatorTextSize], (value) => {
|
6351
|
-
});
|
6352
|
-
},
|
6353
|
-
setLeftIndicatorTextSize(indicatorTextSize) {
|
6354
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6355
|
-
'setLeftIndicatorTextSize', [indicatorTextSize], (value) => {
|
6356
|
-
});
|
6357
|
-
},
|
6358
|
-
setRightIndicatorTextSize(indicatorTextSize) {
|
6359
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6360
|
-
'setRightIndicatorTextSize', [indicatorTextSize], (value) => {
|
6361
|
-
});
|
6362
|
-
},
|
6363
|
-
setIndicatorTextColor(indicatorTextColor) {
|
6364
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6365
|
-
'setIndicatorTextColor', [indicatorTextColor], (value) => {
|
6366
|
-
});
|
6367
|
-
},
|
6368
|
-
setLeftIndicatorTextColor(indicatorTextColor) {
|
6369
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6370
|
-
'setLeftIndicatorTextColor', [indicatorTextColor], (value) => {
|
6371
|
-
});
|
6372
|
-
},
|
6373
|
-
setRightIndicatorTextColor(indicatorTextColor) {
|
6374
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6375
|
-
'setRightIndicatorTextColor', [indicatorTextColor], (value) => {
|
6376
|
-
});
|
6377
|
-
},
|
6378
|
-
setIndicatorArrowSize(indicatorArrowSize) {
|
6379
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6380
|
-
'setIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
6381
|
-
});
|
6382
|
-
},
|
6383
|
-
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
6384
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6385
|
-
'setLeftIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
6386
|
-
});
|
6387
|
-
},
|
6388
|
-
setRightIndicatorArrowSize(indicatorArrowSize) {
|
6389
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6390
|
-
'setRightIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
6391
|
-
});
|
6392
|
-
},
|
6393
|
-
setIndicatorDrawable(indicatorDrawable) {
|
6394
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6395
|
-
'setIndicatorDrawable', [indicatorDrawable], (value) => {
|
6396
|
-
});
|
6397
|
-
},
|
6398
|
-
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
6399
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6400
|
-
'setLeftIndicatorDrawable', [leftIndicatorDrawable], (value) => {
|
6401
|
-
});
|
6402
|
-
},
|
6403
|
-
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
6404
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6405
|
-
'setRightIndicatorDrawable', [rightIndicatorDrawable], (value) => {
|
6406
|
-
});
|
6407
|
-
},
|
6408
|
-
setIndicatorUrl(indicatorUrl) {
|
6409
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6410
|
-
'setIndicatorUrl', [indicatorUrl], (value) => {
|
6411
|
-
});
|
6412
|
-
},
|
6413
|
-
setLeftIndicatorUrl(leftIndicatorUrl) {
|
6414
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6415
|
-
'setLeftIndicatorUrl', [leftIndicatorUrl], (value) => {
|
6416
|
-
});
|
6417
|
-
},
|
6418
|
-
setRightIndicatorUrl(rightIndicatorUrl) {
|
6419
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6420
|
-
'setRightIndicatorUrl', [rightIndicatorUrl], (value) => {
|
6421
|
-
});
|
6422
|
-
},
|
6423
|
-
setThumbWidth(thumbWidth) {
|
6424
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6425
|
-
'setThumbWidth', [thumbWidth], (value) => {
|
6426
|
-
});
|
6427
|
-
},
|
6428
|
-
setLeftThumbWidth(thumbWidth) {
|
6429
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6430
|
-
'setLeftThumbWidth', [thumbWidth], (value) => {
|
6431
|
-
});
|
6432
|
-
},
|
6433
|
-
setRightThumbWidth(thumbWidth) {
|
6434
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6435
|
-
'setRightThumbWidth', [thumbWidth], (value) => {
|
6436
|
-
});
|
6437
|
-
},
|
6438
|
-
setThumbHeight(thumbHeight) {
|
6439
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6440
|
-
'setThumbHeight', [thumbHeight], (value) => {
|
6441
|
-
});
|
6442
|
-
},
|
6443
|
-
setLeftThumbHeight(thumbHeight) {
|
6444
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6445
|
-
'setLeftThumbHeight', [thumbHeight], (value) => {
|
6446
|
-
});
|
6447
|
-
},
|
6448
|
-
setRightThumbHeight(thumbHeight) {
|
6449
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6450
|
-
'setRightThumbHeight', [thumbHeight], (value) => {
|
6451
|
-
});
|
6452
|
-
},
|
6453
|
-
scaleThumb() {
|
6454
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6455
|
-
'scaleThumb', [], (value) => {
|
6456
|
-
});
|
6457
|
-
},
|
6458
|
-
scaleLeftThumb() {
|
6459
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6460
|
-
'scaleLeftThumb', [], (value) => {
|
6461
|
-
});
|
6462
|
-
},
|
6463
|
-
scaleRightThumb() {
|
6464
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6465
|
-
'scaleLeftThumb', [], (value) => {
|
6466
|
-
});
|
6467
|
-
},
|
6468
|
-
resetThumb() {
|
6469
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6470
|
-
'resetThumb', [], (value) => {
|
6471
|
-
});
|
6472
|
-
},
|
6473
|
-
resetLeftThumb() {
|
6474
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6475
|
-
'resetLeftThumb', [], (value) => {
|
6476
|
-
});
|
6477
|
-
},
|
6478
|
-
resetRightThumb() {
|
6479
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6480
|
-
'resetRightThumb', [], (value) => {
|
6481
|
-
});
|
6482
|
-
},
|
6483
|
-
setThumbScaleRatio(thumbScaleRatio) {
|
6484
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6485
|
-
'setThumbScaleRatio', [thumbScaleRatio], (value) => {
|
6486
|
-
});
|
6487
|
-
},
|
6488
|
-
setLeftThumbScaleRatio(thumbScaleRatio) {
|
6489
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6490
|
-
'setLeftThumbScaleRatio', [thumbScaleRatio], (value) => {
|
6491
|
-
});
|
6492
|
-
},
|
6493
|
-
setRightThumbScaleRatio(thumbScaleRatio) {
|
6494
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6495
|
-
'setRightThumbScaleRatio', [thumbScaleRatio], (value) => {
|
6496
|
-
});
|
6497
|
-
},
|
6498
|
-
setThumbActivate(activate) {
|
6499
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6500
|
-
'setThumbActivate', [activate], (value) => {
|
6501
|
-
});
|
6502
|
-
},
|
6503
|
-
setLeftThumbActivate(activate) {
|
6504
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6505
|
-
'setLeftThumbActivate', [activate], (value) => {
|
6506
|
-
});
|
6507
|
-
},
|
6508
|
-
setRightThumbActivate(activate) {
|
6509
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6510
|
-
'setRightThumbActivate', [activate], (value) => {
|
6511
|
-
});
|
6512
|
-
},
|
6513
|
-
setThumbDrawable(drawable) {
|
6514
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6515
|
-
'setThumbDrawable', [drawable], (value) => {
|
6516
|
-
});
|
6517
|
-
},
|
6518
|
-
setLeftThumbDrawable(drawable) {
|
6519
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6520
|
-
'setLeftThumbDrawable', [drawable], (value) => {
|
6521
|
-
});
|
6522
|
-
},
|
6523
|
-
setRightThumbDrawable(drawable) {
|
6524
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6525
|
-
'setRightThumbDrawable', [drawable], (value) => {
|
6526
|
-
});
|
6527
|
-
},
|
6528
|
-
setThumbUrl(url) {
|
6529
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6530
|
-
'setThumbUrl', [url], (value) => {
|
6531
|
-
});
|
6532
|
-
},
|
6533
|
-
setLeftThumbUrl(url) {
|
6534
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6535
|
-
'setLeftThumbUrl', [url], (value) => {
|
6536
|
-
});
|
6537
|
-
},
|
6538
|
-
setRightThumbUrl(url) {
|
6539
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6540
|
-
'setRightThumbUrl', [url], (value) => {
|
6541
|
-
});
|
6542
|
-
},
|
6543
|
-
setThumbInactivatedDrawable(drawable) {
|
6544
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6545
|
-
'setThumbInactivatedDrawable', [drawable], (value) => {
|
6546
|
-
});
|
6547
|
-
},
|
6548
|
-
setLeftThumbInactivatedDrawable(drawable) {
|
6549
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6550
|
-
'setLeftThumbInactivatedDrawable', [drawable], (value) => {
|
6551
|
-
});
|
6552
|
-
},
|
6553
|
-
setRightThumbInactivatedDrawable(drawable) {
|
6554
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6555
|
-
'setRightThumbInactivatedDrawable', [drawable], (value) => {
|
6556
|
-
});
|
6557
|
-
},
|
6558
|
-
setThumbInactivatedUrl(url) {
|
6559
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6560
|
-
'setThumbInactivatedUrl', [url], (value) => {
|
6561
|
-
});
|
6562
|
-
},
|
6563
|
-
setLeftThumbInactivatedUrl(url) {
|
6564
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6565
|
-
'setLeftThumbInactivatedUrl', [url], (value) => {
|
6566
|
-
});
|
6567
|
-
},
|
6568
|
-
setRightThumbInactivatedUrl(url) {
|
6569
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6570
|
-
'setRightThumbInactivatedUrl', [url], (value) => {
|
6571
|
-
});
|
6572
|
-
},
|
6573
|
-
setTickMarkMode(tickMarkMode) {
|
6574
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6575
|
-
'setTickMarkMode', [tickMarkMode], (value) => {
|
6576
|
-
});
|
6577
|
-
},
|
6578
|
-
setTickMarkGravity(tickMarkGravity) {
|
6579
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6580
|
-
'setTickMarkGravity', [tickMarkGravity], (value) => {
|
6581
|
-
});
|
6582
|
-
},
|
6583
|
-
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
6584
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6585
|
-
'setTickMarkLayoutGravity', [tickMarkLayoutGravity], (value) => {
|
6586
|
-
});
|
6587
|
-
},
|
6588
|
-
setTickMarkTextArray(tickMarkTextArray) {
|
6589
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6590
|
-
'setTickMarkTextArray', [tickMarkTextArray], (value) => {
|
6591
|
-
});
|
6592
|
-
},
|
6593
|
-
setTickMarkTextMargin(tickMarkTextMargin) {
|
6594
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6595
|
-
'setTickMarkTextMargin', [tickMarkTextMargin], (value) => {
|
6596
|
-
});
|
6597
|
-
},
|
6598
|
-
setTickMarkTextSize(tickMarkTextSize) {
|
6599
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6600
|
-
'setTickMarkTextSize', [tickMarkTextSize], (value) => {
|
6601
|
-
});
|
6602
|
-
},
|
6603
|
-
setTickMarkTextColor(tickMarkTextColor) {
|
6604
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6605
|
-
'setTickMarkTextColor', [tickMarkTextColor], (value) => {
|
6606
|
-
});
|
6607
|
-
},
|
6608
|
-
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
6609
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6610
|
-
'setTickMarkInRangeTextColor', [tickMarkInRangeTextColor], (value) => {
|
6611
|
-
});
|
6612
|
-
},
|
6613
|
-
setSteps(steps) {
|
6614
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6615
|
-
'setSteps', [steps], (value) => {
|
6616
|
-
});
|
6617
|
-
},
|
6618
|
-
setStepsWidth(stepsWidth) {
|
6619
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6620
|
-
'setStepsWidth', [stepsWidth], (value) => {
|
6621
|
-
});
|
6622
|
-
},
|
6623
|
-
setStepsHeight(stepsHeight) {
|
6624
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6625
|
-
'setStepsHeight', [stepsHeight], (value) => {
|
6626
|
-
});
|
6627
|
-
},
|
6628
|
-
setStepsRadius(stepsRadius) {
|
6629
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6630
|
-
'setStepsRadius', [stepsRadius], (value) => {
|
6631
|
-
});
|
6632
|
-
},
|
6633
|
-
setStepsColor(stepsColor) {
|
6634
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6635
|
-
'setStepsColor', [stepsColor], (value) => {
|
6636
|
-
});
|
6637
|
-
},
|
6638
|
-
setStepsAutoBonding(stepsAutoBonding) {
|
6639
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6640
|
-
'setStepsAutoBonding', [stepsAutoBonding], (value) => {
|
6641
|
-
});
|
6642
|
-
},
|
6643
|
-
setStepsDrawable(drawableArray) {
|
6644
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6645
|
-
'setStepsDrawable', [drawableArray], (value) => {
|
6646
|
-
});
|
6647
|
-
},
|
6648
|
-
setStepsUrl(urlArray) {
|
6649
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6650
|
-
'setStepsUrl', [urlArray], (value) => {
|
6651
|
-
});
|
6652
|
-
},
|
6653
|
-
setMaxProgress(progress) {
|
6654
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6655
|
-
'setMaxProgress', [progress], (res) => {
|
6656
|
-
});
|
6657
|
-
},
|
6658
|
-
setSecondProgress(progress) {
|
6659
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6660
|
-
'setSecondProgress', [progress], (res) => {
|
6661
|
-
});
|
6662
|
-
},
|
6663
|
-
show(value) {
|
6664
|
-
Vue.Native.callUIFunction(this.$refs.progressbar,
|
6665
|
-
'show', [value], (res) => {
|
6666
|
-
});
|
6667
|
-
},
|
6668
|
-
onSeekBarChange(evt) {
|
6669
|
-
this.$emit('seek-change', evt);
|
6670
|
-
},
|
6671
|
-
},
|
6672
|
-
render(h) {
|
6673
|
-
const on = getEventRedirector.call(this, [
|
6674
|
-
['seek-change', 'seekBarChange'],
|
6675
|
-
]);
|
6676
|
-
return h('TVProgressBarViewComponent',
|
6677
|
-
{
|
6678
|
-
on,
|
6679
|
-
ref: 'progressbar'
|
6680
|
-
}, this.$slots.default
|
6681
|
-
);
|
6682
|
-
}
|
6683
|
-
});
|
6684
|
-
}
|
6685
|
-
|
6686
|
-
function ESLoadingViewComponent() {
|
6687
|
-
Vue.registerElement('LoadingViewComponent', {
|
6688
|
-
component: {
|
6689
|
-
name: 'LoadingViewComponent'
|
6690
|
-
},
|
6691
|
-
});
|
6692
|
-
|
6693
|
-
Vue.component('loading-view', {
|
6694
|
-
|
6695
|
-
render(h) {
|
6696
|
-
return h('LoadingViewComponent',
|
6697
|
-
{
|
6698
|
-
ref: 'LoadingView'
|
6699
|
-
}, this.$slots.default
|
6700
|
-
);
|
6701
|
-
}
|
6702
|
-
});
|
6703
|
-
}
|
6704
|
-
|
6705
|
-
function ESTransitionImageViewComponent() {
|
6706
|
-
Vue.registerElement('TransitionImageComponent', {
|
6707
|
-
component: {
|
6708
|
-
name: 'TransitionImageComponent'
|
6709
|
-
},
|
6710
|
-
});
|
6711
|
-
|
6712
|
-
Vue.component('img-transition', {
|
6713
|
-
methods: {
|
6714
|
-
setNextColor(color) {
|
6715
|
-
Vue.Native.callUIFunction(this.$refs.transitionImageComponent,
|
6716
|
-
'setNextColor', [color], (res) => {
|
6717
|
-
});
|
6718
|
-
},
|
6719
|
-
setNextImage(url) {
|
6720
|
-
Vue.Native.callUIFunction(this.$refs.transitionImageComponent,
|
6721
|
-
'setNextImage', [url], (res) => {
|
6722
|
-
});
|
6723
|
-
},
|
6724
|
-
setTransitionTime(duration) {
|
6725
|
-
Vue.Native.callUIFunction(this.$refs.transitionImageComponent,
|
6726
|
-
'setTransitionTime', [duration], (res) => {
|
6727
|
-
});
|
6728
|
-
},
|
6729
|
-
},
|
6730
|
-
render(h) {
|
6731
|
-
return h('TransitionImageComponent',
|
6732
|
-
{
|
6733
|
-
ref: 'transitionImageComponent'
|
6734
|
-
}, this.$slots.default
|
6735
|
-
);
|
6736
|
-
}
|
6737
|
-
});
|
6738
|
-
}
|
6739
|
-
|
6740
|
-
function ESQRCodeViewComponent() {
|
6741
|
-
Vue.registerElement('QrCodeComponent', {
|
6742
|
-
component: {
|
6743
|
-
name: 'QrCodeComponent'
|
6744
|
-
},
|
6745
|
-
});
|
6746
|
-
|
6747
|
-
Vue.component('qr-view', {
|
6748
|
-
|
6749
|
-
render(h) {
|
6750
|
-
return h('QrCodeComponent',
|
6751
|
-
{
|
6752
|
-
ref: 'qrCode'
|
6753
|
-
}, this.$slots.default
|
6754
|
-
);
|
6755
|
-
}
|
6756
|
-
});
|
6757
|
-
}
|
6758
|
-
|
6759
|
-
function ESTextViewComponent() {
|
6760
|
-
|
6761
|
-
Vue.registerElement('TextView', {
|
6762
|
-
component: {
|
6763
|
-
name: 'TextView',
|
6764
|
-
},
|
6765
|
-
});
|
6766
|
-
Vue.component('text-view', {
|
6767
|
-
render(h) {
|
6768
|
-
return h('TextView',
|
6769
|
-
{
|
6770
|
-
ref: 'TextView',
|
6771
|
-
}, this.$slots.default
|
6772
|
-
);
|
6773
|
-
},
|
6774
|
-
});
|
6775
|
-
}
|
6776
|
-
|
6777
|
-
function ESScrollViewComponent() {
|
6778
|
-
Vue.registerElement('ScrollView', {
|
6779
|
-
inheritAttrs: false,
|
6780
|
-
component: {
|
6781
|
-
name: 'ScrollView'
|
6782
|
-
},
|
6783
|
-
});
|
6784
|
-
|
6785
|
-
Vue.component('scroll-view', {
|
6786
|
-
methods: {
|
6787
|
-
scrollTo(x, y, animation) {
|
6788
|
-
Vue.Native.callUIFunction(this.$refs.scrollView, 'scrollTo', [x, y, animation]);
|
6789
|
-
},
|
6790
|
-
},
|
6791
|
-
render(h) {
|
6792
|
-
return h('ScrollView',
|
6793
|
-
{
|
6794
|
-
ref: 'scrollView'
|
6795
|
-
}, this.$slots.default
|
6796
|
-
);
|
6797
|
-
}
|
6798
|
-
});
|
6799
|
-
}
|
6800
|
-
|
6801
|
-
function ESPageRootViewComponent() {
|
6802
|
-
Vue.registerElement('ESPageRootView', {
|
6803
|
-
component: {
|
6804
|
-
name: 'ESPageRootView',
|
6805
|
-
processEventData(event, nativeEventName, nativeEventParams) {
|
6806
|
-
switch (nativeEventName) {
|
6807
|
-
case 'onLifecycleChange':
|
6808
|
-
event.lifecycle = nativeEventParams;
|
6809
|
-
break;
|
6810
|
-
case 'onDispatchKeyEvent':
|
6811
|
-
event.keyEvent = nativeEventParams;
|
6812
|
-
break;
|
6813
|
-
}
|
6814
|
-
return event;
|
6815
|
-
},
|
6816
|
-
},
|
6817
|
-
});
|
6818
|
-
Vue.component('page', {
|
6819
|
-
methods: {
|
6820
|
-
onLifecycleChange(evt) {
|
6821
|
-
this.$emit("onLifecycleChange", evt);
|
6822
|
-
},
|
6823
|
-
onDispatchKeyEvent(evt) {
|
6824
|
-
this.$emit("onDispatchKeyEvent", evt);
|
6825
|
-
},
|
6826
|
-
},
|
6827
|
-
render(h) {
|
6828
|
-
const on = getEventRedirector.call(this, [
|
6829
|
-
['onLifecycleChange', 'lifecycleChange'],
|
6830
|
-
['onDispatchKeyEvent', 'dispatchKeyEvent'],
|
6831
|
-
]);
|
6832
|
-
return h('ESPageRootView',
|
6833
|
-
{
|
6834
|
-
on,
|
6835
|
-
ref: 'pageRootView',
|
6836
|
-
}, this.$slots.default
|
6837
|
-
);
|
6838
|
-
},
|
6839
|
-
});
|
6840
|
-
}
|
6841
|
-
|
6842
|
-
function ESPageRouterViewComponent() {
|
6843
|
-
Vue.registerElement('ESPageRouterView', {
|
6844
|
-
component: {
|
6845
|
-
name: 'ESPageRouterView',
|
6846
|
-
},
|
6847
|
-
});
|
6848
|
-
Vue.component('page-router', {
|
6849
|
-
render(h) {
|
6850
|
-
return h('ESPageRouterView',
|
6851
|
-
{
|
6852
|
-
ref: 'ESPageRouterView',
|
6853
|
-
}, this.$slots.default
|
6854
|
-
);
|
6855
|
-
},
|
6856
|
-
methods: {}
|
6857
|
-
});
|
6858
|
-
}
|
6859
|
-
|
6860
|
-
function ESSurfaceViewComponent() {
|
6861
|
-
Vue.registerElement('ESSurfaceViewComponent', {
|
6862
|
-
component: {
|
6863
|
-
name: 'ESSurfaceViewComponent',
|
6864
|
-
processEventData(event, nativeEventName, nativeEventParams) {
|
6865
|
-
switch (nativeEventName) {
|
6866
|
-
case 'onFocus':
|
6867
|
-
event.isFocused = nativeEventParams.isFocused;
|
6868
|
-
break;
|
6869
|
-
}
|
6870
|
-
return event;
|
6871
|
-
},
|
6872
|
-
},
|
6873
|
-
});
|
6874
|
-
|
6875
|
-
Vue.component('es-surface-view-component', {
|
6876
|
-
methods: {
|
6877
|
-
onFocusChange(evt) {
|
6878
|
-
this.$emit('focus', evt);
|
6879
|
-
},
|
6880
|
-
},
|
6881
|
-
|
6882
|
-
render(h) {
|
6883
|
-
const on = getEventRedirector.call(this, [
|
6884
|
-
['focus', 'focusChange'],
|
6885
|
-
]);
|
6886
|
-
return h('ESSurfaceViewComponent',
|
6887
|
-
{
|
6888
|
-
on,
|
6889
|
-
ref: 'surfaceView',
|
6890
|
-
}, this.$slots.default);
|
6891
|
-
},
|
6892
|
-
});
|
6893
|
-
}
|
6894
|
-
|
6895
|
-
//
|
6896
|
-
const ES_NETWORK_INFO_STATE_CONNECTING = 0;
|
6897
|
-
const ES_NETWORK_INFO_STATE_CONNECTED = 1;
|
6898
|
-
const ES_NETWORK_INFO_STATE_SUSPENDED = 2;
|
6899
|
-
const ES_NETWORK_INFO_STATE_DISCONNECTING = 3;
|
6900
|
-
const ES_NETWORK_INFO_STATE_DISCONNECTED = 4;
|
6901
|
-
const ES_NETWORK_INFO_STATE_UNKNOWN = 5;
|
6902
|
-
|
6903
|
-
//
|
6904
|
-
const ES_NETWORK_INFO_TYPE_NONE = -1;
|
6905
|
-
const ES_NETWORK_INFO_TYPE_MOBILE = 0;
|
6906
|
-
const ES_NETWORK_INFO_TYPE_WIFI = 1;
|
6907
|
-
const ES_NETWORK_INFO_TYPE_ETHERNET = 9;
|
6908
|
-
|
6909
|
-
const TAG = 'ESApplication';
|
6910
|
-
|
6911
|
-
var ESApplication = {
|
6912
|
-
mixins: [ESRouter, ESEventBusEvent],
|
6913
|
-
data() {
|
6914
|
-
return {
|
6915
|
-
appInitProps: {},
|
6916
|
-
appInitUrl: '',
|
6917
|
-
appInitParams: {},
|
6918
|
-
autoLaunchMainESPage: true,
|
6919
|
-
};
|
6920
|
-
},
|
6921
|
-
mounted() {
|
6922
|
-
this._initES();
|
6923
|
-
},
|
6924
|
-
methods: {
|
6925
|
-
_initES() {
|
6926
|
-
Promise.resolve()
|
6927
|
-
.then(() => ES$1.init({
|
6928
|
-
router: this.$router
|
6929
|
-
})
|
6930
|
-
)
|
6931
|
-
.then((result) => {
|
6932
|
-
this._initESApplication();
|
6933
|
-
},
|
6934
|
-
error => {
|
6935
|
-
this._initESApplication();
|
6936
|
-
}
|
6937
|
-
);
|
6938
|
-
},
|
6939
|
-
_initESApplication() {
|
6940
|
-
ESLaunchManager$1.setRouteListener(this._routeListener);
|
6941
|
-
this._initESAppParams();
|
6942
|
-
},
|
6943
|
-
_routeListener(url, params) {
|
6944
|
-
this.onLaunchESPage(url, params);
|
6945
|
-
},
|
6946
|
-
_initESAppParams() {
|
6947
|
-
//
|
6948
|
-
this.appInitProps = ESApp.$options.$superProps;
|
6949
|
-
//
|
6950
|
-
this.appInitUrl = ESApp.$options.$superProps.url;
|
6951
|
-
this.appInitParams = ESApp.$options.$superProps.params;
|
6952
|
-
|
6953
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
6954
|
-
try {
|
6955
|
-
ESLog.d(TAG, `--------initESAppParams--->>>>>`
|
6956
|
-
+ '\nAppInitUrl:' + this.appInitUrl
|
6957
|
-
+ '\nAppInitParams:' + JSON.stringify(this.appInitParams)
|
6958
|
-
);
|
6959
|
-
} catch (e) {
|
6960
|
-
}
|
6961
|
-
}
|
6962
|
-
|
6963
|
-
if (!this.appInitUrl) {
|
6964
|
-
this.appInitUrl = this.$router.options.main;
|
6965
|
-
}
|
6966
|
-
if (!(this._isRoutePathValid(this.appInitUrl) || this._isRouteNameValid(this.appInitUrl))) {
|
6967
|
-
this.appInitUrl = this.$router.options.error;
|
6968
|
-
}
|
6969
|
-
//
|
6970
|
-
this._initESApp();
|
6971
|
-
},
|
6972
|
-
_initESApp() {
|
6973
|
-
if (this._isFunction(this.onESCreate)) {
|
6974
|
-
let result = this.onESCreate(this.appInitProps);
|
6975
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
6976
|
-
ESLog.d(TAG, '---------onESCreate---------->>>>', result);
|
6977
|
-
}
|
6978
|
-
if (result instanceof Promise) {
|
6979
|
-
result.then(
|
6980
|
-
(success) => {
|
6981
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
6982
|
-
ESLog.d(TAG, '---------onESCreate---Promise---success---->>>>');
|
6983
|
-
}
|
6984
|
-
this._onESCreated(true);
|
6985
|
-
},
|
6986
|
-
error => {
|
6987
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
6988
|
-
console.log(TAG, '---------onESCreate---Promise---error---->>>>', error);
|
6989
|
-
}
|
6990
|
-
this._onESCreated(false);
|
6991
|
-
}
|
6992
|
-
);
|
6993
|
-
}
|
6994
|
-
//
|
6995
|
-
else {
|
6996
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
6997
|
-
ESLog.d(TAG, '---------onESCreate--return-Not Promise----->>>>');
|
6998
|
-
}
|
6999
|
-
this._onESCreated(true);
|
7000
|
-
}
|
7001
|
-
}
|
7002
|
-
//
|
7003
|
-
else {
|
7004
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
7005
|
-
ESLog.d(TAG, '---------onESCreate---Not Function----->>>>');
|
7006
|
-
}
|
7007
|
-
this._onESCreated(true);
|
7008
|
-
}
|
7009
|
-
},
|
7010
|
-
_onESCreated(success) {
|
7011
|
-
try {
|
7012
|
-
this.onESCreated(success);
|
7013
|
-
} catch (e) {
|
7014
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
7015
|
-
ESLog.d(TAG, '---------onESCreated---error---->>>>');
|
7016
|
-
}
|
7017
|
-
}
|
7018
|
-
if (this.autoLaunchMainESPage) {
|
7019
|
-
this.launchMainESPage();
|
7020
|
-
}
|
7021
|
-
},
|
7022
|
-
launchMainESPage() {//launchESPage
|
7023
|
-
let route = {
|
7024
|
-
name: this.appInitUrl,
|
7025
|
-
params: this.appInitParams,
|
7026
|
-
};
|
7027
|
-
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
7028
|
-
ESLog.i(TAG, '---------onESCreate---initPage----->>>>', route);
|
7029
|
-
}
|
7030
|
-
this.$router.push(route);
|
7031
|
-
},
|
7032
|
-
_isFunction(func) {
|
7033
|
-
return Object.prototype.toString.call(func) === '[object Function]';
|
7034
|
-
},
|
7035
|
-
_isRoutePathValid(path) {
|
7036
|
-
if (path !== undefined && path !== '') {
|
7037
|
-
let index = this.$router.options.routes.findIndex((item) => item.path === `/${path}`);
|
7038
|
-
if (index !== -1) {
|
7039
|
-
return true;
|
7040
|
-
}
|
7041
|
-
}
|
7042
|
-
return false;
|
7043
|
-
},
|
7044
|
-
_isRouteNameValid(name) {
|
7045
|
-
if (name !== undefined && name !== '') {
|
7046
|
-
let index = this.$router.options.routes.findIndex((item) => item.path === `${name}`);
|
7047
|
-
if (index !== -1) {
|
7048
|
-
return true;
|
7049
|
-
}
|
7050
|
-
}
|
7051
|
-
return false;
|
7052
|
-
},
|
7053
|
-
//---------------------------下面的方法给使用者覆写-----------------------------
|
7054
|
-
onESCreated(success) {
|
7055
|
-
|
4036
|
+
//---------------------------下面的方法给使用者覆写-----------------------------
|
4037
|
+
onESCreated(success) {
|
4038
|
+
|
7056
4039
|
},
|
7057
4040
|
onLaunchESPage(url, params) {
|
7058
4041
|
|
@@ -7247,18 +4230,4 @@ const ES_KEYCODE_ESCAPE = 111;
|
|
7247
4230
|
const ES_KEYCODE_MENU = 82;
|
7248
4231
|
const ES_KEYCODE_SEARCH = 84;
|
7249
4232
|
|
7250
|
-
|
7251
|
-
const ES_ACCELERATE_DECELERATE_INTERPOLATOR = 1;
|
7252
|
-
const ES_ACCELERATE_INTERPOLATOR = 2;
|
7253
|
-
const ES_ANTICIPATE_INTERPOLATOR = 3;
|
7254
|
-
const ES_ANTICIPATE_OVERSHOOT_INTERPOLATOR = 4;
|
7255
|
-
const ES_BOUNCE_INTERPOLATOR = 5;
|
7256
|
-
const ES_CYCLE_INTERPOLATOR = 6;
|
7257
|
-
const ES_DECELERATE_INTERPOLATOR = 7;
|
7258
|
-
const ES_LINEAR_INTERPOLATOR = 8;
|
7259
|
-
const ES_OVERSHOOT_INTERPOLATOR = 9;
|
7260
|
-
const ES_FAST_OUT_LINEAR_IN_INTERPOLATOR = 10;
|
7261
|
-
const ES_FAST_OUT_SLOW_IN_INTERPOLATOR = 11;
|
7262
|
-
const ES_PATH_INTERPOLATOR = 12;
|
7263
|
-
|
7264
|
-
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, ESBroadcast, ESBroadcastManager$1 as ESBroadcastManager, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESEventBus$1 as ESEventBus, ESEventBusEvent, ESFile, ESFileModule$1 as ESFileModule, ESFocusManager$1 as ESFocusManager, ESFocusModule$1 as ESFocusModule, ESKeyEvent, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLoadingViewComponent, ESLocalStorage$1 as ESLocalStorage, 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_SDK_VERSION_20, ES_SDK_VERSION_21, ES_SDK_VERSION_22, ES_SDK_VERSION_22_1, 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, Toast$1 as Toast, getESApp, setESApp };
|
4233
|
+
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, ESApp, ESAppManager$1 as ESAppManager, ESAppModule$1 as ESAppModule, ESApplication, ESAudioManager$1 as ESAudioManager, ESAudioModule$1 as ESAudioModule, ESBackPress, ESBackPressMixin, ESBroadcast, ESBroadcastManager$1 as ESBroadcastManager, ESDevelopManager$1 as ESDevelopManager, ESDevelopModule$1 as ESDevelopModule, ESDeviceManager$1 as ESDeviceManager, ESDeviceModule$1 as ESDeviceModule, ESDisplayManager$1 as ESDisplayManager, ESEventBus$1 as ESEventBus, ESEventBusEvent, ESFile, ESFileModule$1 as ESFileModule, ESFocusManager$1 as ESFocusManager, ESFocusModule$1 as ESFocusModule, ESKeyEvent, ESKeyEventMixin, ESLaunchManager$1 as ESLaunchManager, ESLocalStorage$1 as ESLocalStorage, 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, 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, ESRouter, ESSharedPreferencesManager$1 as ESSharedPreferencesManager, ESSharedPreferencesModule$1 as ESSharedPreferencesModule, ESStorageManager$1 as ESStorageManager, ESStorageModule$1 as ESStorageModule, ESToast$1 as ESToast, ToastModule as ESToastModule, ESUsbDevice, ESUsbDeviceManager$1 as ESUsbDeviceManager, ESUsbDeviceMixin, ESUsbDeviceModule$1 as ESUsbDeviceModule, 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_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_SDK_VERSION_20, ES_SDK_VERSION_21, ES_SDK_VERSION_22, ES_SDK_VERSION_22_1, 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, Toast$1 as Toast, getESApp, setESApp };
|