@dao42/d42paas-front 0.3.5 → 0.3.9

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.
Files changed (91) hide show
  1. package/dist/1569.js +1 -1
  2. package/dist/1585.js +1 -1
  3. package/dist/1593.js +1 -1
  4. package/dist/1594.js +1 -1
  5. package/dist/162.js +1 -1
  6. package/dist/1649.js +1 -1
  7. package/dist/1742.js +1 -1
  8. package/dist/1941.js +1 -1
  9. package/dist/2014.js +1 -1
  10. package/dist/2088.js +1 -1
  11. package/dist/2235.js +3 -3
  12. package/dist/2271.js +1 -1
  13. package/dist/2287.js +3 -3
  14. package/dist/2388.js +1 -1
  15. package/dist/2583.js +1 -1
  16. package/dist/2862.js +1 -1
  17. package/dist/2906.js +1 -1
  18. package/dist/300.js +1 -1
  19. package/dist/3008.js +1 -1
  20. package/dist/317.js +1 -1
  21. package/dist/3315.js +1 -1
  22. package/dist/3399.js +1 -1
  23. package/dist/3504.js +1 -1
  24. package/dist/3553.js +2 -2
  25. package/dist/3673.js +1 -1
  26. package/dist/3780.js +1 -1
  27. package/dist/3855.js +1 -1
  28. package/dist/4035.js +1 -1
  29. package/dist/4073.js +1 -1
  30. package/dist/4246.js +1 -1
  31. package/dist/4366.js +1 -1
  32. package/dist/4369.js +1 -1
  33. package/dist/4454.js +1 -1
  34. package/dist/4511.js +2 -2
  35. package/dist/4558.js +1 -1
  36. package/dist/4610.js +1 -1
  37. package/dist/471.js +1 -1
  38. package/dist/4858.js +1 -1
  39. package/dist/4896.js +1 -1
  40. package/dist/491.js +1 -1
  41. package/dist/5257.js +1 -1
  42. package/dist/5454.js +1 -1
  43. package/dist/5524.js +1 -1
  44. package/dist/5669.js +2 -2
  45. package/dist/5881.js +1 -1
  46. package/dist/5900.js +2 -2
  47. package/dist/5924.js +1 -1
  48. package/dist/5925.js +1 -1
  49. package/dist/5972.js +1 -1
  50. package/dist/5974.js +1 -1
  51. package/dist/6022.js +2 -2
  52. package/dist/615.js +1 -1
  53. package/dist/6162.js +1 -1
  54. package/dist/6175.js +1 -1
  55. package/dist/622.js +1 -1
  56. package/dist/6223.js +1 -1
  57. package/dist/6330.js +1 -1
  58. package/dist/6331.js +1 -1
  59. package/dist/6354.js +2 -2
  60. package/dist/6751.js +2 -2
  61. package/dist/6792.js +1 -1
  62. package/dist/6844.js +1 -1
  63. package/dist/7125.js +1 -1
  64. package/dist/7127.js +1 -1
  65. package/dist/7135.js +2 -2
  66. package/dist/7148.js +1 -1
  67. package/dist/7447.js +1 -1
  68. package/dist/7453.js +2 -2
  69. package/dist/7483.js +1 -1
  70. package/dist/7546.js +1 -1
  71. package/dist/7604.js +1 -1
  72. package/dist/7971.js +1 -1
  73. package/dist/8147.js +1 -1
  74. package/dist/8308.js +1 -1
  75. package/dist/8309.js +1 -1
  76. package/dist/8327.js +1 -1
  77. package/dist/849.js +1 -1
  78. package/dist/8677.js +1 -1
  79. package/dist/868.js +1 -1
  80. package/dist/8947.js +1 -1
  81. package/dist/930.js +1 -1
  82. package/dist/9342.js +2 -2
  83. package/dist/9482.js +1 -1
  84. package/dist/9538.js +1 -1
  85. package/dist/9741.js +2 -2
  86. package/dist/9909.js +1 -1
  87. package/dist/9953.js +2 -2
  88. package/dist/daoPaaS.js +4 -4
  89. package/dist/index.html +16 -16
  90. package/package.json +160 -160
  91. package/dist/index.d.ts +0 -31
package/dist/index.html CHANGED
@@ -1,17 +1,17 @@
1
- <!doctype html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>DaoPaaS</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.14.0/devicon.min.css" crossorigin="anonymous"/><script defer="defer" src="7546.js"></script><script defer="defer" src="daoPaaS.js"></script></head><body><main><div class="edit-container"></div></main><script>window.onload = () => {
2
- var qs = new URLSearchParams(document.location.search.substring(1));
3
- window.daopaas = new DaoPaaS({
4
- ticket: qs.get('ticket'),
5
- playgroundId: qs.get('playgroundId'),
6
- userId: qs.get('userId'),
7
- tenantId: qs.get('tenantId'),
8
- username: qs.get('username')
9
- });
10
- daopaas.Page({
11
- container: document.querySelector('main'),
12
- // props: {
13
- // playgroundId: search,
14
- // }
15
- }
16
- )
1
+ <!doctype html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>DaoPaaS</title><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.14.0/devicon.min.css" crossorigin="anonymous"/><script defer="defer" src="7546.js"></script><script defer="defer" src="daoPaaS.js"></script></head><body><main><div class="edit-container"></div></main><script>window.onload = () => {
2
+ var qs = new URLSearchParams(document.location.search.substring(1));
3
+ window.daopaas = new DaoPaaS({
4
+ ticket: qs.get('ticket'),
5
+ playgroundId: qs.get('playgroundId'),
6
+ userId: qs.get('userId'),
7
+ tenantId: qs.get('tenantId'),
8
+ username: qs.get('username')
9
+ });
10
+ daopaas.Page({
11
+ container: document.querySelector('main'),
12
+ // props: {
13
+ // playgroundId: search,
14
+ // }
15
+ }
16
+ )
17
17
  }</script></body></html>
package/package.json CHANGED
@@ -1,160 +1,160 @@
1
- {
2
- "name": "@dao42/d42paas-front",
3
- "version": "0.3.5",
4
- "description": "> TODO: description",
5
- "author": "eric183 <kk297466058@gmail.com>",
6
- "homepage": "https://github.com/dao42/d42paas_frontend#readme",
7
- "license": "ISC",
8
- "main": "dist/daoPaaS.js",
9
- "types": "dist/index.d.ts",
10
- "directories": {
11
- "lib": "lib"
12
- },
13
- "scripts": {
14
- "prebuild": "rimraf dist",
15
- "dev": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
16
- "analyse": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.json\" webpack --config ./config/webpack.analytics.config.ts",
17
- "start:web": "cross-env NODE_ENV=production ts-node ../../scripts/tasks/build.ts",
18
- "storybook": "start-storybook -p 6006",
19
- "build-storybook": "build-storybook -o .storybook/dist"
20
- },
21
- "dependencies": {
22
- "@dao42/d42paas_rtc": "^0.1.5"
23
- },
24
- "devDependencies": {
25
- "@types/fs-extra": "^9.0.13",
26
- "fs-extra": "^10.0.0",
27
- "@babel/core": "^7.9",
28
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
29
- "@babel/plugin-transform-runtime": "^7.15.0",
30
- "@babel/preset-env": "^7.15.4",
31
- "@babel/preset-react": "^7.14.5",
32
- "@babel/preset-typescript": "^7.15.0",
33
- "@babel/runtime": "^7.15.4",
34
- "@emotion/babel-plugin": "^11.3.0",
35
- "@emotion/babel-preset-css-prop": "^11.2.0",
36
- "@emotion/core": "^11.0.0",
37
- "@emotion/css": "^11.1.3",
38
- "@emotion/eslint-plugin": "^11.2.0",
39
- "@emotion/react": "^11.4.1",
40
- "@emotion/styled": "^11.3.0",
41
- "@fullhuman/postcss-purgecss": "^4.0.3",
42
- "@loadable/component": "^5.15.0",
43
- "@react-spring/types": "^9.2.4",
44
- "@storybook/addon-actions": "^6.3.12",
45
- "@storybook/addon-essentials": "^6.3.12",
46
- "@storybook/addon-links": "^6.3.12",
47
- "@storybook/addon-postcss": "^2.0.0",
48
- "@storybook/manager-webpack5": "^6.3.12",
49
- "@storybook/react": "^6.3.12",
50
- "@types/css-minimizer-webpack-plugin": "^3.0.2",
51
- "@types/dotenv-webpack": "^7.0.3",
52
- "@types/happypack": "^5.0.2",
53
- "@types/ip": "^1.1.0",
54
- "@types/jest": "^27.0.2",
55
- "@types/lodash": "^4.14.175",
56
- "@types/mini-css-extract-plugin": "^2.4.0",
57
- "@types/ot": "^0.0.5",
58
- "@types/react": "^17.0.24",
59
- "@types/react-dom": "^17.0.9",
60
- "@types/tailwindcss": "^2.2.1",
61
- "@types/uuid": "^8.3.1",
62
- "@types/webpack": "^5.28.0",
63
- "@types/webpack-dev-server": "^4.3.1",
64
- "@typescript-eslint/eslint-plugin": "^4.28.2",
65
- "@typescript-eslint/parser": "^4.28.2",
66
- "autoprefixer": "^10.3.4",
67
- "axios": "^0.21.4",
68
- "babel-core": "^6.26.3",
69
- "babel-loader": "^8.2.2",
70
- "concurrently": "^6.3.0",
71
- "css-loader": "^6.4.0",
72
- "css-minimizer-webpack-plugin": "^3.1.4",
73
- "cssnano": "^5.0.11",
74
- "dotenv": "^10.0.0",
75
- "dotenv-webpack": "^7.0.3",
76
- "esbuild-loader": "^2.16.0",
77
- "eslint": "^7.2.0",
78
- "eslint-config-airbnb": "18.2.1",
79
- "eslint-config-next": "11.1.0",
80
- "eslint-config-prettier": "^8.3.0",
81
- "eslint-import-resolver-typescript": "^2.4.0",
82
- "eslint-plugin-import": "^2.24.2",
83
- "eslint-plugin-jsx-a11y": "^6.4.1",
84
- "eslint-plugin-prettier": "^3.4.0",
85
- "eslint-plugin-react": "^7.21.5",
86
- "eslint-plugin-react-hooks": "^4.2.1-alpha-95d762e40-20210908",
87
- "file-loader": "^6.2.0",
88
- "glob-all": "^3.2.1",
89
- "happypack": "^5.0.1",
90
- "html-webpack-plugin": "^5.3.2",
91
- "idb": "^6.1.5",
92
- "ip": "^1.1.5",
93
- "jest": "27.0.6",
94
- "lodash": "^4.17.21",
95
- "lottie-web": "^5.7.14",
96
- "mini-css-extract-plugin": "^2.4.5",
97
- "monaco-editor": "^0.31.0",
98
- "monaco-editor-core": "^0.31.0",
99
- "monaco-editor-webpack-plugin": "^4.1.2",
100
- "normalize-url": "^7.0.2",
101
- "ot": "^0.0.15",
102
- "postcss": "^8.3.6",
103
- "postcss-import": "^14.0.2",
104
- "postcss-loader": "^6.1.1",
105
- "postcss-nested": "^5.0.6",
106
- "postcss-nesting": "^10.0.2",
107
- "postcss-scss": "^4.0.0",
108
- "prettier": "^2.3.2",
109
- "react": "^17.0.2",
110
- "react-complex-tree": "^1.1.2",
111
- "react-dnd": "^14.0.4",
112
- "react-dnd-html5-backend": "^14.0.2",
113
- "react-dom": "^17.0.2",
114
- "react-loading-skeleton": "^3.0.1",
115
- "react-router-dom": "^5.3.0",
116
- "react-split-pane": "^0.1.92",
117
- "react-spring": "^9.2.4",
118
- "reconnecting-websocket": "^4.4.0",
119
- "reflect-metadata": "^0.1.13",
120
- "rimraf": "^3.0.2",
121
- "rsuite": "^5.0.0",
122
- "rxjs": "^7.2.0",
123
- "sass": "^1.43.2",
124
- "sass-loader": "^12.2.0",
125
- "socket.io": "^4.2.0",
126
- "socket.io-client": "^4.2.0",
127
- "source-map-loader": "^3.0.0",
128
- "speed-measure-webpack-plugin": "^1.5.0",
129
- "style-loader": "^3.3.0",
130
- "stylis": "^4.0.10",
131
- "tailwindcss": "^2.2.9",
132
- "terser-webpack-plugin": "^5.2.5",
133
- "three": "^0.132.2",
134
- "ts-jest": "^27.0.3",
135
- "ts-loader": "^9.2.5",
136
- "ts-node": "^10.0.0",
137
- "tsconfig-paths-webpack-plugin": "^3.5.1",
138
- "uuid": "^8.3.2",
139
- "webpack": "^5.52.0",
140
- "webpack-bundle-analyzer": "^4.5.0",
141
- "webpack-cli": "^4.9.1",
142
- "webpack-dashboard": "^3.3.6",
143
- "webpack-dev-server": "^4.1.0",
144
- "xterm": "^4.13.0",
145
- "xterm-addon-attach": "^0.6.0",
146
- "xterm-addon-fit": "^0.5.0",
147
- "zustand": "^3.5.10"
148
- },
149
- "files": [
150
- "dist"
151
- ],
152
- "repository": {
153
- "type": "git",
154
- "url": "git+https://github.com/dao42/d42paas_frontend.git"
155
- },
156
- "bugs": {
157
- "url": "https://github.com/dao42/d42paas_frontend/issues"
158
- },
159
- "gitHead": "492b228acbf6f7bc309984755a8dd948ea6fb0e2"
160
- }
1
+ {
2
+ "name": "@dao42/d42paas-front",
3
+ "version": "0.3.9",
4
+ "description": "> TODO: description",
5
+ "author": "eric183 <kk297466058@gmail.com>",
6
+ "homepage": "https://github.com/dao42/d42paas_frontend#readme",
7
+ "license": "ISC",
8
+ "main": "dist/daoPaaS.js",
9
+ "types": "dist/index.d.ts",
10
+ "directories": {
11
+ "lib": "lib"
12
+ },
13
+ "scripts": {
14
+ "prebuild": "rimraf dist",
15
+ "dev": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
16
+ "analyse": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.json\" webpack --config ./config/webpack.analytics.config.ts",
17
+ "start:web": "cross-env NODE_ENV=production ts-node ../../scripts/tasks/build.ts",
18
+ "storybook": "start-storybook -p 6006",
19
+ "build-storybook": "build-storybook -o .storybook/dist"
20
+ },
21
+ "dependencies": {
22
+ "@dao42/d42paas_rtc": "^0.1.5"
23
+ },
24
+ "devDependencies": {
25
+ "@types/fs-extra": "^9.0.13",
26
+ "fs-extra": "^10.0.0",
27
+ "@babel/core": "^7.9",
28
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
29
+ "@babel/plugin-transform-runtime": "^7.15.0",
30
+ "@babel/preset-env": "^7.15.4",
31
+ "@babel/preset-react": "^7.14.5",
32
+ "@babel/preset-typescript": "^7.15.0",
33
+ "@babel/runtime": "^7.15.4",
34
+ "@emotion/babel-plugin": "^11.3.0",
35
+ "@emotion/babel-preset-css-prop": "^11.2.0",
36
+ "@emotion/core": "^11.0.0",
37
+ "@emotion/css": "^11.1.3",
38
+ "@emotion/eslint-plugin": "^11.2.0",
39
+ "@emotion/react": "^11.4.1",
40
+ "@emotion/styled": "^11.3.0",
41
+ "@fullhuman/postcss-purgecss": "^4.0.3",
42
+ "@loadable/component": "^5.15.0",
43
+ "@react-spring/types": "^9.2.4",
44
+ "@storybook/addon-actions": "^6.3.12",
45
+ "@storybook/addon-essentials": "^6.3.12",
46
+ "@storybook/addon-links": "^6.3.12",
47
+ "@storybook/addon-postcss": "^2.0.0",
48
+ "@storybook/manager-webpack5": "^6.3.12",
49
+ "@storybook/react": "^6.3.12",
50
+ "@types/css-minimizer-webpack-plugin": "^3.0.2",
51
+ "@types/dotenv-webpack": "^7.0.3",
52
+ "@types/happypack": "^5.0.2",
53
+ "@types/ip": "^1.1.0",
54
+ "@types/jest": "^27.0.2",
55
+ "@types/lodash": "^4.14.175",
56
+ "@types/mini-css-extract-plugin": "^2.4.0",
57
+ "@types/ot": "^0.0.5",
58
+ "@types/react": "^17.0.24",
59
+ "@types/react-dom": "^17.0.9",
60
+ "@types/tailwindcss": "^2.2.1",
61
+ "@types/uuid": "^8.3.1",
62
+ "@types/webpack": "^5.28.0",
63
+ "@types/webpack-dev-server": "^4.3.1",
64
+ "@typescript-eslint/eslint-plugin": "^4.28.2",
65
+ "@typescript-eslint/parser": "^4.28.2",
66
+ "autoprefixer": "^10.3.4",
67
+ "axios": "^0.21.4",
68
+ "babel-core": "^6.26.3",
69
+ "babel-loader": "^8.2.2",
70
+ "concurrently": "^6.3.0",
71
+ "css-loader": "^6.4.0",
72
+ "css-minimizer-webpack-plugin": "^3.1.4",
73
+ "cssnano": "^5.0.11",
74
+ "dotenv": "^10.0.0",
75
+ "dotenv-webpack": "^7.0.3",
76
+ "esbuild-loader": "^2.16.0",
77
+ "eslint": "^7.2.0",
78
+ "eslint-config-airbnb": "18.2.1",
79
+ "eslint-config-next": "11.1.0",
80
+ "eslint-config-prettier": "^8.3.0",
81
+ "eslint-import-resolver-typescript": "^2.4.0",
82
+ "eslint-plugin-import": "^2.24.2",
83
+ "eslint-plugin-jsx-a11y": "^6.4.1",
84
+ "eslint-plugin-prettier": "^3.4.0",
85
+ "eslint-plugin-react": "^7.21.5",
86
+ "eslint-plugin-react-hooks": "^4.2.1-alpha-95d762e40-20210908",
87
+ "file-loader": "^6.2.0",
88
+ "glob-all": "^3.2.1",
89
+ "happypack": "^5.0.1",
90
+ "html-webpack-plugin": "^5.3.2",
91
+ "idb": "^6.1.5",
92
+ "ip": "^1.1.5",
93
+ "jest": "27.0.6",
94
+ "lodash": "^4.17.21",
95
+ "lottie-web": "^5.7.14",
96
+ "mini-css-extract-plugin": "^2.4.5",
97
+ "monaco-editor": "^0.31.0",
98
+ "monaco-editor-core": "^0.31.0",
99
+ "monaco-editor-webpack-plugin": "^4.1.2",
100
+ "normalize-url": "^7.0.2",
101
+ "ot": "^0.0.15",
102
+ "postcss": "^8.3.6",
103
+ "postcss-import": "^14.0.2",
104
+ "postcss-loader": "^6.1.1",
105
+ "postcss-nested": "^5.0.6",
106
+ "postcss-nesting": "^10.0.2",
107
+ "postcss-scss": "^4.0.0",
108
+ "prettier": "^2.3.2",
109
+ "react": "^17.0.2",
110
+ "react-complex-tree": "^1.1.2",
111
+ "react-dnd": "^14.0.4",
112
+ "react-dnd-html5-backend": "^14.0.2",
113
+ "react-dom": "^17.0.2",
114
+ "react-loading-skeleton": "^3.0.1",
115
+ "react-router-dom": "^5.3.0",
116
+ "react-split-pane": "^0.1.92",
117
+ "react-spring": "^9.2.4",
118
+ "reconnecting-websocket": "^4.4.0",
119
+ "reflect-metadata": "^0.1.13",
120
+ "rimraf": "^3.0.2",
121
+ "rsuite": "^5.0.0",
122
+ "rxjs": "^7.2.0",
123
+ "sass": "^1.43.2",
124
+ "sass-loader": "^12.2.0",
125
+ "socket.io": "^4.2.0",
126
+ "socket.io-client": "^4.2.0",
127
+ "source-map-loader": "^3.0.0",
128
+ "speed-measure-webpack-plugin": "^1.5.0",
129
+ "style-loader": "^3.3.0",
130
+ "stylis": "^4.0.10",
131
+ "tailwindcss": "^2.2.9",
132
+ "terser-webpack-plugin": "^5.2.5",
133
+ "three": "^0.132.2",
134
+ "ts-jest": "^27.0.3",
135
+ "ts-loader": "^9.2.5",
136
+ "ts-node": "^10.0.0",
137
+ "tsconfig-paths-webpack-plugin": "^3.5.1",
138
+ "uuid": "^8.3.2",
139
+ "webpack": "^5.52.0",
140
+ "webpack-bundle-analyzer": "^4.5.0",
141
+ "webpack-cli": "^4.9.1",
142
+ "webpack-dashboard": "^3.3.6",
143
+ "webpack-dev-server": "^4.1.0",
144
+ "xterm": "^4.13.0",
145
+ "xterm-addon-attach": "^0.6.0",
146
+ "xterm-addon-fit": "^0.5.0",
147
+ "zustand": "^3.5.10"
148
+ },
149
+ "files": [
150
+ "dist"
151
+ ],
152
+ "repository": {
153
+ "type": "git",
154
+ "url": "git+https://github.com/dao42/d42paas_frontend.git"
155
+ },
156
+ "bugs": {
157
+ "url": "https://github.com/dao42/d42paas_frontend/issues"
158
+ },
159
+ "gitHead": "492b228acbf6f7bc309984755a8dd948ea6fb0e2"
160
+ }
package/dist/index.d.ts DELETED
@@ -1,31 +0,0 @@
1
- // export = DaoPaaS;
2
- // export as namespace DaoPaaS;
3
-
4
- interface TConstructor {
5
- ticket: string;
6
- playgroundId: string;
7
- userId: string;
8
- tenantId: string;
9
- username?: string;
10
- avatar?: string;
11
- avatarUrl?: string;
12
- }
13
-
14
- type TReplay = 'stop' | 'disabled' | 'pause';
15
-
16
- interface TComponentArgs {
17
- container: string | HTMLElement | Element;
18
- props?: any;
19
- }
20
-
21
- export class DaoPaaS {
22
- constructor(args: TConstructor): void;
23
- replay(args: TReplay): void;
24
- record(arg: boolean): void;
25
- switchLspServer(arg: boolean): void;
26
-
27
- /* Components */
28
- Editor(args: TComponentArgs): void;
29
- Page(args: TComponentArgs): void;
30
- Tree(args: TComponentArgs): void;
31
- }