microboard-temp 0.13.93 → 0.13.95

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 (47) hide show
  1. package/dist/cjs/browser.js +11443 -11400
  2. package/dist/cjs/index.js +11443 -11400
  3. package/dist/cjs/node.js +11437 -11394
  4. package/dist/esm/browser.js +11191 -11149
  5. package/dist/esm/index.js +11191 -11149
  6. package/dist/esm/node.js +11191 -11149
  7. package/dist/types/HTMLRender/HTMLRender.d.ts +5 -0
  8. package/dist/types/Items/AINode/AINode.d.ts +0 -2
  9. package/dist/types/Items/Audio/Audio.d.ts +0 -2
  10. package/dist/types/Items/BaseItem/BaseItem.d.ts +0 -2
  11. package/dist/types/Items/Comment/Comment.d.ts +0 -2
  12. package/dist/types/Items/Connector/Connector.d.ts +0 -3
  13. package/dist/types/Items/Drawing/Drawing.d.ts +0 -2
  14. package/dist/types/Items/Examples/CardGame/Card/Card.d.ts +0 -2
  15. package/dist/types/Items/Examples/CardGame/Deck/Deck.d.ts +0 -2
  16. package/dist/types/Items/Examples/CardGame/Dice/Dice.d.ts +0 -2
  17. package/dist/types/Items/Examples/CardGame/Screen/Screen.d.ts +0 -2
  18. package/dist/types/Items/Examples/Counter/Counter.d.ts +0 -2
  19. package/dist/types/Items/Examples/Star/Star.d.ts +0 -2
  20. package/dist/types/Items/Frame/Frame.d.ts +0 -2
  21. package/dist/types/Items/Group/Group.d.ts +0 -2
  22. package/dist/types/Items/Image/Image.d.ts +0 -2
  23. package/dist/types/Items/LinkTo/LinkTo.d.ts +0 -2
  24. package/dist/types/Items/Path/Path.d.ts +0 -2
  25. package/dist/types/Items/Path/Paths.d.ts +0 -2
  26. package/dist/types/Items/Placeholder/Placeholder.d.ts +0 -2
  27. package/dist/types/Items/Renderers/AINodeHTMLRenderer.d.ts +6 -0
  28. package/dist/types/Items/Renderers/AudioHTMLRenderer.d.ts +6 -0
  29. package/dist/types/Items/Renderers/CommentHTMLRenderer.d.ts +6 -0
  30. package/dist/types/Items/Renderers/ConnectorHTMLRenderer.d.ts +6 -0
  31. package/dist/types/Items/Renderers/DrawingHTMLRenderer.d.ts +7 -0
  32. package/dist/types/Items/Renderers/FrameHTMLRenderer.d.ts +6 -0
  33. package/dist/types/Items/Renderers/GroupHTMLRenderer.d.ts +6 -0
  34. package/dist/types/Items/Renderers/HTMLItemRenderer.d.ts +7 -0
  35. package/dist/types/Items/Renderers/ImageHTMLRenderer.d.ts +6 -0
  36. package/dist/types/Items/Renderers/PlaceholderHTMLRenderer.d.ts +6 -0
  37. package/dist/types/Items/Renderers/RichTextHTMLRenderer.d.ts +6 -0
  38. package/dist/types/Items/Renderers/ShapeHTMLRenderer.d.ts +6 -0
  39. package/dist/types/Items/Renderers/StickerHTMLRenderer.d.ts +6 -0
  40. package/dist/types/Items/Renderers/VideoHTMLRenderer.d.ts +7 -0
  41. package/dist/types/Items/Renderers/index.d.ts +13 -0
  42. package/dist/types/Items/RichText/RichText.d.ts +0 -2
  43. package/dist/types/Items/Shape/Shape.d.ts +0 -2
  44. package/dist/types/Items/Shape/Shapes.d.ts +330 -0
  45. package/dist/types/Items/Sticker/Sticker.d.ts +0 -2
  46. package/dist/types/Items/Video/Video.d.ts +0 -2
  47. package/package.json +1 -1
@@ -0,0 +1,330 @@
1
+ export declare const Shapes: {
2
+ BPMN_Gateway: {
3
+ name: string;
4
+ textBounds: import("..").Mbr;
5
+ path: import("..").Path;
6
+ anchorPoints: import("..").Point[];
7
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
8
+ useMbrUnderPointer: boolean;
9
+ };
10
+ BPMN_DataStore: {
11
+ name: string;
12
+ textBounds: import("..").Mbr;
13
+ path: import("..").Paths;
14
+ anchorPoints: import("..").Point[];
15
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
16
+ useMbrUnderPointer: boolean;
17
+ };
18
+ BPMN_GatewayParallel: {
19
+ name: string;
20
+ textBounds: import("..").Mbr;
21
+ path: import("..").Paths;
22
+ anchorPoints: import("..").Point[];
23
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
24
+ useMbrUnderPointer: boolean;
25
+ };
26
+ BPMN_GatewayXOR: {
27
+ name: string;
28
+ textBounds: import("..").Mbr;
29
+ path: import("..").Paths;
30
+ anchorPoints: import("..").Point[];
31
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
32
+ useMbrUnderPointer: boolean;
33
+ };
34
+ BPMN_EndEvent: {
35
+ name: string;
36
+ textBounds: import("..").Mbr;
37
+ path: import("..").Path;
38
+ anchorPoints: import("..").Point[];
39
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
40
+ useMbrUnderPointer: boolean;
41
+ };
42
+ BPMN_StartEvent: {
43
+ name: string;
44
+ textBounds: import("..").Mbr;
45
+ path: import("..").Path;
46
+ anchorPoints: import("..").Point[];
47
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
48
+ useMbrUnderPointer: boolean;
49
+ };
50
+ BPMN_StartEventNoneInterrupting: {
51
+ name: string;
52
+ textBounds: import("..").Mbr;
53
+ path: import("..").Path;
54
+ anchorPoints: import("..").Point[];
55
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
56
+ useMbrUnderPointer: boolean;
57
+ };
58
+ BPMN_IntermediateEvent: {
59
+ name: string;
60
+ textBounds: import("..").Mbr;
61
+ path: import("..").Paths;
62
+ anchorPoints: import("..").Point[];
63
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
64
+ useMbrUnderPointer: boolean;
65
+ };
66
+ BPMN_IntermediateEventNoneInterrupting: {
67
+ name: string;
68
+ textBounds: import("..").Mbr;
69
+ path: import("..").Paths;
70
+ anchorPoints: import("..").Point[];
71
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
72
+ useMbrUnderPointer: boolean;
73
+ };
74
+ BPMN_Group: {
75
+ name: string;
76
+ textBounds: import("..").Mbr;
77
+ path: import("..").Path;
78
+ anchorPoints: import("..").Point[];
79
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
80
+ useMbrUnderPointer: boolean;
81
+ };
82
+ BPMN_Participant: {
83
+ name: string;
84
+ textBounds: import("..").Mbr;
85
+ path: import("..").Paths;
86
+ anchorPoints: import("..").Point[];
87
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
88
+ useMbrUnderPointer: boolean;
89
+ };
90
+ BPMN_Task: {
91
+ name: string;
92
+ textBounds: import("..").Mbr;
93
+ path: import("..").Path;
94
+ anchorPoints: import("..").Point[];
95
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
96
+ useMbrUnderPointer: boolean;
97
+ };
98
+ BPMN_Transaction: {
99
+ name: string;
100
+ textBounds: import("..").Mbr;
101
+ path: import("..").Paths;
102
+ anchorPoints: import("..").Point[];
103
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
104
+ useMbrUnderPointer: boolean;
105
+ };
106
+ BPMN_EventSubprocess: {
107
+ name: string;
108
+ textBounds: import("..").Mbr;
109
+ path: import("..").Paths;
110
+ anchorPoints: import("..").Point[];
111
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
112
+ useMbrUnderPointer: boolean;
113
+ };
114
+ BPMN_Annotation: {
115
+ name: string;
116
+ textBounds: import("..").Mbr;
117
+ path: import("..").Paths;
118
+ anchorPoints: never[];
119
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
120
+ useMbrUnderPointer: boolean;
121
+ };
122
+ BPMN_DataObject: {
123
+ name: string;
124
+ textBounds: import("..").Mbr;
125
+ path: import("..").Paths;
126
+ anchorPoints: import("..").Point[];
127
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
128
+ useMbrUnderPointer: boolean;
129
+ };
130
+ Rectangle: {
131
+ name: string;
132
+ textBounds: import("..").Mbr;
133
+ path: import("..").Path;
134
+ anchorPoints: import("..").Point[];
135
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
136
+ useMbrUnderPointer: boolean;
137
+ };
138
+ Triangle: {
139
+ name: string;
140
+ textBounds: import("..").Mbr;
141
+ path: import("..").Path;
142
+ anchorPoints: import("..").Point[];
143
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
144
+ useMbrUnderPointer: boolean;
145
+ };
146
+ ReversedTriangle: {
147
+ name: string;
148
+ textBounds: import("..").Mbr;
149
+ path: import("..").Path;
150
+ anchorPoints: import("..").Point[];
151
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
152
+ useMbrUnderPointer: boolean;
153
+ };
154
+ Circle: {
155
+ name: string;
156
+ textBounds: import("..").Mbr;
157
+ path: import("..").Path;
158
+ anchorPoints: import("..").Point[];
159
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
160
+ useMbrUnderPointer: boolean;
161
+ };
162
+ ArrowLeft: {
163
+ name: string;
164
+ textBounds: import("..").Mbr;
165
+ path: import("..").Path;
166
+ anchorPoints: import("..").Point[];
167
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
168
+ useMbrUnderPointer: boolean;
169
+ };
170
+ ArrowLeftRight: {
171
+ name: string;
172
+ textBounds: import("..").Mbr;
173
+ path: import("..").Path;
174
+ anchorPoints: import("..").Point[];
175
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
176
+ useMbrUnderPointer: boolean;
177
+ };
178
+ ArrowRight: {
179
+ name: string;
180
+ textBounds: import("..").Mbr;
181
+ path: import("..").Path;
182
+ anchorPoints: import("..").Point[];
183
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
184
+ useMbrUnderPointer: boolean;
185
+ };
186
+ ArrowBlockLeft: {
187
+ name: string;
188
+ textBounds: import("..").Mbr;
189
+ path: import("..").Path;
190
+ anchorPoints: import("..").Point[];
191
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
192
+ useMbrUnderPointer: boolean;
193
+ };
194
+ ArrowBlockRight: {
195
+ name: string;
196
+ textBounds: import("..").Mbr;
197
+ path: import("..").Path;
198
+ anchorPoints: import("..").Point[];
199
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
200
+ useMbrUnderPointer: boolean;
201
+ };
202
+ BracesLeft: {
203
+ name: string;
204
+ textBounds: import("..").Mbr;
205
+ path: import("..").Path;
206
+ anchorPoints: never[];
207
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
208
+ useMbrUnderPointer: boolean;
209
+ };
210
+ BracesRight: {
211
+ name: string;
212
+ textBounds: import("..").Mbr;
213
+ path: import("..").Path;
214
+ anchorPoints: never[];
215
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
216
+ useMbrUnderPointer: boolean;
217
+ };
218
+ Cloud: {
219
+ name: string;
220
+ textBounds: import("..").Mbr;
221
+ path: import("..").Path;
222
+ anchorPoints: import("..").Point[];
223
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
224
+ useMbrUnderPointer: boolean;
225
+ };
226
+ Cross: {
227
+ name: string;
228
+ textBounds: import("..").Mbr;
229
+ path: import("..").Path;
230
+ anchorPoints: import("..").Point[];
231
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
232
+ useMbrUnderPointer: boolean;
233
+ };
234
+ Cylinder: {
235
+ name: string;
236
+ textBounds: import("..").Mbr;
237
+ path: import("..").Paths;
238
+ anchorPoints: import("..").Point[];
239
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
240
+ useMbrUnderPointer: boolean;
241
+ };
242
+ Hexagon: {
243
+ name: string;
244
+ textBounds: import("..").Mbr;
245
+ path: import("..").Path;
246
+ anchorPoints: import("..").Point[];
247
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
248
+ useMbrUnderPointer: boolean;
249
+ };
250
+ Octagon: {
251
+ name: string;
252
+ textBounds: import("..").Mbr;
253
+ path: import("..").Path;
254
+ anchorPoints: import("..").Point[];
255
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
256
+ useMbrUnderPointer: boolean;
257
+ };
258
+ Parallelogram: {
259
+ name: string;
260
+ textBounds: import("..").Mbr;
261
+ path: import("..").Path;
262
+ anchorPoints: import("..").Point[];
263
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
264
+ useMbrUnderPointer: boolean;
265
+ };
266
+ ReversedParallelogram: {
267
+ name: string;
268
+ textBounds: import("..").Mbr;
269
+ path: import("..").Path;
270
+ anchorPoints: import("..").Point[];
271
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
272
+ useMbrUnderPointer: boolean;
273
+ };
274
+ Pentagon: {
275
+ name: string;
276
+ textBounds: import("..").Mbr;
277
+ path: import("..").Path;
278
+ anchorPoints: import("..").Point[];
279
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
280
+ useMbrUnderPointer: boolean;
281
+ };
282
+ PredefinedProcess: {
283
+ name: string;
284
+ textBounds: import("..").Mbr;
285
+ path: import("..").Paths;
286
+ anchorPoints: import("..").Point[];
287
+ createPath: (mbr: import("..").Mbr) => import("..").Paths;
288
+ useMbrUnderPointer: boolean;
289
+ };
290
+ Rhombus: {
291
+ name: string;
292
+ textBounds: import("..").Mbr;
293
+ path: import("..").Path;
294
+ anchorPoints: import("..").Point[];
295
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
296
+ useMbrUnderPointer: boolean;
297
+ };
298
+ RoundedRectangle: {
299
+ name: string;
300
+ textBounds: import("..").Mbr;
301
+ path: import("..").Path;
302
+ anchorPoints: import("..").Point[];
303
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
304
+ useMbrUnderPointer: boolean;
305
+ };
306
+ SpeachBubble: {
307
+ name: string;
308
+ textBounds: import("..").Mbr;
309
+ path: import("..").Path;
310
+ anchorPoints: import("..").Point[];
311
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
312
+ useMbrUnderPointer: boolean;
313
+ };
314
+ Star: {
315
+ name: string;
316
+ textBounds: import("..").Mbr;
317
+ path: import("..").Path;
318
+ anchorPoints: import("..").Point[];
319
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
320
+ useMbrUnderPointer: boolean;
321
+ };
322
+ Trapezoid: {
323
+ name: string;
324
+ textBounds: import("..").Mbr;
325
+ path: import("..").Path;
326
+ anchorPoints: import("..").Point[];
327
+ createPath: (mbr: import("..").Mbr) => import("..").Path;
328
+ useMbrUnderPointer: boolean;
329
+ };
330
+ };
@@ -12,7 +12,6 @@ import { GeometricNormal } from "../GeometricNormal";
12
12
  import { RichText } from "../RichText/RichText";
13
13
  import { StickerData, StickerOperation } from "./StickerOperation";
14
14
  import { Board } from "../../Board";
15
- import { DocumentFactory } from "../../api/DocumentFactory";
16
15
  import { BaseItem } from "../BaseItem/BaseItem";
17
16
  import type { SerializedItemData } from "../BaseItem/BaseItem";
18
17
  import { ColorValue } from "../../..";
@@ -59,7 +58,6 @@ export declare class Sticker extends BaseItem<Sticker> {
59
58
  isInView(rect: Mbr): boolean;
60
59
  getNormal(point: Point): GeometricNormal;
61
60
  render(context: DrawingContext): void;
62
- renderHTML(documentFactory: DocumentFactory): HTMLElement;
63
61
  renderShadow(context: DrawingContext): void;
64
62
  getPaths(): Path | Paths;
65
63
  isClosed(): boolean;
@@ -1,4 +1,3 @@
1
- import { DocumentFactory } from "../../api/DocumentFactory";
2
1
  import { Board } from "../../Board";
3
2
  import { Events, Operation } from "../../Events";
4
3
  import { Point } from "../Point/Point";
@@ -68,7 +67,6 @@ export declare class VideoItem extends BaseItem<VideoItem> {
68
67
  onError: () => void;
69
68
  updateMbr(): void;
70
69
  render(context: DrawingContext): void;
71
- renderHTML(documentFactory: DocumentFactory): HTMLElement;
72
70
  serialize(): SerializedItemData<VideoItemData>;
73
71
  deserialize(data: SerializedItemData<VideoItemData> | VideoItemData): this;
74
72
  apply(op: Operation): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.93",
3
+ "version": "0.13.95",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",