microboard-temp 0.14.19 → 0.14.21
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.
- package/dist/cjs/browser.js +388 -154
- package/dist/cjs/index.js +388 -154
- package/dist/cjs/node.js +388 -154
- package/dist/cjs/overlayIconManifest.js +115 -0
- package/dist/esm/browser.js +388 -154
- package/dist/esm/index.js +388 -154
- package/dist/esm/node.js +388 -154
- package/dist/esm/overlayIconManifest.js +113 -0
- package/dist/overlay-icons/Items/Card/icons/Flip.icon.svg +1 -0
- package/dist/overlay-icons/Items/Card/icons/RotateCcw.icon.svg +1 -0
- package/dist/overlay-icons/Items/Card/icons/RotateCw.icon.svg +1 -0
- package/dist/overlay-icons/Items/Card/icons/Tool.icon.svg +7 -0
- package/dist/overlay-icons/Items/Connector/icons/LineCurved.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/LineOrthogonal.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/LineStraight.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerArrowHeavy.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerArrowThin.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerCircleFilled.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerCircleOutline.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerDiamondFilled.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerDiamondOutline.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerNone.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerTriangleFilled.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/PointerTriangleOutline.icon.svg +1 -0
- package/dist/overlay-icons/Items/Connector/icons/SmartJump.icon.svg +3 -0
- package/dist/overlay-icons/Items/Connector/icons/Style.icon.svg +5 -0
- package/dist/overlay-icons/Items/Connector/icons/SwitchPointers.icon.svg +4 -0
- package/dist/overlay-icons/Items/Connector/icons/Tool.icon.svg +3 -0
- package/dist/overlay-icons/Items/Deck/icons/CreateFromSelection.icon.svg +1 -0
- package/dist/overlay-icons/Items/Deck/icons/DrawBottom.icon.svg +1 -0
- package/dist/overlay-icons/Items/Deck/icons/DrawMany.icon.svg +1 -0
- package/dist/overlay-icons/Items/Deck/icons/DrawRandom.icon.svg +1 -0
- package/dist/overlay-icons/Items/Deck/icons/DrawTop.icon.svg +1 -0
- package/dist/overlay-icons/Items/Deck/icons/Flip.icon.svg +1 -0
- package/dist/overlay-icons/Items/Deck/icons/Shuffle.icon.svg +1 -0
- package/dist/overlay-icons/Items/Dice/icons/Range.icon.svg +1 -0
- package/dist/overlay-icons/Items/Dice/icons/Throw.icon.svg +1 -0
- package/dist/overlay-icons/Items/Dice/icons/Tool.icon.svg +1 -0
- package/dist/overlay-icons/Items/Drawing/icons/Eraser.icon.svg +3 -0
- package/dist/overlay-icons/Items/Drawing/icons/Highlighter.icon.svg +3 -0
- package/dist/overlay-icons/Items/Drawing/icons/Pen.icon.svg +3 -0
- package/dist/overlay-icons/Items/Frame/Basic/1-1/1-1.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Basic/16-9/16-9.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Basic/3-2/3-2.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Basic/4-3/4-3.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Basic/9-18/9-18.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Basic/A4/A4.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Basic/Custom/Custom.icon.svg +14 -0
- package/dist/overlay-icons/Items/Frame/Basic/Letter/Letter.icon.svg +1 -0
- package/dist/overlay-icons/Items/Frame/Frame.icon.svg +1 -0
- package/dist/overlay-icons/Items/Placeholder/Placeholder.icon.svg +4 -0
- package/dist/overlay-icons/Items/RichText/icons/FontSize.icon.svg +3 -0
- package/dist/overlay-icons/Items/RichText/icons/Text.icon.svg +3 -0
- package/dist/overlay-icons/Items/Screen/icons/Background.icon.svg +1 -0
- package/dist/overlay-icons/Items/Screen/icons/BackgroundImage.icon.svg +1 -0
- package/dist/overlay-icons/Items/Screen/icons/BackgroundImageRemove.icon.svg +1 -0
- package/dist/overlay-icons/Items/Screen/icons/Pouch.icon.svg +1 -0
- package/dist/overlay-icons/Items/Screen/icons/Tool.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_Annotation/BPMN_Annotation.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_DataObject/BPMN_DataObject.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_DataStore/BPMN_DataStore.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_EndEvent/BPMN_EndEvent.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_EventSubprocess/BPMN_EventSubprocess.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_Gateway/BPMN_Gateway.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_GatewayParallel/BPMN_GatewayParallel.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_GatewayXOR/BPMN_GatewayXOR.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_Group/BPMN_Group.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_IntermediateEvent/BPMN_IntermediateEvent.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_IntermediateEventNoneInterrupting/BPMN_IntermediateEventNoneInterrupting.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_Participant/BPMN_Participant.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_StartEvent/BPMN_StartEvent.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_StartEventNoneInterrupting/BPMN_StartEventNoneInterrupting.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_Task/BPMN_Task.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/BPMN/BPMN_Transaction/BPMN_Transaction.icon.svg +1 -0
- package/dist/overlay-icons/Items/Shape/Basic/ArrowLeft/ArrowLeft.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/ArrowLeftRight/ArrowLeftRight.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/ArrowRight/ArrowRight.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/BracesLeft/BracesLeft.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/BracesRight/BracesRight.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Circle/Circle.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Cloud/Cloud.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Cross/Cross.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Cylinder/Cylinder.icon.svg +19 -0
- package/dist/overlay-icons/Items/Shape/Basic/Hexagon/Hexagon.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Octagon/Octagon.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Parallelogram/Parallelogram.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Pentagon/Pentagon.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Rectangle/Rectangle.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Rhombus/Rhombus.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/RoundedRectangle/RoundedRectangle.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/SpeachBubble/SpeachBubble.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Star/Star.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Trapezoid/Trapezoid.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/Basic/Triangle/Triangle.icon.svg +14 -0
- package/dist/overlay-icons/Items/Shape/icons/ArrowBlockLeft.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/ArrowBlockRight.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/Color.icon.svg +4 -0
- package/dist/overlay-icons/Items/Shape/icons/Fill.icon.svg +4 -0
- package/dist/overlay-icons/Items/Shape/icons/PredefinedProcess.icon.svg +4 -0
- package/dist/overlay-icons/Items/Shape/icons/ReversedParallelogram.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/ReversedTriangle.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/Stroke.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/StrokeDash.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/StrokeDot.icon.svg +5 -0
- package/dist/overlay-icons/Items/Shape/icons/StrokeLongDash.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/StrokeSolid.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/Tool.icon.svg +3 -0
- package/dist/overlay-icons/Items/Shape/icons/Type.icon.svg +5 -0
- package/dist/overlay-icons/Items/Sticker/Path/Sticker.icon.svg +14 -0
- package/dist/overlay-icons/Overlay/icons/BringToFront.icon.svg +5 -0
- package/dist/overlay-icons/Overlay/icons/Delete.icon.svg +7 -0
- package/dist/overlay-icons/Overlay/icons/Duplicate.icon.svg +4 -0
- package/dist/overlay-icons/Overlay/icons/Lock.icon.svg +4 -0
- package/dist/overlay-icons/Overlay/icons/SendToBack.icon.svg +5 -0
- package/dist/overlay-icons/Overlay/icons/Unlock.icon.svg +4 -0
- package/dist/overlay-icons/Overlay/overlay-icons.svg +323 -0
- package/dist/types/Items/Card/CardOverlay.d.ts +2 -1
- package/dist/types/Overlay/IconPack.d.ts +5 -3
- package/dist/types/Overlay/OverlayMetadata.d.ts +24 -0
- package/dist/types/Overlay/overlayRegistry.d.ts +1 -0
- package/dist/types/Selection/SelectionOverlay.d.ts +1 -0
- package/dist/types/Selection/index.d.ts +1 -0
- package/dist/types/Tools/WorkflowTool.d.ts +8 -0
- package/dist/types/Tools/index.d.ts +1 -0
- package/dist/types/overlayIconManifest.d.ts +2 -0
- package/package.json +8 -2
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
|
|
2
|
+
<symbol id="tool.pen" viewBox="0 0 24 24">
|
|
3
|
+
<path fill="currentColor" d="M13.95 4.12a3.82 3.82 0 0 1 5.4 5.41l-8.56 8.58h8.77a.94.94 0 1 1 0 1.89H4.44a.94.94 0 0 1-.94-.94v-4.08c0-.25.1-.49.28-.67zM8.12 18.11l7.48-7.5-2.73-2.74-7.48 7.5v2.74zm6.09-11.58 2.73 2.74 1.08-1.08a1.93 1.93 0 0 0-2.73-2.74z"/>
|
|
4
|
+
</symbol>
|
|
5
|
+
<symbol id="tool.highlighter" viewBox="0 0 18 18">
|
|
6
|
+
<path fill="currentColor" d="M9 17.33A8.33 8.33 0 1 0 9 .67a8.33 8.33 0 0 0 0 16.66m2.72-2.24A6.66 6.66 0 0 1 9 15.67a6.66 6.66 0 0 1-2.72-.58l.27-4.42h4.9zM6.5 9V7.22c0-.43.28-.81.68-.95l3-1c.65-.22 1.32.27 1.32.95V9h.6c.19 0 .37.06.51.18.15.11.25.27.3.45l.18 2.66A6.65 6.65 0 0 0 15.67 9 6.67 6.67 0 1 0 4.91 14.3l.18-2.67c.04-.18.15-.34.29-.45A.83.83 0 0 1 5.9 9z"/>
|
|
7
|
+
</symbol>
|
|
8
|
+
<symbol id="tool.eraser" viewBox="0 0 17 17">
|
|
9
|
+
<path fill="currentColor" d="M6.16 6.38 2.03 10.5l4.33 4.33h1.95l3.15-3.15zm1.17-1.18 5.31 5.31 2.36-2.36-5.31-5.31zm3.34 9.63h5a.83.83 0 1 1 0 1.67H9l-3.33.01L.26 11.1a.83.83 0 0 1 0-1.18L9.1 1.08a.83.83 0 0 1 1.18 0l6.48 6.48a.83.83 0 0 1 0 1.18z"/>
|
|
10
|
+
</symbol>
|
|
11
|
+
<symbol id="tool.text" viewBox="0 0 24 24">
|
|
12
|
+
<path fill="currentColor" d="M13 6v14a1 1 0 1 1-2 0V6H4a1 1 0 1 1 0-2h16a1 1 0 1 1 0 2z"/>
|
|
13
|
+
</symbol>
|
|
14
|
+
<symbol id="tool.shape" viewBox="0 0 24 24">
|
|
15
|
+
<path fill="currentColor" d="M16.5 14.28V10.5A3 3 0 0 0 13.5 7.5H9.72A7.5 7.5 0 1 1 16.5 14.28M4.5 9.5h9a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1"/>
|
|
16
|
+
</symbol>
|
|
17
|
+
<symbol id="tool.connector" viewBox="0 0 24 24">
|
|
18
|
+
<path fill="currentColor" d="M21.66 3.75a.48.48 0 0 0-.42-.41l-5.47.64a.47.47 0 0 0-.29.8l1.61 1.58L2.56 20.4a.75.75 0 1 0 1.08 1.05L18.17 7.28l1.61 1.57a.47.47 0 0 0 .79-.22z"/>
|
|
19
|
+
</symbol>
|
|
20
|
+
<symbol id="tool.sticker" viewBox="0 0 24 24">
|
|
21
|
+
<path fill="currentColor" d="M12.96 20 20 12.96h-5.04c-1.1 0-2 .9-2 2.01z"/>
|
|
22
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" d="M20 12.96V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6.96M20 12.96 12.96 20m7.04-7.04h-5.04c-1.1 0-2 .9-2 2.01V20"/>
|
|
23
|
+
</symbol>
|
|
24
|
+
<symbol id="tool.frame" viewBox="0 0 24 24">
|
|
25
|
+
<path fill="currentColor" d="M8 8v8h8V8zm-2-1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1zm0-4a1 1 0 1 1 2 0v1H6zm10 0a1 1 0 1 1 2 0v1h-2zM2 7a1 1 0 0 1 1-1h1v2H3a1 1 0 0 1-1-1m17 0a1 1 0 0 1 1-1h1v2h-1a1 1 0 0 1-1-1M2 17a1 1 0 0 1 1-1h1v2H3a1 1 0 0 1-1-1m17 0a1 1 0 0 1 1-1h1v2h-1a1 1 0 0 1-1-1M6 20a1 1 0 1 1 2 0v1H6zm10 0a1 1 0 1 1 2 0v1h-2z"/>
|
|
26
|
+
</symbol>
|
|
27
|
+
<symbol id="tool.dice" viewBox="0 0 24 24">
|
|
28
|
+
<rect x="4" y="4" width="16" height="16" rx="3" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
29
|
+
<circle cx="9" cy="9" r="1.5" fill="currentColor"/>
|
|
30
|
+
<circle cx="15" cy="15" r="1.5" fill="currentColor"/>
|
|
31
|
+
<circle cx="15" cy="9" r="1.5" fill="currentColor"/>
|
|
32
|
+
<circle cx="9" cy="15" r="1.5" fill="currentColor"/>
|
|
33
|
+
</symbol>
|
|
34
|
+
<symbol id="tool.screen" viewBox="0 0 24 24">
|
|
35
|
+
<rect x="3" y="5" width="18" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
36
|
+
<path fill="currentColor" d="M9 19h6v2H9z"/>
|
|
37
|
+
</symbol>
|
|
38
|
+
<symbol id="tool.pouch" viewBox="0 0 24 24">
|
|
39
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" d="M7 7V5a5 5 0 0 1 10 0v2h2l-1.5 12h-11L5 7z"/>
|
|
40
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M9 10a3 3 0 0 0 6 0"/>
|
|
41
|
+
</symbol>
|
|
42
|
+
|
|
43
|
+
<symbol id="shape.fill" viewBox="0 0 24 24">
|
|
44
|
+
<path fill="currentColor" d="M12 4 5 11l7 7 7-7zm0 11.17L7.83 11 12 6.83 16.17 11z"/>
|
|
45
|
+
<path fill="currentColor" d="M5 19h14v2H5z"/>
|
|
46
|
+
</symbol>
|
|
47
|
+
<symbol id="shape.stroke" viewBox="0 0 24 24">
|
|
48
|
+
<rect x="5" y="5" width="14" height="14" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
49
|
+
</symbol>
|
|
50
|
+
<symbol id="shape.type" viewBox="0 0 24 24">
|
|
51
|
+
<rect x="3" y="4" width="7" height="7" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
52
|
+
<circle cx="17" cy="8" r="4" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
53
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m6.5 17 3.5-5 3.5 5zm7-3h7"/>
|
|
54
|
+
</symbol>
|
|
55
|
+
|
|
56
|
+
<symbol id="text.fontSize" viewBox="0 0 24 24">
|
|
57
|
+
<path fill="currentColor" d="M4 18h2l1.2-3h4.6L13 18h2l-4.8-12H8.8zm4-5 1.5-4 1.5 4zM17 8h3v10h-2v-8h-1z"/>
|
|
58
|
+
</symbol>
|
|
59
|
+
|
|
60
|
+
<symbol id="dice.throw" viewBox="0 0 24 24">
|
|
61
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M12 4a8 8 0 1 1-7.45 11"/>
|
|
62
|
+
<path fill="currentColor" d="m6 13 1.5 4L3.5 16z"/>
|
|
63
|
+
</symbol>
|
|
64
|
+
<symbol id="dice.range" viewBox="0 0 24 24">
|
|
65
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M5 18h14M7 15V8m10 7V5"/>
|
|
66
|
+
<circle cx="7" cy="8" r="1.5" fill="currentColor"/>
|
|
67
|
+
<circle cx="17" cy="5" r="1.5" fill="currentColor"/>
|
|
68
|
+
</symbol>
|
|
69
|
+
|
|
70
|
+
<symbol id="screen.background" viewBox="0 0 24 24">
|
|
71
|
+
<rect x="3" y="5" width="18" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
72
|
+
<path fill="currentColor" d="M6 14 10 10l3 3 2-2 3 3v1H6z"/>
|
|
73
|
+
</symbol>
|
|
74
|
+
<symbol id="screen.backgroundImage" viewBox="0 0 24 24">
|
|
75
|
+
<rect x="3" y="5" width="18" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
76
|
+
<path fill="currentColor" d="M6 14 10 10l3 3 2-2 3 3v1H6zM18 4h2v2h2v2h-2v2h-2V8h-2V6h2z"/>
|
|
77
|
+
</symbol>
|
|
78
|
+
<symbol id="screen.backgroundImage.remove" viewBox="0 0 24 24">
|
|
79
|
+
<rect x="3" y="5" width="18" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
80
|
+
<path fill="currentColor" d="M6 14 10 10l3 3 2-2 3 3v1H6z"/>
|
|
81
|
+
<path stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M17 5l5 5M22 5l-5 5"/>
|
|
82
|
+
</symbol>
|
|
83
|
+
|
|
84
|
+
<symbol id="deck.drawTop" viewBox="0 0 24 24">
|
|
85
|
+
<rect x="7" y="6" width="10" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
86
|
+
<path fill="currentColor" d="m12 3 4 4H8z"/>
|
|
87
|
+
</symbol>
|
|
88
|
+
<symbol id="deck.drawBottom" viewBox="0 0 24 24">
|
|
89
|
+
<rect x="7" y="4" width="10" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
90
|
+
<path fill="currentColor" d="m12 21-4-4h8z"/>
|
|
91
|
+
</symbol>
|
|
92
|
+
<symbol id="deck.drawRandom" viewBox="0 0 24 24">
|
|
93
|
+
<rect x="6" y="5" width="10" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
94
|
+
<rect x="9" y="8" width="10" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
95
|
+
<path fill="currentColor" d="m4 17 2 2-2 2-2-2zm16-14 2 2-2 2-2-2z"/>
|
|
96
|
+
</symbol>
|
|
97
|
+
<symbol id="deck.drawMany" viewBox="0 0 24 24">
|
|
98
|
+
<rect x="5" y="6" width="8" height="12" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
99
|
+
<rect x="11" y="6" width="8" height="12" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
100
|
+
</symbol>
|
|
101
|
+
<symbol id="deck.shuffle" viewBox="0 0 24 24">
|
|
102
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M4 7h4l8 10h4M20 17v-4m0 4h-4M4 17h4l2.5-3M20 7v4m0-4h-4"/>
|
|
103
|
+
</symbol>
|
|
104
|
+
<symbol id="deck.flip" viewBox="0 0 24 24">
|
|
105
|
+
<rect x="5" y="5" width="9" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
106
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M16 7h3v10h-3"/>
|
|
107
|
+
<path fill="currentColor" d="m15 12 3-3v2h2v2h-2v2z"/>
|
|
108
|
+
</symbol>
|
|
109
|
+
<symbol id="deck.createFromSelection" viewBox="0 0 24 24">
|
|
110
|
+
<rect x="4" y="7" width="8" height="11" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
111
|
+
<rect x="12" y="7" width="8" height="11" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
112
|
+
<path fill="currentColor" d="M11 3h2v3h3v2h-3v3h-2V8H8V6h3z"/>
|
|
113
|
+
</symbol>
|
|
114
|
+
|
|
115
|
+
<symbol id="card.flip" viewBox="0 0 24 24">
|
|
116
|
+
<rect x="5" y="4" width="9" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
117
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M16 7h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2"/>
|
|
118
|
+
<path fill="currentColor" d="m15 12 3-3v2h2v2h-2v2z"/>
|
|
119
|
+
</symbol>
|
|
120
|
+
<symbol id="card.rotateCcw" viewBox="0 0 24 24">
|
|
121
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M7 10a6 6 0 1 1 2 8"/>
|
|
122
|
+
<path fill="currentColor" d="M8 5v5H3z"/>
|
|
123
|
+
</symbol>
|
|
124
|
+
<symbol id="card.rotateCw" viewBox="0 0 24 24">
|
|
125
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M17 10a6 6 0 1 0-2 8"/>
|
|
126
|
+
<path fill="currentColor" d="M16 5v5h5z"/>
|
|
127
|
+
</symbol>
|
|
128
|
+
|
|
129
|
+
<symbol id="connector.style" viewBox="0 0 24 24">
|
|
130
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M4 18c6-9 10-3 16-12"/>
|
|
131
|
+
<circle cx="5" cy="18" r="1.5" fill="currentColor"/>
|
|
132
|
+
<circle cx="19" cy="6" r="1.5" fill="currentColor"/>
|
|
133
|
+
</symbol>
|
|
134
|
+
<symbol id="connector.smartJump" viewBox="0 0 24 24">
|
|
135
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M4 14h6m4 0h6M10 14a2 2 0 1 1 4 0"/>
|
|
136
|
+
</symbol>
|
|
137
|
+
<symbol id="connector.switchPointers" viewBox="0 0 24 24">
|
|
138
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M5 8h14M19 16H5"/>
|
|
139
|
+
<path fill="currentColor" d="m16 5 4 3-4 3zm-8 8-4 3 4 3z"/>
|
|
140
|
+
</symbol>
|
|
141
|
+
|
|
142
|
+
<symbol id="connector.lineStyle.straight" viewBox="0 0 24 24">
|
|
143
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M5 18 19 6"/>
|
|
144
|
+
</symbol>
|
|
145
|
+
<symbol id="connector.lineStyle.curved" viewBox="0 0 24 24">
|
|
146
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M5 17c5-10 9 0 14-10"/>
|
|
147
|
+
</symbol>
|
|
148
|
+
<symbol id="connector.lineStyle.orthogonal" viewBox="0 0 24 24">
|
|
149
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M5 18h7V8h7"/>
|
|
150
|
+
</symbol>
|
|
151
|
+
|
|
152
|
+
<symbol id="connector.pointer.None" viewBox="0 0 24 24">
|
|
153
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M5 12h14"/>
|
|
154
|
+
</symbol>
|
|
155
|
+
<symbol id="connector.pointer.ArrowThin" viewBox="0 0 24 24">
|
|
156
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M4 12h12m0 0-4-4m4 4-4 4"/>
|
|
157
|
+
</symbol>
|
|
158
|
+
<symbol id="connector.pointer.ArrowHeavy" viewBox="0 0 24 24">
|
|
159
|
+
<path fill="currentColor" d="M4 11h8V7l8 5-8 5v-4H4z"/>
|
|
160
|
+
</symbol>
|
|
161
|
+
<symbol id="connector.pointer.TriangleFilled" viewBox="0 0 24 24">
|
|
162
|
+
<path fill="currentColor" d="M5 12h7V7l7 5-7 5v-5z"/>
|
|
163
|
+
</symbol>
|
|
164
|
+
<symbol id="connector.pointer.TriangleOutline" viewBox="0 0 24 24">
|
|
165
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" d="M5 12h7V7l7 5-7 5v-5z"/>
|
|
166
|
+
</symbol>
|
|
167
|
+
<symbol id="connector.pointer.CircleFilled" viewBox="0 0 24 24">
|
|
168
|
+
<path fill="currentColor" d="M5 12h7"/>
|
|
169
|
+
<circle cx="16" cy="12" r="4" fill="currentColor"/>
|
|
170
|
+
</symbol>
|
|
171
|
+
<symbol id="connector.pointer.CircleOutline" viewBox="0 0 24 24">
|
|
172
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M5 12h7"/>
|
|
173
|
+
<circle cx="16" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
174
|
+
</symbol>
|
|
175
|
+
<symbol id="connector.pointer.DiamondFilled" viewBox="0 0 24 24">
|
|
176
|
+
<path fill="currentColor" d="M5 12h6l5-5 5 5-5 5-5-5"/>
|
|
177
|
+
</symbol>
|
|
178
|
+
<symbol id="connector.pointer.DiamondOutline" viewBox="0 0 24 24">
|
|
179
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" d="M5 12h6l5-5 5 5-5 5-5-5"/>
|
|
180
|
+
</symbol>
|
|
181
|
+
|
|
182
|
+
<symbol id="stroke.solid" viewBox="0 0 24 24">
|
|
183
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M4 12h16"/>
|
|
184
|
+
</symbol>
|
|
185
|
+
<symbol id="stroke.dot" viewBox="0 0 24 24">
|
|
186
|
+
<circle cx="6" cy="12" r="1.5" fill="currentColor"/>
|
|
187
|
+
<circle cx="12" cy="12" r="1.5" fill="currentColor"/>
|
|
188
|
+
<circle cx="18" cy="12" r="1.5" fill="currentColor"/>
|
|
189
|
+
</symbol>
|
|
190
|
+
<symbol id="stroke.dash" viewBox="0 0 24 24">
|
|
191
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="4 4" stroke-linecap="round" d="M4 12h16"/>
|
|
192
|
+
</symbol>
|
|
193
|
+
<symbol id="stroke.longDash" viewBox="0 0 24 24">
|
|
194
|
+
<path fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="8 4" stroke-linecap="round" d="M4 12h16"/>
|
|
195
|
+
</symbol>
|
|
196
|
+
|
|
197
|
+
<symbol id="frame.Custom" viewBox="0 0 24 24">
|
|
198
|
+
<rect x="4" y="6" width="16" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
199
|
+
</symbol>
|
|
200
|
+
<symbol id="frame.A4" viewBox="0 0 24 24">
|
|
201
|
+
<rect x="7" y="4" width="10" height="16" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
202
|
+
<path fill="currentColor" d="M9 8h6v2H9zm0 4h6v2H9z"/>
|
|
203
|
+
</symbol>
|
|
204
|
+
<symbol id="frame.Letter" viewBox="0 0 24 24">
|
|
205
|
+
<rect x="6.5" y="4.5" width="11" height="15" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
206
|
+
<path fill="currentColor" d="M9 8h6v2H9z"/>
|
|
207
|
+
</symbol>
|
|
208
|
+
<symbol id="frame.Frame16x9" viewBox="0 0 24 24">
|
|
209
|
+
<rect x="4" y="7" width="16" height="9" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
210
|
+
</symbol>
|
|
211
|
+
<symbol id="frame.Frame4x3" viewBox="0 0 24 24">
|
|
212
|
+
<rect x="5" y="6" width="14" height="10.5" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
213
|
+
</symbol>
|
|
214
|
+
<symbol id="frame.Frame1x1" viewBox="0 0 24 24">
|
|
215
|
+
<rect x="6" y="6" width="12" height="12" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
216
|
+
</symbol>
|
|
217
|
+
<symbol id="frame.Frame3x2" viewBox="0 0 24 24">
|
|
218
|
+
<rect x="4.5" y="7" width="15" height="10" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
219
|
+
</symbol>
|
|
220
|
+
<symbol id="frame.Frame9x18" viewBox="0 0 24 24">
|
|
221
|
+
<rect x="8" y="3" width="8" height="18" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
222
|
+
</symbol>
|
|
223
|
+
|
|
224
|
+
<symbol id="shape.reversedTriangle" viewBox="0 0 24 24">
|
|
225
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m6 8 6 10 6-10z"/>
|
|
226
|
+
</symbol>
|
|
227
|
+
<symbol id="shape.arrowBlockLeft" viewBox="0 0 24 24">
|
|
228
|
+
<path fill="currentColor" d="M10 5 3 12l7 7v-4h11V9H10z"/>
|
|
229
|
+
</symbol>
|
|
230
|
+
<symbol id="shape.arrowBlockRight" viewBox="0 0 24 24">
|
|
231
|
+
<path fill="currentColor" d="m14 5 7 7-7 7v-4H3V9h11z"/>
|
|
232
|
+
</symbol>
|
|
233
|
+
<symbol id="shape.reversedParallelogram" viewBox="0 0 24 24">
|
|
234
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M7 5h12l-2 14H5z"/>
|
|
235
|
+
</symbol>
|
|
236
|
+
<symbol id="shape.predefinedProcess" viewBox="0 0 24 24">
|
|
237
|
+
<rect x="4" y="6" width="16" height="12" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
238
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M8 6v12m8-12v12"/>
|
|
239
|
+
</symbol>
|
|
240
|
+
|
|
241
|
+
<symbol id="shape.bpmn.task" viewBox="0 0 24 24">
|
|
242
|
+
<rect x="4" y="6" width="16" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
243
|
+
</symbol>
|
|
244
|
+
<symbol id="shape.bpmn.gateway" viewBox="0 0 24 24">
|
|
245
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m12 4 8 8-8 8-8-8z"/>
|
|
246
|
+
</symbol>
|
|
247
|
+
<symbol id="shape.bpmn.gatewayParallel" viewBox="0 0 24 24">
|
|
248
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m12 4 8 8-8 8-8-8z"/>
|
|
249
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M12 8v8M8 12h8"/>
|
|
250
|
+
</symbol>
|
|
251
|
+
<symbol id="shape.bpmn.gatewayXor" viewBox="0 0 24 24">
|
|
252
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m12 4 8 8-8 8-8-8z"/>
|
|
253
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m9 9 6 6m0-6-6 6"/>
|
|
254
|
+
</symbol>
|
|
255
|
+
<symbol id="shape.bpmn.startEvent" viewBox="0 0 24 24">
|
|
256
|
+
<circle cx="12" cy="12" r="7" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
257
|
+
</symbol>
|
|
258
|
+
<symbol id="shape.bpmn.startEventNoneInterrupting" viewBox="0 0 24 24">
|
|
259
|
+
<circle cx="12" cy="12" r="7" fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="3 2"/>
|
|
260
|
+
</symbol>
|
|
261
|
+
<symbol id="shape.bpmn.endEvent" viewBox="0 0 24 24">
|
|
262
|
+
<circle cx="12" cy="12" r="7" fill="none" stroke="currentColor" stroke-width="3"/>
|
|
263
|
+
</symbol>
|
|
264
|
+
<symbol id="shape.bpmn.intermediateEvent" viewBox="0 0 24 24">
|
|
265
|
+
<circle cx="12" cy="12" r="7" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
266
|
+
<circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
267
|
+
</symbol>
|
|
268
|
+
<symbol id="shape.bpmn.intermediateEventNoneInterrupting" viewBox="0 0 24 24">
|
|
269
|
+
<circle cx="12" cy="12" r="7" fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="3 2"/>
|
|
270
|
+
<circle cx="12" cy="12" r="4" fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="3 2"/>
|
|
271
|
+
</symbol>
|
|
272
|
+
<symbol id="shape.bpmn.dataObject" viewBox="0 0 24 24">
|
|
273
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M7 4h7l3 3v13H7z"/>
|
|
274
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M14 4v4h4"/>
|
|
275
|
+
</symbol>
|
|
276
|
+
<symbol id="shape.bpmn.dataStore" viewBox="0 0 24 24">
|
|
277
|
+
<ellipse cx="12" cy="7" rx="6" ry="2.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
278
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M6 7v8c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5V7"/>
|
|
279
|
+
</symbol>
|
|
280
|
+
<symbol id="shape.bpmn.participant" viewBox="0 0 24 24">
|
|
281
|
+
<rect x="3" y="7" width="18" height="10" rx="1.5" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
282
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M8 7v10"/>
|
|
283
|
+
</symbol>
|
|
284
|
+
<symbol id="shape.bpmn.transaction" viewBox="0 0 24 24">
|
|
285
|
+
<rect x="4" y="6" width="16" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
286
|
+
<rect x="7" y="9" width="10" height="6" rx="1" fill="none" stroke="currentColor" stroke-width="2"/>
|
|
287
|
+
</symbol>
|
|
288
|
+
<symbol id="shape.bpmn.eventSubprocess" viewBox="0 0 24 24">
|
|
289
|
+
<rect x="4" y="6" width="16" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="4 2"/>
|
|
290
|
+
</symbol>
|
|
291
|
+
<symbol id="shape.bpmn.group" viewBox="0 0 24 24">
|
|
292
|
+
<rect x="4" y="6" width="16" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="2 2"/>
|
|
293
|
+
</symbol>
|
|
294
|
+
<symbol id="shape.bpmn.annotation" viewBox="0 0 24 24">
|
|
295
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="M8 5H6v14h2m0-7h10"/>
|
|
296
|
+
</symbol>
|
|
297
|
+
|
|
298
|
+
<symbol id="Pen" viewBox="0 0 24 24"><use href="#tool.pen"/></symbol>
|
|
299
|
+
<symbol id="Highlighter" viewBox="0 0 18 18"><use href="#tool.highlighter"/></symbol>
|
|
300
|
+
<symbol id="Eraser" viewBox="0 0 17 17"><use href="#tool.eraser"/></symbol>
|
|
301
|
+
<symbol id="Text" viewBox="0 0 24 24"><use href="#tool.text"/></symbol>
|
|
302
|
+
<symbol id="Shape" viewBox="0 0 24 24"><use href="#tool.shape"/></symbol>
|
|
303
|
+
<symbol id="Connector" viewBox="0 0 24 24"><use href="#tool.connector"/></symbol>
|
|
304
|
+
<symbol id="Sticker" viewBox="0 0 24 24"><use href="#tool.sticker"/></symbol>
|
|
305
|
+
<symbol id="Frame" viewBox="0 0 24 24"><use href="#tool.frame"/></symbol>
|
|
306
|
+
<symbol id="Dice" viewBox="0 0 24 24"><use href="#tool.dice"/></symbol>
|
|
307
|
+
<symbol id="AddScreen" viewBox="0 0 24 24"><use href="#tool.screen"/></symbol>
|
|
308
|
+
<symbol id="AddPouch" viewBox="0 0 24 24"><use href="#tool.pouch"/></symbol>
|
|
309
|
+
<symbol id="Switch" viewBox="0 0 24 24"><use href="#connector.switchPointers"/></symbol>
|
|
310
|
+
<symbol id="RotateDice" viewBox="0 0 24 24"><use href="#dice.throw"/></symbol>
|
|
311
|
+
<symbol id="ShuffleDeck" viewBox="0 0 24 24"><use href="#deck.shuffle"/></symbol>
|
|
312
|
+
<symbol id="GetCard" viewBox="0 0 24 24"><use href="#deck.drawTop"/></symbol>
|
|
313
|
+
<symbol id="GetBottomCard" viewBox="0 0 24 24"><use href="#deck.drawBottom"/></symbol>
|
|
314
|
+
<symbol id="GetRandomItem" viewBox="0 0 24 24"><use href="#deck.drawRandom"/></symbol>
|
|
315
|
+
<symbol id="Stack" viewBox="0 0 24 24"><use href="#deck.createFromSelection"/></symbol>
|
|
316
|
+
</svg>
|
|
317
|
+
<symbol id="style.fill" viewBox="0 0 24 24"><use href="#shape.fill"/></symbol>
|
|
318
|
+
<symbol id="style.stroke" viewBox="0 0 24 24"><use href="#shape.stroke"/></symbol>
|
|
319
|
+
<symbol id="style.fontSize" viewBox="0 0 24 24"><use href="#text.fontSize"/></symbol>
|
|
320
|
+
<symbol id="style.color" viewBox="0 0 24 24">
|
|
321
|
+
<path fill="currentColor" d="M6 17h12v2H6z"/>
|
|
322
|
+
<path fill="none" stroke="currentColor" stroke-width="2" d="m12 4 5 8H7z"/>
|
|
323
|
+
</symbol>
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { OverlayIcon } from "./OverlayMetadata";
|
|
2
|
-
export declare const
|
|
1
|
+
import type { OverlayIcon, OverlayIconStateHint } from "./OverlayMetadata";
|
|
2
|
+
export declare const OVERLAY_ICON_ASSET_PREFIX = "overlay-icons/";
|
|
3
|
+
export declare const OVERLAY_ICON_SPRITE_PATH: string;
|
|
4
|
+
export declare function normalizeOverlayIconAssetPath(sourcePath: string): string;
|
|
3
5
|
export declare function overlaySymbolIcon(key: string): OverlayIcon;
|
|
4
|
-
export declare function overlayAssetIcon(
|
|
6
|
+
export declare function overlayAssetIcon(sourcePath: string, state?: OverlayIconStateHint): OverlayIcon;
|
|
@@ -5,6 +5,9 @@ export type OverlayValueSource = {
|
|
|
5
5
|
} | {
|
|
6
6
|
kind: "toolProperty";
|
|
7
7
|
property: string;
|
|
8
|
+
} | {
|
|
9
|
+
kind: "selectionProperty";
|
|
10
|
+
property: string;
|
|
8
11
|
};
|
|
9
12
|
export type OverlayCondition = {
|
|
10
13
|
kind: "equals";
|
|
@@ -40,6 +43,7 @@ export interface OverlayIconStateHint {
|
|
|
40
43
|
export type OverlayIcon = {
|
|
41
44
|
kind: "asset";
|
|
42
45
|
path: string;
|
|
46
|
+
sourcePath?: string;
|
|
43
47
|
mimeType?: "image/svg+xml";
|
|
44
48
|
state?: OverlayIconStateHint;
|
|
45
49
|
} | {
|
|
@@ -131,6 +135,25 @@ export interface OverlayAssetUploadEditor extends OverlayEditorBase {
|
|
|
131
135
|
accept?: string[];
|
|
132
136
|
fields?: OverlayAssetUploadFieldDefinition[];
|
|
133
137
|
}
|
|
138
|
+
export interface OverlayWorkflowPropertyBinding {
|
|
139
|
+
property: string;
|
|
140
|
+
source: {
|
|
141
|
+
kind: "controlValue";
|
|
142
|
+
controlId: string;
|
|
143
|
+
} | {
|
|
144
|
+
kind: "uploadField";
|
|
145
|
+
controlId: string;
|
|
146
|
+
fieldId?: string;
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
export interface OverlayWorkflowCreateItemsSubmission {
|
|
150
|
+
kind: "create-items";
|
|
151
|
+
itemType: string;
|
|
152
|
+
strategy?: "single" | "per-upload-entry";
|
|
153
|
+
placement?: "center-viewport" | "stagger-from-pointer";
|
|
154
|
+
properties: OverlayWorkflowPropertyBinding[];
|
|
155
|
+
}
|
|
156
|
+
export type OverlayWorkflowSubmission = OverlayWorkflowCreateItemsSubmission;
|
|
134
157
|
export interface OverlayToggleEditor extends OverlayEditorBase {
|
|
135
158
|
kind: "toggle";
|
|
136
159
|
trueLabel?: string;
|
|
@@ -238,6 +261,7 @@ export interface OverlayWorkflowDefinition {
|
|
|
238
261
|
groups?: OverlayControlGroupDefinition[];
|
|
239
262
|
submitLabel?: string;
|
|
240
263
|
description?: string;
|
|
264
|
+
submit?: OverlayWorkflowSubmission;
|
|
241
265
|
}
|
|
242
266
|
export interface OverlayToolGroupDefinition {
|
|
243
267
|
id: string;
|
|
@@ -5,6 +5,7 @@ export interface OverlayDynamicOptionsContext {
|
|
|
5
5
|
item?: BaseItem;
|
|
6
6
|
items?: readonly BaseItem[];
|
|
7
7
|
tool?: Tool;
|
|
8
|
+
selection?: unknown;
|
|
8
9
|
}
|
|
9
10
|
export type OverlayDynamicOptionsResolver = (context: OverlayDynamicOptionsContext) => OverlayOptionDefinition[];
|
|
10
11
|
export interface OverlayCreateSurfaceGroupEntry {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BoardTool } from "./BoardTool";
|
|
2
|
+
/**
|
|
3
|
+
* Placeholder tool class for metadata-launched workflows.
|
|
4
|
+
* UI shells should generally render the workflow from overlay metadata rather
|
|
5
|
+
* than activate this tool directly.
|
|
6
|
+
*/
|
|
7
|
+
export declare class WorkflowTool extends BoardTool {
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-temp",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.21",
|
|
4
4
|
"description": "A flexible interactive whiteboard library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -26,7 +26,13 @@
|
|
|
26
26
|
"require": "./dist/cjs/protocol.js",
|
|
27
27
|
"types": "./dist/types/protocol.d.ts"
|
|
28
28
|
},
|
|
29
|
-
"./style": "./dist/microboard.css"
|
|
29
|
+
"./style": "./dist/microboard.css",
|
|
30
|
+
"./overlay-icon-manifest": {
|
|
31
|
+
"import": "./dist/esm/overlayIconManifest.js",
|
|
32
|
+
"require": "./dist/cjs/overlayIconManifest.js",
|
|
33
|
+
"types": "./dist/types/overlayIconManifest.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./overlay-icons/*": "./dist/overlay-icons/*"
|
|
30
36
|
},
|
|
31
37
|
"files": [
|
|
32
38
|
"dist"
|