@formicoidea/labre-framework-uml 0.42.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.
- package/LICENSE +384 -0
- package/dist/actions.d.ts +430 -0
- package/dist/actions.js +724 -0
- package/dist/background.d.ts +153 -0
- package/dist/background.js +557 -0
- package/dist/board-hit.d.ts +137 -0
- package/dist/board-hit.js +191 -0
- package/dist/commands-manifest.d.ts +19 -0
- package/dist/commands-manifest.js +571 -0
- package/dist/commands.d.ts +4 -0
- package/dist/commands.js +983 -0
- package/dist/component.d.ts +521 -0
- package/dist/component.js +708 -0
- package/dist/consts.d.ts +365 -0
- package/dist/consts.js +463 -0
- package/dist/descriptor.d.ts +12 -0
- package/dist/descriptor.js +10 -0
- package/dist/drawio-decode.d.ts +32 -0
- package/dist/drawio-decode.js +96 -0
- package/dist/drawio-import.d.ts +133 -0
- package/dist/drawio-import.js +885 -0
- package/dist/edge-morph.d.ts +154 -0
- package/dist/edge-morph.js +153 -0
- package/dist/edge-styles.d.ts +78 -0
- package/dist/edge-styles.js +210 -0
- package/dist/effects.d.ts +9 -0
- package/dist/effects.js +6 -0
- package/dist/element-renderer.d.ts +64 -0
- package/dist/element-renderer.js +114 -0
- package/dist/element-view.d.ts +234 -0
- package/dist/element-view.js +430 -0
- package/dist/export.d.ts +61 -0
- package/dist/export.js +41 -0
- package/dist/filename.d.ts +17 -0
- package/dist/filename.js +26 -0
- package/dist/frame-tag.d.ts +70 -0
- package/dist/frame-tag.js +78 -0
- package/dist/grammar.d.ts +695 -0
- package/dist/grammar.js +1436 -0
- package/dist/import.d.ts +306 -0
- package/dist/import.js +1270 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +67 -0
- package/dist/interchange.d.ts +125 -0
- package/dist/interchange.js +372 -0
- package/dist/keywords.d.ts +204 -0
- package/dist/keywords.js +361 -0
- package/dist/kinds.d.ts +73 -0
- package/dist/kinds.js +91 -0
- package/dist/legend.d.ts +30 -0
- package/dist/legend.js +255 -0
- package/dist/model.d.ts +862 -0
- package/dist/model.js +1316 -0
- package/dist/morph.d.ts +178 -0
- package/dist/morph.js +496 -0
- package/dist/node/act-glyphs.d.ts +30 -0
- package/dist/node/act-glyphs.js +142 -0
- package/dist/node/compartment-watcher.d.ts +107 -0
- package/dist/node/compartment-watcher.js +163 -0
- package/dist/node/fit.d.ts +85 -0
- package/dist/node/fit.js +129 -0
- package/dist/node/node-renderer.d.ts +49 -0
- package/dist/node/node-renderer.js +611 -0
- package/dist/node/node-view.d.ts +51 -0
- package/dist/node/node-view.js +89 -0
- package/dist/node/paint.d.ts +84 -0
- package/dist/node/paint.js +143 -0
- package/dist/node/sd-glyphs.d.ts +36 -0
- package/dist/node/sd-glyphs.js +79 -0
- package/dist/node/stm-glyphs.d.ts +22 -0
- package/dist/node/stm-glyphs.js +111 -0
- package/dist/node/tier-metrics.d.ts +38 -0
- package/dist/node/tier-metrics.js +45 -0
- package/dist/operators.d.ts +45 -0
- package/dist/operators.js +75 -0
- package/dist/plantuml-import.d.ts +113 -0
- package/dist/plantuml-import.js +1723 -0
- package/dist/plantuml.d.ts +94 -0
- package/dist/plantuml.js +985 -0
- package/dist/presets.d.ts +149 -0
- package/dist/presets.js +302 -0
- package/dist/profiles.d.ts +2 -0
- package/dist/profiles.js +358 -0
- package/dist/reading.d.ts +160 -0
- package/dist/reading.js +648 -0
- package/dist/roles.d.ts +257 -0
- package/dist/roles.js +997 -0
- package/dist/rules.d.ts +267 -0
- package/dist/rules.js +3090 -0
- package/dist/templates.d.ts +2 -0
- package/dist/templates.js +197 -0
- package/dist/toolbar/config.d.ts +228 -0
- package/dist/toolbar/config.js +833 -0
- package/dist/toolbar/icons.d.ts +440 -0
- package/dist/toolbar/icons.js +711 -0
- package/dist/toolbar/senior-tool.d.ts +11 -0
- package/dist/toolbar/senior-tool.js +21 -0
- package/dist/toolbar/uml-menu.d.ts +17 -0
- package/dist/toolbar/uml-menu.js +20 -0
- package/dist/toolbar/uml-senior-button.d.ts +18 -0
- package/dist/toolbar/uml-senior-button.js +22 -0
- package/dist/translations.d.ts +27 -0
- package/dist/translations.js +117 -0
- package/dist/view.d.ts +33 -0
- package/dist/view.js +236 -0
- package/dist/xmi-import.d.ts +174 -0
- package/dist/xmi-import.js +2268 -0
- package/dist/xmi.d.ts +61 -0
- package/dist/xmi.js +1860 -0
- package/dist/xml-reader.d.ts +157 -0
- package/dist/xml-reader.js +430 -0
- package/dist/xml.d.ts +72 -0
- package/dist/xml.js +96 -0
- package/package.json +38 -0
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The UML senior-button tile: a class box with its two compartment separators,
|
|
3
|
+
* beside a use-case ellipse — the two shapes the pack's two diagram families
|
|
4
|
+
* are recognised by, in one glyph.
|
|
5
|
+
*
|
|
6
|
+
* The one tile of this file, and unlike C4's it is NOT coloured: UML 2.5.1 has
|
|
7
|
+
* no stencil palette of its own (§7 draws in ink on paper), so the tile reads
|
|
8
|
+
* off the shared neutral scale exactly as the canvas does — `UML_INK` for the
|
|
9
|
+
* outlines, `UML_CARD` for the body, `UML_FRAME_INK` for the ellipse that
|
|
10
|
+
* stands a shade back (R33: never a grey hex literal here).
|
|
11
|
+
*
|
|
12
|
+
* Everything below it is a 24×24 monochrome outline drawn in `currentColor`,
|
|
13
|
+
* because a command glyph sits in a menu row and takes the row's colour.
|
|
14
|
+
*/
|
|
15
|
+
export declare const umlToolbarIcon: import("lit-html").TemplateResult<2>;
|
|
16
|
+
/**
|
|
17
|
+
* Class diagram — the frame of §C.2's diagram notation: a rectangle with the
|
|
18
|
+
* cut-corner name tag in its top-left corner, which is what tells a UML frame
|
|
19
|
+
* from any other box on the canvas.
|
|
20
|
+
*/
|
|
21
|
+
export declare const umlDiagramIcon: import("lit-html").TemplateResult<2>;
|
|
22
|
+
/**
|
|
23
|
+
* Subject — the rectangle a use-case diagram draws round the use cases that
|
|
24
|
+
* belong to one system (§18.1.1): a plain frame, its name along the top.
|
|
25
|
+
*/
|
|
26
|
+
export declare const umlSubjectIcon: import("lit-html").TemplateResult<2>;
|
|
27
|
+
/** Class — the canonical three-compartment rectangle (§11.4.4). */
|
|
28
|
+
export declare const umlClassIcon: import("lit-html").TemplateResult<2>;
|
|
29
|
+
/**
|
|
30
|
+
* Interface — the same box, with the guillemets keyword above the name
|
|
31
|
+
* (§10.4.2.1). Drawn as the two chevrons, which is the whole of what
|
|
32
|
+
* `«interface»` looks like at this size.
|
|
33
|
+
*/
|
|
34
|
+
export declare const umlInterfaceIcon: import("lit-html").TemplateResult<2>;
|
|
35
|
+
/**
|
|
36
|
+
* Enumeration — the box whose lower compartment is a LIST of literals
|
|
37
|
+
* (§10.2.4): three stacked rules rather than the two tiers of a class.
|
|
38
|
+
*/
|
|
39
|
+
export declare const umlEnumerationIcon: import("lit-html").TemplateResult<2>;
|
|
40
|
+
/**
|
|
41
|
+
* Object — an instance specification: the same box with its name UNDERLINED,
|
|
42
|
+
* which is the one notation that tells an instance from its classifier
|
|
43
|
+
* (§9.8.4).
|
|
44
|
+
*/
|
|
45
|
+
export declare const umlObjectIcon: import("lit-html").TemplateResult<2>;
|
|
46
|
+
/** Package — the folder: a tab over a body (§12.2.4). */
|
|
47
|
+
export declare const umlPackageIcon: import("lit-html").TemplateResult<2>;
|
|
48
|
+
/** Note — the rectangle with its top-right corner turned down (§7.5.4). */
|
|
49
|
+
export declare const umlNoteIcon: import("lit-html").TemplateResult<2>;
|
|
50
|
+
/** Actor — the stick figure (§18.1.1). */
|
|
51
|
+
export declare const umlActorIcon: import("lit-html").TemplateResult<2>;
|
|
52
|
+
/** Use case — the ellipse, and nothing else (§18.1.1). */
|
|
53
|
+
export declare const umlUseCaseIcon: import("lit-html").TemplateResult<2>;
|
|
54
|
+
/**
|
|
55
|
+
* Component — the rectangle with the two protruding tabs on its left edge
|
|
56
|
+
* (§11.6.4). The one classifier UML announces with a MARK rather than with a
|
|
57
|
+
* keyword, which is why the glyph is the mark and not a box with words in it.
|
|
58
|
+
*/
|
|
59
|
+
export declare const umlComponentIcon: import("lit-html").TemplateResult<2>;
|
|
60
|
+
/**
|
|
61
|
+
* Port — the small square straddling the border of what owns it (§11.3.4).
|
|
62
|
+
* FILLED, and drawn half in and half out, because the whole of what a port
|
|
63
|
+
* means is that it sits ON the boundary: a square inside the box would be a
|
|
64
|
+
* part, and one outside it would be a neighbour.
|
|
65
|
+
*/
|
|
66
|
+
export declare const umlPortIcon: import("lit-html").TemplateResult<2>;
|
|
67
|
+
/** Provided interface — the LOLLIPOP: a stub ending in a full circle (§10.4.4). */
|
|
68
|
+
export declare const umlProvidedInterfaceIcon: import("lit-html").TemplateResult<2>;
|
|
69
|
+
/**
|
|
70
|
+
* Required interface — the SOCKET: the same stub ending in the half circle that
|
|
71
|
+
* cups a ball (§10.4.4). Open on the side the ball comes from, which is what
|
|
72
|
+
* makes an assembly read as one joint rather than as two marks that happen to
|
|
73
|
+
* touch.
|
|
74
|
+
*/
|
|
75
|
+
export declare const umlRequiredInterfaceIcon: import("lit-html").TemplateResult<2>;
|
|
76
|
+
/**
|
|
77
|
+
* Artifact — the document with its corner turned down (§19.3.4), told from the
|
|
78
|
+
* note beside it by the lines written ON it: a note is a comment about the
|
|
79
|
+
* model, an artifact is a FILE that is part of the system.
|
|
80
|
+
*/
|
|
81
|
+
export declare const umlArtifactIcon: import("lit-html").TemplateResult<2>;
|
|
82
|
+
/** Node — the bare 3D box: a computational resource, and nothing said of it. */
|
|
83
|
+
export declare const umlNodeIcon: import("lit-html").TemplateResult<2>;
|
|
84
|
+
/**
|
|
85
|
+
* Device — the same cube, carrying the filled chip that says this node is a
|
|
86
|
+
* piece of HARDWARE (§19.4.4's `«device»`, as a mark rather than as a word,
|
|
87
|
+
* because a 24-unit glyph has no room for a keyword).
|
|
88
|
+
*/
|
|
89
|
+
export declare const umlDeviceIcon: import("lit-html").TemplateResult<2>;
|
|
90
|
+
/**
|
|
91
|
+
* Execution environment — the cube with the RUN mark on its face: software that
|
|
92
|
+
* other software is deployed into (§19.4.4's `«executionEnvironment»`), which is
|
|
93
|
+
* exactly the distinction from the device beside it.
|
|
94
|
+
*/
|
|
95
|
+
export declare const umlExecutionEnvironmentIcon: import("lit-html").TemplateResult<2>;
|
|
96
|
+
/**
|
|
97
|
+
* Action — the round-cornered rectangle of §15.2.4, and the one shape of an
|
|
98
|
+
* activity diagram that holds a sentence. The corners are the whole of what
|
|
99
|
+
* tells it from a class box at this size, so they are drawn generously.
|
|
100
|
+
*/
|
|
101
|
+
export declare const umlActionIcon: import("lit-html").TemplateResult<2>;
|
|
102
|
+
/**
|
|
103
|
+
* Initial node — the FILLED disc where a flow begins (§15.3.4), with the first
|
|
104
|
+
* arrow leaving it. One per region, and the arrow is what says the disc is a
|
|
105
|
+
* start rather than a junction.
|
|
106
|
+
*/
|
|
107
|
+
export declare const umlInitialIcon: import("lit-html").TemplateResult<2>;
|
|
108
|
+
/**
|
|
109
|
+
* Activity final — the BULLSEYE that ends the whole activity (§15.3.4): every
|
|
110
|
+
* token in it stops, not only the one that arrived.
|
|
111
|
+
*/
|
|
112
|
+
export declare const umlActivityFinalIcon: import("lit-html").TemplateResult<2>;
|
|
113
|
+
/**
|
|
114
|
+
* Flow final — the circle with the CROSS through it (§15.3.4): this one token
|
|
115
|
+
* ends here and the rest of the activity carries on. The distinction the
|
|
116
|
+
* bullseye beside it cannot draw, and the one everybody forgets exists.
|
|
117
|
+
*/
|
|
118
|
+
export declare const umlFlowFinalIcon: import("lit-html").TemplateResult<2>;
|
|
119
|
+
/**
|
|
120
|
+
* Decision — the diamond one token leaves by ONE branch (§15.3.4). The two
|
|
121
|
+
* outgoing stubs are the glyph's argument: a bare diamond is a shape, a diamond
|
|
122
|
+
* with a choice coming out of it is a decision.
|
|
123
|
+
*/
|
|
124
|
+
export declare const umlDecisionIcon: import("lit-html").TemplateResult<2>;
|
|
125
|
+
/**
|
|
126
|
+
* Fork — the filled BAR one token leaves by every branch at once (§15.3.4),
|
|
127
|
+
* which is exactly the difference from the diamond above: concurrency, not
|
|
128
|
+
* choice. Drawn with the two outgoing lines, because a bar on its own is a rule.
|
|
129
|
+
*/
|
|
130
|
+
export declare const umlForkIcon: import("lit-html").TemplateResult<2>;
|
|
131
|
+
/**
|
|
132
|
+
* Object node — the plain rectangle DATA travels through (§15.4.4), drawn with
|
|
133
|
+
* the flow entering and leaving it. The arrows are not decoration: an object
|
|
134
|
+
* node is told from every other rectangle on the sheet by sitting ON a flow.
|
|
135
|
+
*/
|
|
136
|
+
export declare const umlObjectNodeIcon: import("lit-html").TemplateResult<2>;
|
|
137
|
+
/**
|
|
138
|
+
* Send signal — the CONVEX pentagon of §16.3.4: a box with its right edge
|
|
139
|
+
* pushed out into a point, which is the message leaving.
|
|
140
|
+
*/
|
|
141
|
+
export declare const umlSendSignalIcon: import("lit-html").TemplateResult<2>;
|
|
142
|
+
/**
|
|
143
|
+
* Accept event — the CONCAVE pentagon of §16.10.4: the same box with its LEFT
|
|
144
|
+
* edge notched IN, the cup the message arrives into. The pair is the one thing
|
|
145
|
+
* on an activity diagram a reader tells apart by silhouette alone, which is why
|
|
146
|
+
* the two glyphs are deliberately mirror images.
|
|
147
|
+
*/
|
|
148
|
+
export declare const umlAcceptEventIcon: import("lit-html").TemplateResult<2>;
|
|
149
|
+
/** Time event — the HOURGLASS that fires when its moment comes (§16.10.4). */
|
|
150
|
+
export declare const umlTimeEventIcon: import("lit-html").TemplateResult<2>;
|
|
151
|
+
/**
|
|
152
|
+
* Partition — the swimlane (§15.6.4): two bands with a name strip on top, which
|
|
153
|
+
* is what a vertical partition set actually looks like. The strip is the half
|
|
154
|
+
* of the drawing that matters — a lane with no heading is a line.
|
|
155
|
+
*/
|
|
156
|
+
export declare const umlPartitionIcon: import("lit-html").TemplateResult<2>;
|
|
157
|
+
/**
|
|
158
|
+
* State — the round-cornered box with a NAME BAND (§14.2.4). The separator is
|
|
159
|
+
* what tells it from the action it shares a silhouette with: an action is one
|
|
160
|
+
* sentence, a state is a name over the `entry` / `do` / `exit` lines below it.
|
|
161
|
+
*/
|
|
162
|
+
export declare const umlStateIcon: import("lit-html").TemplateResult<2>;
|
|
163
|
+
/**
|
|
164
|
+
* Final state — the bullseye that ends the machine (§14.2.4).
|
|
165
|
+
*
|
|
166
|
+
* The SAME drawing as the activity final beside it, deliberately: §14.2.4 and
|
|
167
|
+
* §15.3.4 both draw a filled circle inside a ring, and inventing a difference
|
|
168
|
+
* would be this pack teaching a notation UML does not have. What separates them
|
|
169
|
+
* is the role and the sheet they are legal on — a final state on an activity
|
|
170
|
+
* diagram is what the per-frame admissibility lists refuse.
|
|
171
|
+
*/
|
|
172
|
+
export declare const umlFinalStateIcon: import("lit-html").TemplateResult<2>;
|
|
173
|
+
/**
|
|
174
|
+
* Choice — the diamond a transition branches at (§14.2.4), and the state
|
|
175
|
+
* machine's twin of the activity decision: the same drawing, on the other
|
|
176
|
+
* diagram, for the same reason the two finals share theirs.
|
|
177
|
+
*/
|
|
178
|
+
export declare const umlChoiceIcon: import("lit-html").TemplateResult<2>;
|
|
179
|
+
/**
|
|
180
|
+
* Junction — the small filled dot several transitions MERGE at (§14.2.4). The
|
|
181
|
+
* three incoming stubs are what tells it from the initial node's disc: an
|
|
182
|
+
* initial has one arrow out and nothing in, a junction is a knot.
|
|
183
|
+
*/
|
|
184
|
+
export declare const umlJunctionIcon: import("lit-html").TemplateResult<2>;
|
|
185
|
+
/**
|
|
186
|
+
* Shallow history — the `H` in a circle (§14.2.4): re-enter this region at the
|
|
187
|
+
* sub-state it was last in.
|
|
188
|
+
*/
|
|
189
|
+
export declare const umlShallowHistoryIcon: import("lit-html").TemplateResult<2>;
|
|
190
|
+
/**
|
|
191
|
+
* Deep history — the same `H` with the ASTERISK (§14.2.4): restore the whole
|
|
192
|
+
* nested configuration, not only the top level. One star apart, which is why
|
|
193
|
+
* the circle is drawn smaller here to make room for it rather than redrawn.
|
|
194
|
+
*/
|
|
195
|
+
export declare const umlDeepHistoryIcon: import("lit-html").TemplateResult<2>;
|
|
196
|
+
/**
|
|
197
|
+
* Entry point — the hollow circle ON a composite state's border (§14.2.4): the
|
|
198
|
+
* named way IN. The border is drawn because the mark means nothing off it.
|
|
199
|
+
*/
|
|
200
|
+
export declare const umlEntryPointIcon: import("lit-html").TemplateResult<2>;
|
|
201
|
+
/**
|
|
202
|
+
* Exit point — the same circle on the same border, CROSSED (§14.2.4): the named
|
|
203
|
+
* way out.
|
|
204
|
+
*/
|
|
205
|
+
export declare const umlExitPointIcon: import("lit-html").TemplateResult<2>;
|
|
206
|
+
/**
|
|
207
|
+
* Terminate — the bare CROSS (§14.2.4): the machine stops here and nothing
|
|
208
|
+
* else runs. No circle round it, which is the whole of what tells it from the
|
|
209
|
+
* flow final and from the exit point.
|
|
210
|
+
*/
|
|
211
|
+
export declare const umlTerminateIcon: import("lit-html").TemplateResult<2>;
|
|
212
|
+
/**
|
|
213
|
+
* Region — the composite state (§14.2.4): the rounded box with its name band
|
|
214
|
+
* and a sub-machine inside it. The two little states are the point — a region
|
|
215
|
+
* is a container, and a glyph of an empty rounded box would be the state's.
|
|
216
|
+
*/
|
|
217
|
+
export declare const umlRegionIcon: import("lit-html").TemplateResult<2>;
|
|
218
|
+
/** Association — a plain solid line, undirected (§11.5.4). */
|
|
219
|
+
export declare const umlAssociationIcon: import("lit-html").TemplateResult<2>;
|
|
220
|
+
/** Aggregation — the HOLLOW diamond at the whole's end (§11.5.4). */
|
|
221
|
+
export declare const umlAggregationIcon: import("lit-html").TemplateResult<2>;
|
|
222
|
+
/** Composition — the same diamond, FILLED (§11.5.4). */
|
|
223
|
+
export declare const umlCompositionIcon: import("lit-html").TemplateResult<2>;
|
|
224
|
+
/** Generalization — a solid line with a hollow triangle on the general end. */
|
|
225
|
+
export declare const umlGeneralizationIcon: import("lit-html").TemplateResult<2>;
|
|
226
|
+
/** Realization — the same hollow triangle, on a DASHED line (§10.4.2.1). */
|
|
227
|
+
export declare const umlRealizationIcon: import("lit-html").TemplateResult<2>;
|
|
228
|
+
/** Dependency — a dashed line with an open arrowhead (§7.8.4). */
|
|
229
|
+
export declare const umlDependencyIcon: import("lit-html").TemplateResult<2>;
|
|
230
|
+
/**
|
|
231
|
+
* Anchor — the DASHED line with no head at all, which is how a note is tied to
|
|
232
|
+
* what it comments on (§7.5.4). The only relationship of this pack that says
|
|
233
|
+
* nothing about direction, and the glyph says so by carrying no arrow.
|
|
234
|
+
*/
|
|
235
|
+
export declare const umlAnchorIcon: import("lit-html").TemplateResult<2>;
|
|
236
|
+
/**
|
|
237
|
+
* Include — a dependency whose keyword is `«include»`, drawn with the chevrons
|
|
238
|
+
* over the line so the two use-case relationships are told apart at a glance
|
|
239
|
+
* rather than by their tooltip (§18.1.4).
|
|
240
|
+
*/
|
|
241
|
+
export declare const umlIncludeIcon: import("lit-html").TemplateResult<2>;
|
|
242
|
+
/** Extend — the same dashed arrow, with the chevrons pointing outward. */
|
|
243
|
+
export declare const umlExtendIcon: import("lit-html").TemplateResult<2>;
|
|
244
|
+
/**
|
|
245
|
+
* Deploy — the dashed dependency arrow of §19.2.4, pointed at the NODE it lands
|
|
246
|
+
* on. The box above it is the target, not decoration: `«deploy»` and
|
|
247
|
+
* `«manifest»` are the same line, and the only thing that can tell them apart in
|
|
248
|
+
* a menu row is what sits at the far end.
|
|
249
|
+
*/
|
|
250
|
+
export declare const umlDeployIcon: import("lit-html").TemplateResult<2>;
|
|
251
|
+
/** Manifest — the same arrow, landing on the artifact's own document glyph. */
|
|
252
|
+
export declare const umlManifestIcon: import("lit-html").TemplateResult<2>;
|
|
253
|
+
/**
|
|
254
|
+
* Communication path — a plain solid line between two NODES (§19.4.4). The two
|
|
255
|
+
* boxes are what separates it from the association it is drawn exactly like: a
|
|
256
|
+
* network link joins machines, and it claims no direction at either end.
|
|
257
|
+
*/
|
|
258
|
+
export declare const umlCommunicationPathIcon: import("lit-html").TemplateResult<2>;
|
|
259
|
+
/**
|
|
260
|
+
* Control flow — the SOLID line with an open arrowhead (§15.2.4). The look no
|
|
261
|
+
* structural relationship wears: a behaviour diagram states an order and
|
|
262
|
+
* therefore always points.
|
|
263
|
+
*/
|
|
264
|
+
export declare const umlControlFlowIcon: import("lit-html").TemplateResult<2>;
|
|
265
|
+
/**
|
|
266
|
+
* Object flow — the same arrow, with the DATA on it. §15.2.4 draws no line of
|
|
267
|
+
* its own for an object flow and tells it apart by what the flow runs between,
|
|
268
|
+
* so the glyph says that rather than inventing a dash: the little rectangle is
|
|
269
|
+
* the object node the line passes through.
|
|
270
|
+
*/
|
|
271
|
+
export declare const umlObjectFlowIcon: import("lit-html").TemplateResult<2>;
|
|
272
|
+
/**
|
|
273
|
+
* Transition — the same arrow again (§14.2.4.8), carrying its LABEL: the
|
|
274
|
+
* `trigger [guard] / effect` written over the line is the whole of what a state
|
|
275
|
+
* machine's arrow says, and the only thing that separates this glyph from the
|
|
276
|
+
* control flow above it.
|
|
277
|
+
*/
|
|
278
|
+
export declare const umlTransitionIcon: import("lit-html").TemplateResult<2>;
|
|
279
|
+
/**
|
|
280
|
+
* Lifeline — the named head with the dashed spine falling out of it (§17.2.4).
|
|
281
|
+
*
|
|
282
|
+
* The dashes are the half that matters: a head on its own is a class box, and
|
|
283
|
+
* what makes a lifeline a lifeline is that time runs down the line under it.
|
|
284
|
+
*/
|
|
285
|
+
export declare const umlLifelineIcon: import("lit-html").TemplateResult<2>;
|
|
286
|
+
/**
|
|
287
|
+
* Execution specification — the thin BAR sat on a spine (§17.2.4): the stretch
|
|
288
|
+
* of the diagram during which this participant is doing something. Drawn ON the
|
|
289
|
+
* dashes, because a bar floating beside a lifeline means nothing at all.
|
|
290
|
+
*/
|
|
291
|
+
export declare const umlExecutionIcon: import("lit-html").TemplateResult<2>;
|
|
292
|
+
/**
|
|
293
|
+
* Destruction occurrence — the CROSS that ends a lifeline (§17.2.4). The spine
|
|
294
|
+
* stops at it, which is the whole statement: nothing happens to this
|
|
295
|
+
* participant afterwards.
|
|
296
|
+
*/
|
|
297
|
+
export declare const umlDestructionIcon: import("lit-html").TemplateResult<2>;
|
|
298
|
+
/**
|
|
299
|
+
* Combined fragment — the rectangle with the PENTAGON tag in its corner
|
|
300
|
+
* (§17.6.4), and the dashed rule that separates two operands.
|
|
301
|
+
*
|
|
302
|
+
* The cut corner and the dashed line are the two things the notation draws and
|
|
303
|
+
* nothing else does: a plain rectangle is a subject, a region or a partition.
|
|
304
|
+
*/
|
|
305
|
+
export declare const umlFragmentIcon: import("lit-html").TemplateResult<2>;
|
|
306
|
+
/**
|
|
307
|
+
* Interaction use — the same frame with `ref` in its tag (§17.7.4), drawn here
|
|
308
|
+
* as the ARROW out of the box: the glyph has no room for three letters at 24
|
|
309
|
+
* units, and "this happens somewhere else" is what the reader has to take from
|
|
310
|
+
* it. No dashed rule, which is the one thing that tells it from the fragment
|
|
311
|
+
* above: a `ref` has no operands to separate.
|
|
312
|
+
*/
|
|
313
|
+
export declare const umlInteractionUseIcon: import("lit-html").TemplateResult<2>;
|
|
314
|
+
/**
|
|
315
|
+
* Synchronous message — a solid line with a FILLED arrowhead (§17.4.4): the
|
|
316
|
+
* caller waits, and the black triangle is the whole of what says so.
|
|
317
|
+
*/
|
|
318
|
+
export declare const umlMessageSyncIcon: import("lit-html").TemplateResult<2>;
|
|
319
|
+
/**
|
|
320
|
+
* Asynchronous message — the same solid line with an OPEN stick arrowhead: the
|
|
321
|
+
* caller does not wait. The one pair in this pack where getting the head's fill
|
|
322
|
+
* backwards inverts the meaning of every call on the sheet.
|
|
323
|
+
*/
|
|
324
|
+
export declare const umlMessageAsyncIcon: import("lit-html").TemplateResult<2>;
|
|
325
|
+
/** Reply — the open head on a DASHED line, travelling back (§17.4.4). */
|
|
326
|
+
export declare const umlMessageReplyIcon: import("lit-html").TemplateResult<2>;
|
|
327
|
+
/**
|
|
328
|
+
* Create message — the dashed arrow landing on a lifeline's HEAD (§17.4.4).
|
|
329
|
+
* The box at the end is the point: a create message is the one message that
|
|
330
|
+
* does not arrive on a spine, because the spine does not exist until it does.
|
|
331
|
+
*/
|
|
332
|
+
export declare const umlMessageCreateIcon: import("lit-html").TemplateResult<2>;
|
|
333
|
+
/**
|
|
334
|
+
* Delete message — the call that ends at the X (§17.4.4). The solid line with
|
|
335
|
+
* the filled head is the ordinary call; the cross is what makes it a deletion,
|
|
336
|
+
* and it is drawn here because the LINE alone cannot say so.
|
|
337
|
+
*/
|
|
338
|
+
export declare const umlMessageDeleteIcon: import("lit-html").TemplateResult<2>;
|
|
339
|
+
/**
|
|
340
|
+
* Export as PlantUML — the generic "document, going out" glyph the other packs
|
|
341
|
+
* use for an export, restated here rather than imported from BPMN's or C4's
|
|
342
|
+
* private module: a cross-framework import for one path would tie this pack's
|
|
343
|
+
* build to theirs, and the three are meant to ship separately.
|
|
344
|
+
*/
|
|
345
|
+
export declare const umlExportPlantumlIcon: import("lit-html").TemplateResult<2>;
|
|
346
|
+
/** Export as XMI — the same document, marked as the angle-bracketed one. */
|
|
347
|
+
export declare const umlExportXmiIcon: import("lit-html").TemplateResult<2>;
|
|
348
|
+
/**
|
|
349
|
+
* The three IMPORTS — the same page glyph as the exports beside them, with the
|
|
350
|
+
* arrow turned round (`docs/adr/0019`).
|
|
351
|
+
*
|
|
352
|
+
* Deliberately the same family as `bpmnImportXmlIcon`: a file becoming a board
|
|
353
|
+
* is one gesture across this library, and a user who has met it once in BPMN
|
|
354
|
+
* should not have to learn a second picture for it in UML. What differs between
|
|
355
|
+
* the three is the mark under the page — the arrow alone for PlantUML, the
|
|
356
|
+
* angle brackets for XMI, and the two connected boxes for draw.io, which is
|
|
357
|
+
* the only one of the three whose file is a DRAWING.
|
|
358
|
+
*/
|
|
359
|
+
export declare const umlImportPlantumlIcon: import("lit-html").TemplateResult<2>;
|
|
360
|
+
/** Import XMI — the page arriving, marked as the angle-bracketed document. */
|
|
361
|
+
export declare const umlImportXmiIcon: import("lit-html").TemplateResult<2>;
|
|
362
|
+
/** Import draw.io — two connected boxes, which is what the file actually holds. */
|
|
363
|
+
export declare const umlImportDrawioIcon: import("lit-html").TemplateResult<2>;
|
|
364
|
+
/**
|
|
365
|
+
* Every command glyph of the TOOLBOX, keyed by its `iconKey`.
|
|
366
|
+
*
|
|
367
|
+
* Registered together with the commands themselves
|
|
368
|
+
* (`CommandExtension(umlCommands, umlCommandIcons)`), so a key a descriptor
|
|
369
|
+
* names and this record does not hold renders as nothing.
|
|
370
|
+
*
|
|
371
|
+
* The two export glyphs are deliberately NOT here and are added to
|
|
372
|
+
* {@link umlToolbarIcon}'s sibling `umlCommandIcons` in `commands.ts` instead:
|
|
373
|
+
* this record is the glyphs of things UML DRAWS, and an export draws nothing.
|
|
374
|
+
*/
|
|
375
|
+
export declare const UML_TOOLBOX_ICONS: {
|
|
376
|
+
readonly 'uml.diagram': import("lit-html").TemplateResult<2>;
|
|
377
|
+
readonly 'uml.class': import("lit-html").TemplateResult<2>;
|
|
378
|
+
readonly 'uml.interface': import("lit-html").TemplateResult<2>;
|
|
379
|
+
readonly 'uml.enumeration': import("lit-html").TemplateResult<2>;
|
|
380
|
+
readonly 'uml.object': import("lit-html").TemplateResult<2>;
|
|
381
|
+
readonly 'uml.package': import("lit-html").TemplateResult<2>;
|
|
382
|
+
readonly 'uml.note': import("lit-html").TemplateResult<2>;
|
|
383
|
+
readonly 'uml.actor': import("lit-html").TemplateResult<2>;
|
|
384
|
+
readonly 'uml.use-case': import("lit-html").TemplateResult<2>;
|
|
385
|
+
readonly 'uml.subject': import("lit-html").TemplateResult<2>;
|
|
386
|
+
readonly 'uml.association': import("lit-html").TemplateResult<2>;
|
|
387
|
+
readonly 'uml.aggregation': import("lit-html").TemplateResult<2>;
|
|
388
|
+
readonly 'uml.composition': import("lit-html").TemplateResult<2>;
|
|
389
|
+
readonly 'uml.generalization': import("lit-html").TemplateResult<2>;
|
|
390
|
+
readonly 'uml.realization': import("lit-html").TemplateResult<2>;
|
|
391
|
+
readonly 'uml.dependency': import("lit-html").TemplateResult<2>;
|
|
392
|
+
readonly 'uml.anchor': import("lit-html").TemplateResult<2>;
|
|
393
|
+
readonly 'uml.include': import("lit-html").TemplateResult<2>;
|
|
394
|
+
readonly 'uml.extend': import("lit-html").TemplateResult<2>;
|
|
395
|
+
readonly 'uml.component': import("lit-html").TemplateResult<2>;
|
|
396
|
+
readonly 'uml.port': import("lit-html").TemplateResult<2>;
|
|
397
|
+
readonly 'uml.provided-interface': import("lit-html").TemplateResult<2>;
|
|
398
|
+
readonly 'uml.required-interface': import("lit-html").TemplateResult<2>;
|
|
399
|
+
readonly 'uml.artifact': import("lit-html").TemplateResult<2>;
|
|
400
|
+
readonly 'uml.node': import("lit-html").TemplateResult<2>;
|
|
401
|
+
readonly 'uml.device': import("lit-html").TemplateResult<2>;
|
|
402
|
+
readonly 'uml.execution-environment': import("lit-html").TemplateResult<2>;
|
|
403
|
+
readonly 'uml.deploy': import("lit-html").TemplateResult<2>;
|
|
404
|
+
readonly 'uml.manifest': import("lit-html").TemplateResult<2>;
|
|
405
|
+
readonly 'uml.communication-path': import("lit-html").TemplateResult<2>;
|
|
406
|
+
readonly 'uml.action': import("lit-html").TemplateResult<2>;
|
|
407
|
+
readonly 'uml.initial': import("lit-html").TemplateResult<2>;
|
|
408
|
+
readonly 'uml.activity-final': import("lit-html").TemplateResult<2>;
|
|
409
|
+
readonly 'uml.flow-final': import("lit-html").TemplateResult<2>;
|
|
410
|
+
readonly 'uml.decision': import("lit-html").TemplateResult<2>;
|
|
411
|
+
readonly 'uml.fork': import("lit-html").TemplateResult<2>;
|
|
412
|
+
readonly 'uml.object-node': import("lit-html").TemplateResult<2>;
|
|
413
|
+
readonly 'uml.send-signal': import("lit-html").TemplateResult<2>;
|
|
414
|
+
readonly 'uml.accept-event': import("lit-html").TemplateResult<2>;
|
|
415
|
+
readonly 'uml.time-event': import("lit-html").TemplateResult<2>;
|
|
416
|
+
readonly 'uml.partition': import("lit-html").TemplateResult<2>;
|
|
417
|
+
readonly 'uml.state': import("lit-html").TemplateResult<2>;
|
|
418
|
+
readonly 'uml.final-state': import("lit-html").TemplateResult<2>;
|
|
419
|
+
readonly 'uml.choice': import("lit-html").TemplateResult<2>;
|
|
420
|
+
readonly 'uml.junction': import("lit-html").TemplateResult<2>;
|
|
421
|
+
readonly 'uml.shallow-history': import("lit-html").TemplateResult<2>;
|
|
422
|
+
readonly 'uml.deep-history': import("lit-html").TemplateResult<2>;
|
|
423
|
+
readonly 'uml.entry-point': import("lit-html").TemplateResult<2>;
|
|
424
|
+
readonly 'uml.exit-point': import("lit-html").TemplateResult<2>;
|
|
425
|
+
readonly 'uml.terminate': import("lit-html").TemplateResult<2>;
|
|
426
|
+
readonly 'uml.region': import("lit-html").TemplateResult<2>;
|
|
427
|
+
readonly 'uml.control-flow': import("lit-html").TemplateResult<2>;
|
|
428
|
+
readonly 'uml.object-flow': import("lit-html").TemplateResult<2>;
|
|
429
|
+
readonly 'uml.transition': import("lit-html").TemplateResult<2>;
|
|
430
|
+
readonly 'uml.lifeline': import("lit-html").TemplateResult<2>;
|
|
431
|
+
readonly 'uml.execution': import("lit-html").TemplateResult<2>;
|
|
432
|
+
readonly 'uml.destruction': import("lit-html").TemplateResult<2>;
|
|
433
|
+
readonly 'uml.fragment': import("lit-html").TemplateResult<2>;
|
|
434
|
+
readonly 'uml.interaction-use': import("lit-html").TemplateResult<2>;
|
|
435
|
+
readonly 'uml.message-sync': import("lit-html").TemplateResult<2>;
|
|
436
|
+
readonly 'uml.message-async': import("lit-html").TemplateResult<2>;
|
|
437
|
+
readonly 'uml.message-reply': import("lit-html").TemplateResult<2>;
|
|
438
|
+
readonly 'uml.message-create': import("lit-html").TemplateResult<2>;
|
|
439
|
+
readonly 'uml.message-delete': import("lit-html").TemplateResult<2>;
|
|
440
|
+
};
|