@extscreen/es-core 2.2.62 → 2.2.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2243 -220
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1123,6 +1123,7 @@ class ESModule {
|
|
1123
1123
|
pageTag: params.pageTag,
|
1124
1124
|
pageLimit: params.pageLimit,
|
1125
1125
|
backgroundColor: params.backgroundColor,
|
1126
|
+
splash: params.splash,
|
1126
1127
|
});
|
1127
1128
|
}
|
1128
1129
|
|
@@ -2052,11 +2053,6 @@ var ESUsbDevice = {
|
|
2052
2053
|
*/
|
2053
2054
|
class ESMMapModule {
|
2054
2055
|
|
2055
|
-
initESPackageName(packageName) {
|
2056
|
-
return Vue.Native.callNativeWithPromise('AndroidMMapModule', 'initESPackageName',
|
2057
|
-
packageName);
|
2058
|
-
}
|
2059
|
-
|
2060
2056
|
//
|
2061
2057
|
getBoolean(packageName, key, defValue) {
|
2062
2058
|
return Vue.Native.callNativeWithPromise('AndroidMMapModule', 'getBoolean',
|
@@ -2126,6 +2122,92 @@ class ESMMapModule {
|
|
2126
2122
|
|
2127
2123
|
var ESMMapModule$1 = new ESMMapModule();
|
2128
2124
|
|
2125
|
+
/**
|
2126
|
+
*
|
2127
|
+
*/
|
2128
|
+
|
2129
|
+
class ESManager {
|
2130
|
+
|
2131
|
+
_esSdkVersionCode = null;
|
2132
|
+
_esSdkVersionName = null;
|
2133
|
+
_esSdkPackageName = null;
|
2134
|
+
_esMiniProgramPath = null;
|
2135
|
+
_esKitVersionCode = -1;
|
2136
|
+
_esSdkSchemes = [];
|
2137
|
+
_runtimePath = null;
|
2138
|
+
|
2139
|
+
_esSdkInfo = null;
|
2140
|
+
|
2141
|
+
|
2142
|
+
init() {
|
2143
|
+
return Promise.resolve()
|
2144
|
+
.then(() => this.initESInfoPromise())
|
2145
|
+
}
|
2146
|
+
|
2147
|
+
initESInfoPromise() {
|
2148
|
+
return ESModule$1.getESSDKInfo()
|
2149
|
+
.then((result) => {
|
2150
|
+
this._esSdkInfo = result;
|
2151
|
+
if (result) {
|
2152
|
+
this._esSdkVersionCode = result.versionCode;
|
2153
|
+
this._esSdkVersionName = result.versionName;
|
2154
|
+
this._esSdkPackageName = result.packageName;
|
2155
|
+
this._esMiniProgramPath = result.miniProgramPath;
|
2156
|
+
this._esSdkSchemes = result.schemes;
|
2157
|
+
if (result.eskit_ver_code) {
|
2158
|
+
this._esKitVersionCode = result.eskit_ver_code;
|
2159
|
+
}
|
2160
|
+
//
|
2161
|
+
this._runtimePath = result.runtimePath;
|
2162
|
+
}
|
2163
|
+
return Promise.resolve();
|
2164
|
+
}
|
2165
|
+
);
|
2166
|
+
}
|
2167
|
+
|
2168
|
+
getESSDKInfo() {
|
2169
|
+
return this._esSdkInfo;
|
2170
|
+
}
|
2171
|
+
|
2172
|
+
getESSDKVersionCode() {
|
2173
|
+
return this._esKitVersionCode;
|
2174
|
+
}
|
2175
|
+
|
2176
|
+
getESSDKVersionName() {
|
2177
|
+
return this._esSdkVersionName;
|
2178
|
+
}
|
2179
|
+
|
2180
|
+
getESPackageName() {
|
2181
|
+
return this._esSdkPackageName;
|
2182
|
+
}
|
2183
|
+
|
2184
|
+
getESVersionCode() {
|
2185
|
+
return this._esSdkVersionCode;
|
2186
|
+
}
|
2187
|
+
|
2188
|
+
getESVersionName() {
|
2189
|
+
return this._esSdkVersionName;
|
2190
|
+
}
|
2191
|
+
|
2192
|
+
getESMiniProgramPath() {
|
2193
|
+
return this._esMiniProgramPath;
|
2194
|
+
}
|
2195
|
+
|
2196
|
+
getESAppPath() {
|
2197
|
+
return this._esMiniProgramPath;
|
2198
|
+
}
|
2199
|
+
|
2200
|
+
getESAppRuntimePath() {
|
2201
|
+
return this._runtimePath;
|
2202
|
+
}
|
2203
|
+
|
2204
|
+
getESSDKSupportSchemes() {
|
2205
|
+
return this._esSdkSchemes;
|
2206
|
+
}
|
2207
|
+
}
|
2208
|
+
|
2209
|
+
var ESManager$1 = new ESManager();
|
2210
|
+
|
2129
2211
|
/**
|
2130
2212
|
*
|
2131
2213
|
*/
|
@@ -2135,6 +2217,7 @@ class ESMMapManager {
|
|
2135
2217
|
_packageName = "";
|
2136
2218
|
|
2137
2219
|
init() {
|
2220
|
+
this._packageName = ESManager$1.getESPackageName();
|
2138
2221
|
return Promise.resolve();
|
2139
2222
|
}
|
2140
2223
|
|
@@ -2142,12 +2225,7 @@ class ESMMapManager {
|
|
2142
2225
|
return this._packageName;
|
2143
2226
|
}
|
2144
2227
|
|
2145
|
-
|
2146
|
-
this._packageName = packageName;
|
2147
|
-
return ESMMapModule$1.initESPackageName(packageName);
|
2148
|
-
}
|
2149
|
-
|
2150
|
-
//-----------------------------------------------------------
|
2228
|
+
//---------------------------操作自己的共享内存--------------------------------
|
2151
2229
|
//
|
2152
2230
|
getBoolean(key, defValue) {
|
2153
2231
|
return ESMMapModule$1.getBoolean(this.getPackageName(), key, defValue);
|
@@ -2202,7 +2280,7 @@ class ESMMapManager {
|
|
2202
2280
|
return ESMMapModule$1.putMap(this.getPackageName(), key, value, mode);
|
2203
2281
|
}
|
2204
2282
|
|
2205
|
-
|
2283
|
+
//----------------------------操作其他APP的共享内存-----------------------------------
|
2206
2284
|
//
|
2207
2285
|
getSharedBoolean(packageName, key, defValue) {
|
2208
2286
|
return ESMMapModule$1.getBoolean(packageName, key, defValue);
|
@@ -2301,88 +2379,6 @@ class ESDisplayManager {
|
|
2301
2379
|
|
2302
2380
|
var ESDisplayManager$1 = new ESDisplayManager();
|
2303
2381
|
|
2304
|
-
/**
|
2305
|
-
*
|
2306
|
-
*/
|
2307
|
-
|
2308
|
-
class ESManager {
|
2309
|
-
|
2310
|
-
_esSdkVersionCode = null;
|
2311
|
-
_esSdkVersionName = null;
|
2312
|
-
_esSdkPackageName = null;
|
2313
|
-
_esMiniProgramPath = null;
|
2314
|
-
_esKitVersionCode = -1;
|
2315
|
-
_esSdkSchemes = [];
|
2316
|
-
_runtimePath = null;
|
2317
|
-
|
2318
|
-
_esSdkInfo = null;
|
2319
|
-
|
2320
|
-
|
2321
|
-
init() {
|
2322
|
-
return Promise.resolve()
|
2323
|
-
.then(() => this.initESInfoPromise())
|
2324
|
-
}
|
2325
|
-
|
2326
|
-
initESInfoPromise() {
|
2327
|
-
return ESModule$1.getESSDKInfo()
|
2328
|
-
.then((result) => {
|
2329
|
-
this._esSdkInfo = result;
|
2330
|
-
if (result) {
|
2331
|
-
this._esSdkVersionCode = result.versionCode;
|
2332
|
-
this._esSdkVersionName = result.versionName;
|
2333
|
-
this._esSdkPackageName = result.packageName;
|
2334
|
-
this._esMiniProgramPath = result.miniProgramPath;
|
2335
|
-
this._esSdkSchemes = result.schemes;
|
2336
|
-
if (result.eskit_ver_code) {
|
2337
|
-
this._esKitVersionCode = result.eskit_ver_code;
|
2338
|
-
}
|
2339
|
-
//
|
2340
|
-
this._runtimePath = result.runtimePath;
|
2341
|
-
}
|
2342
|
-
return Promise.resolve();
|
2343
|
-
}
|
2344
|
-
);
|
2345
|
-
}
|
2346
|
-
|
2347
|
-
getESSDKInfo() {
|
2348
|
-
return this._esSdkInfo;
|
2349
|
-
}
|
2350
|
-
|
2351
|
-
getESSDKVersionCode() {
|
2352
|
-
return this._esKitVersionCode;
|
2353
|
-
}
|
2354
|
-
|
2355
|
-
getESSDKVersionName() {
|
2356
|
-
return this._esSdkVersionName;
|
2357
|
-
}
|
2358
|
-
|
2359
|
-
getESPackageName() {
|
2360
|
-
return this._esSdkPackageName;
|
2361
|
-
}
|
2362
|
-
|
2363
|
-
getESVersionCode() {
|
2364
|
-
return this._esSdkVersionCode;
|
2365
|
-
}
|
2366
|
-
|
2367
|
-
getESVersionName() {
|
2368
|
-
return this._esSdkVersionName;
|
2369
|
-
}
|
2370
|
-
|
2371
|
-
getESMiniProgramPath() {
|
2372
|
-
return this._esMiniProgramPath;
|
2373
|
-
}
|
2374
|
-
|
2375
|
-
getESAppRuntimePath() {
|
2376
|
-
return this._runtimePath;
|
2377
|
-
}
|
2378
|
-
|
2379
|
-
getESSDKSupportSchemes() {
|
2380
|
-
return this._esSdkSchemes;
|
2381
|
-
}
|
2382
|
-
}
|
2383
|
-
|
2384
|
-
var ESManager$1 = new ESManager();
|
2385
|
-
|
2386
2382
|
const ES_SDK_VERSION_20 = -1;
|
2387
2383
|
const ES_SDK_VERSION_21 = 2.1;
|
2388
2384
|
const ES_SDK_VERSION_22 = 2.2;
|
@@ -4212,165 +4208,2192 @@ staticRenderFns: [],
|
|
4212
4208
|
},
|
4213
4209
|
getSeekBarMode() {
|
4214
4210
|
return this.seekBarMode;
|
4215
|
-
}
|
4216
|
-
}
|
4217
|
-
};
|
4218
|
-
|
4219
|
-
function ESSeekBarViewComponent() {
|
4220
|
-
//
|
4221
|
-
Vue.component(ESSeekBar.name, ESSeekBar);
|
4222
|
-
//
|
4223
|
-
Vue.registerElement('TVSeekBarViewComponent', {
|
4224
|
-
component: {
|
4225
|
-
name: 'TVSeekBarViewComponent',
|
4226
|
-
processEventData(event, nativeEventName, nativeEventParams) {
|
4227
|
-
switch (nativeEventName) {
|
4228
|
-
case 'onFocus':
|
4229
|
-
event.isFocused = nativeEventParams.isFocused;
|
4230
|
-
break;
|
4231
|
-
case 'onSeekBarChange':
|
4232
|
-
event.fromUser = nativeEventParams.fromUser;
|
4233
|
-
event.progress = nativeEventParams.progress;
|
4234
|
-
break;
|
4235
|
-
}
|
4236
|
-
return event;
|
4237
|
-
},
|
4238
4211
|
},
|
4239
|
-
|
4240
|
-
|
4241
|
-
|
4242
|
-
|
4243
|
-
methods: {
|
4244
|
-
setMaxProgress(progress) {
|
4245
|
-
Vue.Native.callUIFunction(this.$refs.seekBar,
|
4246
|
-
'setMaxProgress', [progress], (res) => {
|
4247
|
-
});
|
4248
|
-
},
|
4249
|
-
setProgress(progress) {
|
4250
|
-
Vue.Native.callUIFunction(this.$refs.seekBar,
|
4251
|
-
'setProgress', [progress], (res) => {
|
4252
|
-
});
|
4253
|
-
},
|
4254
|
-
setSecondProgress(progress) {
|
4255
|
-
Vue.Native.callUIFunction(this.$refs.seekBar,
|
4256
|
-
'setSecondProgress', [progress], (res) => {
|
4257
|
-
});
|
4258
|
-
},
|
4259
|
-
show(value) {
|
4260
|
-
Vue.Native.callUIFunction(this.$refs.seekBar,
|
4261
|
-
'show', [value], (res) => {
|
4262
|
-
});
|
4263
|
-
},
|
4264
|
-
onFocusChange(evt) {
|
4265
|
-
this.$emit('focus', evt);
|
4266
|
-
},
|
4267
|
-
onSeekBarChange(evt) {
|
4268
|
-
this.$emit('seek-change', evt);
|
4269
|
-
},
|
4270
|
-
|
4212
|
+
//----------------------------------------------------------
|
4213
|
+
invalidateSeekBar() {
|
4214
|
+
this.$refs.es_seek_bar.invalidateSeekBar();
|
4271
4215
|
},
|
4272
|
-
|
4273
|
-
|
4274
|
-
const on = getEventRedirector.call(this, [
|
4275
|
-
['focus', 'focusChange'],
|
4276
|
-
['seek-change', 'seekBarChange'],
|
4277
|
-
]);
|
4278
|
-
return h('TVSeekBarViewComponent',
|
4279
|
-
{
|
4280
|
-
on,
|
4281
|
-
ref: 'seekBar',
|
4282
|
-
}, this.$slots.default);
|
4216
|
+
setFocusable(focusable) {
|
4217
|
+
this.$refs.es_seek_bar.setFocusable(focusable);
|
4283
4218
|
},
|
4284
|
-
|
4285
|
-
|
4286
|
-
|
4287
|
-
var ESProgressBar = {
|
4288
|
-
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}})},
|
4289
|
-
staticRenderFns: [],
|
4290
|
-
name: "ProgressBar",
|
4291
|
-
props: {
|
4292
|
-
maxProgress: {
|
4293
|
-
type: Number,
|
4294
|
-
default: 0
|
4219
|
+
setClickable(clickable) {
|
4220
|
+
this.$refs.es_seek_bar.setClickable(clickable);
|
4295
4221
|
},
|
4296
|
-
|
4297
|
-
|
4298
|
-
default: 0
|
4222
|
+
requestFocus() {
|
4223
|
+
this.$refs.es_seek_bar.requestFocus();
|
4299
4224
|
},
|
4300
|
-
|
4301
|
-
|
4302
|
-
default: 0
|
4225
|
+
requestLayout() {
|
4226
|
+
this.$refs.es_seek_bar.requestLayout();
|
4303
4227
|
},
|
4304
|
-
|
4305
|
-
|
4306
|
-
default: {}
|
4228
|
+
invalidate() {
|
4229
|
+
this.$refs.es_seek_bar.invalidate();
|
4307
4230
|
},
|
4308
|
-
|
4309
|
-
|
4310
|
-
default: '#00000000'
|
4231
|
+
setVisible(visible) {
|
4232
|
+
this.$refs.es_seek_bar.setVisible(visible);
|
4311
4233
|
},
|
4312
|
-
|
4313
|
-
|
4314
|
-
default: '#00000000'
|
4234
|
+
setLeftSeekBarVisible(visible) {
|
4235
|
+
this.$refs.es_seek_bar.setLeftSeekBarVisible(visible);
|
4315
4236
|
},
|
4316
|
-
|
4317
|
-
|
4318
|
-
default: 0
|
4237
|
+
setRightSeekBarVisible(visible) {
|
4238
|
+
this.$refs.es_seek_bar.setRightSeekBarVisible(visible);
|
4319
4239
|
},
|
4320
|
-
|
4321
|
-
|
4322
|
-
setMaxProgress(progress) {
|
4323
|
-
this.$refs.es_progress_bar.setMaxProgress(progress);
|
4240
|
+
setSeekBarMode(mode) {
|
4241
|
+
this.$refs.es_seek_bar.setSeekBarMode(mode);
|
4324
4242
|
},
|
4325
|
-
|
4326
|
-
this.$refs.
|
4243
|
+
setRangeProgress(leftValue, rightValue) {
|
4244
|
+
this.$refs.es_seek_bar.setRangeProgress(leftValue, rightValue);
|
4327
4245
|
},
|
4328
|
-
|
4329
|
-
this.$refs.
|
4246
|
+
getProgress() {
|
4247
|
+
this.$refs.es_seek_bar.getProgress();
|
4330
4248
|
},
|
4331
|
-
|
4332
|
-
this.$refs.
|
4249
|
+
getLeftProgress() {
|
4250
|
+
this.$refs.es_seek_bar.getLeftProgress();
|
4251
|
+
},
|
4252
|
+
getRightProgress() {
|
4253
|
+
this.$refs.es_seek_bar.getRightProgress();
|
4254
|
+
},
|
4255
|
+
setRange(min, max, minInterval) {
|
4256
|
+
this.$refs.es_seek_bar.setRange(min, max, minInterval);
|
4257
|
+
},
|
4258
|
+
setGravity(gravity) {
|
4259
|
+
this.$refs.es_seek_bar.setGravity(gravity);
|
4260
|
+
},
|
4261
|
+
setProgressWidth(progressWidth) {
|
4262
|
+
this.$refs.es_seek_bar.setProgressWidth(progressWidth);
|
4263
|
+
},
|
4264
|
+
setProgressHeight(progressHeight) {
|
4265
|
+
this.$refs.es_seek_bar.setProgressHeight(progressHeight);
|
4266
|
+
},
|
4267
|
+
setProgressRadius(progressRadius) {
|
4268
|
+
this.$refs.es_seek_bar.setProgressRadius(progressRadius);
|
4269
|
+
},
|
4270
|
+
setProgressColor(progressColor) {
|
4271
|
+
this.$refs.es_seek_bar.setProgressColor(progressColor);
|
4272
|
+
},
|
4273
|
+
setProgressDefaultColor(defaultProgressColor) {
|
4274
|
+
this.$refs.es_seek_bar.setProgressDefaultColor(defaultProgressColor);
|
4275
|
+
},
|
4276
|
+
setProgressDrawable(progressDrawable) {
|
4277
|
+
this.$refs.es_seek_bar.setProgressDrawable(progressDrawable);
|
4278
|
+
},
|
4279
|
+
setProgressDefaultDrawable(progressDefaultDrawable) {
|
4280
|
+
this.$refs.es_seek_bar.setProgressDefaultDrawable(progressDefaultDrawable);
|
4281
|
+
},
|
4282
|
+
setProgressUrl(progressUrl) {
|
4283
|
+
this.$refs.es_seek_bar.setProgressUrl(progressUrl);
|
4284
|
+
},
|
4285
|
+
setProgressDefaultUrl(progressDefaultUrl) {
|
4286
|
+
this.$refs.es_seek_bar.setProgressDefaultUrl(progressDefaultUrl);
|
4287
|
+
},
|
4288
|
+
showIndicator(showIndicator) {
|
4289
|
+
this.$refs.es_seek_bar.showIndicator(showIndicator);
|
4290
|
+
},
|
4291
|
+
showLeftIndicator(showLeftIndicator) {
|
4292
|
+
this.$refs.es_seek_bar.showLeftIndicator(showLeftIndicator);
|
4293
|
+
},
|
4294
|
+
showRightIndicator(showRightIndicator) {
|
4295
|
+
this.$refs.es_seek_bar.showRightIndicator(showRightIndicator);
|
4296
|
+
},
|
4297
|
+
setIndicatorShowMode(indicatorShowMode) {
|
4298
|
+
this.$refs.es_seek_bar.setIndicatorShowMode(indicatorShowMode);
|
4299
|
+
},
|
4300
|
+
setLeftIndicatorShowMode(indicatorShowMode) {
|
4301
|
+
this.$refs.es_seek_bar.setLeftIndicatorShowMode(indicatorShowMode);
|
4302
|
+
},
|
4303
|
+
setRightIndicatorShowMode(indicatorShowMode) {
|
4304
|
+
this.$refs.es_seek_bar.setRightIndicatorShowMode(indicatorShowMode);
|
4305
|
+
},
|
4306
|
+
setIndicatorWidth(indicatorWidth) {
|
4307
|
+
this.$refs.es_seek_bar.setIndicatorWidth(indicatorWidth);
|
4308
|
+
},
|
4309
|
+
setLeftIndicatorWidth(indicatorWidth) {
|
4310
|
+
this.$refs.es_seek_bar.setLeftIndicatorWidth(indicatorWidth);
|
4311
|
+
},
|
4312
|
+
setRightIndicatorWidth(indicatorWidth) {
|
4313
|
+
this.$refs.es_seek_bar.setRightIndicatorWidth(indicatorWidth);
|
4314
|
+
},
|
4315
|
+
setIndicatorHeight(indicatorHeight) {
|
4316
|
+
this.$refs.es_seek_bar.setIndicatorHeight(indicatorHeight);
|
4317
|
+
},
|
4318
|
+
setLeftIndicatorHeight(indicatorHeight) {
|
4319
|
+
this.$refs.es_seek_bar.setLeftIndicatorHeight(indicatorHeight);
|
4320
|
+
},
|
4321
|
+
setRightIndicatorHeight(indicatorHeight) {
|
4322
|
+
this.$refs.es_seek_bar.setRightIndicatorHeight(indicatorHeight);
|
4323
|
+
},
|
4324
|
+
setIndicatorTextDecimalFormat(formatPattern) {
|
4325
|
+
this.$refs.es_seek_bar.setIndicatorTextDecimalFormat(formatPattern);
|
4326
|
+
},
|
4327
|
+
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
4328
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextDecimalFormat(formatPattern);
|
4329
|
+
},
|
4330
|
+
setRightIndicatorTextDecimalFormat(formatPattern) {
|
4331
|
+
this.$refs.es_seek_bar.setRightIndicatorTextDecimalFormat(formatPattern);
|
4332
|
+
},
|
4333
|
+
setIndicatorTextStringFormat(formatPattern) {
|
4334
|
+
this.$refs.es_seek_bar.setIndicatorTextStringFormat(formatPattern);
|
4335
|
+
},
|
4336
|
+
setLeftIndicatorTextStringFormat(formatPattern) {
|
4337
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextStringFormat(formatPattern);
|
4338
|
+
},
|
4339
|
+
setRightIndicatorTextStringFormat(formatPattern) {
|
4340
|
+
this.$refs.es_seek_bar.setRightIndicatorTextStringFormat(formatPattern);
|
4341
|
+
},
|
4342
|
+
setIndicatorMargin(indicatorMargin) {
|
4343
|
+
this.$refs.es_seek_bar.setIndicatorMargin(indicatorMargin);
|
4344
|
+
},
|
4345
|
+
setLeftIndicatorMargin(indicatorMargin) {
|
4346
|
+
this.$refs.es_seek_bar.setLeftIndicatorMargin(indicatorMargin);
|
4347
|
+
},
|
4348
|
+
setRightIndicatorMargin(indicatorMargin) {
|
4349
|
+
this.$refs.es_seek_bar.setRightIndicatorMargin(indicatorMargin);
|
4350
|
+
},
|
4351
|
+
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4352
|
+
this.$refs.es_seek_bar.setIndicatorPaddingBottom(indicatorPaddingBottom);
|
4353
|
+
},
|
4354
|
+
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4355
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingBottom(indicatorPaddingBottom);
|
4356
|
+
},
|
4357
|
+
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4358
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingBottom(indicatorPaddingBottom);
|
4359
|
+
},
|
4360
|
+
setIndicatorPaddingTop(indicatorPaddingTop) {
|
4361
|
+
this.$refs.es_seek_bar.setIndicatorPaddingTop(indicatorPaddingTop);
|
4362
|
+
},
|
4363
|
+
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
4364
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingTop(indicatorPaddingTop);
|
4365
|
+
},
|
4366
|
+
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
4367
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingTop(indicatorPaddingTop);
|
4368
|
+
},
|
4369
|
+
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4370
|
+
this.$refs.es_seek_bar.setIndicatorPaddingLeft(indicatorPaddingLeft);
|
4371
|
+
},
|
4372
|
+
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4373
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingLeft(indicatorPaddingLeft);
|
4374
|
+
},
|
4375
|
+
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4376
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingLeft(indicatorPaddingLeft);
|
4377
|
+
},
|
4378
|
+
setIndicatorPaddingRight(indicatorPaddingRight) {
|
4379
|
+
this.$refs.es_seek_bar.setIndicatorPaddingRight(indicatorPaddingRight);
|
4380
|
+
},
|
4381
|
+
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
4382
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingRight(indicatorPaddingRight);
|
4383
|
+
},
|
4384
|
+
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
4385
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingRight(indicatorPaddingRight);
|
4386
|
+
},
|
4387
|
+
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4388
|
+
this.$refs.es_seek_bar.setIndicatorBackgroundColor(indicatorBackgroundColor);
|
4389
|
+
},
|
4390
|
+
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4391
|
+
this.$refs.es_seek_bar.setLeftIndicatorBackgroundColor(indicatorBackgroundColor);
|
4392
|
+
},
|
4393
|
+
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4394
|
+
this.$refs.es_seek_bar.setRightIndicatorBackgroundColor(indicatorBackgroundColor);
|
4395
|
+
},
|
4396
|
+
setIndicatorRadius(indicatorRadius) {
|
4397
|
+
this.$refs.es_seek_bar.setIndicatorRadius(indicatorRadius);
|
4398
|
+
},
|
4399
|
+
setLeftIndicatorRadius(indicatorRadius) {
|
4400
|
+
this.$refs.es_seek_bar.setLeftIndicatorRadius(indicatorRadius);
|
4401
|
+
},
|
4402
|
+
setRightIndicatorRadius(indicatorRadius) {
|
4403
|
+
this.$refs.es_seek_bar.setRightIndicatorRadius(indicatorRadius);
|
4404
|
+
},
|
4405
|
+
setIndicatorTextSize(indicatorTextSize) {
|
4406
|
+
this.$refs.es_seek_bar.setIndicatorTextSize(indicatorTextSize);
|
4407
|
+
},
|
4408
|
+
setLeftIndicatorTextSize(indicatorTextSize) {
|
4409
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextSize(indicatorTextSize);
|
4410
|
+
},
|
4411
|
+
setRightIndicatorTextSize(indicatorTextSize) {
|
4412
|
+
this.$refs.es_seek_bar.setRightIndicatorTextSize(indicatorTextSize);
|
4413
|
+
},
|
4414
|
+
setIndicatorTextColor(indicatorTextColor) {
|
4415
|
+
this.$refs.es_seek_bar.setIndicatorTextColor(indicatorTextColor);
|
4416
|
+
},
|
4417
|
+
setLeftIndicatorTextColor(indicatorTextColor) {
|
4418
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextColor(indicatorTextColor);
|
4419
|
+
},
|
4420
|
+
setRightIndicatorTextColor(indicatorTextColor) {
|
4421
|
+
this.$refs.es_seek_bar.setRightIndicatorTextColor(indicatorTextColor);
|
4422
|
+
},
|
4423
|
+
setIndicatorArrowSize(indicatorArrowSize) {
|
4424
|
+
this.$refs.es_seek_bar.setIndicatorArrowSize(indicatorArrowSize);
|
4425
|
+
},
|
4426
|
+
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
4427
|
+
this.$refs.es_seek_bar.setLeftIndicatorArrowSize(indicatorArrowSize);
|
4428
|
+
},
|
4429
|
+
setRightIndicatorArrowSize(indicatorArrowSize) {
|
4430
|
+
this.$refs.es_seek_bar.setRightIndicatorArrowSize(indicatorArrowSize);
|
4431
|
+
},
|
4432
|
+
setIndicatorDrawable(indicatorDrawable) {
|
4433
|
+
this.$refs.es_seek_bar.setIndicatorDrawable(indicatorDrawable);
|
4434
|
+
},
|
4435
|
+
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
4436
|
+
this.$refs.es_seek_bar.setLeftIndicatorDrawable(leftIndicatorDrawable);
|
4437
|
+
},
|
4438
|
+
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
4439
|
+
this.$refs.es_seek_bar.setRightIndicatorDrawable(rightIndicatorDrawable);
|
4440
|
+
},
|
4441
|
+
setIndicatorUrl(indicatorUrl) {
|
4442
|
+
this.$refs.es_seek_bar.setIndicatorUrl(indicatorUrl);
|
4443
|
+
},
|
4444
|
+
setLeftIndicatorUrl(leftIndicatorUrl) {
|
4445
|
+
this.$refs.es_seek_bar.setLeftIndicatorUrl(leftIndicatorUrl);
|
4446
|
+
},
|
4447
|
+
setRightIndicatorUrl(rightIndicatorUrl) {
|
4448
|
+
this.$refs.es_seek_bar.setRightIndicatorUrl(rightIndicatorUrl);
|
4449
|
+
},
|
4450
|
+
setThumbWidth(thumbWidth) {
|
4451
|
+
this.$refs.es_seek_bar.setThumbWidth(thumbWidth);
|
4452
|
+
},
|
4453
|
+
setLeftThumbWidth(thumbWidth) {
|
4454
|
+
this.$refs.es_seek_bar.setLeftThumbWidth(thumbWidth);
|
4455
|
+
},
|
4456
|
+
setRightThumbWidth(thumbWidth) {
|
4457
|
+
this.$refs.es_seek_bar.setRightThumbWidth(thumbWidth);
|
4458
|
+
},
|
4459
|
+
setThumbHeight(thumbHeight) {
|
4460
|
+
this.$refs.es_seek_bar.setThumbHeight(thumbHeight);
|
4461
|
+
},
|
4462
|
+
setLeftThumbHeight(thumbHeight) {
|
4463
|
+
this.$refs.es_seek_bar.setLeftThumbHeight(thumbHeight);
|
4464
|
+
},
|
4465
|
+
setRightThumbHeight(thumbHeight) {
|
4466
|
+
this.$refs.es_seek_bar.setRightThumbHeight(thumbHeight);
|
4467
|
+
},
|
4468
|
+
scaleThumb() {
|
4469
|
+
this.$refs.es_seek_bar.scaleThumb();
|
4470
|
+
},
|
4471
|
+
scaleLeftThumb() {
|
4472
|
+
this.$refs.es_seek_bar.scaleLeftThumb();
|
4473
|
+
},
|
4474
|
+
scaleRightThumb() {
|
4475
|
+
this.$refs.es_seek_bar.scaleRightThumb();
|
4476
|
+
},
|
4477
|
+
resetThumb() {
|
4478
|
+
this.$refs.es_seek_bar.resetThumb();
|
4479
|
+
},
|
4480
|
+
resetLeftThumb() {
|
4481
|
+
this.$refs.es_seek_bar.resetLeftThumb();
|
4482
|
+
},
|
4483
|
+
resetRightThumb() {
|
4484
|
+
this.$refs.es_seek_bar.resetRightThumb();
|
4485
|
+
},
|
4486
|
+
setThumbScaleRatio(thumbScaleRatio) {
|
4487
|
+
this.$refs.es_seek_bar.setThumbScaleRatio(thumbScaleRatio);
|
4488
|
+
},
|
4489
|
+
setLeftThumbScaleRatio(thumbScaleRatio) {
|
4490
|
+
this.$refs.es_seek_bar.setLeftThumbScaleRatio(thumbScaleRatio);
|
4491
|
+
},
|
4492
|
+
setRightThumbScaleRatio(thumbScaleRatio) {
|
4493
|
+
this.$refs.es_seek_bar.setRightThumbScaleRatio(thumbScaleRatio);
|
4494
|
+
},
|
4495
|
+
setThumbActivate(activate) {
|
4496
|
+
this.$refs.es_seek_bar.setThumbActivate(activate);
|
4497
|
+
},
|
4498
|
+
setLeftThumbActivate(activate) {
|
4499
|
+
this.$refs.es_seek_bar.setLeftThumbActivate(activate);
|
4500
|
+
},
|
4501
|
+
setRightThumbActivate(activate) {
|
4502
|
+
this.$refs.es_seek_bar.setRightThumbActivate(activate);
|
4503
|
+
},
|
4504
|
+
setThumbDrawable(drawable) {
|
4505
|
+
this.$refs.es_seek_bar.setThumbDrawable(drawable);
|
4506
|
+
},
|
4507
|
+
setLeftThumbDrawable(drawable) {
|
4508
|
+
this.$refs.es_seek_bar.setLeftThumbDrawable(drawable);
|
4509
|
+
},
|
4510
|
+
setRightThumbDrawable(drawable) {
|
4511
|
+
this.$refs.es_seek_bar.setRightThumbDrawable(drawable);
|
4512
|
+
},
|
4513
|
+
setThumbUrl(url) {
|
4514
|
+
this.$refs.es_seek_bar.setThumbUrl(url);
|
4515
|
+
},
|
4516
|
+
setLeftThumbUrl(url) {
|
4517
|
+
this.$refs.es_seek_bar.setLeftThumbUrl(url);
|
4518
|
+
},
|
4519
|
+
setRightThumbUrl(url) {
|
4520
|
+
this.$refs.es_seek_bar.setRightThumbUrl(url);
|
4521
|
+
},
|
4522
|
+
setThumbInactivatedDrawable(drawable) {
|
4523
|
+
this.$refs.es_seek_bar.setThumbInactivatedDrawable(drawable);
|
4524
|
+
},
|
4525
|
+
setLeftThumbInactivatedDrawable(drawable) {
|
4526
|
+
this.$refs.es_seek_bar.setLeftThumbInactivatedDrawable(drawable);
|
4527
|
+
},
|
4528
|
+
setRightThumbInactivatedDrawable(drawable) {
|
4529
|
+
this.$refs.es_seek_bar.setRightThumbInactivatedDrawable(drawable);
|
4530
|
+
},
|
4531
|
+
setThumbInactivatedUrl(url) {
|
4532
|
+
this.$refs.es_seek_bar.setThumbInactivatedUrl(url);
|
4533
|
+
},
|
4534
|
+
setLeftThumbInactivatedUrl(url) {
|
4535
|
+
this.$refs.es_seek_bar.setLeftThumbInactivatedUrl(url);
|
4536
|
+
},
|
4537
|
+
setRightThumbInactivatedUrl(url) {
|
4538
|
+
this.$refs.es_seek_bar.setRightThumbInactivatedUrl(url);
|
4539
|
+
},
|
4540
|
+
setTickMarkMode(tickMarkMode) {
|
4541
|
+
this.$refs.es_seek_bar.setTickMarkMode(tickMarkMode);
|
4542
|
+
},
|
4543
|
+
setTickMarkGravity(tickMarkGravity) {
|
4544
|
+
this.$refs.es_seek_bar.setTickMarkGravity(tickMarkGravity);
|
4545
|
+
},
|
4546
|
+
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
4547
|
+
this.$refs.es_seek_bar.setTickMarkLayoutGravity(tickMarkLayoutGravity);
|
4548
|
+
},
|
4549
|
+
setTickMarkTextArray(tickMarkTextArray) {
|
4550
|
+
this.$refs.es_seek_bar.setTickMarkTextArray(tickMarkTextArray);
|
4551
|
+
},
|
4552
|
+
setTickMarkTextMargin(tickMarkTextMargin) {
|
4553
|
+
this.$refs.es_seek_bar.setTickMarkTextMargin(tickMarkTextMargin);
|
4554
|
+
},
|
4555
|
+
setTickMarkTextSize(tickMarkTextSize) {
|
4556
|
+
this.$refs.es_seek_bar.setTickMarkTextSize(tickMarkTextSize);
|
4557
|
+
},
|
4558
|
+
setTickMarkTextColor(tickMarkTextColor) {
|
4559
|
+
this.$refs.es_seek_bar.setTickMarkTextColor(tickMarkTextColor);
|
4560
|
+
},
|
4561
|
+
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
4562
|
+
this.$refs.es_seek_bar.setTickMarkInRangeTextColor(tickMarkInRangeTextColor);
|
4563
|
+
},
|
4564
|
+
setSteps(steps) {
|
4565
|
+
this.$refs.es_seek_bar.setSteps(steps);
|
4566
|
+
},
|
4567
|
+
setStepsWidth(stepsWidth) {
|
4568
|
+
this.$refs.es_seek_bar.setStepsWidth(stepsWidth);
|
4569
|
+
},
|
4570
|
+
setStepsHeight(stepsHeight) {
|
4571
|
+
this.$refs.es_seek_bar.setStepsHeight(stepsHeight);
|
4572
|
+
},
|
4573
|
+
setStepsRadius(stepsRadius) {
|
4574
|
+
this.$refs.es_seek_bar.setStepsRadius(stepsRadius);
|
4575
|
+
},
|
4576
|
+
setStepsColor(stepsColor) {
|
4577
|
+
this.$refs.es_seek_bar.setStepsColor(stepsColor);
|
4578
|
+
},
|
4579
|
+
setStepsAutoBonding(stepsAutoBonding) {
|
4580
|
+
this.$refs.es_seek_bar.setStepsAutoBonding(stepsAutoBonding);
|
4581
|
+
},
|
4582
|
+
setStepsDrawable(drawableArray) {
|
4583
|
+
this.$refs.es_seek_bar.setStepsDrawable(drawableArray);
|
4584
|
+
},
|
4585
|
+
setStepsUrl(urlArray) {
|
4586
|
+
this.$refs.es_seek_bar.setStepsUrl(urlArray);
|
4333
4587
|
},
|
4334
4588
|
}
|
4335
4589
|
};
|
4336
4590
|
|
4337
|
-
function
|
4591
|
+
function ESSeekBarViewComponent() {
|
4338
4592
|
//
|
4339
|
-
Vue.component(
|
4340
|
-
|
4341
|
-
Vue.registerElement('
|
4593
|
+
Vue.component(ESSeekBar.name, ESSeekBar);
|
4594
|
+
//
|
4595
|
+
Vue.registerElement('TVSeekBarViewComponent', {
|
4342
4596
|
component: {
|
4343
|
-
name: '
|
4597
|
+
name: 'TVSeekBarViewComponent',
|
4598
|
+
processEventData(event, nativeEventName, nativeEventParams) {
|
4599
|
+
switch (nativeEventName) {
|
4600
|
+
case 'onFocus':
|
4601
|
+
event.isFocused = nativeEventParams.isFocused;
|
4602
|
+
break;
|
4603
|
+
case 'onSeekBarChange':
|
4604
|
+
event.fromUser = nativeEventParams.fromUser;
|
4605
|
+
event.progress = nativeEventParams.progress;
|
4606
|
+
event.leftProgress = nativeEventParams.leftProgress;
|
4607
|
+
event.rightProgress = nativeEventParams.rightProgress;
|
4608
|
+
break;
|
4609
|
+
}
|
4610
|
+
return event;
|
4611
|
+
},
|
4344
4612
|
},
|
4345
4613
|
});
|
4346
4614
|
|
4347
|
-
Vue.component('es-
|
4615
|
+
Vue.component('es-seek-bar-view-component', {
|
4616
|
+
|
4348
4617
|
methods: {
|
4349
|
-
|
4350
|
-
Vue.Native.callUIFunction(this.$refs.
|
4351
|
-
'
|
4618
|
+
invalidateSeekBar() {
|
4619
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4620
|
+
'invalidateSeekBar', [], (res) => {
|
4621
|
+
});
|
4622
|
+
},
|
4623
|
+
setFocusable(focusable) {
|
4624
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4625
|
+
'setFocusable', [focusable], (res) => {
|
4626
|
+
});
|
4627
|
+
},
|
4628
|
+
setClickable(clickable) {
|
4629
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4630
|
+
'setClickable', [clickable], (res) => {
|
4631
|
+
});
|
4632
|
+
},
|
4633
|
+
requestFocus() {
|
4634
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4635
|
+
'requestFocus', [], (res) => {
|
4636
|
+
});
|
4637
|
+
},
|
4638
|
+
requestLayout() {
|
4639
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4640
|
+
'requestLayout', [], (res) => {
|
4641
|
+
});
|
4642
|
+
},
|
4643
|
+
invalidate() {
|
4644
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4645
|
+
'invalidate', [], (res) => {
|
4646
|
+
});
|
4647
|
+
},
|
4648
|
+
setVisible(visible) {
|
4649
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4650
|
+
'setVisible', [visible], (res) => {
|
4651
|
+
});
|
4652
|
+
},
|
4653
|
+
setLeftSeekBarVisible(visible) {
|
4654
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4655
|
+
'setLeftSeekBarVisible', [visible], (res) => {
|
4656
|
+
});
|
4657
|
+
},
|
4658
|
+
setRightSeekBarVisible(visible) {
|
4659
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4660
|
+
'setRightSeekBarVisible', [visible], (res) => {
|
4661
|
+
});
|
4662
|
+
},
|
4663
|
+
setSeekBarMode(mode) {
|
4664
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4665
|
+
'setSeekBarMode', [mode], (res) => {
|
4352
4666
|
});
|
4353
4667
|
},
|
4354
4668
|
setProgress(progress) {
|
4355
|
-
Vue.Native.callUIFunction(this.$refs.
|
4669
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4356
4670
|
'setProgress', [progress], (res) => {
|
4357
4671
|
});
|
4358
4672
|
},
|
4359
|
-
|
4360
|
-
Vue.Native.callUIFunction(this.$refs.
|
4361
|
-
'
|
4673
|
+
setRangeProgress(leftValue, rightValue) {
|
4674
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4675
|
+
'setProgress', [leftValue, rightValue], (res) => {
|
4362
4676
|
});
|
4363
4677
|
},
|
4364
|
-
|
4365
|
-
Vue.Native.callUIFunction(this.$refs.
|
4366
|
-
'
|
4678
|
+
getProgress() {
|
4679
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4680
|
+
'getProgress', [], (progress) => {
|
4367
4681
|
});
|
4368
4682
|
},
|
4369
|
-
|
4370
|
-
|
4371
|
-
|
4372
|
-
|
4373
|
-
|
4683
|
+
getLeftProgress() {
|
4684
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4685
|
+
'getLeftProgress', [], (progress) => {
|
4686
|
+
});
|
4687
|
+
},
|
4688
|
+
getRightProgress() {
|
4689
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4690
|
+
'getRightProgress', [], (progress) => {
|
4691
|
+
});
|
4692
|
+
},
|
4693
|
+
setRange(min, max, minInterval) {
|
4694
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4695
|
+
'setRange', [min, max, minInterval], (value) => {
|
4696
|
+
});
|
4697
|
+
},
|
4698
|
+
setGravity(gravity) {
|
4699
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4700
|
+
'setGravity', [gravity], (value) => {
|
4701
|
+
});
|
4702
|
+
},
|
4703
|
+
setProgressWidth(progressWidth) {
|
4704
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4705
|
+
'setProgressWidth', [progressWidth], (value) => {
|
4706
|
+
});
|
4707
|
+
},
|
4708
|
+
setProgressHeight(progressHeight) {
|
4709
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4710
|
+
'setProgressHeight', [progressHeight], (value) => {
|
4711
|
+
});
|
4712
|
+
},
|
4713
|
+
setProgressRadius(progressRadius) {
|
4714
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4715
|
+
'setProgressRadius', [progressRadius], (value) => {
|
4716
|
+
});
|
4717
|
+
},
|
4718
|
+
setProgressColor(progressColor) {
|
4719
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4720
|
+
'setProgressColor', [progressColor], (value) => {
|
4721
|
+
});
|
4722
|
+
},
|
4723
|
+
setProgressDefaultColor(defaultProgressColor) {
|
4724
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4725
|
+
'setProgressDefaultColor', [defaultProgressColor], (value) => {
|
4726
|
+
});
|
4727
|
+
},
|
4728
|
+
setProgressDrawable(progressDrawable) {
|
4729
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4730
|
+
'setProgressDrawable', [progressDrawable], (value) => {
|
4731
|
+
});
|
4732
|
+
},
|
4733
|
+
setProgressDefaultDrawable(progressDefaultDrawable) {
|
4734
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4735
|
+
'setProgressDefaultDrawable', [progressDefaultDrawable], (value) => {
|
4736
|
+
});
|
4737
|
+
},
|
4738
|
+
setProgressUrl(progressUrl) {
|
4739
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4740
|
+
'setProgressUrl', [progressUrl], (value) => {
|
4741
|
+
});
|
4742
|
+
},
|
4743
|
+
setProgressDefaultUrl(progressDefaultUrl) {
|
4744
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4745
|
+
'setProgressDefaultUrl', [progressDefaultUrl], (value) => {
|
4746
|
+
});
|
4747
|
+
},
|
4748
|
+
showIndicator(showIndicator) {
|
4749
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4750
|
+
'showIndicator', [showIndicator], (value) => {
|
4751
|
+
});
|
4752
|
+
},
|
4753
|
+
showLeftIndicator(showLeftIndicator) {
|
4754
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4755
|
+
'showLeftIndicator', [showLeftIndicator], (value) => {
|
4756
|
+
});
|
4757
|
+
},
|
4758
|
+
showRightIndicator(showRightIndicator) {
|
4759
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4760
|
+
'showRightIndicator', [showRightIndicator], (value) => {
|
4761
|
+
});
|
4762
|
+
},
|
4763
|
+
setIndicatorShowMode(indicatorShowMode) {
|
4764
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4765
|
+
'setIndicatorShowMode', [indicatorShowMode], (value) => {
|
4766
|
+
});
|
4767
|
+
},
|
4768
|
+
setLeftIndicatorShowMode(indicatorShowMode) {
|
4769
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4770
|
+
'setLeftIndicatorShowMode', [indicatorShowMode], (value) => {
|
4771
|
+
});
|
4772
|
+
},
|
4773
|
+
setRightIndicatorShowMode(indicatorShowMode) {
|
4774
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4775
|
+
'setRightIndicatorShowMode', [indicatorShowMode], (value) => {
|
4776
|
+
});
|
4777
|
+
},
|
4778
|
+
setIndicatorWidth(indicatorWidth) {
|
4779
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4780
|
+
'setIndicatorWidth', [indicatorWidth], (value) => {
|
4781
|
+
});
|
4782
|
+
},
|
4783
|
+
setLeftIndicatorWidth(indicatorWidth) {
|
4784
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4785
|
+
'setLeftIndicatorWidth', [indicatorWidth], (value) => {
|
4786
|
+
});
|
4787
|
+
},
|
4788
|
+
setRightIndicatorWidth(indicatorWidth) {
|
4789
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4790
|
+
'setRightIndicatorWidth', [indicatorWidth], (value) => {
|
4791
|
+
});
|
4792
|
+
},
|
4793
|
+
|
4794
|
+
setIndicatorHeight(indicatorHeight) {
|
4795
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4796
|
+
'setIndicatorHeight', [indicatorHeight], (value) => {
|
4797
|
+
});
|
4798
|
+
},
|
4799
|
+
setLeftIndicatorHeight(indicatorHeight) {
|
4800
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4801
|
+
'setLeftIndicatorHeight', [indicatorHeight], (value) => {
|
4802
|
+
});
|
4803
|
+
},
|
4804
|
+
setRightIndicatorHeight(indicatorHeight) {
|
4805
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4806
|
+
'setRightIndicatorHeight', [indicatorHeight], (value) => {
|
4807
|
+
});
|
4808
|
+
},
|
4809
|
+
setIndicatorTextDecimalFormat(formatPattern) {
|
4810
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4811
|
+
'setIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
4812
|
+
});
|
4813
|
+
},
|
4814
|
+
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
4815
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4816
|
+
'setLeftIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
4817
|
+
});
|
4818
|
+
},
|
4819
|
+
setRightIndicatorTextDecimalFormat(formatPattern) {
|
4820
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4821
|
+
'setRightIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
4822
|
+
});
|
4823
|
+
},
|
4824
|
+
setIndicatorTextStringFormat(formatPattern) {
|
4825
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4826
|
+
'setIndicatorTextStringFormat', [formatPattern], (value) => {
|
4827
|
+
});
|
4828
|
+
},
|
4829
|
+
setLeftIndicatorTextStringFormat(formatPattern) {
|
4830
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4831
|
+
'setLeftIndicatorTextStringFormat', [formatPattern], (value) => {
|
4832
|
+
});
|
4833
|
+
},
|
4834
|
+
setRightIndicatorTextStringFormat(formatPattern) {
|
4835
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4836
|
+
'setRightIndicatorTextStringFormat', [formatPattern], (value) => {
|
4837
|
+
});
|
4838
|
+
},
|
4839
|
+
setIndicatorMargin(indicatorMargin) {
|
4840
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4841
|
+
'setIndicatorMargin', [indicatorMargin], (value) => {
|
4842
|
+
});
|
4843
|
+
},
|
4844
|
+
setLeftIndicatorMargin(indicatorMargin) {
|
4845
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4846
|
+
'setLeftIndicatorMargin', [indicatorMargin], (value) => {
|
4847
|
+
});
|
4848
|
+
},
|
4849
|
+
setRightIndicatorMargin(indicatorMargin) {
|
4850
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4851
|
+
'setRightIndicatorMargin', [indicatorMargin], (value) => {
|
4852
|
+
});
|
4853
|
+
},
|
4854
|
+
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4855
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4856
|
+
'setIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
4857
|
+
});
|
4858
|
+
},
|
4859
|
+
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4860
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4861
|
+
'setLeftIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
4862
|
+
});
|
4863
|
+
},
|
4864
|
+
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
4865
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4866
|
+
'setRightIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
4867
|
+
});
|
4868
|
+
},
|
4869
|
+
setIndicatorPaddingTop(indicatorPaddingTop) {
|
4870
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4871
|
+
'setIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
4872
|
+
});
|
4873
|
+
},
|
4874
|
+
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
4875
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4876
|
+
'setLeftIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
4877
|
+
});
|
4878
|
+
},
|
4879
|
+
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
4880
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4881
|
+
'setRightIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
4882
|
+
});
|
4883
|
+
},
|
4884
|
+
|
4885
|
+
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4886
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4887
|
+
'setIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
4888
|
+
});
|
4889
|
+
},
|
4890
|
+
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4891
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4892
|
+
'setLeftIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
4893
|
+
});
|
4894
|
+
},
|
4895
|
+
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
4896
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4897
|
+
'setRightIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
4898
|
+
});
|
4899
|
+
},
|
4900
|
+
setIndicatorPaddingRight(indicatorPaddingRight) {
|
4901
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4902
|
+
'setIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
4903
|
+
});
|
4904
|
+
},
|
4905
|
+
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
4906
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4907
|
+
'setLeftIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
4908
|
+
});
|
4909
|
+
},
|
4910
|
+
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
4911
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4912
|
+
'setRightIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
4913
|
+
});
|
4914
|
+
},
|
4915
|
+
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4916
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4917
|
+
'setIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
4918
|
+
});
|
4919
|
+
},
|
4920
|
+
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4921
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4922
|
+
'setLeftIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
4923
|
+
});
|
4924
|
+
},
|
4925
|
+
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
4926
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4927
|
+
'setRightIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
4928
|
+
});
|
4929
|
+
},
|
4930
|
+
setIndicatorRadius(indicatorRadius) {
|
4931
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4932
|
+
'setIndicatorRadius', [indicatorRadius], (value) => {
|
4933
|
+
});
|
4934
|
+
},
|
4935
|
+
setLeftIndicatorRadius(indicatorRadius) {
|
4936
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4937
|
+
'setLeftIndicatorRadius', [indicatorRadius], (value) => {
|
4938
|
+
});
|
4939
|
+
},
|
4940
|
+
setRightIndicatorRadius(indicatorRadius) {
|
4941
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4942
|
+
'setRightIndicatorRadius', [indicatorRadius], (value) => {
|
4943
|
+
});
|
4944
|
+
},
|
4945
|
+
setIndicatorTextSize(indicatorTextSize) {
|
4946
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4947
|
+
'setIndicatorTextSize', [indicatorTextSize], (value) => {
|
4948
|
+
});
|
4949
|
+
},
|
4950
|
+
setLeftIndicatorTextSize(indicatorTextSize) {
|
4951
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4952
|
+
'setLeftIndicatorTextSize', [indicatorTextSize], (value) => {
|
4953
|
+
});
|
4954
|
+
},
|
4955
|
+
setRightIndicatorTextSize(indicatorTextSize) {
|
4956
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4957
|
+
'setRightIndicatorTextSize', [indicatorTextSize], (value) => {
|
4958
|
+
});
|
4959
|
+
},
|
4960
|
+
setIndicatorTextColor(indicatorTextColor) {
|
4961
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4962
|
+
'setIndicatorTextColor', [indicatorTextColor], (value) => {
|
4963
|
+
});
|
4964
|
+
},
|
4965
|
+
setLeftIndicatorTextColor(indicatorTextColor) {
|
4966
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4967
|
+
'setLeftIndicatorTextColor', [indicatorTextColor], (value) => {
|
4968
|
+
});
|
4969
|
+
},
|
4970
|
+
setRightIndicatorTextColor(indicatorTextColor) {
|
4971
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4972
|
+
'setRightIndicatorTextColor', [indicatorTextColor], (value) => {
|
4973
|
+
});
|
4974
|
+
},
|
4975
|
+
setIndicatorArrowSize(indicatorArrowSize) {
|
4976
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4977
|
+
'setIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
4978
|
+
});
|
4979
|
+
},
|
4980
|
+
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
4981
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4982
|
+
'setLeftIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
4983
|
+
});
|
4984
|
+
},
|
4985
|
+
setRightIndicatorArrowSize(indicatorArrowSize) {
|
4986
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4987
|
+
'setRightIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
4988
|
+
});
|
4989
|
+
},
|
4990
|
+
setIndicatorDrawable(indicatorDrawable) {
|
4991
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4992
|
+
'setIndicatorDrawable', [indicatorDrawable], (value) => {
|
4993
|
+
});
|
4994
|
+
},
|
4995
|
+
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
4996
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
4997
|
+
'setLeftIndicatorDrawable', [leftIndicatorDrawable], (value) => {
|
4998
|
+
});
|
4999
|
+
},
|
5000
|
+
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
5001
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5002
|
+
'setRightIndicatorDrawable', [rightIndicatorDrawable], (value) => {
|
5003
|
+
});
|
5004
|
+
},
|
5005
|
+
setIndicatorUrl(indicatorUrl) {
|
5006
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5007
|
+
'setIndicatorUrl', [indicatorUrl], (value) => {
|
5008
|
+
});
|
5009
|
+
},
|
5010
|
+
setLeftIndicatorUrl(leftIndicatorUrl) {
|
5011
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5012
|
+
'setLeftIndicatorUrl', [leftIndicatorUrl], (value) => {
|
5013
|
+
});
|
5014
|
+
},
|
5015
|
+
setRightIndicatorUrl(rightIndicatorUrl) {
|
5016
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5017
|
+
'setRightIndicatorUrl', [rightIndicatorUrl], (value) => {
|
5018
|
+
});
|
5019
|
+
},
|
5020
|
+
setThumbWidth(thumbWidth) {
|
5021
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5022
|
+
'setThumbWidth', [thumbWidth], (value) => {
|
5023
|
+
});
|
5024
|
+
},
|
5025
|
+
setLeftThumbWidth(thumbWidth) {
|
5026
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5027
|
+
'setLeftThumbWidth', [thumbWidth], (value) => {
|
5028
|
+
});
|
5029
|
+
},
|
5030
|
+
setRightThumbWidth(thumbWidth) {
|
5031
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5032
|
+
'setRightThumbWidth', [thumbWidth], (value) => {
|
5033
|
+
});
|
5034
|
+
},
|
5035
|
+
setThumbHeight(thumbHeight) {
|
5036
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5037
|
+
'setThumbHeight', [thumbHeight], (value) => {
|
5038
|
+
});
|
5039
|
+
},
|
5040
|
+
setLeftThumbHeight(thumbHeight) {
|
5041
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5042
|
+
'setLeftThumbHeight', [thumbHeight], (value) => {
|
5043
|
+
});
|
5044
|
+
},
|
5045
|
+
setRightThumbHeight(thumbHeight) {
|
5046
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5047
|
+
'setRightThumbHeight', [thumbHeight], (value) => {
|
5048
|
+
});
|
5049
|
+
},
|
5050
|
+
scaleThumb() {
|
5051
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5052
|
+
'scaleThumb', [], (value) => {
|
5053
|
+
});
|
5054
|
+
},
|
5055
|
+
scaleLeftThumb() {
|
5056
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5057
|
+
'scaleLeftThumb', [], (value) => {
|
5058
|
+
});
|
5059
|
+
},
|
5060
|
+
scaleRightThumb() {
|
5061
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5062
|
+
'scaleLeftThumb', [], (value) => {
|
5063
|
+
});
|
5064
|
+
},
|
5065
|
+
resetThumb() {
|
5066
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5067
|
+
'resetThumb', [], (value) => {
|
5068
|
+
});
|
5069
|
+
},
|
5070
|
+
resetLeftThumb() {
|
5071
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5072
|
+
'resetLeftThumb', [], (value) => {
|
5073
|
+
});
|
5074
|
+
},
|
5075
|
+
resetRightThumb() {
|
5076
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5077
|
+
'resetRightThumb', [], (value) => {
|
5078
|
+
});
|
5079
|
+
},
|
5080
|
+
setThumbScaleRatio(thumbScaleRatio) {
|
5081
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5082
|
+
'setThumbScaleRatio', [thumbScaleRatio], (value) => {
|
5083
|
+
});
|
5084
|
+
},
|
5085
|
+
setLeftThumbScaleRatio(thumbScaleRatio) {
|
5086
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5087
|
+
'setLeftThumbScaleRatio', [thumbScaleRatio], (value) => {
|
5088
|
+
});
|
5089
|
+
},
|
5090
|
+
setRightThumbScaleRatio(thumbScaleRatio) {
|
5091
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5092
|
+
'setRightThumbScaleRatio', [thumbScaleRatio], (value) => {
|
5093
|
+
});
|
5094
|
+
},
|
5095
|
+
setThumbActivate(activate) {
|
5096
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5097
|
+
'setThumbActivate', [activate], (value) => {
|
5098
|
+
});
|
5099
|
+
},
|
5100
|
+
setLeftThumbActivate(activate) {
|
5101
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5102
|
+
'setLeftThumbActivate', [activate], (value) => {
|
5103
|
+
});
|
5104
|
+
},
|
5105
|
+
setRightThumbActivate(activate) {
|
5106
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5107
|
+
'setRightThumbActivate', [activate], (value) => {
|
5108
|
+
});
|
5109
|
+
},
|
5110
|
+
setThumbDrawable(drawable) {
|
5111
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5112
|
+
'setThumbDrawable', [drawable], (value) => {
|
5113
|
+
});
|
5114
|
+
},
|
5115
|
+
setLeftThumbDrawable(drawable) {
|
5116
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5117
|
+
'setLeftThumbDrawable', [drawable], (value) => {
|
5118
|
+
});
|
5119
|
+
},
|
5120
|
+
setRightThumbDrawable(drawable) {
|
5121
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5122
|
+
'setRightThumbDrawable', [drawable], (value) => {
|
5123
|
+
});
|
5124
|
+
},
|
5125
|
+
setThumbUrl(url) {
|
5126
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5127
|
+
'setThumbUrl', [url], (value) => {
|
5128
|
+
});
|
5129
|
+
},
|
5130
|
+
setLeftThumbUrl(url) {
|
5131
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5132
|
+
'setLeftThumbUrl', [url], (value) => {
|
5133
|
+
});
|
5134
|
+
},
|
5135
|
+
setRightThumbUrl(url) {
|
5136
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5137
|
+
'setRightThumbUrl', [url], (value) => {
|
5138
|
+
});
|
5139
|
+
},
|
5140
|
+
setThumbInactivatedDrawable(drawable) {
|
5141
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5142
|
+
'setThumbInactivatedDrawable', [drawable], (value) => {
|
5143
|
+
});
|
5144
|
+
},
|
5145
|
+
setLeftThumbInactivatedDrawable(drawable) {
|
5146
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5147
|
+
'setLeftThumbInactivatedDrawable', [drawable], (value) => {
|
5148
|
+
});
|
5149
|
+
},
|
5150
|
+
setRightThumbInactivatedDrawable(drawable) {
|
5151
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5152
|
+
'setRightThumbInactivatedDrawable', [drawable], (value) => {
|
5153
|
+
});
|
5154
|
+
},
|
5155
|
+
setThumbInactivatedUrl(url) {
|
5156
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5157
|
+
'setThumbInactivatedUrl', [url], (value) => {
|
5158
|
+
});
|
5159
|
+
},
|
5160
|
+
setLeftThumbInactivatedUrl(url) {
|
5161
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5162
|
+
'setLeftThumbInactivatedUrl', [url], (value) => {
|
5163
|
+
});
|
5164
|
+
},
|
5165
|
+
setRightThumbInactivatedUrl(url) {
|
5166
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5167
|
+
'setRightThumbInactivatedUrl', [url], (value) => {
|
5168
|
+
});
|
5169
|
+
},
|
5170
|
+
setTickMarkMode(tickMarkMode) {
|
5171
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5172
|
+
'setTickMarkMode', [tickMarkMode], (value) => {
|
5173
|
+
});
|
5174
|
+
},
|
5175
|
+
setTickMarkGravity(tickMarkGravity) {
|
5176
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5177
|
+
'setTickMarkGravity', [tickMarkGravity], (value) => {
|
5178
|
+
});
|
5179
|
+
},
|
5180
|
+
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
5181
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5182
|
+
'setTickMarkLayoutGravity', [tickMarkLayoutGravity], (value) => {
|
5183
|
+
});
|
5184
|
+
},
|
5185
|
+
setTickMarkTextArray(tickMarkTextArray) {
|
5186
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5187
|
+
'setTickMarkTextArray', [tickMarkTextArray], (value) => {
|
5188
|
+
});
|
5189
|
+
},
|
5190
|
+
setTickMarkTextMargin(tickMarkTextMargin) {
|
5191
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5192
|
+
'setTickMarkTextMargin', [tickMarkTextMargin], (value) => {
|
5193
|
+
});
|
5194
|
+
},
|
5195
|
+
setTickMarkTextSize(tickMarkTextSize) {
|
5196
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5197
|
+
'setTickMarkTextSize', [tickMarkTextSize], (value) => {
|
5198
|
+
});
|
5199
|
+
},
|
5200
|
+
setTickMarkTextColor(tickMarkTextColor) {
|
5201
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5202
|
+
'setTickMarkTextColor', [tickMarkTextColor], (value) => {
|
5203
|
+
});
|
5204
|
+
},
|
5205
|
+
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
5206
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5207
|
+
'setTickMarkInRangeTextColor', [tickMarkInRangeTextColor], (value) => {
|
5208
|
+
});
|
5209
|
+
},
|
5210
|
+
setSteps(steps) {
|
5211
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5212
|
+
'setSteps', [steps], (value) => {
|
5213
|
+
});
|
5214
|
+
},
|
5215
|
+
setStepsWidth(stepsWidth) {
|
5216
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5217
|
+
'setStepsWidth', [stepsWidth], (value) => {
|
5218
|
+
});
|
5219
|
+
},
|
5220
|
+
setStepsHeight(stepsHeight) {
|
5221
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5222
|
+
'setStepsHeight', [stepsHeight], (value) => {
|
5223
|
+
});
|
5224
|
+
},
|
5225
|
+
setStepsRadius(stepsRadius) {
|
5226
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5227
|
+
'setStepsRadius', [stepsRadius], (value) => {
|
5228
|
+
});
|
5229
|
+
},
|
5230
|
+
setStepsColor(stepsColor) {
|
5231
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5232
|
+
'setStepsColor', [stepsColor], (value) => {
|
5233
|
+
});
|
5234
|
+
},
|
5235
|
+
setStepsAutoBonding(stepsAutoBonding) {
|
5236
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5237
|
+
'setStepsAutoBonding', [stepsAutoBonding], (value) => {
|
5238
|
+
});
|
5239
|
+
},
|
5240
|
+
setStepsDrawable(drawableArray) {
|
5241
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5242
|
+
'setStepsDrawable', [drawableArray], (value) => {
|
5243
|
+
});
|
5244
|
+
},
|
5245
|
+
setStepsUrl(urlArray) {
|
5246
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5247
|
+
'setStepsUrl', [urlArray], (value) => {
|
5248
|
+
});
|
5249
|
+
},
|
5250
|
+
setMaxProgress(progress) {
|
5251
|
+
Vue.Native.callUIFunction(this.$refs.seekBar,
|
5252
|
+
'setMaxProgress', [progress], (res) => {
|
5253
|
+
});
|
5254
|
+
},
|
5255
|
+
setSecondProgress(progress) {
|
5256
|
+
Vue.Native.callUIFunction(this.$refs.seekBar,
|
5257
|
+
'setSecondProgress', [progress], (res) => {
|
5258
|
+
});
|
5259
|
+
},
|
5260
|
+
show(value) {
|
5261
|
+
Vue.Native.callUIFunction(this.$refs.seekBar,
|
5262
|
+
'show', [value], (res) => {
|
5263
|
+
});
|
5264
|
+
},
|
5265
|
+
onFocusChange(evt) {
|
5266
|
+
this.$emit('focus', evt);
|
5267
|
+
},
|
5268
|
+
onSeekBarChange(evt) {
|
5269
|
+
this.$emit('seek-change', evt);
|
5270
|
+
},
|
5271
|
+
|
5272
|
+
},
|
5273
|
+
|
5274
|
+
render(h) {
|
5275
|
+
const on = getEventRedirector.call(this, [
|
5276
|
+
['focus', 'focusChange'],
|
5277
|
+
['seek-change', 'seekBarChange'],
|
5278
|
+
]);
|
5279
|
+
return h('TVSeekBarViewComponent',
|
5280
|
+
{
|
5281
|
+
on,
|
5282
|
+
ref: 'seekBar',
|
5283
|
+
}, this.$slots.default);
|
5284
|
+
},
|
5285
|
+
});
|
5286
|
+
}
|
5287
|
+
|
5288
|
+
var ESProgressBar = {
|
5289
|
+
render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('es-progress-bar-view-component',{ref:"es_seek_bar",attrs:{"maxProgress":_vm.maxProgress,"progress":_vm.progress,"secondProgress":_vm.secondaryProgress,"backgroundColor":_vm.backgroundColor,"secondColor":_vm.secondaryColor,"cornerRadius":_vm.cornerRadius,"color":_vm.primaryColor}})},
|
5290
|
+
staticRenderFns: [],
|
5291
|
+
name: "ProgressBar",
|
5292
|
+
props: {
|
5293
|
+
maxProgress: {
|
5294
|
+
type: Number,
|
5295
|
+
default: 0
|
5296
|
+
},
|
5297
|
+
progress: {
|
5298
|
+
type: Number,
|
5299
|
+
default: 0
|
5300
|
+
},
|
5301
|
+
secondaryProgress: {
|
5302
|
+
type: Number,
|
5303
|
+
default: 0
|
5304
|
+
},
|
5305
|
+
primaryColor: {
|
5306
|
+
type: Object,
|
5307
|
+
default: {}
|
5308
|
+
},
|
5309
|
+
backgroundColor: {
|
5310
|
+
type: String,
|
5311
|
+
default: '#00000000'
|
5312
|
+
},
|
5313
|
+
secondaryColor: {
|
5314
|
+
type: String,
|
5315
|
+
default: '#00000000'
|
5316
|
+
},
|
5317
|
+
cornerRadius: {
|
5318
|
+
type: Number,
|
5319
|
+
default: 0
|
5320
|
+
},
|
5321
|
+
},
|
5322
|
+
methods: {
|
5323
|
+
setMaxProgress(progress) {
|
5324
|
+
this.$refs.es_seek_bar.setMaxProgress(progress);
|
5325
|
+
},
|
5326
|
+
setProgress(progress) {
|
5327
|
+
this.$refs.es_seek_bar.setProgress(progress);
|
5328
|
+
},
|
5329
|
+
setSecondProgress(progress) {
|
5330
|
+
this.$refs.es_seek_bar.setSecondProgress(progress);
|
5331
|
+
},
|
5332
|
+
show(value) {
|
5333
|
+
this.$refs.es_seek_bar.show(value);
|
5334
|
+
},
|
5335
|
+
//------------------------------------------------------------
|
5336
|
+
//----------------------------------------------------------
|
5337
|
+
invalidateSeekBar() {
|
5338
|
+
this.$refs.es_seek_bar.invalidateSeekBar();
|
5339
|
+
},
|
5340
|
+
setFocusable(focusable) {
|
5341
|
+
this.$refs.es_seek_bar.setFocusable(focusable);
|
5342
|
+
},
|
5343
|
+
setClickable(clickable) {
|
5344
|
+
this.$refs.es_seek_bar.setClickable(clickable);
|
5345
|
+
},
|
5346
|
+
requestFocus() {
|
5347
|
+
this.$refs.es_seek_bar.requestFocus();
|
5348
|
+
},
|
5349
|
+
requestLayout() {
|
5350
|
+
this.$refs.es_seek_bar.requestLayout();
|
5351
|
+
},
|
5352
|
+
invalidate() {
|
5353
|
+
this.$refs.es_seek_bar.invalidate();
|
5354
|
+
},
|
5355
|
+
setVisible(visible) {
|
5356
|
+
this.$refs.es_seek_bar.setVisible(visible);
|
5357
|
+
},
|
5358
|
+
setLeftSeekBarVisible(visible) {
|
5359
|
+
this.$refs.es_seek_bar.setLeftSeekBarVisible(visible);
|
5360
|
+
},
|
5361
|
+
setRightSeekBarVisible(visible) {
|
5362
|
+
this.$refs.es_seek_bar.setRightSeekBarVisible(visible);
|
5363
|
+
},
|
5364
|
+
setSeekBarMode(mode) {
|
5365
|
+
this.$refs.es_seek_bar.setSeekBarMode(mode);
|
5366
|
+
},
|
5367
|
+
setRangeProgress(leftValue, rightValue) {
|
5368
|
+
this.$refs.es_seek_bar.setRangeProgress(leftValue, rightValue);
|
5369
|
+
},
|
5370
|
+
getProgress() {
|
5371
|
+
this.$refs.es_seek_bar.getProgress();
|
5372
|
+
},
|
5373
|
+
getLeftProgress() {
|
5374
|
+
this.$refs.es_seek_bar.getLeftProgress();
|
5375
|
+
},
|
5376
|
+
getRightProgress() {
|
5377
|
+
this.$refs.es_seek_bar.getRightProgress();
|
5378
|
+
},
|
5379
|
+
setRange(min, max, minInterval) {
|
5380
|
+
this.$refs.es_seek_bar.setRange(min, max, minInterval);
|
5381
|
+
},
|
5382
|
+
setGravity(gravity) {
|
5383
|
+
this.$refs.es_seek_bar.setGravity(gravity);
|
5384
|
+
},
|
5385
|
+
setProgressWidth(progressWidth) {
|
5386
|
+
this.$refs.es_seek_bar.setProgressWidth(progressWidth);
|
5387
|
+
},
|
5388
|
+
setProgressHeight(progressHeight) {
|
5389
|
+
this.$refs.es_seek_bar.setProgressHeight(progressHeight);
|
5390
|
+
},
|
5391
|
+
setProgressRadius(progressRadius) {
|
5392
|
+
this.$refs.es_seek_bar.setProgressRadius(progressRadius);
|
5393
|
+
},
|
5394
|
+
setProgressColor(progressColor) {
|
5395
|
+
this.$refs.es_seek_bar.setProgressColor(progressColor);
|
5396
|
+
},
|
5397
|
+
setProgressDefaultColor(defaultProgressColor) {
|
5398
|
+
this.$refs.es_seek_bar.setProgressDefaultColor(defaultProgressColor);
|
5399
|
+
},
|
5400
|
+
setProgressDrawable(progressDrawable) {
|
5401
|
+
this.$refs.es_seek_bar.setProgressDrawable(progressDrawable);
|
5402
|
+
},
|
5403
|
+
setProgressDefaultDrawable(progressDefaultDrawable) {
|
5404
|
+
this.$refs.es_seek_bar.setProgressDefaultDrawable(progressDefaultDrawable);
|
5405
|
+
},
|
5406
|
+
setProgressUrl(progressUrl) {
|
5407
|
+
this.$refs.es_seek_bar.setProgressUrl(progressUrl);
|
5408
|
+
},
|
5409
|
+
setProgressDefaultUrl(progressDefaultUrl) {
|
5410
|
+
this.$refs.es_seek_bar.setProgressDefaultUrl(progressDefaultUrl);
|
5411
|
+
},
|
5412
|
+
showIndicator(showIndicator) {
|
5413
|
+
this.$refs.es_seek_bar.showIndicator(showIndicator);
|
5414
|
+
},
|
5415
|
+
showLeftIndicator(showLeftIndicator) {
|
5416
|
+
this.$refs.es_seek_bar.showLeftIndicator(showLeftIndicator);
|
5417
|
+
},
|
5418
|
+
showRightIndicator(showRightIndicator) {
|
5419
|
+
this.$refs.es_seek_bar.showRightIndicator(showRightIndicator);
|
5420
|
+
},
|
5421
|
+
setIndicatorShowMode(indicatorShowMode) {
|
5422
|
+
this.$refs.es_seek_bar.setIndicatorShowMode(indicatorShowMode);
|
5423
|
+
},
|
5424
|
+
setLeftIndicatorShowMode(indicatorShowMode) {
|
5425
|
+
this.$refs.es_seek_bar.setLeftIndicatorShowMode(indicatorShowMode);
|
5426
|
+
},
|
5427
|
+
setRightIndicatorShowMode(indicatorShowMode) {
|
5428
|
+
this.$refs.es_seek_bar.setRightIndicatorShowMode(indicatorShowMode);
|
5429
|
+
},
|
5430
|
+
setIndicatorWidth(indicatorWidth) {
|
5431
|
+
this.$refs.es_seek_bar.setIndicatorWidth(indicatorWidth);
|
5432
|
+
},
|
5433
|
+
setLeftIndicatorWidth(indicatorWidth) {
|
5434
|
+
this.$refs.es_seek_bar.setLeftIndicatorWidth(indicatorWidth);
|
5435
|
+
},
|
5436
|
+
setRightIndicatorWidth(indicatorWidth) {
|
5437
|
+
this.$refs.es_seek_bar.setRightIndicatorWidth(indicatorWidth);
|
5438
|
+
},
|
5439
|
+
setIndicatorHeight(indicatorHeight) {
|
5440
|
+
this.$refs.es_seek_bar.setIndicatorHeight(indicatorHeight);
|
5441
|
+
},
|
5442
|
+
setLeftIndicatorHeight(indicatorHeight) {
|
5443
|
+
this.$refs.es_seek_bar.setLeftIndicatorHeight(indicatorHeight);
|
5444
|
+
},
|
5445
|
+
setRightIndicatorHeight(indicatorHeight) {
|
5446
|
+
this.$refs.es_seek_bar.setRightIndicatorHeight(indicatorHeight);
|
5447
|
+
},
|
5448
|
+
setIndicatorTextDecimalFormat(formatPattern) {
|
5449
|
+
this.$refs.es_seek_bar.setIndicatorTextDecimalFormat(formatPattern);
|
5450
|
+
},
|
5451
|
+
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
5452
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextDecimalFormat(formatPattern);
|
5453
|
+
},
|
5454
|
+
setRightIndicatorTextDecimalFormat(formatPattern) {
|
5455
|
+
this.$refs.es_seek_bar.setRightIndicatorTextDecimalFormat(formatPattern);
|
5456
|
+
},
|
5457
|
+
setIndicatorTextStringFormat(formatPattern) {
|
5458
|
+
this.$refs.es_seek_bar.setIndicatorTextStringFormat(formatPattern);
|
5459
|
+
},
|
5460
|
+
setLeftIndicatorTextStringFormat(formatPattern) {
|
5461
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextStringFormat(formatPattern);
|
5462
|
+
},
|
5463
|
+
setRightIndicatorTextStringFormat(formatPattern) {
|
5464
|
+
this.$refs.es_seek_bar.setRightIndicatorTextStringFormat(formatPattern);
|
5465
|
+
},
|
5466
|
+
setIndicatorMargin(indicatorMargin) {
|
5467
|
+
this.$refs.es_seek_bar.setIndicatorMargin(indicatorMargin);
|
5468
|
+
},
|
5469
|
+
setLeftIndicatorMargin(indicatorMargin) {
|
5470
|
+
this.$refs.es_seek_bar.setLeftIndicatorMargin(indicatorMargin);
|
5471
|
+
},
|
5472
|
+
setRightIndicatorMargin(indicatorMargin) {
|
5473
|
+
this.$refs.es_seek_bar.setRightIndicatorMargin(indicatorMargin);
|
5474
|
+
},
|
5475
|
+
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5476
|
+
this.$refs.es_seek_bar.setIndicatorPaddingBottom(indicatorPaddingBottom);
|
5477
|
+
},
|
5478
|
+
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5479
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingBottom(indicatorPaddingBottom);
|
5480
|
+
},
|
5481
|
+
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5482
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingBottom(indicatorPaddingBottom);
|
5483
|
+
},
|
5484
|
+
setIndicatorPaddingTop(indicatorPaddingTop) {
|
5485
|
+
this.$refs.es_seek_bar.setIndicatorPaddingTop(indicatorPaddingTop);
|
5486
|
+
},
|
5487
|
+
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
5488
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingTop(indicatorPaddingTop);
|
5489
|
+
},
|
5490
|
+
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
5491
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingTop(indicatorPaddingTop);
|
5492
|
+
},
|
5493
|
+
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5494
|
+
this.$refs.es_seek_bar.setIndicatorPaddingLeft(indicatorPaddingLeft);
|
5495
|
+
},
|
5496
|
+
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5497
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingLeft(indicatorPaddingLeft);
|
5498
|
+
},
|
5499
|
+
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
5500
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingLeft(indicatorPaddingLeft);
|
5501
|
+
},
|
5502
|
+
setIndicatorPaddingRight(indicatorPaddingRight) {
|
5503
|
+
this.$refs.es_seek_bar.setIndicatorPaddingRight(indicatorPaddingRight);
|
5504
|
+
},
|
5505
|
+
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
5506
|
+
this.$refs.es_seek_bar.setLeftIndicatorPaddingRight(indicatorPaddingRight);
|
5507
|
+
},
|
5508
|
+
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
5509
|
+
this.$refs.es_seek_bar.setRightIndicatorPaddingRight(indicatorPaddingRight);
|
5510
|
+
},
|
5511
|
+
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5512
|
+
this.$refs.es_seek_bar.setIndicatorBackgroundColor(indicatorBackgroundColor);
|
5513
|
+
},
|
5514
|
+
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5515
|
+
this.$refs.es_seek_bar.setLeftIndicatorBackgroundColor(indicatorBackgroundColor);
|
5516
|
+
},
|
5517
|
+
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
5518
|
+
this.$refs.es_seek_bar.setRightIndicatorBackgroundColor(indicatorBackgroundColor);
|
5519
|
+
},
|
5520
|
+
setIndicatorRadius(indicatorRadius) {
|
5521
|
+
this.$refs.es_seek_bar.setIndicatorRadius(indicatorRadius);
|
5522
|
+
},
|
5523
|
+
setLeftIndicatorRadius(indicatorRadius) {
|
5524
|
+
this.$refs.es_seek_bar.setLeftIndicatorRadius(indicatorRadius);
|
5525
|
+
},
|
5526
|
+
setRightIndicatorRadius(indicatorRadius) {
|
5527
|
+
this.$refs.es_seek_bar.setRightIndicatorRadius(indicatorRadius);
|
5528
|
+
},
|
5529
|
+
setIndicatorTextSize(indicatorTextSize) {
|
5530
|
+
this.$refs.es_seek_bar.setIndicatorTextSize(indicatorTextSize);
|
5531
|
+
},
|
5532
|
+
setLeftIndicatorTextSize(indicatorTextSize) {
|
5533
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextSize(indicatorTextSize);
|
5534
|
+
},
|
5535
|
+
setRightIndicatorTextSize(indicatorTextSize) {
|
5536
|
+
this.$refs.es_seek_bar.setRightIndicatorTextSize(indicatorTextSize);
|
5537
|
+
},
|
5538
|
+
setIndicatorTextColor(indicatorTextColor) {
|
5539
|
+
this.$refs.es_seek_bar.setIndicatorTextColor(indicatorTextColor);
|
5540
|
+
},
|
5541
|
+
setLeftIndicatorTextColor(indicatorTextColor) {
|
5542
|
+
this.$refs.es_seek_bar.setLeftIndicatorTextColor(indicatorTextColor);
|
5543
|
+
},
|
5544
|
+
setRightIndicatorTextColor(indicatorTextColor) {
|
5545
|
+
this.$refs.es_seek_bar.setRightIndicatorTextColor(indicatorTextColor);
|
5546
|
+
},
|
5547
|
+
setIndicatorArrowSize(indicatorArrowSize) {
|
5548
|
+
this.$refs.es_seek_bar.setIndicatorArrowSize(indicatorArrowSize);
|
5549
|
+
},
|
5550
|
+
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
5551
|
+
this.$refs.es_seek_bar.setLeftIndicatorArrowSize(indicatorArrowSize);
|
5552
|
+
},
|
5553
|
+
setRightIndicatorArrowSize(indicatorArrowSize) {
|
5554
|
+
this.$refs.es_seek_bar.setRightIndicatorArrowSize(indicatorArrowSize);
|
5555
|
+
},
|
5556
|
+
setIndicatorDrawable(indicatorDrawable) {
|
5557
|
+
this.$refs.es_seek_bar.setIndicatorDrawable(indicatorDrawable);
|
5558
|
+
},
|
5559
|
+
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
5560
|
+
this.$refs.es_seek_bar.setLeftIndicatorDrawable(leftIndicatorDrawable);
|
5561
|
+
},
|
5562
|
+
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
5563
|
+
this.$refs.es_seek_bar.setRightIndicatorDrawable(rightIndicatorDrawable);
|
5564
|
+
},
|
5565
|
+
setIndicatorUrl(indicatorUrl) {
|
5566
|
+
this.$refs.es_seek_bar.setIndicatorUrl(indicatorUrl);
|
5567
|
+
},
|
5568
|
+
setLeftIndicatorUrl(leftIndicatorUrl) {
|
5569
|
+
this.$refs.es_seek_bar.setLeftIndicatorUrl(leftIndicatorUrl);
|
5570
|
+
},
|
5571
|
+
setRightIndicatorUrl(rightIndicatorUrl) {
|
5572
|
+
this.$refs.es_seek_bar.setRightIndicatorUrl(rightIndicatorUrl);
|
5573
|
+
},
|
5574
|
+
setThumbWidth(thumbWidth) {
|
5575
|
+
this.$refs.es_seek_bar.setThumbWidth(thumbWidth);
|
5576
|
+
},
|
5577
|
+
setLeftThumbWidth(thumbWidth) {
|
5578
|
+
this.$refs.es_seek_bar.setLeftThumbWidth(thumbWidth);
|
5579
|
+
},
|
5580
|
+
setRightThumbWidth(thumbWidth) {
|
5581
|
+
this.$refs.es_seek_bar.setRightThumbWidth(thumbWidth);
|
5582
|
+
},
|
5583
|
+
setThumbHeight(thumbHeight) {
|
5584
|
+
this.$refs.es_seek_bar.setThumbHeight(thumbHeight);
|
5585
|
+
},
|
5586
|
+
setLeftThumbHeight(thumbHeight) {
|
5587
|
+
this.$refs.es_seek_bar.setLeftThumbHeight(thumbHeight);
|
5588
|
+
},
|
5589
|
+
setRightThumbHeight(thumbHeight) {
|
5590
|
+
this.$refs.es_seek_bar.setRightThumbHeight(thumbHeight);
|
5591
|
+
},
|
5592
|
+
scaleThumb() {
|
5593
|
+
this.$refs.es_seek_bar.scaleThumb();
|
5594
|
+
},
|
5595
|
+
scaleLeftThumb() {
|
5596
|
+
this.$refs.es_seek_bar.scaleLeftThumb();
|
5597
|
+
},
|
5598
|
+
scaleRightThumb() {
|
5599
|
+
this.$refs.es_seek_bar.scaleRightThumb();
|
5600
|
+
},
|
5601
|
+
resetThumb() {
|
5602
|
+
this.$refs.es_seek_bar.resetThumb();
|
5603
|
+
},
|
5604
|
+
resetLeftThumb() {
|
5605
|
+
this.$refs.es_seek_bar.resetLeftThumb();
|
5606
|
+
},
|
5607
|
+
resetRightThumb() {
|
5608
|
+
this.$refs.es_seek_bar.resetRightThumb();
|
5609
|
+
},
|
5610
|
+
setThumbScaleRatio(thumbScaleRatio) {
|
5611
|
+
this.$refs.es_seek_bar.setThumbScaleRatio(thumbScaleRatio);
|
5612
|
+
},
|
5613
|
+
setLeftThumbScaleRatio(thumbScaleRatio) {
|
5614
|
+
this.$refs.es_seek_bar.setLeftThumbScaleRatio(thumbScaleRatio);
|
5615
|
+
},
|
5616
|
+
setRightThumbScaleRatio(thumbScaleRatio) {
|
5617
|
+
this.$refs.es_seek_bar.setRightThumbScaleRatio(thumbScaleRatio);
|
5618
|
+
},
|
5619
|
+
setThumbActivate(activate) {
|
5620
|
+
this.$refs.es_seek_bar.setThumbActivate(activate);
|
5621
|
+
},
|
5622
|
+
setLeftThumbActivate(activate) {
|
5623
|
+
this.$refs.es_seek_bar.setLeftThumbActivate(activate);
|
5624
|
+
},
|
5625
|
+
setRightThumbActivate(activate) {
|
5626
|
+
this.$refs.es_seek_bar.setRightThumbActivate(activate);
|
5627
|
+
},
|
5628
|
+
setThumbDrawable(drawable) {
|
5629
|
+
this.$refs.es_seek_bar.setThumbDrawable(drawable);
|
5630
|
+
},
|
5631
|
+
setLeftThumbDrawable(drawable) {
|
5632
|
+
this.$refs.es_seek_bar.setLeftThumbDrawable(drawable);
|
5633
|
+
},
|
5634
|
+
setRightThumbDrawable(drawable) {
|
5635
|
+
this.$refs.es_seek_bar.setRightThumbDrawable(drawable);
|
5636
|
+
},
|
5637
|
+
setThumbUrl(url) {
|
5638
|
+
this.$refs.es_seek_bar.setThumbUrl(url);
|
5639
|
+
},
|
5640
|
+
setLeftThumbUrl(url) {
|
5641
|
+
this.$refs.es_seek_bar.setLeftThumbUrl(url);
|
5642
|
+
},
|
5643
|
+
setRightThumbUrl(url) {
|
5644
|
+
this.$refs.es_seek_bar.setRightThumbUrl(url);
|
5645
|
+
},
|
5646
|
+
setThumbInactivatedDrawable(drawable) {
|
5647
|
+
this.$refs.es_seek_bar.setThumbInactivatedDrawable(drawable);
|
5648
|
+
},
|
5649
|
+
setLeftThumbInactivatedDrawable(drawable) {
|
5650
|
+
this.$refs.es_seek_bar.setLeftThumbInactivatedDrawable(drawable);
|
5651
|
+
},
|
5652
|
+
setRightThumbInactivatedDrawable(drawable) {
|
5653
|
+
this.$refs.es_seek_bar.setRightThumbInactivatedDrawable(drawable);
|
5654
|
+
},
|
5655
|
+
setThumbInactivatedUrl(url) {
|
5656
|
+
this.$refs.es_seek_bar.setThumbInactivatedUrl(url);
|
5657
|
+
},
|
5658
|
+
setLeftThumbInactivatedUrl(url) {
|
5659
|
+
this.$refs.es_seek_bar.setLeftThumbInactivatedUrl(url);
|
5660
|
+
},
|
5661
|
+
setRightThumbInactivatedUrl(url) {
|
5662
|
+
this.$refs.es_seek_bar.setRightThumbInactivatedUrl(url);
|
5663
|
+
},
|
5664
|
+
setTickMarkMode(tickMarkMode) {
|
5665
|
+
this.$refs.es_seek_bar.setTickMarkMode(tickMarkMode);
|
5666
|
+
},
|
5667
|
+
setTickMarkGravity(tickMarkGravity) {
|
5668
|
+
this.$refs.es_seek_bar.setTickMarkGravity(tickMarkGravity);
|
5669
|
+
},
|
5670
|
+
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
5671
|
+
this.$refs.es_seek_bar.setTickMarkLayoutGravity(tickMarkLayoutGravity);
|
5672
|
+
},
|
5673
|
+
setTickMarkTextArray(tickMarkTextArray) {
|
5674
|
+
this.$refs.es_seek_bar.setTickMarkTextArray(tickMarkTextArray);
|
5675
|
+
},
|
5676
|
+
setTickMarkTextMargin(tickMarkTextMargin) {
|
5677
|
+
this.$refs.es_seek_bar.setTickMarkTextMargin(tickMarkTextMargin);
|
5678
|
+
},
|
5679
|
+
setTickMarkTextSize(tickMarkTextSize) {
|
5680
|
+
this.$refs.es_seek_bar.setTickMarkTextSize(tickMarkTextSize);
|
5681
|
+
},
|
5682
|
+
setTickMarkTextColor(tickMarkTextColor) {
|
5683
|
+
this.$refs.es_seek_bar.setTickMarkTextColor(tickMarkTextColor);
|
5684
|
+
},
|
5685
|
+
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
5686
|
+
this.$refs.es_seek_bar.setTickMarkInRangeTextColor(tickMarkInRangeTextColor);
|
5687
|
+
},
|
5688
|
+
setSteps(steps) {
|
5689
|
+
this.$refs.es_seek_bar.setSteps(steps);
|
5690
|
+
},
|
5691
|
+
setStepsWidth(stepsWidth) {
|
5692
|
+
this.$refs.es_seek_bar.setStepsWidth(stepsWidth);
|
5693
|
+
},
|
5694
|
+
setStepsHeight(stepsHeight) {
|
5695
|
+
this.$refs.es_seek_bar.setStepsHeight(stepsHeight);
|
5696
|
+
},
|
5697
|
+
setStepsRadius(stepsRadius) {
|
5698
|
+
this.$refs.es_seek_bar.setStepsRadius(stepsRadius);
|
5699
|
+
},
|
5700
|
+
setStepsColor(stepsColor) {
|
5701
|
+
this.$refs.es_seek_bar.setStepsColor(stepsColor);
|
5702
|
+
},
|
5703
|
+
setStepsAutoBonding(stepsAutoBonding) {
|
5704
|
+
this.$refs.es_seek_bar.setStepsAutoBonding(stepsAutoBonding);
|
5705
|
+
},
|
5706
|
+
setStepsDrawable(drawableArray) {
|
5707
|
+
this.$refs.es_seek_bar.setStepsDrawable(drawableArray);
|
5708
|
+
},
|
5709
|
+
setStepsUrl(urlArray) {
|
5710
|
+
this.$refs.es_seek_bar.setStepsUrl(urlArray);
|
5711
|
+
},
|
5712
|
+
}
|
5713
|
+
};
|
5714
|
+
|
5715
|
+
function ESProgressBarViewComponent() {
|
5716
|
+
//
|
5717
|
+
Vue.component(ESProgressBar.name, ESProgressBar);
|
5718
|
+
|
5719
|
+
Vue.registerElement('TVProgressBarViewComponent', {
|
5720
|
+
component: {
|
5721
|
+
name: 'TVProgressBarViewComponent',
|
5722
|
+
processEventData(event, nativeEventName, nativeEventParams) {
|
5723
|
+
switch (nativeEventName) {
|
5724
|
+
case 'onSeekBarChange':
|
5725
|
+
event.fromUser = nativeEventParams.fromUser;
|
5726
|
+
event.progress = nativeEventParams.progress;
|
5727
|
+
event.leftProgress = nativeEventParams.leftProgress;
|
5728
|
+
event.rightProgress = nativeEventParams.rightProgress;
|
5729
|
+
break;
|
5730
|
+
}
|
5731
|
+
return event;
|
5732
|
+
},
|
5733
|
+
},
|
5734
|
+
});
|
5735
|
+
|
5736
|
+
Vue.component('es-progress-bar-view-component', {
|
5737
|
+
methods: {
|
5738
|
+
invalidateSeekBar() {
|
5739
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5740
|
+
'invalidateSeekBar', [], (res) => {
|
5741
|
+
});
|
5742
|
+
},
|
5743
|
+
setFocusable(focusable) {
|
5744
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5745
|
+
'setFocusable', [focusable], (res) => {
|
5746
|
+
});
|
5747
|
+
},
|
5748
|
+
setClickable(clickable) {
|
5749
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5750
|
+
'setClickable', [clickable], (res) => {
|
5751
|
+
});
|
5752
|
+
},
|
5753
|
+
requestFocus() {
|
5754
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5755
|
+
'requestFocus', [], (res) => {
|
5756
|
+
});
|
5757
|
+
},
|
5758
|
+
requestLayout() {
|
5759
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5760
|
+
'requestLayout', [], (res) => {
|
5761
|
+
});
|
5762
|
+
},
|
5763
|
+
invalidate() {
|
5764
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5765
|
+
'invalidate', [], (res) => {
|
5766
|
+
});
|
5767
|
+
},
|
5768
|
+
setVisible(visible) {
|
5769
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5770
|
+
'setVisible', [visible], (res) => {
|
5771
|
+
});
|
5772
|
+
},
|
5773
|
+
setLeftSeekBarVisible(visible) {
|
5774
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5775
|
+
'setLeftSeekBarVisible', [visible], (res) => {
|
5776
|
+
});
|
5777
|
+
},
|
5778
|
+
setRightSeekBarVisible(visible) {
|
5779
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5780
|
+
'setRightSeekBarVisible', [visible], (res) => {
|
5781
|
+
});
|
5782
|
+
},
|
5783
|
+
setSeekBarMode(mode) {
|
5784
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5785
|
+
'setSeekBarMode', [mode], (res) => {
|
5786
|
+
});
|
5787
|
+
},
|
5788
|
+
setProgress(progress) {
|
5789
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5790
|
+
'setProgress', [progress], (res) => {
|
5791
|
+
});
|
5792
|
+
},
|
5793
|
+
setRangeProgress(leftValue, rightValue) {
|
5794
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5795
|
+
'setProgress', [leftValue, rightValue], (res) => {
|
5796
|
+
});
|
5797
|
+
},
|
5798
|
+
getProgress() {
|
5799
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5800
|
+
'getProgress', [], (progress) => {
|
5801
|
+
});
|
5802
|
+
},
|
5803
|
+
getLeftProgress() {
|
5804
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5805
|
+
'getLeftProgress', [], (progress) => {
|
5806
|
+
});
|
5807
|
+
},
|
5808
|
+
getRightProgress() {
|
5809
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5810
|
+
'getRightProgress', [], (progress) => {
|
5811
|
+
});
|
5812
|
+
},
|
5813
|
+
setRange(min, max, minInterval) {
|
5814
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5815
|
+
'setRange', [min, max, minInterval], (value) => {
|
5816
|
+
});
|
5817
|
+
},
|
5818
|
+
setGravity(gravity) {
|
5819
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5820
|
+
'setGravity', [gravity], (value) => {
|
5821
|
+
});
|
5822
|
+
},
|
5823
|
+
setProgressWidth(progressWidth) {
|
5824
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5825
|
+
'setProgressWidth', [progressWidth], (value) => {
|
5826
|
+
});
|
5827
|
+
},
|
5828
|
+
setProgressHeight(progressHeight) {
|
5829
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5830
|
+
'setProgressHeight', [progressHeight], (value) => {
|
5831
|
+
});
|
5832
|
+
},
|
5833
|
+
setProgressRadius(progressRadius) {
|
5834
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5835
|
+
'setProgressRadius', [progressRadius], (value) => {
|
5836
|
+
});
|
5837
|
+
},
|
5838
|
+
setProgressColor(progressColor) {
|
5839
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5840
|
+
'setProgressColor', [progressColor], (value) => {
|
5841
|
+
});
|
5842
|
+
},
|
5843
|
+
setProgressDefaultColor(defaultProgressColor) {
|
5844
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5845
|
+
'setProgressDefaultColor', [defaultProgressColor], (value) => {
|
5846
|
+
});
|
5847
|
+
},
|
5848
|
+
setProgressDrawable(progressDrawable) {
|
5849
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5850
|
+
'setProgressDrawable', [progressDrawable], (value) => {
|
5851
|
+
});
|
5852
|
+
},
|
5853
|
+
setProgressDefaultDrawable(progressDefaultDrawable) {
|
5854
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5855
|
+
'setProgressDefaultDrawable', [progressDefaultDrawable], (value) => {
|
5856
|
+
});
|
5857
|
+
},
|
5858
|
+
setProgressUrl(progressUrl) {
|
5859
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5860
|
+
'setProgressUrl', [progressUrl], (value) => {
|
5861
|
+
});
|
5862
|
+
},
|
5863
|
+
setProgressDefaultUrl(progressDefaultUrl) {
|
5864
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5865
|
+
'setProgressDefaultUrl', [progressDefaultUrl], (value) => {
|
5866
|
+
});
|
5867
|
+
},
|
5868
|
+
showIndicator(showIndicator) {
|
5869
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5870
|
+
'showIndicator', [showIndicator], (value) => {
|
5871
|
+
});
|
5872
|
+
},
|
5873
|
+
showLeftIndicator(showLeftIndicator) {
|
5874
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5875
|
+
'showLeftIndicator', [showLeftIndicator], (value) => {
|
5876
|
+
});
|
5877
|
+
},
|
5878
|
+
showRightIndicator(showRightIndicator) {
|
5879
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5880
|
+
'showRightIndicator', [showRightIndicator], (value) => {
|
5881
|
+
});
|
5882
|
+
},
|
5883
|
+
setIndicatorShowMode(indicatorShowMode) {
|
5884
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5885
|
+
'setIndicatorShowMode', [indicatorShowMode], (value) => {
|
5886
|
+
});
|
5887
|
+
},
|
5888
|
+
setLeftIndicatorShowMode(indicatorShowMode) {
|
5889
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5890
|
+
'setLeftIndicatorShowMode', [indicatorShowMode], (value) => {
|
5891
|
+
});
|
5892
|
+
},
|
5893
|
+
setRightIndicatorShowMode(indicatorShowMode) {
|
5894
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5895
|
+
'setRightIndicatorShowMode', [indicatorShowMode], (value) => {
|
5896
|
+
});
|
5897
|
+
},
|
5898
|
+
setIndicatorWidth(indicatorWidth) {
|
5899
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5900
|
+
'setIndicatorWidth', [indicatorWidth], (value) => {
|
5901
|
+
});
|
5902
|
+
},
|
5903
|
+
setLeftIndicatorWidth(indicatorWidth) {
|
5904
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5905
|
+
'setLeftIndicatorWidth', [indicatorWidth], (value) => {
|
5906
|
+
});
|
5907
|
+
},
|
5908
|
+
setRightIndicatorWidth(indicatorWidth) {
|
5909
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5910
|
+
'setRightIndicatorWidth', [indicatorWidth], (value) => {
|
5911
|
+
});
|
5912
|
+
},
|
5913
|
+
|
5914
|
+
setIndicatorHeight(indicatorHeight) {
|
5915
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5916
|
+
'setIndicatorHeight', [indicatorHeight], (value) => {
|
5917
|
+
});
|
5918
|
+
},
|
5919
|
+
setLeftIndicatorHeight(indicatorHeight) {
|
5920
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5921
|
+
'setLeftIndicatorHeight', [indicatorHeight], (value) => {
|
5922
|
+
});
|
5923
|
+
},
|
5924
|
+
setRightIndicatorHeight(indicatorHeight) {
|
5925
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5926
|
+
'setRightIndicatorHeight', [indicatorHeight], (value) => {
|
5927
|
+
});
|
5928
|
+
},
|
5929
|
+
setIndicatorTextDecimalFormat(formatPattern) {
|
5930
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5931
|
+
'setIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
5932
|
+
});
|
5933
|
+
},
|
5934
|
+
setLeftIndicatorTextDecimalFormat(formatPattern) {
|
5935
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5936
|
+
'setLeftIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
5937
|
+
});
|
5938
|
+
},
|
5939
|
+
setRightIndicatorTextDecimalFormat(formatPattern) {
|
5940
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5941
|
+
'setRightIndicatorTextDecimalFormat', [formatPattern], (value) => {
|
5942
|
+
});
|
5943
|
+
},
|
5944
|
+
setIndicatorTextStringFormat(formatPattern) {
|
5945
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5946
|
+
'setIndicatorTextStringFormat', [formatPattern], (value) => {
|
5947
|
+
});
|
5948
|
+
},
|
5949
|
+
setLeftIndicatorTextStringFormat(formatPattern) {
|
5950
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5951
|
+
'setLeftIndicatorTextStringFormat', [formatPattern], (value) => {
|
5952
|
+
});
|
5953
|
+
},
|
5954
|
+
setRightIndicatorTextStringFormat(formatPattern) {
|
5955
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5956
|
+
'setRightIndicatorTextStringFormat', [formatPattern], (value) => {
|
5957
|
+
});
|
5958
|
+
},
|
5959
|
+
setIndicatorMargin(indicatorMargin) {
|
5960
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5961
|
+
'setIndicatorMargin', [indicatorMargin], (value) => {
|
5962
|
+
});
|
5963
|
+
},
|
5964
|
+
setLeftIndicatorMargin(indicatorMargin) {
|
5965
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5966
|
+
'setLeftIndicatorMargin', [indicatorMargin], (value) => {
|
5967
|
+
});
|
5968
|
+
},
|
5969
|
+
setRightIndicatorMargin(indicatorMargin) {
|
5970
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5971
|
+
'setRightIndicatorMargin', [indicatorMargin], (value) => {
|
5972
|
+
});
|
5973
|
+
},
|
5974
|
+
setIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5975
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5976
|
+
'setIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
5977
|
+
});
|
5978
|
+
},
|
5979
|
+
setLeftIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5980
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5981
|
+
'setLeftIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
5982
|
+
});
|
5983
|
+
},
|
5984
|
+
setRightIndicatorPaddingBottom(indicatorPaddingBottom) {
|
5985
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5986
|
+
'setRightIndicatorPaddingBottom', [indicatorPaddingBottom], (value) => {
|
5987
|
+
});
|
5988
|
+
},
|
5989
|
+
setIndicatorPaddingTop(indicatorPaddingTop) {
|
5990
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5991
|
+
'setIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
5992
|
+
});
|
5993
|
+
},
|
5994
|
+
setLeftIndicatorPaddingTop(indicatorPaddingTop) {
|
5995
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
5996
|
+
'setLeftIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
5997
|
+
});
|
5998
|
+
},
|
5999
|
+
setRightIndicatorPaddingTop(indicatorPaddingTop) {
|
6000
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6001
|
+
'setRightIndicatorPaddingTop', [indicatorPaddingTop], (value) => {
|
6002
|
+
});
|
6003
|
+
},
|
6004
|
+
|
6005
|
+
setIndicatorPaddingLeft(indicatorPaddingLeft) {
|
6006
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6007
|
+
'setIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
6008
|
+
});
|
6009
|
+
},
|
6010
|
+
setLeftIndicatorPaddingLeft(indicatorPaddingLeft) {
|
6011
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6012
|
+
'setLeftIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
6013
|
+
});
|
6014
|
+
},
|
6015
|
+
setRightIndicatorPaddingLeft(indicatorPaddingLeft) {
|
6016
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6017
|
+
'setRightIndicatorPaddingLeft', [indicatorPaddingLeft], (value) => {
|
6018
|
+
});
|
6019
|
+
},
|
6020
|
+
setIndicatorPaddingRight(indicatorPaddingRight) {
|
6021
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6022
|
+
'setIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
6023
|
+
});
|
6024
|
+
},
|
6025
|
+
setLeftIndicatorPaddingRight(indicatorPaddingRight) {
|
6026
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6027
|
+
'setLeftIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
6028
|
+
});
|
6029
|
+
},
|
6030
|
+
setRightIndicatorPaddingRight(indicatorPaddingRight) {
|
6031
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6032
|
+
'setRightIndicatorPaddingRight', [indicatorPaddingRight], (value) => {
|
6033
|
+
});
|
6034
|
+
},
|
6035
|
+
setIndicatorBackgroundColor(indicatorBackgroundColor) {
|
6036
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6037
|
+
'setIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
6038
|
+
});
|
6039
|
+
},
|
6040
|
+
setLeftIndicatorBackgroundColor(indicatorBackgroundColor) {
|
6041
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6042
|
+
'setLeftIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
6043
|
+
});
|
6044
|
+
},
|
6045
|
+
setRightIndicatorBackgroundColor(indicatorBackgroundColor) {
|
6046
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6047
|
+
'setRightIndicatorBackgroundColor', [indicatorBackgroundColor], (value) => {
|
6048
|
+
});
|
6049
|
+
},
|
6050
|
+
setIndicatorRadius(indicatorRadius) {
|
6051
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6052
|
+
'setIndicatorRadius', [indicatorRadius], (value) => {
|
6053
|
+
});
|
6054
|
+
},
|
6055
|
+
setLeftIndicatorRadius(indicatorRadius) {
|
6056
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6057
|
+
'setLeftIndicatorRadius', [indicatorRadius], (value) => {
|
6058
|
+
});
|
6059
|
+
},
|
6060
|
+
setRightIndicatorRadius(indicatorRadius) {
|
6061
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6062
|
+
'setRightIndicatorRadius', [indicatorRadius], (value) => {
|
6063
|
+
});
|
6064
|
+
},
|
6065
|
+
setIndicatorTextSize(indicatorTextSize) {
|
6066
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6067
|
+
'setIndicatorTextSize', [indicatorTextSize], (value) => {
|
6068
|
+
});
|
6069
|
+
},
|
6070
|
+
setLeftIndicatorTextSize(indicatorTextSize) {
|
6071
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6072
|
+
'setLeftIndicatorTextSize', [indicatorTextSize], (value) => {
|
6073
|
+
});
|
6074
|
+
},
|
6075
|
+
setRightIndicatorTextSize(indicatorTextSize) {
|
6076
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6077
|
+
'setRightIndicatorTextSize', [indicatorTextSize], (value) => {
|
6078
|
+
});
|
6079
|
+
},
|
6080
|
+
setIndicatorTextColor(indicatorTextColor) {
|
6081
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6082
|
+
'setIndicatorTextColor', [indicatorTextColor], (value) => {
|
6083
|
+
});
|
6084
|
+
},
|
6085
|
+
setLeftIndicatorTextColor(indicatorTextColor) {
|
6086
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6087
|
+
'setLeftIndicatorTextColor', [indicatorTextColor], (value) => {
|
6088
|
+
});
|
6089
|
+
},
|
6090
|
+
setRightIndicatorTextColor(indicatorTextColor) {
|
6091
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6092
|
+
'setRightIndicatorTextColor', [indicatorTextColor], (value) => {
|
6093
|
+
});
|
6094
|
+
},
|
6095
|
+
setIndicatorArrowSize(indicatorArrowSize) {
|
6096
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6097
|
+
'setIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
6098
|
+
});
|
6099
|
+
},
|
6100
|
+
setLeftIndicatorArrowSize(indicatorArrowSize) {
|
6101
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6102
|
+
'setLeftIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
6103
|
+
});
|
6104
|
+
},
|
6105
|
+
setRightIndicatorArrowSize(indicatorArrowSize) {
|
6106
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6107
|
+
'setRightIndicatorArrowSize', [indicatorArrowSize], (value) => {
|
6108
|
+
});
|
6109
|
+
},
|
6110
|
+
setIndicatorDrawable(indicatorDrawable) {
|
6111
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6112
|
+
'setIndicatorDrawable', [indicatorDrawable], (value) => {
|
6113
|
+
});
|
6114
|
+
},
|
6115
|
+
setLeftIndicatorDrawable(leftIndicatorDrawable) {
|
6116
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6117
|
+
'setLeftIndicatorDrawable', [leftIndicatorDrawable], (value) => {
|
6118
|
+
});
|
6119
|
+
},
|
6120
|
+
setRightIndicatorDrawable(rightIndicatorDrawable) {
|
6121
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6122
|
+
'setRightIndicatorDrawable', [rightIndicatorDrawable], (value) => {
|
6123
|
+
});
|
6124
|
+
},
|
6125
|
+
setIndicatorUrl(indicatorUrl) {
|
6126
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6127
|
+
'setIndicatorUrl', [indicatorUrl], (value) => {
|
6128
|
+
});
|
6129
|
+
},
|
6130
|
+
setLeftIndicatorUrl(leftIndicatorUrl) {
|
6131
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6132
|
+
'setLeftIndicatorUrl', [leftIndicatorUrl], (value) => {
|
6133
|
+
});
|
6134
|
+
},
|
6135
|
+
setRightIndicatorUrl(rightIndicatorUrl) {
|
6136
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6137
|
+
'setRightIndicatorUrl', [rightIndicatorUrl], (value) => {
|
6138
|
+
});
|
6139
|
+
},
|
6140
|
+
setThumbWidth(thumbWidth) {
|
6141
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6142
|
+
'setThumbWidth', [thumbWidth], (value) => {
|
6143
|
+
});
|
6144
|
+
},
|
6145
|
+
setLeftThumbWidth(thumbWidth) {
|
6146
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6147
|
+
'setLeftThumbWidth', [thumbWidth], (value) => {
|
6148
|
+
});
|
6149
|
+
},
|
6150
|
+
setRightThumbWidth(thumbWidth) {
|
6151
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6152
|
+
'setRightThumbWidth', [thumbWidth], (value) => {
|
6153
|
+
});
|
6154
|
+
},
|
6155
|
+
setThumbHeight(thumbHeight) {
|
6156
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6157
|
+
'setThumbHeight', [thumbHeight], (value) => {
|
6158
|
+
});
|
6159
|
+
},
|
6160
|
+
setLeftThumbHeight(thumbHeight) {
|
6161
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6162
|
+
'setLeftThumbHeight', [thumbHeight], (value) => {
|
6163
|
+
});
|
6164
|
+
},
|
6165
|
+
setRightThumbHeight(thumbHeight) {
|
6166
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6167
|
+
'setRightThumbHeight', [thumbHeight], (value) => {
|
6168
|
+
});
|
6169
|
+
},
|
6170
|
+
scaleThumb() {
|
6171
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6172
|
+
'scaleThumb', [], (value) => {
|
6173
|
+
});
|
6174
|
+
},
|
6175
|
+
scaleLeftThumb() {
|
6176
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6177
|
+
'scaleLeftThumb', [], (value) => {
|
6178
|
+
});
|
6179
|
+
},
|
6180
|
+
scaleRightThumb() {
|
6181
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6182
|
+
'scaleLeftThumb', [], (value) => {
|
6183
|
+
});
|
6184
|
+
},
|
6185
|
+
resetThumb() {
|
6186
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6187
|
+
'resetThumb', [], (value) => {
|
6188
|
+
});
|
6189
|
+
},
|
6190
|
+
resetLeftThumb() {
|
6191
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6192
|
+
'resetLeftThumb', [], (value) => {
|
6193
|
+
});
|
6194
|
+
},
|
6195
|
+
resetRightThumb() {
|
6196
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6197
|
+
'resetRightThumb', [], (value) => {
|
6198
|
+
});
|
6199
|
+
},
|
6200
|
+
setThumbScaleRatio(thumbScaleRatio) {
|
6201
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6202
|
+
'setThumbScaleRatio', [thumbScaleRatio], (value) => {
|
6203
|
+
});
|
6204
|
+
},
|
6205
|
+
setLeftThumbScaleRatio(thumbScaleRatio) {
|
6206
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6207
|
+
'setLeftThumbScaleRatio', [thumbScaleRatio], (value) => {
|
6208
|
+
});
|
6209
|
+
},
|
6210
|
+
setRightThumbScaleRatio(thumbScaleRatio) {
|
6211
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6212
|
+
'setRightThumbScaleRatio', [thumbScaleRatio], (value) => {
|
6213
|
+
});
|
6214
|
+
},
|
6215
|
+
setThumbActivate(activate) {
|
6216
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6217
|
+
'setThumbActivate', [activate], (value) => {
|
6218
|
+
});
|
6219
|
+
},
|
6220
|
+
setLeftThumbActivate(activate) {
|
6221
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6222
|
+
'setLeftThumbActivate', [activate], (value) => {
|
6223
|
+
});
|
6224
|
+
},
|
6225
|
+
setRightThumbActivate(activate) {
|
6226
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6227
|
+
'setRightThumbActivate', [activate], (value) => {
|
6228
|
+
});
|
6229
|
+
},
|
6230
|
+
setThumbDrawable(drawable) {
|
6231
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6232
|
+
'setThumbDrawable', [drawable], (value) => {
|
6233
|
+
});
|
6234
|
+
},
|
6235
|
+
setLeftThumbDrawable(drawable) {
|
6236
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6237
|
+
'setLeftThumbDrawable', [drawable], (value) => {
|
6238
|
+
});
|
6239
|
+
},
|
6240
|
+
setRightThumbDrawable(drawable) {
|
6241
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6242
|
+
'setRightThumbDrawable', [drawable], (value) => {
|
6243
|
+
});
|
6244
|
+
},
|
6245
|
+
setThumbUrl(url) {
|
6246
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6247
|
+
'setThumbUrl', [url], (value) => {
|
6248
|
+
});
|
6249
|
+
},
|
6250
|
+
setLeftThumbUrl(url) {
|
6251
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6252
|
+
'setLeftThumbUrl', [url], (value) => {
|
6253
|
+
});
|
6254
|
+
},
|
6255
|
+
setRightThumbUrl(url) {
|
6256
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6257
|
+
'setRightThumbUrl', [url], (value) => {
|
6258
|
+
});
|
6259
|
+
},
|
6260
|
+
setThumbInactivatedDrawable(drawable) {
|
6261
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6262
|
+
'setThumbInactivatedDrawable', [drawable], (value) => {
|
6263
|
+
});
|
6264
|
+
},
|
6265
|
+
setLeftThumbInactivatedDrawable(drawable) {
|
6266
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6267
|
+
'setLeftThumbInactivatedDrawable', [drawable], (value) => {
|
6268
|
+
});
|
6269
|
+
},
|
6270
|
+
setRightThumbInactivatedDrawable(drawable) {
|
6271
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6272
|
+
'setRightThumbInactivatedDrawable', [drawable], (value) => {
|
6273
|
+
});
|
6274
|
+
},
|
6275
|
+
setThumbInactivatedUrl(url) {
|
6276
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6277
|
+
'setThumbInactivatedUrl', [url], (value) => {
|
6278
|
+
});
|
6279
|
+
},
|
6280
|
+
setLeftThumbInactivatedUrl(url) {
|
6281
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6282
|
+
'setLeftThumbInactivatedUrl', [url], (value) => {
|
6283
|
+
});
|
6284
|
+
},
|
6285
|
+
setRightThumbInactivatedUrl(url) {
|
6286
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6287
|
+
'setRightThumbInactivatedUrl', [url], (value) => {
|
6288
|
+
});
|
6289
|
+
},
|
6290
|
+
setTickMarkMode(tickMarkMode) {
|
6291
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6292
|
+
'setTickMarkMode', [tickMarkMode], (value) => {
|
6293
|
+
});
|
6294
|
+
},
|
6295
|
+
setTickMarkGravity(tickMarkGravity) {
|
6296
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6297
|
+
'setTickMarkGravity', [tickMarkGravity], (value) => {
|
6298
|
+
});
|
6299
|
+
},
|
6300
|
+
setTickMarkLayoutGravity(tickMarkLayoutGravity) {
|
6301
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6302
|
+
'setTickMarkLayoutGravity', [tickMarkLayoutGravity], (value) => {
|
6303
|
+
});
|
6304
|
+
},
|
6305
|
+
setTickMarkTextArray(tickMarkTextArray) {
|
6306
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6307
|
+
'setTickMarkTextArray', [tickMarkTextArray], (value) => {
|
6308
|
+
});
|
6309
|
+
},
|
6310
|
+
setTickMarkTextMargin(tickMarkTextMargin) {
|
6311
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6312
|
+
'setTickMarkTextMargin', [tickMarkTextMargin], (value) => {
|
6313
|
+
});
|
6314
|
+
},
|
6315
|
+
setTickMarkTextSize(tickMarkTextSize) {
|
6316
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6317
|
+
'setTickMarkTextSize', [tickMarkTextSize], (value) => {
|
6318
|
+
});
|
6319
|
+
},
|
6320
|
+
setTickMarkTextColor(tickMarkTextColor) {
|
6321
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6322
|
+
'setTickMarkTextColor', [tickMarkTextColor], (value) => {
|
6323
|
+
});
|
6324
|
+
},
|
6325
|
+
setTickMarkInRangeTextColor(tickMarkInRangeTextColor) {
|
6326
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6327
|
+
'setTickMarkInRangeTextColor', [tickMarkInRangeTextColor], (value) => {
|
6328
|
+
});
|
6329
|
+
},
|
6330
|
+
setSteps(steps) {
|
6331
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6332
|
+
'setSteps', [steps], (value) => {
|
6333
|
+
});
|
6334
|
+
},
|
6335
|
+
setStepsWidth(stepsWidth) {
|
6336
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6337
|
+
'setStepsWidth', [stepsWidth], (value) => {
|
6338
|
+
});
|
6339
|
+
},
|
6340
|
+
setStepsHeight(stepsHeight) {
|
6341
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6342
|
+
'setStepsHeight', [stepsHeight], (value) => {
|
6343
|
+
});
|
6344
|
+
},
|
6345
|
+
setStepsRadius(stepsRadius) {
|
6346
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6347
|
+
'setStepsRadius', [stepsRadius], (value) => {
|
6348
|
+
});
|
6349
|
+
},
|
6350
|
+
setStepsColor(stepsColor) {
|
6351
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6352
|
+
'setStepsColor', [stepsColor], (value) => {
|
6353
|
+
});
|
6354
|
+
},
|
6355
|
+
setStepsAutoBonding(stepsAutoBonding) {
|
6356
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6357
|
+
'setStepsAutoBonding', [stepsAutoBonding], (value) => {
|
6358
|
+
});
|
6359
|
+
},
|
6360
|
+
setStepsDrawable(drawableArray) {
|
6361
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6362
|
+
'setStepsDrawable', [drawableArray], (value) => {
|
6363
|
+
});
|
6364
|
+
},
|
6365
|
+
setStepsUrl(urlArray) {
|
6366
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6367
|
+
'setStepsUrl', [urlArray], (value) => {
|
6368
|
+
});
|
6369
|
+
},
|
6370
|
+
setMaxProgress(progress) {
|
6371
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6372
|
+
'setMaxProgress', [progress], (res) => {
|
6373
|
+
});
|
6374
|
+
},
|
6375
|
+
setSecondProgress(progress) {
|
6376
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6377
|
+
'setSecondProgress', [progress], (res) => {
|
6378
|
+
});
|
6379
|
+
},
|
6380
|
+
show(value) {
|
6381
|
+
Vue.Native.callUIFunction(this.$refs.seekbar,
|
6382
|
+
'show', [value], (res) => {
|
6383
|
+
});
|
6384
|
+
},
|
6385
|
+
onSeekBarChange(evt) {
|
6386
|
+
this.$emit('seek-change', evt);
|
6387
|
+
},
|
6388
|
+
},
|
6389
|
+
render(h) {
|
6390
|
+
const on = getEventRedirector.call(this, [
|
6391
|
+
['seek-change', 'seekBarChange'],
|
6392
|
+
]);
|
6393
|
+
return h('TVProgressBarViewComponent',
|
6394
|
+
{
|
6395
|
+
on,
|
6396
|
+
ref: 'seekbar'
|
4374
6397
|
}, this.$slots.default
|
4375
6398
|
);
|
4376
6399
|
}
|