@dao42/d42paas-front 0.5.13 → 0.5.18
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/DaoPaaS.es.js +65 -65
- package/dist/DaoPaaS.umd.js +480 -480
- package/dist/assets/css.worker.5157db2f.js +62 -0
- package/dist/assets/{css.worker.3f6f852c.js → css.worker.fcb4bd78.js} +18 -18
- package/dist/assets/editor.worker.43309ac9.js +4 -0
- package/dist/assets/editor.worker.d0372abe.js +4 -0
- package/dist/assets/html.worker.3f2697f1.js +452 -0
- package/dist/assets/{html.worker.912a815c.js → html.worker.446a9d97.js} +42 -42
- package/dist/assets/json.worker.4dd01dd8.js +35 -0
- package/dist/assets/json.worker.66c12891.js +35 -0
- package/dist/assets/{ts.worker.6bdd1133.js → ts.worker.bb4527d0.js} +104 -104
- package/dist/assets/ts.worker.d75e32f4.js +35320 -0
- package/dist/dev.html +35 -0
- package/dist/index.html +52 -0
- package/dist/sdkserver.html +36 -0
- package/package.json +2 -2
- package/dist/assets/editor.worker.4f81245c.js +0 -4
- package/dist/assets/json.worker.ee1e3ae5.js +0 -35
package/dist/dev.html
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>DaoPaaS</title>
|
|
8
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.14.0/devicon.min.css" crossorigin="anonymous" />
|
|
9
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<main>
|
|
13
|
+
<div class="edit-container"></div>
|
|
14
|
+
</main>
|
|
15
|
+
<script>
|
|
16
|
+
window.onload = () => {
|
|
17
|
+
var qs = new URLSearchParams(document.location.search.substring(1));
|
|
18
|
+
window.daopaas = new DaoPaaS({
|
|
19
|
+
ticket: qs.get('ticket'),
|
|
20
|
+
playgroundId: qs.get('playgroundId'),
|
|
21
|
+
userId: qs.get('userId'),
|
|
22
|
+
tenantId: qs.get('tenantId'),
|
|
23
|
+
username: qs.get('username')
|
|
24
|
+
});
|
|
25
|
+
daopaas.Page({
|
|
26
|
+
container: document.querySelector('main'),
|
|
27
|
+
// props: {
|
|
28
|
+
// playgroundId: search,
|
|
29
|
+
// }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
}
|
|
33
|
+
</script>
|
|
34
|
+
</body>
|
|
35
|
+
</html>
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>DaoPaaS</title>
|
|
8
|
+
<style>
|
|
9
|
+
main {
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 100vh;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
}
|
|
14
|
+
.edit-container {
|
|
15
|
+
height: 100%;
|
|
16
|
+
}
|
|
17
|
+
</style>
|
|
18
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.14.0/devicon.min.css" crossorigin="anonymous" />
|
|
19
|
+
<!-- <script src="https://cdn.tailwindcss.com"></script> -->
|
|
20
|
+
<link rel="stylesheet" href="./style.css" crossorigin="anonymous" />
|
|
21
|
+
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
<main>
|
|
25
|
+
<div class="edit-container"></div>
|
|
26
|
+
</main>
|
|
27
|
+
<!-- <script src="/dist/daoPaaS.js"></script> -->
|
|
28
|
+
<script type="module" src="./DaoPaaS.umd.js"></script>
|
|
29
|
+
|
|
30
|
+
<script>
|
|
31
|
+
window.onload = () => {
|
|
32
|
+
window.daopaas = DaoPaaS;
|
|
33
|
+
|
|
34
|
+
var qs = new URLSearchParams(document.location.search.substring(1));
|
|
35
|
+
window.daopaas = new DaoPaaS({
|
|
36
|
+
ticket: qs.get('ticket'),
|
|
37
|
+
playgroundId: qs.get('playgroundId'),
|
|
38
|
+
userId: qs.get('userId'),
|
|
39
|
+
tenantId: qs.get('tenantId'),
|
|
40
|
+
username: qs.get('username')
|
|
41
|
+
});
|
|
42
|
+
daopaas.Page({
|
|
43
|
+
container: document.querySelector('.edit-container'),
|
|
44
|
+
// props: {
|
|
45
|
+
// playgroundId: search,
|
|
46
|
+
// }
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
51
|
+
</body>
|
|
52
|
+
</html>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>DaoPaaS</title>
|
|
8
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.14.0/devicon.min.css" crossorigin="anonymous" />
|
|
9
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
10
|
+
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<main></main>
|
|
14
|
+
<script>
|
|
15
|
+
window.onload = () => {
|
|
16
|
+
var qs = new URLSearchParams(document.location.search.substring(1));
|
|
17
|
+
// console.log(DaoPaaS);
|
|
18
|
+
var daopaas = new DaoPaaS({
|
|
19
|
+
ticket: qs.get('ticket'),
|
|
20
|
+
playgroundId: qs.get('playgroundId'),
|
|
21
|
+
userId: qs.get('userId'),
|
|
22
|
+
tenantId: qs.get('tenantId'),
|
|
23
|
+
username: qs.get('username')
|
|
24
|
+
});
|
|
25
|
+
daopaas.Page({
|
|
26
|
+
container: document.querySelector('main'),
|
|
27
|
+
// props: {
|
|
28
|
+
// playgroundId: search,
|
|
29
|
+
// }
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
</script>
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dao42/d42paas-front",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.18",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "eric183 <kk297466058@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/dao42/d42paas_frontend#readme",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dev:disble": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
|
|
32
32
|
"analyse": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.json\" webpack --config ./config/webpack.analytics.config.js",
|
|
33
33
|
"dev": "vite serve --host --config ./config/vite.config.ts",
|
|
34
|
-
"vite": "vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",
|
|
34
|
+
"vite": "NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",
|
|
35
35
|
"dev:save": "NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts",
|
|
36
36
|
"vite:save": "NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",
|
|
37
37
|
"fix": "eslint --fix --ext .jsx src/**",
|