@diagrammo/dgmo 0.86.0 → 0.88.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/dist/advanced.d.ts +6 -18
- package/dist/advanced.js +40 -37
- package/dist/block.js +6 -17
- package/dist/{chunk-FAV4RDVT.js → chunk-2A4DQAXG.js} +1 -1
- package/dist/{chunk-JIPUBFAM.js → chunk-5KGM44TG.js} +2 -2
- package/dist/{chunk-VEE777MD.js → chunk-5LD7SHXO.js} +3 -3
- package/dist/{chunk-QJ2JOLFN.js → chunk-6I5UN4FD.js} +2 -2
- package/dist/{chunk-ETBXIKK6.js → chunk-ABP5BUD6.js} +9 -430
- package/dist/{chunk-PKXKWHDW.js → chunk-AUS7V54P.js} +1 -1
- package/dist/{chunk-BF7JAFJI.js → chunk-B7CU2HW5.js} +2 -2
- package/dist/{chunk-X2VEJ5NT.js → chunk-BMUWF77V.js} +2 -2
- package/dist/{chunk-BP4BT5TH.js → chunk-CLQIXD2C.js} +1 -1
- package/dist/{chunk-QJFT5MAH.js → chunk-DSG6GBUQ.js} +2 -2
- package/dist/{chunk-EWSESGC2.js → chunk-EJS3K44P.js} +117 -78
- package/dist/{chunk-5JO443MB.js → chunk-HAH5X345.js} +1 -1
- package/dist/{chunk-HBCAY3KR.js → chunk-HTNLLT34.js} +1 -1
- package/dist/{chunk-HUMQIRJK.js → chunk-HTPZDZKQ.js} +2 -2
- package/dist/{chunk-VPVWG2GH.js → chunk-J7Q4VPBJ.js} +1 -1
- package/dist/{chunk-QPE646M2.js → chunk-JLETTWUJ.js} +30 -10
- package/dist/{chunk-3CQS3CIO.js → chunk-LL6D3MES.js} +1 -1
- package/dist/{chunk-ERYHC4KJ.js → chunk-LSQGJN5H.js} +1 -1
- package/dist/{chunk-AGO3PFGS.js → chunk-MVCPO6LI.js} +15 -10
- package/dist/{chunk-E6S2K6O2.js → chunk-N7XRBWXA.js} +2 -2
- package/dist/{chunk-WMIKC5XO.js → chunk-NPWVOFB3.js} +1 -1
- package/dist/{chunk-MYHPRQHR.js → chunk-O6MMQQLF.js} +3 -3
- package/dist/{chunk-GYORDNOM.js → chunk-P5V63L35.js} +1 -1
- package/dist/{chunk-BHZE36F7.js → chunk-PUVTFUNH.js} +1 -1
- package/dist/{chunk-TW6WMZFW.js → chunk-QT3KDDXK.js} +156 -7
- package/dist/{chunk-ZGHV4QLK.js → chunk-RJNZHFNG.js} +1 -1
- package/dist/{chunk-FWNJDD4U.js → chunk-S7W75MIM.js} +3 -20
- package/dist/{chunk-4YA5XW43.js → chunk-VW52W5F6.js} +981 -107
- package/dist/chunk-WXPBP4IT.js +438 -0
- package/dist/{chunk-C6FZZFYD.js → chunk-WZ23JJ7U.js} +1 -1
- package/dist/{chunk-LIYWJ6DV.js → chunk-XIFK423U.js} +108 -13
- package/dist/{chunk-4ELXLATB.js → chunk-XUDGZJTJ.js} +2 -2
- package/dist/{chunk-H6AFNCN3.js → chunk-XVSJYAK7.js} +1 -1
- package/dist/{chunk-LHBMQJC3.js → chunk-XWYR5T52.js} +2 -2
- package/dist/{chunk-QNKHJ5CK.js → chunk-YK4N6TBN.js} +4 -2
- package/dist/{chunk-XFMQSFS4.js → chunk-YMG7JDEY.js} +16 -6
- package/dist/chunk-Z6DXWULM.js +23 -0
- package/dist/{chunk-PBEH52A2.js → chunk-ZNNVI5SR.js} +1 -1
- package/dist/{flowchart-renderer-H72L7BEC.js → flowchart-renderer-THC6Y7EH.js} +7 -6
- package/dist/index.d.ts +68 -1
- package/dist/index.js +76 -7
- package/dist/{layout-QIPCNUSB.js → layout-BOVTLAOT.js} +7 -6
- package/dist/{layout-6JARW64V.js → layout-EHTYSMV4.js} +6 -5
- package/dist/{layout-YELNBVPC.js → layout-P6DTD4RT.js} +6 -5
- package/dist/{layout-T6TAB5OI.js → layout-RANVNAKI.js} +3 -3
- package/dist/{layout-FMKSENGL.js → layout-XUW444O5.js} +5 -4
- package/dist/{layout-search-AW5VBDCV.js → layout-search-VKSBUCDM.js} +57 -28
- package/dist/{renderer-AI2MD52D.js → renderer-222OTVQV.js} +3 -2
- package/dist/{renderer-UUWR7NGF.js → renderer-2KVQGGTT.js} +4 -3
- package/dist/{renderer-E5EKGIX2.js → renderer-2OOPQ4CH.js} +4 -3
- package/dist/{renderer-CZJ4AMYV.js → renderer-3FF4QVGW.js} +3 -2
- package/dist/{renderer-R6VJDZFO.js → renderer-4BHOELCE.js} +4 -3
- package/dist/{renderer-425QUIYO.js → renderer-4BIMRO4X.js} +4 -3
- package/dist/{renderer-5JVVJBAS.js → renderer-A4LMOBZL.js} +8 -7
- package/dist/{renderer-3AOOLHJU.js → renderer-A6ACVK4X.js} +3 -2
- package/dist/{renderer-ML2CLU25.js → renderer-DCFQDBGJ.js} +4 -3
- package/dist/{renderer-RH4U3UVM.js → renderer-LODEVN3V.js} +3 -2
- package/dist/{renderer-E7WF75GY.js → renderer-NHPKNNBD.js} +5 -4
- package/dist/{renderer-JEEGPLMM.js → renderer-R34GJL7U.js} +8 -7
- package/dist/{renderer-2BWRW23Z.js → renderer-RENDISO5.js} +1 -1
- package/dist/{renderer-NX4YKWCJ.js → renderer-RNCYODNF.js} +1 -1
- package/dist/{renderer-VKAJ52UO.js → renderer-SDUSBCJI.js} +3 -2
- package/dist/{renderer-RLSR7N6I.js → renderer-TPOZOAXR.js} +5 -4
- package/dist/{renderer-RUGMKHX5.js → renderer-WH2HWE5Z.js} +3 -2
- package/dist/{renderer-V6LLASGN.js → renderer-X5A5VIRD.js} +5 -4
- package/dist/{renderer-ADX4DWRJ.js → renderer-XUPLAO4B.js} +4 -2
- package/dist/{renderer-EWJS2RAZ.js → renderer-YDAVCRTP.js} +3 -2
- package/dist/{state-renderer-DDVJ43HR.js → state-renderer-5IQ4OJUI.js} +7 -6
- package/gallery/fixtures/journey-map.dgmo +28 -0
- package/gallery/fixtures/mindmap.dgmo +31 -0
- package/gallery/fixtures/pert.dgmo +27 -0
- package/gallery/fixtures/wireframe.dgmo +30 -0
- package/package.json +2 -2
package/dist/advanced.d.ts
CHANGED
|
@@ -2150,24 +2150,6 @@ declare function layoutBoxesAndLines(parsed: ParsedBoxesAndLines, collapseInfo?:
|
|
|
2150
2150
|
/** Progress hook (interactive path). When set, the search yields between
|
|
2151
2151
|
* candidates so the UI can paint a "trying X of Y" indicator. */
|
|
2152
2152
|
onProgress?: (done: number, total: number, phase: string) => void;
|
|
2153
|
-
/** Wall-clock deadline on candidate generation, in ms. Defaults to
|
|
2154
|
-
* `DEFAULT_SEARCH_BUDGET_MS`; **0 or less means no deadline at all**.
|
|
2155
|
-
*
|
|
2156
|
-
* 🔴 A test that asserts WHICH labels the search managed to place must
|
|
2157
|
-
* pass 0. The search is the one part of layout whose OUTPUT depends on
|
|
2158
|
-
* how much time it got, so a test pinning an exact result is otherwise
|
|
2159
|
-
* measuring the machine — and fails on a busy one while the code is
|
|
2160
|
-
* fine. `layout-search.ts` has said a non-positive budget is "what the
|
|
2161
|
-
* snapshot tests want" since the backstop was added, but nothing
|
|
2162
|
-
* forwarded it here, so no test could ask. Found when a full release's
|
|
2163
|
-
* gate refused dgmo on 2026-09-20: the OAUTH fixture needs ~2.5s a pass
|
|
2164
|
-
* and runs the search twice, so under the suite's own parallel load it
|
|
2165
|
-
* crossed the 5s backstop and five labels came out unplaced.
|
|
2166
|
-
*
|
|
2167
|
-
* This is the escape hatch for tests only. A real caller still gets the
|
|
2168
|
-
* deadline, and it still costs them placed labels on a busy machine —
|
|
2169
|
-
* that half is the search backstop firing on ordinary diagrams (#868). */
|
|
2170
|
-
budgetMs?: number;
|
|
2171
2153
|
}): Promise<BLLayoutResult>;
|
|
2172
2154
|
|
|
2173
2155
|
interface BLRenderOptions {
|
|
@@ -3627,6 +3609,12 @@ interface GanttInteractiveOptions {
|
|
|
3627
3609
|
* change), matching every other ControlsStrip-hosted chart type.
|
|
3628
3610
|
*/
|
|
3629
3611
|
controlsHost?: 'app' | 'inline';
|
|
3612
|
+
/**
|
|
3613
|
+
* The host scales the SVG to fit the container on both axes (the app's
|
|
3614
|
+
* preview pane). A chart taller than the container is laid out wider, to the
|
|
3615
|
+
* container's aspect ratio, so it fills the width instead of a centred column.
|
|
3616
|
+
*/
|
|
3617
|
+
fitToContainer?: boolean;
|
|
3630
3618
|
/** Initial Critical Path highlight state (used when `controlsHost` is `'app'`). */
|
|
3631
3619
|
criticalPathActive?: boolean;
|
|
3632
3620
|
/** Initial Dependencies-arrow visibility (used when `controlsHost` is `'app'`). */
|
package/dist/advanced.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
layoutBracket,
|
|
3
2
|
renderBracket,
|
|
4
3
|
renderBracketForExport
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WXPBP4IT.js";
|
|
6
5
|
import {
|
|
7
6
|
renderRaci,
|
|
8
7
|
renderRaciForExport
|
|
@@ -16,11 +15,11 @@ import {
|
|
|
16
15
|
computeActivations,
|
|
17
16
|
groupMessagesBySection,
|
|
18
17
|
renderSequenceDiagram
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YMG7JDEY.js";
|
|
20
19
|
import {
|
|
21
20
|
renderRing,
|
|
22
21
|
renderRingForExport
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6I5UN4FD.js";
|
|
24
23
|
import {
|
|
25
24
|
layoutTreemapRadial,
|
|
26
25
|
renderTreemapRadial,
|
|
@@ -43,12 +42,12 @@ import {
|
|
|
43
42
|
import {
|
|
44
43
|
renderGoal,
|
|
45
44
|
renderGoalForExport
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XVSJYAK7.js";
|
|
47
46
|
import "./chunk-LNO3ASX5.js";
|
|
48
47
|
import {
|
|
49
48
|
renderCountdown,
|
|
50
49
|
renderCountdownForExport
|
|
51
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5KGM44TG.js";
|
|
52
51
|
import {
|
|
53
52
|
renderClock,
|
|
54
53
|
renderClockForExport
|
|
@@ -60,11 +59,11 @@ import {
|
|
|
60
59
|
renderQuadrantFocusForExport,
|
|
61
60
|
renderTechRadar,
|
|
62
61
|
renderTechRadarForExport
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-YK4N6TBN.js";
|
|
64
63
|
import {
|
|
65
64
|
renderJourneyMap,
|
|
66
65
|
renderJourneyMapForExport
|
|
67
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-N7XRBWXA.js";
|
|
68
67
|
import {
|
|
69
68
|
layoutJourneyMap
|
|
70
69
|
} from "./chunk-DOXBS7F5.js";
|
|
@@ -72,7 +71,7 @@ import {
|
|
|
72
71
|
computeCycleLayout,
|
|
73
72
|
renderCycle,
|
|
74
73
|
renderCycleForExport
|
|
75
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-DSG6GBUQ.js";
|
|
76
75
|
import {
|
|
77
76
|
resolveMap
|
|
78
77
|
} from "./chunk-3AX6MCI6.js";
|
|
@@ -100,20 +99,20 @@ import {
|
|
|
100
99
|
import {
|
|
101
100
|
renderPyramid,
|
|
102
101
|
renderPyramidForExport
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-BMUWF77V.js";
|
|
104
103
|
import {
|
|
105
104
|
collectDiagramRoles,
|
|
106
105
|
computeInfraLegendGroups,
|
|
107
106
|
inferRoles,
|
|
108
107
|
parseAndLayoutInfra,
|
|
109
108
|
renderInfra
|
|
110
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-LSQGJN5H.js";
|
|
111
110
|
import {
|
|
112
111
|
measurePertAnalysisBlock,
|
|
113
112
|
renderPert,
|
|
114
113
|
renderPertAnalysisBlock,
|
|
115
114
|
renderPertForExport
|
|
116
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-P5V63L35.js";
|
|
117
116
|
import {
|
|
118
117
|
analyzePert,
|
|
119
118
|
buildSimulationContext,
|
|
@@ -134,11 +133,11 @@ import {
|
|
|
134
133
|
import {
|
|
135
134
|
buildTagLaneRowList,
|
|
136
135
|
renderGantt
|
|
137
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-MVCPO6LI.js";
|
|
138
137
|
import {
|
|
139
138
|
renderState,
|
|
140
139
|
renderStateForExport
|
|
141
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-B7CU2HW5.js";
|
|
142
141
|
import {
|
|
143
142
|
collapseStateGroups
|
|
144
143
|
} from "./chunk-SQ7IY53Q.js";
|
|
@@ -156,7 +155,7 @@ import {
|
|
|
156
155
|
renderC4ContextForExport,
|
|
157
156
|
renderC4Deployment,
|
|
158
157
|
renderC4DeploymentForExport
|
|
159
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-WZ23JJ7U.js";
|
|
160
159
|
import {
|
|
161
160
|
layoutC4Components,
|
|
162
161
|
layoutC4Containers,
|
|
@@ -167,11 +166,11 @@ import {
|
|
|
167
166
|
import {
|
|
168
167
|
renderFlowchart,
|
|
169
168
|
renderFlowchartForExport
|
|
170
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-XUDGZJTJ.js";
|
|
171
170
|
import "./chunk-26EVL454.js";
|
|
172
171
|
import {
|
|
173
172
|
layoutGraph
|
|
174
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-ZNNVI5SR.js";
|
|
175
174
|
import {
|
|
176
175
|
computeInfra
|
|
177
176
|
} from "./chunk-ICZ7M6IZ.js";
|
|
@@ -180,7 +179,7 @@ import {
|
|
|
180
179
|
} from "./chunk-3FCSOYN4.js";
|
|
181
180
|
import {
|
|
182
181
|
layoutSwimlane
|
|
183
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-AUS7V54P.js";
|
|
184
183
|
import {
|
|
185
184
|
renderSwimlaneForExport
|
|
186
185
|
} from "./chunk-BT2WH2XT.js";
|
|
@@ -198,24 +197,24 @@ import {
|
|
|
198
197
|
import {
|
|
199
198
|
renderMindmap,
|
|
200
199
|
renderMindmapForExport
|
|
201
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-LL6D3MES.js";
|
|
202
201
|
import {
|
|
203
202
|
layoutMindmap
|
|
204
203
|
} from "./chunk-UIUXIDBX.js";
|
|
205
204
|
import {
|
|
206
205
|
renderClassDiagram,
|
|
207
206
|
renderClassDiagramForExport
|
|
208
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-XWYR5T52.js";
|
|
209
208
|
import {
|
|
210
209
|
layoutClassDiagram
|
|
211
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-CLQIXD2C.js";
|
|
212
211
|
import {
|
|
213
212
|
renderERDiagram,
|
|
214
213
|
renderERDiagramForExport
|
|
215
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-HTPZDZKQ.js";
|
|
216
215
|
import {
|
|
217
216
|
layoutERDiagram
|
|
218
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-2A4DQAXG.js";
|
|
219
218
|
import {
|
|
220
219
|
SKETCH_AUTO_LAYOUT_DEFAULTS,
|
|
221
220
|
SKETCH_FOOT_H,
|
|
@@ -245,17 +244,17 @@ import {
|
|
|
245
244
|
import {
|
|
246
245
|
renderBoxesAndLines,
|
|
247
246
|
renderBoxesAndLinesForExport
|
|
248
|
-
} from "./chunk-
|
|
249
|
-
import "./chunk-
|
|
247
|
+
} from "./chunk-O6MMQQLF.js";
|
|
248
|
+
import "./chunk-HAH5X345.js";
|
|
250
249
|
import "./chunk-XBJJP2HN.js";
|
|
251
250
|
import {
|
|
252
251
|
layoutBoxesAndLines
|
|
253
|
-
} from "./chunk-
|
|
254
|
-
import "./chunk-
|
|
255
|
-
import "./chunk-
|
|
256
|
-
import "./chunk-
|
|
252
|
+
} from "./chunk-XIFK423U.js";
|
|
253
|
+
import "./chunk-EJS3K44P.js";
|
|
254
|
+
import "./chunk-QT3KDDXK.js";
|
|
255
|
+
import "./chunk-HTNLLT34.js";
|
|
257
256
|
import "./chunk-6EK55ART.js";
|
|
258
|
-
import "./chunk-
|
|
257
|
+
import "./chunk-RJNZHFNG.js";
|
|
259
258
|
import "./chunk-5DH3KYFH.js";
|
|
260
259
|
import {
|
|
261
260
|
renderVersionControl,
|
|
@@ -282,26 +281,26 @@ import "./chunk-BS7SV7C3.js";
|
|
|
282
281
|
import {
|
|
283
282
|
renderSitemap,
|
|
284
283
|
renderSitemapForExport
|
|
285
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-PUVTFUNH.js";
|
|
286
285
|
import {
|
|
287
286
|
computeCardArchive,
|
|
288
287
|
computeCardMove,
|
|
289
288
|
isArchiveColumn,
|
|
290
289
|
renderKanban,
|
|
291
290
|
renderKanbanForExport
|
|
292
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-J7Q4VPBJ.js";
|
|
293
292
|
import {
|
|
294
293
|
clearEventLineMuted,
|
|
295
294
|
focusEventLine,
|
|
296
295
|
renderEventLine,
|
|
297
296
|
renderEventLineForExport
|
|
298
|
-
} from "./chunk-
|
|
299
|
-
import "./chunk-
|
|
297
|
+
} from "./chunk-5LD7SHXO.js";
|
|
298
|
+
import "./chunk-NPWVOFB3.js";
|
|
300
299
|
import "./chunk-R2K5L4UA.js";
|
|
301
300
|
import {
|
|
302
301
|
parseInlineMarkdown,
|
|
303
302
|
truncateBareUrl
|
|
304
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-S7W75MIM.js";
|
|
305
304
|
import {
|
|
306
305
|
renderBody,
|
|
307
306
|
renderBodyForExport
|
|
@@ -312,6 +311,7 @@ import {
|
|
|
312
311
|
searchMapLocations,
|
|
313
312
|
themes
|
|
314
313
|
} from "./chunk-SQAG3UXH.js";
|
|
314
|
+
import "./chunk-Z6DXWULM.js";
|
|
315
315
|
import {
|
|
316
316
|
DEFAULT_DIM_OPACITY,
|
|
317
317
|
orderArcNodes,
|
|
@@ -322,7 +322,10 @@ import {
|
|
|
322
322
|
renderSlopeChart,
|
|
323
323
|
renderVenn,
|
|
324
324
|
renderWordCloud
|
|
325
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-VW52W5F6.js";
|
|
326
|
+
import {
|
|
327
|
+
layoutBracket
|
|
328
|
+
} from "./chunk-ABP5BUD6.js";
|
|
326
329
|
import "./chunk-D4M25W6R.js";
|
|
327
330
|
import {
|
|
328
331
|
CHART_TYPE_DESCRIPTIONS,
|
|
@@ -376,7 +379,7 @@ import "./chunk-2CW5ZTNH.js";
|
|
|
376
379
|
import {
|
|
377
380
|
formatDateLabel,
|
|
378
381
|
renderTimeline
|
|
379
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-JLETTWUJ.js";
|
|
380
383
|
import {
|
|
381
384
|
computeTimeTicks
|
|
382
385
|
} from "./chunk-YRYKTYMQ.js";
|
package/dist/block.js
CHANGED
|
@@ -4,7 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-D3K4U3ZM.js";
|
|
5
5
|
import {
|
|
6
6
|
render
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VW52W5F6.js";
|
|
8
|
+
import "./chunk-ABP5BUD6.js";
|
|
8
9
|
import {
|
|
9
10
|
docsLink,
|
|
10
11
|
renderErrorCard
|
|
@@ -20,7 +21,10 @@ import "./chunk-KMU65FYM.js";
|
|
|
20
21
|
import "./chunk-EPDBWATV.js";
|
|
21
22
|
import "./chunk-7UDAIP6W.js";
|
|
22
23
|
import "./chunk-2CW5ZTNH.js";
|
|
23
|
-
import
|
|
24
|
+
import {
|
|
25
|
+
escapeAttr,
|
|
26
|
+
escapeHtml
|
|
27
|
+
} from "./chunk-JLETTWUJ.js";
|
|
24
28
|
import "./chunk-YRYKTYMQ.js";
|
|
25
29
|
import "./chunk-24YPR5EH.js";
|
|
26
30
|
import "./chunk-XCKNFFKM.js";
|
|
@@ -559,21 +563,6 @@ function markTokensInRange(tokens, from, to, role) {
|
|
|
559
563
|
}
|
|
560
564
|
}
|
|
561
565
|
|
|
562
|
-
// src/embed/escape.ts
|
|
563
|
-
var HTML_ENTITIES = {
|
|
564
|
-
"&": "&",
|
|
565
|
-
"<": "<",
|
|
566
|
-
">": ">",
|
|
567
|
-
'"': """,
|
|
568
|
-
"'": "'"
|
|
569
|
-
};
|
|
570
|
-
function escapeHtml(s) {
|
|
571
|
-
return s.replace(/[&<>"']/g, (ch) => HTML_ENTITIES[ch] ?? ch);
|
|
572
|
-
}
|
|
573
|
-
function escapeAttr(s) {
|
|
574
|
-
return s.replace(/[&<>"']/g, (ch) => HTML_ENTITIES[ch] ?? ch);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
566
|
// src/embed/css.ts
|
|
578
567
|
var BLOCK_CSS = `
|
|
579
568
|
/* @diagrammo/dgmo block \u2014 standard embed chrome.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
wrapDescriptionLines
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NPWVOFB3.js";
|
|
4
4
|
import {
|
|
5
5
|
renderInlineText,
|
|
6
6
|
stripInlineMarkdown
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-S7W75MIM.js";
|
|
8
8
|
import {
|
|
9
9
|
FONT_FAMILY
|
|
10
10
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
wrapDescriptionLines
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NPWVOFB3.js";
|
|
4
4
|
import {
|
|
5
5
|
renderNodeCard
|
|
6
6
|
} from "./chunk-R2K5L4UA.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInlineText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S7W75MIM.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDateLabel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JLETTWUJ.js";
|
|
13
13
|
import {
|
|
14
14
|
CARD_RADIUS,
|
|
15
15
|
HAIRLINE_DASH,
|