@diagrammo/dgmo 0.63.0 → 0.64.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/README.md +2 -2
- package/dist/advanced.js +48 -45
- package/dist/block.js +7 -7
- package/dist/{charts-d3-M76E4TZU.js → charts-d3-ZTXJWEHI.js} +4 -4
- package/dist/{chunk-BIWMOFSE.js → chunk-2KOBOIB2.js} +2 -2
- package/dist/{chunk-KHTKMVKT.js → chunk-67D4MN2H.js} +2 -2
- package/dist/{chunk-TJCHULP5.js → chunk-7GUYGQR4.js} +2 -2
- package/dist/{chunk-2LN5C6FH.js → chunk-7T3A2UK3.js} +10 -6
- package/dist/{chunk-W32HMBPW.js → chunk-B6AONGTI.js} +3 -3
- package/dist/{chunk-DY4VJYG7.js → chunk-C6DMG2V6.js} +3 -3
- package/dist/{chunk-MD2KWAXJ.js → chunk-CDMF7P5A.js} +2 -2
- package/dist/{chunk-HBSKE3ML.js → chunk-CZUSH6NI.js} +3 -3
- package/dist/{chunk-USHDV2AF.js → chunk-DB2KQ5DN.js} +3 -3
- package/dist/{chunk-34HQALZ5.js → chunk-DN5HEDE4.js} +3 -3
- package/dist/{chunk-PUFWYDWP.js → chunk-FRC4LDTQ.js} +3 -3
- package/dist/{chunk-MRD4QWFK.js → chunk-I24O2RWT.js} +2 -2
- package/dist/{chunk-VWCGN2ST.js → chunk-I2ATN25N.js} +3 -3
- package/dist/{chunk-SSR6JAR3.js → chunk-IGIJZHB6.js} +2 -2
- package/dist/{chunk-3HYRJAXO.js → chunk-IX6N5MCY.js} +3 -3
- package/dist/{chunk-AKD3YZ54.js → chunk-KPX2OWZR.js} +3 -3
- package/dist/{chunk-L26ZAPNJ.js → chunk-KZ3PCDUJ.js} +2 -2
- package/dist/{chunk-UZ3JPYD3.js → chunk-L4IN4OBB.js} +3 -3
- package/dist/{chunk-RZRMSNO7.js → chunk-LMXAB4YM.js} +3 -3
- package/dist/{chunk-X4FCKGK2.js → chunk-LYTEVE2N.js} +3 -3
- package/dist/{chunk-NQH2Q2RR.js → chunk-M4HYPDER.js} +3 -3
- package/dist/{chunk-L57TSE53.js → chunk-MHI6W6XS.js} +3 -3
- package/dist/{chunk-ZXLXAOCM.js → chunk-MQHOKBJ6.js} +3 -3
- package/dist/{chunk-U22TKD3L.js → chunk-NIZM3LAG.js} +4 -4
- package/dist/{chunk-A34FVVVI.js → chunk-NKRCPBTJ.js} +2 -2
- package/dist/{chunk-XXDEQSW4.js → chunk-OBKM6GIJ.js} +3 -3
- package/dist/{chunk-BPINSP65.js → chunk-OMTBYLKN.js} +4 -4
- package/dist/{chunk-UKZ7K5GS.js → chunk-RBAW7VUG.js} +4 -3
- package/dist/{chunk-KK5LQIN7.js → chunk-RBBJIHNL.js} +4 -4
- package/dist/{chunk-DUHKYKI7.js → chunk-RQL25P3U.js} +4 -4
- package/dist/{chunk-MR2XKW35.js → chunk-S5RWWISJ.js} +2 -2
- package/dist/{chunk-BGITRLTR.js → chunk-SMCUX42K.js} +2 -2
- package/dist/{chunk-PTKCX5ZE.js → chunk-SPHC4RYF.js} +3 -3
- package/dist/{chunk-TRP7PC5Z.js → chunk-SVR3YFM3.js} +3 -3
- package/dist/{chunk-YVI3JL3S.js → chunk-T4QXHE34.js} +4 -4
- package/dist/{chunk-SV7F363F.js → chunk-TAJ2XFTT.js} +3 -3
- package/dist/{chunk-SBOG6R6A.js → chunk-V3UQSKWJ.js} +3 -3
- package/dist/{chunk-QRHA7WIU.js → chunk-VOJOARA6.js} +42 -42
- package/dist/{chunk-2PTK46E2.js → chunk-WDJ4HAGO.js} +2 -2
- package/dist/{chunk-QFNRHY62.js → chunk-XUN3MIO3.js} +2 -2
- package/dist/{chunk-L4B4GRVS.js → chunk-YHTKDIF2.js} +3 -3
- package/dist/{chunk-IMXG673Y.js → chunk-YLK3JNWP.js} +2 -2
- package/dist/{chunk-GCVTU64J.js → chunk-Z2ADWRSW.js} +3 -3
- package/dist/{chunk-6KFWC4CO.js → chunk-Z5ID35YP.js} +4 -2
- package/dist/{flowchart-renderer-BCVCIZHF.js → flowchart-renderer-EXMRHFTQ.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{renderer-XIJO7DYS.js → renderer-2ARNFXSC.js} +4 -4
- package/dist/{renderer-NKVIQA3C.js → renderer-2E7LQC32.js} +3 -3
- package/dist/{renderer-CU6BEHHV.js → renderer-7OOC2ZO2.js} +3 -3
- package/dist/{renderer-UTXVIAS7.js → renderer-BYWLJDT4.js} +4 -4
- package/dist/{renderer-AVR3LBTS.js → renderer-C6KOE774.js} +4 -4
- package/dist/{renderer-M7YOXAGC.js → renderer-DMVUBKP7.js} +3 -3
- package/dist/{renderer-5HYDLCMX.js → renderer-FCO42JLK.js} +4 -4
- package/dist/{renderer-HPQJRSON.js → renderer-H6AQ4UIR.js} +4 -4
- package/dist/{renderer-BBBN7QNX.js → renderer-HLWEJQJW.js} +3 -3
- package/dist/{renderer-HGWKAXS6.js → renderer-IN3UPTZS.js} +3 -3
- package/dist/{renderer-TDFRMG3O.js → renderer-KK2534AF.js} +3 -3
- package/dist/{renderer-TTMBG2N6.js → renderer-KOWVTTYR.js} +4 -4
- package/dist/{renderer-PKST5W6U.js → renderer-KPEQ72FY.js} +5 -5
- package/dist/{renderer-DRLZELXM.js → renderer-LO4FXQHP.js} +4 -4
- package/dist/{renderer-KHVAM4IY.js → renderer-LSBXYOID.js} +4 -4
- package/dist/{renderer-K3TH5PP7.js → renderer-M3PQKXK2.js} +5 -5
- package/dist/{renderer-AMCTCBV3.js → renderer-M43ROWET.js} +4 -4
- package/dist/{renderer-Q2YHQQSN.js → renderer-NHFRVCDC.js} +4 -4
- package/dist/{renderer-JL7L5Y5M.js → renderer-OA7FSZ4A.js} +3 -3
- package/dist/{renderer-CHHYNEK7.js → renderer-OB77AT7V.js} +4 -4
- package/dist/{renderer-35F3XMZH.js → renderer-OYTERGAO.js} +4 -4
- package/dist/{renderer-4VDSMPYU.js → renderer-PM7JPC3J.js} +5 -5
- package/dist/{renderer-XDL6PRLN.js → renderer-QEHUJHRK.js} +4 -4
- package/dist/{renderer-2DKA5QXA.js → renderer-QR5343AR.js} +3 -3
- package/dist/{renderer-JBF2PAVP.js → renderer-T5CUGSXP.js} +4 -4
- package/dist/{renderer-CXAL2FYB.js → renderer-WN47AMUM.js} +4 -4
- package/dist/{renderer-ZHBFOSK5.js → renderer-WR3FA3FF.js} +4 -4
- package/dist/{renderer-RN5ZFIEK.js → renderer-XLEYPLVL.js} +4 -4
- package/dist/{renderer-DJ5DP3RH.js → renderer-XLPNUOYA.js} +4 -4
- package/dist/{renderer-RJT3MOUU.js → renderer-YBEZ5V2H.js} +3 -3
- package/dist/{renderer-KKNXTTFE.js → renderer-YELZR4QT.js} +6 -6
- package/dist/{renderer-5SN6N5VN.js → renderer-YLM4CGBG.js} +4 -4
- package/dist/{renderer-726UVOKE.js → renderer-ZNTLBQ45.js} +4 -4
- package/dist/{renderer-radial-4J2KO4GZ.js → renderer-radial-XWAKJACV.js} +4 -4
- package/dist/{state-renderer-MCWCZ76U.js → state-renderer-LIESKSBO.js} +4 -4
- package/package.json +1 -1
- package/dist/auto.css +0 -557
- package/dist/auto.js +0 -886
- package/dist/element.js +0 -889
package/README.md
CHANGED
|
@@ -95,7 +95,7 @@ Q4 22
|
|
|
95
95
|
Add one `<script>` tag and every `<pre class="dgmo">` block renders on load:
|
|
96
96
|
|
|
97
97
|
```html
|
|
98
|
-
<script src="https://cdn.jsdelivr.net/npm/@diagrammo/dgmo/dist/auto.js"></script>
|
|
98
|
+
<script src="https://cdn.jsdelivr.net/npm/@diagrammo/dgmo-standalone/dist/auto.js"></script>
|
|
99
99
|
|
|
100
100
|
<pre class="dgmo">pie Crew Rations
|
|
101
101
|
Grog: 58
|
|
@@ -106,7 +106,7 @@ Limes: 21</pre>
|
|
|
106
106
|
Prefer an explicit element? Use `<dgmo-diagram>` from the same package:
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script src="https://cdn.jsdelivr.net/npm/@diagrammo/dgmo/dist/element.js"></script>
|
|
109
|
+
<script src="https://cdn.jsdelivr.net/npm/@diagrammo/dgmo-standalone/dist/element.js"></script>
|
|
110
110
|
|
|
111
111
|
<dgmo-diagram palette="slate">pie Crew Rations
|
|
112
112
|
Grog: 58
|
package/dist/advanced.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
layoutBracket,
|
|
3
3
|
renderBracket,
|
|
4
4
|
renderBracketForExport
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-B6AONGTI.js";
|
|
6
6
|
import {
|
|
7
7
|
renderRaci,
|
|
8
8
|
renderRaciForExport
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I24O2RWT.js";
|
|
10
10
|
import {
|
|
11
11
|
applyCollapseProjection,
|
|
12
12
|
applyGroupOrdering,
|
|
@@ -16,43 +16,43 @@ import {
|
|
|
16
16
|
computeActivations,
|
|
17
17
|
groupMessagesBySection,
|
|
18
18
|
renderSequenceDiagram
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MHI6W6XS.js";
|
|
20
20
|
import {
|
|
21
21
|
renderRing,
|
|
22
22
|
renderRingForExport
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NKRCPBTJ.js";
|
|
24
24
|
import {
|
|
25
25
|
layoutTreemapRadial,
|
|
26
26
|
renderTreemapRadial,
|
|
27
27
|
renderTreemapRadialForExport
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SPHC4RYF.js";
|
|
29
29
|
import {
|
|
30
30
|
layoutTreemap,
|
|
31
31
|
renderTreemap,
|
|
32
32
|
renderTreemapForExport
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IX6N5MCY.js";
|
|
34
34
|
import {
|
|
35
35
|
renderLiveLinkCard
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MQHOKBJ6.js";
|
|
37
37
|
import {
|
|
38
38
|
authoredCollapsedIds,
|
|
39
39
|
layoutBlock,
|
|
40
40
|
renderBlock,
|
|
41
41
|
renderBlockForExport
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CZUSH6NI.js";
|
|
43
43
|
import {
|
|
44
44
|
renderGoal,
|
|
45
45
|
renderGoalForExport
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WDJ4HAGO.js";
|
|
47
47
|
import "./chunk-3A7KMF33.js";
|
|
48
48
|
import {
|
|
49
49
|
renderCountdown,
|
|
50
50
|
renderCountdownForExport
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2KOBOIB2.js";
|
|
52
52
|
import {
|
|
53
53
|
renderClock,
|
|
54
54
|
renderClockForExport
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-CDMF7P5A.js";
|
|
56
56
|
import {
|
|
57
57
|
computeRadarLayout,
|
|
58
58
|
getRadarGeometry,
|
|
@@ -60,11 +60,11 @@ import {
|
|
|
60
60
|
renderQuadrantFocusForExport,
|
|
61
61
|
renderTechRadar,
|
|
62
62
|
renderTechRadarForExport
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-L4IN4OBB.js";
|
|
64
64
|
import {
|
|
65
65
|
renderJourneyMap,
|
|
66
66
|
renderJourneyMapForExport
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-FRC4LDTQ.js";
|
|
68
68
|
import {
|
|
69
69
|
layoutJourneyMap
|
|
70
70
|
} from "./chunk-KRTO7NRK.js";
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
computeCycleLayout,
|
|
73
73
|
renderCycle,
|
|
74
74
|
renderCycleForExport
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-C6DMG2V6.js";
|
|
76
76
|
import {
|
|
77
77
|
resolveMap
|
|
78
78
|
} from "./chunk-WMHHNK44.js";
|
|
79
79
|
import {
|
|
80
80
|
renderMap,
|
|
81
81
|
renderMapForExport
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DB2KQ5DN.js";
|
|
83
83
|
import "./chunk-FWVKPEG3.js";
|
|
84
84
|
import {
|
|
85
85
|
mapContentAspect,
|
|
@@ -98,20 +98,20 @@ import {
|
|
|
98
98
|
import {
|
|
99
99
|
renderPyramid,
|
|
100
100
|
renderPyramidForExport
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-7GUYGQR4.js";
|
|
102
102
|
import {
|
|
103
103
|
collectDiagramRoles,
|
|
104
104
|
computeInfraLegendGroups,
|
|
105
105
|
inferRoles,
|
|
106
106
|
parseAndLayoutInfra,
|
|
107
107
|
renderInfra
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-SVR3YFM3.js";
|
|
109
109
|
import {
|
|
110
110
|
measurePertAnalysisBlock,
|
|
111
111
|
renderPert,
|
|
112
112
|
renderPertAnalysisBlock,
|
|
113
113
|
renderPertForExport
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-TAJ2XFTT.js";
|
|
115
115
|
import {
|
|
116
116
|
analyzePert,
|
|
117
117
|
buildSimulationContext,
|
|
@@ -132,11 +132,11 @@ import {
|
|
|
132
132
|
import {
|
|
133
133
|
buildTagLaneRowList,
|
|
134
134
|
renderGantt
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-I2ATN25N.js";
|
|
136
136
|
import {
|
|
137
137
|
renderState,
|
|
138
138
|
renderStateForExport
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-M4HYPDER.js";
|
|
140
140
|
import {
|
|
141
141
|
collapseStateGroups
|
|
142
142
|
} from "./chunk-SQ7IY53Q.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
} from "./chunk-ODUT5WMC.js";
|
|
146
146
|
import {
|
|
147
147
|
renderWireframe
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-IGIJZHB6.js";
|
|
149
149
|
import {
|
|
150
150
|
renderC4ComponentsForExport,
|
|
151
151
|
renderC4Containers,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
renderC4ContextForExport,
|
|
155
155
|
renderC4Deployment,
|
|
156
156
|
renderC4DeploymentForExport
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-LMXAB4YM.js";
|
|
158
158
|
import {
|
|
159
159
|
layoutC4Components,
|
|
160
160
|
layoutC4Containers,
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
import {
|
|
166
166
|
renderFlowchart,
|
|
167
167
|
renderFlowchartForExport
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-SMCUX42K.js";
|
|
169
169
|
import "./chunk-PDKUANDZ.js";
|
|
170
170
|
import {
|
|
171
171
|
layoutGraph
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
} from "./chunk-S6QDCFEU.js";
|
|
182
182
|
import {
|
|
183
183
|
renderSwimlaneForExport
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-XUN3MIO3.js";
|
|
185
185
|
import "./chunk-LP7EC4MI.js";
|
|
186
186
|
import {
|
|
187
187
|
layoutFamily
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
import {
|
|
190
190
|
renderFamily,
|
|
191
191
|
renderFamilyForExport
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-V3UQSKWJ.js";
|
|
193
193
|
import "./chunk-IVKC4GID.js";
|
|
194
194
|
import {
|
|
195
195
|
collapseMindmapTree
|
|
@@ -197,21 +197,21 @@ import {
|
|
|
197
197
|
import {
|
|
198
198
|
renderMindmap,
|
|
199
199
|
renderMindmapForExport
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-RQL25P3U.js";
|
|
201
201
|
import {
|
|
202
202
|
layoutMindmap
|
|
203
203
|
} from "./chunk-U42ZEK7L.js";
|
|
204
204
|
import {
|
|
205
205
|
renderClassDiagram,
|
|
206
206
|
renderClassDiagramForExport
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-NIZM3LAG.js";
|
|
208
208
|
import {
|
|
209
209
|
layoutClassDiagram
|
|
210
210
|
} from "./chunk-PCWPYOT4.js";
|
|
211
211
|
import {
|
|
212
212
|
renderERDiagram,
|
|
213
213
|
renderERDiagramForExport
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-OBKM6GIJ.js";
|
|
215
215
|
import {
|
|
216
216
|
layoutERDiagram
|
|
217
217
|
} from "./chunk-5H2LIQIH.js";
|
|
@@ -232,11 +232,11 @@ import {
|
|
|
232
232
|
renderSketch,
|
|
233
233
|
renderSketchForExport,
|
|
234
234
|
sketchEdgeGeometry
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-KPX2OWZR.js";
|
|
236
236
|
import {
|
|
237
237
|
renderBoxesAndLines,
|
|
238
238
|
renderBoxesAndLinesForExport
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-LYTEVE2N.js";
|
|
240
240
|
import "./chunk-H52HJ26L.js";
|
|
241
241
|
import {
|
|
242
242
|
layoutBoxesAndLines
|
|
@@ -250,7 +250,7 @@ import "./chunk-5DH3KYFH.js";
|
|
|
250
250
|
import {
|
|
251
251
|
renderVersionControl,
|
|
252
252
|
renderVersionControlForExport
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-YLK3JNWP.js";
|
|
254
254
|
import {
|
|
255
255
|
collapseOrgTree,
|
|
256
256
|
focusOrgTree
|
|
@@ -258,8 +258,8 @@ import {
|
|
|
258
258
|
import {
|
|
259
259
|
renderOrg,
|
|
260
260
|
renderOrgForExport
|
|
261
|
-
} from "./chunk-
|
|
262
|
-
import "./chunk-
|
|
261
|
+
} from "./chunk-RBBJIHNL.js";
|
|
262
|
+
import "./chunk-KZ3PCDUJ.js";
|
|
263
263
|
import {
|
|
264
264
|
layoutOrg
|
|
265
265
|
} from "./chunk-RKTIIU7Z.js";
|
|
@@ -273,20 +273,20 @@ import "./chunk-BS7SV7C3.js";
|
|
|
273
273
|
import {
|
|
274
274
|
renderSitemap,
|
|
275
275
|
renderSitemapForExport
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-YHTKDIF2.js";
|
|
277
277
|
import {
|
|
278
278
|
computeCardArchive,
|
|
279
279
|
computeCardMove,
|
|
280
280
|
isArchiveColumn,
|
|
281
281
|
renderKanban,
|
|
282
282
|
renderKanbanForExport
|
|
283
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-DN5HEDE4.js";
|
|
284
284
|
import {
|
|
285
285
|
clearEventLineMuted,
|
|
286
286
|
focusEventLine,
|
|
287
287
|
renderEventLine,
|
|
288
288
|
renderEventLineForExport
|
|
289
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-T4QXHE34.js";
|
|
290
290
|
import "./chunk-NCT22MOD.js";
|
|
291
291
|
import "./chunk-H3HFC3SQ.js";
|
|
292
292
|
import {
|
|
@@ -297,7 +297,7 @@ import "./chunk-3CIOJ5YJ.js";
|
|
|
297
297
|
import {
|
|
298
298
|
renderBody,
|
|
299
299
|
renderBodyForExport
|
|
300
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-Z2ADWRSW.js";
|
|
301
301
|
import {
|
|
302
302
|
completeMapPlaces,
|
|
303
303
|
completeMapRegions,
|
|
@@ -313,37 +313,37 @@ import {
|
|
|
313
313
|
renderSlopeChart,
|
|
314
314
|
renderVenn,
|
|
315
315
|
renderWordCloud
|
|
316
|
-
} from "./chunk-
|
|
317
|
-
import "./chunk-
|
|
316
|
+
} from "./chunk-VOJOARA6.js";
|
|
317
|
+
import "./chunk-S5RWWISJ.js";
|
|
318
318
|
import "./chunk-EOYPX6SF.js";
|
|
319
319
|
import {
|
|
320
320
|
renderLegendSvg,
|
|
321
321
|
renderLegendSvgFromConfig
|
|
322
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-7T3A2UK3.js";
|
|
323
323
|
import "./chunk-CVVICCSB.js";
|
|
324
324
|
import {
|
|
325
325
|
formatDateLabel,
|
|
326
326
|
renderTimeline
|
|
327
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-OMTBYLKN.js";
|
|
328
328
|
import {
|
|
329
329
|
computeTimeTicks
|
|
330
330
|
} from "./chunk-YRYKTYMQ.js";
|
|
331
331
|
import {
|
|
332
332
|
ScaleContext
|
|
333
333
|
} from "./chunk-YYVTBZZC.js";
|
|
334
|
-
import "./chunk-
|
|
334
|
+
import "./chunk-67D4MN2H.js";
|
|
335
335
|
import "./chunk-6VJCURWU.js";
|
|
336
336
|
import "./chunk-RU2HHHYA.js";
|
|
337
337
|
import "./chunk-A4GOY3PE.js";
|
|
338
338
|
import {
|
|
339
339
|
renderLegendD3
|
|
340
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-RBAW7VUG.js";
|
|
341
341
|
import {
|
|
342
342
|
computeLegendLayout,
|
|
343
343
|
controlsGroupCapsuleWidth,
|
|
344
344
|
getLegendReservedHeight
|
|
345
345
|
} from "./chunk-ES66QH6J.js";
|
|
346
|
-
import "./chunk-
|
|
346
|
+
import "./chunk-Z5ID35YP.js";
|
|
347
347
|
import {
|
|
348
348
|
LEGEND_GEAR_PILL_W,
|
|
349
349
|
LEGEND_HEIGHT
|
|
@@ -1802,7 +1802,10 @@ function textFromSvg(svg) {
|
|
|
1802
1802
|
while ((match = element.exec(svg)) !== null) {
|
|
1803
1803
|
parts.push((match[1] ?? "").replace(/<[^>]*>/g, ""));
|
|
1804
1804
|
}
|
|
1805
|
-
return parts.join("").replace(
|
|
1805
|
+
return parts.join("").replace(
|
|
1806
|
+
/&#x([0-9a-f]+);/gi,
|
|
1807
|
+
(_, hex) => String.fromCodePoint(parseInt(hex, 16))
|
|
1808
|
+
).replace(/&#(\d+);/g, (_, dec) => String.fromCodePoint(parseInt(dec, 10))).replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/'/g, "'").replace(/&/g, "&");
|
|
1806
1809
|
}
|
|
1807
1810
|
function uncoveredCharacters(text, coverage) {
|
|
1808
1811
|
const byScript = /* @__PURE__ */ new Map();
|
package/dist/block.js
CHANGED
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
} from "./chunk-D3K4U3ZM.js";
|
|
5
5
|
import {
|
|
6
6
|
render
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VOJOARA6.js";
|
|
8
8
|
import {
|
|
9
9
|
docsLink,
|
|
10
10
|
renderErrorCard
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S5RWWISJ.js";
|
|
12
12
|
import "./chunk-EOYPX6SF.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-7T3A2UK3.js";
|
|
14
14
|
import "./chunk-CVVICCSB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-OMTBYLKN.js";
|
|
16
16
|
import "./chunk-YRYKTYMQ.js";
|
|
17
17
|
import "./chunk-YYVTBZZC.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-67D4MN2H.js";
|
|
19
19
|
import "./chunk-6VJCURWU.js";
|
|
20
20
|
import "./chunk-RU2HHHYA.js";
|
|
21
21
|
import "./chunk-A4GOY3PE.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-RBAW7VUG.js";
|
|
23
23
|
import "./chunk-ES66QH6J.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-Z5ID35YP.js";
|
|
25
25
|
import "./chunk-SCJ7CAJF.js";
|
|
26
26
|
import "./chunk-4ASYQ347.js";
|
|
27
27
|
import {
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
D3_DATA_CHART_TYPES,
|
|
3
3
|
renderDataChartD3,
|
|
4
4
|
supportsD3DataChart
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7T3A2UK3.js";
|
|
6
6
|
import "./chunk-CVVICCSB.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-67D4MN2H.js";
|
|
8
8
|
import "./chunk-6VJCURWU.js";
|
|
9
9
|
import "./chunk-RU2HHHYA.js";
|
|
10
10
|
import "./chunk-A4GOY3PE.js";
|
|
11
11
|
import "./chunk-ES66QH6J.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z5ID35YP.js";
|
|
13
13
|
import "./chunk-SCJ7CAJF.js";
|
|
14
14
|
import "./chunk-4ASYQ347.js";
|
|
15
15
|
import "./chunk-XC7BUB3P.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
renderDataChartD3,
|
|
27
27
|
supportsD3DataChart
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=charts-d3-
|
|
29
|
+
//# sourceMappingURL=charts-d3-ZTXJWEHI.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-WGC42WJU.js";
|
|
8
8
|
import {
|
|
9
9
|
FONT_FAMILY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z5ID35YP.js";
|
|
11
11
|
import {
|
|
12
12
|
DAY_MS,
|
|
13
13
|
applyOrdinalTemplate,
|
|
@@ -1030,4 +1030,4 @@ export {
|
|
|
1030
1030
|
renderCountdown,
|
|
1031
1031
|
renderCountdownForExport
|
|
1032
1032
|
};
|
|
1033
|
-
//# sourceMappingURL=chunk-
|
|
1033
|
+
//# sourceMappingURL=chunk-2KOBOIB2.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-A4GOY3PE.js";
|
|
9
9
|
import {
|
|
10
10
|
FONT_FAMILY
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z5ID35YP.js";
|
|
12
12
|
import {
|
|
13
13
|
getSeriesColors
|
|
14
14
|
} from "./chunk-42IT4BG2.js";
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
createExportContainer,
|
|
131
131
|
finalizeSvgExport
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
133
|
+
//# sourceMappingURL=chunk-67D4MN2H.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-A4GOY3PE.js";
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z5ID35YP.js";
|
|
18
18
|
import {
|
|
19
19
|
CHAR_WIDTH_RATIO,
|
|
20
20
|
measureText
|
|
@@ -428,4 +428,4 @@ export {
|
|
|
428
428
|
renderPyramid,
|
|
429
429
|
renderPyramidForExport
|
|
430
430
|
};
|
|
431
|
-
//# sourceMappingURL=chunk-
|
|
431
|
+
//# sourceMappingURL=chunk-7GUYGQR4.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
initD3Chart,
|
|
12
12
|
renderChartTitle,
|
|
13
13
|
resolveExportPalette
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-67D4MN2H.js";
|
|
15
15
|
import {
|
|
16
16
|
layoutInlineHeader
|
|
17
17
|
} from "./chunk-6VJCURWU.js";
|
|
@@ -25,8 +25,9 @@ import {
|
|
|
25
25
|
computeLegendLayout
|
|
26
26
|
} from "./chunk-ES66QH6J.js";
|
|
27
27
|
import {
|
|
28
|
+
FONT_CENTRAL_DY,
|
|
28
29
|
FONT_FAMILY
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Z5ID35YP.js";
|
|
30
31
|
import {
|
|
31
32
|
LEGEND_DOT_R,
|
|
32
33
|
LEGEND_ENTRY_FONT_SIZE,
|
|
@@ -63,6 +64,9 @@ import {
|
|
|
63
64
|
} from "./chunk-42IT4BG2.js";
|
|
64
65
|
|
|
65
66
|
// src/utils/legend-svg.ts
|
|
67
|
+
function baselineY(centerY, fontSize) {
|
|
68
|
+
return centerY + fontSize * FONT_CENTRAL_DY;
|
|
69
|
+
}
|
|
66
70
|
function esc(s) {
|
|
67
71
|
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
68
72
|
}
|
|
@@ -77,19 +81,19 @@ function emitCapsule(capsule, palette, groupBg, pillBorder) {
|
|
|
77
81
|
`<rect x="${pill.x}" y="${pill.y}" width="${pill.width}" height="${pill.height}" rx="${pill.height / 2}" fill="none" stroke="${esc(pillBorder)}" stroke-width="0.75"/>`
|
|
78
82
|
);
|
|
79
83
|
inner.push(
|
|
80
|
-
`<text x="${pill.x + pill.width / 2}" y="${LEGEND_HEIGHT / 2
|
|
84
|
+
`<text x="${pill.x + pill.width / 2}" y="${baselineY(LEGEND_HEIGHT / 2, LEGEND_PILL_FONT_SIZE)}" font-size="${LEGEND_PILL_FONT_SIZE}" font-weight="500" fill="${esc(palette.text)}" text-anchor="middle" font-family="${esc(FONT_FAMILY)}">${esc(capsule.groupName)}</text>`
|
|
81
85
|
);
|
|
82
86
|
for (const entry of capsule.entries) {
|
|
83
87
|
const label = entry.displayValue ?? entry.value;
|
|
84
88
|
const hit = entry.width != null ? `<rect x="${entry.x}" y="${entry.y}" width="${entry.width}" height="${LEGEND_HEIGHT}" fill="transparent"/>` : "";
|
|
85
89
|
inner.push(
|
|
86
|
-
`<g data-legend-entry="${esc(entry.value.toLowerCase())}" data-series-name="${esc(entry.value)}" style="cursor:pointer">` + hit + `<circle cx="${entry.dotCx}" cy="${entry.dotCy}" r="${LEGEND_DOT_R}" fill="${esc(entry.color)}"/><text x="${entry.textX}" y="${entry.dotCy
|
|
90
|
+
`<g data-legend-entry="${esc(entry.value.toLowerCase())}" data-series-name="${esc(entry.value)}" style="cursor:pointer">` + hit + `<circle cx="${entry.dotCx}" cy="${entry.dotCy}" r="${LEGEND_DOT_R}" fill="${esc(entry.color)}"/><text x="${entry.textX}" y="${baselineY(entry.dotCy, LEGEND_ENTRY_FONT_SIZE)}" font-size="${LEGEND_ENTRY_FONT_SIZE}" fill="${esc(palette.textMuted)}" font-family="${esc(FONT_FAMILY)}">${esc(label)}</text></g>`
|
|
87
91
|
);
|
|
88
92
|
}
|
|
89
93
|
return `<g transform="translate(${capsule.x},${capsule.y})" data-legend-group="${esc(tagAttrKey(capsule.groupName))}" style="cursor:pointer">${inner.join("")}</g>`;
|
|
90
94
|
}
|
|
91
95
|
function emitPill(pill, palette, groupBg) {
|
|
92
|
-
return `<g transform="translate(${pill.x},${pill.y})" data-legend-group="${esc(tagAttrKey(pill.groupName))}" style="cursor:pointer"><rect width="${pill.width}" height="${pill.height}" rx="${pill.height / 2}" fill="${esc(groupBg)}"/><text x="${pill.width / 2}" y="${pill.height / 2
|
|
96
|
+
return `<g transform="translate(${pill.x},${pill.y})" data-legend-group="${esc(tagAttrKey(pill.groupName))}" style="cursor:pointer"><rect width="${pill.width}" height="${pill.height}" rx="${pill.height / 2}" fill="${esc(groupBg)}"/><text x="${pill.width / 2}" y="${baselineY(pill.height / 2, LEGEND_PILL_FONT_SIZE)}" font-size="${LEGEND_PILL_FONT_SIZE}" font-weight="500" fill="${esc(palette.textMuted)}" text-anchor="middle" font-family="${esc(FONT_FAMILY)}">${esc(pill.groupName)}</text></g>`;
|
|
93
97
|
}
|
|
94
98
|
function renderLegendSvg(groups, options) {
|
|
95
99
|
if (groups.length === 0) return { svg: "", height: 0, width: 0 };
|
|
@@ -2061,4 +2065,4 @@ export {
|
|
|
2061
2065
|
supportsD3DataChart,
|
|
2062
2066
|
renderDataChartD3
|
|
2063
2067
|
};
|
|
2064
|
-
//# sourceMappingURL=chunk-
|
|
2068
|
+
//# sourceMappingURL=chunk-7T3A2UK3.js.map
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
} from "./chunk-A4GOY3PE.js";
|
|
12
12
|
import {
|
|
13
13
|
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RBAW7VUG.js";
|
|
15
15
|
import {
|
|
16
16
|
getLegendExtent,
|
|
17
17
|
getMaxLegendReservedHeight
|
|
18
18
|
} from "./chunk-ES66QH6J.js";
|
|
19
19
|
import {
|
|
20
20
|
FONT_FAMILY
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Z5ID35YP.js";
|
|
22
22
|
import {
|
|
23
23
|
LEGEND_GROUP_GAP
|
|
24
24
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -994,4 +994,4 @@ export {
|
|
|
994
994
|
renderBracket,
|
|
995
995
|
renderBracketForExport
|
|
996
996
|
};
|
|
997
|
-
//# sourceMappingURL=chunk-
|
|
997
|
+
//# sourceMappingURL=chunk-B6AONGTI.js.map
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-A4GOY3PE.js";
|
|
15
15
|
import {
|
|
16
16
|
renderIntegratedLegend
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RBAW7VUG.js";
|
|
18
18
|
import {
|
|
19
19
|
FONT_FAMILY
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z5ID35YP.js";
|
|
21
21
|
import {
|
|
22
22
|
LEGEND_HEIGHT
|
|
23
23
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -969,4 +969,4 @@ export {
|
|
|
969
969
|
renderCycle,
|
|
970
970
|
renderCycleForExport
|
|
971
971
|
};
|
|
972
|
-
//# sourceMappingURL=chunk-
|
|
972
|
+
//# sourceMappingURL=chunk-C6DMG2V6.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FWVKPEG3.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z5ID35YP.js";
|
|
7
7
|
import {
|
|
8
8
|
fixedParts,
|
|
9
9
|
fixedTimeCells,
|
|
@@ -558,4 +558,4 @@ export {
|
|
|
558
558
|
renderClock,
|
|
559
559
|
renderClockForExport
|
|
560
560
|
};
|
|
561
|
-
//# sourceMappingURL=chunk-
|
|
561
|
+
//# sourceMappingURL=chunk-CDMF7P5A.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-A4GOY3PE.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RBAW7VUG.js";
|
|
12
12
|
import {
|
|
13
13
|
getLegendExtent,
|
|
14
14
|
getMaxLegendReservedHeight
|
|
15
15
|
} from "./chunk-ES66QH6J.js";
|
|
16
16
|
import {
|
|
17
17
|
FONT_FAMILY
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z5ID35YP.js";
|
|
19
19
|
import {
|
|
20
20
|
LEGEND_GROUP_GAP
|
|
21
21
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
renderBlock,
|
|
397
397
|
authoredCollapsedIds
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-CZUSH6NI.js.map
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-A4GOY3PE.js";
|
|
15
15
|
import {
|
|
16
16
|
renderIntegratedLegend
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RBAW7VUG.js";
|
|
18
18
|
import {
|
|
19
19
|
FONT_FAMILY
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z5ID35YP.js";
|
|
21
21
|
import {
|
|
22
22
|
measureText
|
|
23
23
|
} from "./chunk-4ASYQ347.js";
|
|
@@ -781,4 +781,4 @@ export {
|
|
|
781
781
|
renderMap,
|
|
782
782
|
renderMapForExport
|
|
783
783
|
};
|
|
784
|
-
//# sourceMappingURL=chunk-
|
|
784
|
+
//# sourceMappingURL=chunk-DB2KQ5DN.js.map
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "./chunk-A4GOY3PE.js";
|
|
17
17
|
import {
|
|
18
18
|
renderIntegratedLegend
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RBAW7VUG.js";
|
|
20
20
|
import {
|
|
21
21
|
getMaxLegendReservedHeight
|
|
22
22
|
} from "./chunk-ES66QH6J.js";
|
|
23
23
|
import {
|
|
24
24
|
FONT_FAMILY
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z5ID35YP.js";
|
|
26
26
|
import {
|
|
27
27
|
LEGEND_HEIGHT,
|
|
28
28
|
measureLegendText
|
|
@@ -896,4 +896,4 @@ export {
|
|
|
896
896
|
renderKanban,
|
|
897
897
|
renderKanbanForExport
|
|
898
898
|
};
|
|
899
|
-
//# sourceMappingURL=chunk-
|
|
899
|
+
//# sourceMappingURL=chunk-DN5HEDE4.js.map
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
} from "./chunk-RU2HHHYA.js";
|
|
25
25
|
import {
|
|
26
26
|
renderIntegratedLegend
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RBAW7VUG.js";
|
|
28
28
|
import {
|
|
29
29
|
FONT_FAMILY
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Z5ID35YP.js";
|
|
31
31
|
import {
|
|
32
32
|
measureText,
|
|
33
33
|
truncateText,
|
|
@@ -871,4 +871,4 @@ export {
|
|
|
871
871
|
renderJourneyMap,
|
|
872
872
|
renderJourneyMapForExport
|
|
873
873
|
};
|
|
874
|
-
//# sourceMappingURL=chunk-
|
|
874
|
+
//# sourceMappingURL=chunk-FRC4LDTQ.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-A4GOY3PE.js";
|
|
12
12
|
import {
|
|
13
13
|
FONT_FAMILY
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z5ID35YP.js";
|
|
15
15
|
import {
|
|
16
16
|
measureText,
|
|
17
17
|
truncateText,
|
|
@@ -789,4 +789,4 @@ export {
|
|
|
789
789
|
renderRaci,
|
|
790
790
|
renderRaciForExport
|
|
791
791
|
};
|
|
792
|
-
//# sourceMappingURL=chunk-
|
|
792
|
+
//# sourceMappingURL=chunk-I24O2RWT.js.map
|