@ezuikit/player-theme 3.1.4-beta.1 → 3.1.4-beta.2
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/constant.js +2 -2
- package/dist/index.cjs +401 -514
- package/dist/index.esm.js +401 -514
- package/dist/index.umd.js +628 -1085
- package/dist/style.css +3 -2
- package/dist/style.js +2 -3
- package/dist/types/index.d.ts +40 -57
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v3.1.4-beta.
|
|
3
|
-
* Copyright (c) 2026-08-
|
|
2
|
+
* @ezuikit/player-theme v3.1.4-beta.2
|
|
3
|
+
* Copyright (c) 2026-08-27 19:42:35 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
@@ -480,14 +480,10 @@ function _set_prototype_of$z(o, p) {
|
|
|
480
480
|
}(EventEmitter);
|
|
481
481
|
|
|
482
482
|
function _extends$y() {
|
|
483
|
-
_extends$y = Object.assign || function(target) {
|
|
483
|
+
_extends$y = Object.assign || function assign(target) {
|
|
484
484
|
for(var i = 1; i < arguments.length; i++){
|
|
485
485
|
var source = arguments[i];
|
|
486
|
-
for(var key in source)
|
|
487
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
488
|
-
target[key] = source[key];
|
|
489
|
-
}
|
|
490
|
-
}
|
|
486
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
491
487
|
}
|
|
492
488
|
return target;
|
|
493
489
|
};
|
|
@@ -561,14 +557,10 @@ var LOADING_DEFAULT_OPTIONS = {};
|
|
|
561
557
|
}(Control);
|
|
562
558
|
|
|
563
559
|
function _extends$x() {
|
|
564
|
-
_extends$x = Object.assign || function(target) {
|
|
560
|
+
_extends$x = Object.assign || function assign(target) {
|
|
565
561
|
for(var i = 1; i < arguments.length; i++){
|
|
566
562
|
var source = arguments[i];
|
|
567
|
-
for(var key in source)
|
|
568
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
569
|
-
target[key] = source[key];
|
|
570
|
-
}
|
|
571
|
-
}
|
|
563
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
572
564
|
}
|
|
573
565
|
return target;
|
|
574
566
|
};
|
|
@@ -674,7 +666,7 @@ var POSTER_OPTIONS = {
|
|
|
674
666
|
var Icons = {
|
|
675
667
|
/** 播放 */ play: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" focusable="false" aria-hidden="true" data-icon="play">\n <rect x="6.5" y="5.5" rx="1.25" width="2.5" height="13"/>\n <rect x="15" y="5.5" rx="1.25" width="2.5" height="13"/>\n </svg>',
|
|
676
668
|
/** 暂停 */ pause: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" focusable="false" aria-hidden="true" data-icon="pause"> <path d="M17.5 13.66L9.1 19.26C7.78 20.14 6 19.19 6 17.59L6 6.4C6 4.8 7.78 3.85 9.1 4.73L17.5 10.33C18.69 11.12 18.69 12.87 17.5 13.66Z" /></svg>',
|
|
677
|
-
/** 音量 */ volume: function(prefix) {
|
|
669
|
+
/** 音量 */ volume: function volume(prefix) {
|
|
678
670
|
return '<svg width="1em" height="1em" viewBox="0 0 24 24" stroke="currentColor" fill="none" focusable="false" aria-hidden="true" data-icon="volume">\n <path class="' + prefix + '-icon-volume-muted" d="M20.57 9.69L16.07 14.19" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <path class="' + prefix + '-icon-volume-muted" d="M20.57 14.19L16.07 9.69" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <!-- 音低 -->\n <path class="' + prefix + '-icon-volume-low" d="M15.53 15.97C16.69 15.25 17.49 13.75 17.49 12C17.49 10.25 16.69 8.75 15.53 8.02" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <!-- 音高 -->\n <path class="' + prefix + '-icon-volume-high" d="M18.5 19.06C20.31 17.5 21.49 14.93 21.49 12C21.49 9.07 20.31 6.48 18.49 4.93" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M5.87 8.62L9.85 5.25C10.5 4.7 11.49 5.16 11.49 6.01L11.49 17.98C11.49 18.83 10.5 19.29 9.85 18.74L5.87 15.37" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n <path d="M5.87 15.37L3.49 15.37C2.94 15.37 2.49 14.92 2.49 14.37L2.49 9.62C2.49 9.07 2.94 8.62 3.49 8.62L5.87 8.62" stroke-width="1.500000" stroke-linejoin="round" stroke-linecap="round"/>\n </svg>';
|
|
679
671
|
},
|
|
680
672
|
/** 全屏 */ mobileFullscreen: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" focusable="false" aria-hidden="true" data-icon="mobile-fullscreen">\n <path d="M4 2.9082L11 2.9082C12.5188 2.9082 13.75 4.1394 13.75 5.6582L13.75 17.6582C13.75 19.177 12.5188 20.4082 11 20.4082L4 20.4082C2.4812 20.4082 1.25 19.177 1.25 17.6582L1.25 5.6582C1.25 4.1394 2.4812 2.9082 4 2.9082ZM4 4.4082L11 4.4082C11.6903 4.4082 12.25 4.9679 12.25 5.6582L12.25 17.6582C12.25 18.3485 11.6903 18.9082 11 18.9082L4 18.9082C3.30969 18.9082 2.75 18.3485 2.75 17.6582L2.75 5.6582C2.75 4.9679 3.30969 4.4082 4 4.4082ZM22.1511 18.3113C22.1511 19.3595 21.2467 20.1652 20.1509 20.2362L19.993 20.2413L15.2939 20.2413C14.8798 20.2413 14.5439 19.9055 14.5439 19.4913C14.5439 19.1116 14.8262 18.7979 15.1921 18.7482L15.2939 18.7413L19.993 18.7413C20.344 18.7413 20.5962 18.5592 20.6432 18.3732L20.6511 18.3113L20.6511 12.4895C20.6511 12.3048 20.4338 12.1042 20.1062 12.066L19.993 12.0594L15.2939 12.0594C14.8798 12.0594 14.5439 11.7238 14.5439 11.3094C14.5439 10.9298 14.8262 10.616 15.1921 10.5663L15.2939 10.5594L19.993 10.5594C21.1055 10.5594 22.0605 11.3175 22.145 12.3416L22.1511 12.4895L22.1511 18.3113ZM10.3225 16.1035C10.3225 15.6893 9.98669 15.3535 9.57251 15.3535L5.84644 15.3535L5.74463 15.3604C5.37854 15.41 5.09644 15.7239 5.09644 16.1035C5.09644 16.5177 5.43225 16.8535 5.84644 16.8535L9.57251 16.8535L9.67432 16.8467C10.0404 16.797 10.3225 16.4832 10.3225 16.1035Z" clip-rule="evenodd" fill-rule="evenodd"/>\n </svg>',
|
|
@@ -700,7 +692,7 @@ var Icons = {
|
|
|
700
692
|
/** 录制/摄像机 */ record: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="record">\n <path d="M4.53 19C3.03 19 1.8 17.74 1.8 16.2L1.8 7.8C1.8 6.25 3.03 5 4.53 5L14.08 5C15.58 5 16.8 6.25 16.8 7.8L16.8 16.2C16.8 17.74 15.58 19 14.08 19L4.53 19Z" stroke-width="1.5" stroke-linejoin="round"/>\n <path d="M17.25 13.64C17.94 14.2 18.97 15.03 20.36 16.15C21.09 16.74 22.19 16.21 22.19 15.27L22.19 8.72C22.19 7.78 21.09 7.25 20.36 7.84C18.99 8.94 17.96 9.77 17.28 10.32" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"/>\n </svg>',
|
|
701
693
|
recordCircle: '<svg width="1em" height="1em" viewBox="0 0 14 14" fill="currentColor" stroke="none" focusable="false" aria-hidden="true" data-icon="record-circle">\n <path d="M7.00044 2.5C9.70278 2.5 11.8935 4.69068 11.8935 7.39302C11.8935 10.0954 9.70278 12.286 7.00044 12.286C4.2981 12.286 2.10742 10.0954 2.10742 7.39302C2.10742 4.69068 4.2981 2.5 7.00044 2.5ZM7.00044 3.5C4.85039 3.5 3.10742 5.24296 3.10742 7.39302C3.10742 9.54307 4.85039 11.286 7.00044 11.286C9.15049 11.286 10.8935 9.54307 10.8935 7.39302C10.8935 5.24296 9.15049 3.5 7.00044 3.5ZM9.50049 7.39252C9.50049 6.01181 8.3812 4.89252 7.00049 4.89252C5.61978 4.89252 4.50049 6.01181 4.50049 7.39252C4.50049 8.77323 5.61978 9.89252 7.00049 9.89252C8.3812 9.89252 9.50049 8.77323 9.50049 7.39252Z" fill-rule="evenodd" />\n </svg>\n ',
|
|
702
694
|
/** 对讲 */ talk: '<svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" focusable="false" aria-hidden="true" data-icon="talk">\n <path stroke="none" d="M12.22 18.95C12.65 18.95 13.01 19.21 13.07 19.54L13.08 19.64L13.08 21.78C13.08 22.16 12.69 22.47 12.22 22.47C11.78 22.47 11.42 22.21 11.37 21.87L11.36 21.78L11.36 19.64C11.36 19.26 11.74 18.95 12.22 18.95Z" fill-rule="evenodd"/>\n <path d="M19.53 11.37L19.53 11.58C19.53 15.74 16.15 19.11 11.99 19.11C7.83 19.11 4.46 15.74 4.46 11.58L4.46 11.43" fill="none" stroke-width="1.5" stroke-linecap="round"/>\n <path stroke="none" d="M12.05 1.52C9.3 1.52 7.07 3.58 7.07 6.12L7.07 12.07C7.07 14.61 9.3 16.67 12.05 16.67C14.79 16.67 17.02 14.61 17.02 12.07L17.02 6.12C17.02 3.58 14.79 1.52 12.05 1.52ZM8.57 12.07L8.57 6.12C8.57 5.94 8.59 5.75 8.63 5.57C8.67 5.36 8.74 5.16 8.83 4.96C8.86 4.89 8.9 4.82 8.93 4.75C9.09 4.46 9.3 4.21 9.55 3.97C9.64 3.89 9.73 3.81 9.83 3.74C10.08 3.55 10.35 3.4 10.66 3.28C10.79 3.23 10.93 3.19 11.06 3.15C11.38 3.07 11.71 3.02 12.05 3.02C12.38 3.02 12.71 3.07 13.03 3.15C13.17 3.19 13.3 3.23 13.43 3.28C13.74 3.4 14.02 3.55 14.27 3.74C14.36 3.81 14.45 3.89 14.54 3.97C14.79 4.21 15 4.46 15.16 4.75C15.2 4.82 15.23 4.89 15.26 4.96C15.35 5.16 15.42 5.36 15.46 5.57C15.5 5.75 15.52 5.94 15.52 6.12L15.52 12.07C15.52 12.26 15.5 12.44 15.46 12.63C15.42 12.83 15.35 13.04 15.26 13.24C15.23 13.31 15.2 13.38 15.16 13.45C15 13.73 14.79 13.99 14.54 14.22C14.45 14.3 14.36 14.38 14.27 14.45C14.02 14.64 13.74 14.79 13.43 14.91C13.3 14.96 13.17 15.01 13.03 15.05C12.71 15.13 12.38 15.17 12.05 15.17C11.71 15.17 11.38 15.13 11.06 15.05C10.93 15.01 10.79 14.96 10.66 14.91C10.35 14.79 10.08 14.64 9.83 14.45C9.73 14.38 9.64 14.3 9.55 14.22C9.3 13.99 9.09 13.73 8.93 13.45C8.9 13.38 8.86 13.31 8.83 13.24C8.74 13.04 8.67 12.83 8.63 12.63C8.59 12.44 8.57 12.26 8.57 12.07Z" fill-rule="evenodd"/>\n </svg>',
|
|
703
|
-
talkGrowth: function(prefix) {
|
|
695
|
+
talkGrowth: function talkGrowth(prefix) {
|
|
704
696
|
return '<svg width="1em" height="1em" viewBox="0 0 24 24" focusable="false" aria-hidden="true" data-icon="talk-growth">\n <g fill="currentColor" stroke="currentColor">\n <path stroke="none" d="M9.22313 18.9543C9.6588 18.9543 10.0189 19.2133 10.0759 19.5494L10.0837 19.6428L10.0837 21.7847C10.0837 22.1649 9.69841 22.4732 9.22313 22.4732C8.78745 22.4732 8.42739 22.2142 8.37041 21.8781L8.36255 21.7847L8.36255 19.6428C8.36255 19.2626 8.74784 18.9543 9.22313 18.9543Z" fill-rule="evenodd" />\n <path d="M16.5323 11.3779L16.5323 11.5872C16.5323 15.7472 13.1599 19.1197 8.99981 19.1197C4.83971 19.1197 1.46729 15.7472 1.46729 11.5872L1.46729 11.4335" fill-rule="evenodd" fill="none" stroke-width="1.5" />\n <path stroke="none" d="M4.07861 6.12978C4.07861 3.589 6.30476 1.5293 9.05085 1.5293C11.7969 1.5293 14.0231 3.589 14.0231 6.12978L14.0231 12.075C14.0231 14.6158 11.7969 16.6755 9.05085 16.6755C6.30476 16.6755 4.07861 14.6158 4.07861 12.075L4.07861 6.12978ZM5.57861 12.075L5.57861 6.12978C5.57861 5.94083 5.597 5.75561 5.63376 5.57412C5.67605 5.36539 5.74265 5.16158 5.83357 4.9627C5.86625 4.8912 5.90164 4.82121 5.93974 4.75272C6.09781 4.4685 6.30245 4.21019 6.55365 3.97777C6.64206 3.89597 6.73424 3.81921 6.83019 3.7475C7.0816 3.55959 7.3589 3.40632 7.66207 3.28767C7.79552 3.23545 7.93107 3.19114 8.06871 3.15475C8.38503 3.07111 8.71241 3.0293 9.05085 3.0293C9.38929 3.0293 9.71668 3.07112 10.033 3.15475C10.1706 3.19114 10.3062 3.23545 10.4396 3.28767C10.7428 3.40632 11.0201 3.55959 11.2715 3.74749C11.3675 3.81921 11.4596 3.89596 11.548 3.97777C11.7993 4.2102 12.0039 4.46853 12.162 4.75276C12.2001 4.82124 12.2354 4.89122 12.2681 4.9627C12.359 5.16157 12.4256 5.36536 12.4679 5.57407C12.5047 5.75558 12.5231 5.94082 12.5231 6.12978L12.5231 12.075C12.5231 12.264 12.5047 12.4492 12.4679 12.6307C12.4256 12.8394 12.359 13.0432 12.2681 13.2421C12.2355 13.3136 12.2001 13.3835 12.162 13.452C12.0039 13.7362 11.7993 13.9946 11.548 14.227C11.4596 14.3088 11.3675 14.3856 11.2715 14.4573C11.0201 14.6452 10.7428 14.7985 10.4396 14.9171C10.3062 14.9693 10.1706 15.0136 10.033 15.05C9.71667 15.1337 9.38929 15.1755 9.05085 15.1755C8.71241 15.1755 8.38503 15.1337 8.06871 15.05C7.93107 15.0136 7.79552 14.9693 7.66207 14.9171C7.3589 14.7985 7.0816 14.6452 6.83019 14.4573C6.73424 14.3856 6.64206 14.3088 6.55365 14.227C6.30244 13.9946 6.09779 13.7363 5.93972 13.452C5.90163 13.3836 5.86625 13.3136 5.83357 13.2421C5.74265 13.0432 5.67605 12.8394 5.63377 12.6307C5.597 12.4492 5.57861 12.264 5.57861 12.075Z" fill-rule="evenodd" />\n </g>\n <g class="' + prefix + '-icon-talk-growth-dot">\n <path class="' + prefix + '-icon-talk-growth-dot1" d="M19.1333 6.40039L22.8667 6.40039" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot2" d="M19.1333 10.1338L21.9331 10.1338" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot3" d="M19.1333 13.8672L20.9995 13.8672" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n <path class="' + prefix + '-icon-talk-growth-dot4" d="M19.1333 17.6001L20.0669 17.6001" stroke="currentColor" stroke-linecap="round" stroke-width="1.86666667" />\n </g>\n </svg>';
|
|
705
697
|
},
|
|
706
698
|
/** 语音广播 */ broadcast: '\n <svg width="1em" height="1em" viewBox="0 0 24 24" fill="currentColor" stroke="none" focusable="false" aria-hidden="true" data-icon="broadcast">\n <g>\n <path id="矢量 1" d="m8.52109,6.76609l6.17823,-2.91335c0.2485,-0.11718 0.5027,-0.19531 0.7627,-0.2351c0.2034,-0.03077 0.4104,-0.03809 0.6211,-0.02173c0.2092,0.01636 0.4116,0.05493 0.6069,0.11621c0.2278,0.07129 0.4461,0.1731 0.6548,0.30542c0.2087,0.13232 0.394,0.28638 0.5557,0.46216l0.0002,0l0,0c0.1384,0.15064 0.2598,0.31714 0.3638,0.49951c0.1047,0.18335 0.1865,0.37354 0.2451,0.57081c0.0752,0.25219 0.1128,0.51562 0.1128,0.79004l0,10.64651c0,0.2744 -0.0376,0.5379 -0.1128,0.7901l0,0c-0.0586,0.197 -0.1404,0.3874 -0.2451,0.5708c-0.104,0.1823 -0.2254,0.3488 -0.364,0.4995c-0.1617,0.1758 -0.347,0.3298 -0.5557,0.4621c-0.2087,0.1324 -0.427,0.2342 -0.6548,0.3054c-0.1953,0.0611 -0.3977,0.0999 -0.6069,0.1163c-0.2107,0.0163 -0.4175,0.009 -0.6209,-0.0218c-0.2602,-0.0398 -0.5144,-0.1181 -0.7629,-0.2351l-5.45044,-2.5703l0,2.759c0,0.1036 -0.01831,0.1995 -0.05494,0.2879c-0.03662,0.0886 -0.09155,0.1692 -0.16479,0.2424c-0.14624,0.1465 -0.32324,0.2197 -0.53027,0.2197l-2,0c-0.14209,0 -0.27344,-0.0373 -0.39429,-0.112c-0.12085,-0.0745 -0.21289,-0.1756 -0.27661,-0.3025l-1.99268,-3.9856c-0.06225,-0.0234 -0.12402,-0.0481 -0.18555,-0.074c-0.26953,-0.114 -0.52417,-0.2502 -0.7644,-0.4084c-0.26636,-0.1758 -0.51489,-0.3789 -0.74512,-0.6094c-0.23047,-0.2302 -0.43359,-0.4788 -0.60937,-0.7451c-0.1582,-0.2403 -0.29444,-0.4949 -0.40845,-0.7644c-0.11328,-0.2679 -0.20068,-0.5413 -0.26245,-0.8206l0,0c-0.07398,-0.3347 -0.11108,-0.6775 -0.11108,-1.0286c0,-0.351 0.0371,-0.6938 0.11108,-1.0285c0.06177,-0.2793 0.14917,-0.5528 0.26245,-0.8206c0.11401,-0.26953 0.25025,-0.52417 0.40845,-0.7644c0.17578,-0.26636 0.3789,-0.5149 0.60937,-0.74512c0.23023,-0.23047 0.47876,-0.4336 0.74512,-0.60938l0,0c0.24023,-0.1582 0.49487,-0.29444 0.7644,-0.40845c0.26783,-0.11328 0.54126,-0.20068 0.82056,-0.26245l0,0l0,0l0,0c0.33472,-0.07398 0.67749,-0.11109 1.02857,-0.11109l2.93872,0c0.02636,-0.0166 0.05444,-0.03198 0.08349,-0.04589zm0.72876,8.47948l6.08937,2.8716c0.1287,0.0606 0.2598,0.0987 0.3935,0.114c0.0772,0.0088 0.1551,0.0103 0.2337,0.0042c0.0857,-0.0068 0.1687,-0.0217 0.2495,-0.0452c0.1133,-0.0329 0.2219,-0.0822 0.3257,-0.1479c0.104,-0.0659 0.1948,-0.1431 0.2729,-0.2317c0.0554,-0.063 0.1045,-0.1318 0.147,-0.2063c0.0393,-0.0686 0.0713,-0.1397 0.0962,-0.2131c0.043,-0.1277 0.0647,-0.2625 0.0647,-0.4046l0,-10.64651c0,-0.14209 -0.0217,-0.2771 -0.0647,-0.40454c-0.0249,-0.07349 -0.0569,-0.14454 -0.0962,-0.21314c-0.0425,-0.07471 -0.0916,-0.14331 -0.147,-0.2063c-0.0781,-0.08862 -0.1689,-0.16577 -0.2729,-0.23169c-0.1038,-0.06567 -0.2124,-0.11523 -0.3257,-0.14795c-0.0808,-0.02344 -0.1638,-0.03833 -0.2495,-0.04517c-0.0786,-0.0061 -0.1565,-0.00463 -0.2337,0.00415c-0.1337,0.01539 -0.2648,0.05347 -0.3935,0.11402l-6.09034,2.87208l0.00097,7.16405zm13.58447,-7.9121l-2,1c-0.3757,0.18775 -0.8184,0.04029 -1.0063,-0.33545c-0.0552,-0.11035 -0.0813,-0.22656 -0.0813,-0.34033c0,-0.27344 0.1516,-0.53321 0.4167,-0.66602l2,-1c0.3757,-0.18775 0.8186,-0.04004 1.0064,0.33545c0.0551,0.11035 0.0813,0.22656 0.0813,0.34033c0,0.27368 -0.1514,0.53345 -0.4168,0.66602zm-15.08544,8.9785l-2.08667,0l1.30029,2.6006l0.78638,0l0,-2.6006zm0,-7.99998l-2.25,0c-0.24976,0 -0.49317,0.02734 -0.73023,0.08179c-0.18188,0.04174 -0.36011,0.09961 -0.53467,0.17334c-0.17944,0.07593 -0.34961,0.1665 -0.51049,0.27124c-0.18702,0.12231 -0.36133,0.26416 -0.52271,0.42554c-0.16138,0.16137 -0.30322,0.33569 -0.42554,0.52267c-0.10473,0.1609 -0.19531,0.3311 -0.27124,0.5105c-0.07373,0.1746 -0.13159,0.3528 -0.17334,0.5347c-0.05444,0.2371 -0.08178,0.4805 -0.08178,0.7302c0,0.2498 0.02734,0.4932 0.08178,0.7303c0.04175,0.1818 0.09961,0.3601 0.17334,0.5346c0.07593,0.1795 0.16651,0.3496 0.27124,0.5105c0.12232,0.187 0.26416,0.3614 0.42554,0.5227c0.16138,0.1614 0.33569,0.3033 0.52271,0.4256c0.16088,0.1047 0.33105,0.1953 0.51049,0.2712c0.17456,0.0737 0.35279,0.1316 0.53467,0.1734c0.23706,0.0544 0.48047,0.0817 0.73023,0.0817l2.25097,0l-0.00097,-6.49998zm12.75004,2.60058l2,0c0.4199,0 0.75,0.3301 0.75,0.75c0,0.4199 -0.3301,0.75 -0.75,0.75l-2,0c-0.42,0 -0.75,-0.3301 -0.75,-0.75c0,-0.4199 0.33,-0.75 0.75,-0.75zm0.3354,4.0791l2,1c0.2654,0.1326 0.4168,0.3924 0.4168,0.6661c0,0.1137 -0.0262,0.2299 -0.0813,0.3403c-0.1878,0.3755 -0.6307,0.5232 -1.0064,0.3354l-2,-1c-0.2651,-0.1328 -0.4167,-0.3925 -0.4167,-0.666c0,-0.1138 0.0261,-0.23 0.0813,-0.3403c0.1879,-0.3758 0.6306,-0.5232 1.0063,-0.3355z" fill-rule="evenodd"/>\n </g>\n</svg>',
|
|
@@ -742,173 +734,169 @@ var Icons = {
|
|
|
742
734
|
return '<span class="' + PREFIX_CLASS + "-icon " + PREFIX_CLASS + "-icon-" + type + '" ' + attrStr + ">" + svg + "</span>";
|
|
743
735
|
}
|
|
744
736
|
var IconComponents = {
|
|
745
|
-
/** 播放 */ play: function(attr) {
|
|
737
|
+
/** 播放 */ play: function play(attr) {
|
|
746
738
|
if (attr === void 0) attr = {};
|
|
747
739
|
return createIcon(Icons.play, 'play', attr);
|
|
748
740
|
},
|
|
749
|
-
/** 暂停 */ pause: function(attr) {
|
|
741
|
+
/** 暂停 */ pause: function pause(attr) {
|
|
750
742
|
if (attr === void 0) attr = {};
|
|
751
743
|
return createIcon(Icons.pause, 'pause', attr);
|
|
752
744
|
},
|
|
753
|
-
volume: function(attr) {
|
|
745
|
+
volume: function volume(attr) {
|
|
754
746
|
if (attr === void 0) attr = {};
|
|
755
747
|
return createIcon(Icons.volume(PREFIX_CLASS), 'volume', attr);
|
|
756
748
|
},
|
|
757
|
-
mobileFullscreen: function(attr) {
|
|
749
|
+
mobileFullscreen: function mobileFullscreen(attr) {
|
|
758
750
|
if (attr === void 0) attr = {};
|
|
759
751
|
return createIcon(Icons.mobileFullscreen, 'mobile-fullscreen', attr);
|
|
760
752
|
},
|
|
761
|
-
exitFullscreen: function(attr) {
|
|
753
|
+
exitFullscreen: function exitFullscreen(attr) {
|
|
762
754
|
if (attr === void 0) attr = {};
|
|
763
755
|
return createIcon(Icons.exitFullscreen, 'exit-fullscreen', attr);
|
|
764
756
|
},
|
|
765
|
-
fullscreen: function(attr) {
|
|
757
|
+
fullscreen: function fullscreen(attr) {
|
|
766
758
|
if (attr === void 0) attr = {};
|
|
767
759
|
return createIcon(Icons.fullscreen, 'fullscreen', attr);
|
|
768
760
|
},
|
|
769
|
-
exitGlobalFullscreen: function(attr) {
|
|
761
|
+
exitGlobalFullscreen: function exitGlobalFullscreen(attr) {
|
|
770
762
|
if (attr === void 0) attr = {};
|
|
771
763
|
return createIcon(Icons.exitGlobalFullscreen, 'exit-global-fullscreen', attr);
|
|
772
764
|
},
|
|
773
|
-
globalFullscreen: function(attr) {
|
|
765
|
+
globalFullscreen: function globalFullscreen(attr) {
|
|
774
766
|
if (attr === void 0) attr = {};
|
|
775
767
|
return createIcon(Icons.globalFullscreen, 'global-fullscreen', attr);
|
|
776
768
|
},
|
|
777
|
-
capturePicture: function(attr) {
|
|
769
|
+
capturePicture: function capturePicture(attr) {
|
|
778
770
|
if (attr === void 0) attr = {};
|
|
779
771
|
return createIcon(Icons.capturePicture, 'capture-picture', attr);
|
|
780
772
|
},
|
|
781
|
-
ptz: function(attr) {
|
|
773
|
+
ptz: function ptz(attr) {
|
|
782
774
|
if (attr === void 0) attr = {};
|
|
783
775
|
return createIcon(Icons.ptz, 'ptz', attr);
|
|
784
776
|
},
|
|
785
|
-
record: function(attr) {
|
|
777
|
+
record: function record(attr) {
|
|
786
778
|
if (attr === void 0) attr = {};
|
|
787
779
|
return createIcon(Icons.record, 'record', attr);
|
|
788
780
|
},
|
|
789
|
-
recordCircle: function(attr) {
|
|
781
|
+
recordCircle: function recordCircle(attr) {
|
|
790
782
|
if (attr === void 0) attr = {};
|
|
791
783
|
return createIcon(Icons.recordCircle, 'record-circle', attr);
|
|
792
784
|
},
|
|
793
|
-
talk: function(attr) {
|
|
785
|
+
talk: function talk(attr) {
|
|
794
786
|
if (attr === void 0) attr = {};
|
|
795
787
|
return createIcon(Icons.talk, 'talk', attr);
|
|
796
788
|
},
|
|
797
|
-
broadcast: function(attr) {
|
|
789
|
+
broadcast: function broadcast(attr) {
|
|
798
790
|
if (attr === void 0) attr = {};
|
|
799
791
|
return createIcon(Icons.broadcast, 'broadcast', attr);
|
|
800
792
|
},
|
|
801
|
-
aiChat: function(attr) {
|
|
793
|
+
aiChat: function aiChat(attr) {
|
|
802
794
|
if (attr === void 0) attr = {};
|
|
803
795
|
return createIcon(Icons.aiChat, 'aiChat', attr);
|
|
804
796
|
},
|
|
805
|
-
talkGrowth: function(attr) {
|
|
797
|
+
talkGrowth: function talkGrowth(attr) {
|
|
806
798
|
if (attr === void 0) attr = {};
|
|
807
799
|
return createIcon(Icons.talkGrowth(PREFIX_CLASS), 'talk-growth', attr);
|
|
808
800
|
},
|
|
809
|
-
zoom: function(attr) {
|
|
801
|
+
zoom: function zoom(attr) {
|
|
810
802
|
if (attr === void 0) attr = {};
|
|
811
803
|
return createIcon(Icons.zoom, 'zoom', attr);
|
|
812
804
|
},
|
|
813
|
-
more: function(attr) {
|
|
805
|
+
more: function more(attr) {
|
|
814
806
|
if (attr === void 0) attr = {};
|
|
815
807
|
return createIcon(Icons.more, 'more', attr);
|
|
816
808
|
},
|
|
817
|
-
moreDot: function(attr) {
|
|
809
|
+
moreDot: function moreDot(attr) {
|
|
818
810
|
if (attr === void 0) attr = {};
|
|
819
811
|
return createIcon(Icons.moreDot, 'more-dot', attr);
|
|
820
812
|
},
|
|
821
|
-
minusCircle: function(attr) {
|
|
813
|
+
minusCircle: function minusCircle(attr) {
|
|
822
814
|
if (attr === void 0) attr = {};
|
|
823
815
|
return createIcon(Icons.minusCircle, 'minus-circle', attr);
|
|
824
816
|
},
|
|
825
|
-
plusCircle: function(attr) {
|
|
817
|
+
plusCircle: function plusCircle(attr) {
|
|
826
818
|
if (attr === void 0) attr = {};
|
|
827
819
|
return createIcon(Icons.plusCircle, 'plus-circle', attr);
|
|
828
820
|
},
|
|
829
|
-
sdk: function(attr) {
|
|
821
|
+
sdk: function sdk(attr) {
|
|
830
822
|
if (attr === void 0) attr = {};
|
|
831
823
|
return createIcon(Icons.sdk, 'sdk', attr);
|
|
832
824
|
},
|
|
833
|
-
cloudRec: function(attr) {
|
|
825
|
+
cloudRec: function cloudRec(attr) {
|
|
834
826
|
if (attr === void 0) attr = {};
|
|
835
827
|
return createIcon(Icons.cloudRec, 'cloud-rec', attr);
|
|
836
828
|
},
|
|
837
|
-
cloudRecord: function(attr) {
|
|
829
|
+
cloudRecord: function cloudRecord(attr) {
|
|
838
830
|
if (attr === void 0) attr = {};
|
|
839
831
|
return createIcon(Icons.cloudRecord, 'cloud-record', attr);
|
|
840
832
|
},
|
|
841
|
-
error: function(attr) {
|
|
833
|
+
error: function error(attr) {
|
|
842
834
|
if (attr === void 0) attr = {};
|
|
843
835
|
return createIcon(Icons.error, 'error', attr);
|
|
844
836
|
},
|
|
845
|
-
info: function(attr) {
|
|
837
|
+
info: function info(attr) {
|
|
846
838
|
if (attr === void 0) attr = {};
|
|
847
839
|
return createIcon(Icons.info, 'info', attr);
|
|
848
840
|
},
|
|
849
|
-
close: function(attr) {
|
|
841
|
+
close: function close(attr) {
|
|
850
842
|
if (attr === void 0) attr = {};
|
|
851
843
|
return createIcon(Icons.close, 'close', attr);
|
|
852
844
|
},
|
|
853
|
-
closeCircleOutLined: function(attr) {
|
|
845
|
+
closeCircleOutLined: function closeCircleOutLined(attr) {
|
|
854
846
|
if (attr === void 0) attr = {};
|
|
855
847
|
return createIcon(Icons.closeCircleOutLined, 'close-circle', attr);
|
|
856
848
|
},
|
|
857
|
-
warnCircleOutLined: function(attr) {
|
|
849
|
+
warnCircleOutLined: function warnCircleOutLined(attr) {
|
|
858
850
|
if (attr === void 0) attr = {};
|
|
859
851
|
return createIcon(Icons.warnCircleOutLined, 'warn-circle', attr);
|
|
860
852
|
},
|
|
861
|
-
infoCircleOutLined: function(attr) {
|
|
853
|
+
infoCircleOutLined: function infoCircleOutLined(attr) {
|
|
862
854
|
if (attr === void 0) attr = {};
|
|
863
855
|
return createIcon(Icons.infoCircleOutLined, 'info-circle', attr);
|
|
864
856
|
},
|
|
865
|
-
date: function(attr) {
|
|
857
|
+
date: function date(attr) {
|
|
866
858
|
if (attr === void 0) attr = {};
|
|
867
859
|
return createIcon(Icons.date, 'date', attr);
|
|
868
860
|
},
|
|
869
|
-
filter: function(attr) {
|
|
861
|
+
filter: function filter(attr) {
|
|
870
862
|
if (attr === void 0) attr = {};
|
|
871
863
|
return createIcon(Icons.filter, 'filter', attr);
|
|
872
864
|
},
|
|
873
|
-
add: function(attr) {
|
|
865
|
+
add: function add(attr) {
|
|
874
866
|
if (attr === void 0) attr = {};
|
|
875
867
|
return createIcon(Icons.add, 'add', attr);
|
|
876
868
|
},
|
|
877
|
-
reduce: function(attr) {
|
|
869
|
+
reduce: function reduce(attr) {
|
|
878
870
|
if (attr === void 0) attr = {};
|
|
879
871
|
return createIcon(Icons.reduce, 'reduce', attr);
|
|
880
872
|
},
|
|
881
|
-
/** 直播 */ live: function(attr) {
|
|
873
|
+
/** 直播 */ live: function live(attr) {
|
|
882
874
|
if (attr === void 0) attr = {};
|
|
883
875
|
return createIcon(Icons.live, 'live', attr);
|
|
884
876
|
},
|
|
885
|
-
/** 回放 */ recDropdown: function(attr) {
|
|
877
|
+
/** 回放 */ recDropdown: function recDropdown(attr) {
|
|
886
878
|
if (attr === void 0) attr = {};
|
|
887
879
|
return createIcon(Icons.recDropdown, 'rec-dropdown', attr);
|
|
888
880
|
},
|
|
889
|
-
/** 录像列表 */ recList: function(attr) {
|
|
881
|
+
/** 录像列表 */ recList: function recList(attr) {
|
|
890
882
|
if (attr === void 0) attr = {};
|
|
891
883
|
return createIcon(Icons.list, 'rec-list', attr);
|
|
892
884
|
},
|
|
893
|
-
/** 消息 */ alarmMessage: function(attr) {
|
|
885
|
+
/** 消息 */ alarmMessage: function alarmMessage(attr) {
|
|
894
886
|
if (attr === void 0) attr = {};
|
|
895
887
|
return createIcon(Icons.alarmMessage, 'alarm-message', attr);
|
|
896
888
|
},
|
|
897
|
-
time: function(attr) {
|
|
889
|
+
time: function time(attr) {
|
|
898
890
|
if (attr === void 0) attr = {};
|
|
899
891
|
return createIcon(Icons.time, 'time', attr);
|
|
900
892
|
}
|
|
901
893
|
};
|
|
902
894
|
|
|
903
895
|
function _extends$w() {
|
|
904
|
-
_extends$w = Object.assign || function(target) {
|
|
896
|
+
_extends$w = Object.assign || function assign(target) {
|
|
905
897
|
for(var i = 1; i < arguments.length; i++){
|
|
906
898
|
var source = arguments[i];
|
|
907
|
-
for(var key in source)
|
|
908
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
909
|
-
target[key] = source[key];
|
|
910
|
-
}
|
|
911
|
-
}
|
|
899
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
912
900
|
}
|
|
913
901
|
return target;
|
|
914
902
|
};
|
|
@@ -1101,14 +1089,10 @@ function _create_class$8(Constructor, protoProps, staticProps) {
|
|
|
1101
1089
|
return Constructor;
|
|
1102
1090
|
}
|
|
1103
1091
|
function _extends$v() {
|
|
1104
|
-
_extends$v = Object.assign || function(target) {
|
|
1092
|
+
_extends$v = Object.assign || function assign(target) {
|
|
1105
1093
|
for(var i = 1; i < arguments.length; i++){
|
|
1106
1094
|
var source = arguments[i];
|
|
1107
|
-
for(var key in source)
|
|
1108
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
1109
|
-
target[key] = source[key];
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1095
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
1112
1096
|
}
|
|
1113
1097
|
return target;
|
|
1114
1098
|
};
|
|
@@ -1227,14 +1211,6 @@ function _array_like_to_array$2(arr, len) {
|
|
|
1227
1211
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1228
1212
|
return arr2;
|
|
1229
1213
|
}
|
|
1230
|
-
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
1231
|
-
if (!o) return;
|
|
1232
|
-
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
1233
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1234
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1235
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1236
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
1237
|
-
}
|
|
1238
1214
|
function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
|
|
1239
1215
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
1240
1216
|
if (it) return (it = it.call(o)).next.bind(it);
|
|
@@ -1242,18 +1218,24 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
|
|
|
1242
1218
|
if (it) o = it;
|
|
1243
1219
|
var i = 0;
|
|
1244
1220
|
return function() {
|
|
1245
|
-
if (i >= o.length) {
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1221
|
+
if (i >= o.length) return {
|
|
1222
|
+
done: true
|
|
1223
|
+
};
|
|
1250
1224
|
return {
|
|
1251
1225
|
done: false,
|
|
1252
1226
|
value: o[i++]
|
|
1253
1227
|
};
|
|
1254
1228
|
};
|
|
1255
1229
|
}
|
|
1256
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance
|
|
1230
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1231
|
+
}
|
|
1232
|
+
function _unsupported_iterable_to_array$2(o, minLen) {
|
|
1233
|
+
if (!o) return;
|
|
1234
|
+
if (typeof o === "string") return _array_like_to_array$2(o, minLen);
|
|
1235
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1236
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1237
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1238
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
|
|
1257
1239
|
}
|
|
1258
1240
|
/**
|
|
1259
1241
|
* 工具类
|
|
@@ -1280,7 +1262,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
|
|
|
1280
1262
|
*/ // prettier-ignore
|
|
1281
1263
|
Utils.orientationEventListener = function orientationEventListener(change) {
|
|
1282
1264
|
var _orientationTimer = null;
|
|
1283
|
-
var getOrientation = function() {
|
|
1265
|
+
var getOrientation = function getOrientation() {
|
|
1284
1266
|
var _screen, _window;
|
|
1285
1267
|
// 现代浏览器方案
|
|
1286
1268
|
if ((_screen = screen) == null ? void 0 : _screen.orientation) {
|
|
@@ -1317,7 +1299,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
|
|
|
1317
1299
|
};
|
|
1318
1300
|
var orientation = getOrientation();
|
|
1319
1301
|
// 监听变化(兼容写法)
|
|
1320
|
-
var onOrientationChange = function() {
|
|
1302
|
+
var onOrientationChange = function onOrientationChange() {
|
|
1321
1303
|
var newOrientation = getOrientation == null ? void 0 : getOrientation();
|
|
1322
1304
|
// console.log("onOrientationChange", newOrientation, orientation)
|
|
1323
1305
|
// prettier-ignore
|
|
@@ -1326,7 +1308,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
|
|
|
1326
1308
|
orientation = newOrientation;
|
|
1327
1309
|
}
|
|
1328
1310
|
};
|
|
1329
|
-
var onResize = function() {
|
|
1311
|
+
var onResize = function onResize() {
|
|
1330
1312
|
// 防抖处理
|
|
1331
1313
|
if (_orientationTimer) clearTimeout(_orientationTimer);
|
|
1332
1314
|
if (onOrientationChange) _orientationTimer = setTimeout(onOrientationChange, 200);
|
|
@@ -1381,7 +1363,7 @@ function _create_for_of_iterator_helper_loose$2(o, allowArrayLike) {
|
|
|
1381
1363
|
*/ // prettier-ignore
|
|
1382
1364
|
Utils.resizeObserver = function resizeObserver(node, callback) {
|
|
1383
1365
|
// prettier-ignore
|
|
1384
|
-
var observerFn = function(entries, observer) {
|
|
1366
|
+
var observerFn = function observerFn(entries, observer) {
|
|
1385
1367
|
for(var _iterator = _create_for_of_iterator_helper_loose$2(entries), _step; !(_step = _iterator()).done;){
|
|
1386
1368
|
var entry = _step.value;
|
|
1387
1369
|
if (entry.target === node) {
|
|
@@ -1445,9 +1427,9 @@ var PROGRESS_DEFAULT_OPTIONS = {
|
|
|
1445
1427
|
showPlus: false,
|
|
1446
1428
|
showMinus: false,
|
|
1447
1429
|
isRotated: false,
|
|
1448
|
-
onChange: function() {
|
|
1430
|
+
onChange: function onChange() {
|
|
1449
1431
|
/* no-op */ },
|
|
1450
|
-
renderText: function(_, percent) {
|
|
1432
|
+
renderText: function renderText(_, percent) {
|
|
1451
1433
|
return (percent * 100).toFixed(0);
|
|
1452
1434
|
}
|
|
1453
1435
|
};
|
|
@@ -1470,6 +1452,7 @@ var PROGRESS_DEFAULT_OPTIONS = {
|
|
|
1470
1452
|
* })
|
|
1471
1453
|
*/ var Progress = /*#__PURE__*/ function() {
|
|
1472
1454
|
function Progress(options) {
|
|
1455
|
+
var _this_options_defaultValue;
|
|
1473
1456
|
var _this_options_range;
|
|
1474
1457
|
this._percent = 0;
|
|
1475
1458
|
this._value = 0;
|
|
@@ -1491,7 +1474,6 @@ var PROGRESS_DEFAULT_OPTIONS = {
|
|
|
1491
1474
|
this.$container = options.container;
|
|
1492
1475
|
this._render();
|
|
1493
1476
|
this._eventListeners();
|
|
1494
|
-
var _this_options_defaultValue;
|
|
1495
1477
|
var value = (_this_options_defaultValue = this.options.defaultValue) != null ? _this_options_defaultValue : this.options.range[0]; // 设置默认值
|
|
1496
1478
|
this._value = +value.toFixed(2); // 保留两位小数
|
|
1497
1479
|
// prettier-ignore
|
|
@@ -1564,8 +1546,8 @@ var PROGRESS_DEFAULT_OPTIONS = {
|
|
|
1564
1546
|
this._percent = +((value - this.options.range[0]) / (this.options.range[1] - this.options.range[0])).toFixed(2);
|
|
1565
1547
|
};
|
|
1566
1548
|
_proto._render = function _render() {
|
|
1567
|
-
this.$content = document.createElement('div');
|
|
1568
1549
|
var _this_options_className;
|
|
1550
|
+
this.$content = document.createElement('div');
|
|
1569
1551
|
this.$content.className = PREFIX_CLASS + "-progress " + ((_this_options_className = this.options.className) != null ? _this_options_className : '');
|
|
1570
1552
|
this.$content.innerHTML = (this.options.showPercent ? '<div class="' + PREFIX_CLASS + '-progress-text">' + (this.options.renderText == null ? void 0 : this.options.renderText.call(this.options, this._value, this._percent, this.options.range)) + "</div>" : '') + "\n " + (this.options.showPlus ? '<div class="' + PREFIX_CLASS + '-progress-plus">\n ' + IconComponents.plusCircle() + "\n </div>" : '') + '\n <div class="' + PREFIX_CLASS + '-progress-slider">\n <div class="' + PREFIX_CLASS + '-progress-slider-fill"></div>\n <div class="' + PREFIX_CLASS + '-progress-slider-handle" style="top: 100%"></div>\n </div>\n ' + (this.options.showMinus ? '<div class="' + PREFIX_CLASS + '-progress-minus">\n ' + IconComponents.minusCircle() + "\n </div>" : '');
|
|
1571
1553
|
this.$container.appendChild(this.$content);
|
|
@@ -1758,14 +1740,10 @@ function _create_class$6(Constructor, protoProps, staticProps) {
|
|
|
1758
1740
|
return Constructor;
|
|
1759
1741
|
}
|
|
1760
1742
|
function _extends$u() {
|
|
1761
|
-
_extends$u = Object.assign || function(target) {
|
|
1743
|
+
_extends$u = Object.assign || function assign(target) {
|
|
1762
1744
|
for(var i = 1; i < arguments.length; i++){
|
|
1763
1745
|
var source = arguments[i];
|
|
1764
|
-
for(var key in source)
|
|
1765
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
1766
|
-
target[key] = source[key];
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1746
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
1769
1747
|
}
|
|
1770
1748
|
return target;
|
|
1771
1749
|
};
|
|
@@ -1796,8 +1774,8 @@ var VOLUME_DEFAULT_OPTIONS = {
|
|
|
1796
1774
|
muted: false,
|
|
1797
1775
|
open: false,
|
|
1798
1776
|
trigger: 'hover',
|
|
1799
|
-
onOpenChange: function() {},
|
|
1800
|
-
onChange: function() {}
|
|
1777
|
+
onOpenChange: function onOpenChange() {},
|
|
1778
|
+
onChange: function onChange() {}
|
|
1801
1779
|
};
|
|
1802
1780
|
/**
|
|
1803
1781
|
* 音量调节控件
|
|
@@ -1825,7 +1803,7 @@ var VOLUME_DEFAULT_OPTIONS = {
|
|
|
1825
1803
|
if (!(Utils.isMobile || _this._options.PLAY_TYPE === 'ezopen' || _this._options.PLAY_TYPE === 'ezhls')) {
|
|
1826
1804
|
var _this__options_props4, _this__options_props5;
|
|
1827
1805
|
_this.picker = new Picker(_this.$container, {
|
|
1828
|
-
getPopupContainer: function() {
|
|
1806
|
+
getPopupContainer: function getPopupContainer() {
|
|
1829
1807
|
return _this.$container;
|
|
1830
1808
|
},
|
|
1831
1809
|
trigger: _this._options.trigger,
|
|
@@ -1836,7 +1814,7 @@ var VOLUME_DEFAULT_OPTIONS = {
|
|
|
1836
1814
|
-10
|
|
1837
1815
|
],
|
|
1838
1816
|
placement: 'top',
|
|
1839
|
-
onOpenChange: function(open) {
|
|
1817
|
+
onOpenChange: function onOpenChange(open) {
|
|
1840
1818
|
_this._options.onOpenChange == null ? void 0 : _this._options.onOpenChange.call(_this._options, open, _this._muted ? _this._lastVolume : _this.volume, _this._muted);
|
|
1841
1819
|
// prettier-ignore
|
|
1842
1820
|
_this.emit(EVENTS.control.volumePanelOpenChange, open, _this._lastVolume, _this._muted);
|
|
@@ -1853,10 +1831,10 @@ var VOLUME_DEFAULT_OPTIONS = {
|
|
|
1853
1831
|
showPercent: true,
|
|
1854
1832
|
className: "" + PREFIX_CLASS + "-volume-progress",
|
|
1855
1833
|
// 为了解决点击进度调取消静音
|
|
1856
|
-
onProgressClick: function() {
|
|
1834
|
+
onProgressClick: function onProgressClick() {
|
|
1857
1835
|
_this.muted = false;
|
|
1858
1836
|
},
|
|
1859
|
-
onChange: function(value) {
|
|
1837
|
+
onChange: function onChange(value) {
|
|
1860
1838
|
if (value !== _this._volume) _this.volume = value;
|
|
1861
1839
|
}
|
|
1862
1840
|
});
|
|
@@ -2033,11 +2011,8 @@ function asyncGeneratorStep$7(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
2033
2011
|
reject(error);
|
|
2034
2012
|
return;
|
|
2035
2013
|
}
|
|
2036
|
-
if (info.done)
|
|
2037
|
-
|
|
2038
|
-
} else {
|
|
2039
|
-
Promise.resolve(value).then(_next, _throw);
|
|
2040
|
-
}
|
|
2014
|
+
if (info.done) resolve(value);
|
|
2015
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
2041
2016
|
}
|
|
2042
2017
|
function _async_to_generator$7(fn) {
|
|
2043
2018
|
return function() {
|
|
@@ -2063,9 +2038,17 @@ function _ts_generator$7(thisArg, body) {
|
|
|
2063
2038
|
},
|
|
2064
2039
|
trys: [],
|
|
2065
2040
|
ops: []
|
|
2066
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
2067
|
-
return
|
|
2068
|
-
|
|
2041
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
2042
|
+
return d(g, "next", {
|
|
2043
|
+
value: verb(0)
|
|
2044
|
+
}), d(g, "throw", {
|
|
2045
|
+
value: verb(1)
|
|
2046
|
+
}), d(g, "return", {
|
|
2047
|
+
value: verb(2)
|
|
2048
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
2049
|
+
value: function() {
|
|
2050
|
+
return this;
|
|
2051
|
+
}
|
|
2069
2052
|
}), g;
|
|
2070
2053
|
function verb(n) {
|
|
2071
2054
|
return function(v) {
|
|
@@ -2469,14 +2452,10 @@ var __fullscreenProvider__ = Provider.getInstance();
|
|
|
2469
2452
|
}();
|
|
2470
2453
|
|
|
2471
2454
|
function _extends$t() {
|
|
2472
|
-
_extends$t = Object.assign || function(target) {
|
|
2455
|
+
_extends$t = Object.assign || function assign(target) {
|
|
2473
2456
|
for(var i = 1; i < arguments.length; i++){
|
|
2474
2457
|
var source = arguments[i];
|
|
2475
|
-
for(var key in source)
|
|
2476
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2477
|
-
target[key] = source[key];
|
|
2478
|
-
}
|
|
2479
|
-
}
|
|
2458
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
2480
2459
|
}
|
|
2481
2460
|
return target;
|
|
2482
2461
|
};
|
|
@@ -2576,14 +2555,10 @@ function _set_prototype_of$t(o, p) {
|
|
|
2576
2555
|
}(Control);
|
|
2577
2556
|
|
|
2578
2557
|
function _extends$s() {
|
|
2579
|
-
_extends$s = Object.assign || function(target) {
|
|
2558
|
+
_extends$s = Object.assign || function assign(target) {
|
|
2580
2559
|
for(var i = 1; i < arguments.length; i++){
|
|
2581
2560
|
var source = arguments[i];
|
|
2582
|
-
for(var key in source)
|
|
2583
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2584
|
-
target[key] = source[key];
|
|
2585
|
-
}
|
|
2586
|
-
}
|
|
2561
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
2587
2562
|
}
|
|
2588
2563
|
return target;
|
|
2589
2564
|
};
|
|
@@ -4109,14 +4084,10 @@ function _set_prototype_of$r(o, p) {
|
|
|
4109
4084
|
}(EventEmitter);
|
|
4110
4085
|
|
|
4111
4086
|
function _extends$r() {
|
|
4112
|
-
_extends$r = Object.assign || function(target) {
|
|
4087
|
+
_extends$r = Object.assign || function assign(target) {
|
|
4113
4088
|
for(var i = 1; i < arguments.length; i++){
|
|
4114
4089
|
var source = arguments[i];
|
|
4115
|
-
for(var key in source)
|
|
4116
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
4117
|
-
target[key] = source[key];
|
|
4118
|
-
}
|
|
4119
|
-
}
|
|
4090
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
4120
4091
|
}
|
|
4121
4092
|
return target;
|
|
4122
4093
|
};
|
|
@@ -4168,7 +4139,7 @@ function _set_prototype_of$q(o, p) {
|
|
|
4168
4139
|
title: (_this_locale1 = this.locale) == null ? void 0 : _this_locale1.BTN_MORE
|
|
4169
4140
|
});
|
|
4170
4141
|
this.picker = new Picker(this.$container, {
|
|
4171
|
-
getPopupContainer: function() {
|
|
4142
|
+
getPopupContainer: function getPopupContainer() {
|
|
4172
4143
|
return _this.$container;
|
|
4173
4144
|
},
|
|
4174
4145
|
trigger: Utils.isMobile ? 'click' : 'hover',
|
|
@@ -4907,14 +4878,10 @@ function _create_class$5(Constructor, protoProps, staticProps) {
|
|
|
4907
4878
|
return Constructor;
|
|
4908
4879
|
}
|
|
4909
4880
|
function _extends$q() {
|
|
4910
|
-
_extends$q = Object.assign || function(target) {
|
|
4881
|
+
_extends$q = Object.assign || function assign(target) {
|
|
4911
4882
|
for(var i = 1; i < arguments.length; i++){
|
|
4912
4883
|
var source = arguments[i];
|
|
4913
|
-
for(var key in source)
|
|
4914
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
4915
|
-
target[key] = source[key];
|
|
4916
|
-
}
|
|
4917
|
-
}
|
|
4884
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
4918
4885
|
}
|
|
4919
4886
|
return target;
|
|
4920
4887
|
};
|
|
@@ -4993,14 +4960,14 @@ var ZOOM_DEFAULT_OPTIONS = {
|
|
|
4993
4960
|
showPlus: true,
|
|
4994
4961
|
showPercent: true,
|
|
4995
4962
|
isRotated: this._isRotated,
|
|
4996
|
-
onChange: function(value, percent, range) {
|
|
4963
|
+
onChange: function onChange(value, percent, range) {
|
|
4997
4964
|
if (value !== _this._value) {
|
|
4998
4965
|
_this._value = value;
|
|
4999
4966
|
_this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, value, percent, range);
|
|
5000
4967
|
_this.emit(EVENTS.control.zoomChange, value, percent, range);
|
|
5001
4968
|
}
|
|
5002
4969
|
},
|
|
5003
|
-
renderText: function(value) {
|
|
4970
|
+
renderText: function renderText(value) {
|
|
5004
4971
|
return "" + value + "X";
|
|
5005
4972
|
}
|
|
5006
4973
|
});
|
|
@@ -5080,14 +5047,10 @@ var ZOOM_DEFAULT_OPTIONS = {
|
|
|
5080
5047
|
}(Control);
|
|
5081
5048
|
|
|
5082
5049
|
function _extends$p() {
|
|
5083
|
-
_extends$p = Object.assign || function(target) {
|
|
5050
|
+
_extends$p = Object.assign || function assign(target) {
|
|
5084
5051
|
for(var i = 1; i < arguments.length; i++){
|
|
5085
5052
|
var source = arguments[i];
|
|
5086
|
-
for(var key in source)
|
|
5087
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
5088
|
-
target[key] = source[key];
|
|
5089
|
-
}
|
|
5090
|
-
}
|
|
5053
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
5091
5054
|
}
|
|
5092
5055
|
return target;
|
|
5093
5056
|
};
|
|
@@ -5096,14 +5059,14 @@ function _extends$p() {
|
|
|
5096
5059
|
function __zoom(theme, container, options) {
|
|
5097
5060
|
theme.zoomUtil = new Zoom$1(container, _extends$p({}, options || {}, {
|
|
5098
5061
|
min: 1,
|
|
5099
|
-
onChange: function(zoom, reset) {
|
|
5062
|
+
onChange: function onChange(zoom, reset) {
|
|
5100
5063
|
if (zoom !== theme._zoom) {
|
|
5101
5064
|
var _options_onChange;
|
|
5102
5065
|
theme.zoom = zoom;
|
|
5103
5066
|
options == null ? void 0 : (_options_onChange = options.onChange) == null ? void 0 : _options_onChange.call(options, zoom, reset);
|
|
5104
5067
|
}
|
|
5105
5068
|
},
|
|
5106
|
-
onTranslateChange: function(pos) {
|
|
5069
|
+
onTranslateChange: function onTranslateChange(pos) {
|
|
5107
5070
|
var _options_onTranslateChange;
|
|
5108
5071
|
theme.emit(EVENTS.zoomTranslateChange, pos);
|
|
5109
5072
|
options == null ? void 0 : (_options_onTranslateChange = options.onTranslateChange) == null ? void 0 : _options_onTranslateChange.call(options, pos);
|
|
@@ -5120,11 +5083,8 @@ function asyncGeneratorStep$6(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
5120
5083
|
reject(error);
|
|
5121
5084
|
return;
|
|
5122
5085
|
}
|
|
5123
|
-
if (info.done)
|
|
5124
|
-
|
|
5125
|
-
} else {
|
|
5126
|
-
Promise.resolve(value).then(_next, _throw);
|
|
5127
|
-
}
|
|
5086
|
+
if (info.done) resolve(value);
|
|
5087
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
5128
5088
|
}
|
|
5129
5089
|
function _async_to_generator$6(fn) {
|
|
5130
5090
|
return function() {
|
|
@@ -5150,9 +5110,17 @@ function _ts_generator$6(thisArg, body) {
|
|
|
5150
5110
|
},
|
|
5151
5111
|
trys: [],
|
|
5152
5112
|
ops: []
|
|
5153
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
5154
|
-
return
|
|
5155
|
-
|
|
5113
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
5114
|
+
return d(g, "next", {
|
|
5115
|
+
value: verb(0)
|
|
5116
|
+
}), d(g, "throw", {
|
|
5117
|
+
value: verb(1)
|
|
5118
|
+
}), d(g, "return", {
|
|
5119
|
+
value: verb(2)
|
|
5120
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
5121
|
+
value: function() {
|
|
5122
|
+
return this;
|
|
5123
|
+
}
|
|
5156
5124
|
}), g;
|
|
5157
5125
|
function verb(n) {
|
|
5158
5126
|
return function(v) {
|
|
@@ -5308,11 +5276,8 @@ function asyncGeneratorStep$5(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
5308
5276
|
reject(error);
|
|
5309
5277
|
return;
|
|
5310
5278
|
}
|
|
5311
|
-
if (info.done)
|
|
5312
|
-
|
|
5313
|
-
} else {
|
|
5314
|
-
Promise.resolve(value).then(_next, _throw);
|
|
5315
|
-
}
|
|
5279
|
+
if (info.done) resolve(value);
|
|
5280
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
5316
5281
|
}
|
|
5317
5282
|
function _async_to_generator$5(fn) {
|
|
5318
5283
|
return function() {
|
|
@@ -5330,14 +5295,10 @@ function _async_to_generator$5(fn) {
|
|
|
5330
5295
|
};
|
|
5331
5296
|
}
|
|
5332
5297
|
function _extends$o() {
|
|
5333
|
-
_extends$o = Object.assign || function(target) {
|
|
5298
|
+
_extends$o = Object.assign || function assign(target) {
|
|
5334
5299
|
for(var i = 1; i < arguments.length; i++){
|
|
5335
5300
|
var source = arguments[i];
|
|
5336
|
-
for(var key in source)
|
|
5337
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
5338
|
-
target[key] = source[key];
|
|
5339
|
-
}
|
|
5340
|
-
}
|
|
5301
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
5341
5302
|
}
|
|
5342
5303
|
return target;
|
|
5343
5304
|
};
|
|
@@ -5352,9 +5313,17 @@ function _ts_generator$5(thisArg, body) {
|
|
|
5352
5313
|
},
|
|
5353
5314
|
trys: [],
|
|
5354
5315
|
ops: []
|
|
5355
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
5356
|
-
return
|
|
5357
|
-
|
|
5316
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
5317
|
+
return d(g, "next", {
|
|
5318
|
+
value: verb(0)
|
|
5319
|
+
}), d(g, "throw", {
|
|
5320
|
+
value: verb(1)
|
|
5321
|
+
}), d(g, "return", {
|
|
5322
|
+
value: verb(2)
|
|
5323
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
5324
|
+
value: function() {
|
|
5325
|
+
return this;
|
|
5326
|
+
}
|
|
5358
5327
|
}), g;
|
|
5359
5328
|
function verb(n) {
|
|
5360
5329
|
return function(v) {
|
|
@@ -5447,10 +5416,10 @@ function _ts_generator$5(thisArg, body) {
|
|
|
5447
5416
|
* @param {IThemeData} themeData 主题数据
|
|
5448
5417
|
* @returns
|
|
5449
5418
|
*/ function _filterControls(themeData) {
|
|
5419
|
+
var _ref;
|
|
5450
5420
|
var _themeData_header, _themeData_footer;
|
|
5451
5421
|
var data = {};
|
|
5452
|
-
|
|
5453
|
-
data.autoFocus = (_themeData_autoFocus = themeData == null ? void 0 : themeData.autoFocus) != null ? _themeData_autoFocus : 3; // 3s
|
|
5422
|
+
data.autoFocus = (_ref = themeData == null ? void 0 : themeData.autoFocus) != null ? _ref : 3; // 3s
|
|
5454
5423
|
data.poster = (themeData == null ? void 0 : themeData.poster) || ''; //
|
|
5455
5424
|
var deviceControls = [];
|
|
5456
5425
|
var recControls = [];
|
|
@@ -5755,14 +5724,10 @@ function rgbOrHexToRgbaWithOpacity(color, opacity) {
|
|
|
5755
5724
|
}();
|
|
5756
5725
|
|
|
5757
5726
|
function _extends$n() {
|
|
5758
|
-
_extends$n = Object.assign || function(target) {
|
|
5727
|
+
_extends$n = Object.assign || function assign(target) {
|
|
5759
5728
|
for(var i = 1; i < arguments.length; i++){
|
|
5760
5729
|
var source = arguments[i];
|
|
5761
|
-
for(var key in source)
|
|
5762
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
5763
|
-
target[key] = source[key];
|
|
5764
|
-
}
|
|
5765
|
-
}
|
|
5730
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
5766
5731
|
}
|
|
5767
5732
|
return target;
|
|
5768
5733
|
};
|
|
@@ -5800,14 +5765,10 @@ var Footer = /*#__PURE__*/ function(Component) {
|
|
|
5800
5765
|
}(Component);
|
|
5801
5766
|
|
|
5802
5767
|
function _extends$m() {
|
|
5803
|
-
_extends$m = Object.assign || function(target) {
|
|
5768
|
+
_extends$m = Object.assign || function assign(target) {
|
|
5804
5769
|
for(var i = 1; i < arguments.length; i++){
|
|
5805
5770
|
var source = arguments[i];
|
|
5806
|
-
for(var key in source)
|
|
5807
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
5808
|
-
target[key] = source[key];
|
|
5809
|
-
}
|
|
5810
|
-
}
|
|
5771
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
5811
5772
|
}
|
|
5812
5773
|
return target;
|
|
5813
5774
|
};
|
|
@@ -5859,13 +5820,13 @@ function interactiveHF($container, second, callback) {
|
|
|
5859
5820
|
var _alwaysDisplay = false;
|
|
5860
5821
|
var _$header = $container.querySelector("." + PREFIX_CLASS + "-header");
|
|
5861
5822
|
var _$footer = $container.querySelector("." + PREFIX_CLASS + "-footer");
|
|
5862
|
-
var _clearTimeout = function() {
|
|
5823
|
+
var _clearTimeout = function _clearTimeout() {
|
|
5863
5824
|
if (_timer) {
|
|
5864
5825
|
clearTimeout(_timer);
|
|
5865
5826
|
_timer = null;
|
|
5866
5827
|
}
|
|
5867
5828
|
};
|
|
5868
|
-
var _show = function() {
|
|
5829
|
+
var _show = function _show() {
|
|
5869
5830
|
_clearTimeout == null ? void 0 : _clearTimeout();
|
|
5870
5831
|
_$header == null ? void 0 : _$header.classList.remove("" + PREFIX_CLASS + "-hide-transition");
|
|
5871
5832
|
_$footer == null ? void 0 : _$footer.classList.remove("" + PREFIX_CLASS + "-hide-transition");
|
|
@@ -5875,7 +5836,7 @@ function interactiveHF($container, second, callback) {
|
|
|
5875
5836
|
}
|
|
5876
5837
|
_open = true;
|
|
5877
5838
|
};
|
|
5878
|
-
var _hide = function() {
|
|
5839
|
+
var _hide = function _hide() {
|
|
5879
5840
|
if (_alwaysDisplay) {
|
|
5880
5841
|
return;
|
|
5881
5842
|
}
|
|
@@ -5890,27 +5851,27 @@ function interactiveHF($container, second, callback) {
|
|
|
5890
5851
|
}
|
|
5891
5852
|
_open = false;
|
|
5892
5853
|
};
|
|
5893
|
-
var _setTimeoutShow = function() {
|
|
5854
|
+
var _setTimeoutShow = function _setTimeoutShow() {
|
|
5894
5855
|
_show == null ? void 0 : _show();
|
|
5895
5856
|
_timer = setTimeout(function() {
|
|
5896
5857
|
_clearTimeout == null ? void 0 : _clearTimeout();
|
|
5897
5858
|
_hide == null ? void 0 : _hide();
|
|
5898
5859
|
}, second);
|
|
5899
5860
|
};
|
|
5900
|
-
var _headerFooterMousemove = function(e) {
|
|
5861
|
+
var _headerFooterMousemove = function _headerFooterMousemove(e) {
|
|
5901
5862
|
var // 鼠标在header footer 移动, 不允许消失及不要冒泡
|
|
5902
5863
|
_e_stopPropagation;
|
|
5903
5864
|
e == null ? void 0 : (_e_stopPropagation = e.stopPropagation) == null ? void 0 : _e_stopPropagation.call(e);
|
|
5904
5865
|
_clearTimeout == null ? void 0 : _clearTimeout();
|
|
5905
5866
|
};
|
|
5906
|
-
var _touchStart = function() {
|
|
5867
|
+
var _touchStart = function _touchStart() {
|
|
5907
5868
|
if (_open) {
|
|
5908
5869
|
_hide == null ? void 0 : _hide();
|
|
5909
5870
|
} else {
|
|
5910
5871
|
_setTimeoutShow == null ? void 0 : _setTimeoutShow();
|
|
5911
5872
|
}
|
|
5912
5873
|
};
|
|
5913
|
-
var _headerFooterTouchStart = function(e) {
|
|
5874
|
+
var _headerFooterTouchStart = function _headerFooterTouchStart(e) {
|
|
5914
5875
|
var // 移动端特殊处理, 点击 header footer不允许消失及不要冒泡
|
|
5915
5876
|
_e_stopPropagation;
|
|
5916
5877
|
e == null ? void 0 : (_e_stopPropagation = e.stopPropagation) == null ? void 0 : _e_stopPropagation.call(e);
|
|
@@ -5947,7 +5908,7 @@ function interactiveHF($container, second, callback) {
|
|
|
5947
5908
|
}
|
|
5948
5909
|
/**
|
|
5949
5910
|
* 销毁
|
|
5950
|
-
*/ var cleanup = function() {
|
|
5911
|
+
*/ var cleanup = function cleanup() {
|
|
5951
5912
|
if ($container) {
|
|
5952
5913
|
if (Utils.isMobile && _touchStart) {
|
|
5953
5914
|
var eventName = "click";
|
|
@@ -5991,11 +5952,11 @@ function interactiveHF($container, second, callback) {
|
|
|
5991
5952
|
};
|
|
5992
5953
|
return {
|
|
5993
5954
|
cleanup: cleanup,
|
|
5994
|
-
clearTimeout: function() {
|
|
5955
|
+
clearTimeout: function clearTimeout1() {
|
|
5995
5956
|
_clearTimeout == null ? void 0 : _clearTimeout();
|
|
5996
5957
|
_alwaysDisplay = true;
|
|
5997
5958
|
},
|
|
5998
|
-
setTimeoutShow: function() {
|
|
5959
|
+
setTimeoutShow: function setTimeoutShow() {
|
|
5999
5960
|
_setTimeoutShow == null ? void 0 : _setTimeoutShow();
|
|
6000
5961
|
_alwaysDisplay = false;
|
|
6001
5962
|
},
|
|
@@ -6004,14 +5965,10 @@ function interactiveHF($container, second, callback) {
|
|
|
6004
5965
|
}
|
|
6005
5966
|
|
|
6006
5967
|
function _extends$l() {
|
|
6007
|
-
_extends$l = Object.assign || function(target) {
|
|
5968
|
+
_extends$l = Object.assign || function assign(target) {
|
|
6008
5969
|
for(var i = 1; i < arguments.length; i++){
|
|
6009
5970
|
var source = arguments[i];
|
|
6010
|
-
for(var key in source)
|
|
6011
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6012
|
-
target[key] = source[key];
|
|
6013
|
-
}
|
|
6014
|
-
}
|
|
5971
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
6015
5972
|
}
|
|
6016
5973
|
return target;
|
|
6017
5974
|
};
|
|
@@ -6076,14 +6033,10 @@ function _set_prototype_of$m(o, p) {
|
|
|
6076
6033
|
}(Fullscreen);
|
|
6077
6034
|
|
|
6078
6035
|
function _extends$k() {
|
|
6079
|
-
_extends$k = Object.assign || function(target) {
|
|
6036
|
+
_extends$k = Object.assign || function assign(target) {
|
|
6080
6037
|
for(var i = 1; i < arguments.length; i++){
|
|
6081
6038
|
var source = arguments[i];
|
|
6082
|
-
for(var key in source)
|
|
6083
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6084
|
-
target[key] = source[key];
|
|
6085
|
-
}
|
|
6086
|
-
}
|
|
6039
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
6087
6040
|
}
|
|
6088
6041
|
return target;
|
|
6089
6042
|
};
|
|
@@ -6146,8 +6099,8 @@ function _set_prototype_of$l(o, p) {
|
|
|
6146
6099
|
* 点击 Control 会触发
|
|
6147
6100
|
*/ _proto._onControlClick = function _onControlClick(e) {
|
|
6148
6101
|
var _this = this;
|
|
6149
|
-
this.active = true;
|
|
6150
6102
|
var _this_options_type, _this_options_cloudRecUpload;
|
|
6103
|
+
this.active = true;
|
|
6151
6104
|
this.emit(EVENTS.control.capturePicture, {
|
|
6152
6105
|
type: (_this_options_type = this.options.type) != null ? _this_options_type : 'download',
|
|
6153
6106
|
quality: this.options.quality || 0.9,
|
|
@@ -6183,14 +6136,10 @@ function _create_class$4(Constructor, protoProps, staticProps) {
|
|
|
6183
6136
|
return Constructor;
|
|
6184
6137
|
}
|
|
6185
6138
|
function _extends$j() {
|
|
6186
|
-
_extends$j = Object.assign || function(target) {
|
|
6139
|
+
_extends$j = Object.assign || function assign(target) {
|
|
6187
6140
|
for(var i = 1; i < arguments.length; i++){
|
|
6188
6141
|
var source = arguments[i];
|
|
6189
|
-
for(var key in source)
|
|
6190
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6191
|
-
target[key] = source[key];
|
|
6192
|
-
}
|
|
6193
|
-
}
|
|
6142
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
6194
6143
|
}
|
|
6195
6144
|
return target;
|
|
6196
6145
|
};
|
|
@@ -6359,7 +6308,7 @@ function formatTime(seconds, format) {
|
|
|
6359
6308
|
var hours = Math.floor(seconds / 3600);
|
|
6360
6309
|
var minutes = Math.floor(seconds % 3600 / 60);
|
|
6361
6310
|
var secs = seconds % 60;
|
|
6362
|
-
var pad = function(num) {
|
|
6311
|
+
var pad = function pad(num) {
|
|
6363
6312
|
return num.toString().padStart(2, '0');
|
|
6364
6313
|
};
|
|
6365
6314
|
return format.replace('HH', pad(hours)).replace('MM', pad(minutes)).replace('SS', pad(secs));
|
|
@@ -6379,14 +6328,10 @@ function _create_class$3(Constructor, protoProps, staticProps) {
|
|
|
6379
6328
|
return Constructor;
|
|
6380
6329
|
}
|
|
6381
6330
|
function _extends$i() {
|
|
6382
|
-
_extends$i = Object.assign || function(target) {
|
|
6331
|
+
_extends$i = Object.assign || function assign(target) {
|
|
6383
6332
|
for(var i = 1; i < arguments.length; i++){
|
|
6384
6333
|
var source = arguments[i];
|
|
6385
|
-
for(var key in source)
|
|
6386
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6387
|
-
target[key] = source[key];
|
|
6388
|
-
}
|
|
6389
|
-
}
|
|
6334
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
6390
6335
|
}
|
|
6391
6336
|
return target;
|
|
6392
6337
|
};
|
|
@@ -6534,11 +6479,8 @@ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6534
6479
|
reject(error);
|
|
6535
6480
|
return;
|
|
6536
6481
|
}
|
|
6537
|
-
if (info.done)
|
|
6538
|
-
|
|
6539
|
-
} else {
|
|
6540
|
-
Promise.resolve(value).then(_next, _throw);
|
|
6541
|
-
}
|
|
6482
|
+
if (info.done) resolve(value);
|
|
6483
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
6542
6484
|
}
|
|
6543
6485
|
function _async_to_generator$4(fn) {
|
|
6544
6486
|
return function() {
|
|
@@ -6569,14 +6511,10 @@ function _create_class$2(Constructor, protoProps, staticProps) {
|
|
|
6569
6511
|
return Constructor;
|
|
6570
6512
|
}
|
|
6571
6513
|
function _extends$h() {
|
|
6572
|
-
_extends$h = Object.assign || function(target) {
|
|
6514
|
+
_extends$h = Object.assign || function assign(target) {
|
|
6573
6515
|
for(var i = 1; i < arguments.length; i++){
|
|
6574
6516
|
var source = arguments[i];
|
|
6575
|
-
for(var key in source)
|
|
6576
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6577
|
-
target[key] = source[key];
|
|
6578
|
-
}
|
|
6579
|
-
}
|
|
6517
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
6580
6518
|
}
|
|
6581
6519
|
return target;
|
|
6582
6520
|
};
|
|
@@ -6611,9 +6549,17 @@ function _ts_generator$4(thisArg, body) {
|
|
|
6611
6549
|
},
|
|
6612
6550
|
trys: [],
|
|
6613
6551
|
ops: []
|
|
6614
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
6615
|
-
return
|
|
6616
|
-
|
|
6552
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
6553
|
+
return d(g, "next", {
|
|
6554
|
+
value: verb(0)
|
|
6555
|
+
}), d(g, "throw", {
|
|
6556
|
+
value: verb(1)
|
|
6557
|
+
}), d(g, "return", {
|
|
6558
|
+
value: verb(2)
|
|
6559
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
6560
|
+
value: function() {
|
|
6561
|
+
return this;
|
|
6562
|
+
}
|
|
6617
6563
|
}), g;
|
|
6618
6564
|
function verb(n) {
|
|
6619
6565
|
return function(v) {
|
|
@@ -6754,7 +6700,7 @@ function _ts_generator$4(thisArg, body) {
|
|
|
6754
6700
|
/**
|
|
6755
6701
|
* 点击 Control 会触发
|
|
6756
6702
|
*/ _proto._onControlClick = function _onControlClick(e) {
|
|
6757
|
-
var _this = this, _superprop_get__onControlClick = function() {
|
|
6703
|
+
var _this = this, _superprop_get__onControlClick = function _superprop_get__onControlClick() {
|
|
6758
6704
|
return Control.prototype._onControlClick;
|
|
6759
6705
|
};
|
|
6760
6706
|
return _async_to_generator$4(function() {
|
|
@@ -6817,11 +6763,8 @@ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6817
6763
|
reject(error);
|
|
6818
6764
|
return;
|
|
6819
6765
|
}
|
|
6820
|
-
if (info.done)
|
|
6821
|
-
|
|
6822
|
-
} else {
|
|
6823
|
-
Promise.resolve(value).then(_next, _throw);
|
|
6824
|
-
}
|
|
6766
|
+
if (info.done) resolve(value);
|
|
6767
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
6825
6768
|
}
|
|
6826
6769
|
function _async_to_generator$3(fn) {
|
|
6827
6770
|
return function() {
|
|
@@ -6839,14 +6782,10 @@ function _async_to_generator$3(fn) {
|
|
|
6839
6782
|
};
|
|
6840
6783
|
}
|
|
6841
6784
|
function _extends$g() {
|
|
6842
|
-
_extends$g = Object.assign || function(target) {
|
|
6785
|
+
_extends$g = Object.assign || function assign(target) {
|
|
6843
6786
|
for(var i = 1; i < arguments.length; i++){
|
|
6844
6787
|
var source = arguments[i];
|
|
6845
|
-
for(var key in source)
|
|
6846
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6847
|
-
target[key] = source[key];
|
|
6848
|
-
}
|
|
6849
|
-
}
|
|
6788
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
6850
6789
|
}
|
|
6851
6790
|
return target;
|
|
6852
6791
|
};
|
|
@@ -6881,9 +6820,17 @@ function _ts_generator$3(thisArg, body) {
|
|
|
6881
6820
|
},
|
|
6882
6821
|
trys: [],
|
|
6883
6822
|
ops: []
|
|
6884
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
6885
|
-
return
|
|
6886
|
-
|
|
6823
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
6824
|
+
return d(g, "next", {
|
|
6825
|
+
value: verb(0)
|
|
6826
|
+
}), d(g, "throw", {
|
|
6827
|
+
value: verb(1)
|
|
6828
|
+
}), d(g, "return", {
|
|
6829
|
+
value: verb(2)
|
|
6830
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
6831
|
+
value: function() {
|
|
6832
|
+
return this;
|
|
6833
|
+
}
|
|
6887
6834
|
}), g;
|
|
6888
6835
|
function verb(n) {
|
|
6889
6836
|
return function(v) {
|
|
@@ -7019,7 +6966,7 @@ function _ts_generator$3(thisArg, body) {
|
|
|
7019
6966
|
/**
|
|
7020
6967
|
* 点击 Control 会触发
|
|
7021
6968
|
*/ _proto._onControlClick = function _onControlClick(e) {
|
|
7022
|
-
var _this = this, _superprop_get__onControlClick = function() {
|
|
6969
|
+
var _this = this, _superprop_get__onControlClick = function _superprop_get__onControlClick() {
|
|
7023
6970
|
return Control.prototype._onControlClick;
|
|
7024
6971
|
};
|
|
7025
6972
|
return _async_to_generator$3(function() {
|
|
@@ -7047,11 +6994,8 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
7047
6994
|
reject(error);
|
|
7048
6995
|
return;
|
|
7049
6996
|
}
|
|
7050
|
-
if (info.done)
|
|
7051
|
-
|
|
7052
|
-
} else {
|
|
7053
|
-
Promise.resolve(value).then(_next, _throw);
|
|
7054
|
-
}
|
|
6997
|
+
if (info.done) resolve(value);
|
|
6998
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
7055
6999
|
}
|
|
7056
7000
|
function _async_to_generator$2(fn) {
|
|
7057
7001
|
return function() {
|
|
@@ -7069,14 +7013,10 @@ function _async_to_generator$2(fn) {
|
|
|
7069
7013
|
};
|
|
7070
7014
|
}
|
|
7071
7015
|
function _extends$f() {
|
|
7072
|
-
_extends$f = Object.assign || function(target) {
|
|
7016
|
+
_extends$f = Object.assign || function assign(target) {
|
|
7073
7017
|
for(var i = 1; i < arguments.length; i++){
|
|
7074
7018
|
var source = arguments[i];
|
|
7075
|
-
for(var key in source)
|
|
7076
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7077
|
-
target[key] = source[key];
|
|
7078
|
-
}
|
|
7079
|
-
}
|
|
7019
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
7080
7020
|
}
|
|
7081
7021
|
return target;
|
|
7082
7022
|
};
|
|
@@ -7111,9 +7051,17 @@ function _ts_generator$2(thisArg, body) {
|
|
|
7111
7051
|
},
|
|
7112
7052
|
trys: [],
|
|
7113
7053
|
ops: []
|
|
7114
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
7115
|
-
return
|
|
7116
|
-
|
|
7054
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
7055
|
+
return d(g, "next", {
|
|
7056
|
+
value: verb(0)
|
|
7057
|
+
}), d(g, "throw", {
|
|
7058
|
+
value: verb(1)
|
|
7059
|
+
}), d(g, "return", {
|
|
7060
|
+
value: verb(2)
|
|
7061
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
7062
|
+
value: function() {
|
|
7063
|
+
return this;
|
|
7064
|
+
}
|
|
7117
7065
|
}), g;
|
|
7118
7066
|
function verb(n) {
|
|
7119
7067
|
return function(v) {
|
|
@@ -7250,7 +7198,7 @@ function _ts_generator$2(thisArg, body) {
|
|
|
7250
7198
|
/**
|
|
7251
7199
|
* 点击 Control 会触发
|
|
7252
7200
|
*/ _proto._onControlClick = function _onControlClick(e) {
|
|
7253
|
-
var _this = this, _superprop_get__onControlClick = function() {
|
|
7201
|
+
var _this = this, _superprop_get__onControlClick = function _superprop_get__onControlClick() {
|
|
7254
7202
|
return Control.prototype._onControlClick;
|
|
7255
7203
|
};
|
|
7256
7204
|
return _async_to_generator$2(function() {
|
|
@@ -7271,14 +7219,10 @@ function _ts_generator$2(thisArg, body) {
|
|
|
7271
7219
|
}(Control);
|
|
7272
7220
|
|
|
7273
7221
|
function _extends$e() {
|
|
7274
|
-
_extends$e = Object.assign || function(target) {
|
|
7222
|
+
_extends$e = Object.assign || function assign(target) {
|
|
7275
7223
|
for(var i = 1; i < arguments.length; i++){
|
|
7276
7224
|
var source = arguments[i];
|
|
7277
|
-
for(var key in source)
|
|
7278
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7279
|
-
target[key] = source[key];
|
|
7280
|
-
}
|
|
7281
|
-
}
|
|
7225
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
7282
7226
|
}
|
|
7283
7227
|
return target;
|
|
7284
7228
|
};
|
|
@@ -7366,14 +7310,10 @@ function _set_prototype_of$f(o, p) {
|
|
|
7366
7310
|
}(Control);
|
|
7367
7311
|
|
|
7368
7312
|
function _extends$d() {
|
|
7369
|
-
_extends$d = Object.assign || function(target) {
|
|
7313
|
+
_extends$d = Object.assign || function assign(target) {
|
|
7370
7314
|
for(var i = 1; i < arguments.length; i++){
|
|
7371
7315
|
var source = arguments[i];
|
|
7372
|
-
for(var key in source)
|
|
7373
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7374
|
-
target[key] = source[key];
|
|
7375
|
-
}
|
|
7376
|
-
}
|
|
7316
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
7377
7317
|
}
|
|
7378
7318
|
return target;
|
|
7379
7319
|
};
|
|
@@ -7456,7 +7396,7 @@ function _set_prototype_of$e(o, p) {
|
|
|
7456
7396
|
_proto._initPicker = function _initPicker() {
|
|
7457
7397
|
var _this = this;
|
|
7458
7398
|
this._picker = new Picker(this.$container, {
|
|
7459
|
-
getPopupContainer: function() {
|
|
7399
|
+
getPopupContainer: function getPopupContainer() {
|
|
7460
7400
|
return Utils.isMobile ? _this.__options.rootContainer : _this.$container;
|
|
7461
7401
|
},
|
|
7462
7402
|
trigger: Utils.isMobile ? 'click' : 'hover',
|
|
@@ -7530,14 +7470,10 @@ function _set_prototype_of$e(o, p) {
|
|
|
7530
7470
|
}(Control);
|
|
7531
7471
|
|
|
7532
7472
|
function _extends$c() {
|
|
7533
|
-
_extends$c = Object.assign || function(target) {
|
|
7473
|
+
_extends$c = Object.assign || function assign(target) {
|
|
7534
7474
|
for(var i = 1; i < arguments.length; i++){
|
|
7535
7475
|
var source = arguments[i];
|
|
7536
|
-
for(var key in source)
|
|
7537
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7538
|
-
target[key] = source[key];
|
|
7539
|
-
}
|
|
7540
|
-
}
|
|
7476
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
7541
7477
|
}
|
|
7542
7478
|
return target;
|
|
7543
7479
|
};
|
|
@@ -7590,10 +7526,10 @@ function _set_prototype_of$d(o, p) {
|
|
|
7590
7526
|
showEventFilter: false,
|
|
7591
7527
|
showCardTypeIcon: false,
|
|
7592
7528
|
sections: [],
|
|
7593
|
-
onCardClick: function(section, index, sections) {
|
|
7529
|
+
onCardClick: function onCardClick(section, index, sections) {
|
|
7594
7530
|
_this.emit(EVENTS.control.recListCardClick, section, index, sections);
|
|
7595
7531
|
},
|
|
7596
|
-
onClose: function() {
|
|
7532
|
+
onClose: function onClose() {
|
|
7597
7533
|
var _this__options_onClose, _this__options;
|
|
7598
7534
|
_this._panelOpen = false;
|
|
7599
7535
|
_this.active = false;
|
|
@@ -7682,14 +7618,10 @@ function _set_prototype_of$d(o, p) {
|
|
|
7682
7618
|
}(Control);
|
|
7683
7619
|
|
|
7684
7620
|
function _extends$b() {
|
|
7685
|
-
_extends$b = Object.assign || function(target) {
|
|
7621
|
+
_extends$b = Object.assign || function assign(target) {
|
|
7686
7622
|
for(var i = 1; i < arguments.length; i++){
|
|
7687
7623
|
var source = arguments[i];
|
|
7688
|
-
for(var key in source)
|
|
7689
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7690
|
-
target[key] = source[key];
|
|
7691
|
-
}
|
|
7692
|
-
}
|
|
7624
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
7693
7625
|
}
|
|
7694
7626
|
return target;
|
|
7695
7627
|
};
|
|
@@ -7778,14 +7710,10 @@ function _create_class$1(Constructor, protoProps, staticProps) {
|
|
|
7778
7710
|
return Constructor;
|
|
7779
7711
|
}
|
|
7780
7712
|
function _extends$a() {
|
|
7781
|
-
_extends$a = Object.assign || function(target) {
|
|
7713
|
+
_extends$a = Object.assign || function assign(target) {
|
|
7782
7714
|
for(var i = 1; i < arguments.length; i++){
|
|
7783
7715
|
var source = arguments[i];
|
|
7784
|
-
for(var key in source)
|
|
7785
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7786
|
-
target[key] = source[key];
|
|
7787
|
-
}
|
|
7788
|
-
}
|
|
7716
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
7789
7717
|
}
|
|
7790
7718
|
return target;
|
|
7791
7719
|
};
|
|
@@ -7816,11 +7744,11 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7816
7744
|
label: 'label',
|
|
7817
7745
|
value: 'value'
|
|
7818
7746
|
},
|
|
7819
|
-
renderLabel: function(label) {
|
|
7747
|
+
renderLabel: function renderLabel(label) {
|
|
7820
7748
|
return "<span>" + (label || '') + "</span>";
|
|
7821
7749
|
},
|
|
7822
|
-
onChange: function() {},
|
|
7823
|
-
onOpenChange: function() {}
|
|
7750
|
+
onChange: function onChange() {},
|
|
7751
|
+
onOpenChange: function onOpenChange() {}
|
|
7824
7752
|
};
|
|
7825
7753
|
/**
|
|
7826
7754
|
* 选择器切换 (支持PC/Mobile)
|
|
@@ -7874,6 +7802,7 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7874
7802
|
_inherits$b(Select, Control);
|
|
7875
7803
|
function Select(options) {
|
|
7876
7804
|
var _this;
|
|
7805
|
+
var _ref;
|
|
7877
7806
|
var _this__options_fieldNames, _this__picker_$body;
|
|
7878
7807
|
_this = Control.call(this, _extends$a({
|
|
7879
7808
|
tagName: 'span',
|
|
@@ -7887,11 +7816,10 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7887
7816
|
if (options.value !== undefined || options.value !== null) {
|
|
7888
7817
|
_this._value = options.value + '';
|
|
7889
7818
|
}
|
|
7890
|
-
var
|
|
7891
|
-
var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames = _this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _this__options_fieldNames_value : 'value';
|
|
7819
|
+
var valueKey = (_ref = (_this__options_fieldNames = _this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _ref : 'value';
|
|
7892
7820
|
_this._picker = new Picker(_this.$container, {
|
|
7893
7821
|
// 由于某些原因, 移动端强制渲染在 body 上
|
|
7894
|
-
getPopupContainer: function() {
|
|
7822
|
+
getPopupContainer: function getPopupContainer() {
|
|
7895
7823
|
return Utils.isMobile ? options.rootContainer : _this.$container;
|
|
7896
7824
|
},
|
|
7897
7825
|
trigger: Utils.isMobile ? 'click' : 'hover',
|
|
@@ -7904,7 +7832,7 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7904
7832
|
],
|
|
7905
7833
|
placement: 'top',
|
|
7906
7834
|
// zIndex: 10000,
|
|
7907
|
-
onOpenChange: function(open) {
|
|
7835
|
+
onOpenChange: function onOpenChange(open) {
|
|
7908
7836
|
var item = _this.list.find(function(item) {
|
|
7909
7837
|
return item[valueKey] + '' === _this.value;
|
|
7910
7838
|
});
|
|
@@ -7928,11 +7856,10 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7928
7856
|
var _this = this;
|
|
7929
7857
|
if (list === void 0) list = [];
|
|
7930
7858
|
if ((list == null ? void 0 : list.length) > 0 && this._picker) {
|
|
7859
|
+
var _ref, _ref1;
|
|
7931
7860
|
var _this__options_fieldNames, _this__options_fieldNames1, _this_locale, _this__picker;
|
|
7932
|
-
var
|
|
7933
|
-
var
|
|
7934
|
-
var _this__options_fieldNames_value;
|
|
7935
|
-
var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames1 = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames1.value) != null ? _this__options_fieldNames_value : 'value';
|
|
7861
|
+
var labelKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _ref : 'label';
|
|
7862
|
+
var valueKey = (_ref1 = (_this__options_fieldNames1 = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames1.value) != null ? _ref1 : 'value';
|
|
7936
7863
|
(_this__picker = this._picker) == null ? void 0 : _this__picker.innerHTML('<div class="' + PREFIX_CLASS + '-select-panel">\n <ul class="' + PREFIX_CLASS + '-select-list">\n ' + list.map(function(item) {
|
|
7937
7864
|
return '\n <li class="' + PREFIX_CLASS + "-select-option " + (+item[valueKey] === _this.value ? "" + PREFIX_CLASS + "-active" : '') + '" data-value="' + item[valueKey] + '">\n <span>' + item[labelKey] + "</span>\n </li>\n ";
|
|
7938
7865
|
}).join('') + "\n </ul>\n " + (Utils.isMobile ? '<div class="' + PREFIX_CLASS + '-select-cancel">\n <span>' + (((_this_locale = this.locale) == null ? void 0 : _this_locale.cancel) || '取消') + "</span>\n </div>" : '') + "\n " + (Utils.isMobile ? '<span class="' + PREFIX_CLASS + '-select-close">' + IconComponents.close() + "</span>" : '') + "\n <div>");
|
|
@@ -7944,12 +7871,12 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7944
7871
|
}
|
|
7945
7872
|
};
|
|
7946
7873
|
_proto._render = function _render(item) {
|
|
7874
|
+
var _ref;
|
|
7947
7875
|
var _this__options_fieldNames;
|
|
7948
7876
|
if (this.list.length === 0) {
|
|
7949
7877
|
return;
|
|
7950
7878
|
}
|
|
7951
|
-
var
|
|
7952
|
-
var labelKey = (_this__options_fieldNames_label = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _this__options_fieldNames_label : 'label';
|
|
7879
|
+
var labelKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.label) != null ? _ref : 'label';
|
|
7953
7880
|
if (this.$container.querySelector("." + PREFIX_CLASS + "-select-btn")) {
|
|
7954
7881
|
this.$container.querySelector("." + PREFIX_CLASS + "-select-btn").innerHTML = this._options.renderLabel == null ? void 0 : this._options.renderLabel.call(this._options, item == null ? void 0 : item[labelKey], item, this.list);
|
|
7955
7882
|
} else {
|
|
@@ -7965,9 +7892,9 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7965
7892
|
_proto._activeOption = function _activeOption() {
|
|
7966
7893
|
var _this = this;
|
|
7967
7894
|
if (this._picker) {
|
|
7895
|
+
var _ref;
|
|
7968
7896
|
var _this__options_fieldNames, _this__picker_$body, _this__picker_$body1;
|
|
7969
|
-
var
|
|
7970
|
-
var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _this__options_fieldNames_value : 'value';
|
|
7897
|
+
var valueKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _ref : 'value';
|
|
7971
7898
|
var $active = (_this__picker_$body = this._picker.$body) == null ? void 0 : _this__picker_$body.querySelector("." + PREFIX_CLASS + "-active");
|
|
7972
7899
|
$active == null ? void 0 : $active.classList.remove(PREFIX_CLASS + '-active');
|
|
7973
7900
|
var $target = (_this__picker_$body1 = this._picker.$body) == null ? void 0 : _this__picker_$body1.querySelector("." + PREFIX_CLASS + '-select-option[data-value="' + this.value + '"]');
|
|
@@ -7981,9 +7908,9 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
7981
7908
|
_proto._onSelectChange = function _onSelectChange() {
|
|
7982
7909
|
var _this = this;
|
|
7983
7910
|
if (this._picker) {
|
|
7911
|
+
var _ref;
|
|
7984
7912
|
var _this__options_fieldNames;
|
|
7985
|
-
var
|
|
7986
|
-
var valueKey = (_this__options_fieldNames_value = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _this__options_fieldNames_value : 'value';
|
|
7913
|
+
var valueKey = (_ref = (_this__options_fieldNames = this._options.fieldNames) == null ? void 0 : _this__options_fieldNames.value) != null ? _ref : 'value';
|
|
7987
7914
|
this._delegationOption = delegate(this._picker.$body, "." + PREFIX_CLASS + "-select-option", 'click', function(e) {
|
|
7988
7915
|
var target = e.delegateTarget;
|
|
7989
7916
|
e.stopPropagation();
|
|
@@ -8068,20 +7995,14 @@ var SELECT_DEFAULT_OPTIONS = {
|
|
|
8068
7995
|
}(Control);
|
|
8069
7996
|
|
|
8070
7997
|
function _assert_this_initialized$1(self) {
|
|
8071
|
-
if (self === void 0)
|
|
8072
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8073
|
-
}
|
|
7998
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8074
7999
|
return self;
|
|
8075
8000
|
}
|
|
8076
8001
|
function _extends$9() {
|
|
8077
|
-
_extends$9 = Object.assign || function(target) {
|
|
8002
|
+
_extends$9 = Object.assign || function assign(target) {
|
|
8078
8003
|
for(var i = 1; i < arguments.length; i++){
|
|
8079
8004
|
var source = arguments[i];
|
|
8080
|
-
for(var key in source)
|
|
8081
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8082
|
-
target[key] = source[key];
|
|
8083
|
-
}
|
|
8084
|
-
}
|
|
8005
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
8085
8006
|
}
|
|
8086
8007
|
return target;
|
|
8087
8008
|
};
|
|
@@ -8171,7 +8092,7 @@ function __filter(list, locale) {
|
|
|
8171
8092
|
title: options == null ? void 0 : (_options_locales_options_language = options.locales[options.language]) == null ? void 0 : _options_locales_options_language.BTN_HD,
|
|
8172
8093
|
controlType: 'button',
|
|
8173
8094
|
classNameSuffix: 'definition',
|
|
8174
|
-
renderLabel: function(label, item, list) {
|
|
8095
|
+
renderLabel: function renderLabel(label, item, list) {
|
|
8175
8096
|
var _list_;
|
|
8176
8097
|
if ((item == null ? void 0 : item.level) === 'auto') {
|
|
8177
8098
|
var _options_locales_options_language;
|
|
@@ -8183,7 +8104,7 @@ function __filter(list, locale) {
|
|
|
8183
8104
|
// 如果 label 不存在,则不显示label,直接显示list的第一个label, 一般自定义清晰度列表可能会出现
|
|
8184
8105
|
return "<span>" + (label || ((_list_ = list[0]) == null ? void 0 : _list_.name) || '') + "</span>";
|
|
8185
8106
|
},
|
|
8186
|
-
onChange: function(value, item) {
|
|
8107
|
+
onChange: function onChange(value, item) {
|
|
8187
8108
|
var _options_onChange;
|
|
8188
8109
|
options == null ? void 0 : (_options_onChange = options.onChange) == null ? void 0 : _options_onChange.call(options, value, item);
|
|
8189
8110
|
if (value === 'auto') {
|
|
@@ -8193,7 +8114,7 @@ function __filter(list, locale) {
|
|
|
8193
8114
|
_assert_this_initialized$1(_this).emit(EVENTS.control.definitionChange, value, item);
|
|
8194
8115
|
}
|
|
8195
8116
|
},
|
|
8196
|
-
onOpenChange: function(open, value, item) {
|
|
8117
|
+
onOpenChange: function onOpenChange(open, value, item) {
|
|
8197
8118
|
var _options_onOpenChange;
|
|
8198
8119
|
options == null ? void 0 : (_options_onOpenChange = options.onOpenChange) == null ? void 0 : _options_onOpenChange.call(options, open, value, item);
|
|
8199
8120
|
_assert_this_initialized$1(_this).emit(EVENTS.control.definitionPanelOpenChange, open, value, item);
|
|
@@ -8229,20 +8150,14 @@ function __filter(list, locale) {
|
|
|
8229
8150
|
}(Select);
|
|
8230
8151
|
|
|
8231
8152
|
function _assert_this_initialized(self) {
|
|
8232
|
-
if (self === void 0)
|
|
8233
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8234
|
-
}
|
|
8153
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8235
8154
|
return self;
|
|
8236
8155
|
}
|
|
8237
8156
|
function _extends$8() {
|
|
8238
|
-
_extends$8 = Object.assign || function(target) {
|
|
8157
|
+
_extends$8 = Object.assign || function assign(target) {
|
|
8239
8158
|
for(var i = 1; i < arguments.length; i++){
|
|
8240
8159
|
var source = arguments[i];
|
|
8241
|
-
for(var key in source)
|
|
8242
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8243
|
-
target[key] = source[key];
|
|
8244
|
-
}
|
|
8245
|
-
}
|
|
8160
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
8246
8161
|
}
|
|
8247
8162
|
return target;
|
|
8248
8163
|
};
|
|
@@ -8309,13 +8224,13 @@ var SPEED_DEFAULT_OPTIONS = {
|
|
|
8309
8224
|
classNameSuffix: 'speed',
|
|
8310
8225
|
controlType: 'button',
|
|
8311
8226
|
title: options == null ? void 0 : (_options_locales = options.locales) == null ? void 0 : (_options_locales_options_language = _options_locales[options.language]) == null ? void 0 : _options_locales_options_language.BTN_SPEED,
|
|
8312
|
-
onChange: function(value, item) {
|
|
8227
|
+
onChange: function onChange(value, item) {
|
|
8313
8228
|
var _options_onChange;
|
|
8314
8229
|
value = +value;
|
|
8315
8230
|
options == null ? void 0 : (_options_onChange = options.onChange) == null ? void 0 : _options_onChange.call(options, value, item);
|
|
8316
8231
|
_assert_this_initialized(_this).emit(EVENTS.control.speedChange, value, item);
|
|
8317
8232
|
},
|
|
8318
|
-
onOpenChange: function(open, value, item) {
|
|
8233
|
+
onOpenChange: function onOpenChange(open, value, item) {
|
|
8319
8234
|
var _options_onOpenChange;
|
|
8320
8235
|
value = +value;
|
|
8321
8236
|
options == null ? void 0 : (_options_onOpenChange = options.onOpenChange) == null ? void 0 : _options_onOpenChange.call(options, open, value, item);
|
|
@@ -8365,14 +8280,10 @@ var SPEED_DEFAULT_OPTIONS = {
|
|
|
8365
8280
|
}(Select);
|
|
8366
8281
|
|
|
8367
8282
|
function _extends$7() {
|
|
8368
|
-
_extends$7 = Object.assign || function(target) {
|
|
8283
|
+
_extends$7 = Object.assign || function assign(target) {
|
|
8369
8284
|
for(var i = 1; i < arguments.length; i++){
|
|
8370
8285
|
var source = arguments[i];
|
|
8371
|
-
for(var key in source)
|
|
8372
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8373
|
-
target[key] = source[key];
|
|
8374
|
-
}
|
|
8375
|
-
}
|
|
8286
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
8376
8287
|
}
|
|
8377
8288
|
return target;
|
|
8378
8289
|
};
|
|
@@ -8449,16 +8360,16 @@ function _set_prototype_of$8(o, p) {
|
|
|
8449
8360
|
current: utilsTools.DateTime.toDate(this._value),
|
|
8450
8361
|
placement: 'tr',
|
|
8451
8362
|
triggerClose: true,
|
|
8452
|
-
disabledDate: function(date) {
|
|
8363
|
+
disabledDate: function disabledDate(date) {
|
|
8453
8364
|
return date.getTime() > (_this.options.maxDate || new Date()).getTime();
|
|
8454
8365
|
}
|
|
8455
8366
|
}, this.options || {}, {
|
|
8456
8367
|
// 不支持自定义
|
|
8457
|
-
getPopupContainer: function() {
|
|
8368
|
+
getPopupContainer: function getPopupContainer() {
|
|
8458
8369
|
return _this.$container;
|
|
8459
8370
|
},
|
|
8460
8371
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8461
|
-
onOk: function(date, _mode) {
|
|
8372
|
+
onOk: function onOk(date, _mode) {
|
|
8462
8373
|
if (date && _this._value !== utilsTools.DateTime.format(date, 'YYYY-MM-DD') && isMobile1) {
|
|
8463
8374
|
_this._value = utilsTools.DateTime.format(date, 'YYYY-MM-DD');
|
|
8464
8375
|
_this.options.onOk == null ? void 0 : _this.options.onOk.call(_this.options, date);
|
|
@@ -8468,14 +8379,14 @@ function _set_prototype_of$8(o, p) {
|
|
|
8468
8379
|
}
|
|
8469
8380
|
}
|
|
8470
8381
|
},
|
|
8471
|
-
onChange: function(date, mode) {
|
|
8382
|
+
onChange: function onChange(date, mode) {
|
|
8472
8383
|
if (date && _this._value !== utilsTools.DateTime.format(date, 'YYYY-MM-DD') && !isMobile1 && mode === 'date') {
|
|
8473
8384
|
_this._value = utilsTools.DateTime.format(date, 'YYYY-MM-DD');
|
|
8474
8385
|
_this.options.onChange == null ? void 0 : _this.options.onChange.call(_this.options, date);
|
|
8475
8386
|
_this.emit(EVENTS.control.dateChange, date);
|
|
8476
8387
|
}
|
|
8477
8388
|
},
|
|
8478
|
-
onOpenChange: function(open) {
|
|
8389
|
+
onOpenChange: function onOpenChange(open) {
|
|
8479
8390
|
_this.options.onPanelChange == null ? void 0 : _this.options.onPanelChange.call(_this.options, open, _this.datePicker.current);
|
|
8480
8391
|
_this.emit(EVENTS.control.datePanelOpenChange, open, _this.datePicker.current);
|
|
8481
8392
|
}
|
|
@@ -8525,14 +8436,10 @@ function _set_prototype_of$8(o, p) {
|
|
|
8525
8436
|
}(Control);
|
|
8526
8437
|
|
|
8527
8438
|
function _extends$6() {
|
|
8528
|
-
_extends$6 = Object.assign || function(target) {
|
|
8439
|
+
_extends$6 = Object.assign || function assign(target) {
|
|
8529
8440
|
for(var i = 1; i < arguments.length; i++){
|
|
8530
8441
|
var source = arguments[i];
|
|
8531
|
-
for(var key in source)
|
|
8532
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8533
|
-
target[key] = source[key];
|
|
8534
|
-
}
|
|
8535
|
-
}
|
|
8442
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
8536
8443
|
}
|
|
8537
8444
|
return target;
|
|
8538
8445
|
};
|
|
@@ -8606,17 +8513,17 @@ function _set_prototype_of$7(o, p) {
|
|
|
8606
8513
|
triggerClose: true
|
|
8607
8514
|
}, this.options || {}, {
|
|
8608
8515
|
// 不支持自定义
|
|
8609
|
-
getPopupContainer: function() {
|
|
8516
|
+
getPopupContainer: function getPopupContainer() {
|
|
8610
8517
|
return _this.$container;
|
|
8611
8518
|
},
|
|
8612
|
-
onChange: function(time, _times) {
|
|
8519
|
+
onChange: function onChange(time, _times) {
|
|
8613
8520
|
if (time && _this._value !== time) {
|
|
8614
8521
|
_this._value = time;
|
|
8615
8522
|
_this.options.onChange == null ? void 0 : _this.options.onChange.call(_this.options, time, _times);
|
|
8616
8523
|
_this.emit(EVENTS.control.timeChange, time);
|
|
8617
8524
|
}
|
|
8618
8525
|
},
|
|
8619
|
-
onOpenChange: function(open) {
|
|
8526
|
+
onOpenChange: function onOpenChange(open) {
|
|
8620
8527
|
_this.options.onPanelChange == null ? void 0 : _this.options.onPanelChange.call(_this.options, open, _this.timePicker.current);
|
|
8621
8528
|
_this.emit(EVENTS.control.timePanelOpenChange, open, _this.timePicker.current);
|
|
8622
8529
|
}
|
|
@@ -8664,14 +8571,10 @@ function _set_prototype_of$7(o, p) {
|
|
|
8664
8571
|
}(Control);
|
|
8665
8572
|
|
|
8666
8573
|
function _extends$5() {
|
|
8667
|
-
_extends$5 = Object.assign || function(target) {
|
|
8574
|
+
_extends$5 = Object.assign || function assign(target) {
|
|
8668
8575
|
for(var i = 1; i < arguments.length; i++){
|
|
8669
8576
|
var source = arguments[i];
|
|
8670
|
-
for(var key in source)
|
|
8671
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8672
|
-
target[key] = source[key];
|
|
8673
|
-
}
|
|
8674
|
-
}
|
|
8577
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
8675
8578
|
}
|
|
8676
8579
|
return target;
|
|
8677
8580
|
};
|
|
@@ -8740,8 +8643,8 @@ function _set_prototype_of$6(o, p) {
|
|
|
8740
8643
|
var _proto = TimeLineControl.prototype;
|
|
8741
8644
|
_proto._render = function _render() {
|
|
8742
8645
|
var _this = this;
|
|
8743
|
-
var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
|
|
8744
8646
|
var _this__options_showTimeWidthBtn, _this__options_showCoverFold;
|
|
8647
|
+
var _this_timeLineUtil_updateTimeSections, _this_timeLineUtil;
|
|
8745
8648
|
var _timeLineOptions = _extends$5({
|
|
8746
8649
|
language: this._options.language || 'zh',
|
|
8747
8650
|
coverQuery: this._options.coverQuery || '',
|
|
@@ -8750,19 +8653,19 @@ function _set_prototype_of$6(o, p) {
|
|
|
8750
8653
|
hoverTipPlacement: 'top'
|
|
8751
8654
|
}, this._options || {}, {
|
|
8752
8655
|
showSectionIcon: false,
|
|
8753
|
-
onClickSeek: function(date) {
|
|
8656
|
+
onClickSeek: function onClickSeek(date) {
|
|
8754
8657
|
if (date == null ? void 0 : date.getTime()) {
|
|
8755
8658
|
_this._options.onClickSeek == null ? void 0 : _this._options.onClickSeek.call(_this._options, date);
|
|
8756
8659
|
_this.emit(EVENTS.control.timeLineChange, date);
|
|
8757
8660
|
}
|
|
8758
8661
|
},
|
|
8759
|
-
onChange: function(date) {
|
|
8662
|
+
onChange: function onChange(date) {
|
|
8760
8663
|
if (_this._currentTime !== (date == null ? void 0 : date.getTime())) {
|
|
8761
8664
|
_this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
|
|
8762
8665
|
_this.emit(EVENTS.control.timeLineChange, date);
|
|
8763
8666
|
}
|
|
8764
8667
|
},
|
|
8765
|
-
onDragEnd: function(date, isOver) {
|
|
8668
|
+
onDragEnd: function onDragEnd(date, isOver) {
|
|
8766
8669
|
var _this__options_props_playbackRange, _this__options_props, _this__options;
|
|
8767
8670
|
_this._options.onDragEnd == null ? void 0 : _this._options.onDragEnd.call(_this._options, date, isOver);
|
|
8768
8671
|
// 松手时鼠标已移出时间轴容器(isOver 为 false):控件把这种拖动视为取消,
|
|
@@ -8781,11 +8684,11 @@ function _set_prototype_of$6(o, p) {
|
|
|
8781
8684
|
_this.emit(EVENTS.control.timeLineChange, date);
|
|
8782
8685
|
}
|
|
8783
8686
|
},
|
|
8784
|
-
onPickerOpenChange: function(open) {
|
|
8687
|
+
onPickerOpenChange: function onPickerOpenChange(open) {
|
|
8785
8688
|
_this.emit(EVENTS.control.timeLinePanelOpenChange, open);
|
|
8786
8689
|
},
|
|
8787
8690
|
// 2025-10-27 仅移动端支持
|
|
8788
|
-
onPickerSelect: function(item) {
|
|
8691
|
+
onPickerSelect: function onPickerSelect(item) {
|
|
8789
8692
|
var date = null;
|
|
8790
8693
|
try {
|
|
8791
8694
|
if ((item.startTime + '').length === 10) date = new Date(item.startTime * 1000);
|
|
@@ -8796,7 +8699,7 @@ function _set_prototype_of$6(o, p) {
|
|
|
8796
8699
|
} catch (error) {
|
|
8797
8700
|
}
|
|
8798
8701
|
},
|
|
8799
|
-
onSectionIconClick: function(result) {
|
|
8702
|
+
onSectionIconClick: function onSectionIconClick(result) {
|
|
8800
8703
|
_this.emit('TimeLine.onSectionIconClick', result);
|
|
8801
8704
|
}
|
|
8802
8705
|
});
|
|
@@ -8867,14 +8770,10 @@ function _set_prototype_of$6(o, p) {
|
|
|
8867
8770
|
}(Control);
|
|
8868
8771
|
|
|
8869
8772
|
function _extends$4() {
|
|
8870
|
-
_extends$4 = Object.assign || function(target) {
|
|
8773
|
+
_extends$4 = Object.assign || function assign(target) {
|
|
8871
8774
|
for(var i = 1; i < arguments.length; i++){
|
|
8872
8775
|
var source = arguments[i];
|
|
8873
|
-
for(var key in source)
|
|
8874
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8875
|
-
target[key] = source[key];
|
|
8876
|
-
}
|
|
8877
|
-
}
|
|
8776
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
8878
8777
|
}
|
|
8879
8778
|
return target;
|
|
8880
8779
|
};
|
|
@@ -8919,8 +8818,8 @@ function _set_prototype_of$5(o, p) {
|
|
|
8919
8818
|
* @param seg 录像片段
|
|
8920
8819
|
* @param which 取起点还是终点
|
|
8921
8820
|
*/ function segMs(seg, which) {
|
|
8922
|
-
var
|
|
8923
|
-
var value = which === 'start' ? (
|
|
8821
|
+
var _ref, _ref1;
|
|
8822
|
+
var value = which === 'start' ? (_ref = seg == null ? void 0 : seg.startTime) != null ? _ref : seg == null ? void 0 : seg.begin : (_ref1 = seg == null ? void 0 : seg.endTime) != null ? _ref1 : seg == null ? void 0 : seg.end;
|
|
8924
8823
|
if (value === undefined || value === null || value === '') return NaN;
|
|
8925
8824
|
if (typeof value === 'number') return value < 1e12 ? value * 1000 : value;
|
|
8926
8825
|
return utilsTools.DateTime.toDate(value).getTime();
|
|
@@ -8981,17 +8880,17 @@ function _set_prototype_of$5(o, p) {
|
|
|
8981
8880
|
_proto._render = function _render() {
|
|
8982
8881
|
var _this = this;
|
|
8983
8882
|
this._progress = new SegmentProgress(this.$container, {
|
|
8984
|
-
onChange: function(date) {
|
|
8883
|
+
onChange: function onChange(date) {
|
|
8985
8884
|
// 用户主动定位即视为重新开始播放,立即解除结束静默,否则静默期内的回写被丢弃、
|
|
8986
8885
|
// 进度条会停住不动
|
|
8987
8886
|
_this._silenceUntil = 0;
|
|
8988
8887
|
_this._options.onChange == null ? void 0 : _this._options.onChange.call(_this._options, date);
|
|
8989
8888
|
_this.emit(EVENTS.control.timeLineChange, date);
|
|
8990
8889
|
},
|
|
8991
|
-
onDragStart: function() {
|
|
8890
|
+
onDragStart: function onDragStart() {
|
|
8992
8891
|
_this._isDragging = true;
|
|
8993
8892
|
},
|
|
8994
|
-
onDragEnd: function() {
|
|
8893
|
+
onDragEnd: function onDragEnd() {
|
|
8995
8894
|
_this._isDragging = false;
|
|
8996
8895
|
}
|
|
8997
8896
|
});
|
|
@@ -9084,14 +8983,10 @@ function _set_prototype_of$5(o, p) {
|
|
|
9084
8983
|
}(Control);
|
|
9085
8984
|
|
|
9086
8985
|
function _extends$3() {
|
|
9087
|
-
_extends$3 = Object.assign || function(target) {
|
|
8986
|
+
_extends$3 = Object.assign || function assign(target) {
|
|
9088
8987
|
for(var i = 1; i < arguments.length; i++){
|
|
9089
8988
|
var source = arguments[i];
|
|
9090
|
-
for(var key in source)
|
|
9091
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9092
|
-
target[key] = source[key];
|
|
9093
|
-
}
|
|
9094
|
-
}
|
|
8989
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
9095
8990
|
}
|
|
9096
8991
|
return target;
|
|
9097
8992
|
};
|
|
@@ -9181,7 +9076,7 @@ var Controls = {
|
|
|
9181
9076
|
segmentProgress: SegmentProgressControl
|
|
9182
9077
|
};
|
|
9183
9078
|
|
|
9184
|
-
|
|
9079
|
+
function _inherits$3(subClass, superClass) {
|
|
9185
9080
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
9186
9081
|
throw new TypeError("Super expression must either be null or a function");
|
|
9187
9082
|
}
|
|
@@ -9346,14 +9241,10 @@ function _set_prototype_of$2(o, p) {
|
|
|
9346
9241
|
}(EventEmitter);
|
|
9347
9242
|
|
|
9348
9243
|
function _extends$2() {
|
|
9349
|
-
_extends$2 = Object.assign || function(target) {
|
|
9244
|
+
_extends$2 = Object.assign || function assign(target) {
|
|
9350
9245
|
for(var i = 1; i < arguments.length; i++){
|
|
9351
9246
|
var source = arguments[i];
|
|
9352
|
-
for(var key in source)
|
|
9353
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9354
|
-
target[key] = source[key];
|
|
9355
|
-
}
|
|
9356
|
-
}
|
|
9247
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
9357
9248
|
}
|
|
9358
9249
|
return target;
|
|
9359
9250
|
};
|
|
@@ -9485,7 +9376,7 @@ var PAUSE_DEFAULT_OPTIONS = {};
|
|
|
9485
9376
|
return Pause;
|
|
9486
9377
|
}(Control);
|
|
9487
9378
|
|
|
9488
|
-
var _unmountedControls = function(theme) {
|
|
9379
|
+
var _unmountedControls = function _unmountedControls(theme) {
|
|
9489
9380
|
if (!theme.controls) {
|
|
9490
9381
|
return;
|
|
9491
9382
|
}
|
|
@@ -9572,11 +9463,8 @@ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
9572
9463
|
reject(error);
|
|
9573
9464
|
return;
|
|
9574
9465
|
}
|
|
9575
|
-
if (info.done)
|
|
9576
|
-
|
|
9577
|
-
} else {
|
|
9578
|
-
Promise.resolve(value).then(_next, _throw);
|
|
9579
|
-
}
|
|
9466
|
+
if (info.done) resolve(value);
|
|
9467
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
9580
9468
|
}
|
|
9581
9469
|
function _async_to_generator$1(fn) {
|
|
9582
9470
|
return function() {
|
|
@@ -9593,28 +9481,6 @@ function _async_to_generator$1(fn) {
|
|
|
9593
9481
|
});
|
|
9594
9482
|
};
|
|
9595
9483
|
}
|
|
9596
|
-
function _extends$1() {
|
|
9597
|
-
_extends$1 = Object.assign || function(target) {
|
|
9598
|
-
for(var i = 1; i < arguments.length; i++){
|
|
9599
|
-
var source = arguments[i];
|
|
9600
|
-
for(var key in source){
|
|
9601
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9602
|
-
target[key] = source[key];
|
|
9603
|
-
}
|
|
9604
|
-
}
|
|
9605
|
-
}
|
|
9606
|
-
return target;
|
|
9607
|
-
};
|
|
9608
|
-
return _extends$1.apply(this, arguments);
|
|
9609
|
-
}
|
|
9610
|
-
function _unsupported_iterable_to_array$1(o, minLen) {
|
|
9611
|
-
if (!o) return;
|
|
9612
|
-
if (typeof o === "string") return _array_like_to_array$1(o, minLen);
|
|
9613
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9614
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9615
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9616
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
|
|
9617
|
-
}
|
|
9618
9484
|
function _create_for_of_iterator_helper_loose$1(o, allowArrayLike) {
|
|
9619
9485
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
9620
9486
|
if (it) return (it = it.call(o)).next.bind(it);
|
|
@@ -9622,18 +9488,26 @@ function _create_for_of_iterator_helper_loose$1(o, allowArrayLike) {
|
|
|
9622
9488
|
if (it) o = it;
|
|
9623
9489
|
var i = 0;
|
|
9624
9490
|
return function() {
|
|
9625
|
-
if (i >= o.length) {
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
};
|
|
9629
|
-
}
|
|
9491
|
+
if (i >= o.length) return {
|
|
9492
|
+
done: true
|
|
9493
|
+
};
|
|
9630
9494
|
return {
|
|
9631
9495
|
done: false,
|
|
9632
9496
|
value: o[i++]
|
|
9633
9497
|
};
|
|
9634
9498
|
};
|
|
9635
9499
|
}
|
|
9636
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance
|
|
9500
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
9501
|
+
}
|
|
9502
|
+
function _extends$1() {
|
|
9503
|
+
_extends$1 = Object.assign || function assign(target) {
|
|
9504
|
+
for(var i = 1; i < arguments.length; i++){
|
|
9505
|
+
var source = arguments[i];
|
|
9506
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
9507
|
+
}
|
|
9508
|
+
return target;
|
|
9509
|
+
};
|
|
9510
|
+
return _extends$1.apply(this, arguments);
|
|
9637
9511
|
}
|
|
9638
9512
|
function _ts_generator$1(thisArg, body) {
|
|
9639
9513
|
var f, y, t, _ = {
|
|
@@ -9644,9 +9518,17 @@ function _ts_generator$1(thisArg, body) {
|
|
|
9644
9518
|
},
|
|
9645
9519
|
trys: [],
|
|
9646
9520
|
ops: []
|
|
9647
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
9648
|
-
return
|
|
9649
|
-
|
|
9521
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
9522
|
+
return d(g, "next", {
|
|
9523
|
+
value: verb(0)
|
|
9524
|
+
}), d(g, "throw", {
|
|
9525
|
+
value: verb(1)
|
|
9526
|
+
}), d(g, "return", {
|
|
9527
|
+
value: verb(2)
|
|
9528
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
9529
|
+
value: function() {
|
|
9530
|
+
return this;
|
|
9531
|
+
}
|
|
9650
9532
|
}), g;
|
|
9651
9533
|
function verb(n) {
|
|
9652
9534
|
return function(v) {
|
|
@@ -9726,6 +9608,14 @@ function _ts_generator$1(thisArg, body) {
|
|
|
9726
9608
|
};
|
|
9727
9609
|
}
|
|
9728
9610
|
}
|
|
9611
|
+
function _unsupported_iterable_to_array$1(o, minLen) {
|
|
9612
|
+
if (!o) return;
|
|
9613
|
+
if (typeof o === "string") return _array_like_to_array$1(o, minLen);
|
|
9614
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
9615
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
9616
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
9617
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
|
|
9618
|
+
}
|
|
9729
9619
|
// 需要权限的控件
|
|
9730
9620
|
var AUTH_KEY = [
|
|
9731
9621
|
'ptz',
|
|
@@ -9764,7 +9654,7 @@ function _renderControls(theme, $container, btnList, props) {
|
|
|
9764
9654
|
// eslint-disable-next-line @typescript-eslint/dot-notation, new-cap, @typescript-eslint/no-unsafe-argument
|
|
9765
9655
|
theme.controls["deviceControl"] = new Controls["device"](_extends$1({
|
|
9766
9656
|
rootContainer: theme.$container,
|
|
9767
|
-
getPopupContainer: function() {
|
|
9657
|
+
getPopupContainer: function getPopupContainer() {
|
|
9768
9658
|
return $container;
|
|
9769
9659
|
},
|
|
9770
9660
|
recType: theme.recType,
|
|
@@ -9787,7 +9677,7 @@ function _renderControls(theme, $container, btnList, props) {
|
|
|
9787
9677
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
9788
9678
|
theme.controls["" + item.iconId + "Control"] = new Controls[item.iconId](_extends$1({
|
|
9789
9679
|
rootContainer: theme.$container,
|
|
9790
|
-
getPopupContainer: function() {
|
|
9680
|
+
getPopupContainer: function getPopupContainer() {
|
|
9791
9681
|
return $container;
|
|
9792
9682
|
},
|
|
9793
9683
|
language: theme.options.language || "zh",
|
|
@@ -9814,7 +9704,7 @@ function _renderControls(theme, $container, btnList, props) {
|
|
|
9814
9704
|
}
|
|
9815
9705
|
function _renderTheme(theme, data) {
|
|
9816
9706
|
return _async_to_generator$1(function() {
|
|
9817
|
-
var _theme_posterControl, _filterThemeData_header, _filterThemeData_footer, _theme_urlInfo, _theme_playbackRange, _theme_playbackRange1, _theme_options_mobileExtendOptions_controls, _theme_options_mobileExtendOptions, themeData, filterThemeData, props, _$_filterLeftRightControls, leftBtns, rightBtns, _theme_controls, _theme_controls1, _$_filterLeftRightControls1, leftBtns1, rightBtns1,
|
|
9707
|
+
var _ref, _theme_posterControl, _filterThemeData_header, _filterThemeData_footer, _theme_urlInfo, _theme_playbackRange, _theme_playbackRange1, _theme_options_mobileExtendOptions_controls, _theme_options_mobileExtendOptions, themeData, filterThemeData, props, _$_filterLeftRightControls, leftBtns, rightBtns, _theme_controls, _theme_controls1, _$_filterLeftRightControls1, leftBtns1, rightBtns1, list, _needTimeLine, _hasPlaybackRange, _needDatePicker, hasPtz, _theme_options_mobileExtendOptions1, _theme_options_mobileExtendOptions2, _theme_options_mobileExtendOptions3, _theme_options_mobileExtendOptions4, _theme_controls2, _theme_options_mobileExtendOptions5, _theme_options_mobileExtendOptions_controls1, _theme_options_mobileExtendOptions6, _ref1, _filterThemeData_header1, _filterThemeData_footer1, _theme_options;
|
|
9818
9708
|
return _ts_generator$1(this, function(_state) {
|
|
9819
9709
|
switch(_state.label){
|
|
9820
9710
|
case 0:
|
|
@@ -9840,7 +9730,7 @@ function _renderTheme(theme, data) {
|
|
|
9840
9730
|
language: theme.options.language,
|
|
9841
9731
|
locales: theme.i18n.translations
|
|
9842
9732
|
}, theme.options.loadingOptions || {}, {
|
|
9843
|
-
getPopupContainer: function() {
|
|
9733
|
+
getPopupContainer: function getPopupContainer() {
|
|
9844
9734
|
return theme.$container;
|
|
9845
9735
|
}
|
|
9846
9736
|
}));
|
|
@@ -9850,7 +9740,7 @@ function _renderTheme(theme, data) {
|
|
|
9850
9740
|
language: theme.options.language,
|
|
9851
9741
|
locales: theme.i18n.translations
|
|
9852
9742
|
}, theme.options.pauseOptions || {}, {
|
|
9853
|
-
getPopupContainer: function() {
|
|
9743
|
+
getPopupContainer: function getPopupContainer() {
|
|
9854
9744
|
return theme.contentControl.$wrapper;
|
|
9855
9745
|
}
|
|
9856
9746
|
}));
|
|
@@ -9862,14 +9752,14 @@ function _renderTheme(theme, data) {
|
|
|
9862
9752
|
theme.messageControl = new Message(_extends$1({
|
|
9863
9753
|
rootContainer: theme.$container
|
|
9864
9754
|
}, theme.options.messageOptions || {}, {
|
|
9865
|
-
getPopupContainer: function() {
|
|
9755
|
+
getPopupContainer: function getPopupContainer() {
|
|
9866
9756
|
return theme.contentControl.$wrapper;
|
|
9867
9757
|
}
|
|
9868
9758
|
}));
|
|
9869
9759
|
}
|
|
9870
9760
|
if (theme.options.posterOptions !== null) {
|
|
9871
9761
|
theme.posterControl = new Poster(_extends$1({}, theme.options.posterOptions || {}, {
|
|
9872
|
-
getPopupContainer: function() {
|
|
9762
|
+
getPopupContainer: function getPopupContainer() {
|
|
9873
9763
|
return theme.contentControl.$video;
|
|
9874
9764
|
}
|
|
9875
9765
|
}));
|
|
@@ -9899,7 +9789,7 @@ function _renderTheme(theme, data) {
|
|
|
9899
9789
|
}
|
|
9900
9790
|
if (filterThemeData.header) {
|
|
9901
9791
|
theme._header = new Header({
|
|
9902
|
-
getPopupContainer: function() {
|
|
9792
|
+
getPopupContainer: function getPopupContainer() {
|
|
9903
9793
|
return theme.$container;
|
|
9904
9794
|
},
|
|
9905
9795
|
color: filterThemeData.header.color,
|
|
@@ -9914,7 +9804,7 @@ function _renderTheme(theme, data) {
|
|
|
9914
9804
|
if (filterThemeData.footer) {
|
|
9915
9805
|
// prettier-ignore
|
|
9916
9806
|
theme._footer = new Footer({
|
|
9917
|
-
getPopupContainer: function() {
|
|
9807
|
+
getPopupContainer: function getPopupContainer() {
|
|
9918
9808
|
return theme.$container;
|
|
9919
9809
|
},
|
|
9920
9810
|
color: filterThemeData.footer.color,
|
|
@@ -9960,7 +9850,7 @@ function _renderTheme(theme, data) {
|
|
|
9960
9850
|
_renderControls(theme, theme._footer.$left, leftBtns1, props);
|
|
9961
9851
|
_renderControls(theme, theme._footer.$right, rightBtns1, props);
|
|
9962
9852
|
}
|
|
9963
|
-
list = [].concat(((_filterThemeData_header = filterThemeData.header) == null ? void 0 : _filterThemeData_header.btnList) || [], (
|
|
9853
|
+
list = [].concat(((_filterThemeData_header = filterThemeData.header) == null ? void 0 : _filterThemeData_header.btnList) || [], (_ref = (_filterThemeData_footer = filterThemeData.footer) == null ? void 0 : _filterThemeData_footer.btnList) != null ? _ref : []);
|
|
9964
9854
|
// FIXME: 这个逻辑实际上是有问题的
|
|
9965
9855
|
_needTimeLine = list.some(function(item) {
|
|
9966
9856
|
return REC_GROUP.includes(item.iconId) || item.iconId === 'recDropdown';
|
|
@@ -10007,7 +9897,7 @@ function _renderTheme(theme, data) {
|
|
|
10007
9897
|
}
|
|
10008
9898
|
// 回放类型切换正常渲染,用户点击后由 SDK 层在 recDropdownChange 事件中自行处理
|
|
10009
9899
|
if (theme.options.recOptions !== null && ((_theme_options_mobileExtendOptions4 = theme.options.mobileExtendOptions) == null ? void 0 : _theme_options_mobileExtendOptions4.controls.includes('rec')) && _needTimeLine) {
|
|
10010
|
-
[].concat(((_filterThemeData_header1 = filterThemeData.header) == null ? void 0 : _filterThemeData_header1.btnList) || [], (
|
|
9900
|
+
[].concat(((_filterThemeData_header1 = filterThemeData.header) == null ? void 0 : _filterThemeData_header1.btnList) || [], (_ref1 = (_filterThemeData_footer1 = filterThemeData.footer) == null ? void 0 : _filterThemeData_footer1.btnList) != null ? _ref1 : []).forEach(function(item) {
|
|
10011
9901
|
var _theme__mobileExtend;
|
|
10012
9902
|
if (REC_GROUP.includes(item.iconId)) _renderRecType(theme, (_theme__mobileExtend = theme._mobileExtend) == null ? void 0 : _theme__mobileExtend.$topRight, item.iconId, props);
|
|
10013
9903
|
});
|
|
@@ -10017,7 +9907,7 @@ function _renderTheme(theme, data) {
|
|
|
10017
9907
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
10018
9908
|
theme.controls['alarmMessageControl'] = new Controls['alarmMessage'](_extends$1({
|
|
10019
9909
|
rootContainer: theme.$container,
|
|
10020
|
-
getPopupContainer: function() {
|
|
9910
|
+
getPopupContainer: function getPopupContainer() {
|
|
10021
9911
|
var _theme__mobileExtend;
|
|
10022
9912
|
return (_theme__mobileExtend = theme._mobileExtend) == null ? void 0 : _theme__mobileExtend.$topRight;
|
|
10023
9913
|
},
|
|
@@ -10051,33 +9941,33 @@ function _renderTheme(theme, data) {
|
|
|
10051
9941
|
});
|
|
10052
9942
|
})();
|
|
10053
9943
|
}
|
|
10054
|
-
var _renderTimeLine = function(theme, container, props) {
|
|
9944
|
+
var _renderTimeLine = function _renderTimeLine(theme, container, props) {
|
|
10055
9945
|
if (props === void 0) props = {};
|
|
10056
9946
|
if (!theme.controls.timeLineControl && theme.options.timeLineOptions !== null) {
|
|
9947
|
+
var _ref;
|
|
10057
9948
|
var _theme_urlInfo, _theme_urlInfo1, _theme_options, _theme_options1, _this, _theme_options2;
|
|
10058
|
-
var _showSectionIcon;
|
|
10059
9949
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
10060
9950
|
theme.controls.timeLineControl = new Controls['timeLine'](_extends$1({
|
|
10061
|
-
getPopupContainer: function() {
|
|
9951
|
+
getPopupContainer: function getPopupContainer() {
|
|
10062
9952
|
return container;
|
|
10063
9953
|
},
|
|
10064
9954
|
language: theme.options.language,
|
|
10065
9955
|
locales: theme.i18n.translations,
|
|
10066
9956
|
coverQuery: ((_theme_urlInfo = theme.urlInfo) == null ? void 0 : _theme_urlInfo.validateCode) ? "decodekey=" + ((_theme_urlInfo1 = theme.urlInfo) == null ? void 0 : _theme_urlInfo1.validateCode) : ''
|
|
10067
9957
|
}, ((_theme_options = theme.options) == null ? void 0 : _theme_options["timeLineOptions"]) || {}, {
|
|
10068
|
-
showSectionIcon: ((_theme_options1 = theme.options) == null ? void 0 : _theme_options1["recListOptions"]) !== null ? (
|
|
9958
|
+
showSectionIcon: ((_theme_options1 = theme.options) == null ? void 0 : _theme_options1["recListOptions"]) !== null ? (_ref = (_this = ((_theme_options2 = theme.options) == null ? void 0 : _theme_options2["timeLineOptions"]) || {}) == null ? void 0 : _this.showSectionIcon) != null ? _ref : true : true,
|
|
10069
9959
|
props: props
|
|
10070
9960
|
}));
|
|
10071
9961
|
}
|
|
10072
9962
|
};
|
|
10073
|
-
var _renderSegmentProgress = function(theme, container, props) {
|
|
9963
|
+
var _renderSegmentProgress = function _renderSegmentProgress(theme, container, props) {
|
|
10074
9964
|
if (props === void 0) props = {};
|
|
10075
9965
|
if (!theme.controls.segmentProgressControl && theme.options.segmentProgressOptions !== null) {
|
|
10076
9966
|
var _theme_options;
|
|
10077
9967
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
10078
9968
|
theme.controls.segmentProgressControl = new Controls['segmentProgress'](_extends$1({
|
|
10079
9969
|
rootContainer: theme.$container,
|
|
10080
|
-
getPopupContainer: function() {
|
|
9970
|
+
getPopupContainer: function getPopupContainer() {
|
|
10081
9971
|
return container;
|
|
10082
9972
|
},
|
|
10083
9973
|
language: theme.options.language,
|
|
@@ -10087,13 +9977,13 @@ var _renderSegmentProgress = function(theme, container, props) {
|
|
|
10087
9977
|
}));
|
|
10088
9978
|
}
|
|
10089
9979
|
};
|
|
10090
|
-
var _renderDatePicker = function(theme, container, props) {
|
|
9980
|
+
var _renderDatePicker = function _renderDatePicker(theme, container, props) {
|
|
10091
9981
|
if (props === void 0) props = {};
|
|
10092
9982
|
if (!theme.controls.dateControl && theme.options.dateOptions !== null) {
|
|
10093
9983
|
var _theme_options;
|
|
10094
9984
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
10095
9985
|
theme.controls.dateControl = new Controls['date'](_extends$1({
|
|
10096
|
-
getPopupContainer: function() {
|
|
9986
|
+
getPopupContainer: function getPopupContainer() {
|
|
10097
9987
|
return container;
|
|
10098
9988
|
},
|
|
10099
9989
|
language: theme.options.language,
|
|
@@ -10103,13 +9993,13 @@ var _renderDatePicker = function(theme, container, props) {
|
|
|
10103
9993
|
}));
|
|
10104
9994
|
}
|
|
10105
9995
|
};
|
|
10106
|
-
var _renderTimePicker = function(theme, container, props) {
|
|
9996
|
+
var _renderTimePicker = function _renderTimePicker(theme, container, props) {
|
|
10107
9997
|
if (props === void 0) props = {};
|
|
10108
9998
|
if (!theme.controls.timeControl && theme.options.timeOptions !== null) {
|
|
10109
9999
|
var _theme_options;
|
|
10110
10000
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
10111
10001
|
theme.controls.timeControl = new Controls['time'](_extends$1({
|
|
10112
|
-
getPopupContainer: function() {
|
|
10002
|
+
getPopupContainer: function getPopupContainer() {
|
|
10113
10003
|
return container;
|
|
10114
10004
|
},
|
|
10115
10005
|
language: theme.options.language,
|
|
@@ -10119,14 +10009,14 @@ var _renderTimePicker = function(theme, container, props) {
|
|
|
10119
10009
|
}));
|
|
10120
10010
|
}
|
|
10121
10011
|
};
|
|
10122
|
-
var _renderRecType = function(theme, container, recType, props) {
|
|
10012
|
+
var _renderRecType = function _renderRecType(theme, container, recType, props) {
|
|
10123
10013
|
if (props === void 0) props = {};
|
|
10124
10014
|
var _theme_controls, _theme_controls1, _theme_controls2;
|
|
10125
10015
|
if (!((_theme_controls = theme.controls) == null ? void 0 : _theme_controls['recControl']) && theme.options.recOptions !== null && container) {
|
|
10126
10016
|
var _theme_options;
|
|
10127
10017
|
// eslint-disable-next-line @typescript-eslint/dot-notation, new-cap, @typescript-eslint/no-unsafe-argument
|
|
10128
10018
|
theme.controls['recControl'] = new Controls['rec'](_extends$1({
|
|
10129
|
-
getPopupContainer: function() {
|
|
10019
|
+
getPopupContainer: function getPopupContainer() {
|
|
10130
10020
|
return container;
|
|
10131
10021
|
},
|
|
10132
10022
|
recType: theme.recType,
|
|
@@ -10230,7 +10120,7 @@ var _renderRecType = function(theme, container, recType, props) {
|
|
|
10230
10120
|
return width - leftWidth - rightWidth > offset;
|
|
10231
10121
|
}
|
|
10232
10122
|
|
|
10233
|
-
|
|
10123
|
+
function _array_like_to_array(arr, len) {
|
|
10234
10124
|
if (len == null || len > arr.length) len = arr.length;
|
|
10235
10125
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
10236
10126
|
return arr2;
|
|
@@ -10243,11 +10133,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
10243
10133
|
reject(error);
|
|
10244
10134
|
return;
|
|
10245
10135
|
}
|
|
10246
|
-
if (info.done)
|
|
10247
|
-
|
|
10248
|
-
} else {
|
|
10249
|
-
Promise.resolve(value).then(_next, _throw);
|
|
10250
|
-
}
|
|
10136
|
+
if (info.done) resolve(value);
|
|
10137
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
10251
10138
|
}
|
|
10252
10139
|
function _async_to_generator(fn) {
|
|
10253
10140
|
return function() {
|
|
@@ -10277,15 +10164,29 @@ function _create_class(Constructor, protoProps, staticProps) {
|
|
|
10277
10164
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
10278
10165
|
return Constructor;
|
|
10279
10166
|
}
|
|
10167
|
+
function _create_for_of_iterator_helper_loose(o, allowArrayLike) {
|
|
10168
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
10169
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
10170
|
+
if (Array.isArray(o) || (it = _unsupported_iterable_to_array(o)) || allowArrayLike) {
|
|
10171
|
+
if (it) o = it;
|
|
10172
|
+
var i = 0;
|
|
10173
|
+
return function() {
|
|
10174
|
+
if (i >= o.length) return {
|
|
10175
|
+
done: true
|
|
10176
|
+
};
|
|
10177
|
+
return {
|
|
10178
|
+
done: false,
|
|
10179
|
+
value: o[i++]
|
|
10180
|
+
};
|
|
10181
|
+
};
|
|
10182
|
+
}
|
|
10183
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10184
|
+
}
|
|
10280
10185
|
function _extends() {
|
|
10281
|
-
_extends = Object.assign || function(target) {
|
|
10186
|
+
_extends = Object.assign || function assign(target) {
|
|
10282
10187
|
for(var i = 1; i < arguments.length; i++){
|
|
10283
10188
|
var source = arguments[i];
|
|
10284
|
-
for(var key in source)
|
|
10285
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
10286
|
-
target[key] = source[key];
|
|
10287
|
-
}
|
|
10288
|
-
}
|
|
10189
|
+
for(var key in source)if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
|
|
10289
10190
|
}
|
|
10290
10191
|
return target;
|
|
10291
10192
|
};
|
|
@@ -10311,34 +10212,6 @@ function _set_prototype_of(o, p) {
|
|
|
10311
10212
|
};
|
|
10312
10213
|
return _set_prototype_of(o, p);
|
|
10313
10214
|
}
|
|
10314
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
10315
|
-
if (!o) return;
|
|
10316
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
10317
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10318
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10319
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10320
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
10321
|
-
}
|
|
10322
|
-
function _create_for_of_iterator_helper_loose(o, allowArrayLike) {
|
|
10323
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
10324
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
10325
|
-
if (Array.isArray(o) || (it = _unsupported_iterable_to_array(o)) || allowArrayLike) {
|
|
10326
|
-
if (it) o = it;
|
|
10327
|
-
var i = 0;
|
|
10328
|
-
return function() {
|
|
10329
|
-
if (i >= o.length) {
|
|
10330
|
-
return {
|
|
10331
|
-
done: true
|
|
10332
|
-
};
|
|
10333
|
-
}
|
|
10334
|
-
return {
|
|
10335
|
-
done: false,
|
|
10336
|
-
value: o[i++]
|
|
10337
|
-
};
|
|
10338
|
-
};
|
|
10339
|
-
}
|
|
10340
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10341
|
-
}
|
|
10342
10215
|
function _ts_generator(thisArg, body) {
|
|
10343
10216
|
var f, y, t, _ = {
|
|
10344
10217
|
label: 0,
|
|
@@ -10348,9 +10221,17 @@ function _ts_generator(thisArg, body) {
|
|
|
10348
10221
|
},
|
|
10349
10222
|
trys: [],
|
|
10350
10223
|
ops: []
|
|
10351
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
10352
|
-
return
|
|
10353
|
-
|
|
10224
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
10225
|
+
return d(g, "next", {
|
|
10226
|
+
value: verb(0)
|
|
10227
|
+
}), d(g, "throw", {
|
|
10228
|
+
value: verb(1)
|
|
10229
|
+
}), d(g, "return", {
|
|
10230
|
+
value: verb(2)
|
|
10231
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
10232
|
+
value: function() {
|
|
10233
|
+
return this;
|
|
10234
|
+
}
|
|
10354
10235
|
}), g;
|
|
10355
10236
|
function verb(n) {
|
|
10356
10237
|
return function(v) {
|
|
@@ -10430,6 +10311,14 @@ function _ts_generator(thisArg, body) {
|
|
|
10430
10311
|
};
|
|
10431
10312
|
}
|
|
10432
10313
|
}
|
|
10314
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
10315
|
+
if (!o) return;
|
|
10316
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
10317
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
10318
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
10319
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10320
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
10321
|
+
}
|
|
10433
10322
|
var THEME_DEFAULT_OPTIONS = {
|
|
10434
10323
|
dblClickFullscreen: true,
|
|
10435
10324
|
language: 'zh',
|
|
@@ -10483,6 +10372,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10483
10372
|
_inherits(Theme, EventEmitter);
|
|
10484
10373
|
function Theme(options) {
|
|
10485
10374
|
var _this;
|
|
10375
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
10486
10376
|
var _this_options_volumeOptions, _this_options_volumeOptions1, _this_options_speedOptions, _this_urlInfo_searchParams, _this_urlInfo, _this_options, _this_options1;
|
|
10487
10377
|
_this = EventEmitter.call(this) || this, /** 播放器配置项 */ _this.options = THEME_DEFAULT_OPTIONS, _this.staticPath = '', /** 所有控件列表, 所有控件名称规则(`${iconId}Control`), 如音量控件 this.controls["volumeControl"] @since 0.0.1 */ _this.controls = {}, /**
|
|
10488
10378
|
* @since 0.0.1
|
|
@@ -10548,7 +10438,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10548
10438
|
_this._initClassName();
|
|
10549
10439
|
// 画布需要渲染在 this.contentControl.$content 内
|
|
10550
10440
|
_this.contentControl = new Content({
|
|
10551
|
-
getContainer: function() {
|
|
10441
|
+
getContainer: function getContainer() {
|
|
10552
10442
|
return _this.$container;
|
|
10553
10443
|
},
|
|
10554
10444
|
scaleMode: _this.scaleMode
|
|
@@ -10558,18 +10448,15 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10558
10448
|
});
|
|
10559
10449
|
// zoom utils
|
|
10560
10450
|
__zoom(_this, _this.contentControl.$content, _extends({}, _this.options.zoomOptions || {}, {
|
|
10561
|
-
onTap: function() {
|
|
10451
|
+
onTap: function onTap() {
|
|
10562
10452
|
var _this__interactiveResult_setTimeoutShow, _this__interactiveResult;
|
|
10563
10453
|
(_this__interactiveResult = _this._interactiveResult) == null ? void 0 : (_this__interactiveResult_setTimeoutShow = _this__interactiveResult.setTimeoutShow) == null ? void 0 : _this__interactiveResult_setTimeoutShow.call(_this__interactiveResult);
|
|
10564
10454
|
}
|
|
10565
10455
|
}));
|
|
10566
|
-
|
|
10567
|
-
_this.
|
|
10568
|
-
var _this_options_volumeOptions_muted, _ref1;
|
|
10569
|
-
_this._muted = (_ref1 = (_this_options_volumeOptions_muted = (_this_options_volumeOptions1 = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions1.muted) != null ? _this_options_volumeOptions_muted : _this.options.muted) != null ? _ref1 : false;
|
|
10570
|
-
var _this_options_speedOptions_value, _ref2;
|
|
10456
|
+
_this._volume = (_ref = (_ref1 = (_this_options_volumeOptions = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions.volume) != null ? _ref1 : _this.options.volume) != null ? _ref : 0.8;
|
|
10457
|
+
_this._muted = (_ref2 = (_ref3 = (_this_options_volumeOptions1 = _this.options.volumeOptions) == null ? void 0 : _this_options_volumeOptions1.muted) != null ? _ref3 : _this.options.muted) != null ? _ref2 : false;
|
|
10571
10458
|
// playbackSpeed 是 萤石标准流倍速字段
|
|
10572
|
-
_this._speed = +((
|
|
10459
|
+
_this._speed = +((_ref4 = (_ref5 = (_this_options_speedOptions = _this.options.speedOptions) == null ? void 0 : _this_options_speedOptions.value) != null ? _ref5 : (_this_urlInfo = _this.urlInfo) == null ? void 0 : (_this_urlInfo_searchParams = _this_urlInfo.searchParams) == null ? void 0 : _this_urlInfo_searchParams.playbackSpeed) != null ? _ref4 : 1);
|
|
10573
10460
|
_this._mobileInnerWidthHeight = _this._mobileInnerWidthHeight.bind(_this);
|
|
10574
10461
|
_this._throttleMobileInnerWidthHeight = throttle(_this._mobileInnerWidthHeight, 20).bind(_this);
|
|
10575
10462
|
_this._onDblClickFullscreen = debounce(_this._onDblClickFullscreen, 20).bind(_this);
|
|
@@ -10597,9 +10484,9 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10597
10484
|
// flv / mp4:支持自定义 themeData,未传时回退到标准直播模板 LiveTemplate(2026-01-19 起支持自定义)
|
|
10598
10485
|
initialThemeData = themeData !== undefined ? themeData : LiveTemplate;
|
|
10599
10486
|
} else {
|
|
10600
|
-
var
|
|
10487
|
+
var _ref6;
|
|
10601
10488
|
// 其余类型(如 ezopen 私有流):template 优先级高于 themeData,二者都未设置时为 null
|
|
10602
|
-
initialThemeData = (
|
|
10489
|
+
initialThemeData = (_ref6 = template != null ? template : themeData) != null ? _ref6 : null;
|
|
10603
10490
|
}
|
|
10604
10491
|
_this._renderTheme(initialThemeData);
|
|
10605
10492
|
_this._addEventListener();
|
|
@@ -10950,7 +10837,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10950
10837
|
this._fullscreen = new Fullscreen$1(this.$container, {
|
|
10951
10838
|
prefix: PREFIX_CLASS,
|
|
10952
10839
|
// 全屏变化
|
|
10953
|
-
onChange: function(info) {
|
|
10840
|
+
onChange: function onChange(info) {
|
|
10954
10841
|
if (info.isCurrentFullscreen) {
|
|
10955
10842
|
_this.emit(EVENTS.fullscreen);
|
|
10956
10843
|
} else if (_this._isCurrentFullscreen) {
|
|
@@ -10968,7 +10855,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10968
10855
|
}
|
|
10969
10856
|
});
|
|
10970
10857
|
// ------------------------------ 旋转方向 -----------------------------
|
|
10971
|
-
var rotateOrientation = function(orientation) {
|
|
10858
|
+
var rotateOrientation = function rotateOrientation(orientation) {
|
|
10972
10859
|
if (_this.$container) {
|
|
10973
10860
|
var // 重置移除旋转角度
|
|
10974
10861
|
_this_$container_classList;
|
|
@@ -11091,7 +10978,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11091
10978
|
language: this.options.language,
|
|
11092
10979
|
locales: this.i18n.translations,
|
|
11093
10980
|
rootContainer: this.$container,
|
|
11094
|
-
getPopupContainer: function() {
|
|
10981
|
+
getPopupContainer: function getPopupContainer() {
|
|
11095
10982
|
var _this__header;
|
|
11096
10983
|
return (_this__header = _this._header) == null ? void 0 : _this__header.$right;
|
|
11097
10984
|
},
|
|
@@ -11103,7 +10990,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11103
10990
|
8
|
|
11104
10991
|
],
|
|
11105
10992
|
wrapClassName: "" + PREFIX_CLASS + "-header-more",
|
|
11106
|
-
onOpenChange: function(open) {
|
|
10993
|
+
onOpenChange: function onOpenChange(open) {
|
|
11107
10994
|
_this.emit(EVENTS.control.headerMorePanelOpenChange, open);
|
|
11108
10995
|
}
|
|
11109
10996
|
});
|
|
@@ -11146,7 +11033,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11146
11033
|
language: this.options.language,
|
|
11147
11034
|
locales: this.i18n.translations,
|
|
11148
11035
|
rootContainer: this.$container,
|
|
11149
|
-
getPopupContainer: function() {
|
|
11036
|
+
getPopupContainer: function getPopupContainer() {
|
|
11150
11037
|
var _this__footer;
|
|
11151
11038
|
return (_this__footer = _this._footer) == null ? void 0 : _this__footer.$right;
|
|
11152
11039
|
},
|
|
@@ -11158,7 +11045,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11158
11045
|
-8
|
|
11159
11046
|
],
|
|
11160
11047
|
wrapClassName: "" + PREFIX_CLASS + "-footer-more",
|
|
11161
|
-
onOpenChange: function(open) {
|
|
11048
|
+
onOpenChange: function onOpenChange(open) {
|
|
11162
11049
|
_this.emit(EVENTS.control.footerMorePanelOpenChange, open);
|
|
11163
11050
|
}
|
|
11164
11051
|
});
|
|
@@ -11677,6 +11564,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11677
11564
|
* theme.on(Theme.EVENTS.zoomChange, (zoom: number) => {})
|
|
11678
11565
|
* ```
|
|
11679
11566
|
*/ function set(zoom) {
|
|
11567
|
+
var _ref;
|
|
11680
11568
|
var _this_options_zoomOptions;
|
|
11681
11569
|
if (!this._zooming) {
|
|
11682
11570
|
var _this_messageControl_info, _this_messageControl, _this_logger;
|
|
@@ -11685,8 +11573,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11685
11573
|
return;
|
|
11686
11574
|
}
|
|
11687
11575
|
zoom = +zoom.toFixed(1);
|
|
11688
|
-
var
|
|
11689
|
-
var ZOOM_MAX = (_this_options_zoomOptions_max = (_this_options_zoomOptions = this.options.zoomOptions) == null ? void 0 : _this_options_zoomOptions.max) != null ? _this_options_zoomOptions_max : ZOOM_DEFAULT_OPTIONS.max;
|
|
11576
|
+
var ZOOM_MAX = (_ref = (_this_options_zoomOptions = this.options.zoomOptions) == null ? void 0 : _this_options_zoomOptions.max) != null ? _ref : ZOOM_DEFAULT_OPTIONS.max;
|
|
11690
11577
|
if (zoom > ZOOM_MAX) {
|
|
11691
11578
|
var _this_messageControl_info1, _this_messageControl1, _this_logger1;
|
|
11692
11579
|
(_this_messageControl1 = this.messageControl) == null ? void 0 : (_this_messageControl_info1 = _this_messageControl1.info) == null ? void 0 : _this_messageControl_info1.call(_this_messageControl1, this.i18n.t('ZOOM_LIMIT_MAX', {
|
|
@@ -11890,7 +11777,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11890
11777
|
zh: zh,
|
|
11891
11778
|
en: en
|
|
11892
11779
|
};
|
|
11893
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.4-beta.
|
|
11780
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.4-beta.2';
|
|
11894
11781
|
|
|
11895
11782
|
exports.Control = Control;
|
|
11896
11783
|
exports.EVENTS = EVENTS;
|