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