@dao42/d42paas-front 0.5.22 → 0.5.27
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 +334 -348
- package/dist/DaoPaaS.umd.js +410 -407
- package/dist/editor.d.ts +96 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/assets/css.worker.fcb4bd78.js +0 -62
- package/dist/assets/editor.worker.d0372abe.js +0 -4
- package/dist/assets/html.worker.446a9d97.js +0 -452
- package/dist/assets/json.worker.4dd01dd8.js +0 -35
- package/dist/assets/ts.worker.bb4527d0.js +0 -35320
package/dist/editor.d.ts
CHANGED
|
@@ -12,42 +12,55 @@ export type T_PlaygroundStatus = 'EMPTY' | 'ACTIVE' | 'INACTIVE';
|
|
|
12
12
|
export type TReplay = 'stop' | 'disabled' | 'pause';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* the arguments of the Playground
|
|
15
|
+
* the arguments of the Playground.
|
|
17
16
|
*/
|
|
18
17
|
interface TConstructor {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
19
|
+
*
|
|
20
|
+
* initing the playground ticket needed.
|
|
21
|
+
*
|
|
21
22
|
*/
|
|
22
23
|
ticket: string;
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
+
*
|
|
27
|
+
* to init the playground with this id.
|
|
28
|
+
*
|
|
26
29
|
*/
|
|
27
30
|
playgroundId: string;
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
*
|
|
34
|
+
* userId for the playground.
|
|
35
|
+
*
|
|
31
36
|
*/
|
|
32
37
|
userId: string;
|
|
33
38
|
|
|
34
39
|
/**
|
|
35
|
-
*
|
|
40
|
+
*
|
|
41
|
+
* tenantId for the playground.
|
|
42
|
+
*
|
|
36
43
|
*/
|
|
37
44
|
tenantId: string;
|
|
38
45
|
|
|
39
46
|
/**
|
|
40
|
-
*
|
|
47
|
+
*
|
|
48
|
+
* username for the playground.
|
|
49
|
+
*
|
|
41
50
|
*/
|
|
42
51
|
username?: string;
|
|
43
52
|
|
|
44
53
|
/**
|
|
45
|
-
*
|
|
54
|
+
*
|
|
55
|
+
* avatar for the playground but not necessarily.
|
|
56
|
+
*
|
|
46
57
|
*/
|
|
47
58
|
avatar?: string;
|
|
48
59
|
|
|
49
60
|
/**
|
|
50
|
-
*
|
|
61
|
+
*
|
|
62
|
+
* avatarUrl for the playground but not necessarily.
|
|
63
|
+
*
|
|
51
64
|
*/
|
|
52
65
|
avatarUrl?: string;
|
|
53
66
|
|
|
@@ -57,17 +70,20 @@ interface TConstructor {
|
|
|
57
70
|
*
|
|
58
71
|
* @interface TComponentArgs
|
|
59
72
|
* @desc
|
|
73
|
+
*
|
|
60
74
|
*/
|
|
61
75
|
|
|
62
76
|
interface TComponentArgs {
|
|
63
77
|
|
|
64
78
|
/**
|
|
65
79
|
*
|
|
80
|
+
* the DOM for the component.
|
|
66
81
|
* @type {(string | HTMLElement | Element)}
|
|
67
82
|
* @memberof TComponentArgs
|
|
68
|
-
*
|
|
83
|
+
*
|
|
69
84
|
*/
|
|
70
85
|
container: string | HTMLElement | Element;
|
|
86
|
+
|
|
71
87
|
props?: any;
|
|
72
88
|
}
|
|
73
89
|
|
|
@@ -76,36 +92,102 @@ export class DaoPaaS {
|
|
|
76
92
|
|
|
77
93
|
get playgroundStatus(): T_PlaygroundStatus;
|
|
78
94
|
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* Replaying method for global calling.
|
|
98
|
+
* @param {TReplay} args
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
79
101
|
replay(args: TReplay): void;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* Recording method for global calling.
|
|
106
|
+
* @param {boolean} arg
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
80
109
|
record(arg: boolean): void;
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* Here you can switch language services by calling this method.
|
|
115
|
+
* @param {boolean} arg
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
81
118
|
switchLspServer(arg: boolean): void;
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* Active the playground handler.
|
|
124
|
+
* @memberof DaoPaaS
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
82
127
|
activePlayground(): void;
|
|
83
128
|
|
|
84
129
|
/**
|
|
85
130
|
*
|
|
131
|
+
* Run the playground handler.
|
|
132
|
+
* @memberof DaoPaaS
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
runPlayground(): void;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* Stop the playground.
|
|
140
|
+
* @memberof DaoPaaS
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
stopPlayground(): void;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* Editor component.
|
|
86
148
|
* @memberof DaoPaaS
|
|
87
|
-
*
|
|
149
|
+
*
|
|
88
150
|
*/
|
|
89
151
|
Editor(args: TComponentArgs): void;
|
|
90
152
|
|
|
91
153
|
/**
|
|
92
154
|
*
|
|
155
|
+
* Page component.
|
|
93
156
|
* @memberof DaoPaaS
|
|
94
|
-
*
|
|
157
|
+
*
|
|
95
158
|
*/
|
|
96
159
|
Page(args: TComponentArgs): void;
|
|
97
160
|
|
|
98
161
|
/**
|
|
99
162
|
*
|
|
163
|
+
* Tree component.
|
|
100
164
|
* @memberof DaoPaaS
|
|
101
|
-
*
|
|
165
|
+
*
|
|
102
166
|
*/
|
|
103
167
|
Tree(args: TComponentArgs): void;
|
|
104
168
|
|
|
105
169
|
/**
|
|
106
170
|
*
|
|
171
|
+
* Shell component.
|
|
107
172
|
* @memberof DaoPaaS
|
|
108
|
-
*
|
|
173
|
+
*
|
|
109
174
|
*/
|
|
110
175
|
Shell(args: TComponentArgs): void;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* Browser component.
|
|
180
|
+
* @memberof DaoPaaS
|
|
181
|
+
*
|
|
182
|
+
*/
|
|
183
|
+
Browser(args: TComponentArgs): void;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* Console component.
|
|
188
|
+
* @memberof DaoPaaS
|
|
189
|
+
*
|
|
190
|
+
*/
|
|
191
|
+
Console(args: TComponentArgs): void;
|
|
192
|
+
|
|
111
193
|
}
|