@dao42/d42paas-front 0.5.25 → 0.5.26
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/editor.d.ts +68 -16
- package/package.json +1 -1
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,50 +92,86 @@ 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
|
+
* Editor component.
|
|
86
132
|
* @memberof DaoPaaS
|
|
87
|
-
*
|
|
133
|
+
*
|
|
88
134
|
*/
|
|
89
135
|
Editor(args: TComponentArgs): void;
|
|
90
136
|
|
|
91
137
|
/**
|
|
92
138
|
*
|
|
139
|
+
* Page component.
|
|
93
140
|
* @memberof DaoPaaS
|
|
94
|
-
*
|
|
141
|
+
*
|
|
95
142
|
*/
|
|
96
143
|
Page(args: TComponentArgs): void;
|
|
97
144
|
|
|
98
145
|
/**
|
|
99
146
|
*
|
|
147
|
+
* Tree component.
|
|
100
148
|
* @memberof DaoPaaS
|
|
101
|
-
*
|
|
149
|
+
*
|
|
102
150
|
*/
|
|
103
151
|
Tree(args: TComponentArgs): void;
|
|
104
152
|
|
|
105
153
|
/**
|
|
106
154
|
*
|
|
155
|
+
* Shell component.
|
|
107
156
|
* @memberof DaoPaaS
|
|
108
|
-
*
|
|
157
|
+
*
|
|
109
158
|
*/
|
|
110
159
|
Shell(args: TComponentArgs): void;
|
|
111
160
|
|
|
112
161
|
/**
|
|
113
162
|
*
|
|
163
|
+
* Browser component.
|
|
114
164
|
* @memberof DaoPaaS
|
|
115
|
-
*
|
|
165
|
+
*
|
|
116
166
|
*/
|
|
117
167
|
Browser(args: TComponentArgs): void;
|
|
118
168
|
|
|
119
169
|
/**
|
|
120
170
|
*
|
|
171
|
+
* Console component.
|
|
121
172
|
* @memberof DaoPaaS
|
|
122
|
-
*
|
|
173
|
+
*
|
|
123
174
|
*/
|
|
124
175
|
Console(args: TComponentArgs): void;
|
|
176
|
+
|
|
125
177
|
}
|