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