efront 4.29.0 → 4.29.1
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/coms/{frame → pivot}/login.xht +1 -1
- package/coms/zimoli/contextmenu.js +8 -0
- package/coms/zimoli/on.js +16 -6
- package/coms/zimoli/zimoli.js +3 -3
- package/package.json +2 -2
- package/public/efront.js +1 -1
- package/public//346/226/207/344/273/266/347/263/273/347/273/237//344/270/273/351/241/265.jsp +45 -0
- package/apps//346/226/207/344/273/266/347/263/273/347/273/237/main.js +0 -55
- package/apps//346/226/207/344/273/266/347/263/273/347/273/237//344/270/273/351/241/265.jsp +0 -42
- package/apps//346/226/207/344/273/266/347/263/273/347/273/237//350/265/204/346/272/220/347/256/241/347/220/206/345/231/250.js +0 -1
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
user.loginPath = "frame$login";
|
|
2
|
-
cross.addReform(relogin(user.loginPath));
|
|
3
|
-
data.setConfig(`
|
|
4
|
-
/ authorization=:
|
|
5
|
-
folder: options ::file-:opt:::path?:to
|
|
6
|
-
list: options :::type*:idkey
|
|
7
|
-
edit: options :::type-:key?:value
|
|
8
|
-
add: options :::type-:key+:value
|
|
9
|
-
patch: options :::type-:key*:value
|
|
10
|
-
upload: put :path
|
|
11
|
-
login: options ::login-:a
|
|
12
|
-
`);
|
|
13
|
-
zimoli.register('', "/资源管理器");
|
|
14
|
-
zimoli.switch("", null, '/');
|
|
15
|
-
zimoli();
|
|
16
|
-
var outbar = zimoli$progbar();
|
|
17
|
-
outbar.total = 100;
|
|
18
|
-
outbar.current = 0;
|
|
19
|
-
css(outbar, 'z-index:2;border-radius:14px;line-height:26px;outline-color:#fff;background:#d45;color:#fff;position:fixed;height:26px;bottom:20px;left:20px;min-width:26px');
|
|
20
|
-
appendChild(document.body, outbar);
|
|
21
|
-
var cancel = function () {
|
|
22
|
-
clearInterval(interval_id);
|
|
23
|
-
outbar.innerText = '';
|
|
24
|
-
css(outbar, 'width:26px');
|
|
25
|
-
outbar.innerText = '';
|
|
26
|
-
outbar.current = 0;
|
|
27
|
-
render.refresh(outbar);
|
|
28
|
-
};
|
|
29
|
-
var reached = function () {
|
|
30
|
-
outbar.current++;
|
|
31
|
-
render.refresh(outbar);
|
|
32
|
-
if (outbar.current < outbar.total) return;
|
|
33
|
-
data.setSource({});
|
|
34
|
-
zimoli.reload();
|
|
35
|
-
cancel();
|
|
36
|
-
};
|
|
37
|
-
moveupon(outbar, {
|
|
38
|
-
async start() {
|
|
39
|
-
var a = await data.getApi('login');
|
|
40
|
-
if (!data.getSource(a.base)) return;
|
|
41
|
-
css(outbar, 'width:100px');
|
|
42
|
-
outbar.current = 0;
|
|
43
|
-
interval_id = setInterval(reached, 12);
|
|
44
|
-
outbar.innerText = '长按登出';
|
|
45
|
-
},
|
|
46
|
-
move() {
|
|
47
|
-
if (!onclick.preventClick) return;
|
|
48
|
-
cancel();
|
|
49
|
-
},
|
|
50
|
-
end() {
|
|
51
|
-
cancel();
|
|
52
|
-
}
|
|
53
|
-
})
|
|
54
|
-
drag.on(outbar)
|
|
55
|
-
var interval_id = 0;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<!--
|
|
3
|
-
http://efront.cc
|
|
4
|
-
-->
|
|
5
|
-
<html lang="zh-CN">
|
|
6
|
-
|
|
7
|
-
<head>
|
|
8
|
-
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
|
9
|
-
<meta charset="utf-8" />
|
|
10
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
11
|
-
<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
|
|
12
|
-
<meta name="viewport" content="initial-scale=1,maximum-scale=1,width=device-width" />
|
|
13
|
-
<title>efront 文件管理器</title>
|
|
14
|
-
<script deleteoncompile efrontloader>
|
|
15
|
-
// 若要在开发环境使用内置组件,请保留此script标签中的代码,在编译发布时,这里的代码会自动删除
|
|
16
|
-
</script>
|
|
17
|
-
<style>
|
|
18
|
-
html {
|
|
19
|
-
height: 100%;
|
|
20
|
-
font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
*,
|
|
24
|
-
::before,
|
|
25
|
-
::after {
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
body {
|
|
30
|
-
border: none;
|
|
31
|
-
margin: 0;
|
|
32
|
-
padding: 0;
|
|
33
|
-
height: 100%;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
}
|
|
36
|
-
</style>
|
|
37
|
-
</head>
|
|
38
|
-
|
|
39
|
-
<body scroll=no main-path="/main">
|
|
40
|
-
</body>
|
|
41
|
-
|
|
42
|
-
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use ../pivot/wow/root.js"
|