efront 4.14.0 → 4.14.3
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/#/345/233/275/351/231/205/345/214/226.yml +31 -1
- package/coms/basic/cross_.js +12 -6
- package/coms/basic/data.js +3 -1
- package/coms/compile//347/264/240/351/246/250.js +17 -3
- package/coms/compile//347/264/240/351/246/250_test.js +1 -0
- package/coms/kugou/dance.js +4 -3
- package/coms/kugou/musicList.js +2 -1
- package/coms/kugou/playList.less +0 -2
- package/coms/kugou/player.html +10 -13
- package/coms/kugou/player.js +28 -2
- package/coms/kugou/player.less +128 -84
- package/coms/reptile/window.js +24 -52
- package/coms/zimoli/moveupon.js +1 -0
- package/coms/zimoli/popup.js +5 -1
- package/coms/zimoli/selectDate.js +1 -1
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/reptile/window.js
CHANGED
|
@@ -7,59 +7,31 @@ else {
|
|
|
7
7
|
var Window = function () {
|
|
8
8
|
};
|
|
9
9
|
var window = new Window;
|
|
10
|
-
|
|
11
|
-
Date,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Proxy,
|
|
35
|
-
WeakMap,
|
|
36
|
-
Reflect,
|
|
37
|
-
console,
|
|
38
|
-
Math,
|
|
39
|
-
JSON,
|
|
40
|
-
NaN,
|
|
41
|
-
Infinity,
|
|
42
|
-
isNaN,
|
|
43
|
-
isFinite,
|
|
44
|
-
parseInt,
|
|
45
|
-
parseFloat,
|
|
46
|
-
decodeURI,
|
|
47
|
-
encodeURI,
|
|
48
|
-
decodeURIComponent,
|
|
49
|
-
encodeURIComponent,
|
|
50
|
-
document: global1.document,
|
|
51
|
-
navigator: global1.navigator,
|
|
52
|
-
process: global1.process,
|
|
53
|
-
BigInt64Array: global1.BigInt64Array,
|
|
54
|
-
Buffer: global1.Buffer,
|
|
55
|
-
Intl: global1.Intl,
|
|
56
|
-
BigInt: global1.BigInt,
|
|
57
|
-
Symbol: global1.Symbol,
|
|
58
|
-
SharedArrayBuffer: global1.SharedArrayBuffer,
|
|
59
|
-
escape: global1.escape,
|
|
60
|
-
unescape: global1.unescape,
|
|
10
|
+
[
|
|
11
|
+
'Date', 'Promise', 'Function',
|
|
12
|
+
'RegExp', 'Object', 'String',
|
|
13
|
+
'Array', 'Number', 'Boolean',
|
|
14
|
+
'Error', 'TypeError', 'Uint8Array',
|
|
15
|
+
'Uint16Array', 'Uint32Array', 'Uint8ClampedArray',
|
|
16
|
+
'ArrayBuffer', 'Int8Array', 'Int16Array',
|
|
17
|
+
'Int32Array', 'Float32Array', 'Float64Array',
|
|
18
|
+
'Map', 'Set', 'Proxy',
|
|
19
|
+
'WeakMap', 'Reflect', 'console',
|
|
20
|
+
'Math', 'JSON', 'NaN',
|
|
21
|
+
'Infinity', 'isNaN', 'isFinite',
|
|
22
|
+
'parseInt', 'parseFloat', 'decodeURI',
|
|
23
|
+
'encodeURI', 'decodeURIComponent', 'encodeURIComponent',
|
|
24
|
+
'document', 'navigator', 'process',
|
|
25
|
+
'BigInt64Array', 'Buffer', 'Intl',
|
|
26
|
+
'BigInt', 'Symbol', 'SharedArrayBuffer',
|
|
27
|
+
'escape', 'unescape', 'clearImmediate',
|
|
28
|
+
'setImmediate', 'clearInterval', 'clearTimeout',
|
|
29
|
+
'setInterval', 'setTimeout', 'queueMicrotask',
|
|
30
|
+
'structuredClone', 'atob', 'btoa',
|
|
31
|
+
'performance', 'fetch', 'crypto'
|
|
32
|
+
].forEach(k => {
|
|
33
|
+
if (k in global1) window[k] = global1[k];
|
|
61
34
|
});
|
|
62
35
|
window.globalThis = window.global = window.top = window.window = window;
|
|
63
|
-
extendIfNeeded(window, global1);
|
|
64
36
|
module.exports = window;
|
|
65
37
|
}
|
package/coms/zimoli/moveupon.js
CHANGED
|
@@ -63,6 +63,7 @@ function moveupon(target, { start, move, end }, initialEvent) {
|
|
|
63
63
|
var cancel = function (event) {
|
|
64
64
|
if (event.touches && event.touches.length) return;
|
|
65
65
|
if (event.touches) extendTouchEvent(event);
|
|
66
|
+
if (onclick.preventClick) event.preventDefault();
|
|
66
67
|
removeAllListeners();
|
|
67
68
|
if (isFunction(offmouseup)) offmouseup();
|
|
68
69
|
if (isFunction(offtouchcancel)) offtouchcancel();
|
package/coms/zimoli/popup.js
CHANGED
|
@@ -169,6 +169,11 @@ var popup_with_mask = function (element, mask) {
|
|
|
169
169
|
var isypop = function (target) {
|
|
170
170
|
if (!target) return false;
|
|
171
171
|
var { offsetParent, nextSibling, previousSibling } = target;
|
|
172
|
+
if (
|
|
173
|
+
target.offsetWidth >= (innerWidth >> 1) &&
|
|
174
|
+
target.offsetHeight < (innerHeight >> 1) ||
|
|
175
|
+
offsetParent.offsetWidth >= (innerWidth >> 1) &&
|
|
176
|
+
offsetParent.offsetHeight < (innerHeight >> 1)) return true;
|
|
172
177
|
if (
|
|
173
178
|
nextSibling
|
|
174
179
|
&& (
|
|
@@ -183,7 +188,6 @@ var isypop = function (target) {
|
|
|
183
188
|
) return true;
|
|
184
189
|
var padding = offsetParent ? parseFloat(getComputedStyle(offsetParent).paddingTop) + parseFloat(getComputedStyle(offsetParent).paddingBottom) : 0;
|
|
185
190
|
if (offsetParent && target.offsetTop / target.offsetHeight < .2 && (offsetParent.clientWidth - padding) / target.offsetWidth > 1.5) return true;
|
|
186
|
-
|
|
187
191
|
};
|
|
188
192
|
var isxpop = arriswise(isypop, arguments);
|
|
189
193
|
var popup_as_extra = function (element, target, style) {
|
|
@@ -162,7 +162,7 @@ var fixcent = function (count) {
|
|
|
162
162
|
* @param {Date} date
|
|
163
163
|
*/
|
|
164
164
|
var buildYear = function (date) {
|
|
165
|
-
var year = ((+date.年() + 10) / 20
|
|
165
|
+
var year = ((+date.年() + 10) / 20 | 0) * 20,
|
|
166
166
|
src = m2n(year + 10, year - 10),
|
|
167
167
|
last_src = [year - 12, year - 11],
|
|
168
168
|
next_src = [year + 10, year + 11],
|