@diagrammo/dgmo 0.97.0 → 0.98.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 +7 -1
- package/dist/advanced.js +49 -45
- package/dist/block.js +15 -15
- package/dist/chart-meta.js +8 -8
- package/dist/{chunk-XEMCNQQW.js → chunk-3EDV56HL.js} +5 -5
- package/dist/{chunk-3HL6NSSQ.js → chunk-3F74NDUY.js} +1 -1
- package/dist/{chunk-LRTSTDJ6.js → chunk-42AZPI2W.js} +31 -7
- package/dist/{chunk-W46OMHOK.js → chunk-4PZP6URA.js} +21 -27
- package/dist/{chunk-6YBZFOTA.js → chunk-6Q46GMKH.js} +11 -48
- package/dist/{chunk-D7KZE2XJ.js → chunk-6YRTBI2F.js} +18 -62
- package/dist/{chunk-IAM3IDL4.js → chunk-A3N4UHHL.js} +1 -1
- package/dist/{chunk-QLNLRZ37.js → chunk-AHUBG6GR.js} +16 -9
- package/dist/{chunk-Q6V342WS.js → chunk-BTFB7W5Z.js} +1 -1
- package/dist/{chunk-CUOMNKYW.js → chunk-BWVJTYTJ.js} +2 -2
- package/dist/{chunk-DRY4W4W6.js → chunk-CES7REQM.js} +10 -47
- package/dist/{chunk-WXGFB2O2.js → chunk-D6XR22KO.js} +1 -1
- package/dist/{chunk-SNDCXT5R.js → chunk-D7FHY6DO.js} +1 -1
- package/dist/{chunk-CLW45YKE.js → chunk-DA2GIHAY.js} +36 -4
- package/dist/{chunk-A5LFM62B.js → chunk-DYI73PFY.js} +2 -2
- package/dist/{chunk-YFWIFKRQ.js → chunk-ENXENGW5.js} +1 -1
- package/dist/{chunk-26EVL454.js → chunk-F4DGHT3F.js} +20 -0
- package/dist/{chunk-YCIBBVI2.js → chunk-FDVUD3PR.js} +2 -2
- package/dist/{chunk-VKT3BVRO.js → chunk-FTRW6YGU.js} +2 -2
- package/dist/{chunk-74XR7Z3I.js → chunk-G36XKXWT.js} +5 -3
- package/dist/{chunk-PSNRB75I.js → chunk-GMJBBFKC.js} +1 -1
- package/dist/{chunk-VOO65FKC.js → chunk-GNQYARON.js} +11 -48
- package/dist/{chunk-MJ725XHD.js → chunk-GNWCMWTO.js} +43 -43
- package/dist/{chunk-J7JF4QKA.js → chunk-H7XXQSYA.js} +24 -24
- package/dist/{chunk-F2OAZHOX.js → chunk-IMBFWXHF.js} +2 -2
- package/dist/{chunk-ZCKVTZHD.js → chunk-KKJG3LBY.js} +1 -1
- package/dist/{chunk-7ASVGFW3.js → chunk-NHN6GBG7.js} +1 -1
- package/dist/{chunk-V3ICBS2O.js → chunk-NXOIH5JK.js} +3 -8
- package/dist/{chunk-NOZMRPXI.js → chunk-O5APWRZN.js} +105 -86
- package/dist/{chunk-ZRW4B4KF.js → chunk-PRYAVMU6.js} +2 -2
- package/dist/{chunk-2FMOLWX4.js → chunk-Q6OKTHYL.js} +7 -7
- package/dist/{chunk-2SZILMQT.js → chunk-QGSQ2LMB.js} +1 -1
- package/dist/{chunk-JULBDTNU.js → chunk-S5VZLZUQ.js} +2 -2
- package/dist/{chunk-NN5RUHXV.js → chunk-TGQQD2KC.js} +1 -1
- package/dist/{chunk-4TK26YHH.js → chunk-UWWQECLC.js} +1 -1
- package/dist/{chunk-6SDEXSJY.js → chunk-VHVQT4EW.js} +1 -1
- package/dist/chunk-VTGGPBLW.js +14 -0
- package/dist/{chunk-44RLIAYC.js → chunk-VUBCCY65.js} +18 -62
- package/dist/{chunk-PT5VFY3B.js → chunk-VYEIMHL5.js} +1 -1
- package/dist/{chunk-7TEAFIEJ.js → chunk-XPOEE2RW.js} +1 -1
- package/dist/{chunk-GLLYHYGT.js → chunk-Y24QPREP.js} +1 -1
- package/dist/{chunk-EEIGHOJR.js → chunk-YCIOLYWL.js} +1 -1
- package/dist/{chunk-H7DZYHQF.js → chunk-Z6V73LD6.js} +1 -1
- package/dist/{chunk-6S2H6EKN.js → chunk-ZXPSNBZC.js} +3 -3
- package/dist/{dgmo-router-RSYWR5IS.js → dgmo-router-RXV7BNPN.js} +10 -10
- package/dist/{flowchart-parser-UI5VZNGJ.js → flowchart-parser-JAZRKKKJ.js} +3 -3
- package/dist/{flowchart-renderer-IYWPKPCF.js → flowchart-renderer-JED3RESY.js} +9 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -15
- package/dist/{layout-R6ULGQJK.js → layout-6QXAC2WA.js} +2 -1
- package/dist/{layout-7C2QZCEZ.js → layout-DJOZCSAP.js} +6 -6
- package/dist/{layout-G3RVKEC4.js → layout-LCHMEGTV.js} +6 -6
- package/dist/{layout-6VY3DHYD.js → layout-VHBM32OD.js} +3 -3
- package/dist/{layout-WBH5IHYK.js → layout-ZDMJL4KO.js} +6 -6
- package/dist/{layout-search-DSIDKKQO.js → layout-search-UZYZE4PR.js} +4 -4
- package/dist/{parser-E4B7HJT2.js → parser-3KMY23A2.js} +1 -1
- package/dist/{parser-IU6425JW.js → parser-ASXY2CPV.js} +3 -3
- package/dist/{parser-RSWZGQA7.js → parser-GBB5MYAN.js} +3 -3
- package/dist/{parser-IZYIXDJX.js → parser-ZSBMGGTD.js} +3 -3
- package/dist/{renderer-HIB6LZWZ.js → renderer-37LMEGLD.js} +2 -2
- package/dist/{renderer-XMJ6XZGL.js → renderer-3EIZRVO3.js} +3 -3
- package/dist/{renderer-HLDRRFZB.js → renderer-4LK2RFHD.js} +2 -2
- package/dist/{renderer-2V5NVI3V.js → renderer-4WD4ZIEH.js} +4 -3
- package/dist/{renderer-TCTZZ5Y6.js → renderer-67PNYODC.js} +2 -2
- package/dist/{renderer-CNDB4JTZ.js → renderer-6VBL2DWH.js} +3 -3
- package/dist/{renderer-6IAXRZLK.js → renderer-CUEMI3PI.js} +11 -11
- package/dist/{renderer-WIBVOPRC.js → renderer-D6BEC6LI.js} +2 -2
- package/dist/{renderer-BXVTYE27.js → renderer-DT2PP7NJ.js} +2 -2
- package/dist/{renderer-ITJ67HXO.js → renderer-GHYW6Y3A.js} +2 -2
- package/dist/{renderer-E5E3OJ42.js → renderer-HRUKL4T6.js} +2 -2
- package/dist/{renderer-4PKYVOYL.js → renderer-KVC7Z4T2.js} +8 -8
- package/dist/{renderer-UIHCYXBY.js → renderer-QVUPRQ4L.js} +3 -2
- package/dist/{renderer-JLOKFKOZ.js → renderer-RBAMFLZQ.js} +2 -2
- package/dist/{renderer-66SCERH7.js → renderer-SGRZKIMS.js} +3 -3
- package/dist/{renderer-ASPBBACI.js → renderer-TJPBVNVG.js} +3 -2
- package/dist/{renderer-COV2DXTM.js → renderer-WK2BPXND.js} +8 -8
- package/dist/{renderer-DXCATVLO.js → renderer-ZG7WOBBN.js} +3 -3
- package/dist/{renderer-M2467III.js → renderer-ZRPL5COW.js} +2 -2
- package/dist/{state-parser-2PQRH5JE.js → state-parser-LSFAJFMV.js} +3 -3
- package/dist/{state-renderer-YP6HWLJR.js → state-renderer-QTDBFB4F.js} +10 -10
- package/docs/language-reference.md +1 -1
- package/package.json +1 -1
package/dist/advanced.d.ts
CHANGED
|
@@ -1662,6 +1662,12 @@ declare const DEFAULT_DIM_OPACITY = 0.4;
|
|
|
1662
1662
|
*/
|
|
1663
1663
|
declare function hoverCssFor(svg: string, chartType: string | null | undefined, emphasis?: HoverEmphasis): string;
|
|
1664
1664
|
|
|
1665
|
+
/**
|
|
1666
|
+
* The attribute {@link toggleCueCss} scopes its rules to. A host that inserts
|
|
1667
|
+
* that CSS itself puts `data-dgmo-cue="light"|"dark"` on the element that
|
|
1668
|
+
* holds the diagram; {@link injectToggleCue} sets it on the SVG root.
|
|
1669
|
+
*/
|
|
1670
|
+
declare const TOGGLE_CUE_ATTR = "data-dgmo-cue";
|
|
1665
1671
|
/**
|
|
1666
1672
|
* The fold cue every static host gets baked in (#1741, decided 2026-11-07):
|
|
1667
1673
|
* a pointer cursor on every toggle; on hover the toggle's card (its first
|
|
@@ -7610,5 +7616,5 @@ declare function getSpaceDiagram(target: CloudSpaceTarget, which: {
|
|
|
7610
7616
|
/** Every diagram in the space, sorted by folder path then title. */
|
|
7611
7617
|
declare function listSpaceDiagrams(target: CloudSpaceTarget): Promise<SpaceDiagramSummary[]>;
|
|
7612
7618
|
|
|
7613
|
-
export { ARROW_DIAGNOSTIC_CODES, CLOUD_API, CYLINDER_RY, CloudSpaceError, CompactViewState, DEFAULT_FONT_NAME, DgmoError, EXAMPLES_SHOWN, FILE_WAVE, FLOWCHART_STRUCTURE_CODE, FONT_FAMILY, GeoExtent, DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY, IMAGE_NOT_UPLOADED, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, LEGEND_CAPSULE_PAD, LEGEND_DOT_R, LEGEND_ENTRY_DOT_GAP, LEGEND_ENTRY_FONT_SIZE, LEGEND_ENTRY_TRAIL, LEGEND_GEAR_PILL_W, LEGEND_GROUP_GAP, LEGEND_HEIGHT, LEGEND_MAX_ENTRY_ROWS, LEGEND_PILL_FONT_SIZE, LEGEND_PILL_PAD, MapData, MapLayoutLegend, PaletteColors, PaletteConfig, ParsedMap, ParsedOrg, ParsedRaci, QUEUE_CAP, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, RaciMarker, RaciTask, RaciVariant, ResolvedMap, ScaleContext, TagEntry, TagGroup, WHITEBOARD_COLORS, WHITEBOARD_CONTAINER_FONT, WHITEBOARD_CONTAINER_WEIGHT, WHITEBOARD_ELEMENT_KEYWORDS, WHITEBOARD_FILLS, WHITEBOARD_HEADS, WHITEBOARD_LABEL_MIN_FONT, WHITEBOARD_LABEL_POSITIONS, WHITEBOARD_NOTE_COLOR, WHITEBOARD_NOTE_FONT, WHITEBOARD_NOTE_HEIGHT, WHITEBOARD_NOTE_WIDTH, WHITEBOARD_SHAPE_KINDS, WHITEBOARD_STROKE_STYLES, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, breakAtoms, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, choosePalette, clearEventLineMuted, clipWhiteboardConnector, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collapsedBLGroupsFromSource, collapsedJourneyPhasesFromSource, collapsedPertGroupIdsFromSource, collapsedRaciPhasesFromSource, collapsedSequenceNoteLinesFromSource, collapsedSequenceSectionLinesFromSource, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, createMapGeoQueryForLayout, displayName, emitWhiteboard, emitWhiteboardElement, extractCategorizeRule, extractSymbols$2 as extractClassSymbols, extractColorRule, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPaletteDirective, extractPertSymbols, extractSection, extractTitleRule, fitWhiteboardLabel, fitWrapped, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatChartTypeList, formatDateLabel, formatDiagramValidation, formatExamples, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, getSpaceDiagram, groupMessagesBySection, hoverCssFor, inferParticipantType, inferRoles, inkOutlinePath, invalidColorDiagnostic, isArchiveColumn, isExampleFor, isFoldableSequenceNote, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isWhiteboardColor, isWhiteboardImageRef, isWhiteboardShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, legendEntryWidth, listSpaceDiagrams, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, measureText, 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, parseState, parseSwimlane, parseSwot, parseTechRadar, parseTimelineDate, parseTreemap, parseTypeAliases, parseVersionControl, parseVisualization, parseWhiteboard, parseWireframe, putSpaceDiagram, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, rebuildMapProjection, referenceForChartType, 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, renderForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMapLayout, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderSwot, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWhiteboard, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sameWhiteboard, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, toggleCueCss, tokyoNightPalette, truncateBareUrl, truncateText, uncoveredCharacters, unionCollapsedSequenceNotes, unionCollapsedSitemapNodes, validateComputed, validateDiagram, validateFlowchartStructure, validateInfra, validateLabelCharacters, validateThemeFile, visibleWhiteboardElements, visibleWhiteboardIndices, whiteboardBendFor, whiteboardBendHandle, whiteboardBounds, whiteboardConnectorAttachments, whiteboardConnectorPaint, whiteboardDrawBand, whiteboardDrawOrder, whiteboardFilePath, whiteboardFileWave, whiteboardFileWavePoints, whiteboardLabelCentreY, whiteboardLabelHeight, whiteboardLabelPosition, whiteboardLabelShift, whiteboardLabelWidth, whiteboardNoteFold, whiteboardSegmentMidpoint, whiteboardShapeAt, whiteboardShapeContains, whiteboardShapeLabel, wrapTextToWidth, wrapWhiteboardLabel };
|
|
7619
|
+
export { ARROW_DIAGNOSTIC_CODES, CLOUD_API, CYLINDER_RY, CloudSpaceError, CompactViewState, DEFAULT_FONT_NAME, DgmoError, EXAMPLES_SHOWN, FILE_WAVE, FLOWCHART_STRUCTURE_CODE, FONT_FAMILY, GeoExtent, DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY, IMAGE_NOT_UPLOADED, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, LEGEND_CAPSULE_PAD, LEGEND_DOT_R, LEGEND_ENTRY_DOT_GAP, LEGEND_ENTRY_FONT_SIZE, LEGEND_ENTRY_TRAIL, LEGEND_GEAR_PILL_W, LEGEND_GROUP_GAP, LEGEND_HEIGHT, LEGEND_MAX_ENTRY_ROWS, LEGEND_PILL_FONT_SIZE, LEGEND_PILL_PAD, MapData, MapLayoutLegend, PaletteColors, PaletteConfig, ParsedMap, ParsedOrg, ParsedRaci, QUEUE_CAP, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, RaciMarker, RaciTask, RaciVariant, ResolvedMap, ScaleContext, TOGGLE_CUE_ATTR, TagEntry, TagGroup, WHITEBOARD_COLORS, WHITEBOARD_CONTAINER_FONT, WHITEBOARD_CONTAINER_WEIGHT, WHITEBOARD_ELEMENT_KEYWORDS, WHITEBOARD_FILLS, WHITEBOARD_HEADS, WHITEBOARD_LABEL_MIN_FONT, WHITEBOARD_LABEL_POSITIONS, WHITEBOARD_NOTE_COLOR, WHITEBOARD_NOTE_FONT, WHITEBOARD_NOTE_HEIGHT, WHITEBOARD_NOTE_WIDTH, WHITEBOARD_SHAPE_KINDS, WHITEBOARD_STROKE_STYLES, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, breakAtoms, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, choosePalette, clearEventLineMuted, clipWhiteboardConnector, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collapsedBLGroupsFromSource, collapsedJourneyPhasesFromSource, collapsedPertGroupIdsFromSource, collapsedRaciPhasesFromSource, collapsedSequenceNoteLinesFromSource, collapsedSequenceSectionLinesFromSource, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, createMapGeoQueryForLayout, displayName, emitWhiteboard, emitWhiteboardElement, extractCategorizeRule, extractSymbols$2 as extractClassSymbols, extractColorRule, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPaletteDirective, extractPertSymbols, extractSection, extractTitleRule, fitWhiteboardLabel, fitWrapped, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatChartTypeList, formatDateLabel, formatDiagramValidation, formatExamples, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, getSpaceDiagram, groupMessagesBySection, hoverCssFor, inferParticipantType, inferRoles, inkOutlinePath, invalidColorDiagnostic, isArchiveColumn, isExampleFor, isFoldableSequenceNote, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isWhiteboardColor, isWhiteboardImageRef, isWhiteboardShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, legendEntryWidth, listSpaceDiagrams, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, measureText, 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, parseState, parseSwimlane, parseSwot, parseTechRadar, parseTimelineDate, parseTreemap, parseTypeAliases, parseVersionControl, parseVisualization, parseWhiteboard, parseWireframe, putSpaceDiagram, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, rebuildMapProjection, referenceForChartType, 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, renderForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMapLayout, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderSwot, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWhiteboard, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sameWhiteboard, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, toggleCueCss, tokyoNightPalette, truncateBareUrl, truncateText, uncoveredCharacters, unionCollapsedSequenceNotes, unionCollapsedSitemapNodes, validateComputed, validateDiagram, validateFlowchartStructure, validateInfra, validateLabelCharacters, validateThemeFile, visibleWhiteboardElements, visibleWhiteboardIndices, whiteboardBendFor, whiteboardBendHandle, whiteboardBounds, whiteboardConnectorAttachments, whiteboardConnectorPaint, whiteboardDrawBand, whiteboardDrawOrder, whiteboardFilePath, whiteboardFileWave, whiteboardFileWavePoints, whiteboardLabelCentreY, whiteboardLabelHeight, whiteboardLabelPosition, whiteboardLabelShift, whiteboardLabelWidth, whiteboardNoteFold, whiteboardSegmentMidpoint, whiteboardShapeAt, whiteboardShapeContains, whiteboardShapeLabel, wrapTextToWidth, wrapWhiteboardLabel };
|
|
7614
7620
|
export type { Activation, AncestorInfo, ArcLink, ArcNodeGroup, BLCollapseResult, BLEdge, BLGroup, BLLayoutEdge, BLLayoutGroup, BLLayoutNode, BLLayoutResult, BLNode, BlipTrend, BlockCell, BlockGrid, BlockLayoutItem, BlockLayoutResult, BlockNode, BlockOptions, BodyFigure, BodyOptions, BodyPart, BracketMode, BracketSide, C4ArrowType, C4DeploymentNode, C4Element, C4ElementType, C4Group, C4LayoutBoundary, C4LayoutEdge, C4LayoutNode, C4LayoutResult, C4LegendEntry, C4LegendGroup, C4Relationship, C4Shape, C4TagEntry, C4TagGroup, ChartDataPoint, ChartEra, ChartType$1 as ChartType, ClassLayoutEdge, ClassLayoutNode, ClassLayoutResult, ClassMember, ClassModifier, ClassNode, ClassRelationship, ClockEntry, ClockFace, ClockZoneKind, CloudSpaceTarget, CodepointRange, CollapsedMindmapResult, CollapsedOrgResult, CollapsedSitemapResult, CollapsedView, ComputedInfraEdge, ComputedInfraModel, ComputedInfraNode, ContextRelationship, CountUnits, CreateMapGeoQueryOptions, CycleEdge, CycleLayoutEdge, CycleLayoutNode, CycleLayoutResult, CycleNode, CycleRenderOptions, D3ExportDimensions, DiagramSymbols, DiagramValidation, Duration, DurationUnit, ERCardinality, ERColumn, ERConstraint, ERLayoutEdge, ERLayoutNode, ERLayoutResult, ERRelationship, ERTable, ElseIfBranch, EventLineEra, EventLineEvent, EventLineFocus, EventLineOptions, ExpandedActivity, ExtendedChartType, FamilyChild, FamilyChildEdge, FamilyLayoutNode, FamilyLayoutResult, FamilyMarriageBar, FamilyPerson, FamilySex, FamilyUnion, FocusOrgResult, FocusResult, FocusTarget, FontCoverage, GanttDependency, GanttEra, GanttGroup, GroupRow as GanttGroupRow, GanttHolidays, GanttInteractiveOptions, LaneHeaderRow as GanttLaneHeaderRow, GanttMarker, GanttNode, GanttOptions, Row as GanttRow, GanttTask, TaskRow as GanttTaskRow, GetOrCreateNameResult, GoalMode, GoalOptions, GraphDirection, GraphEdge, GraphGroup, GraphNode, GraphShape, InfraAvailabilityPercentiles, InfraBehaviorKey, InfraCbState, InfraComputeParams, InfraDiagnostic, InfraEdge, InfraGroup, InfraLatencyPercentiles, InfraLayoutEdge, InfraLayoutGroup, InfraLayoutNode, InfraLayoutResult, InfraLegendGroup, InfraNode, InfraPlaybackState, InfraProperty, InfraRole, InfraTagGroup, InlineSpan, JourneyMapAnnotation, JourneyMapInteractiveOptions, JourneyMapLayout, JourneyMapPersona, JourneyMapPhase, JourneyMapStep, KanbanCard, KanbanColumn, KanbanTagEntry, KanbanTagGroup, LayoutEdge, LayoutGroup, LayoutNode, LayoutOptions$1 as LayoutOptions, LayoutResult$1 as LayoutResult, LegendCallbacks, LegendConfig, LegendControl, LegendGroupData, LegendHandle, LegendLayout, LegendMode, LegendPalette, LegendPosition, LegendState, MapExportDimensions, MapGeoQuery, MapLayout, MapLayoutInset, MapLayoutLeg, MapLayoutPoi, MapLayoutRegion, MapLayoutStretch, MapProjectionKind, MapProjectionParams, MapProjectionSpec, MemberVisibility, MindmapLayoutEdge, MindmapLayoutNode, MindmapLayoutResult, MindmapNode, MonteCarloResult, NameEntry, NearestCity, NodeDetail, OrgContainerBounds, OrgLayoutEdge, OrgLayoutNode, OrgLayoutResult, PaletteDirective, ParseInArrowLabelResult, ParsedBlock, ParsedBody, ParsedBoxesAndLines, ParsedBracket, ParsedC4, ParsedChart, ParsedClassDiagram, ParsedClock, ParsedCountdown, ParsedCycle, ParsedERDiagram, ParsedEventLine, ParsedExtendedChart, ParsedFamily, ParsedGantt, ParsedGoal, ParsedGraph, ParsedInfra, ParsedJourneyMap, ParsedKanban, ParsedLiveLink, ParsedMindmap, ParsedPert, ParsedPyramid, ParsedRing, ParsedSequenceDgmo, ParsedSitemap, ParsedSwimlane, ParsedSwot, ParsedTechRadar, ParsedTreemap, ParsedVersionControl, ParsedVisualization, ParsedWhiteboard, ParsedWireframe, ParticipantType, PertActivity, Anchor as PertAnchor, PertDirection, PertEdge, PertGroup, PertLayoutEdge, PertLayoutGroup, PertLayoutNode, LayoutOverrides as PertLayoutOverrides, LayoutResult as PertLayoutResult, PertMilestone, PertOptions, PertRenderOptions, PlaceResolution, PlacedLabel, ProjectedCity, PyramidLayer, QuadrantPosition, RaciDragSource, RaciInteractionHandlers, RadialCell, RadialLayoutResult, RawMatch, RawSeed, RecurRule, RegionToken, RelationshipType, RenderStep, ResolvedActivity, ResolvedGroup$1 as ResolvedGroup, ResolvedPert, ResolvedGroup as ResolvedPertGroup, ResolvedSchedule, ResolvedTask, ResultCard, ResultTokens, RingLayer, RoundMode, SectionMessageGroup, SequenceBlock, SequenceElement, SequenceGroup, SequenceMessage, SequenceNote, SequenceParticipant, SequenceRenderOptions, SequenceSection, SimulateOptions, SitemapContainerBounds, SitemapDirection, SitemapEdge, SitemapLayoutEdge, SitemapLayoutNode, SitemapLayoutResult, SitemapLegendEntry, SitemapLegendGroup, SitemapNode, SpaceDiagram, SpaceDiagramSummary, SpacePutResult, StateCollapseResult, SwimEdge, SwimEvent, SwimLane, SwimNode, SwimPhase, SwimShape, LayoutBand as SwimlaneLayoutBand, SwimlaneLayoutResult, SwotItem, SwotRenderOptions, SwotSection, SwotSectionKey, TechRadarBlip, TechRadarLayoutPoint, TechRadarQuadrant, TechRadarRing, ThemeFileResult, TreemapCell, TreemapColorMode, TreemapLayoutResult, TreemapNode, TreemapOptions, UncoveredRun, VCBranch, VCNode, VCNote, VCOptions, VCRef, ValidateDiagramOptions, VisualizationType, WhiteboardArrow, WhiteboardAttachable, WhiteboardColor, WhiteboardConnectorAttachments, WhiteboardConnectorPaint, WhiteboardElement, WhiteboardFill, WhiteboardFitBox, WhiteboardHeads, WhiteboardImage, WhiteboardInk, WhiteboardLabelBox, WhiteboardLabelPosition, WhiteboardLine, WhiteboardNote, WhiteboardOptions, WhiteboardPoint, WhiteboardRenderOptions, WhiteboardSegment, WhiteboardShape, WhiteboardShapeKind, WhiteboardShapeLabel, WhiteboardStrokeStyle, WhiteboardText, WireframeElement, WireframeElementType, WireframeFormFactor, WireframeLayout, WireframeLayoutNode, WorkWindow, ZoneSuggestion };
|
package/dist/advanced.js
CHANGED
|
@@ -45,13 +45,13 @@ import {
|
|
|
45
45
|
whiteboardShapeContains,
|
|
46
46
|
whiteboardShapeLabel,
|
|
47
47
|
wrapWhiteboardLabel
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-S5VZLZUQ.js";
|
|
49
49
|
import {
|
|
50
50
|
layoutWireframe
|
|
51
51
|
} from "./chunk-HQNZJMNS.js";
|
|
52
52
|
import {
|
|
53
53
|
renderWireframe
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-BTFB7W5Z.js";
|
|
55
55
|
import {
|
|
56
56
|
applyGroupOrdering,
|
|
57
57
|
applyPositionOverrides,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
computeActivations,
|
|
61
61
|
groupMessagesBySection,
|
|
62
62
|
renderSequenceDiagram
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-O5APWRZN.js";
|
|
64
64
|
import {
|
|
65
65
|
applyCollapseProjection,
|
|
66
66
|
collapsedSequenceNoteLinesFromSource,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
import {
|
|
79
79
|
renderSitemap,
|
|
80
80
|
renderSitemapForExport
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-H7XXQSYA.js";
|
|
82
82
|
import {
|
|
83
83
|
layoutSwimlane
|
|
84
84
|
} from "./chunk-QIITSGI5.js";
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
import {
|
|
97
97
|
renderOrg,
|
|
98
98
|
renderOrgForExport
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-4PZP6URA.js";
|
|
100
100
|
import {
|
|
101
101
|
measurePertAnalysisBlock,
|
|
102
102
|
renderPert,
|
|
103
103
|
renderPertAnalysisBlock,
|
|
104
104
|
renderPertForExport
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VHVQT4EW.js";
|
|
106
106
|
import {
|
|
107
107
|
analyzePert,
|
|
108
108
|
buildSimulationContext,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
collapsedRaciPhasesFromSource,
|
|
124
124
|
renderRaci,
|
|
125
125
|
renderRaciForExport
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-QGSQ2LMB.js";
|
|
127
127
|
import {
|
|
128
128
|
renderSwot
|
|
129
129
|
} from "./chunk-PRG7NIUU.js";
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
import {
|
|
161
161
|
renderMindmap,
|
|
162
162
|
renderMindmapForExport
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-Y24QPREP.js";
|
|
164
164
|
import {
|
|
165
165
|
layoutMindmap
|
|
166
166
|
} from "./chunk-J3YM6RA5.js";
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
import {
|
|
179
179
|
renderJourneyMap,
|
|
180
180
|
renderJourneyMapForExport
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-FTRW6YGU.js";
|
|
182
182
|
import {
|
|
183
183
|
collapsedJourneyPhasesFromSource
|
|
184
184
|
} from "./chunk-NTDWVTEY.js";
|
|
@@ -191,11 +191,11 @@ import {
|
|
|
191
191
|
isArchiveColumn,
|
|
192
192
|
renderKanban,
|
|
193
193
|
renderKanbanForExport
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-TGQQD2KC.js";
|
|
195
195
|
import {
|
|
196
196
|
renderState,
|
|
197
197
|
renderStateForExport
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-6YRTBI2F.js";
|
|
199
199
|
import {
|
|
200
200
|
collapseStateGroups
|
|
201
201
|
} from "./chunk-SQ7IY53Q.js";
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
inferRoles,
|
|
206
206
|
parseAndLayoutInfra,
|
|
207
207
|
renderInfra
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-KKJG3LBY.js";
|
|
209
209
|
import {
|
|
210
210
|
computeInfra
|
|
211
211
|
} from "./chunk-EQJ3U5EW.js";
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
import {
|
|
221
221
|
buildTagLaneRowList,
|
|
222
222
|
renderGantt
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-3F74NDUY.js";
|
|
224
224
|
import {
|
|
225
225
|
renderGoal,
|
|
226
226
|
renderGoalForExport
|
|
@@ -229,24 +229,24 @@ import "./chunk-5TGZBHEJ.js";
|
|
|
229
229
|
import {
|
|
230
230
|
renderFlowchart,
|
|
231
231
|
renderFlowchartForExport
|
|
232
|
-
} from "./chunk-
|
|
233
|
-
import "./chunk-
|
|
232
|
+
} from "./chunk-VUBCCY65.js";
|
|
233
|
+
import "./chunk-F4DGHT3F.js";
|
|
234
234
|
import {
|
|
235
235
|
layoutGraph
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-ZXPSNBZC.js";
|
|
237
237
|
import {
|
|
238
238
|
renderERDiagram,
|
|
239
239
|
renderERDiagramForExport
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-6Q46GMKH.js";
|
|
241
241
|
import {
|
|
242
242
|
layoutERDiagram
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-IMBFWXHF.js";
|
|
244
244
|
import {
|
|
245
245
|
clearEventLineMuted,
|
|
246
246
|
focusEventLine,
|
|
247
247
|
renderEventLine,
|
|
248
248
|
renderEventLineForExport
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-PRYAVMU6.js";
|
|
250
250
|
import {
|
|
251
251
|
layoutFamily
|
|
252
252
|
} from "./chunk-GXBH7WNN.js";
|
|
@@ -258,11 +258,11 @@ import "./chunk-IVKC4GID.js";
|
|
|
258
258
|
import {
|
|
259
259
|
renderClassDiagram,
|
|
260
260
|
renderClassDiagramForExport
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-GNQYARON.js";
|
|
262
262
|
import {
|
|
263
263
|
layoutClassDiagram
|
|
264
|
-
} from "./chunk-
|
|
265
|
-
import "./chunk-
|
|
264
|
+
} from "./chunk-DYI73PFY.js";
|
|
265
|
+
import "./chunk-NHN6GBG7.js";
|
|
266
266
|
import {
|
|
267
267
|
renderClock,
|
|
268
268
|
renderClockForExport
|
|
@@ -293,23 +293,25 @@ import {
|
|
|
293
293
|
renderC4ContextForExport,
|
|
294
294
|
renderC4Deployment,
|
|
295
295
|
renderC4DeploymentForExport
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-G36XKXWT.js";
|
|
297
297
|
import {
|
|
298
|
-
CYLINDER_RY,
|
|
299
|
-
FILE_WAVE,
|
|
300
|
-
QUEUE_CAP,
|
|
301
298
|
layoutC4Components,
|
|
302
299
|
layoutC4Containers,
|
|
303
300
|
layoutC4Context,
|
|
304
301
|
layoutC4Deployment,
|
|
305
302
|
rollUpContextRelationships
|
|
306
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-NXOIH5JK.js";
|
|
304
|
+
import {
|
|
305
|
+
CYLINDER_RY,
|
|
306
|
+
FILE_WAVE,
|
|
307
|
+
QUEUE_CAP
|
|
308
|
+
} from "./chunk-VTGGPBLW.js";
|
|
307
309
|
import {
|
|
308
310
|
authoredCollapsedIds,
|
|
309
311
|
layoutBlock,
|
|
310
312
|
renderBlock,
|
|
311
313
|
renderBlockForExport
|
|
312
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-VYEIMHL5.js";
|
|
313
315
|
import {
|
|
314
316
|
renderBody,
|
|
315
317
|
renderBodyForExport
|
|
@@ -317,14 +319,14 @@ import {
|
|
|
317
319
|
import {
|
|
318
320
|
renderBoxesAndLines,
|
|
319
321
|
renderBoxesAndLinesForExport
|
|
320
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-CES7REQM.js";
|
|
321
323
|
import "./chunk-B5DHFFZP.js";
|
|
322
324
|
import "./chunk-XBJJP2HN.js";
|
|
323
|
-
import "./chunk-
|
|
325
|
+
import "./chunk-XPOEE2RW.js";
|
|
324
326
|
import "./chunk-C6ME2L4T.js";
|
|
325
327
|
import {
|
|
326
328
|
layoutBoxesAndLines
|
|
327
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-BWVJTYTJ.js";
|
|
328
330
|
import "./chunk-WTTIODDV.js";
|
|
329
331
|
import "./chunk-4NMRS6HW.js";
|
|
330
332
|
import {
|
|
@@ -345,14 +347,14 @@ import {
|
|
|
345
347
|
renderSlopeChart,
|
|
346
348
|
renderVenn,
|
|
347
349
|
renderWordCloud
|
|
348
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-GNWCMWTO.js";
|
|
349
351
|
import {
|
|
350
352
|
renderLegendSvg,
|
|
351
353
|
renderLegendSvgFromConfig
|
|
352
354
|
} from "./chunk-XCYGOCMS.js";
|
|
353
355
|
import "./chunk-6K2W3FH7.js";
|
|
354
356
|
import "./chunk-YSDSFXQD.js";
|
|
355
|
-
import "./chunk-
|
|
357
|
+
import "./chunk-ENXENGW5.js";
|
|
356
358
|
import {
|
|
357
359
|
CHART_TYPE_DESCRIPTIONS,
|
|
358
360
|
chartTypeParsers,
|
|
@@ -362,7 +364,7 @@ import {
|
|
|
362
364
|
knownChartTypeIds,
|
|
363
365
|
parseDgmo,
|
|
364
366
|
parseVisualization
|
|
365
|
-
} from "./chunk-
|
|
367
|
+
} from "./chunk-Q6OKTHYL.js";
|
|
366
368
|
import {
|
|
367
369
|
getExtendedChartLegendGroups,
|
|
368
370
|
getSimpleChartLegendGroups,
|
|
@@ -442,7 +444,7 @@ import {
|
|
|
442
444
|
import {
|
|
443
445
|
formatDateLabel,
|
|
444
446
|
renderTimeline
|
|
445
|
-
} from "./chunk-
|
|
447
|
+
} from "./chunk-YCIOLYWL.js";
|
|
446
448
|
import "./chunk-YIHRLY55.js";
|
|
447
449
|
import {
|
|
448
450
|
computeTimeTicks
|
|
@@ -521,13 +523,14 @@ import {
|
|
|
521
523
|
import "./chunk-453IWXZ3.js";
|
|
522
524
|
import {
|
|
523
525
|
parseBoxesAndLines
|
|
524
|
-
} from "./chunk-
|
|
526
|
+
} from "./chunk-D7FHY6DO.js";
|
|
525
527
|
import {
|
|
526
528
|
ScaleContext
|
|
527
529
|
} from "./chunk-24YPR5EH.js";
|
|
528
530
|
import {
|
|
531
|
+
TOGGLE_CUE_ATTR,
|
|
529
532
|
toggleCueCss
|
|
530
|
-
} from "./chunk-
|
|
533
|
+
} from "./chunk-42AZPI2W.js";
|
|
531
534
|
import "./chunk-REKLKGR6.js";
|
|
532
535
|
import "./chunk-GULGSH2Z.js";
|
|
533
536
|
import "./chunk-WH6E6SHC.js";
|
|
@@ -552,7 +555,7 @@ import {
|
|
|
552
555
|
} from "./chunk-6OSGENN5.js";
|
|
553
556
|
import {
|
|
554
557
|
parseDgmoChartType
|
|
555
|
-
} from "./chunk-
|
|
558
|
+
} from "./chunk-3EDV56HL.js";
|
|
556
559
|
import {
|
|
557
560
|
allTasks,
|
|
558
561
|
parseRaci
|
|
@@ -579,24 +582,24 @@ import {
|
|
|
579
582
|
import {
|
|
580
583
|
findOrgNodeIdByName,
|
|
581
584
|
parseOrg
|
|
582
|
-
} from "./chunk-
|
|
585
|
+
} from "./chunk-FDVUD3PR.js";
|
|
583
586
|
import {
|
|
584
587
|
looksLikeState,
|
|
585
588
|
parseState
|
|
586
|
-
} from "./chunk-
|
|
589
|
+
} from "./chunk-D6XR22KO.js";
|
|
587
590
|
import "./chunk-EQW6HOP4.js";
|
|
588
591
|
import {
|
|
589
592
|
extractSymbols as extractSymbols3,
|
|
590
593
|
looksLikeFlowchart,
|
|
591
594
|
parseFlowchart
|
|
592
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-A3N4UHHL.js";
|
|
593
596
|
import "./chunk-TIVMAITN.js";
|
|
594
597
|
import "./chunk-NXMESY4J.js";
|
|
595
598
|
import {
|
|
596
599
|
extractSymbols as extractSymbols2,
|
|
597
600
|
looksLikeERDiagram,
|
|
598
601
|
parseERDiagram
|
|
599
|
-
} from "./chunk-
|
|
602
|
+
} from "./chunk-GMJBBFKC.js";
|
|
600
603
|
import "./chunk-MKSTL6DR.js";
|
|
601
604
|
import {
|
|
602
605
|
choosePalette,
|
|
@@ -611,7 +614,7 @@ import {
|
|
|
611
614
|
extractSymbols,
|
|
612
615
|
looksLikeClassDiagram,
|
|
613
616
|
parseClassDiagram
|
|
614
|
-
} from "./chunk-
|
|
617
|
+
} from "./chunk-Z6V73LD6.js";
|
|
615
618
|
import {
|
|
616
619
|
palettes
|
|
617
620
|
} from "./chunk-GXCDD6NG.js";
|
|
@@ -634,13 +637,13 @@ import {
|
|
|
634
637
|
parseInArrowLabel,
|
|
635
638
|
validateLabelCharacters
|
|
636
639
|
} from "./chunk-N7VMGZCU.js";
|
|
637
|
-
import "./chunk-
|
|
640
|
+
import "./chunk-UWWQECLC.js";
|
|
638
641
|
import {
|
|
639
642
|
displayName,
|
|
640
643
|
getOrCreateName,
|
|
641
644
|
normalizeName
|
|
642
645
|
} from "./chunk-NOTA6TEI.js";
|
|
643
|
-
import "./chunk-
|
|
646
|
+
import "./chunk-DA2GIHAY.js";
|
|
644
647
|
import "./chunk-7WEYXYLC.js";
|
|
645
648
|
import {
|
|
646
649
|
parseInlineMarkdown,
|
|
@@ -2474,6 +2477,7 @@ export {
|
|
|
2474
2477
|
RECOGNIZED_COLOR_NAMES,
|
|
2475
2478
|
RULE_COUNT,
|
|
2476
2479
|
ScaleContext,
|
|
2480
|
+
TOGGLE_CUE_ATTR,
|
|
2477
2481
|
WHITEBOARD_COLORS,
|
|
2478
2482
|
WHITEBOARD_CONTAINER_FONT,
|
|
2479
2483
|
WHITEBOARD_CONTAINER_WEIGHT,
|
package/dist/block.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
foldAtLine
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AHUBG6GR.js";
|
|
4
4
|
import {
|
|
5
5
|
render
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GNWCMWTO.js";
|
|
7
7
|
import "./chunk-XCYGOCMS.js";
|
|
8
8
|
import {
|
|
9
9
|
defaultEmbedBackground,
|
|
@@ -13,8 +13,8 @@ import "./chunk-YSDSFXQD.js";
|
|
|
13
13
|
import {
|
|
14
14
|
docsLink,
|
|
15
15
|
renderErrorCard
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ENXENGW5.js";
|
|
17
|
+
import "./chunk-Q6OKTHYL.js";
|
|
18
18
|
import "./chunk-WPYJAHRP.js";
|
|
19
19
|
import "./chunk-EOYPX6SF.js";
|
|
20
20
|
import "./chunk-DKMZ4VMV.js";
|
|
@@ -39,7 +39,7 @@ import "./chunk-L3K5O3Z5.js";
|
|
|
39
39
|
import {
|
|
40
40
|
escapeAttr,
|
|
41
41
|
escapeHtml
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YCIOLYWL.js";
|
|
43
43
|
import "./chunk-YIHRLY55.js";
|
|
44
44
|
import "./chunk-D67YE4LR.js";
|
|
45
45
|
import "./chunk-O3HRF25Z.js";
|
|
@@ -64,9 +64,9 @@ import "./chunk-RC6PISCK.js";
|
|
|
64
64
|
import "./chunk-XSVWUOUZ.js";
|
|
65
65
|
import "./chunk-FK6HZYGK.js";
|
|
66
66
|
import "./chunk-453IWXZ3.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-D7FHY6DO.js";
|
|
68
68
|
import "./chunk-24YPR5EH.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-42AZPI2W.js";
|
|
70
70
|
import "./chunk-REKLKGR6.js";
|
|
71
71
|
import "./chunk-GULGSH2Z.js";
|
|
72
72
|
import "./chunk-WH6E6SHC.js";
|
|
@@ -75,20 +75,20 @@ import "./chunk-VVL2KKG4.js";
|
|
|
75
75
|
import {
|
|
76
76
|
encodeDiagramUrl
|
|
77
77
|
} from "./chunk-6OSGENN5.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-3EDV56HL.js";
|
|
79
79
|
import "./chunk-6PUBFB6D.js";
|
|
80
80
|
import "./chunk-KMB754DO.js";
|
|
81
81
|
import "./chunk-CUTEHGXO.js";
|
|
82
82
|
import "./chunk-2SKMEL7V.js";
|
|
83
83
|
import "./chunk-65JFUANT.js";
|
|
84
84
|
import "./chunk-ROH4LYBL.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-FDVUD3PR.js";
|
|
86
|
+
import "./chunk-D6XR22KO.js";
|
|
87
87
|
import "./chunk-EQW6HOP4.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-A3N4UHHL.js";
|
|
89
89
|
import "./chunk-TIVMAITN.js";
|
|
90
90
|
import "./chunk-NXMESY4J.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-GMJBBFKC.js";
|
|
92
92
|
import {
|
|
93
93
|
scanMonthNameDates
|
|
94
94
|
} from "./chunk-MKSTL6DR.js";
|
|
@@ -98,16 +98,16 @@ import {
|
|
|
98
98
|
} from "./chunk-CYTFO2LF.js";
|
|
99
99
|
import "./chunk-C3Z4DX3V.js";
|
|
100
100
|
import "./chunk-IYULMRBE.js";
|
|
101
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-Z6V73LD6.js";
|
|
102
102
|
import "./chunk-GXCDD6NG.js";
|
|
103
103
|
import {
|
|
104
104
|
getPalette,
|
|
105
105
|
resolvePaletteOrFallback
|
|
106
106
|
} from "./chunk-FMAVHTYB.js";
|
|
107
107
|
import "./chunk-N7VMGZCU.js";
|
|
108
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-UWWQECLC.js";
|
|
109
109
|
import "./chunk-NOTA6TEI.js";
|
|
110
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-DA2GIHAY.js";
|
|
111
111
|
import "./chunk-7WEYXYLC.js";
|
|
112
112
|
import "./chunk-QKPOIJBT.js";
|
|
113
113
|
import "./chunk-ICLB27PZ.js";
|
package/dist/chart-meta.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-6OSGENN5.js";
|
|
11
11
|
import {
|
|
12
12
|
parseDgmoChartType
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3EDV56HL.js";
|
|
14
14
|
import {
|
|
15
15
|
parseRaci
|
|
16
16
|
} from "./chunk-6PUBFB6D.js";
|
|
@@ -21,27 +21,27 @@ import "./chunk-65JFUANT.js";
|
|
|
21
21
|
import "./chunk-ROH4LYBL.js";
|
|
22
22
|
import {
|
|
23
23
|
parseOrg
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-FDVUD3PR.js";
|
|
25
|
+
import "./chunk-D6XR22KO.js";
|
|
26
26
|
import "./chunk-EQW6HOP4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-A3N4UHHL.js";
|
|
28
28
|
import "./chunk-TIVMAITN.js";
|
|
29
29
|
import "./chunk-NXMESY4J.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-GMJBBFKC.js";
|
|
31
31
|
import "./chunk-MKSTL6DR.js";
|
|
32
32
|
import "./chunk-CYTFO2LF.js";
|
|
33
33
|
import "./chunk-C3Z4DX3V.js";
|
|
34
34
|
import "./chunk-IYULMRBE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-Z6V73LD6.js";
|
|
36
36
|
import "./chunk-GXCDD6NG.js";
|
|
37
37
|
import {
|
|
38
38
|
getAvailablePalettes,
|
|
39
39
|
getPalette
|
|
40
40
|
} from "./chunk-FMAVHTYB.js";
|
|
41
41
|
import "./chunk-N7VMGZCU.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-UWWQECLC.js";
|
|
43
43
|
import "./chunk-NOTA6TEI.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-DA2GIHAY.js";
|
|
45
45
|
import "./chunk-7WEYXYLC.js";
|
|
46
46
|
import "./chunk-QKPOIJBT.js";
|
|
47
47
|
import "./chunk-ICLB27PZ.js";
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
} from "./chunk-ROH4LYBL.js";
|
|
13
13
|
import {
|
|
14
14
|
looksLikeOrg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FDVUD3PR.js";
|
|
16
16
|
import {
|
|
17
17
|
looksLikeState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D6XR22KO.js";
|
|
19
19
|
import {
|
|
20
20
|
looksLikeFlowchart
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A3N4UHHL.js";
|
|
22
22
|
import {
|
|
23
23
|
looksLikeERDiagram
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GMJBBFKC.js";
|
|
25
25
|
import {
|
|
26
26
|
looksLikeClassDiagram
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Z6V73LD6.js";
|
|
28
28
|
import {
|
|
29
29
|
parseFirstLine
|
|
30
30
|
} from "./chunk-RFGQDIOI.js";
|
|
@@ -39,6 +39,22 @@ function renderNodeCard(container, opts) {
|
|
|
39
39
|
container.append("text").attr("x", valueX).attr("y", rowY).attr("fill", meta.textColor).attr("font-size", meta.fontSize).text(value);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
function renderContainerCard(container, opts) {
|
|
43
|
+
container.append("rect").attr("x", 0).attr("y", 0).attr("width", opts.width).attr("height", opts.height).attr("rx", opts.rx).attr("fill", opts.fill).attr("stroke", opts.stroke).attr("stroke-opacity", 0.35).attr("stroke-width", opts.strokeWidth);
|
|
44
|
+
container.append("text").attr("x", opts.width / 2).attr("y", opts.headerHeight / 2).attr("dominant-baseline", "central").attr("text-anchor", "middle").attr("fill", opts.labelColor).attr("font-size", opts.labelFontSize).attr("font-weight", "bold").text(opts.label);
|
|
45
|
+
if (opts.rows.length === 0) return;
|
|
46
|
+
const maxKeyWidth = Math.max(
|
|
47
|
+
...opts.rows.map(([key]) => measureText(`${key}: `, opts.metaFontSize))
|
|
48
|
+
);
|
|
49
|
+
const valueX = 10 + maxKeyWidth;
|
|
50
|
+
const metaStartY = opts.headerHeight + opts.metaFontSize - 2;
|
|
51
|
+
for (let i = 0; i < opts.rows.length; i++) {
|
|
52
|
+
const [displayKey, value, valueColor] = opts.rows[i];
|
|
53
|
+
const rowY = metaStartY + i * opts.metaLineHeight;
|
|
54
|
+
container.append("text").attr("x", 10).attr("y", rowY).attr("fill", opts.keyColor).attr("font-size", opts.metaFontSize).text(`${displayKey}: `);
|
|
55
|
+
container.append("text").attr("x", valueX).attr("y", rowY).attr("fill", valueColor).attr("font-size", opts.metaFontSize).text(value);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
42
58
|
function collapseBarHeight(scale) {
|
|
43
59
|
if (scale === void 0) return COLLAPSE_BAR_HEIGHT;
|
|
44
60
|
if (typeof scale === "number") return COLLAPSE_BAR_HEIGHT * scale;
|
|
@@ -64,19 +80,25 @@ var TOGGLE_ATTRS = [
|
|
|
64
80
|
"data-section-toggle",
|
|
65
81
|
"data-note-toggle"
|
|
66
82
|
];
|
|
83
|
+
var TOGGLE_CUE_ATTR = "data-dgmo-cue";
|
|
67
84
|
var COLLAPSE_PREVIEW_HOVER_OPACITY = 0.35;
|
|
68
85
|
function toggleCueCss(theme = "light") {
|
|
69
|
-
const
|
|
86
|
+
const cue = theme === "dark" ? "dark" : "light";
|
|
87
|
+
const scope = `[${TOGGLE_CUE_ATTR}="${cue}"] `;
|
|
88
|
+
const t = TOGGLE_ATTRS.map((a) => `${scope}[${a}]`);
|
|
70
89
|
const on = (suffix) => t.map((s) => s + suffix).join(",");
|
|
71
|
-
const step =
|
|
72
|
-
return `${t.join(",")}{cursor:pointer}${on(":hover>rect:first-child")},${on(":hover>path:first-child")}{filter:brightness(${step})}${on(":hover>rect[fill=transparent]:first-child")}{fill:${
|
|
90
|
+
const step = cue === "dark" ? 1.2 : 0.95;
|
|
91
|
+
return `${t.join(",")}{cursor:pointer}${on(":hover>rect:first-child")},${on(":hover>path:first-child")}{filter:brightness(${step})}${on(":hover>rect[fill=transparent]:first-child")}{fill:${cue === "dark" ? "#fff" : "#000"};fill-opacity:${cue === "dark" ? 0.08 : 0.05}}${scope}.dgmo-collapse-bar-preview{transition:opacity 120ms ease-out}${on(":hover>.dgmo-collapse-bar-preview")}{opacity:${COLLAPSE_PREVIEW_HOVER_OPACITY}}${on(":focus-visible")}{outline:2px solid currentColor;outline-offset:2px}@media (prefers-reduced-motion:reduce){${scope}.dgmo-collapse-bar-preview{transition:none}}`;
|
|
73
92
|
}
|
|
74
93
|
function injectToggleCue(svg, theme) {
|
|
75
94
|
if (!svg || !TOGGLE_ATTRS.some((a) => svg.includes(`${a}=`))) return svg;
|
|
76
|
-
const
|
|
77
|
-
if (
|
|
78
|
-
const
|
|
79
|
-
const
|
|
95
|
+
const found = svg.match(/<svg\b[^>]*>/);
|
|
96
|
+
if (found?.index == null) return svg;
|
|
97
|
+
const cue = theme === "dark" ? "dark" : "light";
|
|
98
|
+
const tag = found[0].includes(`${TOGGLE_CUE_ATTR}=`) ? found[0] : found[0].replace(/^<svg\b/, `<svg ${TOGGLE_CUE_ATTR}="${cue}"`);
|
|
99
|
+
svg = svg.slice(0, found.index) + tag + svg.slice(found.index + found[0].length);
|
|
100
|
+
const at = found.index + tag.length;
|
|
101
|
+
const css = toggleCueCss(cue);
|
|
80
102
|
if (svg.startsWith("<style>", at)) {
|
|
81
103
|
const end = svg.indexOf("</style>", at);
|
|
82
104
|
if (end !== -1) return `${svg.slice(0, end)}${css}${svg.slice(end)}`;
|
|
@@ -118,8 +140,10 @@ function stripFoldAffordance(svg) {
|
|
|
118
140
|
|
|
119
141
|
export {
|
|
120
142
|
renderNodeCard,
|
|
143
|
+
renderContainerCard,
|
|
121
144
|
collapseBarHeight,
|
|
122
145
|
renderCollapseBar,
|
|
146
|
+
TOGGLE_CUE_ATTR,
|
|
123
147
|
toggleCueCss,
|
|
124
148
|
injectToggleCue,
|
|
125
149
|
stripFoldAffordance
|