@diagrammo/dgmo 0.62.1 → 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.
Files changed (96) hide show
  1. package/README.md +2 -2
  2. package/dist/advanced.d.ts +70 -1
  3. package/dist/advanced.js +126 -46
  4. package/dist/block.js +9 -9
  5. package/dist/chart-meta.js +2 -2
  6. package/dist/{charts-d3-M76E4TZU.js → charts-d3-ZTXJWEHI.js} +4 -4
  7. package/dist/{chunk-BIWMOFSE.js → chunk-2KOBOIB2.js} +2 -2
  8. package/dist/{chunk-KHTKMVKT.js → chunk-67D4MN2H.js} +2 -2
  9. package/dist/{chunk-TJCHULP5.js → chunk-7GUYGQR4.js} +2 -2
  10. package/dist/{chunk-2LN5C6FH.js → chunk-7T3A2UK3.js} +10 -6
  11. package/dist/{chunk-3PVUGECM.js → chunk-AA4M6F2P.js} +2 -2
  12. package/dist/{chunk-W32HMBPW.js → chunk-B6AONGTI.js} +3 -3
  13. package/dist/{chunk-DY4VJYG7.js → chunk-C6DMG2V6.js} +3 -3
  14. package/dist/{chunk-MD2KWAXJ.js → chunk-CDMF7P5A.js} +2 -2
  15. package/dist/{chunk-HBSKE3ML.js → chunk-CZUSH6NI.js} +3 -3
  16. package/dist/{chunk-USHDV2AF.js → chunk-DB2KQ5DN.js} +3 -3
  17. package/dist/{chunk-34HQALZ5.js → chunk-DN5HEDE4.js} +3 -3
  18. package/dist/{chunk-PUFWYDWP.js → chunk-FRC4LDTQ.js} +3 -3
  19. package/dist/{chunk-MRD4QWFK.js → chunk-I24O2RWT.js} +2 -2
  20. package/dist/{chunk-VWCGN2ST.js → chunk-I2ATN25N.js} +3 -3
  21. package/dist/{chunk-SSR6JAR3.js → chunk-IGIJZHB6.js} +2 -2
  22. package/dist/{chunk-3HYRJAXO.js → chunk-IX6N5MCY.js} +3 -3
  23. package/dist/{chunk-AKD3YZ54.js → chunk-KPX2OWZR.js} +3 -3
  24. package/dist/{chunk-L26ZAPNJ.js → chunk-KZ3PCDUJ.js} +2 -2
  25. package/dist/{chunk-UZ3JPYD3.js → chunk-L4IN4OBB.js} +3 -3
  26. package/dist/{chunk-RZRMSNO7.js → chunk-LMXAB4YM.js} +3 -3
  27. package/dist/{chunk-X4FCKGK2.js → chunk-LYTEVE2N.js} +3 -3
  28. package/dist/{chunk-NQH2Q2RR.js → chunk-M4HYPDER.js} +3 -3
  29. package/dist/{chunk-OIK6Y2EJ.js → chunk-MHI6W6XS.js} +4 -4
  30. package/dist/{chunk-FVYHDZ6Q.js → chunk-MQHOKBJ6.js} +3 -3
  31. package/dist/{chunk-U22TKD3L.js → chunk-NIZM3LAG.js} +4 -4
  32. package/dist/{chunk-A34FVVVI.js → chunk-NKRCPBTJ.js} +2 -2
  33. package/dist/{chunk-XXDEQSW4.js → chunk-OBKM6GIJ.js} +3 -3
  34. package/dist/{chunk-BPINSP65.js → chunk-OMTBYLKN.js} +4 -4
  35. package/dist/{chunk-UKZ7K5GS.js → chunk-RBAW7VUG.js} +4 -3
  36. package/dist/{chunk-KK5LQIN7.js → chunk-RBBJIHNL.js} +4 -4
  37. package/dist/{chunk-DUHKYKI7.js → chunk-RQL25P3U.js} +4 -4
  38. package/dist/{chunk-LFAQ4BLZ.js → chunk-S5RWWISJ.js} +3 -3
  39. package/dist/{chunk-65QX6LYT.js → chunk-SJGZSPSW.js} +9 -3
  40. package/dist/{chunk-BGITRLTR.js → chunk-SMCUX42K.js} +2 -2
  41. package/dist/{chunk-PTKCX5ZE.js → chunk-SPHC4RYF.js} +3 -3
  42. package/dist/{chunk-TRP7PC5Z.js → chunk-SVR3YFM3.js} +3 -3
  43. package/dist/{chunk-YVI3JL3S.js → chunk-T4QXHE34.js} +4 -4
  44. package/dist/{chunk-SV7F363F.js → chunk-TAJ2XFTT.js} +3 -3
  45. package/dist/{chunk-SBOG6R6A.js → chunk-V3UQSKWJ.js} +3 -3
  46. package/dist/{chunk-QDPMTFB4.js → chunk-VOJOARA6.js} +45 -45
  47. package/dist/{chunk-2PTK46E2.js → chunk-WDJ4HAGO.js} +2 -2
  48. package/dist/{chunk-QFNRHY62.js → chunk-XUN3MIO3.js} +2 -2
  49. package/dist/{chunk-L4B4GRVS.js → chunk-YHTKDIF2.js} +3 -3
  50. package/dist/{chunk-IMXG673Y.js → chunk-YLK3JNWP.js} +2 -2
  51. package/dist/{chunk-GCVTU64J.js → chunk-Z2ADWRSW.js} +3 -3
  52. package/dist/{chunk-6KFWC4CO.js → chunk-Z5ID35YP.js} +4 -2
  53. package/dist/{dgmo-router-Z5N6QLIC.js → dgmo-router-QWRF7ZKM.js} +3 -3
  54. package/dist/{flowchart-renderer-BCVCIZHF.js → flowchart-renderer-EXMRHFTQ.js} +3 -3
  55. package/dist/index.js +9 -9
  56. package/dist/{parser-SRUPRH77.js → parser-5WIZGKNE.js} +2 -2
  57. package/dist/{renderer-XIJO7DYS.js → renderer-2ARNFXSC.js} +4 -4
  58. package/dist/{renderer-NKVIQA3C.js → renderer-2E7LQC32.js} +3 -3
  59. package/dist/{renderer-CU6BEHHV.js → renderer-7OOC2ZO2.js} +3 -3
  60. package/dist/{renderer-UTXVIAS7.js → renderer-BYWLJDT4.js} +4 -4
  61. package/dist/{renderer-AVR3LBTS.js → renderer-C6KOE774.js} +4 -4
  62. package/dist/{renderer-M7YOXAGC.js → renderer-DMVUBKP7.js} +3 -3
  63. package/dist/{renderer-5HYDLCMX.js → renderer-FCO42JLK.js} +4 -4
  64. package/dist/{renderer-HPQJRSON.js → renderer-H6AQ4UIR.js} +4 -4
  65. package/dist/{renderer-BBBN7QNX.js → renderer-HLWEJQJW.js} +3 -3
  66. package/dist/{renderer-HGWKAXS6.js → renderer-IN3UPTZS.js} +3 -3
  67. package/dist/{renderer-TDFRMG3O.js → renderer-KK2534AF.js} +3 -3
  68. package/dist/{renderer-TTMBG2N6.js → renderer-KOWVTTYR.js} +4 -4
  69. package/dist/{renderer-PKST5W6U.js → renderer-KPEQ72FY.js} +5 -5
  70. package/dist/{renderer-DRLZELXM.js → renderer-LO4FXQHP.js} +4 -4
  71. package/dist/{renderer-KHVAM4IY.js → renderer-LSBXYOID.js} +4 -4
  72. package/dist/{renderer-K3TH5PP7.js → renderer-M3PQKXK2.js} +5 -5
  73. package/dist/{renderer-AMCTCBV3.js → renderer-M43ROWET.js} +4 -4
  74. package/dist/{renderer-Q2YHQQSN.js → renderer-NHFRVCDC.js} +4 -4
  75. package/dist/{renderer-JL7L5Y5M.js → renderer-OA7FSZ4A.js} +3 -3
  76. package/dist/{renderer-CHHYNEK7.js → renderer-OB77AT7V.js} +4 -4
  77. package/dist/{renderer-35F3XMZH.js → renderer-OYTERGAO.js} +4 -4
  78. package/dist/{renderer-4VDSMPYU.js → renderer-PM7JPC3J.js} +5 -5
  79. package/dist/{renderer-XDL6PRLN.js → renderer-QEHUJHRK.js} +4 -4
  80. package/dist/{renderer-2DKA5QXA.js → renderer-QR5343AR.js} +3 -3
  81. package/dist/{renderer-JBF2PAVP.js → renderer-T5CUGSXP.js} +4 -4
  82. package/dist/{renderer-A5GFW2XH.js → renderer-WN47AMUM.js} +6 -6
  83. package/dist/{renderer-ZHBFOSK5.js → renderer-WR3FA3FF.js} +4 -4
  84. package/dist/{renderer-RN5ZFIEK.js → renderer-XLEYPLVL.js} +4 -4
  85. package/dist/{renderer-DJ5DP3RH.js → renderer-XLPNUOYA.js} +4 -4
  86. package/dist/{renderer-RJT3MOUU.js → renderer-YBEZ5V2H.js} +3 -3
  87. package/dist/{renderer-KKNXTTFE.js → renderer-YELZR4QT.js} +6 -6
  88. package/dist/{renderer-JSFWNV37.js → renderer-YLM4CGBG.js} +5 -5
  89. package/dist/{renderer-726UVOKE.js → renderer-ZNTLBQ45.js} +4 -4
  90. package/dist/{renderer-radial-4J2KO4GZ.js → renderer-radial-XWAKJACV.js} +4 -4
  91. package/dist/{state-renderer-MCWCZ76U.js → state-renderer-LIESKSBO.js} +4 -4
  92. package/fonts/coverage.json +1 -0
  93. package/package.json +3 -2
  94. package/dist/auto.css +0 -557
  95. package/dist/auto.js +0 -886
  96. 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
@@ -6699,4 +6699,73 @@ declare function resolveColorWithDiagnostic(color: string, line: number, diagnos
6699
6699
  /** @deprecated Use getSeriesColors(palette) from '@/lib/palettes' instead. */
6700
6700
  declare const seriesColors: string[];
6701
6701
 
6702
- export { ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type BlockCell, type BlockGrid, type BlockLayoutItem, type BlockLayoutResult, type BlockNode, type BlockOptions, type BodyFigure, type BodyOptions, type BodyPart, type BracketMode, type BracketSide, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type ClockEntry, type ClockFace, type ClockZoneKind, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CountUnits, type CreateMapGeoQueryOptions, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, DgmoError, type DiagramSymbols, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EventLineEra, type EventLineEvent, type EventLineFocus, type EventLineOptions, type ExpandedActivity, type ExtendedChartType, type FamilyChild, type FamilyChildEdge, type FamilyLayoutNode, type FamilyLayoutResult, type FamilyMarriageBar, type FamilyPerson, type FamilySex, type FamilyUnion, type FocusOrgResult, type FocusResult, type FocusTarget, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, GeoExtent, type GetOrCreateNameResult, type GoalMode, type GoalOptions, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions$1 as LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, MapData, type MapExportDimensions, type MapGeoQuery, type MapLayout, type MapLayoutInset, type MapLayoutLeg, MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapLayoutStretch, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NearestCity, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBody, type ParsedBoxesAndLines, type ParsedBracket, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedClock, type ParsedCountdown, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedFamily, type ParsedGantt, type ParsedGoal, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedLiveLink, ParsedMap, type ParsedMindmap, ParsedOrg, type ParsedPert, type ParsedPyramid, ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSketch, type ParsedSwimlane, type ParsedTechRadar, type ParsedTreemap, type ParsedVersionControl, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PlaceResolution, type PlacedLabel, type ProjectedCity, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, RaciMarker, RaciTask, RaciVariant, type RadialCell, type RadialLayoutResult, type RawMatch, type RawSeed, type RecurRule, type RegionToken, type RelationshipType, type RenderStep, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, type RoundMode, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SHAPE_KINDS, SKETCH_SLOT_X, SKETCH_SLOT_Y, ScaleContext, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type SketchAt, type SketchAutoLayoutFlags, type SketchBox, type SketchCollapseResult, type SketchEdge, type SketchEdgeGeometry, type SketchEdgeHeads, type SketchLayout, type SketchLayoutBox, type SketchLayoutNode, type SketchLayoutOptions, type SketchNode, type SketchOptions, type SketchRenderOptions, type SketchShapeKind, type StateCollapseResult, type SwimEdge, type SwimEvent, type SwimLane, type SwimNode, type SwimPhase, type SwimShape, type LayoutBand as SwimlaneLayoutBand, type SwimlaneLayoutResult, TagEntry, TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type TreemapCell, type TreemapColorMode, type TreemapLayoutResult, type TreemapNode, type TreemapOptions, type VCBranch, type VCNode, type VCNote, type VCOptions, type VCRef, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, type WorkWindow, type ZoneSuggestion, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, formatDateLabel, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, groupMessagesBySection, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isSketchShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePlace, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBody, parseBoxesAndLines, parseBracket, parseC4, parseChart, parseClassDiagram, parseClock, parseCountdown, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFamily, parseFixedOffset, parseFlowchart, parseGantt, parseGoal, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseLiveLink, parseMap, parseMindmap, parsePert, parsePyramid, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseSketch, parseState, parseSwimlane, parseTechRadar, parseTimelineDate, parseTreemap, parseVersionControl, parseVisualization, parseWireframe, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, relayoutPert, render, renderArcDiagram, renderBlock, renderBlockForExport, renderBody, renderBodyForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderBracket, renderBracketForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderClock, renderClockForExport, renderCountdown, renderCountdownForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFamily, renderFamilyForExport, renderFlowchart, renderFlowchartForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSketch, renderSketchForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchEdgeGeometry, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra, validateLabelCharacters };
6702
+ /**
6703
+ * Which characters the bundled Inter cannot draw.
6704
+ *
6705
+ * Inter covers Latin, Greek and Cyrillic. It has no CJK, Devanagari, Tamil,
6706
+ * Arabic, Hebrew or Thai — and never did, upstream included. In a browser that
6707
+ * is harmless: `FONT_FAMILY` ends in `system-ui, …, sans-serif` and the browser
6708
+ * walks that chain per character, so a Japanese reader sees Japanese.
6709
+ *
6710
+ * 🔴 When rasterising it is not harmless. resvg resolves the whole family chain
6711
+ * against the fonts it was given, so text in a script the bundled font lacks
6712
+ * falls back to whatever system fonts resvg loaded — and if it loaded none, it
6713
+ * draws NOTHING. Not a .notdef box: nothing, silently, exit code 0. Measured
6714
+ * 2026-08-07 on `@diagrammo/dgmo-cli` 0.62.3 — a bar chart labelled 日本語
6715
+ * rasterised to pixels identical to one labelled with a Private Use codepoint
6716
+ * that exists in no font at all.
6717
+ *
6718
+ * That is why `loadSystemFonts` is now always on at both rasterising call sites.
6719
+ * This module covers what that fix cannot: a machine with no font for the script
6720
+ * — a bare CI container, most Docker images — still draws nothing, and the
6721
+ * output is silently wrong rather than loudly broken. So a diagram carrying
6722
+ * characters outside the bundled coverage is a PORTABILITY warning: it renders
6723
+ * here because this machine happens to have a font, and may not render there.
6724
+ *
6725
+ * Coverage is read from `fonts/coverage.json`, generated by
6726
+ * `scripts/build-fonts.mjs` from the real subset output — never hand-written,
6727
+ * so it cannot drift from the bytes actually shipped.
6728
+ */
6729
+ /** A closed codepoint range, `[start, end]` inclusive. */
6730
+ type CodepointRange = readonly [number, number];
6731
+ /** What `fonts/coverage.json` holds. */
6732
+ interface FontCoverage {
6733
+ /** Ranges the built TTF actually contains, ascending and non-overlapping. */
6734
+ readonly ranges: readonly CodepointRange[];
6735
+ }
6736
+ /** One run of characters the bundled font cannot draw. */
6737
+ interface UncoveredRun {
6738
+ /** The characters themselves, deduplicated, in first-seen order. */
6739
+ readonly characters: string;
6740
+ /** A human-readable guess at the script, for the message. */
6741
+ readonly script: string;
6742
+ /** How many distinct codepoints in this run. */
6743
+ readonly count: number;
6744
+ }
6745
+ /**
6746
+ * Pull the drawable text out of a rendered SVG.
6747
+ *
6748
+ * Reads `<text>` and `<tspan>` content rather than the diagram source, because
6749
+ * the source also holds directives, colour names and chart-type keywords that
6750
+ * are never drawn — warning about a character in a line nobody sees would be
6751
+ * noise. Entities are decoded, since `&amp;` reaches the font as `&`.
6752
+ */
6753
+ declare function textFromSvg(svg: string): string;
6754
+ /**
6755
+ * Group the characters of `text` that the bundled font cannot draw, by script.
6756
+ *
6757
+ * Control characters and whitespace are ignored — they are never drawn and a
6758
+ * newline is not a coverage gap.
6759
+ */
6760
+ declare function uncoveredCharacters(text: string, coverage: FontCoverage): readonly UncoveredRun[];
6761
+ /**
6762
+ * The warning a rasterising caller should print, or `undefined` when every
6763
+ * character is covered.
6764
+ *
6765
+ * Phrased as portability rather than failure, because with system fonts loaded
6766
+ * it usually HAS rendered on this machine — the risk is the next machine. It
6767
+ * never says "will not render", which would be wrong here and ignored there.
6768
+ */
6769
+ declare function fontPortabilityWarning(runs: readonly UncoveredRun[]): string | undefined;
6770
+
6771
+ export { ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type BlockCell, type BlockGrid, type BlockLayoutItem, type BlockLayoutResult, type BlockNode, type BlockOptions, type BodyFigure, type BodyOptions, type BodyPart, type BracketMode, type BracketSide, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type ClockEntry, type ClockFace, type ClockZoneKind, type CodepointRange, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CountUnits, type CreateMapGeoQueryOptions, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, DgmoError, type DiagramSymbols, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EventLineEra, type EventLineEvent, type EventLineFocus, type EventLineOptions, type ExpandedActivity, type ExtendedChartType, type FamilyChild, type FamilyChildEdge, type FamilyLayoutNode, type FamilyLayoutResult, type FamilyMarriageBar, type FamilyPerson, type FamilySex, type FamilyUnion, type FocusOrgResult, type FocusResult, type FocusTarget, type FontCoverage, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, GeoExtent, type GetOrCreateNameResult, type GoalMode, type GoalOptions, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions$1 as LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, MapData, type MapExportDimensions, type MapGeoQuery, type MapLayout, type MapLayoutInset, type MapLayoutLeg, MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapLayoutStretch, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NearestCity, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBody, type ParsedBoxesAndLines, type ParsedBracket, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedClock, type ParsedCountdown, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedFamily, type ParsedGantt, type ParsedGoal, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedLiveLink, ParsedMap, type ParsedMindmap, ParsedOrg, type ParsedPert, type ParsedPyramid, ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSketch, type ParsedSwimlane, type ParsedTechRadar, type ParsedTreemap, type ParsedVersionControl, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PlaceResolution, type PlacedLabel, type ProjectedCity, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, RaciMarker, RaciTask, RaciVariant, type RadialCell, type RadialLayoutResult, type RawMatch, type RawSeed, type RecurRule, type RegionToken, type RelationshipType, type RenderStep, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, type RoundMode, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SHAPE_KINDS, SKETCH_SLOT_X, SKETCH_SLOT_Y, ScaleContext, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type SketchAt, type SketchAutoLayoutFlags, type SketchBox, type SketchCollapseResult, type SketchEdge, type SketchEdgeGeometry, type SketchEdgeHeads, type SketchLayout, type SketchLayoutBox, type SketchLayoutNode, type SketchLayoutOptions, type SketchNode, type SketchOptions, type SketchRenderOptions, type SketchShapeKind, type StateCollapseResult, type SwimEdge, type SwimEvent, type SwimLane, type SwimNode, type SwimPhase, type SwimShape, type LayoutBand as SwimlaneLayoutBand, type SwimlaneLayoutResult, TagEntry, TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type TreemapCell, type TreemapColorMode, type TreemapLayoutResult, type TreemapNode, type TreemapOptions, type UncoveredRun, type VCBranch, type VCNode, type VCNote, type VCOptions, type VCRef, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, type WorkWindow, type ZoneSuggestion, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatDateLabel, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, groupMessagesBySection, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isSketchShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePlace, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBody, parseBoxesAndLines, parseBracket, parseC4, parseChart, parseClassDiagram, parseClock, parseCountdown, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFamily, parseFixedOffset, parseFlowchart, parseGantt, parseGoal, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseLiveLink, parseMap, parseMindmap, parsePert, parsePyramid, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseSketch, parseState, parseSwimlane, parseTechRadar, parseTimelineDate, parseTreemap, parseVersionControl, parseVisualization, parseWireframe, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, relayoutPert, render, renderArcDiagram, renderBlock, renderBlockForExport, renderBody, renderBodyForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderBracket, renderBracketForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderClock, renderClockForExport, renderCountdown, renderCountdownForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFamily, renderFamilyForExport, renderFlowchart, renderFlowchartForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSketch, renderSketchForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchEdgeGeometry, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, uncoveredCharacters, validateComputed, validateInfra, validateLabelCharacters };
package/dist/advanced.js CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  layoutBracket,
3
3
  renderBracket,
4
4
  renderBracketForExport
5
- } from "./chunk-W32HMBPW.js";
5
+ } from "./chunk-B6AONGTI.js";
6
6
  import {
7
7
  renderRaci,
8
8
  renderRaciForExport
9
- } from "./chunk-MRD4QWFK.js";
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-OIK6Y2EJ.js";
19
+ } from "./chunk-MHI6W6XS.js";
20
20
  import {
21
21
  renderRing,
22
22
  renderRingForExport
23
- } from "./chunk-A34FVVVI.js";
23
+ } from "./chunk-NKRCPBTJ.js";
24
24
  import {
25
25
  layoutTreemapRadial,
26
26
  renderTreemapRadial,
27
27
  renderTreemapRadialForExport
28
- } from "./chunk-PTKCX5ZE.js";
28
+ } from "./chunk-SPHC4RYF.js";
29
29
  import {
30
30
  layoutTreemap,
31
31
  renderTreemap,
32
32
  renderTreemapForExport
33
- } from "./chunk-3HYRJAXO.js";
33
+ } from "./chunk-IX6N5MCY.js";
34
34
  import {
35
35
  renderLiveLinkCard
36
- } from "./chunk-FVYHDZ6Q.js";
36
+ } from "./chunk-MQHOKBJ6.js";
37
37
  import {
38
38
  authoredCollapsedIds,
39
39
  layoutBlock,
40
40
  renderBlock,
41
41
  renderBlockForExport
42
- } from "./chunk-HBSKE3ML.js";
42
+ } from "./chunk-CZUSH6NI.js";
43
43
  import {
44
44
  renderGoal,
45
45
  renderGoalForExport
46
- } from "./chunk-2PTK46E2.js";
46
+ } from "./chunk-WDJ4HAGO.js";
47
47
  import "./chunk-3A7KMF33.js";
48
48
  import {
49
49
  renderCountdown,
50
50
  renderCountdownForExport
51
- } from "./chunk-BIWMOFSE.js";
51
+ } from "./chunk-2KOBOIB2.js";
52
52
  import {
53
53
  renderClock,
54
54
  renderClockForExport
55
- } from "./chunk-MD2KWAXJ.js";
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-UZ3JPYD3.js";
63
+ } from "./chunk-L4IN4OBB.js";
64
64
  import {
65
65
  renderJourneyMap,
66
66
  renderJourneyMapForExport
67
- } from "./chunk-PUFWYDWP.js";
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-DY4VJYG7.js";
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-USHDV2AF.js";
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-TJCHULP5.js";
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-TRP7PC5Z.js";
108
+ } from "./chunk-SVR3YFM3.js";
109
109
  import {
110
110
  measurePertAnalysisBlock,
111
111
  renderPert,
112
112
  renderPertAnalysisBlock,
113
113
  renderPertForExport
114
- } from "./chunk-SV7F363F.js";
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-VWCGN2ST.js";
135
+ } from "./chunk-I2ATN25N.js";
136
136
  import {
137
137
  renderState,
138
138
  renderStateForExport
139
- } from "./chunk-NQH2Q2RR.js";
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-SSR6JAR3.js";
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-RZRMSNO7.js";
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-BGITRLTR.js";
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-QFNRHY62.js";
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-SBOG6R6A.js";
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-DUHKYKI7.js";
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-U22TKD3L.js";
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-XXDEQSW4.js";
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-AKD3YZ54.js";
235
+ } from "./chunk-KPX2OWZR.js";
236
236
  import {
237
237
  renderBoxesAndLines,
238
238
  renderBoxesAndLinesForExport
239
- } from "./chunk-X4FCKGK2.js";
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-IMXG673Y.js";
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-KK5LQIN7.js";
262
- import "./chunk-L26ZAPNJ.js";
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-L4B4GRVS.js";
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-34HQALZ5.js";
283
+ } from "./chunk-DN5HEDE4.js";
284
284
  import {
285
285
  clearEventLineMuted,
286
286
  focusEventLine,
287
287
  renderEventLine,
288
288
  renderEventLineForExport
289
- } from "./chunk-YVI3JL3S.js";
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-GCVTU64J.js";
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-QDPMTFB4.js";
317
- import "./chunk-LFAQ4BLZ.js";
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-2LN5C6FH.js";
322
+ } from "./chunk-7T3A2UK3.js";
323
323
  import "./chunk-CVVICCSB.js";
324
324
  import {
325
325
  formatDateLabel,
326
326
  renderTimeline
327
- } from "./chunk-BPINSP65.js";
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-KHTKMVKT.js";
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-UKZ7K5GS.js";
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-6KFWC4CO.js";
346
+ import "./chunk-Z5ID35YP.js";
347
347
  import {
348
348
  LEGEND_GEAR_PILL_W,
349
349
  LEGEND_HEIGHT
@@ -369,7 +369,7 @@ import {
369
369
  parseDgmo,
370
370
  parseDgmoChartType,
371
371
  parseVisualization
372
- } from "./chunk-3PVUGECM.js";
372
+ } from "./chunk-AA4M6F2P.js";
373
373
  import {
374
374
  normalizePlace,
375
375
  parseClock,
@@ -514,7 +514,7 @@ import {
514
514
  isSequenceNote,
515
515
  looksLikeSequence,
516
516
  parseSequenceDgmo
517
- } from "./chunk-65QX6LYT.js";
517
+ } from "./chunk-SJGZSPSW.js";
518
518
  import {
519
519
  RULE_COUNT,
520
520
  inferParticipantType
@@ -1760,6 +1760,83 @@ function insertionLineFor(task, roleId, parsed) {
1760
1760
  }
1761
1761
  return lastAssignmentLine;
1762
1762
  }
1763
+
1764
+ // src/font-coverage.ts
1765
+ var SCRIPT_BLOCKS = [
1766
+ [1424, 1535, "Hebrew"],
1767
+ [1536, 1791, "Arabic"],
1768
+ [1792, 1871, "Syriac"],
1769
+ [2304, 2431, "Devanagari"],
1770
+ [2432, 2559, "Bengali"],
1771
+ [2560, 2687, "Gurmukhi"],
1772
+ [2688, 2815, "Gujarati"],
1773
+ [2816, 2943, "Odia"],
1774
+ [2944, 3071, "Tamil"],
1775
+ [3072, 3199, "Telugu"],
1776
+ [3200, 3327, "Kannada"],
1777
+ [3328, 3455, "Malayalam"],
1778
+ [3584, 3711, "Thai"],
1779
+ [4096, 4255, "Burmese"],
1780
+ [4352, 4607, "Korean"],
1781
+ [12352, 12447, "Japanese"],
1782
+ [12448, 12543, "Japanese"],
1783
+ [13312, 19903, "Chinese"],
1784
+ [19968, 40959, "Chinese"],
1785
+ [44032, 55215, "Korean"],
1786
+ [63744, 64255, "Chinese"],
1787
+ [127744, 129791, "emoji"]
1788
+ ];
1789
+ function scriptOf(cp) {
1790
+ for (const [start, end, name] of SCRIPT_BLOCKS) {
1791
+ if (cp >= start && cp <= end) return name;
1792
+ }
1793
+ return "other";
1794
+ }
1795
+ function covered(cp, ranges) {
1796
+ return ranges.some(([start, end]) => cp >= start && cp <= end);
1797
+ }
1798
+ function textFromSvg(svg) {
1799
+ const parts = [];
1800
+ const element = /<(?:text|tspan)\b[^>]*>([\s\S]*?)<\/(?:text|tspan)>/g;
1801
+ let match;
1802
+ while ((match = element.exec(svg)) !== null) {
1803
+ parts.push((match[1] ?? "").replace(/<[^>]*>/g, ""));
1804
+ }
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(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
1809
+ }
1810
+ function uncoveredCharacters(text, coverage) {
1811
+ const byScript = /* @__PURE__ */ new Map();
1812
+ const seen = /* @__PURE__ */ new Set();
1813
+ for (const char of text) {
1814
+ const cp = char.codePointAt(0);
1815
+ if (cp === void 0 || seen.has(cp)) continue;
1816
+ seen.add(cp);
1817
+ if (cp < 32 || cp === 127) continue;
1818
+ if (/\s/.test(char)) continue;
1819
+ if (covered(cp, coverage.ranges)) continue;
1820
+ const script = scriptOf(cp);
1821
+ const bucket = byScript.get(script);
1822
+ if (bucket) bucket.push(char);
1823
+ else byScript.set(script, [char]);
1824
+ }
1825
+ return [...byScript.entries()].map(([script, chars]) => ({
1826
+ script,
1827
+ characters: chars.join(""),
1828
+ count: chars.length
1829
+ }));
1830
+ }
1831
+ function fontPortabilityWarning(runs) {
1832
+ if (runs.length === 0) return void 0;
1833
+ const described = runs.map((run) => {
1834
+ const sample = [...run.characters].slice(0, 6).join("");
1835
+ const more = run.count > 6 ? ` +${run.count - 6} more` : "";
1836
+ return `${run.script} (${sample}${more})`;
1837
+ }).join(", ");
1838
+ return `This diagram uses characters the bundled Inter font does not contain: ${described}. They were drawn with a font installed on this machine, so the image is correct here \u2014 but a machine without a font for those characters draws nothing at all, with no error. Install a font covering them wherever this runs, or check the output there.`;
1839
+ }
1763
1840
  export {
1764
1841
  ALL_CHART_TYPES,
1765
1842
  ARROW_DIAGNOSTIC_CODES,
@@ -1839,6 +1916,7 @@ export {
1839
1916
  focusBoxesAndLines,
1840
1917
  focusEventLine,
1841
1918
  focusOrgTree,
1919
+ fontPortabilityWarning,
1842
1920
  formatDateLabel,
1843
1921
  formatDgmoError,
1844
1922
  formatOffsetLabel,
@@ -2077,6 +2155,7 @@ export {
2077
2155
  startCountdowns,
2078
2156
  tagAttrKey,
2079
2157
  targetToMs2 as targetToMs,
2158
+ textFromSvg,
2080
2159
  themes,
2081
2160
  tickClocks,
2082
2161
  tickCountdowns,
@@ -2084,6 +2163,7 @@ export {
2084
2163
  tint,
2085
2164
  tokyoNightPalette,
2086
2165
  truncateBareUrl,
2166
+ uncoveredCharacters,
2087
2167
  parseDgmo as validate,
2088
2168
  validateComputed,
2089
2169
  validateInfra,
package/dist/block.js CHANGED
@@ -4,30 +4,30 @@ import {
4
4
  } from "./chunk-D3K4U3ZM.js";
5
5
  import {
6
6
  render
7
- } from "./chunk-QDPMTFB4.js";
7
+ } from "./chunk-VOJOARA6.js";
8
8
  import {
9
9
  docsLink,
10
10
  renderErrorCard
11
- } from "./chunk-LFAQ4BLZ.js";
11
+ } from "./chunk-S5RWWISJ.js";
12
12
  import "./chunk-EOYPX6SF.js";
13
- import "./chunk-2LN5C6FH.js";
13
+ import "./chunk-7T3A2UK3.js";
14
14
  import "./chunk-CVVICCSB.js";
15
- import "./chunk-BPINSP65.js";
15
+ import "./chunk-OMTBYLKN.js";
16
16
  import "./chunk-YRYKTYMQ.js";
17
17
  import "./chunk-YYVTBZZC.js";
18
- import "./chunk-KHTKMVKT.js";
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-UKZ7K5GS.js";
22
+ import "./chunk-RBAW7VUG.js";
23
23
  import "./chunk-ES66QH6J.js";
24
- import "./chunk-6KFWC4CO.js";
24
+ import "./chunk-Z5ID35YP.js";
25
25
  import "./chunk-SCJ7CAJF.js";
26
26
  import "./chunk-4ASYQ347.js";
27
27
  import {
28
28
  encodeDiagramUrl
29
29
  } from "./chunk-U7VO6JAA.js";
30
- import "./chunk-3PVUGECM.js";
30
+ import "./chunk-AA4M6F2P.js";
31
31
  import "./chunk-2CMM36O7.js";
32
32
  import "./chunk-A2RUBBVT.js";
33
33
  import "./chunk-JWJBWNQL.js";
@@ -72,7 +72,7 @@ import "./chunk-EQW6HOP4.js";
72
72
  import {
73
73
  scanMonthNameDates
74
74
  } from "./chunk-DAOFNU6J.js";
75
- import "./chunk-65QX6LYT.js";
75
+ import "./chunk-SJGZSPSW.js";
76
76
  import "./chunk-C3Z4DX3V.js";
77
77
  import "./chunk-CHOKOYSC.js";
78
78
  import "./chunk-7TF3QOOD.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-U7VO6JAA.js";
11
11
  import {
12
12
  parseDgmoChartType
13
- } from "./chunk-3PVUGECM.js";
13
+ } from "./chunk-AA4M6F2P.js";
14
14
  import "./chunk-2CMM36O7.js";
15
15
  import "./chunk-A2RUBBVT.js";
16
16
  import "./chunk-JWJBWNQL.js";
@@ -52,7 +52,7 @@ import "./chunk-I7IQ2NEJ.js";
52
52
  import "./chunk-O42EAZUV.js";
53
53
  import "./chunk-EQW6HOP4.js";
54
54
  import "./chunk-DAOFNU6J.js";
55
- import "./chunk-65QX6LYT.js";
55
+ import "./chunk-SJGZSPSW.js";
56
56
  import "./chunk-C3Z4DX3V.js";
57
57
  import "./chunk-CHOKOYSC.js";
58
58
  import "./chunk-7TF3QOOD.js";
@@ -2,14 +2,14 @@ import {
2
2
  D3_DATA_CHART_TYPES,
3
3
  renderDataChartD3,
4
4
  supportsD3DataChart
5
- } from "./chunk-2LN5C6FH.js";
5
+ } from "./chunk-7T3A2UK3.js";
6
6
  import "./chunk-CVVICCSB.js";
7
- import "./chunk-KHTKMVKT.js";
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-6KFWC4CO.js";
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-M76E4TZU.js.map
29
+ //# sourceMappingURL=charts-d3-ZTXJWEHI.js.map