@dao42/d42paas-front 0.7.17 → 0.7.21

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/dev.html DELETED
@@ -1,34 +0,0 @@
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.bootcdn.net/ajax/libs/devicon/2.14.0/devicon.min.css" crossorigin="anonymous" />
9
- </head>
10
- <body>
11
- <main>
12
- <div class="edit-container"></div>
13
- </main>
14
- <script>
15
- window.onload = () => {
16
- var qs = new URLSearchParams(document.location.search.substring(1));
17
- window.daopaas = new DaoPaaS({
18
- ticket: qs.get('ticket'),
19
- playgroundId: qs.get('playgroundId'),
20
- userId: qs.get('userId'),
21
- tenantId: qs.get('tenantId'),
22
- username: qs.get('username')
23
- });
24
- daopaas.Page({
25
- container: document.querySelector('main'),
26
- // props: {
27
- // playgroundId: search,
28
- // }
29
- }
30
- )
31
- }
32
- </script>
33
- </body>
34
- </html>
package/dist/index.html DELETED
@@ -1,60 +0,0 @@
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.bootcdn.net/ajax/libs/devicon/2.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
- var qs = new URLSearchParams(document.location.search.substring(1));
34
- const env = qs.get('env');
35
- const ticket = qs.get('ticket');
36
- const playgroundId = qs.get('playgroundId');
37
-
38
- window.daopaas = new DaoPaaS.DaoPaaS({
39
- ticket,
40
- playgroundId,
41
- userId: qs.get('userId'),
42
- tenantId: qs.get('tenantId'),
43
- username: qs.get('username'),
44
- env: env ? env : 'develop',
45
- serviceWorkerOrigin: 'https://develop.1024paas.com',
46
- // playgroundId: qs.get('playgroundId'),
47
- // playgroundId: qs.get('playgroundId'),
48
- // tenantId: qs.get('tenantId'),
49
- });
50
- daopaas.Page({
51
- container: document.querySelector('.edit-container'),
52
- // props: {
53
- // playgroundId: search,
54
- // }
55
- }
56
- )
57
- }
58
- </script>
59
- </body>
60
- </html>
@@ -1,35 +0,0 @@
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.bootcdn.net/ajax/libs/devicon/2.14.0/devicon.min.css" crossorigin="anonymous" />
9
-
10
- </head>
11
- <body>
12
- <main></main>
13
- <script>
14
- window.onload = () => {
15
- var qs = new URLSearchParams(document.location.search.substring(1));
16
- // console.log(DaoPaaS);
17
- var daopaas = new DaoPaaS({
18
- ticket: qs.get('ticket'),
19
- playgroundId: qs.get('playgroundId'),
20
- userId: qs.get('userId'),
21
- tenantId: qs.get('tenantId'),
22
- username: qs.get('username')
23
- });
24
- daopaas.Page({
25
- container: document.querySelector('main'),
26
- // props: {
27
- // playgroundId: search,
28
- // }
29
- }
30
- )
31
- }
32
-
33
- </script>
34
- </body>
35
- </html>
package/dist/tsdoc.html DELETED
@@ -1,59 +0,0 @@
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
- const env = qs.get('env')
36
- window.daopaas = new DaoPaaS.DaoPaaS({
37
- ticket: 'MXwzNDUwMTU4NjU4MDYyOTA5NDR8MXx8MTczNzg5MjAwMDAwMA==',
38
- playgroundId: '345015865806290944',
39
- userId: qs.get('userId'),
40
- tenantId: '1',
41
- username: qs.get('username'),
42
- mode: 'tsdoc',
43
- });
44
-
45
- fetch('./editor.d.ts').then((response)=> response.text()).then((d)=> {
46
- daopaas.Editor({
47
- container: document.querySelector('.edit-container'),
48
- props: {
49
- doc: {
50
- type: 'typescript',
51
- value: d
52
- }
53
- }}
54
- )
55
- })
56
- }
57
- </script>
58
- </body>
59
- </html>