pi-tldraw 0.1.0

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 (74) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +222 -0
  3. package/bridge/app-bridge-entry.js +6 -0
  4. package/mcp-app/LICENSE.md +9 -0
  5. package/mcp-app/PI_TLDRAW_PROVENANCE.json +32 -0
  6. package/mcp-app/README.md +129 -0
  7. package/mcp-app/dev-tunnel.sh +51 -0
  8. package/mcp-app/dist/editor-api.json +8493 -0
  9. package/mcp-app/dist/mcp-app.html +643 -0
  10. package/mcp-app/dist/method-map.json +915 -0
  11. package/mcp-app/package.json +42 -0
  12. package/mcp-app/plugins/tldraw-mcp/.cursor-plugin/plugin.json +10 -0
  13. package/mcp-app/plugins/tldraw-mcp/assets/logo.svg +3 -0
  14. package/mcp-app/plugins/tldraw-mcp/mcp.json +8 -0
  15. package/mcp-app/scripts/extract-editor-api.ts +1374 -0
  16. package/mcp-app/server.json +21 -0
  17. package/mcp-app/src/logger.ts +45 -0
  18. package/mcp-app/src/register-tools.ts +368 -0
  19. package/mcp-app/src/shared/generated-data.ts +160 -0
  20. package/mcp-app/src/shared/pending-requests.ts +69 -0
  21. package/mcp-app/src/shared/types.ts +76 -0
  22. package/mcp-app/src/shared/utils.ts +132 -0
  23. package/mcp-app/src/tools/exec.ts +120 -0
  24. package/mcp-app/src/tools/loadCachedCanvasWidgetHtml.ts +16 -0
  25. package/mcp-app/src/tools/search.ts +150 -0
  26. package/mcp-app/src/widget/app-context.tsx +29 -0
  27. package/mcp-app/src/widget/dev-log.tsx +70 -0
  28. package/mcp-app/src/widget/exec-helpers.ts +232 -0
  29. package/mcp-app/src/widget/export-tldr.ts +35 -0
  30. package/mcp-app/src/widget/focused/defaults.ts +141 -0
  31. package/mcp-app/src/widget/focused/focused-editor-proxy.ts +434 -0
  32. package/mcp-app/src/widget/focused/format.ts +366 -0
  33. package/mcp-app/src/widget/focused/to-focused.ts +258 -0
  34. package/mcp-app/src/widget/focused/to-tldraw.ts +570 -0
  35. package/mcp-app/src/widget/image-guard.tsx +106 -0
  36. package/mcp-app/src/widget/index.html +33 -0
  37. package/mcp-app/src/widget/mcp-app.css +113 -0
  38. package/mcp-app/src/widget/mcp-app.tsx +857 -0
  39. package/mcp-app/src/widget/persistence.ts +337 -0
  40. package/mcp-app/src/widget/snapshot.ts +157 -0
  41. package/mcp-app/src/worker.ts +305 -0
  42. package/mcp-app/tsconfig.json +23 -0
  43. package/mcp-app/vite.config.ts +13 -0
  44. package/mcp-app/wrangler.toml +45 -0
  45. package/mcp-app-source.json +36 -0
  46. package/package.json +90 -0
  47. package/patches/tldraw-mcp-app/001-pi-runtime.patch +35 -0
  48. package/scripts/assemble-mcp-app.mjs +193 -0
  49. package/scripts/build-bridge.mjs +74 -0
  50. package/scripts/e2e-mcp.mjs +69 -0
  51. package/scripts/e2e-packaged-mcp-app.mjs +79 -0
  52. package/scripts/run-mcp-app-dev.mjs +44 -0
  53. package/scripts/verify-bundle.mjs +41 -0
  54. package/scripts/verify-mcp-app-source.mjs +51 -0
  55. package/scripts/verify-mcp-app.mjs +38 -0
  56. package/scripts/verify-package-files.mjs +50 -0
  57. package/src/canvas/export.ts +164 -0
  58. package/src/canvas/state.ts +117 -0
  59. package/src/canvas/workflow.ts +105 -0
  60. package/src/commands/tldraw-command.ts +48 -0
  61. package/src/diagram/guidance.ts +44 -0
  62. package/src/host/local-host.ts +289 -0
  63. package/src/index.ts +762 -0
  64. package/src/mcp/client.ts +126 -0
  65. package/src/mcp/response.ts +74 -0
  66. package/src/semantic/layer.ts +309 -0
  67. package/src/server/server-manager.ts +153 -0
  68. package/src/store/export-store.ts +33 -0
  69. package/src/store/project-store.ts +251 -0
  70. package/src/ui/tldraw-status.ts +88 -0
  71. package/static/app-bridge-bundle.js +18114 -0
  72. package/static/app-bridge-bundle.meta.json +164 -0
  73. package/static/host.html +390 -0
  74. package/tsconfig.json +13 -0
@@ -0,0 +1,915 @@
1
+ {
2
+ "isShapeHidden": {
3
+ "args": [
4
+ "id-or-shape"
5
+ ],
6
+ "ret": "this"
7
+ },
8
+ "setColorMode": {
9
+ "args": [],
10
+ "ret": "this"
11
+ },
12
+ "setCurrentTheme": {
13
+ "args": [],
14
+ "ret": "this"
15
+ },
16
+ "updateThemes": {
17
+ "args": [],
18
+ "ret": "this"
19
+ },
20
+ "updateTheme": {
21
+ "args": [],
22
+ "ret": "this"
23
+ },
24
+ "getShapeUtil": {
25
+ "args": [
26
+ "update-partial"
27
+ ],
28
+ "ret": "shape-or-null"
29
+ },
30
+ "hasShapeUtil": {
31
+ "args": [
32
+ "update-partial"
33
+ ],
34
+ "ret": "this"
35
+ },
36
+ "getShapeUtilForAssetType": {
37
+ "args": [],
38
+ "ret": "shape-or-null"
39
+ },
40
+ "undo": {
41
+ "args": [],
42
+ "ret": "this"
43
+ },
44
+ "redo": {
45
+ "args": [],
46
+ "ret": "this"
47
+ },
48
+ "clearHistory": {
49
+ "args": [],
50
+ "ret": "this"
51
+ },
52
+ "squashToMark": {
53
+ "args": [],
54
+ "ret": "this"
55
+ },
56
+ "bail": {
57
+ "args": [],
58
+ "ret": "this"
59
+ },
60
+ "bailToMark": {
61
+ "args": [],
62
+ "ret": "this"
63
+ },
64
+ "run": {
65
+ "args": [],
66
+ "ret": "this"
67
+ },
68
+ "annotateError": {
69
+ "args": [],
70
+ "ret": "this"
71
+ },
72
+ "createErrorAnnotations": {
73
+ "args": [],
74
+ "ret": "ids"
75
+ },
76
+ "crash": {
77
+ "args": [],
78
+ "ret": "this"
79
+ },
80
+ "setCurrentTool": {
81
+ "args": [],
82
+ "ret": "this"
83
+ },
84
+ "updateDocumentSettings": {
85
+ "args": [],
86
+ "ret": "this"
87
+ },
88
+ "updateInstanceState": {
89
+ "args": [],
90
+ "ret": "this"
91
+ },
92
+ "setCursor": {
93
+ "args": [],
94
+ "ret": "this"
95
+ },
96
+ "updateCurrentPageState": {
97
+ "args": [],
98
+ "ret": "this"
99
+ },
100
+ "getSelectedShapeIds": {
101
+ "args": [],
102
+ "ret": "ids"
103
+ },
104
+ "getSelectedShapes": {
105
+ "args": [],
106
+ "ret": "shapes"
107
+ },
108
+ "setSelectedShapes": {
109
+ "args": [
110
+ "ids-or-shapes"
111
+ ],
112
+ "ret": "this"
113
+ },
114
+ "isAncestorSelected": {
115
+ "args": [
116
+ "id-or-shape"
117
+ ],
118
+ "ret": "this"
119
+ },
120
+ "select": {
121
+ "args": [
122
+ "spread-ids"
123
+ ],
124
+ "ret": "this"
125
+ },
126
+ "deselect": {
127
+ "args": [
128
+ "spread-ids"
129
+ ],
130
+ "ret": "this"
131
+ },
132
+ "selectAll": {
133
+ "args": [],
134
+ "ret": "this"
135
+ },
136
+ "getCurrentPageShapesInReadingOrder": {
137
+ "args": [],
138
+ "ret": "shapes"
139
+ },
140
+ "getNearestAdjacentShape": {
141
+ "args": [
142
+ "ids-or-shapes",
143
+ "id-or-shape"
144
+ ],
145
+ "ret": "this"
146
+ },
147
+ "selectNone": {
148
+ "args": [],
149
+ "ret": "this"
150
+ },
151
+ "getOnlySelectedShape": {
152
+ "args": [],
153
+ "ret": "shape-or-null"
154
+ },
155
+ "getShapesPageBounds": {
156
+ "args": [
157
+ "ids-or-shapes"
158
+ ],
159
+ "ret": "this"
160
+ },
161
+ "getShapesSharedRotation": {
162
+ "args": [
163
+ "ids-or-shapes"
164
+ ],
165
+ "ret": "this"
166
+ },
167
+ "getShapesRotatedPageBounds": {
168
+ "args": [
169
+ "ids-or-shapes"
170
+ ],
171
+ "ret": "this"
172
+ },
173
+ "getFocusedGroup": {
174
+ "args": [],
175
+ "ret": "shape-or-null"
176
+ },
177
+ "setFocusedGroup": {
178
+ "args": [
179
+ "id-or-shape"
180
+ ],
181
+ "ret": "this"
182
+ },
183
+ "popFocusedGroupId": {
184
+ "args": [],
185
+ "ret": "this"
186
+ },
187
+ "getEditingShape": {
188
+ "args": [],
189
+ "ret": "shape-or-null"
190
+ },
191
+ "setEditingShape": {
192
+ "args": [
193
+ "id-or-shape"
194
+ ],
195
+ "ret": "this"
196
+ },
197
+ "setRichTextEditor": {
198
+ "args": [],
199
+ "ret": "this"
200
+ },
201
+ "getHoveredShape": {
202
+ "args": [],
203
+ "ret": "shape-or-null"
204
+ },
205
+ "setHoveredShape": {
206
+ "args": [
207
+ "id-or-shape"
208
+ ],
209
+ "ret": "this"
210
+ },
211
+ "getHintingShapeIds": {
212
+ "args": [],
213
+ "ret": "ids"
214
+ },
215
+ "getHintingShape": {
216
+ "args": [],
217
+ "ret": "shapes"
218
+ },
219
+ "setHintingShapes": {
220
+ "args": [
221
+ "ids-or-shapes"
222
+ ],
223
+ "ret": "this"
224
+ },
225
+ "getErasingShapeIds": {
226
+ "args": [],
227
+ "ret": "ids"
228
+ },
229
+ "getErasingShapes": {
230
+ "args": [],
231
+ "ret": "shapes"
232
+ },
233
+ "setErasingShapes": {
234
+ "args": [
235
+ "ids-or-shapes"
236
+ ],
237
+ "ret": "this"
238
+ },
239
+ "setCroppingShape": {
240
+ "args": [
241
+ "id-or-shape"
242
+ ],
243
+ "ret": "this"
244
+ },
245
+ "setCameraOptions": {
246
+ "args": [],
247
+ "ret": "this"
248
+ },
249
+ "setCamera": {
250
+ "args": [],
251
+ "ret": "this"
252
+ },
253
+ "centerOnPoint": {
254
+ "args": [],
255
+ "ret": "this"
256
+ },
257
+ "zoomToFit": {
258
+ "args": [],
259
+ "ret": "this"
260
+ },
261
+ "resetZoom": {
262
+ "args": [],
263
+ "ret": "this"
264
+ },
265
+ "zoomIn": {
266
+ "args": [],
267
+ "ret": "this"
268
+ },
269
+ "zoomOut": {
270
+ "args": [],
271
+ "ret": "this"
272
+ },
273
+ "zoomToSelection": {
274
+ "args": [],
275
+ "ret": "this"
276
+ },
277
+ "zoomToBounds": {
278
+ "args": [],
279
+ "ret": "this"
280
+ },
281
+ "stopCameraAnimation": {
282
+ "args": [],
283
+ "ret": "this"
284
+ },
285
+ "slideCamera": {
286
+ "args": [],
287
+ "ret": "this"
288
+ },
289
+ "zoomToUser": {
290
+ "args": [],
291
+ "ret": "this"
292
+ },
293
+ "updateViewportScreenBounds": {
294
+ "args": [],
295
+ "ret": "this"
296
+ },
297
+ "startFollowingUser": {
298
+ "args": [],
299
+ "ret": "this"
300
+ },
301
+ "stopFollowingUser": {
302
+ "args": [],
303
+ "ret": "this"
304
+ },
305
+ "getCurrentPageShapeIds": {
306
+ "args": [],
307
+ "ret": "id-set"
308
+ },
309
+ "getCurrentPageShapeIdsSorted": {
310
+ "args": [],
311
+ "ret": "ids"
312
+ },
313
+ "getPageShapeIds": {
314
+ "args": [],
315
+ "ret": "id-set"
316
+ },
317
+ "setCurrentPage": {
318
+ "args": [],
319
+ "ret": "this"
320
+ },
321
+ "updatePage": {
322
+ "args": [],
323
+ "ret": "this"
324
+ },
325
+ "createPage": {
326
+ "args": [],
327
+ "ret": "this"
328
+ },
329
+ "deletePage": {
330
+ "args": [],
331
+ "ret": "this"
332
+ },
333
+ "duplicatePage": {
334
+ "args": [],
335
+ "ret": "this"
336
+ },
337
+ "renamePage": {
338
+ "args": [],
339
+ "ret": "this"
340
+ },
341
+ "createAssets": {
342
+ "args": [],
343
+ "ret": "this"
344
+ },
345
+ "updateAssets": {
346
+ "args": [],
347
+ "ret": "this"
348
+ },
349
+ "deleteAssets": {
350
+ "args": [],
351
+ "ret": "this"
352
+ },
353
+ "getShapeGeometry": {
354
+ "args": [
355
+ "id-or-shape"
356
+ ],
357
+ "ret": "this"
358
+ },
359
+ "getShapeLocalTransform": {
360
+ "args": [
361
+ "id-or-shape"
362
+ ],
363
+ "ret": "this"
364
+ },
365
+ "getShapeParentTransform": {
366
+ "args": [
367
+ "id-or-shape"
368
+ ],
369
+ "ret": "this"
370
+ },
371
+ "getShapePageTransform": {
372
+ "args": [
373
+ "id-or-shape"
374
+ ],
375
+ "ret": "this"
376
+ },
377
+ "getShapePageBounds": {
378
+ "args": [
379
+ "id-or-shape"
380
+ ],
381
+ "ret": "this"
382
+ },
383
+ "getShapeClipPath": {
384
+ "args": [
385
+ "id-or-shape"
386
+ ],
387
+ "ret": "this"
388
+ },
389
+ "getShapeMask": {
390
+ "args": [
391
+ "id-or-shape"
392
+ ],
393
+ "ret": "this"
394
+ },
395
+ "getShapeMaskedPageBounds": {
396
+ "args": [
397
+ "id-or-shape"
398
+ ],
399
+ "ret": "this"
400
+ },
401
+ "getShapeAncestors": {
402
+ "args": [
403
+ "id-or-shape",
404
+ "ids-or-shapes"
405
+ ],
406
+ "ret": "shapes"
407
+ },
408
+ "findShapeAncestor": {
409
+ "args": [
410
+ "id-or-shape",
411
+ "id-or-shape"
412
+ ],
413
+ "ret": "shape-or-null"
414
+ },
415
+ "hasAncestor": {
416
+ "args": [
417
+ "id-or-shape",
418
+ "id-or-shape"
419
+ ],
420
+ "ret": "this"
421
+ },
422
+ "findCommonAncestor": {
423
+ "args": [
424
+ "ids-or-shapes",
425
+ "id-or-shape"
426
+ ],
427
+ "ret": "this"
428
+ },
429
+ "isShapeOrAncestorLocked": {
430
+ "args": [
431
+ "id-or-shape"
432
+ ],
433
+ "ret": "this"
434
+ },
435
+ "getNotVisibleShapes": {
436
+ "args": [],
437
+ "ret": "id-set"
438
+ },
439
+ "getCulledShapes": {
440
+ "args": [],
441
+ "ret": "id-set"
442
+ },
443
+ "getSelectedShapeAtPoint": {
444
+ "args": [],
445
+ "ret": "shape-or-null"
446
+ },
447
+ "getShapeAtPoint": {
448
+ "args": [],
449
+ "ret": "shape-or-null"
450
+ },
451
+ "getShapesAtPoint": {
452
+ "args": [],
453
+ "ret": "shapes"
454
+ },
455
+ "getShapeIdsInsideBounds": {
456
+ "args": [],
457
+ "ret": "id-set"
458
+ },
459
+ "isPointInShape": {
460
+ "args": [
461
+ "id-or-shape"
462
+ ],
463
+ "ret": "this"
464
+ },
465
+ "getPointInShapeSpace": {
466
+ "args": [
467
+ "id-or-shape"
468
+ ],
469
+ "ret": "this"
470
+ },
471
+ "getPointInParentSpace": {
472
+ "args": [
473
+ "id-or-shape"
474
+ ],
475
+ "ret": "this"
476
+ },
477
+ "getCurrentPageShapes": {
478
+ "args": [],
479
+ "ret": "shapes"
480
+ },
481
+ "getCurrentPageShapesSorted": {
482
+ "args": [],
483
+ "ret": "shapes"
484
+ },
485
+ "getCurrentPageRenderingShapesSorted": {
486
+ "args": [],
487
+ "ret": "shapes"
488
+ },
489
+ "isShapeOfType": {
490
+ "args": [
491
+ "id-or-shape"
492
+ ],
493
+ "ret": "this"
494
+ },
495
+ "isShapeFrameLike": {
496
+ "args": [
497
+ "id-or-shape"
498
+ ],
499
+ "ret": "this"
500
+ },
501
+ "getShape": {
502
+ "args": [
503
+ "id-or-shape"
504
+ ],
505
+ "ret": "shape-or-null"
506
+ },
507
+ "getShapeParent": {
508
+ "args": [
509
+ "id-or-shape"
510
+ ],
511
+ "ret": "shape-or-null"
512
+ },
513
+ "getShapeNearestSibling": {
514
+ "args": [
515
+ "id-or-shape",
516
+ "id-or-shape"
517
+ ],
518
+ "ret": "shape-or-null"
519
+ },
520
+ "isShapeInPage": {
521
+ "args": [
522
+ "id-or-shape"
523
+ ],
524
+ "ret": "this"
525
+ },
526
+ "getAncestorPageId": {
527
+ "args": [
528
+ "id-or-shape"
529
+ ],
530
+ "ret": "this"
531
+ },
532
+ "reparentShapes": {
533
+ "args": [
534
+ "ids-or-shapes",
535
+ "id-or-shape"
536
+ ],
537
+ "ret": "this"
538
+ },
539
+ "getHighestIndexForParent": {
540
+ "args": [
541
+ "id-or-shape"
542
+ ],
543
+ "ret": "this"
544
+ },
545
+ "getSortedChildIdsForParent": {
546
+ "args": [
547
+ "id-or-shape"
548
+ ],
549
+ "ret": "ids"
550
+ },
551
+ "visitDescendants": {
552
+ "args": [
553
+ "id-or-shape",
554
+ "id-or-shape"
555
+ ],
556
+ "ret": "this"
557
+ },
558
+ "getShapeAndDescendantIds": {
559
+ "args": [
560
+ "ids-or-shapes"
561
+ ],
562
+ "ret": "id-set"
563
+ },
564
+ "getDraggingOverShape": {
565
+ "args": [
566
+ "id",
567
+ "ids-or-shapes"
568
+ ],
569
+ "ret": "shape-or-null"
570
+ },
571
+ "getOutermostSelectableShape": {
572
+ "args": [
573
+ "id-or-shape",
574
+ "id-or-shape"
575
+ ],
576
+ "ret": "shape-or-null"
577
+ },
578
+ "getBindingsFromShape": {
579
+ "args": [
580
+ "id-or-shape"
581
+ ],
582
+ "ret": "this"
583
+ },
584
+ "getBindingsToShape": {
585
+ "args": [
586
+ "id-or-shape"
587
+ ],
588
+ "ret": "this"
589
+ },
590
+ "getBindingsInvolvingShape": {
591
+ "args": [
592
+ "id-or-shape"
593
+ ],
594
+ "ret": "this"
595
+ },
596
+ "createBindings": {
597
+ "args": [],
598
+ "ret": "this"
599
+ },
600
+ "createBinding": {
601
+ "args": [],
602
+ "ret": "this"
603
+ },
604
+ "updateBindings": {
605
+ "args": [
606
+ "id-or-shape"
607
+ ],
608
+ "ret": "this"
609
+ },
610
+ "updateBinding": {
611
+ "args": [],
612
+ "ret": "this"
613
+ },
614
+ "deleteBindings": {
615
+ "args": [],
616
+ "ret": "this"
617
+ },
618
+ "deleteBinding": {
619
+ "args": [],
620
+ "ret": "this"
621
+ },
622
+ "canBindShapes": {
623
+ "args": [
624
+ "id-or-shape"
625
+ ],
626
+ "ret": "this"
627
+ },
628
+ "rotateShapesBy": {
629
+ "args": [
630
+ "ids-or-shapes"
631
+ ],
632
+ "ret": "this"
633
+ },
634
+ "nudgeShapes": {
635
+ "args": [
636
+ "ids-or-shapes"
637
+ ],
638
+ "ret": "this"
639
+ },
640
+ "duplicateShapes": {
641
+ "args": [
642
+ "ids-or-shapes"
643
+ ],
644
+ "ret": "this"
645
+ },
646
+ "moveShapesToPage": {
647
+ "args": [
648
+ "ids-or-shapes"
649
+ ],
650
+ "ret": "this"
651
+ },
652
+ "toggleLock": {
653
+ "args": [
654
+ "ids-or-shapes"
655
+ ],
656
+ "ret": "this"
657
+ },
658
+ "sendToBack": {
659
+ "args": [
660
+ "ids-or-shapes"
661
+ ],
662
+ "ret": "this"
663
+ },
664
+ "sendBackward": {
665
+ "args": [
666
+ "ids-or-shapes"
667
+ ],
668
+ "ret": "this"
669
+ },
670
+ "bringForward": {
671
+ "args": [
672
+ "ids-or-shapes"
673
+ ],
674
+ "ret": "this"
675
+ },
676
+ "bringToFront": {
677
+ "args": [
678
+ "ids-or-shapes"
679
+ ],
680
+ "ret": "this"
681
+ },
682
+ "flipShapes": {
683
+ "args": [
684
+ "ids-or-shapes"
685
+ ],
686
+ "ret": "this"
687
+ },
688
+ "stackShapes": {
689
+ "args": [
690
+ "ids-or-shapes"
691
+ ],
692
+ "ret": "this"
693
+ },
694
+ "packShapes": {
695
+ "args": [
696
+ "ids-or-shapes"
697
+ ],
698
+ "ret": "this"
699
+ },
700
+ "alignShapes": {
701
+ "args": [
702
+ "ids-or-shapes"
703
+ ],
704
+ "ret": "this"
705
+ },
706
+ "distributeShapes": {
707
+ "args": [
708
+ "ids-or-shapes"
709
+ ],
710
+ "ret": "this"
711
+ },
712
+ "stretchShapes": {
713
+ "args": [
714
+ "ids-or-shapes"
715
+ ],
716
+ "ret": "this"
717
+ },
718
+ "resizeToBounds": {
719
+ "args": [
720
+ "ids-or-shapes"
721
+ ],
722
+ "ret": "this"
723
+ },
724
+ "resizeShape": {
725
+ "args": [
726
+ "id-or-shape",
727
+ "id",
728
+ "id-or-shape"
729
+ ],
730
+ "ret": "this"
731
+ },
732
+ "getResizeShapePartial": {
733
+ "args": [
734
+ "id-or-shape",
735
+ "id",
736
+ "id-or-shape"
737
+ ],
738
+ "ret": "this"
739
+ },
740
+ "getInitialMetaForShape": {
741
+ "args": [
742
+ "id-or-shape"
743
+ ],
744
+ "ret": "this"
745
+ },
746
+ "canCreateShape": {
747
+ "args": [
748
+ "update-partial"
749
+ ],
750
+ "ret": "this"
751
+ },
752
+ "canCreateShapes": {
753
+ "args": [
754
+ "update-partials"
755
+ ],
756
+ "ret": "this"
757
+ },
758
+ "createShape": {
759
+ "args": [
760
+ "shape-partial"
761
+ ],
762
+ "ret": "this"
763
+ },
764
+ "createShapes": {
765
+ "args": [
766
+ "shape-partials"
767
+ ],
768
+ "ret": "this"
769
+ },
770
+ "animateShape": {
771
+ "args": [
772
+ "update-partial"
773
+ ],
774
+ "ret": "this"
775
+ },
776
+ "animateShapes": {
777
+ "args": [
778
+ "update-partials"
779
+ ],
780
+ "ret": "this"
781
+ },
782
+ "groupShapes": {
783
+ "args": [
784
+ "ids-or-shapes",
785
+ "id-or-shape"
786
+ ],
787
+ "ret": "this"
788
+ },
789
+ "ungroupShapes": {
790
+ "args": [
791
+ "ids-or-shapes"
792
+ ],
793
+ "ret": "this"
794
+ },
795
+ "updateShape": {
796
+ "args": [
797
+ "update-partial"
798
+ ],
799
+ "ret": "this"
800
+ },
801
+ "updateShapes": {
802
+ "args": [
803
+ "update-partials"
804
+ ],
805
+ "ret": "this"
806
+ },
807
+ "deleteShapes": {
808
+ "args": [
809
+ "ids-or-shapes"
810
+ ],
811
+ "ret": "this"
812
+ },
813
+ "deleteShape": {
814
+ "args": [
815
+ "id-or-shape"
816
+ ],
817
+ "ret": "this"
818
+ },
819
+ "getShapeStyleIfExists": {
820
+ "args": [
821
+ "id-or-shape"
822
+ ],
823
+ "ret": "this"
824
+ },
825
+ "setOpacityForNextShapes": {
826
+ "args": [],
827
+ "ret": "this"
828
+ },
829
+ "setOpacityForSelectedShapes": {
830
+ "args": [],
831
+ "ret": "this"
832
+ },
833
+ "setStyleForNextShapes": {
834
+ "args": [],
835
+ "ret": "this"
836
+ },
837
+ "setStyleForSelectedShapes": {
838
+ "args": [],
839
+ "ret": "this"
840
+ },
841
+ "registerExternalAssetHandler": {
842
+ "args": [],
843
+ "ret": "this"
844
+ },
845
+ "registerExternalContentHandler": {
846
+ "args": [],
847
+ "ret": "this"
848
+ },
849
+ "getContentFromCurrentPage": {
850
+ "args": [
851
+ "ids-or-shapes"
852
+ ],
853
+ "ret": "this"
854
+ },
855
+ "putContentOntoCurrentPage": {
856
+ "args": [],
857
+ "ret": "this"
858
+ },
859
+ "getSvgElement": {
860
+ "args": [
861
+ "ids-or-shapes"
862
+ ],
863
+ "ret": "this"
864
+ },
865
+ "getSvgString": {
866
+ "args": [
867
+ "ids-or-shapes"
868
+ ],
869
+ "ret": "this"
870
+ },
871
+ "toImage": {
872
+ "args": [
873
+ "ids-or-shapes"
874
+ ],
875
+ "ret": "this"
876
+ },
877
+ "toImageDataUrl": {
878
+ "args": [
879
+ "ids-or-shapes"
880
+ ],
881
+ "ret": "this"
882
+ },
883
+ "cancel": {
884
+ "args": [],
885
+ "ret": "this"
886
+ },
887
+ "interrupt": {
888
+ "args": [],
889
+ "ret": "this"
890
+ },
891
+ "complete": {
892
+ "args": [],
893
+ "ret": "this"
894
+ },
895
+ "updatePointer": {
896
+ "args": [],
897
+ "ret": "this"
898
+ },
899
+ "focus": {
900
+ "args": [],
901
+ "ret": "this"
902
+ },
903
+ "blur": {
904
+ "args": [],
905
+ "ret": "this"
906
+ },
907
+ "loadSnapshot": {
908
+ "args": [],
909
+ "ret": "this"
910
+ },
911
+ "dispatch": {
912
+ "args": [],
913
+ "ret": "this"
914
+ }
915
+ }