@netless/appliance-plugin 1.1.44-beta.0 → 1.1.44

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 (64) hide show
  1. package/dist/appliance-plugin.js +1 -1
  2. package/dist/appliance-plugin.mjs +12 -12
  3. package/dist/{bridge-CskJoX5M.js → bridge-B7BW1lpB.js} +1 -1
  4. package/dist/{bridge-rKHCYJ6m.mjs → bridge-DQud78k4.mjs} +1 -1
  5. package/dist/bridge.js +1 -1
  6. package/dist/bridge.mjs +1 -1
  7. package/dist/collector/types.d.ts +0 -3
  8. package/dist/component/textEditor/types.d.ts +0 -5
  9. package/dist/core/mainThread/base.d.ts +5 -1
  10. package/dist/core/mainThread/snapshotThread.d.ts +2 -3
  11. package/dist/core/mainThread/subLocalThread.d.ts +2 -5
  12. package/dist/core/mainThread/subServiceThread.d.ts +2 -1
  13. package/dist/core/mainThread/subTopThread.d.ts +2 -2
  14. package/dist/core/tools/arrow.d.ts +1 -423
  15. package/dist/core/tools/base.d.ts +2 -444
  16. package/dist/core/tools/ellipse.d.ts +1 -423
  17. package/dist/core/tools/eraser.d.ts +2 -846
  18. package/dist/core/tools/eraserFaces.d.ts +0 -2
  19. package/dist/core/tools/image.d.ts +1 -0
  20. package/dist/core/tools/laserPen.d.ts +2 -846
  21. package/dist/core/tools/pencil.d.ts +2 -848
  22. package/dist/core/tools/pencilEraser.d.ts +4 -1692
  23. package/dist/core/tools/pencilEraserBitMap.d.ts +5 -2115
  24. package/dist/core/tools/polygon.d.ts +1 -423
  25. package/dist/core/tools/rectangle.d.ts +1 -423
  26. package/dist/core/tools/selector.d.ts +7 -2121
  27. package/dist/core/tools/speechBalloon.d.ts +1 -423
  28. package/dist/core/tools/star.d.ts +1 -423
  29. package/dist/core/tools/straight.d.ts +1 -423
  30. package/dist/core/tools/text.d.ts +3 -3
  31. package/dist/core/tools/utils.d.ts +2 -2
  32. package/dist/core/types.d.ts +0 -9
  33. package/dist/core/utils/index.d.ts +0 -2
  34. package/dist/core/utils/serviceImageRecovery.d.ts +9 -0
  35. package/dist/core/vNodeManager.d.ts +1 -1
  36. package/dist/core/worker/base.d.ts +6 -2
  37. package/dist/core/worker/fullWorkerLocal.d.ts +0 -1
  38. package/dist/core/worker/fullWorkerService.d.ts +4 -2
  39. package/dist/core/worker/simpleWorker.d.ts +2 -2
  40. package/dist/core/worker/subWorkerTopLayer.d.ts +2 -2
  41. package/dist/fullWorker.js +148 -149
  42. package/dist/{index-Ca2t53R7.mjs → index-4ZI3GxVI.mjs} +1 -1
  43. package/dist/{index-ZMuKk-bl.js → index-AJCkfnUu.js} +1 -1
  44. package/dist/{index-ConirzkM.mjs → index-B8Ls8sf_.mjs} +1 -1
  45. package/dist/{index-BbBSxLGe.mjs → index-BBtV40zU.mjs} +563 -490
  46. package/dist/{index-C-tBYq0K.js → index-BOzOWS7h.js} +1 -1
  47. package/dist/index-BQiBrpib.js +1 -0
  48. package/dist/index-BYriQtGa.js +1 -0
  49. package/dist/{index-_3yxgNoj.mjs → index-C2tUvh2a.mjs} +11964 -12224
  50. package/dist/{index-DWevrjrE.mjs → index-DSFxl2wM.mjs} +11917 -12168
  51. package/dist/index-DnJkIouU.js +570 -0
  52. package/dist/index-DptnZ-h8.js +570 -0
  53. package/dist/{index-LcCU1tMV.mjs → index-ZUpKkvbD.mjs} +563 -490
  54. package/dist/subWorker.js +132 -133
  55. package/package.json +3 -4
  56. package/dist/core/utils/affineMatrix.d.ts +0 -33
  57. package/dist/core/utils/fontFamily.d.ts +0 -8
  58. package/dist/core/utils/selectorMatrix.d.ts +0 -4
  59. package/dist/core/utils/selectorRefresh.d.ts +0 -8
  60. package/dist/core/utils/textRaster.d.ts +0 -2
  61. package/dist/index-B0SB7Efu.js +0 -570
  62. package/dist/index-BIVRfc_x.js +0 -570
  63. package/dist/index-Bzg5OMdP.js +0 -1
  64. package/dist/index-CsNG_bzI.js +0 -1
@@ -41,429 +41,7 @@ export declare class EllipseShape extends BaseShapeTool {
41
41
  };
42
42
  workId: string;
43
43
  toolsType: EToolsKey;
44
- opt: {
45
- matrix: import("../utils").AffineMatrix;
46
- fontColor: string;
47
- fontSize: number;
48
- text: string;
49
- textAlign: import("../../component/textEditor").TextAlignType;
50
- verticalAlign: import("../../component/textEditor").VerticalAlignType;
51
- lineHeight?: number;
52
- fontFamily?: string;
53
- bold?: import("../../component/textEditor").FontWeightType;
54
- italic?: import("../../component/textEditor").FontStyleType;
55
- fontBgColor?: string;
56
- underline?: boolean;
57
- lineThrough?: boolean;
58
- boxPoint?: [number, number];
59
- boxSize?: [number, number];
60
- workState?: EventWorkState;
61
- uid?: string;
62
- isOpacity?: boolean;
63
- strokeColor?: string;
64
- fillColor?: string;
65
- vertex?: string;
66
- fragment?: string;
67
- syncUnitTime?: number;
68
- zIndex?: number;
69
- scale?: [number, number];
70
- rotate?: number;
71
- thickness?: number;
72
- textOpt?: import("../../component/textEditor").TextOptions;
73
- translate?: [number, number];
74
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
75
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
76
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
77
- lineCap?: "square" | "round";
78
- lineDash?: [number, number];
79
- } | {
80
- matrix: import("../utils").AffineMatrix;
81
- thickness: number;
82
- strokeColor: string;
83
- strokeType: EStrokeType;
84
- autoShape?: boolean;
85
- previewLocalOnly?: boolean;
86
- isOpacity?: boolean;
87
- fontColor?: string;
88
- fontBgColor?: string;
89
- fillColor?: string;
90
- vertex?: string;
91
- fragment?: string;
92
- syncUnitTime?: number;
93
- zIndex?: number;
94
- scale?: [number, number];
95
- rotate?: number;
96
- textOpt?: import("../../component/textEditor").TextOptions;
97
- translate?: [number, number];
98
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
99
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
100
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
101
- lineCap?: "square" | "round";
102
- lineDash?: [number, number];
103
- } | {
104
- matrix: import("../utils").AffineMatrix;
105
- thickness: number;
106
- duration: number;
107
- strokeColor: string;
108
- strokeType: Omit<EStrokeType, "Stroke">;
109
- isOpacity?: boolean;
110
- fontColor?: string;
111
- fontBgColor?: string;
112
- fillColor?: string;
113
- vertex?: string;
114
- fragment?: string;
115
- syncUnitTime?: number;
116
- zIndex?: number;
117
- scale?: [number, number];
118
- rotate?: number;
119
- textOpt?: import("../../component/textEditor").TextOptions;
120
- translate?: [number, number];
121
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
122
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
123
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
124
- lineCap?: "square" | "round";
125
- lineDash?: [number, number];
126
- } | {
127
- matrix: import("../utils").AffineMatrix;
128
- thickness: number;
129
- isOpacity?: boolean;
130
- fontColor?: string;
131
- fontBgColor?: string;
132
- strokeColor?: string;
133
- fillColor?: string;
134
- vertex?: string;
135
- fragment?: string;
136
- syncUnitTime?: number;
137
- zIndex?: number;
138
- scale?: [number, number];
139
- rotate?: number;
140
- textOpt?: import("../../component/textEditor").TextOptions;
141
- translate?: [number, number];
142
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
143
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
144
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
145
- lineCap?: "square" | "round";
146
- lineDash?: [number, number];
147
- } | {
148
- matrix: import("../utils").AffineMatrix;
149
- thickness: number;
150
- maxImageWidth?: number;
151
- maxImageHeight?: number;
152
- removeOnDone?: boolean;
153
- isOpacity?: boolean;
154
- fontColor?: string;
155
- fontBgColor?: string;
156
- strokeColor?: string;
157
- fillColor?: string;
158
- vertex?: string;
159
- fragment?: string;
160
- syncUnitTime?: number;
161
- zIndex?: number;
162
- scale?: [number, number];
163
- rotate?: number;
164
- textOpt?: import("../../component/textEditor").TextOptions;
165
- translate?: [number, number];
166
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
167
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
168
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
169
- lineCap?: "square" | "round";
170
- lineDash?: [number, number];
171
- } | {
172
- matrix: import("../utils").AffineMatrix;
173
- thickness: number;
174
- isOpacity?: boolean;
175
- fontColor?: string;
176
- fontBgColor?: string;
177
- strokeColor?: string;
178
- fillColor?: string;
179
- vertex?: string;
180
- fragment?: string;
181
- syncUnitTime?: number;
182
- zIndex?: number;
183
- scale?: [number, number];
184
- rotate?: number;
185
- textOpt?: import("../../component/textEditor").TextOptions;
186
- translate?: [number, number];
187
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
188
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
189
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
190
- lineCap?: "square" | "round";
191
- lineDash?: [number, number];
192
- } | {
193
- matrix: import("../utils").AffineMatrix;
194
- thickness: number;
195
- vertices: number;
196
- innerVerticeStep: number;
197
- innerRatio: number;
198
- strokeColor: string;
199
- fillColor: string;
200
- strokeType: EStrokeType;
201
- isOpacity?: boolean;
202
- fontColor?: string;
203
- fontBgColor?: string;
204
- vertex?: string;
205
- fragment?: string;
206
- syncUnitTime?: number;
207
- zIndex?: number;
208
- scale?: [number, number];
209
- rotate?: number;
210
- textOpt?: import("../../component/textEditor").TextOptions;
211
- translate?: [number, number];
212
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
213
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
214
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
215
- lineCap?: "square" | "round";
216
- lineDash?: [number, number];
217
- } | {
218
- matrix: import("../utils").AffineMatrix;
219
- isOpacity?: boolean;
220
- fontColor?: string;
221
- fontBgColor?: string;
222
- strokeColor?: string;
223
- fillColor?: string;
224
- vertex?: string;
225
- fragment?: string;
226
- syncUnitTime?: number;
227
- zIndex?: number;
228
- scale?: [number, number];
229
- rotate?: number;
230
- thickness?: number;
231
- textOpt?: import("../../component/textEditor").TextOptions;
232
- translate?: [number, number];
233
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
234
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
235
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
236
- lineCap?: "square" | "round";
237
- lineDash?: [number, number];
238
- } | {
239
- matrix: import("../utils").AffineMatrix;
240
- thickness: number;
241
- strokeColor: string;
242
- strokeType: EStrokeType;
243
- isOpacity?: boolean;
244
- fontColor?: string;
245
- fontBgColor?: string;
246
- fillColor?: string;
247
- vertex?: string;
248
- fragment?: string;
249
- syncUnitTime?: number;
250
- zIndex?: number;
251
- scale?: [number, number];
252
- rotate?: number;
253
- textOpt?: import("../../component/textEditor").TextOptions;
254
- translate?: [number, number];
255
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
256
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
257
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
258
- lineCap?: "square" | "round";
259
- lineDash?: [number, number];
260
- } | {
261
- matrix: import("../utils").AffineMatrix;
262
- thickness: number;
263
- strokeColor: string;
264
- fillColor: string;
265
- strokeType: EStrokeType;
266
- isOpacity?: boolean;
267
- fontColor?: string;
268
- fontBgColor?: string;
269
- vertex?: string;
270
- fragment?: string;
271
- syncUnitTime?: number;
272
- zIndex?: number;
273
- scale?: [number, number];
274
- rotate?: number;
275
- textOpt?: import("../../component/textEditor").TextOptions;
276
- translate?: [number, number];
277
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
278
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
279
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
280
- lineCap?: "square" | "round";
281
- lineDash?: [number, number];
282
- } | {
283
- matrix: import("../utils").AffineMatrix;
284
- thickness: number;
285
- strokeColor: string;
286
- fillColor: string;
287
- strokeType: EStrokeType;
288
- isOpacity?: boolean;
289
- fontColor?: string;
290
- fontBgColor?: string;
291
- vertex?: string;
292
- fragment?: string;
293
- syncUnitTime?: number;
294
- zIndex?: number;
295
- scale?: [number, number];
296
- rotate?: number;
297
- textOpt?: import("../../component/textEditor").TextOptions;
298
- translate?: [number, number];
299
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
300
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
301
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
302
- lineCap?: "square" | "round";
303
- lineDash?: [number, number];
304
- } | {
305
- matrix: import("../utils").AffineMatrix;
306
- thickness: number;
307
- vertices: number;
308
- strokeColor: string;
309
- fillColor: string;
310
- strokeType: EStrokeType;
311
- isOpacity?: boolean;
312
- fontColor?: string;
313
- fontBgColor?: string;
314
- vertex?: string;
315
- fragment?: string;
316
- syncUnitTime?: number;
317
- zIndex?: number;
318
- scale?: [number, number];
319
- rotate?: number;
320
- textOpt?: import("../../component/textEditor").TextOptions;
321
- translate?: [number, number];
322
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
323
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
324
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
325
- lineCap?: "square" | "round";
326
- lineDash?: [number, number];
327
- } | {
328
- matrix: import("../utils").AffineMatrix;
329
- thickness: number;
330
- strokeColor: string;
331
- strokeType: EStrokeType;
332
- isOpacity?: boolean;
333
- fontColor?: string;
334
- fontBgColor?: string;
335
- fillColor?: string;
336
- vertex?: string;
337
- fragment?: string;
338
- syncUnitTime?: number;
339
- zIndex?: number;
340
- scale?: [number, number];
341
- rotate?: number;
342
- textOpt?: import("../../component/textEditor").TextOptions;
343
- translate?: [number, number];
344
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
345
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
346
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
347
- lineCap?: "square" | "round";
348
- lineDash?: [number, number];
349
- } | {
350
- matrix: import("../utils").AffineMatrix;
351
- thickness: number;
352
- placement: import("../..").SpeechBalloonPlacement;
353
- strokeColor: string;
354
- fillColor: string;
355
- strokeType: EStrokeType;
356
- isOpacity?: boolean;
357
- fontColor?: string;
358
- fontBgColor?: string;
359
- vertex?: string;
360
- fragment?: string;
361
- syncUnitTime?: number;
362
- zIndex?: number;
363
- scale?: [number, number];
364
- rotate?: number;
365
- textOpt?: import("../../component/textEditor").TextOptions;
366
- translate?: [number, number];
367
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
368
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
369
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
370
- lineCap?: "square" | "round";
371
- lineDash?: [number, number];
372
- } | {
373
- matrix: import("../utils").AffineMatrix;
374
- src: string;
375
- type: import("..").EImageType;
376
- uuid: string;
377
- centerX: number;
378
- centerY: number;
379
- width: number;
380
- height: number;
381
- locked: boolean;
382
- uniformScale?: boolean;
383
- crossOrigin?: boolean | string;
384
- isOpacity?: boolean;
385
- fontColor?: string;
386
- fontBgColor?: string;
387
- strokeColor?: string;
388
- fillColor?: string;
389
- vertex?: string;
390
- fragment?: string;
391
- syncUnitTime?: number;
392
- zIndex?: number;
393
- scale?: [number, number];
394
- rotate?: number;
395
- thickness?: number;
396
- textOpt?: import("../../component/textEditor").TextOptions;
397
- translate?: [number, number];
398
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
399
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
400
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
401
- lineCap?: "square" | "round";
402
- lineDash?: [number, number];
403
- } | {
404
- matrix: import("../utils").AffineMatrix;
405
- type: import("..").ESVGType.url;
406
- src: string;
407
- crossOrigin: boolean | string;
408
- uuid: string;
409
- centerX: number;
410
- centerY: number;
411
- width: number;
412
- height: number;
413
- locked: boolean;
414
- uniformScale: boolean;
415
- state?: unknown;
416
- isOpacity?: boolean;
417
- fontColor?: string;
418
- fontBgColor?: string;
419
- strokeColor?: string;
420
- fillColor?: string;
421
- vertex?: string;
422
- fragment?: string;
423
- syncUnitTime?: number;
424
- zIndex?: number;
425
- scale?: [number, number];
426
- rotate?: number;
427
- thickness?: number;
428
- textOpt?: import("../../component/textEditor").TextOptions;
429
- translate?: [number, number];
430
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
431
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
432
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
433
- lineCap?: "square" | "round";
434
- lineDash?: [number, number];
435
- } | {
436
- matrix: import("../utils").AffineMatrix;
437
- type: import("..").ESVGType.markmap;
438
- data: string;
439
- uuid: string;
440
- centerX: number;
441
- centerY: number;
442
- width: number;
443
- height: number;
444
- locked: boolean;
445
- uniformScale: boolean;
446
- state?: unknown;
447
- isOpacity?: boolean;
448
- fontColor?: string;
449
- fontBgColor?: string;
450
- strokeColor?: string;
451
- fillColor?: string;
452
- vertex?: string;
453
- fragment?: string;
454
- syncUnitTime?: number;
455
- zIndex?: number;
456
- scale?: [number, number];
457
- rotate?: number;
458
- thickness?: number;
459
- textOpt?: import("../../component/textEditor").TextOptions;
460
- translate?: [number, number];
461
- eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
462
- eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
463
- doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
464
- lineCap?: "square" | "round";
465
- lineDash?: [number, number];
466
- };
44
+ opt: import("./utils").ShapeOptions;
467
45
  rect: IRectType;
468
46
  type: EPostMessageType;
469
47
  dataType: EDataType;