@dao42/d42paas-front 0.5.27 → 0.5.28
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 +145 -66
- package/dist/DaoPaaS.umd.js +430 -430
- package/dist/editor.d.ts +17 -8
- package/package.json +4 -3
package/dist/editor.d.ts
CHANGED
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
* Copyright (c) dao42. All rights reserved.
|
|
3
3
|
* Type definitions for @dao42/d42paas-front
|
|
4
4
|
* Released under the MIT license
|
|
5
|
-
*-----------------------------------------------------------*/
|
|
5
|
+
*-----------------------------------------------------------*/
|
|
6
|
+
|
|
7
|
+
// import React from 'react';
|
|
8
|
+
|
|
6
9
|
/*---------------------------------------------------------------------------------------------
|
|
7
10
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
11
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
9
12
|
*--------------------------------------------------------------------------------------------*/
|
|
13
|
+
// type TStyle = HTMLAttributes<T>.style?: React.CSSProperties | undefined;
|
|
14
|
+
// type TStyle = React.CSSProperties | undefined;
|
|
15
|
+
// import * as CSS from 'csstype';
|
|
10
16
|
|
|
11
17
|
export type T_PlaygroundStatus = 'EMPTY' | 'ACTIVE' | 'INACTIVE';
|
|
12
18
|
export type TReplay = 'stop' | 'disabled' | 'pause';
|
|
@@ -63,7 +69,6 @@ interface TConstructor {
|
|
|
63
69
|
*
|
|
64
70
|
*/
|
|
65
71
|
avatarUrl?: string;
|
|
66
|
-
|
|
67
72
|
}
|
|
68
73
|
|
|
69
74
|
/**
|
|
@@ -74,7 +79,6 @@ interface TConstructor {
|
|
|
74
79
|
*/
|
|
75
80
|
|
|
76
81
|
interface TComponentArgs {
|
|
77
|
-
|
|
78
82
|
/**
|
|
79
83
|
*
|
|
80
84
|
* the DOM for the component.
|
|
@@ -108,7 +112,6 @@ export class DaoPaaS {
|
|
|
108
112
|
*/
|
|
109
113
|
record(arg: boolean): void;
|
|
110
114
|
|
|
111
|
-
|
|
112
115
|
/**
|
|
113
116
|
*
|
|
114
117
|
* Here you can switch language services by calling this method.
|
|
@@ -117,7 +120,6 @@ export class DaoPaaS {
|
|
|
117
120
|
*/
|
|
118
121
|
switchLspServer(arg: boolean): void;
|
|
119
122
|
|
|
120
|
-
|
|
121
123
|
/**
|
|
122
124
|
*
|
|
123
125
|
* Active the playground handler.
|
|
@@ -146,9 +148,17 @@ export class DaoPaaS {
|
|
|
146
148
|
*
|
|
147
149
|
* Editor component.
|
|
148
150
|
* @memberof DaoPaaS
|
|
149
|
-
*
|
|
151
|
+
* CSS.Properties<string | number>
|
|
150
152
|
*/
|
|
151
|
-
Editor(
|
|
153
|
+
Editor(
|
|
154
|
+
args:
|
|
155
|
+
| TComponentArgs
|
|
156
|
+
| {
|
|
157
|
+
containerStyle: any;
|
|
158
|
+
editorStyle: any;
|
|
159
|
+
menuStyle: any;
|
|
160
|
+
},
|
|
161
|
+
): void;
|
|
152
162
|
|
|
153
163
|
/**
|
|
154
164
|
*
|
|
@@ -189,5 +199,4 @@ export class DaoPaaS {
|
|
|
189
199
|
*
|
|
190
200
|
*/
|
|
191
201
|
Console(args: TComponentArgs): void;
|
|
192
|
-
|
|
193
202
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dao42/d42paas-front",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.28",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "eric183 <kk297466058@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/dao42/d42paas_frontend#readme",
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"patch": "npm version patch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@dao42/d42paas_rtc": "^0.1.8"
|
|
43
|
+
"@dao42/d42paas_rtc": "^0.1.8",
|
|
44
|
+
"typescript": "4.5"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@babel/core": "^7.9",
|
|
@@ -77,9 +78,9 @@
|
|
|
77
78
|
"@types/ot": "^0.0.5",
|
|
78
79
|
"@types/react": "^17.0.24",
|
|
79
80
|
"@types/react-dom": "^17.0.9",
|
|
80
|
-
"@types/webpack": "^5.28.0",
|
|
81
81
|
"@types/tailwindcss": "^2.2.4",
|
|
82
82
|
"@types/uuid": "^8.3.1",
|
|
83
|
+
"@types/webpack": "^5.28.0",
|
|
83
84
|
"@vitejs/plugin-react": "^1.0.7",
|
|
84
85
|
"autoprefixer": "^10.0.2",
|
|
85
86
|
"axios": "^0.21.4",
|