@dao42/d42paas-front 0.7.15 → 0.7.22
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 +12273 -3508
- package/dist/DaoPaaS.umd.js +583 -518
- package/dist/editor.d.ts +30 -2
- package/dist/style.css +2 -2
- package/package.json +11 -8
- package/dist/assets/css.worker.5157db2f.js +0 -62
- package/dist/assets/editor.worker.43309ac9.js +0 -4
- package/dist/assets/html.worker.3f2697f1.js +0 -452
- package/dist/assets/json.worker.66c12891.js +0 -35
- package/dist/assets/ts.worker.d75e32f4.js +0 -35320
- package/dist/dev.html +0 -34
- package/dist/index.html +0 -60
- package/dist/sdkserver.html +0 -35
- package/dist/tsdoc.html +0 -59
package/dist/editor.d.ts
CHANGED
|
@@ -45,6 +45,12 @@ interface TUserInfo {
|
|
|
45
45
|
* the arguments of the Playground.
|
|
46
46
|
*/
|
|
47
47
|
interface TConstructor {
|
|
48
|
+
debug?: boolean;
|
|
49
|
+
|
|
50
|
+
onError?: (error: any) => void;
|
|
51
|
+
|
|
52
|
+
onMessage?: (message: any) => void;
|
|
53
|
+
|
|
48
54
|
serviceWorkerOrigin?: string;
|
|
49
55
|
|
|
50
56
|
/**
|
|
@@ -109,11 +115,15 @@ interface TConstructor {
|
|
|
109
115
|
* this argument is to ingnore replaying patterns.
|
|
110
116
|
*
|
|
111
117
|
*/
|
|
112
|
-
ignoreReplayers?:
|
|
118
|
+
ignoreReplayers?: string[];
|
|
113
119
|
|
|
114
120
|
components?: UserComponent[];
|
|
115
121
|
|
|
116
|
-
|
|
122
|
+
/**
|
|
123
|
+
* @deprecated to fix the issue of the playground.
|
|
124
|
+
*
|
|
125
|
+
* render?: () => TComponentArgs[]; keyof D42_FrontType['CRDT'][]
|
|
126
|
+
*/
|
|
117
127
|
}
|
|
118
128
|
|
|
119
129
|
export interface UserComponent extends TComponentArgs {
|
|
@@ -148,6 +158,24 @@ export class DaoPaaS {
|
|
|
148
158
|
|
|
149
159
|
get userList(): TUserInfo[];
|
|
150
160
|
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* Replaying method for global calling.
|
|
164
|
+
* @param {unFollowUser} args
|
|
165
|
+
*
|
|
166
|
+
*/
|
|
167
|
+
|
|
168
|
+
unFollowUser(user: any, callback: () => void): void;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* Replaying method for global calling.
|
|
173
|
+
* @param {followUser} args
|
|
174
|
+
*
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
followUser(user: any, callback: () => void): void;
|
|
178
|
+
|
|
151
179
|
/**
|
|
152
180
|
*
|
|
153
181
|
* Replaying method for global calling.
|